@live-codes/browser-compilers 0.19.1 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/autoprefixer/autoprefixer.js +14 -14
- package/dist/cssnano/cssnano.js +32 -32
- package/dist/postcss/postcss.js +10 -10
- package/dist/postcss-modules/postcss-modules.js +15 -15
- package/dist/postcss-preset-env/postcss-preset-env.js +15 -15
- package/dist/prettier/parser-pug.js +36 -36
- package/dist/pug/pug.min.js +38 -38
- package/dist/purgecss/purgecss.js +38 -38
- package/dist/tailwindcss/monaco-tailwindcss.js +131 -0
- package/dist/tailwindcss/monaco-tailwindcss.worker.js +551 -0
- package/dist/tokencss/tokencss.js +17 -17
- package/package.json +2 -1
- package/scripts/vendors.js +14 -0
- package/vendor_modules/imports/monaco-tailwindcss.js +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var purgecss=(()=>{var Gw=Object.create;var Gs=Object.defineProperty;var Hw=Object.getOwnPropertyDescriptor;var Yw=Object.getOwnPropertyNames;var Kw=Object.getPrototypeOf,Jw=Object.prototype.hasOwnProperty;var rt=(r,e)=>()=>(r&&(e=r(r=0)),e);var de=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),wn=(r,e)=>{for(var t in e)Gs(r,t,{get:e[t],enumerable:!0})},fc=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Yw(e))!Jw.call(r,n)&&n!==t&&Gs(r,n,{get:()=>e[n],enumerable:!(i=Hw(e,n))||i.enumerable});return r};var Ma=(r,e,t)=>(t=r!=null?Gw(Kw(r)):{},fc(e||!r||!r.__esModule?Gs(t,"default",{value:r,enumerable:!0}):t,r)),ri=r=>fc(Gs({},"__esModule",{value:!0}),r);var B=rt(()=>{});var z={};wn(z,{_debugEnd:()=>Xc,_debugProcess:()=>Qc,_events:()=>dh,_eventsCount:()=>yh,_exiting:()=>Cc,_fatalExceptions:()=>Hc,_getActiveHandles:()=>Fc,_getActiveRequests:()=>Nc,_kill:()=>Mc,_linkedBinding:()=>kc,_maxListeners:()=>ph,_preload_modules:()=>fh,_rawDebug:()=>xc,_startProfilerIdleNotifier:()=>Zc,_stopProfilerIdleNotifier:()=>eh,_tickCallback:()=>Jc,abort:()=>nh,addListener:()=>gh,allowedNodeEnvironmentFlags:()=>zc,arch:()=>yc,argv:()=>vc,argv0:()=>lh,assert:()=>Vc,binding:()=>_c,chdir:()=>Tc,config:()=>Lc,cpuUsage:()=>Ks,cwd:()=>Ac,debugPort:()=>uh,default:()=>Ah,dlopen:()=>Bc,domain:()=>Pc,emit:()=>Sh,emitWarning:()=>Ec,env:()=>mc,execArgv:()=>wc,execPath:()=>ah,exit:()=>$c,features:()=>Gc,hasUncaughtExceptionCaptureCallback:()=>Kc,hrtime:()=>Ys,kill:()=>qc,listeners:()=>Oh,memoryUsage:()=>jc,moduleLoadList:()=>Ic,nextTick:()=>hc,off:()=>vh,on:()=>_r,once:()=>mh,openStdin:()=>Wc,pid:()=>sh,platform:()=>gc,ppid:()=>oh,prependListener:()=>Eh,prependOnceListener:()=>_h,reallyExit:()=>Dc,release:()=>Rc,removeAllListeners:()=>bh,removeListener:()=>wh,resourceUsage:()=>Uc,setSourceMapsEnabled:()=>ch,setUncaughtExceptionCaptureCallback:()=>Yc,stderr:()=>rh,stdin:()=>ih,stdout:()=>th,title:()=>dc,umask:()=>Oc,uptime:()=>hh,version:()=>bc,versions:()=>Sc});function qa(r){throw new Error("Node.js process "+r+" is not supported by JSPM core outside of Node.js")}function Qw(){!Li||!ii||(Li=!1,ii.length?Er=ii.concat(Er):Hs=-1,Er.length&&cc())}function cc(){if(!Li){var r=setTimeout(Qw,0);Li=!0;for(var e=Er.length;e;){for(ii=Er,Er=[];++Hs<e;)ii&&ii[Hs].run();Hs=-1,e=Er.length}ii=null,Li=!1,clearTimeout(r)}}function hc(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];Er.push(new pc(r,e)),Er.length===1&&!Li&&setTimeout(cc,0)}function pc(r,e){this.fun=r,this.array=e}function Et(){}function kc(r){qa("_linkedBinding")}function Bc(r){qa("dlopen")}function Nc(){return[]}function Fc(){return[]}function Vc(r,e){if(!r)throw new Error(e||"assertion error")}function Kc(){return!1}function hh(){return qr.now()/1e3}function Ys(r){var e=Math.floor((Date.now()-qr.now())*.001),t=qr.now()*.001,i=Math.floor(t)+e,n=Math.floor(t%1*1e9);return r&&(i=i-r[0],n=n-r[1],n<0&&(i--,n+=ja)),[i,n]}function _r(){return Ah}function Oh(r){return[]}var Er,Li,ii,Hs,dc,yc,gc,mc,vc,wc,bc,Sc,Ec,_c,Oc,Ac,Tc,Rc,xc,Ic,Pc,Cc,Lc,Dc,Mc,Ks,Uc,jc,qc,$c,Wc,zc,Gc,Hc,Yc,Jc,Qc,Xc,Zc,eh,th,rh,ih,nh,sh,oh,ah,uh,lh,fh,ch,qr,Ua,ja,ph,dh,yh,gh,mh,vh,wh,bh,Sh,Eh,_h,Ah,Th=rt(()=>{B();F();N();Er=[],Li=!1,Hs=-1;pc.prototype.run=function(){this.fun.apply(null,this.array)};dc="browser",yc="x64",gc="browser",mc={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},vc=["/usr/bin/node"],wc=[],bc="v16.8.0",Sc={},Ec=function(r,e){console.warn((e?e+": ":"")+r)},_c=function(r){qa("binding")},Oc=function(r){return 0},Ac=function(){return"/"},Tc=function(r){},Rc={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};xc=Et,Ic=[];Pc={},Cc=!1,Lc={};Dc=Et,Mc=Et,Ks=function(){return{}},Uc=Ks,jc=Ks,qc=Et,$c=Et,Wc=Et,zc={};Gc={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Hc=Et,Yc=Et;Jc=Et,Qc=Et,Xc=Et,Zc=Et,eh=Et,th=void 0,rh=void 0,ih=void 0,nh=Et,sh=2,oh=1,ah="/bin/usr/node",uh=9229,lh="node",fh=[],ch=Et,qr={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};qr.now===void 0&&(Ua=Date.now(),qr.timing&&qr.timing.navigationStart&&(Ua=qr.timing.navigationStart),qr.now=()=>Date.now()-Ua);ja=1e9;Ys.bigint=function(r){var e=Ys(r);return typeof BigInt>"u"?e[0]*ja+e[1]:BigInt(e[0]*ja)+BigInt(e[1])};ph=10,dh={},yh=0;gh=_r,mh=_r,vh=_r,wh=_r,bh=_r,Sh=Et,Eh=_r,_h=_r;Ah={version:bc,versions:Sc,arch:yc,platform:gc,release:Rc,_rawDebug:xc,moduleLoadList:Ic,binding:_c,_linkedBinding:kc,_events:dh,_eventsCount:yh,_maxListeners:ph,on:_r,addListener:gh,once:mh,off:vh,removeListener:wh,removeAllListeners:bh,emit:Sh,prependListener:Eh,prependOnceListener:_h,listeners:Oh,domain:Pc,_exiting:Cc,config:Lc,dlopen:Bc,uptime:hh,_getActiveRequests:Nc,_getActiveHandles:Fc,reallyExit:Dc,_kill:Mc,cpuUsage:Ks,resourceUsage:Uc,memoryUsage:jc,kill:qc,exit:$c,openStdin:Wc,allowedNodeEnvironmentFlags:zc,assert:Vc,features:Gc,_fatalExceptions:Hc,setUncaughtExceptionCaptureCallback:Yc,hasUncaughtExceptionCaptureCallback:Kc,emitWarning:Ec,nextTick:hc,_tickCallback:Jc,_debugProcess:Qc,_debugEnd:Xc,_startProfilerIdleNotifier:Zc,_stopProfilerIdleNotifier:eh,stdout:th,stdin:ih,stderr:rh,abort:nh,umask:Oc,chdir:Tc,cwd:Ac,env:mc,title:dc,argv:vc,execArgv:wc,pid:sh,ppid:oh,execPath:ah,debugPort:uh,hrtime:Ys,argv0:lh,_preload_modules:fh,setSourceMapsEnabled:ch}});var N=rt(()=>{Th()});function Xw(){if(Rh)return bn;Rh=!0,bn.byteLength=u,bn.toByteArray=c,bn.fromByteArray=v;for(var r=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,o=i.length;n<o;++n)r[n]=i[n],e[i.charCodeAt(n)]=n;e[45]=62,e[95]=63;function s(m){var g=m.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var b=m.indexOf("=");b===-1&&(b=g);var E=b===g?0:4-b%4;return[b,E]}function u(m){var g=s(m),b=g[0],E=g[1];return(b+E)*3/4-E}function f(m,g,b){return(g+b)*3/4-b}function c(m){var g,b=s(m),E=b[0],A=b[1],x=new t(f(m,E,A)),I=0,D=A>0?E-4:E,j;for(j=0;j<D;j+=4)g=e[m.charCodeAt(j)]<<18|e[m.charCodeAt(j+1)]<<12|e[m.charCodeAt(j+2)]<<6|e[m.charCodeAt(j+3)],x[I++]=g>>16&255,x[I++]=g>>8&255,x[I++]=g&255;return A===2&&(g=e[m.charCodeAt(j)]<<2|e[m.charCodeAt(j+1)]>>4,x[I++]=g&255),A===1&&(g=e[m.charCodeAt(j)]<<10|e[m.charCodeAt(j+1)]<<4|e[m.charCodeAt(j+2)]>>2,x[I++]=g>>8&255,x[I++]=g&255),x}function p(m){return r[m>>18&63]+r[m>>12&63]+r[m>>6&63]+r[m&63]}function d(m,g,b){for(var E,A=[],x=g;x<b;x+=3)E=(m[x]<<16&16711680)+(m[x+1]<<8&65280)+(m[x+2]&255),A.push(p(E));return A.join("")}function v(m){for(var g,b=m.length,E=b%3,A=[],x=16383,I=0,D=b-E;I<D;I+=x)A.push(d(m,I,I+x>D?D:I+x));return E===1?(g=m[b-1],A.push(r[g>>2]+r[g<<4&63]+"==")):E===2&&(g=(m[b-2]<<8)+m[b-1],A.push(r[g>>10]+r[g>>4&63]+r[g<<2&63]+"=")),A.join("")}return bn}function Zw(){if(xh)return Js;xh=!0;return Js.read=function(r,e,t,i,n){var o,s,u=n*8-i-1,f=(1<<u)-1,c=f>>1,p=-7,d=t?n-1:0,v=t?-1:1,m=r[e+d];for(d+=v,o=m&(1<<-p)-1,m>>=-p,p+=u;p>0;o=o*256+r[e+d],d+=v,p-=8);for(s=o&(1<<-p)-1,o>>=-p,p+=i;p>0;s=s*256+r[e+d],d+=v,p-=8);if(o===0)o=1-c;else{if(o===f)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,i),o=o-c}return(m?-1:1)*s*Math.pow(2,o-i)},Js.write=function(r,e,t,i,n,o){var s,u,f,c=o*8-n-1,p=(1<<c)-1,d=p>>1,v=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,g=i?1:-1,b=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=p):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),s+d>=1?e+=v/f:e+=v*Math.pow(2,1-d),e*f>=2&&(s++,f/=2),s+d>=p?(u=0,s=p):s+d>=1?(u=(e*f-1)*Math.pow(2,n),s=s+d):(u=e*Math.pow(2,d-1)*Math.pow(2,n),s=0));n>=8;r[t+m]=u&255,m+=g,u/=256,n-=8);for(s=s<<n|u,c+=n;c>0;r[t+m]=s&255,m+=g,s/=256,c-=8);r[t+m-g]|=b*128},Js}function e0(){if(Ih)return ni;Ih=!0;let r=Xw(),e=Zw(),t=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ni.Buffer=s,ni.SlowBuffer=A,ni.INSPECT_MAX_BYTES=50;let i=2147483647;ni.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=n(),!s.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 n(){try{let h=new Uint8Array(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,Uint8Array.prototype),Object.setPrototypeOf(h,a),h.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function o(h){if(h>i)throw new RangeError('The value "'+h+'" is invalid for option "size"');let a=new Uint8Array(h);return Object.setPrototypeOf(a,s.prototype),a}function s(h,a,l){if(typeof h=="number"){if(typeof a=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(h)}return u(h,a,l)}s.poolSize=8192;function u(h,a,l){if(typeof h=="string")return d(h,a);if(ArrayBuffer.isView(h))return m(h);if(h==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h);if(Le(h,ArrayBuffer)||h&&Le(h.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Le(h,SharedArrayBuffer)||h&&Le(h.buffer,SharedArrayBuffer)))return g(h,a,l);if(typeof h=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let y=h.valueOf&&h.valueOf();if(y!=null&&y!==h)return s.from(y,a,l);let O=b(h);if(O)return O;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof h[Symbol.toPrimitive]=="function")return s.from(h[Symbol.toPrimitive]("string"),a,l);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h)}s.from=function(h,a,l){return u(h,a,l)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function f(h){if(typeof h!="number")throw new TypeError('"size" argument must be of type number');if(h<0)throw new RangeError('The value "'+h+'" is invalid for option "size"')}function c(h,a,l){return f(h),h<=0?o(h):a!==void 0?typeof l=="string"?o(h).fill(a,l):o(h).fill(a):o(h)}s.alloc=function(h,a,l){return c(h,a,l)};function p(h){return f(h),o(h<0?0:E(h)|0)}s.allocUnsafe=function(h){return p(h)},s.allocUnsafeSlow=function(h){return p(h)};function d(h,a){if((typeof a!="string"||a==="")&&(a="utf8"),!s.isEncoding(a))throw new TypeError("Unknown encoding: "+a);let l=x(h,a)|0,y=o(l),O=y.write(h,a);return O!==l&&(y=y.slice(0,O)),y}function v(h){let a=h.length<0?0:E(h.length)|0,l=o(a);for(let y=0;y<a;y+=1)l[y]=h[y]&255;return l}function m(h){if(Le(h,Uint8Array)){let a=new Uint8Array(h);return g(a.buffer,a.byteOffset,a.byteLength)}return v(h)}function g(h,a,l){if(a<0||h.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(h.byteLength<a+(l||0))throw new RangeError('"length" is outside of buffer bounds');let y;return a===void 0&&l===void 0?y=new Uint8Array(h):l===void 0?y=new Uint8Array(h,a):y=new Uint8Array(h,a,l),Object.setPrototypeOf(y,s.prototype),y}function b(h){if(s.isBuffer(h)){let a=E(h.length)|0,l=o(a);return l.length===0||h.copy(l,0,0,a),l}if(h.length!==void 0)return typeof h.length!="number"||At(h.length)?o(0):v(h);if(h.type==="Buffer"&&Array.isArray(h.data))return v(h.data)}function E(h){if(h>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return h|0}function A(h){return+h!=h&&(h=0),s.alloc(+h)}s.isBuffer=function(a){return a!=null&&a._isBuffer===!0&&a!==s.prototype},s.compare=function(a,l){if(Le(a,Uint8Array)&&(a=s.from(a,a.offset,a.byteLength)),Le(l,Uint8Array)&&(l=s.from(l,l.offset,l.byteLength)),!s.isBuffer(a)||!s.isBuffer(l))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===l)return 0;let y=a.length,O=l.length;for(let k=0,L=Math.min(y,O);k<L;++k)if(a[k]!==l[k]){y=a[k],O=l[k];break}return y<O?-1:O<y?1:0},s.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(a,l){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(a.length===0)return s.alloc(0);let y;if(l===void 0)for(l=0,y=0;y<a.length;++y)l+=a[y].length;let O=s.allocUnsafe(l),k=0;for(y=0;y<a.length;++y){let L=a[y];if(Le(L,Uint8Array))k+L.length>O.length?(s.isBuffer(L)||(L=s.from(L)),L.copy(O,k)):Uint8Array.prototype.set.call(O,L,k);else if(s.isBuffer(L))L.copy(O,k);else throw new TypeError('"list" argument must be an Array of Buffers');k+=L.length}return O};function x(h,a){if(s.isBuffer(h))return h.length;if(ArrayBuffer.isView(h)||Le(h,ArrayBuffer))return h.byteLength;if(typeof h!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof h);let l=h.length,y=arguments.length>2&&arguments[2]===!0;if(!y&&l===0)return 0;let O=!1;for(;;)switch(a){case"ascii":case"latin1":case"binary":return l;case"utf8":case"utf-8":return ce(h).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l*2;case"hex":return l>>>1;case"base64":return St(h).length;default:if(O)return y?-1:ce(h).length;a=(""+a).toLowerCase(),O=!0}}s.byteLength=x;function I(h,a,l){let y=!1;if((a===void 0||a<0)&&(a=0),a>this.length||((l===void 0||l>this.length)&&(l=this.length),l<=0)||(l>>>=0,a>>>=0,l<=a))return"";for(h||(h="utf8");;)switch(h){case"hex":return q(this,a,l);case"utf8":case"utf-8":return Ce(this,a,l);case"ascii":return Ae(this,a,l);case"latin1":case"binary":return V(this,a,l);case"base64":return Oe(this,a,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J(this,a,l);default:if(y)throw new TypeError("Unknown encoding: "+h);h=(h+"").toLowerCase(),y=!0}}s.prototype._isBuffer=!0;function D(h,a,l){let y=h[a];h[a]=h[l],h[l]=y}s.prototype.swap16=function(){let a=this.length;if(a%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let l=0;l<a;l+=2)D(this,l,l+1);return this},s.prototype.swap32=function(){let a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let l=0;l<a;l+=4)D(this,l,l+3),D(this,l+1,l+2);return this},s.prototype.swap64=function(){let a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let l=0;l<a;l+=8)D(this,l,l+7),D(this,l+1,l+6),D(this,l+2,l+5),D(this,l+3,l+4);return this},s.prototype.toString=function(){let a=this.length;return a===0?"":arguments.length===0?Ce(this,0,a):I.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(a){if(!s.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:s.compare(this,a)===0},s.prototype.inspect=function(){let a="",l=ni.INSPECT_MAX_BYTES;return a=this.toString("hex",0,l).replace(/(.{2})/g,"$1 ").trim(),this.length>l&&(a+=" ... "),"<Buffer "+a+">"},t&&(s.prototype[t]=s.prototype.inspect),s.prototype.compare=function(a,l,y,O,k){if(Le(a,Uint8Array)&&(a=s.from(a,a.offset,a.byteLength)),!s.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(l===void 0&&(l=0),y===void 0&&(y=a?a.length:0),O===void 0&&(O=0),k===void 0&&(k=this.length),l<0||y>a.length||O<0||k>this.length)throw new RangeError("out of range index");if(O>=k&&l>=y)return 0;if(O>=k)return-1;if(l>=y)return 1;if(l>>>=0,y>>>=0,O>>>=0,k>>>=0,this===a)return 0;let L=k-O,ue=y-l,ke=Math.min(L,ue),Re=this.slice(O,k),Pe=a.slice(l,y);for(let we=0;we<ke;++we)if(Re[we]!==Pe[we]){L=Re[we],ue=Pe[we];break}return L<ue?-1:ue<L?1:0};function j(h,a,l,y,O){if(h.length===0)return-1;if(typeof l=="string"?(y=l,l=0):l>2147483647?l=2147483647:l<-2147483648&&(l=-2147483648),l=+l,At(l)&&(l=O?0:h.length-1),l<0&&(l=h.length+l),l>=h.length){if(O)return-1;l=h.length-1}else if(l<0)if(O)l=0;else return-1;if(typeof a=="string"&&(a=s.from(a,y)),s.isBuffer(a))return a.length===0?-1:ae(h,a,l,y,O);if(typeof a=="number")return a=a&255,typeof Uint8Array.prototype.indexOf=="function"?O?Uint8Array.prototype.indexOf.call(h,a,l):Uint8Array.prototype.lastIndexOf.call(h,a,l):ae(h,[a],l,y,O);throw new TypeError("val must be string, number or Buffer")}function ae(h,a,l,y,O){let k=1,L=h.length,ue=a.length;if(y!==void 0&&(y=String(y).toLowerCase(),y==="ucs2"||y==="ucs-2"||y==="utf16le"||y==="utf-16le")){if(h.length<2||a.length<2)return-1;k=2,L/=2,ue/=2,l/=2}function ke(Pe,we){return k===1?Pe[we]:Pe.readUInt16BE(we*k)}let Re;if(O){let Pe=-1;for(Re=l;Re<L;Re++)if(ke(h,Re)===ke(a,Pe===-1?0:Re-Pe)){if(Pe===-1&&(Pe=Re),Re-Pe+1===ue)return Pe*k}else Pe!==-1&&(Re-=Re-Pe),Pe=-1}else for(l+ue>L&&(l=L-ue),Re=l;Re>=0;Re--){let Pe=!0;for(let we=0;we<ue;we++)if(ke(h,Re+we)!==ke(a,we)){Pe=!1;break}if(Pe)return Re}return-1}s.prototype.includes=function(a,l,y){return this.indexOf(a,l,y)!==-1},s.prototype.indexOf=function(a,l,y){return j(this,a,l,y,!0)},s.prototype.lastIndexOf=function(a,l,y){return j(this,a,l,y,!1)};function X(h,a,l,y){l=Number(l)||0;let O=h.length-l;y?(y=Number(y),y>O&&(y=O)):y=O;let k=a.length;y>k/2&&(y=k/2);let L;for(L=0;L<y;++L){let ue=parseInt(a.substr(L*2,2),16);if(At(ue))return L;h[l+L]=ue}return L}function K(h,a,l,y){return st(ce(a,h.length-l),h,l,y)}function Q(h,a,l,y){return st(Ie(a),h,l,y)}function se(h,a,l,y){return st(St(a),h,l,y)}function _e(h,a,l,y){return st(Be(a,h.length-l),h,l,y)}s.prototype.write=function(a,l,y,O){if(l===void 0)O="utf8",y=this.length,l=0;else if(y===void 0&&typeof l=="string")O=l,y=this.length,l=0;else if(isFinite(l))l=l>>>0,isFinite(y)?(y=y>>>0,O===void 0&&(O="utf8")):(O=y,y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let k=this.length-l;if((y===void 0||y>k)&&(y=k),a.length>0&&(y<0||l<0)||l>this.length)throw new RangeError("Attempt to write outside buffer bounds");O||(O="utf8");let L=!1;for(;;)switch(O){case"hex":return X(this,a,l,y);case"utf8":case"utf-8":return K(this,a,l,y);case"ascii":case"latin1":case"binary":return Q(this,a,l,y);case"base64":return se(this,a,l,y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _e(this,a,l,y);default:if(L)throw new TypeError("Unknown encoding: "+O);O=(""+O).toLowerCase(),L=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Oe(h,a,l){return a===0&&l===h.length?r.fromByteArray(h):r.fromByteArray(h.slice(a,l))}function Ce(h,a,l){l=Math.min(h.length,l);let y=[],O=a;for(;O<l;){let k=h[O],L=null,ue=k>239?4:k>223?3:k>191?2:1;if(O+ue<=l){let ke,Re,Pe,we;switch(ue){case 1:k<128&&(L=k);break;case 2:ke=h[O+1],(ke&192)===128&&(we=(k&31)<<6|ke&63,we>127&&(L=we));break;case 3:ke=h[O+1],Re=h[O+2],(ke&192)===128&&(Re&192)===128&&(we=(k&15)<<12|(ke&63)<<6|Re&63,we>2047&&(we<55296||we>57343)&&(L=we));break;case 4:ke=h[O+1],Re=h[O+2],Pe=h[O+3],(ke&192)===128&&(Re&192)===128&&(Pe&192)===128&&(we=(k&15)<<18|(ke&63)<<12|(Re&63)<<6|Pe&63,we>65535&&we<1114112&&(L=we))}}L===null?(L=65533,ue=1):L>65535&&(L-=65536,y.push(L>>>10&1023|55296),L=56320|L&1023),y.push(L),O+=ue}return De(y)}let Ee=4096;function De(h){let a=h.length;if(a<=Ee)return String.fromCharCode.apply(String,h);let l="",y=0;for(;y<a;)l+=String.fromCharCode.apply(String,h.slice(y,y+=Ee));return l}function Ae(h,a,l){let y="";l=Math.min(h.length,l);for(let O=a;O<l;++O)y+=String.fromCharCode(h[O]&127);return y}function V(h,a,l){let y="";l=Math.min(h.length,l);for(let O=a;O<l;++O)y+=String.fromCharCode(h[O]);return y}function q(h,a,l){let y=h.length;(!a||a<0)&&(a=0),(!l||l<0||l>y)&&(l=y);let O="";for(let k=a;k<l;++k)O+=br[h[k]];return O}function J(h,a,l){let y=h.slice(a,l),O="";for(let k=0;k<y.length-1;k+=2)O+=String.fromCharCode(y[k]+y[k+1]*256);return O}s.prototype.slice=function(a,l){let y=this.length;a=~~a,l=l===void 0?y:~~l,a<0?(a+=y,a<0&&(a=0)):a>y&&(a=y),l<0?(l+=y,l<0&&(l=0)):l>y&&(l=y),l<a&&(l=a);let O=this.subarray(a,l);return Object.setPrototypeOf(O,s.prototype),O};function H(h,a,l){if(h%1!==0||h<0)throw new RangeError("offset is not uint");if(h+a>l)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a],k=1,L=0;for(;++L<l&&(k*=256);)O+=this[a+L]*k;return O},s.prototype.readUintBE=s.prototype.readUIntBE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a+--l],k=1;for(;l>0&&(k*=256);)O+=this[a+--l]*k;return O},s.prototype.readUint8=s.prototype.readUInt8=function(a,l){return a=a>>>0,l||H(a,1,this.length),this[a]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(a,l){return a=a>>>0,l||H(a,2,this.length),this[a]|this[a+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(a,l){return a=a>>>0,l||H(a,2,this.length),this[a]<<8|this[a+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(a,l){return a=a>>>0,l||H(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+this[a+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]*16777216+(this[a+1]<<16|this[a+2]<<8|this[a+3])},s.prototype.readBigUInt64LE=Ye(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=l+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24,k=this[++a]+this[++a]*2**8+this[++a]*2**16+y*2**24;return BigInt(O)+(BigInt(k)<<BigInt(32))}),s.prototype.readBigUInt64BE=Ye(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=l*2**24+this[++a]*2**16+this[++a]*2**8+this[++a],k=this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+y;return(BigInt(O)<<BigInt(32))+BigInt(k)}),s.prototype.readIntLE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a],k=1,L=0;for(;++L<l&&(k*=256);)O+=this[a+L]*k;return k*=128,O>=k&&(O-=Math.pow(2,8*l)),O},s.prototype.readIntBE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=l,k=1,L=this[a+--O];for(;O>0&&(k*=256);)L+=this[a+--O]*k;return k*=128,L>=k&&(L-=Math.pow(2,8*l)),L},s.prototype.readInt8=function(a,l){return a=a>>>0,l||H(a,1,this.length),this[a]&128?(255-this[a]+1)*-1:this[a]},s.prototype.readInt16LE=function(a,l){a=a>>>0,l||H(a,2,this.length);let y=this[a]|this[a+1]<<8;return y&32768?y|4294901760:y},s.prototype.readInt16BE=function(a,l){a=a>>>0,l||H(a,2,this.length);let y=this[a+1]|this[a]<<8;return y&32768?y|4294901760:y},s.prototype.readInt32LE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},s.prototype.readInt32BE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},s.prototype.readBigInt64LE=Ye(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=this[a+4]+this[a+5]*2**8+this[a+6]*2**16+(y<<24);return(BigInt(O)<<BigInt(32))+BigInt(l+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24)}),s.prototype.readBigInt64BE=Ye(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=(l<<24)+this[++a]*2**16+this[++a]*2**8+this[++a];return(BigInt(O)<<BigInt(32))+BigInt(this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+y)}),s.prototype.readFloatLE=function(a,l){return a=a>>>0,l||H(a,4,this.length),e.read(this,a,!0,23,4)},s.prototype.readFloatBE=function(a,l){return a=a>>>0,l||H(a,4,this.length),e.read(this,a,!1,23,4)},s.prototype.readDoubleLE=function(a,l){return a=a>>>0,l||H(a,8,this.length),e.read(this,a,!0,52,8)},s.prototype.readDoubleBE=function(a,l){return a=a>>>0,l||H(a,8,this.length),e.read(this,a,!1,52,8)};function ee(h,a,l,y,O,k){if(!s.isBuffer(h))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>O||a<k)throw new RangeError('"value" argument is out of bounds');if(l+y>h.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(a,l,y,O){if(a=+a,l=l>>>0,y=y>>>0,!O){let ue=Math.pow(2,8*y)-1;ee(this,a,l,y,ue,0)}let k=1,L=0;for(this[l]=a&255;++L<y&&(k*=256);)this[l+L]=a/k&255;return l+y},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(a,l,y,O){if(a=+a,l=l>>>0,y=y>>>0,!O){let ue=Math.pow(2,8*y)-1;ee(this,a,l,y,ue,0)}let k=y-1,L=1;for(this[l+k]=a&255;--k>=0&&(L*=256);)this[l+k]=a/L&255;return l+y},s.prototype.writeUint8=s.prototype.writeUInt8=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,1,255,0),this[l]=a&255,l+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,65535,0),this[l]=a&255,this[l+1]=a>>>8,l+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,65535,0),this[l]=a>>>8,this[l+1]=a&255,l+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,4294967295,0),this[l+3]=a>>>24,this[l+2]=a>>>16,this[l+1]=a>>>8,this[l]=a&255,l+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,4294967295,0),this[l]=a>>>24,this[l+1]=a>>>16,this[l+2]=a>>>8,this[l+3]=a&255,l+4};function ge(h,a,l,y,O){xe(a,y,O,h,l,7);let k=Number(a&BigInt(4294967295));h[l++]=k,k=k>>8,h[l++]=k,k=k>>8,h[l++]=k,k=k>>8,h[l++]=k;let L=Number(a>>BigInt(32)&BigInt(4294967295));return h[l++]=L,L=L>>8,h[l++]=L,L=L>>8,h[l++]=L,L=L>>8,h[l++]=L,l}function Se(h,a,l,y,O){xe(a,y,O,h,l,7);let k=Number(a&BigInt(4294967295));h[l+7]=k,k=k>>8,h[l+6]=k,k=k>>8,h[l+5]=k,k=k>>8,h[l+4]=k;let L=Number(a>>BigInt(32)&BigInt(4294967295));return h[l+3]=L,L=L>>8,h[l+2]=L,L=L>>8,h[l+1]=L,L=L>>8,h[l]=L,l+8}s.prototype.writeBigUInt64LE=Ye(function(a,l=0){return ge(this,a,l,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=Ye(function(a,l=0){return Se(this,a,l,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(a,l,y,O){if(a=+a,l=l>>>0,!O){let ke=Math.pow(2,8*y-1);ee(this,a,l,y,ke-1,-ke)}let k=0,L=1,ue=0;for(this[l]=a&255;++k<y&&(L*=256);)a<0&&ue===0&&this[l+k-1]!==0&&(ue=1),this[l+k]=(a/L>>0)-ue&255;return l+y},s.prototype.writeIntBE=function(a,l,y,O){if(a=+a,l=l>>>0,!O){let ke=Math.pow(2,8*y-1);ee(this,a,l,y,ke-1,-ke)}let k=y-1,L=1,ue=0;for(this[l+k]=a&255;--k>=0&&(L*=256);)a<0&&ue===0&&this[l+k+1]!==0&&(ue=1),this[l+k]=(a/L>>0)-ue&255;return l+y},s.prototype.writeInt8=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,1,127,-128),a<0&&(a=255+a+1),this[l]=a&255,l+1},s.prototype.writeInt16LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,32767,-32768),this[l]=a&255,this[l+1]=a>>>8,l+2},s.prototype.writeInt16BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,32767,-32768),this[l]=a>>>8,this[l+1]=a&255,l+2},s.prototype.writeInt32LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,2147483647,-2147483648),this[l]=a&255,this[l+1]=a>>>8,this[l+2]=a>>>16,this[l+3]=a>>>24,l+4},s.prototype.writeInt32BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[l]=a>>>24,this[l+1]=a>>>16,this[l+2]=a>>>8,this[l+3]=a&255,l+4},s.prototype.writeBigInt64LE=Ye(function(a,l=0){return ge(this,a,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=Ye(function(a,l=0){return Se(this,a,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Me(h,a,l,y,O,k){if(l+y>h.length)throw new RangeError("Index out of range");if(l<0)throw new RangeError("Index out of range")}function Fe(h,a,l,y,O){return a=+a,l=l>>>0,O||Me(h,a,l,4),e.write(h,a,l,y,23,4),l+4}s.prototype.writeFloatLE=function(a,l,y){return Fe(this,a,l,!0,y)},s.prototype.writeFloatBE=function(a,l,y){return Fe(this,a,l,!1,y)};function mt(h,a,l,y,O){return a=+a,l=l>>>0,O||Me(h,a,l,8),e.write(h,a,l,y,52,8),l+8}s.prototype.writeDoubleLE=function(a,l,y){return mt(this,a,l,!0,y)},s.prototype.writeDoubleBE=function(a,l,y){return mt(this,a,l,!1,y)},s.prototype.copy=function(a,l,y,O){if(!s.isBuffer(a))throw new TypeError("argument should be a Buffer");if(y||(y=0),!O&&O!==0&&(O=this.length),l>=a.length&&(l=a.length),l||(l=0),O>0&&O<y&&(O=y),O===y||a.length===0||this.length===0)return 0;if(l<0)throw new RangeError("targetStart out of bounds");if(y<0||y>=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),a.length-l<O-y&&(O=a.length-l+y);let k=O-y;return this===a&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(l,y,O):Uint8Array.prototype.set.call(a,this.subarray(y,O),l),k},s.prototype.fill=function(a,l,y,O){if(typeof a=="string"){if(typeof l=="string"?(O=l,l=0,y=this.length):typeof y=="string"&&(O=y,y=this.length),O!==void 0&&typeof O!="string")throw new TypeError("encoding must be a string");if(typeof O=="string"&&!s.isEncoding(O))throw new TypeError("Unknown encoding: "+O);if(a.length===1){let L=a.charCodeAt(0);(O==="utf8"&&L<128||O==="latin1")&&(a=L)}}else typeof a=="number"?a=a&255:typeof a=="boolean"&&(a=Number(a));if(l<0||this.length<l||this.length<y)throw new RangeError("Out of range index");if(y<=l)return this;l=l>>>0,y=y===void 0?this.length:y>>>0,a||(a=0);let k;if(typeof a=="number")for(k=l;k<y;++k)this[k]=a;else{let L=s.isBuffer(a)?a:s.from(a,O),ue=L.length;if(ue===0)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(k=0;k<y-l;++k)this[k+l]=L[k%ue]}return this};let $={};function U(h,a,l){$[h]=class extends l{constructor(){super(),Object.defineProperty(this,"message",{value:a.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${h}]`,this.stack,delete this.name}get code(){return h}set code(O){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:O,writable:!0})}toString(){return`${this.name} [${h}]: ${this.message}`}}}U("ERR_BUFFER_OUT_OF_BOUNDS",function(h){return h?`${h} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),U("ERR_INVALID_ARG_TYPE",function(h,a){return`The "${h}" argument must be of type number. Received type ${typeof a}`},TypeError),U("ERR_OUT_OF_RANGE",function(h,a,l){let y=`The value of "${h}" is out of range.`,O=l;return Number.isInteger(l)&&Math.abs(l)>2**32?O=te(String(l)):typeof l=="bigint"&&(O=String(l),(l>BigInt(2)**BigInt(32)||l<-(BigInt(2)**BigInt(32)))&&(O=te(O)),O+="n"),y+=` It must be ${a}. Received ${O}`,y},RangeError);function te(h){let a="",l=h.length,y=h[0]==="-"?1:0;for(;l>=y+4;l-=3)a=`_${h.slice(l-3,l)}${a}`;return`${h.slice(0,l)}${a}`}function me(h,a,l){P(a,"offset"),(h[a]===void 0||h[a+l]===void 0)&&C(a,h.length-(l+1))}function xe(h,a,l,y,O,k){if(h>l||h<a){let L=typeof a=="bigint"?"n":"",ue;throw k>3?a===0||a===BigInt(0)?ue=`>= 0${L} and < 2${L} ** ${(k+1)*8}${L}`:ue=`>= -(2${L} ** ${(k+1)*8-1}${L}) and < 2 ** ${(k+1)*8-1}${L}`:ue=`>= ${a}${L} and <= ${l}${L}`,new $.ERR_OUT_OF_RANGE("value",ue,h)}me(y,O,k)}function P(h,a){if(typeof h!="number")throw new $.ERR_INVALID_ARG_TYPE(a,"number",h)}function C(h,a,l){throw Math.floor(h)!==h?(P(h,l),new $.ERR_OUT_OF_RANGE(l||"offset","an integer",h)):a<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE(l||"offset",`>= ${l?1:0} and <= ${a}`,h)}let re=/[^+/0-9A-Za-z-_]/g;function fe(h){if(h=h.split("=")[0],h=h.trim().replace(re,""),h.length<2)return"";for(;h.length%4!==0;)h=h+"=";return h}function ce(h,a){a=a||1/0;let l,y=h.length,O=null,k=[];for(let L=0;L<y;++L){if(l=h.charCodeAt(L),l>55295&&l<57344){if(!O){if(l>56319){(a-=3)>-1&&k.push(239,191,189);continue}else if(L+1===y){(a-=3)>-1&&k.push(239,191,189);continue}O=l;continue}if(l<56320){(a-=3)>-1&&k.push(239,191,189),O=l;continue}l=(O-55296<<10|l-56320)+65536}else O&&(a-=3)>-1&&k.push(239,191,189);if(O=null,l<128){if((a-=1)<0)break;k.push(l)}else if(l<2048){if((a-=2)<0)break;k.push(l>>6|192,l&63|128)}else if(l<65536){if((a-=3)<0)break;k.push(l>>12|224,l>>6&63|128,l&63|128)}else if(l<1114112){if((a-=4)<0)break;k.push(l>>18|240,l>>12&63|128,l>>6&63|128,l&63|128)}else throw new Error("Invalid code point")}return k}function Ie(h){let a=[];for(let l=0;l<h.length;++l)a.push(h.charCodeAt(l)&255);return a}function Be(h,a){let l,y,O,k=[];for(let L=0;L<h.length&&!((a-=2)<0);++L)l=h.charCodeAt(L),y=l>>8,O=l%256,k.push(O),k.push(y);return k}function St(h){return r.toByteArray(fe(h))}function st(h,a,l,y){let O;for(O=0;O<y&&!(O+l>=a.length||O>=h.length);++O)a[O+l]=h[O];return O}function Le(h,a){return h instanceof a||h!=null&&h.constructor!=null&&h.constructor.name!=null&&h.constructor.name===a.name}function At(h){return h!==h}let br=function(){let h="0123456789abcdef",a=new Array(256);for(let l=0;l<16;++l){let y=l*16;for(let O=0;O<16;++O)a[y+O]=h[l]+h[O]}return a}();function Ye(h){return typeof BigInt>"u"?lr:h}function lr(){throw new Error("BigInt not supported")}return ni}var bn,Rh,Js,xh,ni,Ih,si,Y,Gx,Hx,Qs=rt(()=>{B();F();N();bn={},Rh=!1;Js={},xh=!1;ni={},Ih=!1;si=e0();si.Buffer;si.SlowBuffer;si.INSPECT_MAX_BYTES;si.kMaxLength;Y=si.Buffer,Gx=si.INSPECT_MAX_BYTES,Hx=si.kMaxLength});var F=rt(()=>{Qs()});function t0(){if(kh)return $a;kh=!0;var r=$a={},e,t;function i(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=i}catch{e=i}try{typeof clearTimeout=="function"?t=clearTimeout:t=n}catch{t=n}})();function o(b){if(e===setTimeout)return setTimeout(b,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(b,0);try{return e(b,0)}catch{try{return e.call(null,b,0)}catch{return e.call(this||Bi,b,0)}}}function s(b){if(t===clearTimeout)return clearTimeout(b);if((t===n||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(b);try{return t(b)}catch{try{return t.call(null,b)}catch{return t.call(this||Bi,b)}}}var u=[],f=!1,c,p=-1;function d(){!f||!c||(f=!1,c.length?u=c.concat(u):p=-1,u.length&&v())}function v(){if(!f){var b=o(d);f=!0;for(var E=u.length;E;){for(c=u,u=[];++p<E;)c&&c[p].run();p=-1,E=u.length}c=null,f=!1,s(b)}}r.nextTick=function(b){var E=new Array(arguments.length-1);if(arguments.length>1)for(var A=1;A<arguments.length;A++)E[A-1]=arguments[A];u.push(new m(b,E)),u.length===1&&!f&&o(v)};function m(b,E){(this||Bi).fun=b,(this||Bi).array=E}m.prototype.run=function(){(this||Bi).fun.apply(null,(this||Bi).array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={};function g(){}return r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(b){return[]},r.binding=function(b){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(b){throw new Error("process.chdir is not supported")},r.umask=function(){return 0},$a}var $a,kh,Bi,Ue,$r=rt(()=>{B();F();N();$a={},kh=!1,Bi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Ue=t0();Ue.platform="browser";Ue.addListener;Ue.argv;Ue.binding;Ue.browser;Ue.chdir;Ue.cwd;Ue.emit;Ue.env;Ue.listeners;Ue.nextTick;Ue.off;Ue.on;Ue.once;Ue.prependListener;Ue.prependOnceListener;Ue.removeAllListeners;Ue.removeListener;Ue.title;Ue.umask;Ue.version;Ue.versions});function r0(){if(Ph)return Wa;Ph=!0;var r=Ue;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var u="",f=0,c=-1,p=0,d,v=0;v<=o.length;++v){if(v<o.length)d=o.charCodeAt(v);else{if(d===47)break;d=47}if(d===47){if(!(c===v-1||p===1))if(c!==v-1&&p===2){if(u.length<2||f!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var m=u.lastIndexOf("/");if(m!==u.length-1){m===-1?(u="",f=0):(u=u.slice(0,m),f=u.length-1-u.lastIndexOf("/")),c=v,p=0;continue}}else if(u.length===2||u.length===1){u="",f=0,c=v,p=0;continue}}s&&(u.length>0?u+="/..":u="..",f=2)}else u.length>0?u+="/"+o.slice(c+1,v):u=o.slice(c+1,v),f=v-c-1;c=v,p=0}else d===46&&p!==-1?++p:p=-1}return u}function i(o,s){var u=s.dir||s.root,f=s.base||(s.name||"")+(s.ext||"");return u?u===s.root?u+f:u+o+f:f}var n={resolve:function(){for(var s="",u=!1,f,c=arguments.length-1;c>=-1&&!u;c--){var p;c>=0?p=arguments[c]:(f===void 0&&(f=r.cwd()),p=f),e(p),p.length!==0&&(s=p+"/"+s,u=p.charCodeAt(0)===47)}return s=t(s,!u),u?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var u=s.charCodeAt(0)===47,f=s.charCodeAt(s.length-1)===47;return s=t(s,!u),s.length===0&&!u&&(s="."),s.length>0&&f&&(s+="/"),u?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,u=0;u<arguments.length;++u){var f=arguments[u];e(f),f.length>0&&(s===void 0?s=f:s+="/"+f)}return s===void 0?".":n.normalize(s)},relative:function(s,u){if(e(s),e(u),s===u||(s=n.resolve(s),u=n.resolve(u),s===u))return"";for(var f=1;f<s.length&&s.charCodeAt(f)===47;++f);for(var c=s.length,p=c-f,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var v=u.length,m=v-d,g=p<m?p:m,b=-1,E=0;E<=g;++E){if(E===g){if(m>g){if(u.charCodeAt(d+E)===47)return u.slice(d+E+1);if(E===0)return u.slice(d+E)}else p>g&&(s.charCodeAt(f+E)===47?b=E:E===0&&(b=0));break}var A=s.charCodeAt(f+E),x=u.charCodeAt(d+E);if(A!==x)break;A===47&&(b=E)}var I="";for(E=f+b+1;E<=c;++E)(E===c||s.charCodeAt(E)===47)&&(I.length===0?I+="..":I+="/..");return I.length>0?I+u.slice(d+b):(d+=b,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var u=s.charCodeAt(0),f=u===47,c=-1,p=!0,d=s.length-1;d>=1;--d)if(u=s.charCodeAt(d),u===47){if(!p){c=d;break}}else p=!1;return c===-1?f?"/":".":f&&c===1?"//":s.slice(0,c)},basename:function(s,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');e(s);var f=0,c=-1,p=!0,d;if(u!==void 0&&u.length>0&&u.length<=s.length){if(u.length===s.length&&u===s)return"";var v=u.length-1,m=-1;for(d=s.length-1;d>=0;--d){var g=s.charCodeAt(d);if(g===47){if(!p){f=d+1;break}}else m===-1&&(p=!1,m=d+1),v>=0&&(g===u.charCodeAt(v)?--v===-1&&(c=d):(v=-1,c=m))}return f===c?c=m:c===-1&&(c=s.length),s.slice(f,c)}else{for(d=s.length-1;d>=0;--d)if(s.charCodeAt(d)===47){if(!p){f=d+1;break}}else c===-1&&(p=!1,c=d+1);return c===-1?"":s.slice(f,c)}},extname:function(s){e(s);for(var u=-1,f=0,c=-1,p=!0,d=0,v=s.length-1;v>=0;--v){var m=s.charCodeAt(v);if(m===47){if(!p){f=v+1;break}continue}c===-1&&(p=!1,c=v+1),m===46?u===-1?u=v:d!==1&&(d=1):u!==-1&&(d=-1)}return u===-1||c===-1||d===0||d===1&&u===c-1&&u===f+1?"":s.slice(u,c)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return i("/",s)},parse:function(s){e(s);var u={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return u;var f=s.charCodeAt(0),c=f===47,p;c?(u.root="/",p=1):p=0;for(var d=-1,v=0,m=-1,g=!0,b=s.length-1,E=0;b>=p;--b){if(f=s.charCodeAt(b),f===47){if(!g){v=b+1;break}continue}m===-1&&(g=!1,m=b+1),f===46?d===-1?d=b:E!==1&&(E=1):d!==-1&&(E=-1)}return d===-1||m===-1||E===0||E===1&&d===m-1&&d===v+1?m!==-1&&(v===0&&c?u.base=u.name=s.slice(1,m):u.base=u.name=s.slice(v,m)):(v===0&&c?(u.name=s.slice(1,d),u.base=s.slice(1,m)):(u.name=s.slice(v,d),u.base=s.slice(v,m)),u.ext=s.slice(d,m)),v>0?u.dir=s.slice(0,v-1):c&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};return n.posix=n,Wa=n,Wa}var Wa,Ph,it,Ni=rt(()=>{B();F();N();$r();Wa={},Ph=!1;it=r0()});var Fi={};wn(Fi,{_makeLong:()=>i0,basename:()=>n0,default:()=>it,delimiter:()=>s0,dirname:()=>o0,extname:()=>a0,format:()=>u0,isAbsolute:()=>l0,join:()=>f0,normalize:()=>c0,parse:()=>h0,posix:()=>za,relative:()=>p0,resolve:()=>Sn,sep:()=>d0,win32:()=>En});var i0,n0,s0,o0,a0,u0,l0,f0,c0,h0,za,p0,Sn,d0,En,Or=rt(()=>{B();F();N();Ni();Ni();$r();i0=it._makeLong,n0=it.basename,s0=it.delimiter,o0=it.dirname,a0=it.extname,u0=it.format,l0=it.isAbsolute,f0=it.join,c0=it.normalize,h0=it.parse,za=it.posix,p0=it.relative,Sn=it.resolve,d0=it.sep,En=it.win32});function Ve(){Ve.init.call(this)}function Xs(r){if(typeof r!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}function qh(r){return r._maxListeners===void 0?Ve.defaultMaxListeners:r._maxListeners}function Nh(r,e,t,i){var n,o,s,u;if(Xs(t),(o=r._events)===void 0?(o=r._events=Object.create(null),r._eventsCount=0):(o.newListener!==void 0&&(r.emit("newListener",e,t.listener?t.listener:t),o=r._events),s=o[e]),s===void 0)s=o[e]=t,++r._eventsCount;else if(typeof s=="function"?s=o[e]=i?[t,s]:[s,t]:i?s.unshift(t):s.push(t),(n=qh(r))>0&&s.length>n&&!s.warned){s.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=r,f.type=e,f.count=s.length,u=f,console&&console.warn&&console.warn(u)}return r}function y0(){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 Fh(r,e,t){var i={fired:!1,wrapFn:void 0,target:r,type:e,listener:t},n=y0.bind(i);return n.listener=t,i.wrapFn=n,n}function Dh(r,e,t){var i=r._events;if(i===void 0)return[];var n=i[e];return n===void 0?[]:typeof n=="function"?t?[n.listener||n]:[n]:t?function(o){for(var s=new Array(o.length),u=0;u<s.length;++u)s[u]=o[u].listener||o[u];return s}(n):$h(n,n.length)}function Mh(r){var e=this._events;if(e!==void 0){var t=e[r];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}function $h(r,e){for(var t=new Array(e),i=0;i<e;++i)t[i]=r[i];return t}var Uh,jh,Di,Ch,Lh,Bh,ut,Wr=rt(()=>{B();F();N();Di=typeof Reflect=="object"?Reflect:null,Ch=Di&&typeof Di.apply=="function"?Di.apply:function(r,e,t){return Function.prototype.apply.call(r,e,t)};jh=Di&&typeof Di.ownKeys=="function"?Di.ownKeys:Object.getOwnPropertySymbols?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:function(r){return Object.getOwnPropertyNames(r)};Lh=Number.isNaN||function(r){return r!=r};Uh=Ve,Ve.EventEmitter=Ve,Ve.prototype._events=void 0,Ve.prototype._eventsCount=0,Ve.prototype._maxListeners=void 0;Bh=10;Object.defineProperty(Ve,"defaultMaxListeners",{enumerable:!0,get:function(){return Bh},set:function(r){if(typeof r!="number"||r<0||Lh(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");Bh=r}}),Ve.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ve.prototype.setMaxListeners=function(r){if(typeof r!="number"||r<0||Lh(r))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+r+".");return this._maxListeners=r,this},Ve.prototype.getMaxListeners=function(){return qh(this)},Ve.prototype.emit=function(r){for(var e=[],t=1;t<arguments.length;t++)e.push(arguments[t]);var i=r==="error",n=this._events;if(n!==void 0)i=i&&n.error===void 0;else if(!i)return!1;if(i){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var u=n[r];if(u===void 0)return!1;if(typeof u=="function")Ch(u,this,e);else{var f=u.length,c=$h(u,f);for(t=0;t<f;++t)Ch(c[t],this,e)}return!0},Ve.prototype.addListener=function(r,e){return Nh(this,r,e,!1)},Ve.prototype.on=Ve.prototype.addListener,Ve.prototype.prependListener=function(r,e){return Nh(this,r,e,!0)},Ve.prototype.once=function(r,e){return Xs(e),this.on(r,Fh(this,r,e)),this},Ve.prototype.prependOnceListener=function(r,e){return Xs(e),this.prependListener(r,Fh(this,r,e)),this},Ve.prototype.removeListener=function(r,e){var t,i,n,o,s;if(Xs(e),(i=this._events)===void 0)return this;if((t=i[r])===void 0)return this;if(t===e||t.listener===e)--this._eventsCount==0?this._events=Object.create(null):(delete i[r],i.removeListener&&this.emit("removeListener",r,t.listener||e));else if(typeof t!="function"){for(n=-1,o=t.length-1;o>=0;o--)if(t[o]===e||t[o].listener===e){s=t[o].listener,n=o;break}if(n<0)return this;n===0?t.shift():function(u,f){for(;f+1<u.length;f++)u[f]=u[f+1];u.pop()}(t,n),t.length===1&&(i[r]=t[0]),i.removeListener!==void 0&&this.emit("removeListener",r,s||e)}return this},Ve.prototype.off=Ve.prototype.removeListener,Ve.prototype.removeAllListeners=function(r){var e,t,i;if((t=this._events)===void 0)return this;if(t.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):t[r]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete t[r]),this;if(arguments.length===0){var n,o=Object.keys(t);for(i=0;i<o.length;++i)(n=o[i])!=="removeListener"&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(e=t[r])=="function")this.removeListener(r,e);else if(e!==void 0)for(i=e.length-1;i>=0;i--)this.removeListener(r,e[i]);return this},Ve.prototype.listeners=function(r){return Dh(this,r,!0)},Ve.prototype.rawListeners=function(r){return Dh(this,r,!1)},Ve.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):Mh.call(r,e)},Ve.prototype.listenerCount=Mh,Ve.prototype.eventNames=function(){return this._eventsCount>0?jh(this._events):[]};ut=Uh;ut.EventEmitter;ut.defaultMaxListeners;ut.init;ut.listenerCount;ut.EventEmitter;ut.defaultMaxListeners;ut.init;ut.listenerCount});function Va(){throw new Error("setTimeout has not been defined")}function Ga(){throw new Error("clearTimeout has not been defined")}function Vh(r){if(Tr===setTimeout)return setTimeout(r,0);if((Tr===Va||!Tr)&&setTimeout)return Tr=setTimeout,setTimeout(r,0);try{return Tr(r,0)}catch{try{return Tr.call(null,r,0)}catch{return Tr.call(this||Ui,r,0)}}}function g0(){Mi&&oi&&(Mi=!1,oi.length?xr=oi.concat(xr):Zs=-1,xr.length&&Gh())}function Gh(){if(!Mi){var r=Vh(g0);Mi=!0;for(var e=xr.length;e;){for(oi=xr,xr=[];++Zs<e;)oi&&oi[Zs].run();Zs=-1,e=xr.length}oi=null,Mi=!1,function(t){if(Rr===clearTimeout)return clearTimeout(t);if((Rr===Ga||!Rr)&&clearTimeout)return Rr=clearTimeout,clearTimeout(t);try{Rr(t)}catch{try{return Rr.call(null,t)}catch{return Rr.call(this||Ui,t)}}}(r)}}function Wh(r,e){(this||Ui).fun=r,(this||Ui).array=e}function Ar(){}var zh,Tr,Rr,Ui,lt,oi,xr,Mi,Zs,Ge,Ir=rt(()=>{B();F();N();Ui=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,lt=zh={};(function(){try{Tr=typeof setTimeout=="function"?setTimeout:Va}catch{Tr=Va}try{Rr=typeof clearTimeout=="function"?clearTimeout:Ga}catch{Rr=Ga}})();xr=[],Mi=!1,Zs=-1;lt.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];xr.push(new Wh(r,e)),xr.length!==1||Mi||Vh(Gh)},Wh.prototype.run=function(){(this||Ui).fun.apply(null,(this||Ui).array)},lt.title="browser",lt.browser=!0,lt.env={},lt.argv=[],lt.version="",lt.versions={},lt.on=Ar,lt.addListener=Ar,lt.once=Ar,lt.off=Ar,lt.removeListener=Ar,lt.removeAllListeners=Ar,lt.emit=Ar,lt.prependListener=Ar,lt.prependOnceListener=Ar,lt.listeners=function(r){return[]},lt.binding=function(r){throw new Error("process.binding is not supported")},lt.cwd=function(){return"/"},lt.chdir=function(r){throw new Error("process.chdir is not supported")},lt.umask=function(){return 0};Ge=zh;Ge.addListener;Ge.argv;Ge.binding;Ge.browser;Ge.chdir;Ge.cwd;Ge.emit;Ge.env;Ge.listeners;Ge.nextTick;Ge.off;Ge.on;Ge.once;Ge.prependListener;Ge.prependOnceListener;Ge.removeAllListeners;Ge.removeListener;Ge.title;Ge.umask;Ge.version;Ge.versions});function li(r){return r.call.bind(r)}function Tn(r,e){if(typeof r!="object")return!1;try{return e(r),!0}catch{return!1}}function Yh(r){return kt&&Nt?Wt(r)!==void 0:lp(r)||fp(r)||cp(r)||hp(r)||pp(r)||dp(r)||yp(r)||gp(r)||mp(r)||vp(r)||wp(r)}function lp(r){return kt&&Nt?Wt(r)==="Uint8Array":nt(r)==="[object Uint8Array]"||T0(r)&&r.buffer!==void 0}function fp(r){return kt&&Nt?Wt(r)==="Uint8ClampedArray":nt(r)==="[object Uint8ClampedArray]"}function cp(r){return kt&&Nt?Wt(r)==="Uint16Array":nt(r)==="[object Uint16Array]"}function hp(r){return kt&&Nt?Wt(r)==="Uint32Array":nt(r)==="[object Uint32Array]"}function pp(r){return kt&&Nt?Wt(r)==="Int8Array":nt(r)==="[object Int8Array]"}function dp(r){return kt&&Nt?Wt(r)==="Int16Array":nt(r)==="[object Int16Array]"}function yp(r){return kt&&Nt?Wt(r)==="Int32Array":nt(r)==="[object Int32Array]"}function gp(r){return kt&&Nt?Wt(r)==="Float32Array":nt(r)==="[object Float32Array]"}function mp(r){return kt&&Nt?Wt(r)==="Float64Array":nt(r)==="[object Float64Array]"}function vp(r){return kt&&Nt?Wt(r)==="BigInt64Array":nt(r)==="[object BigInt64Array]"}function wp(r){return kt&&Nt?Wt(r)==="BigUint64Array":nt(r)==="[object BigUint64Array]"}function eo(r){return nt(r)==="[object Map]"}function to(r){return nt(r)==="[object Set]"}function ro(r){return nt(r)==="[object WeakMap]"}function Ha(r){return nt(r)==="[object WeakSet]"}function oo(r){return nt(r)==="[object ArrayBuffer]"}function Kh(r){return typeof ArrayBuffer<"u"&&(oo.working?oo(r):r instanceof ArrayBuffer)}function ao(r){return nt(r)==="[object DataView]"}function Jh(r){return typeof DataView<"u"&&(ao.working?ao(r):r instanceof DataView)}function uo(r){return nt(r)==="[object SharedArrayBuffer]"}function Qh(r){return typeof SharedArrayBuffer<"u"&&(uo.working?uo(r):r instanceof SharedArrayBuffer)}function Xh(r){return Tn(r,P0)}function Zh(r){return Tn(r,C0)}function ep(r){return Tn(r,L0)}function tp(r){return up&&Tn(r,B0)}function rp(r){return Xa&&Tn(r,N0)}function zr(r,e){var t={seen:[],stylize:M0};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Za(e)?t.showHidden=e:e&&G._extend(t,e),ui(t.showHidden)&&(t.showHidden=!1),ui(t.depth)&&(t.depth=2),ui(t.colors)&&(t.colors=!1),ui(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=D0),lo(t,r,t.depth)}function D0(r,e){var t=zr.styles[e];return t?"\x1B["+zr.colors[t][0]+"m"+r+"\x1B["+zr.colors[t][1]+"m":r}function M0(r,e){return r}function lo(r,e,t){if(r.customInspect&&e&&so(e.inspect)&&e.inspect!==G.inspect&&(!e.constructor||e.constructor.prototype!==e)){var i=e.inspect(t,r);return fo(i)||(i=lo(r,i,t)),i}var n=function(v,m){if(ui(m))return v.stylize("undefined","undefined");if(fo(m)){var g="'"+JSON.stringify(m).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return v.stylize(g,"string")}if(Ep(m))return v.stylize(""+m,"number");if(Za(m))return v.stylize(""+m,"boolean");if(po(m))return v.stylize("null","null")}(r,e);if(n)return n;var o=Object.keys(e),s=function(v){var m={};return v.forEach(function(g,b){m[g]=!0}),m}(o);if(r.showHidden&&(o=Object.getOwnPropertyNames(e)),An(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Ya(e);if(o.length===0){if(so(e)){var u=e.name?": "+e.name:"";return r.stylize("[Function"+u+"]","special")}if(On(e))return r.stylize(RegExp.prototype.toString.call(e),"regexp");if(co(e))return r.stylize(Date.prototype.toString.call(e),"date");if(An(e))return Ya(e)}var f,c="",p=!1,d=["{","}"];return Sp(e)&&(p=!0,d=["[","]"]),so(e)&&(c=" [Function"+(e.name?": "+e.name:"")+"]"),On(e)&&(c=" "+RegExp.prototype.toString.call(e)),co(e)&&(c=" "+Date.prototype.toUTCString.call(e)),An(e)&&(c=" "+Ya(e)),o.length!==0||p&&e.length!=0?t<0?On(e)?r.stylize(RegExp.prototype.toString.call(e),"regexp"):r.stylize("[Object]","special"):(r.seen.push(e),f=p?function(v,m,g,b,E){for(var A=[],x=0,I=m.length;x<I;++x)_p(m,String(x))?A.push(Ka(v,m,g,b,String(x),!0)):A.push("");return E.forEach(function(D){D.match(/^\d+$/)||A.push(Ka(v,m,g,b,D,!0))}),A}(r,e,t,s,o):o.map(function(v){return Ka(r,e,t,s,v,p)}),r.seen.pop(),function(v,m,g){var b=0;return v.reduce(function(E,A){return b++,A.indexOf(`
|
|
1
|
+
"use strict";var purgecss=(()=>{var Gw=Object.create;var Gs=Object.defineProperty;var Hw=Object.getOwnPropertyDescriptor;var Yw=Object.getOwnPropertyNames;var Kw=Object.getPrototypeOf,Jw=Object.prototype.hasOwnProperty;var rt=(r,e)=>()=>(r&&(e=r(r=0)),e);var de=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),wn=(r,e)=>{for(var t in e)Gs(r,t,{get:e[t],enumerable:!0})},fc=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Yw(e))!Jw.call(r,n)&&n!==t&&Gs(r,n,{get:()=>e[n],enumerable:!(i=Hw(e,n))||i.enumerable});return r};var Ma=(r,e,t)=>(t=r!=null?Gw(Kw(r)):{},fc(e||!r||!r.__esModule?Gs(t,"default",{value:r,enumerable:!0}):t,r)),ri=r=>fc(Gs({},"__esModule",{value:!0}),r);var L=rt(()=>{});var z={};wn(z,{_debugEnd:()=>Xc,_debugProcess:()=>Qc,_events:()=>dh,_eventsCount:()=>yh,_exiting:()=>Cc,_fatalExceptions:()=>Hc,_getActiveHandles:()=>Fc,_getActiveRequests:()=>Nc,_kill:()=>Mc,_linkedBinding:()=>kc,_maxListeners:()=>ph,_preload_modules:()=>fh,_rawDebug:()=>xc,_startProfilerIdleNotifier:()=>Zc,_stopProfilerIdleNotifier:()=>eh,_tickCallback:()=>Jc,abort:()=>nh,addListener:()=>gh,allowedNodeEnvironmentFlags:()=>zc,arch:()=>yc,argv:()=>vc,argv0:()=>lh,assert:()=>Vc,binding:()=>_c,chdir:()=>Tc,config:()=>Bc,cpuUsage:()=>Ks,cwd:()=>Ac,debugPort:()=>uh,default:()=>Ah,dlopen:()=>Lc,domain:()=>Pc,emit:()=>Sh,emitWarning:()=>Ec,env:()=>mc,execArgv:()=>wc,execPath:()=>ah,exit:()=>$c,features:()=>Gc,hasUncaughtExceptionCaptureCallback:()=>Kc,hrtime:()=>Ys,kill:()=>qc,listeners:()=>Oh,memoryUsage:()=>jc,moduleLoadList:()=>Ic,nextTick:()=>hc,off:()=>vh,on:()=>_r,once:()=>mh,openStdin:()=>Wc,pid:()=>sh,platform:()=>gc,ppid:()=>oh,prependListener:()=>Eh,prependOnceListener:()=>_h,reallyExit:()=>Dc,release:()=>Rc,removeAllListeners:()=>bh,removeListener:()=>wh,resourceUsage:()=>Uc,setSourceMapsEnabled:()=>ch,setUncaughtExceptionCaptureCallback:()=>Yc,stderr:()=>rh,stdin:()=>ih,stdout:()=>th,title:()=>dc,umask:()=>Oc,uptime:()=>hh,version:()=>bc,versions:()=>Sc});function qa(r){throw new Error("Node.js process "+r+" is not supported by JSPM core outside of Node.js")}function Qw(){!Bi||!ii||(Bi=!1,ii.length?Er=ii.concat(Er):Hs=-1,Er.length&&cc())}function cc(){if(!Bi){var r=setTimeout(Qw,0);Bi=!0;for(var e=Er.length;e;){for(ii=Er,Er=[];++Hs<e;)ii&&ii[Hs].run();Hs=-1,e=Er.length}ii=null,Bi=!1,clearTimeout(r)}}function hc(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];Er.push(new pc(r,e)),Er.length===1&&!Bi&&setTimeout(cc,0)}function pc(r,e){this.fun=r,this.array=e}function Et(){}function kc(r){qa("_linkedBinding")}function Lc(r){qa("dlopen")}function Nc(){return[]}function Fc(){return[]}function Vc(r,e){if(!r)throw new Error(e||"assertion error")}function Kc(){return!1}function hh(){return qr.now()/1e3}function Ys(r){var e=Math.floor((Date.now()-qr.now())*.001),t=qr.now()*.001,i=Math.floor(t)+e,n=Math.floor(t%1*1e9);return r&&(i=i-r[0],n=n-r[1],n<0&&(i--,n+=ja)),[i,n]}function _r(){return Ah}function Oh(r){return[]}var Er,Bi,ii,Hs,dc,yc,gc,mc,vc,wc,bc,Sc,Ec,_c,Oc,Ac,Tc,Rc,xc,Ic,Pc,Cc,Bc,Dc,Mc,Ks,Uc,jc,qc,$c,Wc,zc,Gc,Hc,Yc,Jc,Qc,Xc,Zc,eh,th,rh,ih,nh,sh,oh,ah,uh,lh,fh,ch,qr,Ua,ja,ph,dh,yh,gh,mh,vh,wh,bh,Sh,Eh,_h,Ah,Th=rt(()=>{L();F();N();Er=[],Bi=!1,Hs=-1;pc.prototype.run=function(){this.fun.apply(null,this.array)};dc="browser",yc="x64",gc="browser",mc={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},vc=["/usr/bin/node"],wc=[],bc="v16.8.0",Sc={},Ec=function(r,e){console.warn((e?e+": ":"")+r)},_c=function(r){qa("binding")},Oc=function(r){return 0},Ac=function(){return"/"},Tc=function(r){},Rc={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};xc=Et,Ic=[];Pc={},Cc=!1,Bc={};Dc=Et,Mc=Et,Ks=function(){return{}},Uc=Ks,jc=Ks,qc=Et,$c=Et,Wc=Et,zc={};Gc={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Hc=Et,Yc=Et;Jc=Et,Qc=Et,Xc=Et,Zc=Et,eh=Et,th=void 0,rh=void 0,ih=void 0,nh=Et,sh=2,oh=1,ah="/bin/usr/node",uh=9229,lh="node",fh=[],ch=Et,qr={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};qr.now===void 0&&(Ua=Date.now(),qr.timing&&qr.timing.navigationStart&&(Ua=qr.timing.navigationStart),qr.now=()=>Date.now()-Ua);ja=1e9;Ys.bigint=function(r){var e=Ys(r);return typeof BigInt>"u"?e[0]*ja+e[1]:BigInt(e[0]*ja)+BigInt(e[1])};ph=10,dh={},yh=0;gh=_r,mh=_r,vh=_r,wh=_r,bh=_r,Sh=Et,Eh=_r,_h=_r;Ah={version:bc,versions:Sc,arch:yc,platform:gc,release:Rc,_rawDebug:xc,moduleLoadList:Ic,binding:_c,_linkedBinding:kc,_events:dh,_eventsCount:yh,_maxListeners:ph,on:_r,addListener:gh,once:mh,off:vh,removeListener:wh,removeAllListeners:bh,emit:Sh,prependListener:Eh,prependOnceListener:_h,listeners:Oh,domain:Pc,_exiting:Cc,config:Bc,dlopen:Lc,uptime:hh,_getActiveRequests:Nc,_getActiveHandles:Fc,reallyExit:Dc,_kill:Mc,cpuUsage:Ks,resourceUsage:Uc,memoryUsage:jc,kill:qc,exit:$c,openStdin:Wc,allowedNodeEnvironmentFlags:zc,assert:Vc,features:Gc,_fatalExceptions:Hc,setUncaughtExceptionCaptureCallback:Yc,hasUncaughtExceptionCaptureCallback:Kc,emitWarning:Ec,nextTick:hc,_tickCallback:Jc,_debugProcess:Qc,_debugEnd:Xc,_startProfilerIdleNotifier:Zc,_stopProfilerIdleNotifier:eh,stdout:th,stdin:ih,stderr:rh,abort:nh,umask:Oc,chdir:Tc,cwd:Ac,env:mc,title:dc,argv:vc,execArgv:wc,pid:sh,ppid:oh,execPath:ah,debugPort:uh,hrtime:Ys,argv0:lh,_preload_modules:fh,setSourceMapsEnabled:ch}});var N=rt(()=>{Th()});function Xw(){if(Rh)return bn;Rh=!0,bn.byteLength=u,bn.toByteArray=c,bn.fromByteArray=v;for(var r=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,o=i.length;n<o;++n)r[n]=i[n],e[i.charCodeAt(n)]=n;e[45]=62,e[95]=63;function s(m){var g=m.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var b=m.indexOf("=");b===-1&&(b=g);var E=b===g?0:4-b%4;return[b,E]}function u(m){var g=s(m),b=g[0],E=g[1];return(b+E)*3/4-E}function f(m,g,b){return(g+b)*3/4-b}function c(m){var g,b=s(m),E=b[0],A=b[1],x=new t(f(m,E,A)),I=0,D=A>0?E-4:E,j;for(j=0;j<D;j+=4)g=e[m.charCodeAt(j)]<<18|e[m.charCodeAt(j+1)]<<12|e[m.charCodeAt(j+2)]<<6|e[m.charCodeAt(j+3)],x[I++]=g>>16&255,x[I++]=g>>8&255,x[I++]=g&255;return A===2&&(g=e[m.charCodeAt(j)]<<2|e[m.charCodeAt(j+1)]>>4,x[I++]=g&255),A===1&&(g=e[m.charCodeAt(j)]<<10|e[m.charCodeAt(j+1)]<<4|e[m.charCodeAt(j+2)]>>2,x[I++]=g>>8&255,x[I++]=g&255),x}function p(m){return r[m>>18&63]+r[m>>12&63]+r[m>>6&63]+r[m&63]}function d(m,g,b){for(var E,A=[],x=g;x<b;x+=3)E=(m[x]<<16&16711680)+(m[x+1]<<8&65280)+(m[x+2]&255),A.push(p(E));return A.join("")}function v(m){for(var g,b=m.length,E=b%3,A=[],x=16383,I=0,D=b-E;I<D;I+=x)A.push(d(m,I,I+x>D?D:I+x));return E===1?(g=m[b-1],A.push(r[g>>2]+r[g<<4&63]+"==")):E===2&&(g=(m[b-2]<<8)+m[b-1],A.push(r[g>>10]+r[g>>4&63]+r[g<<2&63]+"=")),A.join("")}return bn}function Zw(){if(xh)return Js;xh=!0;return Js.read=function(r,e,t,i,n){var o,s,u=n*8-i-1,f=(1<<u)-1,c=f>>1,p=-7,d=t?n-1:0,v=t?-1:1,m=r[e+d];for(d+=v,o=m&(1<<-p)-1,m>>=-p,p+=u;p>0;o=o*256+r[e+d],d+=v,p-=8);for(s=o&(1<<-p)-1,o>>=-p,p+=i;p>0;s=s*256+r[e+d],d+=v,p-=8);if(o===0)o=1-c;else{if(o===f)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,i),o=o-c}return(m?-1:1)*s*Math.pow(2,o-i)},Js.write=function(r,e,t,i,n,o){var s,u,f,c=o*8-n-1,p=(1<<c)-1,d=p>>1,v=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,g=i?1:-1,b=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=p):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),s+d>=1?e+=v/f:e+=v*Math.pow(2,1-d),e*f>=2&&(s++,f/=2),s+d>=p?(u=0,s=p):s+d>=1?(u=(e*f-1)*Math.pow(2,n),s=s+d):(u=e*Math.pow(2,d-1)*Math.pow(2,n),s=0));n>=8;r[t+m]=u&255,m+=g,u/=256,n-=8);for(s=s<<n|u,c+=n;c>0;r[t+m]=s&255,m+=g,s/=256,c-=8);r[t+m-g]|=b*128},Js}function e0(){if(Ih)return ni;Ih=!0;let r=Xw(),e=Zw(),t=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ni.Buffer=s,ni.SlowBuffer=A,ni.INSPECT_MAX_BYTES=50;let i=2147483647;ni.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=n(),!s.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 n(){try{let h=new Uint8Array(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,Uint8Array.prototype),Object.setPrototypeOf(h,a),h.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function o(h){if(h>i)throw new RangeError('The value "'+h+'" is invalid for option "size"');let a=new Uint8Array(h);return Object.setPrototypeOf(a,s.prototype),a}function s(h,a,l){if(typeof h=="number"){if(typeof a=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(h)}return u(h,a,l)}s.poolSize=8192;function u(h,a,l){if(typeof h=="string")return d(h,a);if(ArrayBuffer.isView(h))return m(h);if(h==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h);if(Le(h,ArrayBuffer)||h&&Le(h.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Le(h,SharedArrayBuffer)||h&&Le(h.buffer,SharedArrayBuffer)))return g(h,a,l);if(typeof h=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let y=h.valueOf&&h.valueOf();if(y!=null&&y!==h)return s.from(y,a,l);let O=b(h);if(O)return O;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof h[Symbol.toPrimitive]=="function")return s.from(h[Symbol.toPrimitive]("string"),a,l);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h)}s.from=function(h,a,l){return u(h,a,l)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function f(h){if(typeof h!="number")throw new TypeError('"size" argument must be of type number');if(h<0)throw new RangeError('The value "'+h+'" is invalid for option "size"')}function c(h,a,l){return f(h),h<=0?o(h):a!==void 0?typeof l=="string"?o(h).fill(a,l):o(h).fill(a):o(h)}s.alloc=function(h,a,l){return c(h,a,l)};function p(h){return f(h),o(h<0?0:E(h)|0)}s.allocUnsafe=function(h){return p(h)},s.allocUnsafeSlow=function(h){return p(h)};function d(h,a){if((typeof a!="string"||a==="")&&(a="utf8"),!s.isEncoding(a))throw new TypeError("Unknown encoding: "+a);let l=x(h,a)|0,y=o(l),O=y.write(h,a);return O!==l&&(y=y.slice(0,O)),y}function v(h){let a=h.length<0?0:E(h.length)|0,l=o(a);for(let y=0;y<a;y+=1)l[y]=h[y]&255;return l}function m(h){if(Le(h,Uint8Array)){let a=new Uint8Array(h);return g(a.buffer,a.byteOffset,a.byteLength)}return v(h)}function g(h,a,l){if(a<0||h.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(h.byteLength<a+(l||0))throw new RangeError('"length" is outside of buffer bounds');let y;return a===void 0&&l===void 0?y=new Uint8Array(h):l===void 0?y=new Uint8Array(h,a):y=new Uint8Array(h,a,l),Object.setPrototypeOf(y,s.prototype),y}function b(h){if(s.isBuffer(h)){let a=E(h.length)|0,l=o(a);return l.length===0||h.copy(l,0,0,a),l}if(h.length!==void 0)return typeof h.length!="number"||At(h.length)?o(0):v(h);if(h.type==="Buffer"&&Array.isArray(h.data))return v(h.data)}function E(h){if(h>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return h|0}function A(h){return+h!=h&&(h=0),s.alloc(+h)}s.isBuffer=function(a){return a!=null&&a._isBuffer===!0&&a!==s.prototype},s.compare=function(a,l){if(Le(a,Uint8Array)&&(a=s.from(a,a.offset,a.byteLength)),Le(l,Uint8Array)&&(l=s.from(l,l.offset,l.byteLength)),!s.isBuffer(a)||!s.isBuffer(l))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===l)return 0;let y=a.length,O=l.length;for(let k=0,B=Math.min(y,O);k<B;++k)if(a[k]!==l[k]){y=a[k],O=l[k];break}return y<O?-1:O<y?1:0},s.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(a,l){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(a.length===0)return s.alloc(0);let y;if(l===void 0)for(l=0,y=0;y<a.length;++y)l+=a[y].length;let O=s.allocUnsafe(l),k=0;for(y=0;y<a.length;++y){let B=a[y];if(Le(B,Uint8Array))k+B.length>O.length?(s.isBuffer(B)||(B=s.from(B)),B.copy(O,k)):Uint8Array.prototype.set.call(O,B,k);else if(s.isBuffer(B))B.copy(O,k);else throw new TypeError('"list" argument must be an Array of Buffers');k+=B.length}return O};function x(h,a){if(s.isBuffer(h))return h.length;if(ArrayBuffer.isView(h)||Le(h,ArrayBuffer))return h.byteLength;if(typeof h!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof h);let l=h.length,y=arguments.length>2&&arguments[2]===!0;if(!y&&l===0)return 0;let O=!1;for(;;)switch(a){case"ascii":case"latin1":case"binary":return l;case"utf8":case"utf-8":return ce(h).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l*2;case"hex":return l>>>1;case"base64":return St(h).length;default:if(O)return y?-1:ce(h).length;a=(""+a).toLowerCase(),O=!0}}s.byteLength=x;function I(h,a,l){let y=!1;if((a===void 0||a<0)&&(a=0),a>this.length||((l===void 0||l>this.length)&&(l=this.length),l<=0)||(l>>>=0,a>>>=0,l<=a))return"";for(h||(h="utf8");;)switch(h){case"hex":return q(this,a,l);case"utf8":case"utf-8":return Be(this,a,l);case"ascii":return Ae(this,a,l);case"latin1":case"binary":return V(this,a,l);case"base64":return Oe(this,a,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J(this,a,l);default:if(y)throw new TypeError("Unknown encoding: "+h);h=(h+"").toLowerCase(),y=!0}}s.prototype._isBuffer=!0;function D(h,a,l){let y=h[a];h[a]=h[l],h[l]=y}s.prototype.swap16=function(){let a=this.length;if(a%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let l=0;l<a;l+=2)D(this,l,l+1);return this},s.prototype.swap32=function(){let a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let l=0;l<a;l+=4)D(this,l,l+3),D(this,l+1,l+2);return this},s.prototype.swap64=function(){let a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let l=0;l<a;l+=8)D(this,l,l+7),D(this,l+1,l+6),D(this,l+2,l+5),D(this,l+3,l+4);return this},s.prototype.toString=function(){let a=this.length;return a===0?"":arguments.length===0?Be(this,0,a):I.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(a){if(!s.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:s.compare(this,a)===0},s.prototype.inspect=function(){let a="",l=ni.INSPECT_MAX_BYTES;return a=this.toString("hex",0,l).replace(/(.{2})/g,"$1 ").trim(),this.length>l&&(a+=" ... "),"<Buffer "+a+">"},t&&(s.prototype[t]=s.prototype.inspect),s.prototype.compare=function(a,l,y,O,k){if(Le(a,Uint8Array)&&(a=s.from(a,a.offset,a.byteLength)),!s.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(l===void 0&&(l=0),y===void 0&&(y=a?a.length:0),O===void 0&&(O=0),k===void 0&&(k=this.length),l<0||y>a.length||O<0||k>this.length)throw new RangeError("out of range index");if(O>=k&&l>=y)return 0;if(O>=k)return-1;if(l>=y)return 1;if(l>>>=0,y>>>=0,O>>>=0,k>>>=0,this===a)return 0;let B=k-O,ue=y-l,ke=Math.min(B,ue),Re=this.slice(O,k),Pe=a.slice(l,y);for(let we=0;we<ke;++we)if(Re[we]!==Pe[we]){B=Re[we],ue=Pe[we];break}return B<ue?-1:ue<B?1:0};function j(h,a,l,y,O){if(h.length===0)return-1;if(typeof l=="string"?(y=l,l=0):l>2147483647?l=2147483647:l<-2147483648&&(l=-2147483648),l=+l,At(l)&&(l=O?0:h.length-1),l<0&&(l=h.length+l),l>=h.length){if(O)return-1;l=h.length-1}else if(l<0)if(O)l=0;else return-1;if(typeof a=="string"&&(a=s.from(a,y)),s.isBuffer(a))return a.length===0?-1:ae(h,a,l,y,O);if(typeof a=="number")return a=a&255,typeof Uint8Array.prototype.indexOf=="function"?O?Uint8Array.prototype.indexOf.call(h,a,l):Uint8Array.prototype.lastIndexOf.call(h,a,l):ae(h,[a],l,y,O);throw new TypeError("val must be string, number or Buffer")}function ae(h,a,l,y,O){let k=1,B=h.length,ue=a.length;if(y!==void 0&&(y=String(y).toLowerCase(),y==="ucs2"||y==="ucs-2"||y==="utf16le"||y==="utf-16le")){if(h.length<2||a.length<2)return-1;k=2,B/=2,ue/=2,l/=2}function ke(Pe,we){return k===1?Pe[we]:Pe.readUInt16BE(we*k)}let Re;if(O){let Pe=-1;for(Re=l;Re<B;Re++)if(ke(h,Re)===ke(a,Pe===-1?0:Re-Pe)){if(Pe===-1&&(Pe=Re),Re-Pe+1===ue)return Pe*k}else Pe!==-1&&(Re-=Re-Pe),Pe=-1}else for(l+ue>B&&(l=B-ue),Re=l;Re>=0;Re--){let Pe=!0;for(let we=0;we<ue;we++)if(ke(h,Re+we)!==ke(a,we)){Pe=!1;break}if(Pe)return Re}return-1}s.prototype.includes=function(a,l,y){return this.indexOf(a,l,y)!==-1},s.prototype.indexOf=function(a,l,y){return j(this,a,l,y,!0)},s.prototype.lastIndexOf=function(a,l,y){return j(this,a,l,y,!1)};function X(h,a,l,y){l=Number(l)||0;let O=h.length-l;y?(y=Number(y),y>O&&(y=O)):y=O;let k=a.length;y>k/2&&(y=k/2);let B;for(B=0;B<y;++B){let ue=parseInt(a.substr(B*2,2),16);if(At(ue))return B;h[l+B]=ue}return B}function K(h,a,l,y){return st(ce(a,h.length-l),h,l,y)}function Q(h,a,l,y){return st(Ie(a),h,l,y)}function oe(h,a,l,y){return st(St(a),h,l,y)}function _e(h,a,l,y){return st(Ne(a,h.length-l),h,l,y)}s.prototype.write=function(a,l,y,O){if(l===void 0)O="utf8",y=this.length,l=0;else if(y===void 0&&typeof l=="string")O=l,y=this.length,l=0;else if(isFinite(l))l=l>>>0,isFinite(y)?(y=y>>>0,O===void 0&&(O="utf8")):(O=y,y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let k=this.length-l;if((y===void 0||y>k)&&(y=k),a.length>0&&(y<0||l<0)||l>this.length)throw new RangeError("Attempt to write outside buffer bounds");O||(O="utf8");let B=!1;for(;;)switch(O){case"hex":return X(this,a,l,y);case"utf8":case"utf-8":return K(this,a,l,y);case"ascii":case"latin1":case"binary":return Q(this,a,l,y);case"base64":return oe(this,a,l,y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _e(this,a,l,y);default:if(B)throw new TypeError("Unknown encoding: "+O);O=(""+O).toLowerCase(),B=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Oe(h,a,l){return a===0&&l===h.length?r.fromByteArray(h):r.fromByteArray(h.slice(a,l))}function Be(h,a,l){l=Math.min(h.length,l);let y=[],O=a;for(;O<l;){let k=h[O],B=null,ue=k>239?4:k>223?3:k>191?2:1;if(O+ue<=l){let ke,Re,Pe,we;switch(ue){case 1:k<128&&(B=k);break;case 2:ke=h[O+1],(ke&192)===128&&(we=(k&31)<<6|ke&63,we>127&&(B=we));break;case 3:ke=h[O+1],Re=h[O+2],(ke&192)===128&&(Re&192)===128&&(we=(k&15)<<12|(ke&63)<<6|Re&63,we>2047&&(we<55296||we>57343)&&(B=we));break;case 4:ke=h[O+1],Re=h[O+2],Pe=h[O+3],(ke&192)===128&&(Re&192)===128&&(Pe&192)===128&&(we=(k&15)<<18|(ke&63)<<12|(Re&63)<<6|Pe&63,we>65535&&we<1114112&&(B=we))}}B===null?(B=65533,ue=1):B>65535&&(B-=65536,y.push(B>>>10&1023|55296),B=56320|B&1023),y.push(B),O+=ue}return Me(y)}let Ee=4096;function Me(h){let a=h.length;if(a<=Ee)return String.fromCharCode.apply(String,h);let l="",y=0;for(;y<a;)l+=String.fromCharCode.apply(String,h.slice(y,y+=Ee));return l}function Ae(h,a,l){let y="";l=Math.min(h.length,l);for(let O=a;O<l;++O)y+=String.fromCharCode(h[O]&127);return y}function V(h,a,l){let y="";l=Math.min(h.length,l);for(let O=a;O<l;++O)y+=String.fromCharCode(h[O]);return y}function q(h,a,l){let y=h.length;(!a||a<0)&&(a=0),(!l||l<0||l>y)&&(l=y);let O="";for(let k=a;k<l;++k)O+=br[h[k]];return O}function J(h,a,l){let y=h.slice(a,l),O="";for(let k=0;k<y.length-1;k+=2)O+=String.fromCharCode(y[k]+y[k+1]*256);return O}s.prototype.slice=function(a,l){let y=this.length;a=~~a,l=l===void 0?y:~~l,a<0?(a+=y,a<0&&(a=0)):a>y&&(a=y),l<0?(l+=y,l<0&&(l=0)):l>y&&(l=y),l<a&&(l=a);let O=this.subarray(a,l);return Object.setPrototypeOf(O,s.prototype),O};function H(h,a,l){if(h%1!==0||h<0)throw new RangeError("offset is not uint");if(h+a>l)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a],k=1,B=0;for(;++B<l&&(k*=256);)O+=this[a+B]*k;return O},s.prototype.readUintBE=s.prototype.readUIntBE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a+--l],k=1;for(;l>0&&(k*=256);)O+=this[a+--l]*k;return O},s.prototype.readUint8=s.prototype.readUInt8=function(a,l){return a=a>>>0,l||H(a,1,this.length),this[a]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(a,l){return a=a>>>0,l||H(a,2,this.length),this[a]|this[a+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(a,l){return a=a>>>0,l||H(a,2,this.length),this[a]<<8|this[a+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(a,l){return a=a>>>0,l||H(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+this[a+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]*16777216+(this[a+1]<<16|this[a+2]<<8|this[a+3])},s.prototype.readBigUInt64LE=Ke(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=l+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24,k=this[++a]+this[++a]*2**8+this[++a]*2**16+y*2**24;return BigInt(O)+(BigInt(k)<<BigInt(32))}),s.prototype.readBigUInt64BE=Ke(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=l*2**24+this[++a]*2**16+this[++a]*2**8+this[++a],k=this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+y;return(BigInt(O)<<BigInt(32))+BigInt(k)}),s.prototype.readIntLE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a],k=1,B=0;for(;++B<l&&(k*=256);)O+=this[a+B]*k;return k*=128,O>=k&&(O-=Math.pow(2,8*l)),O},s.prototype.readIntBE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=l,k=1,B=this[a+--O];for(;O>0&&(k*=256);)B+=this[a+--O]*k;return k*=128,B>=k&&(B-=Math.pow(2,8*l)),B},s.prototype.readInt8=function(a,l){return a=a>>>0,l||H(a,1,this.length),this[a]&128?(255-this[a]+1)*-1:this[a]},s.prototype.readInt16LE=function(a,l){a=a>>>0,l||H(a,2,this.length);let y=this[a]|this[a+1]<<8;return y&32768?y|4294901760:y},s.prototype.readInt16BE=function(a,l){a=a>>>0,l||H(a,2,this.length);let y=this[a+1]|this[a]<<8;return y&32768?y|4294901760:y},s.prototype.readInt32LE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},s.prototype.readInt32BE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},s.prototype.readBigInt64LE=Ke(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=this[a+4]+this[a+5]*2**8+this[a+6]*2**16+(y<<24);return(BigInt(O)<<BigInt(32))+BigInt(l+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24)}),s.prototype.readBigInt64BE=Ke(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=(l<<24)+this[++a]*2**16+this[++a]*2**8+this[++a];return(BigInt(O)<<BigInt(32))+BigInt(this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+y)}),s.prototype.readFloatLE=function(a,l){return a=a>>>0,l||H(a,4,this.length),e.read(this,a,!0,23,4)},s.prototype.readFloatBE=function(a,l){return a=a>>>0,l||H(a,4,this.length),e.read(this,a,!1,23,4)},s.prototype.readDoubleLE=function(a,l){return a=a>>>0,l||H(a,8,this.length),e.read(this,a,!0,52,8)},s.prototype.readDoubleBE=function(a,l){return a=a>>>0,l||H(a,8,this.length),e.read(this,a,!1,52,8)};function ee(h,a,l,y,O,k){if(!s.isBuffer(h))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>O||a<k)throw new RangeError('"value" argument is out of bounds');if(l+y>h.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(a,l,y,O){if(a=+a,l=l>>>0,y=y>>>0,!O){let ue=Math.pow(2,8*y)-1;ee(this,a,l,y,ue,0)}let k=1,B=0;for(this[l]=a&255;++B<y&&(k*=256);)this[l+B]=a/k&255;return l+y},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(a,l,y,O){if(a=+a,l=l>>>0,y=y>>>0,!O){let ue=Math.pow(2,8*y)-1;ee(this,a,l,y,ue,0)}let k=y-1,B=1;for(this[l+k]=a&255;--k>=0&&(B*=256);)this[l+k]=a/B&255;return l+y},s.prototype.writeUint8=s.prototype.writeUInt8=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,1,255,0),this[l]=a&255,l+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,65535,0),this[l]=a&255,this[l+1]=a>>>8,l+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,65535,0),this[l]=a>>>8,this[l+1]=a&255,l+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,4294967295,0),this[l+3]=a>>>24,this[l+2]=a>>>16,this[l+1]=a>>>8,this[l]=a&255,l+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,4294967295,0),this[l]=a>>>24,this[l+1]=a>>>16,this[l+2]=a>>>8,this[l+3]=a&255,l+4};function ge(h,a,l,y,O){xe(a,y,O,h,l,7);let k=Number(a&BigInt(4294967295));h[l++]=k,k=k>>8,h[l++]=k,k=k>>8,h[l++]=k,k=k>>8,h[l++]=k;let B=Number(a>>BigInt(32)&BigInt(4294967295));return h[l++]=B,B=B>>8,h[l++]=B,B=B>>8,h[l++]=B,B=B>>8,h[l++]=B,l}function Se(h,a,l,y,O){xe(a,y,O,h,l,7);let k=Number(a&BigInt(4294967295));h[l+7]=k,k=k>>8,h[l+6]=k,k=k>>8,h[l+5]=k,k=k>>8,h[l+4]=k;let B=Number(a>>BigInt(32)&BigInt(4294967295));return h[l+3]=B,B=B>>8,h[l+2]=B,B=B>>8,h[l+1]=B,B=B>>8,h[l]=B,l+8}s.prototype.writeBigUInt64LE=Ke(function(a,l=0){return ge(this,a,l,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=Ke(function(a,l=0){return Se(this,a,l,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(a,l,y,O){if(a=+a,l=l>>>0,!O){let ke=Math.pow(2,8*y-1);ee(this,a,l,y,ke-1,-ke)}let k=0,B=1,ue=0;for(this[l]=a&255;++k<y&&(B*=256);)a<0&&ue===0&&this[l+k-1]!==0&&(ue=1),this[l+k]=(a/B>>0)-ue&255;return l+y},s.prototype.writeIntBE=function(a,l,y,O){if(a=+a,l=l>>>0,!O){let ke=Math.pow(2,8*y-1);ee(this,a,l,y,ke-1,-ke)}let k=y-1,B=1,ue=0;for(this[l+k]=a&255;--k>=0&&(B*=256);)a<0&&ue===0&&this[l+k+1]!==0&&(ue=1),this[l+k]=(a/B>>0)-ue&255;return l+y},s.prototype.writeInt8=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,1,127,-128),a<0&&(a=255+a+1),this[l]=a&255,l+1},s.prototype.writeInt16LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,32767,-32768),this[l]=a&255,this[l+1]=a>>>8,l+2},s.prototype.writeInt16BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,32767,-32768),this[l]=a>>>8,this[l+1]=a&255,l+2},s.prototype.writeInt32LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,2147483647,-2147483648),this[l]=a&255,this[l+1]=a>>>8,this[l+2]=a>>>16,this[l+3]=a>>>24,l+4},s.prototype.writeInt32BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[l]=a>>>24,this[l+1]=a>>>16,this[l+2]=a>>>8,this[l+3]=a&255,l+4},s.prototype.writeBigInt64LE=Ke(function(a,l=0){return ge(this,a,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=Ke(function(a,l=0){return Se(this,a,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ue(h,a,l,y,O,k){if(l+y>h.length)throw new RangeError("Index out of range");if(l<0)throw new RangeError("Index out of range")}function De(h,a,l,y,O){return a=+a,l=l>>>0,O||Ue(h,a,l,4),e.write(h,a,l,y,23,4),l+4}s.prototype.writeFloatLE=function(a,l,y){return De(this,a,l,!0,y)},s.prototype.writeFloatBE=function(a,l,y){return De(this,a,l,!1,y)};function mt(h,a,l,y,O){return a=+a,l=l>>>0,O||Ue(h,a,l,8),e.write(h,a,l,y,52,8),l+8}s.prototype.writeDoubleLE=function(a,l,y){return mt(this,a,l,!0,y)},s.prototype.writeDoubleBE=function(a,l,y){return mt(this,a,l,!1,y)},s.prototype.copy=function(a,l,y,O){if(!s.isBuffer(a))throw new TypeError("argument should be a Buffer");if(y||(y=0),!O&&O!==0&&(O=this.length),l>=a.length&&(l=a.length),l||(l=0),O>0&&O<y&&(O=y),O===y||a.length===0||this.length===0)return 0;if(l<0)throw new RangeError("targetStart out of bounds");if(y<0||y>=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),a.length-l<O-y&&(O=a.length-l+y);let k=O-y;return this===a&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(l,y,O):Uint8Array.prototype.set.call(a,this.subarray(y,O),l),k},s.prototype.fill=function(a,l,y,O){if(typeof a=="string"){if(typeof l=="string"?(O=l,l=0,y=this.length):typeof y=="string"&&(O=y,y=this.length),O!==void 0&&typeof O!="string")throw new TypeError("encoding must be a string");if(typeof O=="string"&&!s.isEncoding(O))throw new TypeError("Unknown encoding: "+O);if(a.length===1){let B=a.charCodeAt(0);(O==="utf8"&&B<128||O==="latin1")&&(a=B)}}else typeof a=="number"?a=a&255:typeof a=="boolean"&&(a=Number(a));if(l<0||this.length<l||this.length<y)throw new RangeError("Out of range index");if(y<=l)return this;l=l>>>0,y=y===void 0?this.length:y>>>0,a||(a=0);let k;if(typeof a=="number")for(k=l;k<y;++k)this[k]=a;else{let B=s.isBuffer(a)?a:s.from(a,O),ue=B.length;if(ue===0)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(k=0;k<y-l;++k)this[k+l]=B[k%ue]}return this};let $={};function U(h,a,l){$[h]=class extends l{constructor(){super(),Object.defineProperty(this,"message",{value:a.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${h}]`,this.stack,delete this.name}get code(){return h}set code(O){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:O,writable:!0})}toString(){return`${this.name} [${h}]: ${this.message}`}}}U("ERR_BUFFER_OUT_OF_BOUNDS",function(h){return h?`${h} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),U("ERR_INVALID_ARG_TYPE",function(h,a){return`The "${h}" argument must be of type number. Received type ${typeof a}`},TypeError),U("ERR_OUT_OF_RANGE",function(h,a,l){let y=`The value of "${h}" is out of range.`,O=l;return Number.isInteger(l)&&Math.abs(l)>2**32?O=te(String(l)):typeof l=="bigint"&&(O=String(l),(l>BigInt(2)**BigInt(32)||l<-(BigInt(2)**BigInt(32)))&&(O=te(O)),O+="n"),y+=` It must be ${a}. Received ${O}`,y},RangeError);function te(h){let a="",l=h.length,y=h[0]==="-"?1:0;for(;l>=y+4;l-=3)a=`_${h.slice(l-3,l)}${a}`;return`${h.slice(0,l)}${a}`}function me(h,a,l){P(a,"offset"),(h[a]===void 0||h[a+l]===void 0)&&C(a,h.length-(l+1))}function xe(h,a,l,y,O,k){if(h>l||h<a){let B=typeof a=="bigint"?"n":"",ue;throw k>3?a===0||a===BigInt(0)?ue=`>= 0${B} and < 2${B} ** ${(k+1)*8}${B}`:ue=`>= -(2${B} ** ${(k+1)*8-1}${B}) and < 2 ** ${(k+1)*8-1}${B}`:ue=`>= ${a}${B} and <= ${l}${B}`,new $.ERR_OUT_OF_RANGE("value",ue,h)}me(y,O,k)}function P(h,a){if(typeof h!="number")throw new $.ERR_INVALID_ARG_TYPE(a,"number",h)}function C(h,a,l){throw Math.floor(h)!==h?(P(h,l),new $.ERR_OUT_OF_RANGE(l||"offset","an integer",h)):a<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE(l||"offset",`>= ${l?1:0} and <= ${a}`,h)}let re=/[^+/0-9A-Za-z-_]/g;function fe(h){if(h=h.split("=")[0],h=h.trim().replace(re,""),h.length<2)return"";for(;h.length%4!==0;)h=h+"=";return h}function ce(h,a){a=a||1/0;let l,y=h.length,O=null,k=[];for(let B=0;B<y;++B){if(l=h.charCodeAt(B),l>55295&&l<57344){if(!O){if(l>56319){(a-=3)>-1&&k.push(239,191,189);continue}else if(B+1===y){(a-=3)>-1&&k.push(239,191,189);continue}O=l;continue}if(l<56320){(a-=3)>-1&&k.push(239,191,189),O=l;continue}l=(O-55296<<10|l-56320)+65536}else O&&(a-=3)>-1&&k.push(239,191,189);if(O=null,l<128){if((a-=1)<0)break;k.push(l)}else if(l<2048){if((a-=2)<0)break;k.push(l>>6|192,l&63|128)}else if(l<65536){if((a-=3)<0)break;k.push(l>>12|224,l>>6&63|128,l&63|128)}else if(l<1114112){if((a-=4)<0)break;k.push(l>>18|240,l>>12&63|128,l>>6&63|128,l&63|128)}else throw new Error("Invalid code point")}return k}function Ie(h){let a=[];for(let l=0;l<h.length;++l)a.push(h.charCodeAt(l)&255);return a}function Ne(h,a){let l,y,O,k=[];for(let B=0;B<h.length&&!((a-=2)<0);++B)l=h.charCodeAt(B),y=l>>8,O=l%256,k.push(O),k.push(y);return k}function St(h){return r.toByteArray(fe(h))}function st(h,a,l,y){let O;for(O=0;O<y&&!(O+l>=a.length||O>=h.length);++O)a[O+l]=h[O];return O}function Le(h,a){return h instanceof a||h!=null&&h.constructor!=null&&h.constructor.name!=null&&h.constructor.name===a.name}function At(h){return h!==h}let br=function(){let h="0123456789abcdef",a=new Array(256);for(let l=0;l<16;++l){let y=l*16;for(let O=0;O<16;++O)a[y+O]=h[l]+h[O]}return a}();function Ke(h){return typeof BigInt>"u"?lr:h}function lr(){throw new Error("BigInt not supported")}return ni}var bn,Rh,Js,xh,ni,Ih,si,Y,Gx,Hx,Qs=rt(()=>{L();F();N();bn={},Rh=!1;Js={},xh=!1;ni={},Ih=!1;si=e0();si.Buffer;si.SlowBuffer;si.INSPECT_MAX_BYTES;si.kMaxLength;Y=si.Buffer,Gx=si.INSPECT_MAX_BYTES,Hx=si.kMaxLength});var F=rt(()=>{Qs()});function t0(){if(kh)return $a;kh=!0;var r=$a={},e,t;function i(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=i}catch{e=i}try{typeof clearTimeout=="function"?t=clearTimeout:t=n}catch{t=n}})();function o(b){if(e===setTimeout)return setTimeout(b,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(b,0);try{return e(b,0)}catch{try{return e.call(null,b,0)}catch{return e.call(this||Li,b,0)}}}function s(b){if(t===clearTimeout)return clearTimeout(b);if((t===n||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(b);try{return t(b)}catch{try{return t.call(null,b)}catch{return t.call(this||Li,b)}}}var u=[],f=!1,c,p=-1;function d(){!f||!c||(f=!1,c.length?u=c.concat(u):p=-1,u.length&&v())}function v(){if(!f){var b=o(d);f=!0;for(var E=u.length;E;){for(c=u,u=[];++p<E;)c&&c[p].run();p=-1,E=u.length}c=null,f=!1,s(b)}}r.nextTick=function(b){var E=new Array(arguments.length-1);if(arguments.length>1)for(var A=1;A<arguments.length;A++)E[A-1]=arguments[A];u.push(new m(b,E)),u.length===1&&!f&&o(v)};function m(b,E){(this||Li).fun=b,(this||Li).array=E}m.prototype.run=function(){(this||Li).fun.apply(null,(this||Li).array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={};function g(){}return r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(b){return[]},r.binding=function(b){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(b){throw new Error("process.chdir is not supported")},r.umask=function(){return 0},$a}var $a,kh,Li,je,$r=rt(()=>{L();F();N();$a={},kh=!1,Li=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;je=t0();je.platform="browser";je.addListener;je.argv;je.binding;je.browser;je.chdir;je.cwd;je.emit;je.env;je.listeners;je.nextTick;je.off;je.on;je.once;je.prependListener;je.prependOnceListener;je.removeAllListeners;je.removeListener;je.title;je.umask;je.version;je.versions});function r0(){if(Ph)return Wa;Ph=!0;var r=je;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var u="",f=0,c=-1,p=0,d,v=0;v<=o.length;++v){if(v<o.length)d=o.charCodeAt(v);else{if(d===47)break;d=47}if(d===47){if(!(c===v-1||p===1))if(c!==v-1&&p===2){if(u.length<2||f!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var m=u.lastIndexOf("/");if(m!==u.length-1){m===-1?(u="",f=0):(u=u.slice(0,m),f=u.length-1-u.lastIndexOf("/")),c=v,p=0;continue}}else if(u.length===2||u.length===1){u="",f=0,c=v,p=0;continue}}s&&(u.length>0?u+="/..":u="..",f=2)}else u.length>0?u+="/"+o.slice(c+1,v):u=o.slice(c+1,v),f=v-c-1;c=v,p=0}else d===46&&p!==-1?++p:p=-1}return u}function i(o,s){var u=s.dir||s.root,f=s.base||(s.name||"")+(s.ext||"");return u?u===s.root?u+f:u+o+f:f}var n={resolve:function(){for(var s="",u=!1,f,c=arguments.length-1;c>=-1&&!u;c--){var p;c>=0?p=arguments[c]:(f===void 0&&(f=r.cwd()),p=f),e(p),p.length!==0&&(s=p+"/"+s,u=p.charCodeAt(0)===47)}return s=t(s,!u),u?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var u=s.charCodeAt(0)===47,f=s.charCodeAt(s.length-1)===47;return s=t(s,!u),s.length===0&&!u&&(s="."),s.length>0&&f&&(s+="/"),u?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,u=0;u<arguments.length;++u){var f=arguments[u];e(f),f.length>0&&(s===void 0?s=f:s+="/"+f)}return s===void 0?".":n.normalize(s)},relative:function(s,u){if(e(s),e(u),s===u||(s=n.resolve(s),u=n.resolve(u),s===u))return"";for(var f=1;f<s.length&&s.charCodeAt(f)===47;++f);for(var c=s.length,p=c-f,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var v=u.length,m=v-d,g=p<m?p:m,b=-1,E=0;E<=g;++E){if(E===g){if(m>g){if(u.charCodeAt(d+E)===47)return u.slice(d+E+1);if(E===0)return u.slice(d+E)}else p>g&&(s.charCodeAt(f+E)===47?b=E:E===0&&(b=0));break}var A=s.charCodeAt(f+E),x=u.charCodeAt(d+E);if(A!==x)break;A===47&&(b=E)}var I="";for(E=f+b+1;E<=c;++E)(E===c||s.charCodeAt(E)===47)&&(I.length===0?I+="..":I+="/..");return I.length>0?I+u.slice(d+b):(d+=b,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var u=s.charCodeAt(0),f=u===47,c=-1,p=!0,d=s.length-1;d>=1;--d)if(u=s.charCodeAt(d),u===47){if(!p){c=d;break}}else p=!1;return c===-1?f?"/":".":f&&c===1?"//":s.slice(0,c)},basename:function(s,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');e(s);var f=0,c=-1,p=!0,d;if(u!==void 0&&u.length>0&&u.length<=s.length){if(u.length===s.length&&u===s)return"";var v=u.length-1,m=-1;for(d=s.length-1;d>=0;--d){var g=s.charCodeAt(d);if(g===47){if(!p){f=d+1;break}}else m===-1&&(p=!1,m=d+1),v>=0&&(g===u.charCodeAt(v)?--v===-1&&(c=d):(v=-1,c=m))}return f===c?c=m:c===-1&&(c=s.length),s.slice(f,c)}else{for(d=s.length-1;d>=0;--d)if(s.charCodeAt(d)===47){if(!p){f=d+1;break}}else c===-1&&(p=!1,c=d+1);return c===-1?"":s.slice(f,c)}},extname:function(s){e(s);for(var u=-1,f=0,c=-1,p=!0,d=0,v=s.length-1;v>=0;--v){var m=s.charCodeAt(v);if(m===47){if(!p){f=v+1;break}continue}c===-1&&(p=!1,c=v+1),m===46?u===-1?u=v:d!==1&&(d=1):u!==-1&&(d=-1)}return u===-1||c===-1||d===0||d===1&&u===c-1&&u===f+1?"":s.slice(u,c)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return i("/",s)},parse:function(s){e(s);var u={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return u;var f=s.charCodeAt(0),c=f===47,p;c?(u.root="/",p=1):p=0;for(var d=-1,v=0,m=-1,g=!0,b=s.length-1,E=0;b>=p;--b){if(f=s.charCodeAt(b),f===47){if(!g){v=b+1;break}continue}m===-1&&(g=!1,m=b+1),f===46?d===-1?d=b:E!==1&&(E=1):d!==-1&&(E=-1)}return d===-1||m===-1||E===0||E===1&&d===m-1&&d===v+1?m!==-1&&(v===0&&c?u.base=u.name=s.slice(1,m):u.base=u.name=s.slice(v,m)):(v===0&&c?(u.name=s.slice(1,d),u.base=s.slice(1,m)):(u.name=s.slice(v,d),u.base=s.slice(v,m)),u.ext=s.slice(d,m)),v>0?u.dir=s.slice(0,v-1):c&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};return n.posix=n,Wa=n,Wa}var Wa,Ph,it,Ni=rt(()=>{L();F();N();$r();Wa={},Ph=!1;it=r0()});var Fi={};wn(Fi,{_makeLong:()=>i0,basename:()=>n0,default:()=>it,delimiter:()=>s0,dirname:()=>o0,extname:()=>a0,format:()=>u0,isAbsolute:()=>l0,join:()=>f0,normalize:()=>c0,parse:()=>h0,posix:()=>za,relative:()=>p0,resolve:()=>Sn,sep:()=>d0,win32:()=>En});var i0,n0,s0,o0,a0,u0,l0,f0,c0,h0,za,p0,Sn,d0,En,Or=rt(()=>{L();F();N();Ni();Ni();$r();i0=it._makeLong,n0=it.basename,s0=it.delimiter,o0=it.dirname,a0=it.extname,u0=it.format,l0=it.isAbsolute,f0=it.join,c0=it.normalize,h0=it.parse,za=it.posix,p0=it.relative,Sn=it.resolve,d0=it.sep,En=it.win32});function Ge(){Ge.init.call(this)}function Xs(r){if(typeof r!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}function qh(r){return r._maxListeners===void 0?Ge.defaultMaxListeners:r._maxListeners}function Nh(r,e,t,i){var n,o,s,u;if(Xs(t),(o=r._events)===void 0?(o=r._events=Object.create(null),r._eventsCount=0):(o.newListener!==void 0&&(r.emit("newListener",e,t.listener?t.listener:t),o=r._events),s=o[e]),s===void 0)s=o[e]=t,++r._eventsCount;else if(typeof s=="function"?s=o[e]=i?[t,s]:[s,t]:i?s.unshift(t):s.push(t),(n=qh(r))>0&&s.length>n&&!s.warned){s.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=r,f.type=e,f.count=s.length,u=f,console&&console.warn&&console.warn(u)}return r}function y0(){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 Fh(r,e,t){var i={fired:!1,wrapFn:void 0,target:r,type:e,listener:t},n=y0.bind(i);return n.listener=t,i.wrapFn=n,n}function Dh(r,e,t){var i=r._events;if(i===void 0)return[];var n=i[e];return n===void 0?[]:typeof n=="function"?t?[n.listener||n]:[n]:t?function(o){for(var s=new Array(o.length),u=0;u<s.length;++u)s[u]=o[u].listener||o[u];return s}(n):$h(n,n.length)}function Mh(r){var e=this._events;if(e!==void 0){var t=e[r];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}function $h(r,e){for(var t=new Array(e),i=0;i<e;++i)t[i]=r[i];return t}var Uh,jh,Di,Ch,Bh,Lh,ut,Wr=rt(()=>{L();F();N();Di=typeof Reflect=="object"?Reflect:null,Ch=Di&&typeof Di.apply=="function"?Di.apply:function(r,e,t){return Function.prototype.apply.call(r,e,t)};jh=Di&&typeof Di.ownKeys=="function"?Di.ownKeys:Object.getOwnPropertySymbols?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:function(r){return Object.getOwnPropertyNames(r)};Bh=Number.isNaN||function(r){return r!=r};Uh=Ge,Ge.EventEmitter=Ge,Ge.prototype._events=void 0,Ge.prototype._eventsCount=0,Ge.prototype._maxListeners=void 0;Lh=10;Object.defineProperty(Ge,"defaultMaxListeners",{enumerable:!0,get:function(){return Lh},set:function(r){if(typeof r!="number"||r<0||Bh(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");Lh=r}}),Ge.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ge.prototype.setMaxListeners=function(r){if(typeof r!="number"||r<0||Bh(r))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+r+".");return this._maxListeners=r,this},Ge.prototype.getMaxListeners=function(){return qh(this)},Ge.prototype.emit=function(r){for(var e=[],t=1;t<arguments.length;t++)e.push(arguments[t]);var i=r==="error",n=this._events;if(n!==void 0)i=i&&n.error===void 0;else if(!i)return!1;if(i){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var u=n[r];if(u===void 0)return!1;if(typeof u=="function")Ch(u,this,e);else{var f=u.length,c=$h(u,f);for(t=0;t<f;++t)Ch(c[t],this,e)}return!0},Ge.prototype.addListener=function(r,e){return Nh(this,r,e,!1)},Ge.prototype.on=Ge.prototype.addListener,Ge.prototype.prependListener=function(r,e){return Nh(this,r,e,!0)},Ge.prototype.once=function(r,e){return Xs(e),this.on(r,Fh(this,r,e)),this},Ge.prototype.prependOnceListener=function(r,e){return Xs(e),this.prependListener(r,Fh(this,r,e)),this},Ge.prototype.removeListener=function(r,e){var t,i,n,o,s;if(Xs(e),(i=this._events)===void 0)return this;if((t=i[r])===void 0)return this;if(t===e||t.listener===e)--this._eventsCount==0?this._events=Object.create(null):(delete i[r],i.removeListener&&this.emit("removeListener",r,t.listener||e));else if(typeof t!="function"){for(n=-1,o=t.length-1;o>=0;o--)if(t[o]===e||t[o].listener===e){s=t[o].listener,n=o;break}if(n<0)return this;n===0?t.shift():function(u,f){for(;f+1<u.length;f++)u[f]=u[f+1];u.pop()}(t,n),t.length===1&&(i[r]=t[0]),i.removeListener!==void 0&&this.emit("removeListener",r,s||e)}return this},Ge.prototype.off=Ge.prototype.removeListener,Ge.prototype.removeAllListeners=function(r){var e,t,i;if((t=this._events)===void 0)return this;if(t.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):t[r]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete t[r]),this;if(arguments.length===0){var n,o=Object.keys(t);for(i=0;i<o.length;++i)(n=o[i])!=="removeListener"&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(e=t[r])=="function")this.removeListener(r,e);else if(e!==void 0)for(i=e.length-1;i>=0;i--)this.removeListener(r,e[i]);return this},Ge.prototype.listeners=function(r){return Dh(this,r,!0)},Ge.prototype.rawListeners=function(r){return Dh(this,r,!1)},Ge.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):Mh.call(r,e)},Ge.prototype.listenerCount=Mh,Ge.prototype.eventNames=function(){return this._eventsCount>0?jh(this._events):[]};ut=Uh;ut.EventEmitter;ut.defaultMaxListeners;ut.init;ut.listenerCount;ut.EventEmitter;ut.defaultMaxListeners;ut.init;ut.listenerCount});function Va(){throw new Error("setTimeout has not been defined")}function Ga(){throw new Error("clearTimeout has not been defined")}function Vh(r){if(Tr===setTimeout)return setTimeout(r,0);if((Tr===Va||!Tr)&&setTimeout)return Tr=setTimeout,setTimeout(r,0);try{return Tr(r,0)}catch{try{return Tr.call(null,r,0)}catch{return Tr.call(this||Ui,r,0)}}}function g0(){Mi&&oi&&(Mi=!1,oi.length?xr=oi.concat(xr):Zs=-1,xr.length&&Gh())}function Gh(){if(!Mi){var r=Vh(g0);Mi=!0;for(var e=xr.length;e;){for(oi=xr,xr=[];++Zs<e;)oi&&oi[Zs].run();Zs=-1,e=xr.length}oi=null,Mi=!1,function(t){if(Rr===clearTimeout)return clearTimeout(t);if((Rr===Ga||!Rr)&&clearTimeout)return Rr=clearTimeout,clearTimeout(t);try{Rr(t)}catch{try{return Rr.call(null,t)}catch{return Rr.call(this||Ui,t)}}}(r)}}function Wh(r,e){(this||Ui).fun=r,(this||Ui).array=e}function Ar(){}var zh,Tr,Rr,Ui,lt,oi,xr,Mi,Zs,He,Ir=rt(()=>{L();F();N();Ui=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,lt=zh={};(function(){try{Tr=typeof setTimeout=="function"?setTimeout:Va}catch{Tr=Va}try{Rr=typeof clearTimeout=="function"?clearTimeout:Ga}catch{Rr=Ga}})();xr=[],Mi=!1,Zs=-1;lt.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];xr.push(new Wh(r,e)),xr.length!==1||Mi||Vh(Gh)},Wh.prototype.run=function(){(this||Ui).fun.apply(null,(this||Ui).array)},lt.title="browser",lt.browser=!0,lt.env={},lt.argv=[],lt.version="",lt.versions={},lt.on=Ar,lt.addListener=Ar,lt.once=Ar,lt.off=Ar,lt.removeListener=Ar,lt.removeAllListeners=Ar,lt.emit=Ar,lt.prependListener=Ar,lt.prependOnceListener=Ar,lt.listeners=function(r){return[]},lt.binding=function(r){throw new Error("process.binding is not supported")},lt.cwd=function(){return"/"},lt.chdir=function(r){throw new Error("process.chdir is not supported")},lt.umask=function(){return 0};He=zh;He.addListener;He.argv;He.binding;He.browser;He.chdir;He.cwd;He.emit;He.env;He.listeners;He.nextTick;He.off;He.on;He.once;He.prependListener;He.prependOnceListener;He.removeAllListeners;He.removeListener;He.title;He.umask;He.version;He.versions});function li(r){return r.call.bind(r)}function Tn(r,e){if(typeof r!="object")return!1;try{return e(r),!0}catch{return!1}}function Yh(r){return kt&&Nt?Wt(r)!==void 0:lp(r)||fp(r)||cp(r)||hp(r)||pp(r)||dp(r)||yp(r)||gp(r)||mp(r)||vp(r)||wp(r)}function lp(r){return kt&&Nt?Wt(r)==="Uint8Array":nt(r)==="[object Uint8Array]"||T0(r)&&r.buffer!==void 0}function fp(r){return kt&&Nt?Wt(r)==="Uint8ClampedArray":nt(r)==="[object Uint8ClampedArray]"}function cp(r){return kt&&Nt?Wt(r)==="Uint16Array":nt(r)==="[object Uint16Array]"}function hp(r){return kt&&Nt?Wt(r)==="Uint32Array":nt(r)==="[object Uint32Array]"}function pp(r){return kt&&Nt?Wt(r)==="Int8Array":nt(r)==="[object Int8Array]"}function dp(r){return kt&&Nt?Wt(r)==="Int16Array":nt(r)==="[object Int16Array]"}function yp(r){return kt&&Nt?Wt(r)==="Int32Array":nt(r)==="[object Int32Array]"}function gp(r){return kt&&Nt?Wt(r)==="Float32Array":nt(r)==="[object Float32Array]"}function mp(r){return kt&&Nt?Wt(r)==="Float64Array":nt(r)==="[object Float64Array]"}function vp(r){return kt&&Nt?Wt(r)==="BigInt64Array":nt(r)==="[object BigInt64Array]"}function wp(r){return kt&&Nt?Wt(r)==="BigUint64Array":nt(r)==="[object BigUint64Array]"}function eo(r){return nt(r)==="[object Map]"}function to(r){return nt(r)==="[object Set]"}function ro(r){return nt(r)==="[object WeakMap]"}function Ha(r){return nt(r)==="[object WeakSet]"}function oo(r){return nt(r)==="[object ArrayBuffer]"}function Kh(r){return typeof ArrayBuffer<"u"&&(oo.working?oo(r):r instanceof ArrayBuffer)}function ao(r){return nt(r)==="[object DataView]"}function Jh(r){return typeof DataView<"u"&&(ao.working?ao(r):r instanceof DataView)}function uo(r){return nt(r)==="[object SharedArrayBuffer]"}function Qh(r){return typeof SharedArrayBuffer<"u"&&(uo.working?uo(r):r instanceof SharedArrayBuffer)}function Xh(r){return Tn(r,P0)}function Zh(r){return Tn(r,C0)}function ep(r){return Tn(r,B0)}function tp(r){return up&&Tn(r,L0)}function rp(r){return Xa&&Tn(r,N0)}function zr(r,e){var t={seen:[],stylize:M0};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Za(e)?t.showHidden=e:e&&G._extend(t,e),ui(t.showHidden)&&(t.showHidden=!1),ui(t.depth)&&(t.depth=2),ui(t.colors)&&(t.colors=!1),ui(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=D0),lo(t,r,t.depth)}function D0(r,e){var t=zr.styles[e];return t?"\x1B["+zr.colors[t][0]+"m"+r+"\x1B["+zr.colors[t][1]+"m":r}function M0(r,e){return r}function lo(r,e,t){if(r.customInspect&&e&&so(e.inspect)&&e.inspect!==G.inspect&&(!e.constructor||e.constructor.prototype!==e)){var i=e.inspect(t,r);return fo(i)||(i=lo(r,i,t)),i}var n=function(v,m){if(ui(m))return v.stylize("undefined","undefined");if(fo(m)){var g="'"+JSON.stringify(m).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return v.stylize(g,"string")}if(Ep(m))return v.stylize(""+m,"number");if(Za(m))return v.stylize(""+m,"boolean");if(po(m))return v.stylize("null","null")}(r,e);if(n)return n;var o=Object.keys(e),s=function(v){var m={};return v.forEach(function(g,b){m[g]=!0}),m}(o);if(r.showHidden&&(o=Object.getOwnPropertyNames(e)),An(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Ya(e);if(o.length===0){if(so(e)){var u=e.name?": "+e.name:"";return r.stylize("[Function"+u+"]","special")}if(On(e))return r.stylize(RegExp.prototype.toString.call(e),"regexp");if(co(e))return r.stylize(Date.prototype.toString.call(e),"date");if(An(e))return Ya(e)}var f,c="",p=!1,d=["{","}"];return Sp(e)&&(p=!0,d=["[","]"]),so(e)&&(c=" [Function"+(e.name?": "+e.name:"")+"]"),On(e)&&(c=" "+RegExp.prototype.toString.call(e)),co(e)&&(c=" "+Date.prototype.toUTCString.call(e)),An(e)&&(c=" "+Ya(e)),o.length!==0||p&&e.length!=0?t<0?On(e)?r.stylize(RegExp.prototype.toString.call(e),"regexp"):r.stylize("[Object]","special"):(r.seen.push(e),f=p?function(v,m,g,b,E){for(var A=[],x=0,I=m.length;x<I;++x)_p(m,String(x))?A.push(Ka(v,m,g,b,String(x),!0)):A.push("");return E.forEach(function(D){D.match(/^\d+$/)||A.push(Ka(v,m,g,b,D,!0))}),A}(r,e,t,s,o):o.map(function(v){return Ka(r,e,t,s,v,p)}),r.seen.pop(),function(v,m,g){var b=0;return v.reduce(function(E,A){return b++,A.indexOf(`
|
|
2
2
|
`)>=0&&b++,E+A.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?g[0]+(m===""?"":m+`
|
|
3
3
|
`)+" "+v.join(`,
|
|
4
4
|
`)+" "+g[1]:g[0]+m+" "+v.join(", ")+" "+g[1]}(f,c,d)):d[0]+c+d[1]}function Ya(r){return"["+Error.prototype.toString.call(r)+"]"}function Ka(r,e,t,i,n,o){var s,u,f;if((f=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]}).get?u=f.set?r.stylize("[Getter/Setter]","special"):r.stylize("[Getter]","special"):f.set&&(u=r.stylize("[Setter]","special")),_p(i,n)||(s="["+n+"]"),u||(r.seen.indexOf(f.value)<0?(u=po(t)?lo(r,f.value,null):lo(r,f.value,t-1)).indexOf(`
|
|
@@ -7,40 +7,40 @@
|
|
|
7
7
|
`).substr(2):`
|
|
8
8
|
`+u.split(`
|
|
9
9
|
`).map(function(c){return" "+c}).join(`
|
|
10
|
-
`)):u=r.stylize("[Circular]","special")),ui(s)){if(o&&n.match(/^\d+$/))return u;(s=JSON.stringify(""+n)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=r.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=r.stylize(s,"string"))}return s+": "+u}function Sp(r){return Array.isArray(r)}function Za(r){return typeof r=="boolean"}function po(r){return r===null}function Ep(r){return typeof r=="number"}function fo(r){return typeof r=="string"}function ui(r){return r===void 0}function On(r){return ji(r)&&eu(r)==="[object RegExp]"}function ji(r){return typeof r=="object"&&r!==null}function co(r){return ji(r)&&eu(r)==="[object Date]"}function An(r){return ji(r)&&(eu(r)==="[object Error]"||r instanceof Error)}function so(r){return typeof r=="function"}function eu(r){return Object.prototype.toString.call(r)}function Ja(r){return r<10?"0"+r.toString(10):r.toString(10)}function j0(){var r=new Date,e=[Ja(r.getHours()),Ja(r.getMinutes()),Ja(r.getSeconds())].join(":");return[r.getDate(),U0[r.getMonth()],e].join(" ")}function _p(r,e){return Object.prototype.hasOwnProperty.call(r,e)}function q0(r,e){if(!r){var t=new Error("Promise was rejected with a falsy value");t.reason=r,r=t}return e(r)}var m0,Qa,ho,np,v0,w0,b0,S0,E0,sp,op,Hh,_0,O0,A0,ap,Ne,T0,R0,x0,up,Xa,Nt,kt,I0,nt,P0,C0,L0,_n,G,fr,ip,F0,io,bp,no,U0,ai,kr=rt(()=>{B();F();N();Ir();m0=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Qa=Object.prototype.toString,ho=function(r){return!(m0&&r&&typeof r=="object"&&Symbol.toStringTag in r)&&Qa.call(r)==="[object Arguments]"},np=function(r){return!!ho(r)||r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&Qa.call(r)!=="[object Array]"&&Qa.call(r.callee)==="[object Function]"},v0=function(){return ho(arguments)}();ho.isLegacyArguments=np;w0=v0?ho:np,b0=Object.prototype.toString,S0=Function.prototype.toString,E0=/^\s*(?:function)?\*/,sp=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",op=Object.getPrototypeOf,Hh=function(){if(!sp)return!1;try{return Function("return function*() {}")()}catch{}}(),_0=Hh?op(Hh):{},O0=function(r){return typeof r=="function"&&(!!E0.test(S0.call(r))||(sp?op(r)===_0:b0.call(r)==="[object GeneratorFunction]"))},A0=typeof Object.create=="function"?function(r,e){e&&(r.super_=e,r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:function(r,e){if(e){r.super_=e;var t=function(){};t.prototype=e.prototype,r.prototype=new t,r.prototype.constructor=r}},ap=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"},Ne={},T0=ap,R0=w0,x0=O0;up=typeof BigInt<"u",Xa=typeof Symbol<"u",Nt=Xa&&Symbol.toStringTag!==void 0,kt=typeof Uint8Array<"u",I0=typeof ArrayBuffer<"u";if(kt&&Nt)var k0=Object.getPrototypeOf(Uint8Array.prototype),Wt=li(Object.getOwnPropertyDescriptor(k0,Symbol.toStringTag).get);nt=li(Object.prototype.toString),P0=li(Number.prototype.valueOf),C0=li(String.prototype.valueOf),L0=li(Boolean.prototype.valueOf);if(up)var B0=li(BigInt.prototype.valueOf);if(Xa)var N0=li(Symbol.prototype.valueOf);Ne.isArgumentsObject=R0,Ne.isGeneratorFunction=x0,Ne.isPromise=function(r){return typeof Promise<"u"&&r instanceof Promise||r!==null&&typeof r=="object"&&typeof r.then=="function"&&typeof r.catch=="function"},Ne.isArrayBufferView=function(r){return I0&&ArrayBuffer.isView?ArrayBuffer.isView(r):Yh(r)||Jh(r)},Ne.isTypedArray=Yh,Ne.isUint8Array=lp,Ne.isUint8ClampedArray=fp,Ne.isUint16Array=cp,Ne.isUint32Array=hp,Ne.isInt8Array=pp,Ne.isInt16Array=dp,Ne.isInt32Array=yp,Ne.isFloat32Array=gp,Ne.isFloat64Array=mp,Ne.isBigInt64Array=vp,Ne.isBigUint64Array=wp,eo.working=typeof Map<"u"&&eo(new Map),Ne.isMap=function(r){return typeof Map<"u"&&(eo.working?eo(r):r instanceof Map)},to.working=typeof Set<"u"&&to(new Set),Ne.isSet=function(r){return typeof Set<"u"&&(to.working?to(r):r instanceof Set)},ro.working=typeof WeakMap<"u"&&ro(new WeakMap),Ne.isWeakMap=function(r){return typeof WeakMap<"u"&&(ro.working?ro(r):r instanceof WeakMap)},Ha.working=typeof WeakSet<"u"&&Ha(new WeakSet),Ne.isWeakSet=function(r){return Ha(r)},oo.working=typeof ArrayBuffer<"u"&&oo(new ArrayBuffer),Ne.isArrayBuffer=Kh,ao.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&ao(new DataView(new ArrayBuffer(1),0,1)),Ne.isDataView=Jh,uo.working=typeof SharedArrayBuffer<"u"&&uo(new SharedArrayBuffer),Ne.isSharedArrayBuffer=Qh,Ne.isAsyncFunction=function(r){return nt(r)==="[object AsyncFunction]"},Ne.isMapIterator=function(r){return nt(r)==="[object Map Iterator]"},Ne.isSetIterator=function(r){return nt(r)==="[object Set Iterator]"},Ne.isGeneratorObject=function(r){return nt(r)==="[object Generator]"},Ne.isWebAssemblyCompiledModule=function(r){return nt(r)==="[object WebAssembly.Module]"},Ne.isNumberObject=Xh,Ne.isStringObject=Zh,Ne.isBooleanObject=ep,Ne.isBigIntObject=tp,Ne.isSymbolObject=rp,Ne.isBoxedPrimitive=function(r){return Xh(r)||Zh(r)||ep(r)||tp(r)||rp(r)},Ne.isAnyArrayBuffer=function(r){return kt&&(Kh(r)||Qh(r))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(r){Object.defineProperty(Ne,r,{enumerable:!1,value:function(){throw new Error(r+" is not supported in userland")}})});_n=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,G={},fr=Ge,ip=Object.getOwnPropertyDescriptors||function(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++)t[e[i]]=Object.getOwnPropertyDescriptor(r,e[i]);return t},F0=/%[sdj%]/g;G.format=function(r){if(!fo(r)){for(var e=[],t=0;t<arguments.length;t++)e.push(zr(arguments[t]));return e.join(" ")}t=1;for(var i=arguments,n=i.length,o=String(r).replace(F0,function(u){if(u==="%%")return"%";if(t>=n)return u;switch(u){case"%s":return String(i[t++]);case"%d":return Number(i[t++]);case"%j":try{return JSON.stringify(i[t++])}catch{return"[Circular]"}default:return u}}),s=i[t];t<n;s=i[++t])po(s)||!ji(s)?o+=" "+s:o+=" "+zr(s);return o},G.deprecate=function(r,e){if(fr!==void 0&&fr.noDeprecation===!0)return r;if(fr===void 0)return function(){return G.deprecate(r,e).apply(this||_n,arguments)};var t=!1;return function(){if(!t){if(fr.throwDeprecation)throw new Error(e);fr.traceDeprecation?console.trace(e):console.error(e),t=!0}return r.apply(this||_n,arguments)}};io={},bp=/^$/;fr.env.NODE_DEBUG&&(no=fr.env.NODE_DEBUG,no=no.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),bp=new RegExp("^"+no+"$","i"));G.debuglog=function(r){if(r=r.toUpperCase(),!io[r])if(bp.test(r)){var e=fr.pid;io[r]=function(){var t=G.format.apply(G,arguments);console.error("%s %d: %s",r,e,t)}}else io[r]=function(){};return io[r]},G.inspect=zr,zr.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]},zr.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},G.types=Ne,G.isArray=Sp,G.isBoolean=Za,G.isNull=po,G.isNullOrUndefined=function(r){return r==null},G.isNumber=Ep,G.isString=fo,G.isSymbol=function(r){return typeof r=="symbol"},G.isUndefined=ui,G.isRegExp=On,G.types.isRegExp=On,G.isObject=ji,G.isDate=co,G.types.isDate=co,G.isError=An,G.types.isNativeError=An,G.isFunction=so,G.isPrimitive=function(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||typeof r=="symbol"||r===void 0},G.isBuffer=ap;U0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];G.log=function(){console.log("%s - %s",j0(),G.format.apply(G,arguments))},G.inherits=A0,G._extend=function(r,e){if(!e||!ji(e))return r;for(var t=Object.keys(e),i=t.length;i--;)r[t[i]]=e[t[i]];return r};ai=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;G.promisify=function(r){if(typeof r!="function")throw new TypeError('The "original" argument must be of type Function');if(ai&&r[ai]){var e;if(typeof(e=r[ai])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,ai,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var t,i,n=new Promise(function(u,f){t=u,i=f}),o=[],s=0;s<arguments.length;s++)o.push(arguments[s]);o.push(function(u,f){u?i(u):t(f)});try{r.apply(this||_n,o)}catch(u){i(u)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(r)),ai&&Object.defineProperty(e,ai,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,ip(r))},G.promisify.custom=ai,G.callbackify=function(r){if(typeof r!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var t=[],i=0;i<arguments.length;i++)t.push(arguments[i]);var n=t.pop();if(typeof n!="function")throw new TypeError("The last argument must be of type Function");var o=this||_n,s=function(){return n.apply(o,arguments)};r.apply(this||_n,t).then(function(u){fr.nextTick(s.bind(null,null,u))},function(u){fr.nextTick(q0.bind(null,u,s))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(r)),Object.defineProperties(e,ip(r)),e}});var kI,PI,CI,LI,BI,NI,FI,DI,MI,UI,jI,qI,$I,WI,zI,VI,GI,HI,YI,KI,JI,QI,XI,ZI,ek,tk,rk,qi=rt(()=>{B();F();N();kr();Ir();G._extend;G.callbackify;G.debuglog;G.deprecate;G.format;G.inherits;G.inspect;G.isArray;G.isBoolean;G.isBuffer;G.isDate;G.isError;G.isFunction;G.isNull;G.isNullOrUndefined;G.isNumber;G.isObject;G.isPrimitive;G.isRegExp;G.isString;G.isSymbol;G.isUndefined;G.log;G.promisify;kI=G._extend,PI=G.callbackify,CI=G.debuglog,LI=G.deprecate,BI=G.format,NI=G.inherits,FI=G.inspect,DI=G.isArray,MI=G.isBoolean,UI=G.isBuffer,jI=G.isDate,qI=G.isError,$I=G.isFunction,WI=G.isNull,zI=G.isNullOrUndefined,VI=G.isNumber,GI=G.isObject,HI=G.isPrimitive,YI=G.isRegExp,KI=G.isString,JI=G.isSymbol,QI=G.isUndefined,XI=G.log,ZI=G.promisify,ek=G.types,tk=self.TextEncoder,rk=self.TextDecoder});function Tp(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");return t===-1&&(t=e),[t,t===e?0:4-t%4]}function $0(r,e,t){for(var i,n,o=[],s=e;s<t;s+=3)i=(r[s]<<16&16711680)+(r[s+1]<<8&65280)+(255&r[s+2]),o.push(er[(n=i)>>18&63]+er[n>>12&63]+er[n>>6&63]+er[63&n]);return o.join("")}function Pr(r){if(r>2147483647)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,ie.prototype),e}function ie(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return nu(r)}return Fp(r,e,t)}function Fp(r,e,t){if(typeof r=="string")return function(o,s){if(typeof s=="string"&&s!==""||(s="utf8"),!ie.isEncoding(s))throw new TypeError("Unknown encoding: "+s);var u=0|Mp(o,s),f=Pr(u),c=f.write(o,s);return c!==u&&(f=f.slice(0,c)),f}(r,e);if(ArrayBuffer.isView(r))return tu(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(Cr(r,ArrayBuffer)||r&&Cr(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Cr(r,SharedArrayBuffer)||r&&Cr(r.buffer,SharedArrayBuffer)))return xp(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=r.valueOf&&r.valueOf();if(i!=null&&i!==r)return ie.from(i,e,t);var n=function(o){if(ie.isBuffer(o)){var s=0|au(o.length),u=Pr(s);return u.length===0||o.copy(u,0,0,s),u}if(o.length!==void 0)return typeof o.length!="number"||uu(o.length)?Pr(0):tu(o);if(o.type==="Buffer"&&Array.isArray(o.data))return tu(o.data)}(r);if(n)return n;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return ie.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}function Dp(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function nu(r){return Dp(r),Pr(r<0?0:0|au(r))}function tu(r){for(var e=r.length<0?0:0|au(r.length),t=Pr(e),i=0;i<e;i+=1)t[i]=255&r[i];return t}function xp(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return i=e===void 0&&t===void 0?new Uint8Array(r):t===void 0?new Uint8Array(r,e):new Uint8Array(r,e,t),Object.setPrototypeOf(i,ie.prototype),i}function au(r){if(r>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|r}function Mp(r,e){if(ie.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||Cr(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return su(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return $p(r).length;default:if(n)return i?-1:su(r).length;e=(""+e).toLowerCase(),n=!0}}function z0(r,e,t){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0)<=(e>>>=0))return"";for(r||(r="utf8");;)switch(r){case"hex":return Z0(this,e,t);case"utf8":case"utf-8":return jp(this,e,t);case"ascii":return Q0(this,e,t);case"latin1":case"binary":return X0(this,e,t);case"base64":return J0(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eb(this,e,t);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),i=!0}}function ci(r,e,t){var i=r[e];r[e]=r[t],r[t]=i}function Ip(r,e,t,i,n){if(r.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),uu(t=+t)&&(t=n?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(n)return-1;t=r.length-1}else if(t<0){if(!n)return-1;t=0}if(typeof e=="string"&&(e=ie.from(e,i)),ie.isBuffer(e))return e.length===0?-1:kp(r,e,t,i,n);if(typeof e=="number")return e&=255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):kp(r,[e],t,i,n);throw new TypeError("val must be string, number or Buffer")}function kp(r,e,t,i,n){var o,s=1,u=r.length,f=e.length;if(i!==void 0&&((i=String(i).toLowerCase())==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(r.length<2||e.length<2)return-1;s=2,u/=2,f/=2,t/=2}function c(m,g){return s===1?m[g]:m.readUInt16BE(g*s)}if(n){var p=-1;for(o=t;o<u;o++)if(c(r,o)===c(e,p===-1?0:o-p)){if(p===-1&&(p=o),o-p+1===f)return p*s}else p!==-1&&(o-=o-p),p=-1}else for(t+f>u&&(t=u-f),o=t;o>=0;o--){for(var d=!0,v=0;v<f;v++)if(c(r,o+v)!==c(e,v)){d=!1;break}if(d)return o}return-1}function V0(r,e,t,i){t=Number(t)||0;var n=r.length-t;i?(i=Number(i))>n&&(i=n):i=n;var o=e.length;i>o/2&&(i=o/2);for(var s=0;s<i;++s){var u=parseInt(e.substr(2*s,2),16);if(uu(u))return s;r[t+s]=u}return s}function G0(r,e,t,i){return vo(su(e,r.length-t),r,t,i)}function Up(r,e,t,i){return vo(function(n){for(var o=[],s=0;s<n.length;++s)o.push(255&n.charCodeAt(s));return o}(e),r,t,i)}function H0(r,e,t,i){return Up(r,e,t,i)}function Y0(r,e,t,i){return vo($p(e),r,t,i)}function K0(r,e,t,i){return vo(function(n,o){for(var s,u,f,c=[],p=0;p<n.length&&!((o-=2)<0);++p)s=n.charCodeAt(p),u=s>>8,f=s%256,c.push(f),c.push(u);return c}(e,r.length-t),r,t,i)}function J0(r,e,t){return e===0&&t===r.length?iu.fromByteArray(r):iu.fromByteArray(r.slice(e,t))}function jp(r,e,t){t=Math.min(r.length,t);for(var i=[],n=e;n<t;){var o,s,u,f,c=r[n],p=null,d=c>239?4:c>223?3:c>191?2:1;if(n+d<=t)switch(d){case 1:c<128&&(p=c);break;case 2:(192&(o=r[n+1]))==128&&(f=(31&c)<<6|63&o)>127&&(p=f);break;case 3:o=r[n+1],s=r[n+2],(192&o)==128&&(192&s)==128&&(f=(15&c)<<12|(63&o)<<6|63&s)>2047&&(f<55296||f>57343)&&(p=f);break;case 4:o=r[n+1],s=r[n+2],u=r[n+3],(192&o)==128&&(192&s)==128&&(192&u)==128&&(f=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&u)>65535&&f<1114112&&(p=f)}p===null?(p=65533,d=1):p>65535&&(p-=65536,i.push(p>>>10&1023|55296),p=56320|1023&p),i.push(p),n+=d}return function(v){var m=v.length;if(m<=4096)return String.fromCharCode.apply(String,v);for(var g="",b=0;b<m;)g+=String.fromCharCode.apply(String,v.slice(b,b+=4096));return g}(i)}function Q0(r,e,t){var i="";t=Math.min(r.length,t);for(var n=e;n<t;++n)i+=String.fromCharCode(127&r[n]);return i}function X0(r,e,t){var i="";t=Math.min(r.length,t);for(var n=e;n<t;++n)i+=String.fromCharCode(r[n]);return i}function Z0(r,e,t){var i=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=e;o<t;++o)n+=rb[r[o]];return n}function eb(r,e,t){for(var i=r.slice(e,t),n="",o=0;o<i.length;o+=2)n+=String.fromCharCode(i[o]+256*i[o+1]);return n}function ht(r,e,t){if(r%1!=0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}function Pt(r,e,t,i,n,o){if(!ie.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<o)throw new RangeError('"value" argument is out of bounds');if(t+i>r.length)throw new RangeError("Index out of range")}function qp(r,e,t,i,n,o){if(t+i>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Pp(r,e,t,i,n){return e=+e,t>>>=0,n||qp(r,0,t,4),$i.write(r,e,t,i,23,4),t+4}function Cp(r,e,t,i,n){return e=+e,t>>>=0,n||qp(r,0,t,8),$i.write(r,e,t,i,52,8),t+8}function su(r,e){var t;e=e||1/0;for(var i=r.length,n=null,o=[],s=0;s<i;++s){if((t=r.charCodeAt(s))>55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),n=t;continue}t=65536+(n-55296<<10|t-56320)}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return o}function $p(r){return iu.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(tb,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(r))}function vo(r,e,t,i){for(var n=0;n<i&&!(n+t>=e.length||n>=r.length);++n)e[n+t]=r[n];return n}function Cr(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function uu(r){return r!=r}function Lp(r,e){for(var t in r)e[t]=r[t]}function hi(r,e,t){return cr(r,e,t)}function Rn(r){var e;switch(this.encoding=function(t){var i=function(n){if(!n)return"utf8";for(var o;;)switch(n){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 n;default:if(o)return;n=(""+n).toLowerCase(),o=!0}}(t);if(typeof i!="string"&&(ou.isEncoding===Bp||!Bp(t)))throw new Error("Unknown encoding: "+t);return i||t}(r),this.encoding){case"utf16le":this.text=sb,this.end=ob,e=4;break;case"utf8":this.fillLast=nb,e=4;break;case"base64":this.text=ab,this.end=ub,e=3;break;default:return this.write=lb,this.end=fb,void 0}this.lastNeed=0,this.lastTotal=0,this.lastChar=ou.allocUnsafe(e)}function ru(r){return r<=127?0:r>>5==6?2:r>>4==14?3:r>>3==30?4:r>>6==2?-1:-2}function nb(r){var e=this.lastTotal-this.lastNeed,t=function(i,n,o){if((192&n[0])!=128)return i.lastNeed=0,"\uFFFD";if(i.lastNeed>1&&n.length>1){if((192&n[1])!=128)return i.lastNeed=1,"\uFFFD";if(i.lastNeed>2&&n.length>2&&(192&n[2])!=128)return i.lastNeed=2,"\uFFFD"}}(this,r);return t!==void 0?t:this.lastNeed<=r.length?(r.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(r.copy(this.lastChar,e,0,r.length),this.lastNeed-=r.length,void 0)}function sb(r,e){if((r.length-e)%2==0){var t=r.toString("utf16le",e);if(t){var i=t.charCodeAt(t.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1],t.slice(0,-1)}return t}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=r[r.length-1],r.toString("utf16le",e,r.length-1)}function ob(r){var e=r&&r.length?this.write(r):"";if(this.lastNeed){var t=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,t)}return e}function ab(r,e){var t=(r.length-e)%3;return t===0?r.toString("base64",e):(this.lastNeed=3-t,this.lastTotal=3,t===1?this.lastChar[0]=r[r.length-1]:(this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1]),r.toString("base64",e,r.length-t))}function ub(r){var e=r&&r.length?this.write(r):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function lb(r){return r.toString(this.encoding)}function fb(r){return r&&r.length?this.write(r):""}var Np,er,Ft,Op,yo,fi,Ap,W0,Lr,iu,$i,Rp,tb,rb,go,mo,cr,ib,Br,ou,Bp,pi=rt(()=>{B();F();N();for(Np={byteLength:function(r){var e=Tp(r),t=e[0],i=e[1];return 3*(t+i)/4-i},toByteArray:function(r){var e,t,i=Tp(r),n=i[0],o=i[1],s=new Op(function(c,p,d){return 3*(p+d)/4-d}(0,n,o)),u=0,f=o>0?n-4:n;for(t=0;t<f;t+=4)e=Ft[r.charCodeAt(t)]<<18|Ft[r.charCodeAt(t+1)]<<12|Ft[r.charCodeAt(t+2)]<<6|Ft[r.charCodeAt(t+3)],s[u++]=e>>16&255,s[u++]=e>>8&255,s[u++]=255&e;return o===2&&(e=Ft[r.charCodeAt(t)]<<2|Ft[r.charCodeAt(t+1)]>>4,s[u++]=255&e),o===1&&(e=Ft[r.charCodeAt(t)]<<10|Ft[r.charCodeAt(t+1)]<<4|Ft[r.charCodeAt(t+2)]>>2,s[u++]=e>>8&255,s[u++]=255&e),s},fromByteArray:function(r){for(var e,t=r.length,i=t%3,n=[],o=0,s=t-i;o<s;o+=16383)n.push($0(r,o,o+16383>s?s:o+16383));return i===1?(e=r[t-1],n.push(er[e>>2]+er[e<<4&63]+"==")):i===2&&(e=(r[t-2]<<8)+r[t-1],n.push(er[e>>10]+er[e>>4&63]+er[e<<2&63]+"=")),n.join("")}},er=[],Ft=[],Op=typeof Uint8Array<"u"?Uint8Array:Array,yo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fi=0,Ap=yo.length;fi<Ap;++fi)er[fi]=yo[fi],Ft[yo.charCodeAt(fi)]=fi;Ft[45]=62,Ft[95]=63;W0={read:function(r,e,t,i,n){var o,s,u=8*n-i-1,f=(1<<u)-1,c=f>>1,p=-7,d=t?n-1:0,v=t?-1:1,m=r[e+d];for(d+=v,o=m&(1<<-p)-1,m>>=-p,p+=u;p>0;o=256*o+r[e+d],d+=v,p-=8);for(s=o&(1<<-p)-1,o>>=-p,p+=i;p>0;s=256*s+r[e+d],d+=v,p-=8);if(o===0)o=1-c;else{if(o===f)return s?NaN:1/0*(m?-1:1);s+=Math.pow(2,i),o-=c}return(m?-1:1)*s*Math.pow(2,o-i)},write:function(r,e,t,i,n,o){var s,u,f,c=8*o-n-1,p=(1<<c)-1,d=p>>1,v=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,g=i?1:-1,b=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=p):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),(e+=s+d>=1?v/f:v*Math.pow(2,1-d))*f>=2&&(s++,f/=2),s+d>=p?(u=0,s=p):s+d>=1?(u=(e*f-1)*Math.pow(2,n),s+=d):(u=e*Math.pow(2,d-1)*Math.pow(2,n),s=0));n>=8;r[t+m]=255&u,m+=g,u/=256,n-=8);for(s=s<<n|u,c+=n;c>0;r[t+m]=255&s,m+=g,s/=256,c-=8);r[t+m-g]|=128*b}},Lr={},iu=Np,$i=W0,Rp=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Lr.Buffer=ie,Lr.SlowBuffer=function(r){return+r!=r&&(r=0),ie.alloc(+r)},Lr.INSPECT_MAX_BYTES=50;Lr.kMaxLength=2147483647,ie.TYPED_ARRAY_SUPPORT=function(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch{return!1}}(),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."),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}}),ie.poolSize=8192,ie.from=function(r,e,t){return Fp(r,e,t)},Object.setPrototypeOf(ie.prototype,Uint8Array.prototype),Object.setPrototypeOf(ie,Uint8Array),ie.alloc=function(r,e,t){return function(i,n,o){return Dp(i),i<=0?Pr(i):n!==void 0?typeof o=="string"?Pr(i).fill(n,o):Pr(i).fill(n):Pr(i)}(r,e,t)},ie.allocUnsafe=function(r){return nu(r)},ie.allocUnsafeSlow=function(r){return nu(r)},ie.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==ie.prototype},ie.compare=function(r,e){if(Cr(r,Uint8Array)&&(r=ie.from(r,r.offset,r.byteLength)),Cr(e,Uint8Array)&&(e=ie.from(e,e.offset,e.byteLength)),!ie.isBuffer(r)||!ie.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var t=r.length,i=e.length,n=0,o=Math.min(t,i);n<o;++n)if(r[n]!==e[n]){t=r[n],i=e[n];break}return t<i?-1:i<t?1:0},ie.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},ie.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return ie.alloc(0);var t;if(e===void 0)for(e=0,t=0;t<r.length;++t)e+=r[t].length;var i=ie.allocUnsafe(e),n=0;for(t=0;t<r.length;++t){var o=r[t];if(Cr(o,Uint8Array)&&(o=ie.from(o)),!ie.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,n),n+=o.length}return i},ie.byteLength=Mp,ie.prototype._isBuffer=!0,ie.prototype.swap16=function(){var r=this.length;if(r%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)ci(this,e,e+1);return this},ie.prototype.swap32=function(){var r=this.length;if(r%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)ci(this,e,e+3),ci(this,e+1,e+2);return this},ie.prototype.swap64=function(){var r=this.length;if(r%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)ci(this,e,e+7),ci(this,e+1,e+6),ci(this,e+2,e+5),ci(this,e+3,e+4);return this},ie.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?jp(this,0,r):z0.apply(this,arguments)},ie.prototype.toLocaleString=ie.prototype.toString,ie.prototype.equals=function(r){if(!ie.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r||ie.compare(this,r)===0},ie.prototype.inspect=function(){var r="",e=Lr.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"},Rp&&(ie.prototype[Rp]=ie.prototype.inspect),ie.prototype.compare=function(r,e,t,i,n){if(Cr(r,Uint8Array)&&(r=ie.from(r,r.offset,r.byteLength)),!ie.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),t===void 0&&(t=r?r.length:0),i===void 0&&(i=0),n===void 0&&(n=this.length),e<0||t>r.length||i<0||n>this.length)throw new RangeError("out of range index");if(i>=n&&e>=t)return 0;if(i>=n)return-1;if(e>=t)return 1;if(this===r)return 0;for(var o=(n>>>=0)-(i>>>=0),s=(t>>>=0)-(e>>>=0),u=Math.min(o,s),f=this.slice(i,n),c=r.slice(e,t),p=0;p<u;++p)if(f[p]!==c[p]){o=f[p],s=c[p];break}return o<s?-1:s<o?1:0},ie.prototype.includes=function(r,e,t){return this.indexOf(r,e,t)!==-1},ie.prototype.indexOf=function(r,e,t){return Ip(this,r,e,t,!0)},ie.prototype.lastIndexOf=function(r,e,t){return Ip(this,r,e,t,!1)},ie.prototype.write=function(r,e,t,i){if(e===void 0)i="utf8",t=this.length,e=0;else if(t===void 0&&typeof e=="string")i=e,t=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(t)?(t>>>=0,i===void 0&&(i="utf8")):(i=t,t=void 0)}var n=this.length-e;if((t===void 0||t>n)&&(t=n),r.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return V0(this,r,e,t);case"utf8":case"utf-8":return G0(this,r,e,t);case"ascii":return Up(this,r,e,t);case"latin1":case"binary":return H0(this,r,e,t);case"base64":return Y0(this,r,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K0(this,r,e,t);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},ie.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};ie.prototype.slice=function(r,e){var t=this.length;(r=~~r)<0?(r+=t)<0&&(r=0):r>t&&(r=t),(e=e===void 0?t:~~e)<0?(e+=t)<0&&(e=0):e>t&&(e=t),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,ie.prototype),i},ie.prototype.readUIntLE=function(r,e,t){r>>>=0,e>>>=0,t||ht(r,e,this.length);for(var i=this[r],n=1,o=0;++o<e&&(n*=256);)i+=this[r+o]*n;return i},ie.prototype.readUIntBE=function(r,e,t){r>>>=0,e>>>=0,t||ht(r,e,this.length);for(var i=this[r+--e],n=1;e>0&&(n*=256);)i+=this[r+--e]*n;return i},ie.prototype.readUInt8=function(r,e){return r>>>=0,e||ht(r,1,this.length),this[r]},ie.prototype.readUInt16LE=function(r,e){return r>>>=0,e||ht(r,2,this.length),this[r]|this[r+1]<<8},ie.prototype.readUInt16BE=function(r,e){return r>>>=0,e||ht(r,2,this.length),this[r]<<8|this[r+1]},ie.prototype.readUInt32LE=function(r,e){return r>>>=0,e||ht(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+16777216*this[r+3]},ie.prototype.readUInt32BE=function(r,e){return r>>>=0,e||ht(r,4,this.length),16777216*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},ie.prototype.readIntLE=function(r,e,t){r>>>=0,e>>>=0,t||ht(r,e,this.length);for(var i=this[r],n=1,o=0;++o<e&&(n*=256);)i+=this[r+o]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*e)),i},ie.prototype.readIntBE=function(r,e,t){r>>>=0,e>>>=0,t||ht(r,e,this.length);for(var i=e,n=1,o=this[r+--i];i>0&&(n*=256);)o+=this[r+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},ie.prototype.readInt8=function(r,e){return r>>>=0,e||ht(r,1,this.length),128&this[r]?-1*(255-this[r]+1):this[r]},ie.prototype.readInt16LE=function(r,e){r>>>=0,e||ht(r,2,this.length);var t=this[r]|this[r+1]<<8;return 32768&t?4294901760|t:t},ie.prototype.readInt16BE=function(r,e){r>>>=0,e||ht(r,2,this.length);var t=this[r+1]|this[r]<<8;return 32768&t?4294901760|t:t},ie.prototype.readInt32LE=function(r,e){return r>>>=0,e||ht(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},ie.prototype.readInt32BE=function(r,e){return r>>>=0,e||ht(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},ie.prototype.readFloatLE=function(r,e){return r>>>=0,e||ht(r,4,this.length),$i.read(this,r,!0,23,4)},ie.prototype.readFloatBE=function(r,e){return r>>>=0,e||ht(r,4,this.length),$i.read(this,r,!1,23,4)},ie.prototype.readDoubleLE=function(r,e){return r>>>=0,e||ht(r,8,this.length),$i.read(this,r,!0,52,8)},ie.prototype.readDoubleBE=function(r,e){return r>>>=0,e||ht(r,8,this.length),$i.read(this,r,!1,52,8)},ie.prototype.writeUIntLE=function(r,e,t,i){r=+r,e>>>=0,t>>>=0,i||Pt(this,r,e,t,Math.pow(2,8*t)-1,0);var n=1,o=0;for(this[e]=255&r;++o<t&&(n*=256);)this[e+o]=r/n&255;return e+t},ie.prototype.writeUIntBE=function(r,e,t,i){r=+r,e>>>=0,t>>>=0,i||Pt(this,r,e,t,Math.pow(2,8*t)-1,0);var n=t-1,o=1;for(this[e+n]=255&r;--n>=0&&(o*=256);)this[e+n]=r/o&255;return e+t},ie.prototype.writeUInt8=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,1,255,0),this[e]=255&r,e+1},ie.prototype.writeUInt16LE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,2,65535,0),this[e]=255&r,this[e+1]=r>>>8,e+2},ie.prototype.writeUInt16BE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=255&r,e+2},ie.prototype.writeUInt32LE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=255&r,e+4},ie.prototype.writeUInt32BE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r,e+4},ie.prototype.writeIntLE=function(r,e,t,i){if(r=+r,e>>>=0,!i){var n=Math.pow(2,8*t-1);Pt(this,r,e,t,n-1,-n)}var o=0,s=1,u=0;for(this[e]=255&r;++o<t&&(s*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/s>>0)-u&255;return e+t},ie.prototype.writeIntBE=function(r,e,t,i){if(r=+r,e>>>=0,!i){var n=Math.pow(2,8*t-1);Pt(this,r,e,t,n-1,-n)}var o=t-1,s=1,u=0;for(this[e+o]=255&r;--o>=0&&(s*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/s>>0)-u&255;return e+t},ie.prototype.writeInt8=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=255&r,e+1},ie.prototype.writeInt16LE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,2,32767,-32768),this[e]=255&r,this[e+1]=r>>>8,e+2},ie.prototype.writeInt16BE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=255&r,e+2},ie.prototype.writeInt32LE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,4,2147483647,-2147483648),this[e]=255&r,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4},ie.prototype.writeInt32BE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r,e+4},ie.prototype.writeFloatLE=function(r,e,t){return Pp(this,r,e,!0,t)},ie.prototype.writeFloatBE=function(r,e,t){return Pp(this,r,e,!1,t)},ie.prototype.writeDoubleLE=function(r,e,t){return Cp(this,r,e,!0,t)},ie.prototype.writeDoubleBE=function(r,e,t){return Cp(this,r,e,!1,t)},ie.prototype.copy=function(r,e,t,i){if(!ie.isBuffer(r))throw new TypeError("argument should be a Buffer");if(t||(t=0),i||i===0||(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<t&&(i=t),i===t||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-t&&(i=r.length-e+t);var n=i-t;if(this===r&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(e,t,i);else if(this===r&&t<e&&e<i)for(var o=n-1;o>=0;--o)r[o+e]=this[o+t];else Uint8Array.prototype.set.call(r,this.subarray(t,i),e);return n},ie.prototype.fill=function(r,e,t,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,t=this.length):typeof t=="string"&&(i=t,t=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!ie.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var n=r.charCodeAt(0);(i==="utf8"&&n<128||i==="latin1")&&(r=n)}}else typeof r=="number"?r&=255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<t)throw new RangeError("Out of range index");if(t<=e)return this;var o;if(e>>>=0,t=t===void 0?this.length:t>>>0,r||(r=0),typeof r=="number")for(o=e;o<t;++o)this[o]=r;else{var s=ie.isBuffer(r)?r:ie.from(r,i),u=s.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<t-e;++o)this[o+e]=s[o%u]}return this};tb=/[^+/0-9A-Za-z-_]/g;rb=function(){for(var r=new Array(256),e=0;e<16;++e)for(var t=16*e,i=0;i<16;++i)r[t+i]="0123456789abcdef"[e]+"0123456789abcdef"[i];return r}();Lr.Buffer;Lr.INSPECT_MAX_BYTES;Lr.kMaxLength;go={},mo=Lr,cr=mo.Buffer;cr.from&&cr.alloc&&cr.allocUnsafe&&cr.allocUnsafeSlow?go=mo:(Lp(mo,go),go.Buffer=hi),hi.prototype=Object.create(cr.prototype),Lp(cr,hi),hi.from=function(r,e,t){if(typeof r=="number")throw new TypeError("Argument must not be a number");return cr(r,e,t)},hi.alloc=function(r,e,t){if(typeof r!="number")throw new TypeError("Argument must be a number");var i=cr(r);return e!==void 0?typeof t=="string"?i.fill(e,t):i.fill(e):i.fill(0),i},hi.allocUnsafe=function(r){if(typeof r!="number")throw new TypeError("Argument must be a number");return cr(r)},hi.allocUnsafeSlow=function(r){if(typeof r!="number")throw new TypeError("Argument must be a number");return mo.SlowBuffer(r)};ib=go,Br={},ou=ib.Buffer,Bp=ou.isEncoding||function(r){switch((r=""+r)&&r.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}};Br.StringDecoder=Rn,Rn.prototype.write=function(r){if(r.length===0)return"";var e,t;if(this.lastNeed){if((e=this.fillLast(r))===void 0)return"";t=this.lastNeed,this.lastNeed=0}else t=0;return t<r.length?e?e+this.text(r,t):this.text(r,t):e||""},Rn.prototype.end=function(r){var e=r&&r.length?this.write(r):"";return this.lastNeed?e+"\uFFFD":e},Rn.prototype.text=function(r,e){var t=function(n,o,s){var u=o.length-1;if(u<s)return 0;var f=ru(o[u]);return f>=0?(f>0&&(n.lastNeed=f-1),f):--u<s||f===-2?0:(f=ru(o[u]))>=0?(f>0&&(n.lastNeed=f-2),f):--u<s||f===-2?0:(f=ru(o[u]))>=0?(f>0&&(f===2?f=0:n.lastNeed=f-3),f):0}(this,r,e);if(!this.lastNeed)return r.toString("utf8",e);this.lastTotal=t;var i=r.length-(t-this.lastNeed);return r.copy(this.lastChar,0,i),r.toString("utf8",e,i)},Rn.prototype.fillLast=function(r){if(this.lastNeed<=r.length)return r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,r.length),this.lastNeed-=r.length};Br.StringDecoder;Br.StringDecoder});function cb(){if(Wp)return xn;Wp=!0,xn.byteLength=u,xn.toByteArray=c,xn.fromByteArray=v;for(var r=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,o=i.length;n<o;++n)r[n]=i[n],e[i.charCodeAt(n)]=n;e[45]=62,e[95]=63;function s(m){var g=m.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var b=m.indexOf("=");b===-1&&(b=g);var E=b===g?0:4-b%4;return[b,E]}function u(m){var g=s(m),b=g[0],E=g[1];return(b+E)*3/4-E}function f(m,g,b){return(g+b)*3/4-b}function c(m){var g,b=s(m),E=b[0],A=b[1],x=new t(f(m,E,A)),I=0,D=A>0?E-4:E,j;for(j=0;j<D;j+=4)g=e[m.charCodeAt(j)]<<18|e[m.charCodeAt(j+1)]<<12|e[m.charCodeAt(j+2)]<<6|e[m.charCodeAt(j+3)],x[I++]=g>>16&255,x[I++]=g>>8&255,x[I++]=g&255;return A===2&&(g=e[m.charCodeAt(j)]<<2|e[m.charCodeAt(j+1)]>>4,x[I++]=g&255),A===1&&(g=e[m.charCodeAt(j)]<<10|e[m.charCodeAt(j+1)]<<4|e[m.charCodeAt(j+2)]>>2,x[I++]=g>>8&255,x[I++]=g&255),x}function p(m){return r[m>>18&63]+r[m>>12&63]+r[m>>6&63]+r[m&63]}function d(m,g,b){for(var E,A=[],x=g;x<b;x+=3)E=(m[x]<<16&16711680)+(m[x+1]<<8&65280)+(m[x+2]&255),A.push(p(E));return A.join("")}function v(m){for(var g,b=m.length,E=b%3,A=[],x=16383,I=0,D=b-E;I<D;I+=x)A.push(d(m,I,I+x>D?D:I+x));return E===1?(g=m[b-1],A.push(r[g>>2]+r[g<<4&63]+"==")):E===2&&(g=(m[b-2]<<8)+m[b-1],A.push(r[g>>10]+r[g>>4&63]+r[g<<2&63]+"=")),A.join("")}return xn}function hb(){if(zp)return wo;zp=!0;return wo.read=function(r,e,t,i,n){var o,s,u=n*8-i-1,f=(1<<u)-1,c=f>>1,p=-7,d=t?n-1:0,v=t?-1:1,m=r[e+d];for(d+=v,o=m&(1<<-p)-1,m>>=-p,p+=u;p>0;o=o*256+r[e+d],d+=v,p-=8);for(s=o&(1<<-p)-1,o>>=-p,p+=i;p>0;s=s*256+r[e+d],d+=v,p-=8);if(o===0)o=1-c;else{if(o===f)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,i),o=o-c}return(m?-1:1)*s*Math.pow(2,o-i)},wo.write=function(r,e,t,i,n,o){var s,u,f,c=o*8-n-1,p=(1<<c)-1,d=p>>1,v=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,g=i?1:-1,b=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=p):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),s+d>=1?e+=v/f:e+=v*Math.pow(2,1-d),e*f>=2&&(s++,f/=2),s+d>=p?(u=0,s=p):s+d>=1?(u=(e*f-1)*Math.pow(2,n),s=s+d):(u=e*Math.pow(2,d-1)*Math.pow(2,n),s=0));n>=8;r[t+m]=u&255,m+=g,u/=256,n-=8);for(s=s<<n|u,c+=n;c>0;r[t+m]=s&255,m+=g,s/=256,c-=8);r[t+m-g]|=b*128},wo}function pb(){if(Vp)return di;Vp=!0;let r=cb(),e=hb(),t=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;di.Buffer=s,di.SlowBuffer=A,di.INSPECT_MAX_BYTES=50;let i=2147483647;di.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=n(),!s.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 n(){try{let h=new Uint8Array(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,Uint8Array.prototype),Object.setPrototypeOf(h,a),h.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function o(h){if(h>i)throw new RangeError('The value "'+h+'" is invalid for option "size"');let a=new Uint8Array(h);return Object.setPrototypeOf(a,s.prototype),a}function s(h,a,l){if(typeof h=="number"){if(typeof a=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(h)}return u(h,a,l)}s.poolSize=8192;function u(h,a,l){if(typeof h=="string")return d(h,a);if(ArrayBuffer.isView(h))return m(h);if(h==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h);if(Le(h,ArrayBuffer)||h&&Le(h.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Le(h,SharedArrayBuffer)||h&&Le(h.buffer,SharedArrayBuffer)))return g(h,a,l);if(typeof h=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let y=h.valueOf&&h.valueOf();if(y!=null&&y!==h)return s.from(y,a,l);let O=b(h);if(O)return O;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof h[Symbol.toPrimitive]=="function")return s.from(h[Symbol.toPrimitive]("string"),a,l);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h)}s.from=function(h,a,l){return u(h,a,l)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function f(h){if(typeof h!="number")throw new TypeError('"size" argument must be of type number');if(h<0)throw new RangeError('The value "'+h+'" is invalid for option "size"')}function c(h,a,l){return f(h),h<=0?o(h):a!==void 0?typeof l=="string"?o(h).fill(a,l):o(h).fill(a):o(h)}s.alloc=function(h,a,l){return c(h,a,l)};function p(h){return f(h),o(h<0?0:E(h)|0)}s.allocUnsafe=function(h){return p(h)},s.allocUnsafeSlow=function(h){return p(h)};function d(h,a){if((typeof a!="string"||a==="")&&(a="utf8"),!s.isEncoding(a))throw new TypeError("Unknown encoding: "+a);let l=x(h,a)|0,y=o(l),O=y.write(h,a);return O!==l&&(y=y.slice(0,O)),y}function v(h){let a=h.length<0?0:E(h.length)|0,l=o(a);for(let y=0;y<a;y+=1)l[y]=h[y]&255;return l}function m(h){if(Le(h,Uint8Array)){let a=new Uint8Array(h);return g(a.buffer,a.byteOffset,a.byteLength)}return v(h)}function g(h,a,l){if(a<0||h.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(h.byteLength<a+(l||0))throw new RangeError('"length" is outside of buffer bounds');let y;return a===void 0&&l===void 0?y=new Uint8Array(h):l===void 0?y=new Uint8Array(h,a):y=new Uint8Array(h,a,l),Object.setPrototypeOf(y,s.prototype),y}function b(h){if(s.isBuffer(h)){let a=E(h.length)|0,l=o(a);return l.length===0||h.copy(l,0,0,a),l}if(h.length!==void 0)return typeof h.length!="number"||At(h.length)?o(0):v(h);if(h.type==="Buffer"&&Array.isArray(h.data))return v(h.data)}function E(h){if(h>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return h|0}function A(h){return+h!=h&&(h=0),s.alloc(+h)}s.isBuffer=function(a){return a!=null&&a._isBuffer===!0&&a!==s.prototype},s.compare=function(a,l){if(Le(a,Uint8Array)&&(a=s.from(a,a.offset,a.byteLength)),Le(l,Uint8Array)&&(l=s.from(l,l.offset,l.byteLength)),!s.isBuffer(a)||!s.isBuffer(l))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===l)return 0;let y=a.length,O=l.length;for(let k=0,L=Math.min(y,O);k<L;++k)if(a[k]!==l[k]){y=a[k],O=l[k];break}return y<O?-1:O<y?1:0},s.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(a,l){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(a.length===0)return s.alloc(0);let y;if(l===void 0)for(l=0,y=0;y<a.length;++y)l+=a[y].length;let O=s.allocUnsafe(l),k=0;for(y=0;y<a.length;++y){let L=a[y];if(Le(L,Uint8Array))k+L.length>O.length?(s.isBuffer(L)||(L=s.from(L)),L.copy(O,k)):Uint8Array.prototype.set.call(O,L,k);else if(s.isBuffer(L))L.copy(O,k);else throw new TypeError('"list" argument must be an Array of Buffers');k+=L.length}return O};function x(h,a){if(s.isBuffer(h))return h.length;if(ArrayBuffer.isView(h)||Le(h,ArrayBuffer))return h.byteLength;if(typeof h!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof h);let l=h.length,y=arguments.length>2&&arguments[2]===!0;if(!y&&l===0)return 0;let O=!1;for(;;)switch(a){case"ascii":case"latin1":case"binary":return l;case"utf8":case"utf-8":return ce(h).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l*2;case"hex":return l>>>1;case"base64":return St(h).length;default:if(O)return y?-1:ce(h).length;a=(""+a).toLowerCase(),O=!0}}s.byteLength=x;function I(h,a,l){let y=!1;if((a===void 0||a<0)&&(a=0),a>this.length||((l===void 0||l>this.length)&&(l=this.length),l<=0)||(l>>>=0,a>>>=0,l<=a))return"";for(h||(h="utf8");;)switch(h){case"hex":return q(this,a,l);case"utf8":case"utf-8":return Ce(this,a,l);case"ascii":return Ae(this,a,l);case"latin1":case"binary":return V(this,a,l);case"base64":return Oe(this,a,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J(this,a,l);default:if(y)throw new TypeError("Unknown encoding: "+h);h=(h+"").toLowerCase(),y=!0}}s.prototype._isBuffer=!0;function D(h,a,l){let y=h[a];h[a]=h[l],h[l]=y}s.prototype.swap16=function(){let a=this.length;if(a%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let l=0;l<a;l+=2)D(this,l,l+1);return this},s.prototype.swap32=function(){let a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let l=0;l<a;l+=4)D(this,l,l+3),D(this,l+1,l+2);return this},s.prototype.swap64=function(){let a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let l=0;l<a;l+=8)D(this,l,l+7),D(this,l+1,l+6),D(this,l+2,l+5),D(this,l+3,l+4);return this},s.prototype.toString=function(){let a=this.length;return a===0?"":arguments.length===0?Ce(this,0,a):I.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(a){if(!s.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:s.compare(this,a)===0},s.prototype.inspect=function(){let a="",l=di.INSPECT_MAX_BYTES;return a=this.toString("hex",0,l).replace(/(.{2})/g,"$1 ").trim(),this.length>l&&(a+=" ... "),"<Buffer "+a+">"},t&&(s.prototype[t]=s.prototype.inspect),s.prototype.compare=function(a,l,y,O,k){if(Le(a,Uint8Array)&&(a=s.from(a,a.offset,a.byteLength)),!s.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(l===void 0&&(l=0),y===void 0&&(y=a?a.length:0),O===void 0&&(O=0),k===void 0&&(k=this.length),l<0||y>a.length||O<0||k>this.length)throw new RangeError("out of range index");if(O>=k&&l>=y)return 0;if(O>=k)return-1;if(l>=y)return 1;if(l>>>=0,y>>>=0,O>>>=0,k>>>=0,this===a)return 0;let L=k-O,ue=y-l,ke=Math.min(L,ue),Re=this.slice(O,k),Pe=a.slice(l,y);for(let we=0;we<ke;++we)if(Re[we]!==Pe[we]){L=Re[we],ue=Pe[we];break}return L<ue?-1:ue<L?1:0};function j(h,a,l,y,O){if(h.length===0)return-1;if(typeof l=="string"?(y=l,l=0):l>2147483647?l=2147483647:l<-2147483648&&(l=-2147483648),l=+l,At(l)&&(l=O?0:h.length-1),l<0&&(l=h.length+l),l>=h.length){if(O)return-1;l=h.length-1}else if(l<0)if(O)l=0;else return-1;if(typeof a=="string"&&(a=s.from(a,y)),s.isBuffer(a))return a.length===0?-1:ae(h,a,l,y,O);if(typeof a=="number")return a=a&255,typeof Uint8Array.prototype.indexOf=="function"?O?Uint8Array.prototype.indexOf.call(h,a,l):Uint8Array.prototype.lastIndexOf.call(h,a,l):ae(h,[a],l,y,O);throw new TypeError("val must be string, number or Buffer")}function ae(h,a,l,y,O){let k=1,L=h.length,ue=a.length;if(y!==void 0&&(y=String(y).toLowerCase(),y==="ucs2"||y==="ucs-2"||y==="utf16le"||y==="utf-16le")){if(h.length<2||a.length<2)return-1;k=2,L/=2,ue/=2,l/=2}function ke(Pe,we){return k===1?Pe[we]:Pe.readUInt16BE(we*k)}let Re;if(O){let Pe=-1;for(Re=l;Re<L;Re++)if(ke(h,Re)===ke(a,Pe===-1?0:Re-Pe)){if(Pe===-1&&(Pe=Re),Re-Pe+1===ue)return Pe*k}else Pe!==-1&&(Re-=Re-Pe),Pe=-1}else for(l+ue>L&&(l=L-ue),Re=l;Re>=0;Re--){let Pe=!0;for(let we=0;we<ue;we++)if(ke(h,Re+we)!==ke(a,we)){Pe=!1;break}if(Pe)return Re}return-1}s.prototype.includes=function(a,l,y){return this.indexOf(a,l,y)!==-1},s.prototype.indexOf=function(a,l,y){return j(this,a,l,y,!0)},s.prototype.lastIndexOf=function(a,l,y){return j(this,a,l,y,!1)};function X(h,a,l,y){l=Number(l)||0;let O=h.length-l;y?(y=Number(y),y>O&&(y=O)):y=O;let k=a.length;y>k/2&&(y=k/2);let L;for(L=0;L<y;++L){let ue=parseInt(a.substr(L*2,2),16);if(At(ue))return L;h[l+L]=ue}return L}function K(h,a,l,y){return st(ce(a,h.length-l),h,l,y)}function Q(h,a,l,y){return st(Ie(a),h,l,y)}function se(h,a,l,y){return st(St(a),h,l,y)}function _e(h,a,l,y){return st(Be(a,h.length-l),h,l,y)}s.prototype.write=function(a,l,y,O){if(l===void 0)O="utf8",y=this.length,l=0;else if(y===void 0&&typeof l=="string")O=l,y=this.length,l=0;else if(isFinite(l))l=l>>>0,isFinite(y)?(y=y>>>0,O===void 0&&(O="utf8")):(O=y,y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let k=this.length-l;if((y===void 0||y>k)&&(y=k),a.length>0&&(y<0||l<0)||l>this.length)throw new RangeError("Attempt to write outside buffer bounds");O||(O="utf8");let L=!1;for(;;)switch(O){case"hex":return X(this,a,l,y);case"utf8":case"utf-8":return K(this,a,l,y);case"ascii":case"latin1":case"binary":return Q(this,a,l,y);case"base64":return se(this,a,l,y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _e(this,a,l,y);default:if(L)throw new TypeError("Unknown encoding: "+O);O=(""+O).toLowerCase(),L=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Oe(h,a,l){return a===0&&l===h.length?r.fromByteArray(h):r.fromByteArray(h.slice(a,l))}function Ce(h,a,l){l=Math.min(h.length,l);let y=[],O=a;for(;O<l;){let k=h[O],L=null,ue=k>239?4:k>223?3:k>191?2:1;if(O+ue<=l){let ke,Re,Pe,we;switch(ue){case 1:k<128&&(L=k);break;case 2:ke=h[O+1],(ke&192)===128&&(we=(k&31)<<6|ke&63,we>127&&(L=we));break;case 3:ke=h[O+1],Re=h[O+2],(ke&192)===128&&(Re&192)===128&&(we=(k&15)<<12|(ke&63)<<6|Re&63,we>2047&&(we<55296||we>57343)&&(L=we));break;case 4:ke=h[O+1],Re=h[O+2],Pe=h[O+3],(ke&192)===128&&(Re&192)===128&&(Pe&192)===128&&(we=(k&15)<<18|(ke&63)<<12|(Re&63)<<6|Pe&63,we>65535&&we<1114112&&(L=we))}}L===null?(L=65533,ue=1):L>65535&&(L-=65536,y.push(L>>>10&1023|55296),L=56320|L&1023),y.push(L),O+=ue}return De(y)}let Ee=4096;function De(h){let a=h.length;if(a<=Ee)return String.fromCharCode.apply(String,h);let l="",y=0;for(;y<a;)l+=String.fromCharCode.apply(String,h.slice(y,y+=Ee));return l}function Ae(h,a,l){let y="";l=Math.min(h.length,l);for(let O=a;O<l;++O)y+=String.fromCharCode(h[O]&127);return y}function V(h,a,l){let y="";l=Math.min(h.length,l);for(let O=a;O<l;++O)y+=String.fromCharCode(h[O]);return y}function q(h,a,l){let y=h.length;(!a||a<0)&&(a=0),(!l||l<0||l>y)&&(l=y);let O="";for(let k=a;k<l;++k)O+=br[h[k]];return O}function J(h,a,l){let y=h.slice(a,l),O="";for(let k=0;k<y.length-1;k+=2)O+=String.fromCharCode(y[k]+y[k+1]*256);return O}s.prototype.slice=function(a,l){let y=this.length;a=~~a,l=l===void 0?y:~~l,a<0?(a+=y,a<0&&(a=0)):a>y&&(a=y),l<0?(l+=y,l<0&&(l=0)):l>y&&(l=y),l<a&&(l=a);let O=this.subarray(a,l);return Object.setPrototypeOf(O,s.prototype),O};function H(h,a,l){if(h%1!==0||h<0)throw new RangeError("offset is not uint");if(h+a>l)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a],k=1,L=0;for(;++L<l&&(k*=256);)O+=this[a+L]*k;return O},s.prototype.readUintBE=s.prototype.readUIntBE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a+--l],k=1;for(;l>0&&(k*=256);)O+=this[a+--l]*k;return O},s.prototype.readUint8=s.prototype.readUInt8=function(a,l){return a=a>>>0,l||H(a,1,this.length),this[a]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(a,l){return a=a>>>0,l||H(a,2,this.length),this[a]|this[a+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(a,l){return a=a>>>0,l||H(a,2,this.length),this[a]<<8|this[a+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(a,l){return a=a>>>0,l||H(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+this[a+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]*16777216+(this[a+1]<<16|this[a+2]<<8|this[a+3])},s.prototype.readBigUInt64LE=Ye(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=l+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24,k=this[++a]+this[++a]*2**8+this[++a]*2**16+y*2**24;return BigInt(O)+(BigInt(k)<<BigInt(32))}),s.prototype.readBigUInt64BE=Ye(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=l*2**24+this[++a]*2**16+this[++a]*2**8+this[++a],k=this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+y;return(BigInt(O)<<BigInt(32))+BigInt(k)}),s.prototype.readIntLE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a],k=1,L=0;for(;++L<l&&(k*=256);)O+=this[a+L]*k;return k*=128,O>=k&&(O-=Math.pow(2,8*l)),O},s.prototype.readIntBE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=l,k=1,L=this[a+--O];for(;O>0&&(k*=256);)L+=this[a+--O]*k;return k*=128,L>=k&&(L-=Math.pow(2,8*l)),L},s.prototype.readInt8=function(a,l){return a=a>>>0,l||H(a,1,this.length),this[a]&128?(255-this[a]+1)*-1:this[a]},s.prototype.readInt16LE=function(a,l){a=a>>>0,l||H(a,2,this.length);let y=this[a]|this[a+1]<<8;return y&32768?y|4294901760:y},s.prototype.readInt16BE=function(a,l){a=a>>>0,l||H(a,2,this.length);let y=this[a+1]|this[a]<<8;return y&32768?y|4294901760:y},s.prototype.readInt32LE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},s.prototype.readInt32BE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},s.prototype.readBigInt64LE=Ye(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=this[a+4]+this[a+5]*2**8+this[a+6]*2**16+(y<<24);return(BigInt(O)<<BigInt(32))+BigInt(l+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24)}),s.prototype.readBigInt64BE=Ye(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=(l<<24)+this[++a]*2**16+this[++a]*2**8+this[++a];return(BigInt(O)<<BigInt(32))+BigInt(this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+y)}),s.prototype.readFloatLE=function(a,l){return a=a>>>0,l||H(a,4,this.length),e.read(this,a,!0,23,4)},s.prototype.readFloatBE=function(a,l){return a=a>>>0,l||H(a,4,this.length),e.read(this,a,!1,23,4)},s.prototype.readDoubleLE=function(a,l){return a=a>>>0,l||H(a,8,this.length),e.read(this,a,!0,52,8)},s.prototype.readDoubleBE=function(a,l){return a=a>>>0,l||H(a,8,this.length),e.read(this,a,!1,52,8)};function ee(h,a,l,y,O,k){if(!s.isBuffer(h))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>O||a<k)throw new RangeError('"value" argument is out of bounds');if(l+y>h.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(a,l,y,O){if(a=+a,l=l>>>0,y=y>>>0,!O){let ue=Math.pow(2,8*y)-1;ee(this,a,l,y,ue,0)}let k=1,L=0;for(this[l]=a&255;++L<y&&(k*=256);)this[l+L]=a/k&255;return l+y},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(a,l,y,O){if(a=+a,l=l>>>0,y=y>>>0,!O){let ue=Math.pow(2,8*y)-1;ee(this,a,l,y,ue,0)}let k=y-1,L=1;for(this[l+k]=a&255;--k>=0&&(L*=256);)this[l+k]=a/L&255;return l+y},s.prototype.writeUint8=s.prototype.writeUInt8=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,1,255,0),this[l]=a&255,l+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,65535,0),this[l]=a&255,this[l+1]=a>>>8,l+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,65535,0),this[l]=a>>>8,this[l+1]=a&255,l+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,4294967295,0),this[l+3]=a>>>24,this[l+2]=a>>>16,this[l+1]=a>>>8,this[l]=a&255,l+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,4294967295,0),this[l]=a>>>24,this[l+1]=a>>>16,this[l+2]=a>>>8,this[l+3]=a&255,l+4};function ge(h,a,l,y,O){xe(a,y,O,h,l,7);let k=Number(a&BigInt(4294967295));h[l++]=k,k=k>>8,h[l++]=k,k=k>>8,h[l++]=k,k=k>>8,h[l++]=k;let L=Number(a>>BigInt(32)&BigInt(4294967295));return h[l++]=L,L=L>>8,h[l++]=L,L=L>>8,h[l++]=L,L=L>>8,h[l++]=L,l}function Se(h,a,l,y,O){xe(a,y,O,h,l,7);let k=Number(a&BigInt(4294967295));h[l+7]=k,k=k>>8,h[l+6]=k,k=k>>8,h[l+5]=k,k=k>>8,h[l+4]=k;let L=Number(a>>BigInt(32)&BigInt(4294967295));return h[l+3]=L,L=L>>8,h[l+2]=L,L=L>>8,h[l+1]=L,L=L>>8,h[l]=L,l+8}s.prototype.writeBigUInt64LE=Ye(function(a,l=0){return ge(this,a,l,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=Ye(function(a,l=0){return Se(this,a,l,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(a,l,y,O){if(a=+a,l=l>>>0,!O){let ke=Math.pow(2,8*y-1);ee(this,a,l,y,ke-1,-ke)}let k=0,L=1,ue=0;for(this[l]=a&255;++k<y&&(L*=256);)a<0&&ue===0&&this[l+k-1]!==0&&(ue=1),this[l+k]=(a/L>>0)-ue&255;return l+y},s.prototype.writeIntBE=function(a,l,y,O){if(a=+a,l=l>>>0,!O){let ke=Math.pow(2,8*y-1);ee(this,a,l,y,ke-1,-ke)}let k=y-1,L=1,ue=0;for(this[l+k]=a&255;--k>=0&&(L*=256);)a<0&&ue===0&&this[l+k+1]!==0&&(ue=1),this[l+k]=(a/L>>0)-ue&255;return l+y},s.prototype.writeInt8=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,1,127,-128),a<0&&(a=255+a+1),this[l]=a&255,l+1},s.prototype.writeInt16LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,32767,-32768),this[l]=a&255,this[l+1]=a>>>8,l+2},s.prototype.writeInt16BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,32767,-32768),this[l]=a>>>8,this[l+1]=a&255,l+2},s.prototype.writeInt32LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,2147483647,-2147483648),this[l]=a&255,this[l+1]=a>>>8,this[l+2]=a>>>16,this[l+3]=a>>>24,l+4},s.prototype.writeInt32BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[l]=a>>>24,this[l+1]=a>>>16,this[l+2]=a>>>8,this[l+3]=a&255,l+4},s.prototype.writeBigInt64LE=Ye(function(a,l=0){return ge(this,a,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=Ye(function(a,l=0){return Se(this,a,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Me(h,a,l,y,O,k){if(l+y>h.length)throw new RangeError("Index out of range");if(l<0)throw new RangeError("Index out of range")}function Fe(h,a,l,y,O){return a=+a,l=l>>>0,O||Me(h,a,l,4),e.write(h,a,l,y,23,4),l+4}s.prototype.writeFloatLE=function(a,l,y){return Fe(this,a,l,!0,y)},s.prototype.writeFloatBE=function(a,l,y){return Fe(this,a,l,!1,y)};function mt(h,a,l,y,O){return a=+a,l=l>>>0,O||Me(h,a,l,8),e.write(h,a,l,y,52,8),l+8}s.prototype.writeDoubleLE=function(a,l,y){return mt(this,a,l,!0,y)},s.prototype.writeDoubleBE=function(a,l,y){return mt(this,a,l,!1,y)},s.prototype.copy=function(a,l,y,O){if(!s.isBuffer(a))throw new TypeError("argument should be a Buffer");if(y||(y=0),!O&&O!==0&&(O=this.length),l>=a.length&&(l=a.length),l||(l=0),O>0&&O<y&&(O=y),O===y||a.length===0||this.length===0)return 0;if(l<0)throw new RangeError("targetStart out of bounds");if(y<0||y>=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),a.length-l<O-y&&(O=a.length-l+y);let k=O-y;return this===a&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(l,y,O):Uint8Array.prototype.set.call(a,this.subarray(y,O),l),k},s.prototype.fill=function(a,l,y,O){if(typeof a=="string"){if(typeof l=="string"?(O=l,l=0,y=this.length):typeof y=="string"&&(O=y,y=this.length),O!==void 0&&typeof O!="string")throw new TypeError("encoding must be a string");if(typeof O=="string"&&!s.isEncoding(O))throw new TypeError("Unknown encoding: "+O);if(a.length===1){let L=a.charCodeAt(0);(O==="utf8"&&L<128||O==="latin1")&&(a=L)}}else typeof a=="number"?a=a&255:typeof a=="boolean"&&(a=Number(a));if(l<0||this.length<l||this.length<y)throw new RangeError("Out of range index");if(y<=l)return this;l=l>>>0,y=y===void 0?this.length:y>>>0,a||(a=0);let k;if(typeof a=="number")for(k=l;k<y;++k)this[k]=a;else{let L=s.isBuffer(a)?a:s.from(a,O),ue=L.length;if(ue===0)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(k=0;k<y-l;++k)this[k+l]=L[k%ue]}return this};let $={};function U(h,a,l){$[h]=class extends l{constructor(){super(),Object.defineProperty(this,"message",{value:a.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${h}]`,this.stack,delete this.name}get code(){return h}set code(O){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:O,writable:!0})}toString(){return`${this.name} [${h}]: ${this.message}`}}}U("ERR_BUFFER_OUT_OF_BOUNDS",function(h){return h?`${h} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),U("ERR_INVALID_ARG_TYPE",function(h,a){return`The "${h}" argument must be of type number. Received type ${typeof a}`},TypeError),U("ERR_OUT_OF_RANGE",function(h,a,l){let y=`The value of "${h}" is out of range.`,O=l;return Number.isInteger(l)&&Math.abs(l)>2**32?O=te(String(l)):typeof l=="bigint"&&(O=String(l),(l>BigInt(2)**BigInt(32)||l<-(BigInt(2)**BigInt(32)))&&(O=te(O)),O+="n"),y+=` It must be ${a}. Received ${O}`,y},RangeError);function te(h){let a="",l=h.length,y=h[0]==="-"?1:0;for(;l>=y+4;l-=3)a=`_${h.slice(l-3,l)}${a}`;return`${h.slice(0,l)}${a}`}function me(h,a,l){P(a,"offset"),(h[a]===void 0||h[a+l]===void 0)&&C(a,h.length-(l+1))}function xe(h,a,l,y,O,k){if(h>l||h<a){let L=typeof a=="bigint"?"n":"",ue;throw k>3?a===0||a===BigInt(0)?ue=`>= 0${L} and < 2${L} ** ${(k+1)*8}${L}`:ue=`>= -(2${L} ** ${(k+1)*8-1}${L}) and < 2 ** ${(k+1)*8-1}${L}`:ue=`>= ${a}${L} and <= ${l}${L}`,new $.ERR_OUT_OF_RANGE("value",ue,h)}me(y,O,k)}function P(h,a){if(typeof h!="number")throw new $.ERR_INVALID_ARG_TYPE(a,"number",h)}function C(h,a,l){throw Math.floor(h)!==h?(P(h,l),new $.ERR_OUT_OF_RANGE(l||"offset","an integer",h)):a<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE(l||"offset",`>= ${l?1:0} and <= ${a}`,h)}let re=/[^+/0-9A-Za-z-_]/g;function fe(h){if(h=h.split("=")[0],h=h.trim().replace(re,""),h.length<2)return"";for(;h.length%4!==0;)h=h+"=";return h}function ce(h,a){a=a||1/0;let l,y=h.length,O=null,k=[];for(let L=0;L<y;++L){if(l=h.charCodeAt(L),l>55295&&l<57344){if(!O){if(l>56319){(a-=3)>-1&&k.push(239,191,189);continue}else if(L+1===y){(a-=3)>-1&&k.push(239,191,189);continue}O=l;continue}if(l<56320){(a-=3)>-1&&k.push(239,191,189),O=l;continue}l=(O-55296<<10|l-56320)+65536}else O&&(a-=3)>-1&&k.push(239,191,189);if(O=null,l<128){if((a-=1)<0)break;k.push(l)}else if(l<2048){if((a-=2)<0)break;k.push(l>>6|192,l&63|128)}else if(l<65536){if((a-=3)<0)break;k.push(l>>12|224,l>>6&63|128,l&63|128)}else if(l<1114112){if((a-=4)<0)break;k.push(l>>18|240,l>>12&63|128,l>>6&63|128,l&63|128)}else throw new Error("Invalid code point")}return k}function Ie(h){let a=[];for(let l=0;l<h.length;++l)a.push(h.charCodeAt(l)&255);return a}function Be(h,a){let l,y,O,k=[];for(let L=0;L<h.length&&!((a-=2)<0);++L)l=h.charCodeAt(L),y=l>>8,O=l%256,k.push(O),k.push(y);return k}function St(h){return r.toByteArray(fe(h))}function st(h,a,l,y){let O;for(O=0;O<y&&!(O+l>=a.length||O>=h.length);++O)a[O+l]=h[O];return O}function Le(h,a){return h instanceof a||h!=null&&h.constructor!=null&&h.constructor.name!=null&&h.constructor.name===a.name}function At(h){return h!==h}let br=function(){let h="0123456789abcdef",a=new Array(256);for(let l=0;l<16;++l){let y=l*16;for(let O=0;O<16;++O)a[y+O]=h[l]+h[O]}return a}();function Ye(h){return typeof BigInt>"u"?lr:h}function lr(){throw new Error("BigInt not supported")}return di}function gi(){return Gp||(Gp=!0,typeof Object.create=="function"?bo=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:bo=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}),bo}function ud(){return Hp||(Hp=!0,lu=ut.EventEmitter),lu}function db(){if(Yp)return fu;Yp=!0;function r(v,m){var g=Object.keys(v);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(v);m&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(v,E).enumerable})),g.push.apply(g,b)}return g}function e(v){for(var m=1;m<arguments.length;m++){var g=arguments[m]!=null?arguments[m]:{};m%2?r(Object(g),!0).forEach(function(b){t(v,b,g[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(g)):r(Object(g)).forEach(function(b){Object.defineProperty(v,b,Object.getOwnPropertyDescriptor(g,b))})}return v}function t(v,m,g){return m in v?Object.defineProperty(v,m,{value:g,enumerable:!0,configurable:!0,writable:!0}):v[m]=g,v}function i(v,m){if(!(v instanceof m))throw new TypeError("Cannot call a class as a function")}function n(v,m){for(var g=0;g<m.length;g++){var b=m[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(v,b.key,b)}}function o(v,m,g){return m&&n(v.prototype,m),g&&n(v,g),v}var s=Vr,u=s.Buffer,f=G,c=f.inspect,p=c&&c.custom||"inspect";function d(v,m,g){u.prototype.copy.call(v,m,g)}return fu=function(){function v(){i(this,v),this.head=null,this.tail=null,this.length=0}return o(v,[{key:"push",value:function(g){var b={data:g,next:null};this.length>0?this.tail.next=b:this.head=b,this.tail=b,++this.length}},{key:"unshift",value:function(g){var b={data:g,next:this.head};this.length===0&&(this.tail=b),this.head=b,++this.length}},{key:"shift",value:function(){if(this.length!==0){var g=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,g}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(g){if(this.length===0)return"";for(var b=this.head,E=""+b.data;b=b.next;)E+=g+b.data;return E}},{key:"concat",value:function(g){if(this.length===0)return u.alloc(0);for(var b=u.allocUnsafe(g>>>0),E=this.head,A=0;E;)d(E.data,b,A),A+=E.data.length,E=E.next;return b}},{key:"consume",value:function(g,b){var E;return g<this.head.data.length?(E=this.head.data.slice(0,g),this.head.data=this.head.data.slice(g)):g===this.head.data.length?E=this.shift():E=b?this._getString(g):this._getBuffer(g),E}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(g){var b=this.head,E=1,A=b.data;for(g-=A.length;b=b.next;){var x=b.data,I=g>x.length?x.length:g;if(I===x.length?A+=x:A+=x.slice(0,g),g-=I,g===0){I===x.length?(++E,b.next?this.head=b.next:this.head=this.tail=null):(this.head=b,b.data=x.slice(I));break}++E}return this.length-=E,A}},{key:"_getBuffer",value:function(g){var b=u.allocUnsafe(g),E=this.head,A=1;for(E.data.copy(b),g-=E.data.length;E=E.next;){var x=E.data,I=g>x.length?x.length:g;if(x.copy(b,b.length-g,0,I),g-=I,g===0){I===x.length?(++A,E.next?this.head=E.next:this.head=this.tail=null):(this.head=E,E.data=x.slice(I));break}++A}return this.length-=A,b}},{key:p,value:function(g,b){return c(this,e({},b,{depth:0,customInspect:!1}))}}]),v}(),fu}function ld(){if(Kp)return cu;Kp=!0;var r=Ue;function e(u,f){var c=this,p=this._readableState&&this._readableState.destroyed,d=this._writableState&&this._writableState.destroyed;return p||d?(f?f(u):u&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(o,this,u)):r.nextTick(o,this,u)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(u||null,function(v){!f&&v?c._writableState?c._writableState.errorEmitted?r.nextTick(i,c):(c._writableState.errorEmitted=!0,r.nextTick(t,c,v)):r.nextTick(t,c,v):f?(r.nextTick(i,c),f(v)):r.nextTick(i,c)}),this)}function t(u,f){o(u,f),i(u)}function i(u){u._writableState&&!u._writableState.emitClose||u._readableState&&!u._readableState.emitClose||u.emit("close")}function n(){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 o(u,f){u.emit("error",f)}function s(u,f){var c=u._readableState,p=u._writableState;c&&c.autoDestroy||p&&p.autoDestroy?u.destroy(f):u.emit("error",f)}return cu={destroy:e,undestroy:n,errorOrDestroy:s},cu}function Wi(){if(Jp)return hu;Jp=!0;let r={};function e(s,u,f){f||(f=Error);function c(d,v,m){return typeof u=="string"?u:u(d,v,m)}class p extends f{constructor(v,m,g){super(c(v,m,g))}}p.prototype.name=f.name,p.prototype.code=s,r[s]=p}function t(s,u){if(Array.isArray(s)){let f=s.length;return s=s.map(c=>String(c)),f>2?`one of ${u} ${s.slice(0,f-1).join(", ")}, or `+s[f-1]:f===2?`one of ${u} ${s[0]} or ${s[1]}`:`of ${u} ${s[0]}`}else return`of ${u} ${String(s)}`}function i(s,u,f){return s.substr(!f||f<0?0:+f,u.length)===u}function n(s,u,f){return(f===void 0||f>s.length)&&(f=s.length),s.substring(f-u.length,f)===u}function o(s,u,f){return typeof f!="number"&&(f=0),f+u.length>s.length?!1:s.indexOf(u,f)!==-1}return e("ERR_INVALID_OPT_VALUE",function(s,u){return'The value "'+u+'" is invalid for option "'+s+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(s,u,f){let c;typeof u=="string"&&i(u,"not ")?(c="must not be",u=u.replace(/^not /,"")):c="must be";let p;if(n(s," argument"))p=`The ${s} ${c} ${t(u,"type")}`;else{let d=o(s,".")?"property":"argument";p=`The "${s}" ${d} ${c} ${t(u,"type")}`}return p+=`. Received type ${typeof f}`,p},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(s){return"The "+s+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(s){return"Cannot call "+s+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(s){return"Unknown encoding: "+s},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),hu.codes=r,hu}function fd(){if(Qp)return pu;Qp=!0;var r=Wi().codes.ERR_INVALID_OPT_VALUE;function e(i,n,o){return i.highWaterMark!=null?i.highWaterMark:n?i[o]:null}function t(i,n,o,s){var u=e(n,s,o);if(u!=null){if(!(isFinite(u)&&Math.floor(u)===u)||u<0){var f=s?o:"highWaterMark";throw new r(f,u)}return Math.floor(u)}return i.objectMode?16:16*1024}return pu={getHighWaterMark:t},pu}function yb(){if(Xp)return du;Xp=!0,du=r;function r(t,i){if(e("noDeprecation"))return t;var n=!1;function o(){if(!n){if(e("throwDeprecation"))throw new Error(i);e("traceDeprecation")?console.trace(i):console.warn(i),n=!0}return t.apply(this||yu,arguments)}return o}function e(t){try{if(!yu.localStorage)return!1}catch{return!1}var i=yu.localStorage[t];return i==null?!1:String(i).toLowerCase()==="true"}return du}function Au(){if(Zp)return gu;Zp=!0;var r=Ue;gu=Q;function e($){var U=this;this.next=null,this.entry=null,this.finish=function(){mt(U,$)}}var t;Q.WritableState=X;var i={deprecate:yb()},n=ud(),o=Vr.Buffer,s=gb.Uint8Array||function(){};function u($){return o.from($)}function f($){return o.isBuffer($)||$ instanceof s}var c=ld(),p=fd(),d=p.getHighWaterMark,v=Wi().codes,m=v.ERR_INVALID_ARG_TYPE,g=v.ERR_METHOD_NOT_IMPLEMENTED,b=v.ERR_MULTIPLE_CALLBACK,E=v.ERR_STREAM_CANNOT_PIPE,A=v.ERR_STREAM_DESTROYED,x=v.ERR_STREAM_NULL_VALUES,I=v.ERR_STREAM_WRITE_AFTER_END,D=v.ERR_UNKNOWN_ENCODING,j=c.errorOrDestroy;gi()(Q,n);function ae(){}function X($,U,te){t=t||yi(),$=$||{},typeof te!="boolean"&&(te=U instanceof t),this.objectMode=!!$.objectMode,te&&(this.objectMode=this.objectMode||!!$.writableObjectMode),this.highWaterMark=d(this,$,"writableHighWaterMark",te),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var me=$.decodeStrings===!1;this.decodeStrings=!me,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(xe){V(U,xe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}X.prototype.getBuffer=function(){for(var U=this.bufferedRequest,te=[];U;)te.push(U),U=U.next;return te},function(){try{Object.defineProperty(X.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var K;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(K=Function.prototype[Symbol.hasInstance],Object.defineProperty(Q,Symbol.hasInstance,{value:function(U){return K.call(this,U)?!0:this!==Q?!1:U&&U._writableState instanceof X}})):K=function(U){return U instanceof this};function Q($){t=t||yi();var U=this instanceof t;if(!U&&!K.call(Q,this))return new Q($);this._writableState=new X($,this,U),this.writable=!0,$&&(typeof $.write=="function"&&(this._write=$.write),typeof $.writev=="function"&&(this._writev=$.writev),typeof $.destroy=="function"&&(this._destroy=$.destroy),typeof $.final=="function"&&(this._final=$.final)),n.call(this)}Q.prototype.pipe=function(){j(this,new E)};function se($,U){var te=new I;j($,te),r.nextTick(U,te)}function _e($,U,te,me){var xe;return te===null?xe=new x:typeof te!="string"&&!U.objectMode&&(xe=new m("chunk",["string","Buffer"],te)),xe?(j($,xe),r.nextTick(me,xe),!1):!0}Q.prototype.write=function($,U,te){var me=this._writableState,xe=!1,P=!me.objectMode&&f($);return P&&!o.isBuffer($)&&($=u($)),typeof U=="function"&&(te=U,U=null),P?U="buffer":U||(U=me.defaultEncoding),typeof te!="function"&&(te=ae),me.ending?se(this,te):(P||_e(this,me,$,te))&&(me.pendingcb++,xe=Ce(this,me,P,$,U,te)),xe},Q.prototype.cork=function(){this._writableState.corked++},Q.prototype.uncork=function(){var $=this._writableState;$.corked&&($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest&&H(this,$))},Q.prototype.setDefaultEncoding=function(U){if(typeof U=="string"&&(U=U.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((U+"").toLowerCase())>-1))throw new D(U);return this._writableState.defaultEncoding=U,this},Object.defineProperty(Q.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Oe($,U,te){return!$.objectMode&&$.decodeStrings!==!1&&typeof U=="string"&&(U=o.from(U,te)),U}Object.defineProperty(Q.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ce($,U,te,me,xe,P){if(!te){var C=Oe(U,me,xe);me!==C&&(te=!0,xe="buffer",me=C)}var re=U.objectMode?1:me.length;U.length+=re;var fe=U.length<U.highWaterMark;if(fe||(U.needDrain=!0),U.writing||U.corked){var ce=U.lastBufferedRequest;U.lastBufferedRequest={chunk:me,encoding:xe,isBuf:te,callback:P,next:null},ce?ce.next=U.lastBufferedRequest:U.bufferedRequest=U.lastBufferedRequest,U.bufferedRequestCount+=1}else Ee($,U,!1,re,me,xe,P);return fe}function Ee($,U,te,me,xe,P,C){U.writelen=me,U.writecb=C,U.writing=!0,U.sync=!0,U.destroyed?U.onwrite(new A("write")):te?$._writev(xe,U.onwrite):$._write(xe,P,U.onwrite),U.sync=!1}function De($,U,te,me,xe){--U.pendingcb,te?(r.nextTick(xe,me),r.nextTick(Me,$,U),$._writableState.errorEmitted=!0,j($,me)):(xe(me),$._writableState.errorEmitted=!0,j($,me),Me($,U))}function Ae($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function V($,U){var te=$._writableState,me=te.sync,xe=te.writecb;if(typeof xe!="function")throw new b;if(Ae(te),U)De($,te,me,U,xe);else{var P=ee(te)||$.destroyed;!P&&!te.corked&&!te.bufferProcessing&&te.bufferedRequest&&H($,te),me?r.nextTick(q,$,te,P,xe):q($,te,P,xe)}}function q($,U,te,me){te||J($,U),U.pendingcb--,me(),Me($,U)}function J($,U){U.length===0&&U.needDrain&&(U.needDrain=!1,$.emit("drain"))}function H($,U){U.bufferProcessing=!0;var te=U.bufferedRequest;if($._writev&&te&&te.next){var me=U.bufferedRequestCount,xe=new Array(me),P=U.corkedRequestsFree;P.entry=te;for(var C=0,re=!0;te;)xe[C]=te,te.isBuf||(re=!1),te=te.next,C+=1;xe.allBuffers=re,Ee($,U,!0,U.length,xe,"",P.finish),U.pendingcb++,U.lastBufferedRequest=null,P.next?(U.corkedRequestsFree=P.next,P.next=null):U.corkedRequestsFree=new e(U),U.bufferedRequestCount=0}else{for(;te;){var fe=te.chunk,ce=te.encoding,Ie=te.callback,Be=U.objectMode?1:fe.length;if(Ee($,U,!1,Be,fe,ce,Ie),te=te.next,U.bufferedRequestCount--,U.writing)break}te===null&&(U.lastBufferedRequest=null)}U.bufferedRequest=te,U.bufferProcessing=!1}Q.prototype._write=function($,U,te){te(new g("_write()"))},Q.prototype._writev=null,Q.prototype.end=function($,U,te){var me=this._writableState;return typeof $=="function"?(te=$,$=null,U=null):typeof U=="function"&&(te=U,U=null),$!=null&&this.write($,U),me.corked&&(me.corked=1,this.uncork()),me.ending||Fe(this,me,te),this},Object.defineProperty(Q.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ee($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function ge($,U){$._final(function(te){U.pendingcb--,te&&j($,te),U.prefinished=!0,$.emit("prefinish"),Me($,U)})}function Se($,U){!U.prefinished&&!U.finalCalled&&(typeof $._final=="function"&&!U.destroyed?(U.pendingcb++,U.finalCalled=!0,r.nextTick(ge,$,U)):(U.prefinished=!0,$.emit("prefinish")))}function Me($,U){var te=ee(U);if(te&&(Se($,U),U.pendingcb===0&&(U.finished=!0,$.emit("finish"),U.autoDestroy))){var me=$._readableState;(!me||me.autoDestroy&&me.endEmitted)&&$.destroy()}return te}function Fe($,U,te){U.ending=!0,Me($,U),te&&(U.finished?r.nextTick(te):$.once("finish",te)),U.ended=!0,$.writable=!1}function mt($,U,te){var me=$.entry;for($.entry=null;me;){var xe=me.callback;U.pendingcb--,xe(te),me=me.next}U.corkedRequestsFree.next=$}return Object.defineProperty(Q.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(U){this._writableState&&(this._writableState.destroyed=U)}}),Q.prototype.destroy=c.destroy,Q.prototype._undestroy=c.undestroy,Q.prototype._destroy=function($,U){U($)},gu}function yi(){if(ed)return mu;ed=!0;var r=Ue,e=Object.keys||function(p){var d=[];for(var v in p)d.push(v);return d};mu=u;var t=Tu(),i=Au();gi()(u,t);for(var n=e(i.prototype),o=0;o<n.length;o++){var s=n[o];u.prototype[s]||(u.prototype[s]=i.prototype[s])}function u(p){if(!(this instanceof u))return new u(p);t.call(this,p),i.call(this,p),this.allowHalfOpen=!0,p&&(p.readable===!1&&(this.readable=!1),p.writable===!1&&(this.writable=!1),p.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",f)))}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function f(){this._writableState.ended||r.nextTick(c,this)}function c(p){p.end()}return Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(d){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=d,this._writableState.destroyed=d)}}),mu}function So(){if(td)return vu;td=!0;var r=Wi().codes.ERR_STREAM_PREMATURE_CLOSE;function e(o){var s=!1;return function(){if(!s){s=!0;for(var u=arguments.length,f=new Array(u),c=0;c<u;c++)f[c]=arguments[c];o.apply(this,f)}}}function t(){}function i(o){return o.setHeader&&typeof o.abort=="function"}function n(o,s,u){if(typeof s=="function")return n(o,null,s);s||(s={}),u=e(u||t);var f=s.readable||s.readable!==!1&&o.readable,c=s.writable||s.writable!==!1&&o.writable,p=function(){o.writable||v()},d=o._writableState&&o._writableState.finished,v=function(){c=!1,d=!0,f||u.call(o)},m=o._readableState&&o._readableState.endEmitted,g=function(){f=!1,m=!0,c||u.call(o)},b=function(I){u.call(o,I)},E=function(){var I;if(f&&!m)return(!o._readableState||!o._readableState.ended)&&(I=new r),u.call(o,I);if(c&&!d)return(!o._writableState||!o._writableState.ended)&&(I=new r),u.call(o,I)},A=function(){o.req.on("finish",v)};return i(o)?(o.on("complete",v),o.on("abort",E),o.req?A():o.on("request",A)):c&&!o._writableState&&(o.on("end",p),o.on("close",p)),o.on("end",g),o.on("finish",v),s.error!==!1&&o.on("error",b),o.on("close",E),function(){o.removeListener("complete",v),o.removeListener("abort",E),o.removeListener("request",A),o.req&&o.req.removeListener("finish",v),o.removeListener("end",p),o.removeListener("close",p),o.removeListener("finish",v),o.removeListener("end",g),o.removeListener("error",b),o.removeListener("close",E)}}return vu=n,vu}function mb(){if(rd)return wu;rd=!0;var r=Ue,e;function t(x,I,D){return I in x?Object.defineProperty(x,I,{value:D,enumerable:!0,configurable:!0,writable:!0}):x[I]=D,x}var i=So(),n=Symbol("lastResolve"),o=Symbol("lastReject"),s=Symbol("error"),u=Symbol("ended"),f=Symbol("lastPromise"),c=Symbol("handlePromise"),p=Symbol("stream");function d(x,I){return{value:x,done:I}}function v(x){var I=x[n];if(I!==null){var D=x[p].read();D!==null&&(x[f]=null,x[n]=null,x[o]=null,I(d(D,!1)))}}function m(x){r.nextTick(v,x)}function g(x,I){return function(D,j){x.then(function(){if(I[u]){D(d(void 0,!0));return}I[c](D,j)},j)}}var b=Object.getPrototypeOf(function(){}),E=Object.setPrototypeOf((e={get stream(){return this[p]},next:function(){var I=this,D=this[s];if(D!==null)return Promise.reject(D);if(this[u])return Promise.resolve(d(void 0,!0));if(this[p].destroyed)return new Promise(function(K,Q){r.nextTick(function(){I[s]?Q(I[s]):K(d(void 0,!0))})});var j=this[f],ae;if(j)ae=new Promise(g(j,this));else{var X=this[p].read();if(X!==null)return Promise.resolve(d(X,!1));ae=new Promise(this[c])}return this[f]=ae,ae}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var I=this;return new Promise(function(D,j){I[p].destroy(null,function(ae){if(ae){j(ae);return}D(d(void 0,!0))})})}),e),b),A=function(I){var D,j=Object.create(E,(D={},t(D,p,{value:I,writable:!0}),t(D,n,{value:null,writable:!0}),t(D,o,{value:null,writable:!0}),t(D,s,{value:null,writable:!0}),t(D,u,{value:I._readableState.endEmitted,writable:!0}),t(D,c,{value:function(X,K){var Q=j[p].read();Q?(j[f]=null,j[n]=null,j[o]=null,X(d(Q,!1))):(j[n]=X,j[o]=K)},writable:!0}),D));return j[f]=null,i(I,function(ae){if(ae&&ae.code!=="ERR_STREAM_PREMATURE_CLOSE"){var X=j[o];X!==null&&(j[f]=null,j[n]=null,j[o]=null,X(ae)),j[s]=ae;return}var K=j[n];K!==null&&(j[f]=null,j[n]=null,j[o]=null,K(d(void 0,!0))),j[u]=!0}),I.on("readable",m.bind(null,j)),j};return wu=A,wu}function vb(){return id||(id=!0,bu=function(){throw new Error("Readable.from is not available in the browser")}),bu}function Tu(){if(nd)return Su;nd=!0;var r=Ue;Su=se;var e;se.ReadableState=Q,ut.EventEmitter;var t=function(C,re){return C.listeners(re).length},i=ud(),n=Vr.Buffer,o=wb.Uint8Array||function(){};function s(P){return n.from(P)}function u(P){return n.isBuffer(P)||P instanceof o}var f=G,c;f&&f.debuglog?c=f.debuglog("stream"):c=function(){};var p=db(),d=ld(),v=fd(),m=v.getHighWaterMark,g=Wi().codes,b=g.ERR_INVALID_ARG_TYPE,E=g.ERR_STREAM_PUSH_AFTER_EOF,A=g.ERR_METHOD_NOT_IMPLEMENTED,x=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,I,D,j;gi()(se,i);var ae=d.errorOrDestroy,X=["error","close","destroy","pause","resume"];function K(P,C,re){if(typeof P.prependListener=="function")return P.prependListener(C,re);!P._events||!P._events[C]?P.on(C,re):Array.isArray(P._events[C])?P._events[C].unshift(re):P._events[C]=[re,P._events[C]]}function Q(P,C,re){e=e||yi(),P=P||{},typeof re!="boolean"&&(re=C instanceof e),this.objectMode=!!P.objectMode,re&&(this.objectMode=this.objectMode||!!P.readableObjectMode),this.highWaterMark=m(this,P,"readableHighWaterMark",re),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=P.emitClose!==!1,this.autoDestroy=!!P.autoDestroy,this.destroyed=!1,this.defaultEncoding=P.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,P.encoding&&(I||(I=Br.StringDecoder),this.decoder=new I(P.encoding),this.encoding=P.encoding)}function se(P){if(e=e||yi(),!(this instanceof se))return new se(P);var C=this instanceof e;this._readableState=new Q(P,this,C),this.readable=!0,P&&(typeof P.read=="function"&&(this._read=P.read),typeof P.destroy=="function"&&(this._destroy=P.destroy)),i.call(this)}Object.defineProperty(se.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(C){this._readableState&&(this._readableState.destroyed=C)}}),se.prototype.destroy=d.destroy,se.prototype._undestroy=d.undestroy,se.prototype._destroy=function(P,C){C(P)},se.prototype.push=function(P,C){var re=this._readableState,fe;return re.objectMode?fe=!0:typeof P=="string"&&(C=C||re.defaultEncoding,C!==re.encoding&&(P=n.from(P,C),C=""),fe=!0),_e(this,P,C,!1,fe)},se.prototype.unshift=function(P){return _e(this,P,null,!0,!1)};function _e(P,C,re,fe,ce){c("readableAddChunk",C);var Ie=P._readableState;if(C===null)Ie.reading=!1,V(P,Ie);else{var Be;if(ce||(Be=Ce(Ie,C)),Be)ae(P,Be);else if(Ie.objectMode||C&&C.length>0)if(typeof C!="string"&&!Ie.objectMode&&Object.getPrototypeOf(C)!==n.prototype&&(C=s(C)),fe)Ie.endEmitted?ae(P,new x):Oe(P,Ie,C,!0);else if(Ie.ended)ae(P,new E);else{if(Ie.destroyed)return!1;Ie.reading=!1,Ie.decoder&&!re?(C=Ie.decoder.write(C),Ie.objectMode||C.length!==0?Oe(P,Ie,C,!1):H(P,Ie)):Oe(P,Ie,C,!1)}else fe||(Ie.reading=!1,H(P,Ie))}return!Ie.ended&&(Ie.length<Ie.highWaterMark||Ie.length===0)}function Oe(P,C,re,fe){C.flowing&&C.length===0&&!C.sync?(C.awaitDrain=0,P.emit("data",re)):(C.length+=C.objectMode?1:re.length,fe?C.buffer.unshift(re):C.buffer.push(re),C.needReadable&&q(P)),H(P,C)}function Ce(P,C){var re;return!u(C)&&typeof C!="string"&&C!==void 0&&!P.objectMode&&(re=new b("chunk",["string","Buffer","Uint8Array"],C)),re}se.prototype.isPaused=function(){return this._readableState.flowing===!1},se.prototype.setEncoding=function(P){I||(I=Br.StringDecoder);var C=new I(P);this._readableState.decoder=C,this._readableState.encoding=this._readableState.decoder.encoding;for(var re=this._readableState.buffer.head,fe="";re!==null;)fe+=C.write(re.data),re=re.next;return this._readableState.buffer.clear(),fe!==""&&this._readableState.buffer.push(fe),this._readableState.length=fe.length,this};var Ee=1073741824;function De(P){return P>=Ee?P=Ee:(P--,P|=P>>>1,P|=P>>>2,P|=P>>>4,P|=P>>>8,P|=P>>>16,P++),P}function Ae(P,C){return P<=0||C.length===0&&C.ended?0:C.objectMode?1:P!==P?C.flowing&&C.length?C.buffer.head.data.length:C.length:(P>C.highWaterMark&&(C.highWaterMark=De(P)),P<=C.length?P:C.ended?C.length:(C.needReadable=!0,0))}se.prototype.read=function(P){c("read",P),P=parseInt(P,10);var C=this._readableState,re=P;if(P!==0&&(C.emittedReadable=!1),P===0&&C.needReadable&&((C.highWaterMark!==0?C.length>=C.highWaterMark:C.length>0)||C.ended))return c("read: emitReadable",C.length,C.ended),C.length===0&&C.ended?te(this):q(this),null;if(P=Ae(P,C),P===0&&C.ended)return C.length===0&&te(this),null;var fe=C.needReadable;c("need readable",fe),(C.length===0||C.length-P<C.highWaterMark)&&(fe=!0,c("length less than watermark",fe)),C.ended||C.reading?(fe=!1,c("reading or ended",fe)):fe&&(c("do read"),C.reading=!0,C.sync=!0,C.length===0&&(C.needReadable=!0),this._read(C.highWaterMark),C.sync=!1,C.reading||(P=Ae(re,C)));var ce;return P>0?ce=U(P,C):ce=null,ce===null?(C.needReadable=C.length<=C.highWaterMark,P=0):(C.length-=P,C.awaitDrain=0),C.length===0&&(C.ended||(C.needReadable=!0),re!==P&&C.ended&&te(this)),ce!==null&&this.emit("data",ce),ce};function V(P,C){if(c("onEofChunk"),!C.ended){if(C.decoder){var re=C.decoder.end();re&&re.length&&(C.buffer.push(re),C.length+=C.objectMode?1:re.length)}C.ended=!0,C.sync?q(P):(C.needReadable=!1,C.emittedReadable||(C.emittedReadable=!0,J(P)))}}function q(P){var C=P._readableState;c("emitReadable",C.needReadable,C.emittedReadable),C.needReadable=!1,C.emittedReadable||(c("emitReadable",C.flowing),C.emittedReadable=!0,r.nextTick(J,P))}function J(P){var C=P._readableState;c("emitReadable_",C.destroyed,C.length,C.ended),!C.destroyed&&(C.length||C.ended)&&(P.emit("readable"),C.emittedReadable=!1),C.needReadable=!C.flowing&&!C.ended&&C.length<=C.highWaterMark,$(P)}function H(P,C){C.readingMore||(C.readingMore=!0,r.nextTick(ee,P,C))}function ee(P,C){for(;!C.reading&&!C.ended&&(C.length<C.highWaterMark||C.flowing&&C.length===0);){var re=C.length;if(c("maybeReadMore read 0"),P.read(0),re===C.length)break}C.readingMore=!1}se.prototype._read=function(P){ae(this,new A("_read()"))},se.prototype.pipe=function(P,C){var re=this,fe=this._readableState;switch(fe.pipesCount){case 0:fe.pipes=P;break;case 1:fe.pipes=[fe.pipes,P];break;default:fe.pipes.push(P);break}fe.pipesCount+=1,c("pipe count=%d opts=%j",fe.pipesCount,C);var ce=(!C||C.end!==!1)&&P!==r.stdout&&P!==r.stderr,Ie=ce?St:a;fe.endEmitted?r.nextTick(Ie):re.once("end",Ie),P.on("unpipe",Be);function Be(l,y){c("onunpipe"),l===re&&y&&y.hasUnpiped===!1&&(y.hasUnpiped=!0,At())}function St(){c("onend"),P.end()}var st=ge(re);P.on("drain",st);var Le=!1;function At(){c("cleanup"),P.removeListener("close",lr),P.removeListener("finish",h),P.removeListener("drain",st),P.removeListener("error",Ye),P.removeListener("unpipe",Be),re.removeListener("end",St),re.removeListener("end",a),re.removeListener("data",br),Le=!0,fe.awaitDrain&&(!P._writableState||P._writableState.needDrain)&&st()}re.on("data",br);function br(l){c("ondata");var y=P.write(l);c("dest.write",y),y===!1&&((fe.pipesCount===1&&fe.pipes===P||fe.pipesCount>1&&xe(fe.pipes,P)!==-1)&&!Le&&(c("false write response, pause",fe.awaitDrain),fe.awaitDrain++),re.pause())}function Ye(l){c("onerror",l),a(),P.removeListener("error",Ye),t(P,"error")===0&&ae(P,l)}K(P,"error",Ye);function lr(){P.removeListener("finish",h),a()}P.once("close",lr);function h(){c("onfinish"),P.removeListener("close",lr),a()}P.once("finish",h);function a(){c("unpipe"),re.unpipe(P)}return P.emit("pipe",re),fe.flowing||(c("pipe resume"),re.resume()),P};function ge(P){return function(){var re=P._readableState;c("pipeOnDrain",re.awaitDrain),re.awaitDrain&&re.awaitDrain--,re.awaitDrain===0&&t(P,"data")&&(re.flowing=!0,$(P))}}se.prototype.unpipe=function(P){var C=this._readableState,re={hasUnpiped:!1};if(C.pipesCount===0)return this;if(C.pipesCount===1)return P&&P!==C.pipes?this:(P||(P=C.pipes),C.pipes=null,C.pipesCount=0,C.flowing=!1,P&&P.emit("unpipe",this,re),this);if(!P){var fe=C.pipes,ce=C.pipesCount;C.pipes=null,C.pipesCount=0,C.flowing=!1;for(var Ie=0;Ie<ce;Ie++)fe[Ie].emit("unpipe",this,{hasUnpiped:!1});return this}var Be=xe(C.pipes,P);return Be===-1?this:(C.pipes.splice(Be,1),C.pipesCount-=1,C.pipesCount===1&&(C.pipes=C.pipes[0]),P.emit("unpipe",this,re),this)},se.prototype.on=function(P,C){var re=i.prototype.on.call(this,P,C),fe=this._readableState;return P==="data"?(fe.readableListening=this.listenerCount("readable")>0,fe.flowing!==!1&&this.resume()):P==="readable"&&!fe.endEmitted&&!fe.readableListening&&(fe.readableListening=fe.needReadable=!0,fe.flowing=!1,fe.emittedReadable=!1,c("on readable",fe.length,fe.reading),fe.length?q(this):fe.reading||r.nextTick(Me,this)),re},se.prototype.addListener=se.prototype.on,se.prototype.removeListener=function(P,C){var re=i.prototype.removeListener.call(this,P,C);return P==="readable"&&r.nextTick(Se,this),re},se.prototype.removeAllListeners=function(P){var C=i.prototype.removeAllListeners.apply(this,arguments);return(P==="readable"||P===void 0)&&r.nextTick(Se,this),C};function Se(P){var C=P._readableState;C.readableListening=P.listenerCount("readable")>0,C.resumeScheduled&&!C.paused?C.flowing=!0:P.listenerCount("data")>0&&P.resume()}function Me(P){c("readable nexttick read 0"),P.read(0)}se.prototype.resume=function(){var P=this._readableState;return P.flowing||(c("resume"),P.flowing=!P.readableListening,Fe(this,P)),P.paused=!1,this};function Fe(P,C){C.resumeScheduled||(C.resumeScheduled=!0,r.nextTick(mt,P,C))}function mt(P,C){c("resume",C.reading),C.reading||P.read(0),C.resumeScheduled=!1,P.emit("resume"),$(P),C.flowing&&!C.reading&&P.read(0)}se.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 $(P){var C=P._readableState;for(c("flow",C.flowing);C.flowing&&P.read()!==null;);}se.prototype.wrap=function(P){var C=this,re=this._readableState,fe=!1;P.on("end",function(){if(c("wrapped end"),re.decoder&&!re.ended){var Be=re.decoder.end();Be&&Be.length&&C.push(Be)}C.push(null)}),P.on("data",function(Be){if(c("wrapped data"),re.decoder&&(Be=re.decoder.write(Be)),!(re.objectMode&&Be==null)&&!(!re.objectMode&&(!Be||!Be.length))){var St=C.push(Be);St||(fe=!0,P.pause())}});for(var ce in P)this[ce]===void 0&&typeof P[ce]=="function"&&(this[ce]=function(St){return function(){return P[St].apply(P,arguments)}}(ce));for(var Ie=0;Ie<X.length;Ie++)P.on(X[Ie],this.emit.bind(this,X[Ie]));return this._read=function(Be){c("wrapped _read",Be),fe&&(fe=!1,P.resume())},this},typeof Symbol=="function"&&(se.prototype[Symbol.asyncIterator]=function(){return D===void 0&&(D=mb()),D(this)}),Object.defineProperty(se.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(se.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(se.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(C){this._readableState&&(this._readableState.flowing=C)}}),se._fromList=U,Object.defineProperty(se.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function U(P,C){if(C.length===0)return null;var re;return C.objectMode?re=C.buffer.shift():!P||P>=C.length?(C.decoder?re=C.buffer.join(""):C.buffer.length===1?re=C.buffer.first():re=C.buffer.concat(C.length),C.buffer.clear()):re=C.buffer.consume(P,C.decoder),re}function te(P){var C=P._readableState;c("endReadable",C.endEmitted),C.endEmitted||(C.ended=!0,r.nextTick(me,C,P))}function me(P,C){if(c("endReadableNT",P.endEmitted,P.length),!P.endEmitted&&P.length===0&&(P.endEmitted=!0,C.readable=!1,C.emit("end"),P.autoDestroy)){var re=C._writableState;(!re||re.autoDestroy&&re.finished)&&C.destroy()}}typeof Symbol=="function"&&(se.from=function(P,C){return j===void 0&&(j=vb()),j(se,P,C)});function xe(P,C){for(var re=0,fe=P.length;re<fe;re++)if(P[re]===C)return re;return-1}return Su}function Ru(){if(sd)return Eu;sd=!0,Eu=u;var r=Wi().codes,e=r.ERR_METHOD_NOT_IMPLEMENTED,t=r.ERR_MULTIPLE_CALLBACK,i=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,n=r.ERR_TRANSFORM_WITH_LENGTH_0,o=yi();gi()(u,o);function s(p,d){var v=this._transformState;v.transforming=!1;var m=v.writecb;if(m===null)return this.emit("error",new t);v.writechunk=null,v.writecb=null,d!=null&&this.push(d),m(p);var g=this._readableState;g.reading=!1,(g.needReadable||g.length<g.highWaterMark)&&this._read(g.highWaterMark)}function u(p){if(!(this instanceof u))return new u(p);o.call(this,p),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,p&&(typeof p.transform=="function"&&(this._transform=p.transform),typeof p.flush=="function"&&(this._flush=p.flush)),this.on("prefinish",f)}function f(){var p=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(d,v){c(p,d,v)}):c(this,null,null)}u.prototype.push=function(p,d){return this._transformState.needTransform=!1,o.prototype.push.call(this,p,d)},u.prototype._transform=function(p,d,v){v(new e("_transform()"))},u.prototype._write=function(p,d,v){var m=this._transformState;if(m.writecb=v,m.writechunk=p,m.writeencoding=d,!m.transforming){var g=this._readableState;(m.needTransform||g.needReadable||g.length<g.highWaterMark)&&this._read(g.highWaterMark)}},u.prototype._read=function(p){var d=this._transformState;d.writechunk!==null&&!d.transforming?(d.transforming=!0,this._transform(d.writechunk,d.writeencoding,d.afterTransform)):d.needTransform=!0},u.prototype._destroy=function(p,d){o.prototype._destroy.call(this,p,function(v){d(v)})};function c(p,d,v){if(d)return p.emit("error",d);if(v!=null&&p.push(v),p._writableState.length)throw new n;if(p._transformState.transforming)throw new i;return p.push(null)}return Eu}function cd(){if(od)return _u;od=!0,_u=e;var r=Ru();gi()(e,r);function e(t){if(!(this instanceof e))return new e(t);r.call(this,t)}return e.prototype._transform=function(t,i,n){n(null,t)},_u}function hd(){if(ad)return Ou;ad=!0;var r;function e(v){var m=!1;return function(){m||(m=!0,v.apply(void 0,arguments))}}var t=Wi().codes,i=t.ERR_MISSING_ARGS,n=t.ERR_STREAM_DESTROYED;function o(v){if(v)throw v}function s(v){return v.setHeader&&typeof v.abort=="function"}function u(v,m,g,b){b=e(b);var E=!1;v.on("close",function(){E=!0}),r===void 0&&(r=So()),r(v,{readable:m,writable:g},function(x){if(x)return b(x);E=!0,b()});var A=!1;return function(x){if(!E&&!A){if(A=!0,s(v))return v.abort();if(typeof v.destroy=="function")return v.destroy();b(x||new n("pipe"))}}}function f(v){v()}function c(v,m){return v.pipe(m)}function p(v){return!v.length||typeof v[v.length-1]!="function"?o:v.pop()}function d(){for(var v=arguments.length,m=new Array(v),g=0;g<v;g++)m[g]=arguments[g];var b=p(m);if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new i("streams");var E,A=m.map(function(x,I){var D=I<m.length-1,j=I>0;return u(x,D,j,function(ae){E||(E=ae),ae&&A.forEach(f),!D&&(A.forEach(f),b(E))})});return m.reduce(c)}return Ou=d,Ou}var xn,Wp,wo,zp,di,Vp,Vr,bo,Gp,lu,Hp,fu,Yp,cu,Kp,hu,Jp,pu,Qp,du,Xp,yu,gu,Zp,gb,mu,ed,vu,td,wu,rd,bu,id,Su,nd,wb,Eu,sd,_u,od,Ou,ad,In=rt(()=>{B();F();N();Wr();qi();kr();$r();pi();xn={},Wp=!1;wo={},zp=!1;di={},Vp=!1;Vr=pb();Vr.Buffer;Vr.INSPECT_MAX_BYTES;Vr.kMaxLength;bo={},Gp=!1;lu={},Hp=!1;fu={},Yp=!1;cu={},Kp=!1;hu={},Jp=!1;pu={},Qp=!1;du={},Xp=!1,yu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;gu={},Zp=!1,gb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;mu={},ed=!1;vu={},td=!1;wu={},rd=!1;bu={},id=!1;Su={},nd=!1,wb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Eu={},sd=!1;_u={},od=!1;Ou={},ad=!1});function pd(r,e){if(r==null)throw new TypeError("Cannot convert first argument to object");for(var t=Object(r),i=1;i<arguments.length;i++){var n=arguments[i];if(n!=null)for(var o=Object.keys(Object(n)),s=0,u=o.length;s<u;s++){var f=o[s],c=Object.getOwnPropertyDescriptor(n,f);c!==void 0&&c.enumerable&&(t[f]=n[f])}}return t}function iy(){if(Td)return Bu;function r(c){return(r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p})(c)}function e(c,p){return!p||r(p)!=="object"&&typeof p!="function"?function(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}(c):p}function t(c){return(t=Object.setPrototypeOf?Object.getPrototypeOf:function(p){return p.__proto__||Object.getPrototypeOf(p)})(c)}function i(c,p){return(i=Object.setPrototypeOf||function(d,v){return d.__proto__=v,d})(c,p)}Td=!0;var n,o,s={};function u(c,p,d){d||(d=Error);var v=function(m){function g(b,E,A){var x;return function(I,D){if(!(I instanceof D))throw new TypeError("Cannot call a class as a function")}(this,g),(x=e(this,t(g).call(this,function(I,D,j){return typeof p=="string"?p:p(I,D,j)}(b,E,A)))).code=c,x}return function(b,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(E&&E.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),E&&i(b,E)}(g,m),g}(d);s[c]=v}function f(c,p){if(Array.isArray(c)){var d=c.length;return c=c.map(function(v){return String(v)}),d>2?"one of ".concat(p," ").concat(c.slice(0,d-1).join(", "),", or ")+c[d-1]:d===2?"one of ".concat(p," ").concat(c[0]," or ").concat(c[1]):"of ".concat(p," ").concat(c[0])}return"of ".concat(p," ").concat(String(c))}return u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",function(c,p,d){var v,m,g;if(n===void 0&&(n=ju()),n(typeof c=="string","'name' must be a string"),typeof p=="string"&&(m="not ",p.substr(0,m.length)===m)?(v="must not be",p=p.replace(/^not /,"")):v="must be",function(E,A,x){return(x===void 0||x>E.length)&&(x=E.length),E.substring(x-A.length,x)===A}(c," argument"))g="The ".concat(c," ").concat(v," ").concat(f(p,"type"));else{var b=function(E,A,x){return typeof x!="number"&&(x=0),!(x+A.length>E.length)&&E.indexOf(A,x)!==-1}(c,".")?"property":"argument";g='The "'.concat(c,'" ').concat(b," ").concat(v," ").concat(f(p,"type"))}return g+=". Received type ".concat(r(d))},TypeError),u("ERR_INVALID_ARG_VALUE",function(c,p){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";o===void 0&&(o=G);var v=o.inspect(p);return v.length>128&&(v="".concat(v.slice(0,128),"...")),"The argument '".concat(c,"' ").concat(d,". Received ").concat(v)},TypeError),u("ERR_INVALID_RETURN_VALUE",function(c,p,d){var v;return v=d&&d.constructor&&d.constructor.name?"instance of ".concat(d.constructor.name):"type ".concat(r(d)),"Expected ".concat(c,' to be returned from the "').concat(p,'"')+" function but got ".concat(v,".")},TypeError),u("ERR_MISSING_ARGS",function(){for(var c=arguments.length,p=new Array(c),d=0;d<c;d++)p[d]=arguments[d];n===void 0&&(n=ju()),n(p.length>0,"At least one arg needs to be specified");var v="The ",m=p.length;switch(p=p.map(function(g){return'"'.concat(g,'"')}),m){case 1:v+="".concat(p[0]," argument");break;case 2:v+="".concat(p[0]," and ").concat(p[1]," arguments");break;default:v+=p.slice(0,m-1).join(", "),v+=", and ".concat(p[m-1]," arguments")}return"".concat(v," must be specified")},TypeError),Bu.codes=s,Bu}function nS(){if(xd)return Rd;xd=!0;var r=Ge;function e(X,K,Q){return K in X?Object.defineProperty(X,K,{value:Q,enumerable:!0,configurable:!0,writable:!0}):X[K]=Q,X}function t(X,K){for(var Q=0;Q<K.length;Q++){var se=K[Q];se.enumerable=se.enumerable||!1,se.configurable=!0,"value"in se&&(se.writable=!0),Object.defineProperty(X,se.key,se)}}function i(X,K){return!K||p(K)!=="object"&&typeof K!="function"?n(X):K}function n(X){if(X===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return X}function o(X){var K=typeof Map=="function"?new Map:void 0;return(o=function(Q){if(Q===null||(se=Q,Function.toString.call(se).indexOf("[native code]")===-1))return Q;var se;if(typeof Q!="function")throw new TypeError("Super expression must either be null or a function");if(K!==void 0){if(K.has(Q))return K.get(Q);K.set(Q,_e)}function _e(){return u(Q,arguments,c(this).constructor)}return _e.prototype=Object.create(Q.prototype,{constructor:{value:_e,enumerable:!1,writable:!0,configurable:!0}}),f(_e,Q)})(X)}function s(){if(typeof Reflect>"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 u(X,K,Q){return(u=s()?Reflect.construct:function(se,_e,Oe){var Ce=[null];Ce.push.apply(Ce,_e);var Ee=new(Function.bind.apply(se,Ce));return Oe&&f(Ee,Oe.prototype),Ee}).apply(null,arguments)}function f(X,K){return(f=Object.setPrototypeOf||function(Q,se){return Q.__proto__=se,Q})(X,K)}function c(X){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)})(X)}function p(X){return(p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(K){return typeof K}:function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K})(X)}var d=G.inspect,v=iy().codes.ERR_INVALID_ARG_TYPE;function m(X,K,Q){return(Q===void 0||Q>X.length)&&(Q=X.length),X.substring(Q-K.length,Q)===K}var g="",b="",E="",A="",x={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 I(X){var K=Object.keys(X),Q=Object.create(Object.getPrototypeOf(X));return K.forEach(function(se){Q[se]=X[se]}),Object.defineProperty(Q,"message",{value:X.message}),Q}function D(X){return d(X,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function j(X,K,Q){var se="",_e="",Oe=0,Ce="",Ee=!1,De=D(X),Ae=De.split(`
|
|
10
|
+
`)):u=r.stylize("[Circular]","special")),ui(s)){if(o&&n.match(/^\d+$/))return u;(s=JSON.stringify(""+n)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=r.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=r.stylize(s,"string"))}return s+": "+u}function Sp(r){return Array.isArray(r)}function Za(r){return typeof r=="boolean"}function po(r){return r===null}function Ep(r){return typeof r=="number"}function fo(r){return typeof r=="string"}function ui(r){return r===void 0}function On(r){return ji(r)&&eu(r)==="[object RegExp]"}function ji(r){return typeof r=="object"&&r!==null}function co(r){return ji(r)&&eu(r)==="[object Date]"}function An(r){return ji(r)&&(eu(r)==="[object Error]"||r instanceof Error)}function so(r){return typeof r=="function"}function eu(r){return Object.prototype.toString.call(r)}function Ja(r){return r<10?"0"+r.toString(10):r.toString(10)}function j0(){var r=new Date,e=[Ja(r.getHours()),Ja(r.getMinutes()),Ja(r.getSeconds())].join(":");return[r.getDate(),U0[r.getMonth()],e].join(" ")}function _p(r,e){return Object.prototype.hasOwnProperty.call(r,e)}function q0(r,e){if(!r){var t=new Error("Promise was rejected with a falsy value");t.reason=r,r=t}return e(r)}var m0,Qa,ho,np,v0,w0,b0,S0,E0,sp,op,Hh,_0,O0,A0,ap,Fe,T0,R0,x0,up,Xa,Nt,kt,I0,nt,P0,C0,B0,_n,G,fr,ip,F0,io,bp,no,U0,ai,kr=rt(()=>{L();F();N();Ir();m0=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Qa=Object.prototype.toString,ho=function(r){return!(m0&&r&&typeof r=="object"&&Symbol.toStringTag in r)&&Qa.call(r)==="[object Arguments]"},np=function(r){return!!ho(r)||r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&Qa.call(r)!=="[object Array]"&&Qa.call(r.callee)==="[object Function]"},v0=function(){return ho(arguments)}();ho.isLegacyArguments=np;w0=v0?ho:np,b0=Object.prototype.toString,S0=Function.prototype.toString,E0=/^\s*(?:function)?\*/,sp=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",op=Object.getPrototypeOf,Hh=function(){if(!sp)return!1;try{return Function("return function*() {}")()}catch{}}(),_0=Hh?op(Hh):{},O0=function(r){return typeof r=="function"&&(!!E0.test(S0.call(r))||(sp?op(r)===_0:b0.call(r)==="[object GeneratorFunction]"))},A0=typeof Object.create=="function"?function(r,e){e&&(r.super_=e,r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:function(r,e){if(e){r.super_=e;var t=function(){};t.prototype=e.prototype,r.prototype=new t,r.prototype.constructor=r}},ap=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"},Fe={},T0=ap,R0=w0,x0=O0;up=typeof BigInt<"u",Xa=typeof Symbol<"u",Nt=Xa&&Symbol.toStringTag!==void 0,kt=typeof Uint8Array<"u",I0=typeof ArrayBuffer<"u";if(kt&&Nt)var k0=Object.getPrototypeOf(Uint8Array.prototype),Wt=li(Object.getOwnPropertyDescriptor(k0,Symbol.toStringTag).get);nt=li(Object.prototype.toString),P0=li(Number.prototype.valueOf),C0=li(String.prototype.valueOf),B0=li(Boolean.prototype.valueOf);if(up)var L0=li(BigInt.prototype.valueOf);if(Xa)var N0=li(Symbol.prototype.valueOf);Fe.isArgumentsObject=R0,Fe.isGeneratorFunction=x0,Fe.isPromise=function(r){return typeof Promise<"u"&&r instanceof Promise||r!==null&&typeof r=="object"&&typeof r.then=="function"&&typeof r.catch=="function"},Fe.isArrayBufferView=function(r){return I0&&ArrayBuffer.isView?ArrayBuffer.isView(r):Yh(r)||Jh(r)},Fe.isTypedArray=Yh,Fe.isUint8Array=lp,Fe.isUint8ClampedArray=fp,Fe.isUint16Array=cp,Fe.isUint32Array=hp,Fe.isInt8Array=pp,Fe.isInt16Array=dp,Fe.isInt32Array=yp,Fe.isFloat32Array=gp,Fe.isFloat64Array=mp,Fe.isBigInt64Array=vp,Fe.isBigUint64Array=wp,eo.working=typeof Map<"u"&&eo(new Map),Fe.isMap=function(r){return typeof Map<"u"&&(eo.working?eo(r):r instanceof Map)},to.working=typeof Set<"u"&&to(new Set),Fe.isSet=function(r){return typeof Set<"u"&&(to.working?to(r):r instanceof Set)},ro.working=typeof WeakMap<"u"&&ro(new WeakMap),Fe.isWeakMap=function(r){return typeof WeakMap<"u"&&(ro.working?ro(r):r instanceof WeakMap)},Ha.working=typeof WeakSet<"u"&&Ha(new WeakSet),Fe.isWeakSet=function(r){return Ha(r)},oo.working=typeof ArrayBuffer<"u"&&oo(new ArrayBuffer),Fe.isArrayBuffer=Kh,ao.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&ao(new DataView(new ArrayBuffer(1),0,1)),Fe.isDataView=Jh,uo.working=typeof SharedArrayBuffer<"u"&&uo(new SharedArrayBuffer),Fe.isSharedArrayBuffer=Qh,Fe.isAsyncFunction=function(r){return nt(r)==="[object AsyncFunction]"},Fe.isMapIterator=function(r){return nt(r)==="[object Map Iterator]"},Fe.isSetIterator=function(r){return nt(r)==="[object Set Iterator]"},Fe.isGeneratorObject=function(r){return nt(r)==="[object Generator]"},Fe.isWebAssemblyCompiledModule=function(r){return nt(r)==="[object WebAssembly.Module]"},Fe.isNumberObject=Xh,Fe.isStringObject=Zh,Fe.isBooleanObject=ep,Fe.isBigIntObject=tp,Fe.isSymbolObject=rp,Fe.isBoxedPrimitive=function(r){return Xh(r)||Zh(r)||ep(r)||tp(r)||rp(r)},Fe.isAnyArrayBuffer=function(r){return kt&&(Kh(r)||Qh(r))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(r){Object.defineProperty(Fe,r,{enumerable:!1,value:function(){throw new Error(r+" is not supported in userland")}})});_n=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,G={},fr=He,ip=Object.getOwnPropertyDescriptors||function(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++)t[e[i]]=Object.getOwnPropertyDescriptor(r,e[i]);return t},F0=/%[sdj%]/g;G.format=function(r){if(!fo(r)){for(var e=[],t=0;t<arguments.length;t++)e.push(zr(arguments[t]));return e.join(" ")}t=1;for(var i=arguments,n=i.length,o=String(r).replace(F0,function(u){if(u==="%%")return"%";if(t>=n)return u;switch(u){case"%s":return String(i[t++]);case"%d":return Number(i[t++]);case"%j":try{return JSON.stringify(i[t++])}catch{return"[Circular]"}default:return u}}),s=i[t];t<n;s=i[++t])po(s)||!ji(s)?o+=" "+s:o+=" "+zr(s);return o},G.deprecate=function(r,e){if(fr!==void 0&&fr.noDeprecation===!0)return r;if(fr===void 0)return function(){return G.deprecate(r,e).apply(this||_n,arguments)};var t=!1;return function(){if(!t){if(fr.throwDeprecation)throw new Error(e);fr.traceDeprecation?console.trace(e):console.error(e),t=!0}return r.apply(this||_n,arguments)}};io={},bp=/^$/;fr.env.NODE_DEBUG&&(no=fr.env.NODE_DEBUG,no=no.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),bp=new RegExp("^"+no+"$","i"));G.debuglog=function(r){if(r=r.toUpperCase(),!io[r])if(bp.test(r)){var e=fr.pid;io[r]=function(){var t=G.format.apply(G,arguments);console.error("%s %d: %s",r,e,t)}}else io[r]=function(){};return io[r]},G.inspect=zr,zr.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]},zr.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},G.types=Fe,G.isArray=Sp,G.isBoolean=Za,G.isNull=po,G.isNullOrUndefined=function(r){return r==null},G.isNumber=Ep,G.isString=fo,G.isSymbol=function(r){return typeof r=="symbol"},G.isUndefined=ui,G.isRegExp=On,G.types.isRegExp=On,G.isObject=ji,G.isDate=co,G.types.isDate=co,G.isError=An,G.types.isNativeError=An,G.isFunction=so,G.isPrimitive=function(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||typeof r=="symbol"||r===void 0},G.isBuffer=ap;U0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];G.log=function(){console.log("%s - %s",j0(),G.format.apply(G,arguments))},G.inherits=A0,G._extend=function(r,e){if(!e||!ji(e))return r;for(var t=Object.keys(e),i=t.length;i--;)r[t[i]]=e[t[i]];return r};ai=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;G.promisify=function(r){if(typeof r!="function")throw new TypeError('The "original" argument must be of type Function');if(ai&&r[ai]){var e;if(typeof(e=r[ai])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,ai,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var t,i,n=new Promise(function(u,f){t=u,i=f}),o=[],s=0;s<arguments.length;s++)o.push(arguments[s]);o.push(function(u,f){u?i(u):t(f)});try{r.apply(this||_n,o)}catch(u){i(u)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(r)),ai&&Object.defineProperty(e,ai,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,ip(r))},G.promisify.custom=ai,G.callbackify=function(r){if(typeof r!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var t=[],i=0;i<arguments.length;i++)t.push(arguments[i]);var n=t.pop();if(typeof n!="function")throw new TypeError("The last argument must be of type Function");var o=this||_n,s=function(){return n.apply(o,arguments)};r.apply(this||_n,t).then(function(u){fr.nextTick(s.bind(null,null,u))},function(u){fr.nextTick(q0.bind(null,u,s))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(r)),Object.defineProperties(e,ip(r)),e}});var kI,PI,CI,BI,LI,NI,FI,DI,MI,UI,jI,qI,$I,WI,zI,VI,GI,HI,YI,KI,JI,QI,XI,ZI,ek,tk,rk,qi=rt(()=>{L();F();N();kr();Ir();G._extend;G.callbackify;G.debuglog;G.deprecate;G.format;G.inherits;G.inspect;G.isArray;G.isBoolean;G.isBuffer;G.isDate;G.isError;G.isFunction;G.isNull;G.isNullOrUndefined;G.isNumber;G.isObject;G.isPrimitive;G.isRegExp;G.isString;G.isSymbol;G.isUndefined;G.log;G.promisify;kI=G._extend,PI=G.callbackify,CI=G.debuglog,BI=G.deprecate,LI=G.format,NI=G.inherits,FI=G.inspect,DI=G.isArray,MI=G.isBoolean,UI=G.isBuffer,jI=G.isDate,qI=G.isError,$I=G.isFunction,WI=G.isNull,zI=G.isNullOrUndefined,VI=G.isNumber,GI=G.isObject,HI=G.isPrimitive,YI=G.isRegExp,KI=G.isString,JI=G.isSymbol,QI=G.isUndefined,XI=G.log,ZI=G.promisify,ek=G.types,tk=self.TextEncoder,rk=self.TextDecoder});function Tp(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");return t===-1&&(t=e),[t,t===e?0:4-t%4]}function $0(r,e,t){for(var i,n,o=[],s=e;s<t;s+=3)i=(r[s]<<16&16711680)+(r[s+1]<<8&65280)+(255&r[s+2]),o.push(er[(n=i)>>18&63]+er[n>>12&63]+er[n>>6&63]+er[63&n]);return o.join("")}function Pr(r){if(r>2147483647)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,ie.prototype),e}function ie(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return nu(r)}return Fp(r,e,t)}function Fp(r,e,t){if(typeof r=="string")return function(o,s){if(typeof s=="string"&&s!==""||(s="utf8"),!ie.isEncoding(s))throw new TypeError("Unknown encoding: "+s);var u=0|Mp(o,s),f=Pr(u),c=f.write(o,s);return c!==u&&(f=f.slice(0,c)),f}(r,e);if(ArrayBuffer.isView(r))return tu(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(Cr(r,ArrayBuffer)||r&&Cr(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Cr(r,SharedArrayBuffer)||r&&Cr(r.buffer,SharedArrayBuffer)))return xp(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=r.valueOf&&r.valueOf();if(i!=null&&i!==r)return ie.from(i,e,t);var n=function(o){if(ie.isBuffer(o)){var s=0|au(o.length),u=Pr(s);return u.length===0||o.copy(u,0,0,s),u}if(o.length!==void 0)return typeof o.length!="number"||uu(o.length)?Pr(0):tu(o);if(o.type==="Buffer"&&Array.isArray(o.data))return tu(o.data)}(r);if(n)return n;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return ie.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}function Dp(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function nu(r){return Dp(r),Pr(r<0?0:0|au(r))}function tu(r){for(var e=r.length<0?0:0|au(r.length),t=Pr(e),i=0;i<e;i+=1)t[i]=255&r[i];return t}function xp(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return i=e===void 0&&t===void 0?new Uint8Array(r):t===void 0?new Uint8Array(r,e):new Uint8Array(r,e,t),Object.setPrototypeOf(i,ie.prototype),i}function au(r){if(r>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|r}function Mp(r,e){if(ie.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||Cr(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return su(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return $p(r).length;default:if(n)return i?-1:su(r).length;e=(""+e).toLowerCase(),n=!0}}function z0(r,e,t){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0)<=(e>>>=0))return"";for(r||(r="utf8");;)switch(r){case"hex":return Z0(this,e,t);case"utf8":case"utf-8":return jp(this,e,t);case"ascii":return Q0(this,e,t);case"latin1":case"binary":return X0(this,e,t);case"base64":return J0(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eb(this,e,t);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),i=!0}}function ci(r,e,t){var i=r[e];r[e]=r[t],r[t]=i}function Ip(r,e,t,i,n){if(r.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),uu(t=+t)&&(t=n?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(n)return-1;t=r.length-1}else if(t<0){if(!n)return-1;t=0}if(typeof e=="string"&&(e=ie.from(e,i)),ie.isBuffer(e))return e.length===0?-1:kp(r,e,t,i,n);if(typeof e=="number")return e&=255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):kp(r,[e],t,i,n);throw new TypeError("val must be string, number or Buffer")}function kp(r,e,t,i,n){var o,s=1,u=r.length,f=e.length;if(i!==void 0&&((i=String(i).toLowerCase())==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(r.length<2||e.length<2)return-1;s=2,u/=2,f/=2,t/=2}function c(m,g){return s===1?m[g]:m.readUInt16BE(g*s)}if(n){var p=-1;for(o=t;o<u;o++)if(c(r,o)===c(e,p===-1?0:o-p)){if(p===-1&&(p=o),o-p+1===f)return p*s}else p!==-1&&(o-=o-p),p=-1}else for(t+f>u&&(t=u-f),o=t;o>=0;o--){for(var d=!0,v=0;v<f;v++)if(c(r,o+v)!==c(e,v)){d=!1;break}if(d)return o}return-1}function V0(r,e,t,i){t=Number(t)||0;var n=r.length-t;i?(i=Number(i))>n&&(i=n):i=n;var o=e.length;i>o/2&&(i=o/2);for(var s=0;s<i;++s){var u=parseInt(e.substr(2*s,2),16);if(uu(u))return s;r[t+s]=u}return s}function G0(r,e,t,i){return vo(su(e,r.length-t),r,t,i)}function Up(r,e,t,i){return vo(function(n){for(var o=[],s=0;s<n.length;++s)o.push(255&n.charCodeAt(s));return o}(e),r,t,i)}function H0(r,e,t,i){return Up(r,e,t,i)}function Y0(r,e,t,i){return vo($p(e),r,t,i)}function K0(r,e,t,i){return vo(function(n,o){for(var s,u,f,c=[],p=0;p<n.length&&!((o-=2)<0);++p)s=n.charCodeAt(p),u=s>>8,f=s%256,c.push(f),c.push(u);return c}(e,r.length-t),r,t,i)}function J0(r,e,t){return e===0&&t===r.length?iu.fromByteArray(r):iu.fromByteArray(r.slice(e,t))}function jp(r,e,t){t=Math.min(r.length,t);for(var i=[],n=e;n<t;){var o,s,u,f,c=r[n],p=null,d=c>239?4:c>223?3:c>191?2:1;if(n+d<=t)switch(d){case 1:c<128&&(p=c);break;case 2:(192&(o=r[n+1]))==128&&(f=(31&c)<<6|63&o)>127&&(p=f);break;case 3:o=r[n+1],s=r[n+2],(192&o)==128&&(192&s)==128&&(f=(15&c)<<12|(63&o)<<6|63&s)>2047&&(f<55296||f>57343)&&(p=f);break;case 4:o=r[n+1],s=r[n+2],u=r[n+3],(192&o)==128&&(192&s)==128&&(192&u)==128&&(f=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&u)>65535&&f<1114112&&(p=f)}p===null?(p=65533,d=1):p>65535&&(p-=65536,i.push(p>>>10&1023|55296),p=56320|1023&p),i.push(p),n+=d}return function(v){var m=v.length;if(m<=4096)return String.fromCharCode.apply(String,v);for(var g="",b=0;b<m;)g+=String.fromCharCode.apply(String,v.slice(b,b+=4096));return g}(i)}function Q0(r,e,t){var i="";t=Math.min(r.length,t);for(var n=e;n<t;++n)i+=String.fromCharCode(127&r[n]);return i}function X0(r,e,t){var i="";t=Math.min(r.length,t);for(var n=e;n<t;++n)i+=String.fromCharCode(r[n]);return i}function Z0(r,e,t){var i=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=e;o<t;++o)n+=rb[r[o]];return n}function eb(r,e,t){for(var i=r.slice(e,t),n="",o=0;o<i.length;o+=2)n+=String.fromCharCode(i[o]+256*i[o+1]);return n}function ht(r,e,t){if(r%1!=0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}function Pt(r,e,t,i,n,o){if(!ie.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<o)throw new RangeError('"value" argument is out of bounds');if(t+i>r.length)throw new RangeError("Index out of range")}function qp(r,e,t,i,n,o){if(t+i>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Pp(r,e,t,i,n){return e=+e,t>>>=0,n||qp(r,0,t,4),$i.write(r,e,t,i,23,4),t+4}function Cp(r,e,t,i,n){return e=+e,t>>>=0,n||qp(r,0,t,8),$i.write(r,e,t,i,52,8),t+8}function su(r,e){var t;e=e||1/0;for(var i=r.length,n=null,o=[],s=0;s<i;++s){if((t=r.charCodeAt(s))>55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),n=t;continue}t=65536+(n-55296<<10|t-56320)}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return o}function $p(r){return iu.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(tb,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(r))}function vo(r,e,t,i){for(var n=0;n<i&&!(n+t>=e.length||n>=r.length);++n)e[n+t]=r[n];return n}function Cr(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function uu(r){return r!=r}function Bp(r,e){for(var t in r)e[t]=r[t]}function hi(r,e,t){return cr(r,e,t)}function Rn(r){var e;switch(this.encoding=function(t){var i=function(n){if(!n)return"utf8";for(var o;;)switch(n){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 n;default:if(o)return;n=(""+n).toLowerCase(),o=!0}}(t);if(typeof i!="string"&&(ou.isEncoding===Lp||!Lp(t)))throw new Error("Unknown encoding: "+t);return i||t}(r),this.encoding){case"utf16le":this.text=sb,this.end=ob,e=4;break;case"utf8":this.fillLast=nb,e=4;break;case"base64":this.text=ab,this.end=ub,e=3;break;default:return this.write=lb,this.end=fb,void 0}this.lastNeed=0,this.lastTotal=0,this.lastChar=ou.allocUnsafe(e)}function ru(r){return r<=127?0:r>>5==6?2:r>>4==14?3:r>>3==30?4:r>>6==2?-1:-2}function nb(r){var e=this.lastTotal-this.lastNeed,t=function(i,n,o){if((192&n[0])!=128)return i.lastNeed=0,"\uFFFD";if(i.lastNeed>1&&n.length>1){if((192&n[1])!=128)return i.lastNeed=1,"\uFFFD";if(i.lastNeed>2&&n.length>2&&(192&n[2])!=128)return i.lastNeed=2,"\uFFFD"}}(this,r);return t!==void 0?t:this.lastNeed<=r.length?(r.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(r.copy(this.lastChar,e,0,r.length),this.lastNeed-=r.length,void 0)}function sb(r,e){if((r.length-e)%2==0){var t=r.toString("utf16le",e);if(t){var i=t.charCodeAt(t.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1],t.slice(0,-1)}return t}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=r[r.length-1],r.toString("utf16le",e,r.length-1)}function ob(r){var e=r&&r.length?this.write(r):"";if(this.lastNeed){var t=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,t)}return e}function ab(r,e){var t=(r.length-e)%3;return t===0?r.toString("base64",e):(this.lastNeed=3-t,this.lastTotal=3,t===1?this.lastChar[0]=r[r.length-1]:(this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1]),r.toString("base64",e,r.length-t))}function ub(r){var e=r&&r.length?this.write(r):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function lb(r){return r.toString(this.encoding)}function fb(r){return r&&r.length?this.write(r):""}var Np,er,Ft,Op,yo,fi,Ap,W0,Br,iu,$i,Rp,tb,rb,go,mo,cr,ib,Lr,ou,Lp,pi=rt(()=>{L();F();N();for(Np={byteLength:function(r){var e=Tp(r),t=e[0],i=e[1];return 3*(t+i)/4-i},toByteArray:function(r){var e,t,i=Tp(r),n=i[0],o=i[1],s=new Op(function(c,p,d){return 3*(p+d)/4-d}(0,n,o)),u=0,f=o>0?n-4:n;for(t=0;t<f;t+=4)e=Ft[r.charCodeAt(t)]<<18|Ft[r.charCodeAt(t+1)]<<12|Ft[r.charCodeAt(t+2)]<<6|Ft[r.charCodeAt(t+3)],s[u++]=e>>16&255,s[u++]=e>>8&255,s[u++]=255&e;return o===2&&(e=Ft[r.charCodeAt(t)]<<2|Ft[r.charCodeAt(t+1)]>>4,s[u++]=255&e),o===1&&(e=Ft[r.charCodeAt(t)]<<10|Ft[r.charCodeAt(t+1)]<<4|Ft[r.charCodeAt(t+2)]>>2,s[u++]=e>>8&255,s[u++]=255&e),s},fromByteArray:function(r){for(var e,t=r.length,i=t%3,n=[],o=0,s=t-i;o<s;o+=16383)n.push($0(r,o,o+16383>s?s:o+16383));return i===1?(e=r[t-1],n.push(er[e>>2]+er[e<<4&63]+"==")):i===2&&(e=(r[t-2]<<8)+r[t-1],n.push(er[e>>10]+er[e>>4&63]+er[e<<2&63]+"=")),n.join("")}},er=[],Ft=[],Op=typeof Uint8Array<"u"?Uint8Array:Array,yo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fi=0,Ap=yo.length;fi<Ap;++fi)er[fi]=yo[fi],Ft[yo.charCodeAt(fi)]=fi;Ft[45]=62,Ft[95]=63;W0={read:function(r,e,t,i,n){var o,s,u=8*n-i-1,f=(1<<u)-1,c=f>>1,p=-7,d=t?n-1:0,v=t?-1:1,m=r[e+d];for(d+=v,o=m&(1<<-p)-1,m>>=-p,p+=u;p>0;o=256*o+r[e+d],d+=v,p-=8);for(s=o&(1<<-p)-1,o>>=-p,p+=i;p>0;s=256*s+r[e+d],d+=v,p-=8);if(o===0)o=1-c;else{if(o===f)return s?NaN:1/0*(m?-1:1);s+=Math.pow(2,i),o-=c}return(m?-1:1)*s*Math.pow(2,o-i)},write:function(r,e,t,i,n,o){var s,u,f,c=8*o-n-1,p=(1<<c)-1,d=p>>1,v=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,g=i?1:-1,b=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=p):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),(e+=s+d>=1?v/f:v*Math.pow(2,1-d))*f>=2&&(s++,f/=2),s+d>=p?(u=0,s=p):s+d>=1?(u=(e*f-1)*Math.pow(2,n),s+=d):(u=e*Math.pow(2,d-1)*Math.pow(2,n),s=0));n>=8;r[t+m]=255&u,m+=g,u/=256,n-=8);for(s=s<<n|u,c+=n;c>0;r[t+m]=255&s,m+=g,s/=256,c-=8);r[t+m-g]|=128*b}},Br={},iu=Np,$i=W0,Rp=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Br.Buffer=ie,Br.SlowBuffer=function(r){return+r!=r&&(r=0),ie.alloc(+r)},Br.INSPECT_MAX_BYTES=50;Br.kMaxLength=2147483647,ie.TYPED_ARRAY_SUPPORT=function(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch{return!1}}(),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."),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}}),ie.poolSize=8192,ie.from=function(r,e,t){return Fp(r,e,t)},Object.setPrototypeOf(ie.prototype,Uint8Array.prototype),Object.setPrototypeOf(ie,Uint8Array),ie.alloc=function(r,e,t){return function(i,n,o){return Dp(i),i<=0?Pr(i):n!==void 0?typeof o=="string"?Pr(i).fill(n,o):Pr(i).fill(n):Pr(i)}(r,e,t)},ie.allocUnsafe=function(r){return nu(r)},ie.allocUnsafeSlow=function(r){return nu(r)},ie.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==ie.prototype},ie.compare=function(r,e){if(Cr(r,Uint8Array)&&(r=ie.from(r,r.offset,r.byteLength)),Cr(e,Uint8Array)&&(e=ie.from(e,e.offset,e.byteLength)),!ie.isBuffer(r)||!ie.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var t=r.length,i=e.length,n=0,o=Math.min(t,i);n<o;++n)if(r[n]!==e[n]){t=r[n],i=e[n];break}return t<i?-1:i<t?1:0},ie.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},ie.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return ie.alloc(0);var t;if(e===void 0)for(e=0,t=0;t<r.length;++t)e+=r[t].length;var i=ie.allocUnsafe(e),n=0;for(t=0;t<r.length;++t){var o=r[t];if(Cr(o,Uint8Array)&&(o=ie.from(o)),!ie.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,n),n+=o.length}return i},ie.byteLength=Mp,ie.prototype._isBuffer=!0,ie.prototype.swap16=function(){var r=this.length;if(r%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)ci(this,e,e+1);return this},ie.prototype.swap32=function(){var r=this.length;if(r%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)ci(this,e,e+3),ci(this,e+1,e+2);return this},ie.prototype.swap64=function(){var r=this.length;if(r%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)ci(this,e,e+7),ci(this,e+1,e+6),ci(this,e+2,e+5),ci(this,e+3,e+4);return this},ie.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?jp(this,0,r):z0.apply(this,arguments)},ie.prototype.toLocaleString=ie.prototype.toString,ie.prototype.equals=function(r){if(!ie.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r||ie.compare(this,r)===0},ie.prototype.inspect=function(){var r="",e=Br.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"},Rp&&(ie.prototype[Rp]=ie.prototype.inspect),ie.prototype.compare=function(r,e,t,i,n){if(Cr(r,Uint8Array)&&(r=ie.from(r,r.offset,r.byteLength)),!ie.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),t===void 0&&(t=r?r.length:0),i===void 0&&(i=0),n===void 0&&(n=this.length),e<0||t>r.length||i<0||n>this.length)throw new RangeError("out of range index");if(i>=n&&e>=t)return 0;if(i>=n)return-1;if(e>=t)return 1;if(this===r)return 0;for(var o=(n>>>=0)-(i>>>=0),s=(t>>>=0)-(e>>>=0),u=Math.min(o,s),f=this.slice(i,n),c=r.slice(e,t),p=0;p<u;++p)if(f[p]!==c[p]){o=f[p],s=c[p];break}return o<s?-1:s<o?1:0},ie.prototype.includes=function(r,e,t){return this.indexOf(r,e,t)!==-1},ie.prototype.indexOf=function(r,e,t){return Ip(this,r,e,t,!0)},ie.prototype.lastIndexOf=function(r,e,t){return Ip(this,r,e,t,!1)},ie.prototype.write=function(r,e,t,i){if(e===void 0)i="utf8",t=this.length,e=0;else if(t===void 0&&typeof e=="string")i=e,t=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(t)?(t>>>=0,i===void 0&&(i="utf8")):(i=t,t=void 0)}var n=this.length-e;if((t===void 0||t>n)&&(t=n),r.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return V0(this,r,e,t);case"utf8":case"utf-8":return G0(this,r,e,t);case"ascii":return Up(this,r,e,t);case"latin1":case"binary":return H0(this,r,e,t);case"base64":return Y0(this,r,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K0(this,r,e,t);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},ie.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};ie.prototype.slice=function(r,e){var t=this.length;(r=~~r)<0?(r+=t)<0&&(r=0):r>t&&(r=t),(e=e===void 0?t:~~e)<0?(e+=t)<0&&(e=0):e>t&&(e=t),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,ie.prototype),i},ie.prototype.readUIntLE=function(r,e,t){r>>>=0,e>>>=0,t||ht(r,e,this.length);for(var i=this[r],n=1,o=0;++o<e&&(n*=256);)i+=this[r+o]*n;return i},ie.prototype.readUIntBE=function(r,e,t){r>>>=0,e>>>=0,t||ht(r,e,this.length);for(var i=this[r+--e],n=1;e>0&&(n*=256);)i+=this[r+--e]*n;return i},ie.prototype.readUInt8=function(r,e){return r>>>=0,e||ht(r,1,this.length),this[r]},ie.prototype.readUInt16LE=function(r,e){return r>>>=0,e||ht(r,2,this.length),this[r]|this[r+1]<<8},ie.prototype.readUInt16BE=function(r,e){return r>>>=0,e||ht(r,2,this.length),this[r]<<8|this[r+1]},ie.prototype.readUInt32LE=function(r,e){return r>>>=0,e||ht(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+16777216*this[r+3]},ie.prototype.readUInt32BE=function(r,e){return r>>>=0,e||ht(r,4,this.length),16777216*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},ie.prototype.readIntLE=function(r,e,t){r>>>=0,e>>>=0,t||ht(r,e,this.length);for(var i=this[r],n=1,o=0;++o<e&&(n*=256);)i+=this[r+o]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*e)),i},ie.prototype.readIntBE=function(r,e,t){r>>>=0,e>>>=0,t||ht(r,e,this.length);for(var i=e,n=1,o=this[r+--i];i>0&&(n*=256);)o+=this[r+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},ie.prototype.readInt8=function(r,e){return r>>>=0,e||ht(r,1,this.length),128&this[r]?-1*(255-this[r]+1):this[r]},ie.prototype.readInt16LE=function(r,e){r>>>=0,e||ht(r,2,this.length);var t=this[r]|this[r+1]<<8;return 32768&t?4294901760|t:t},ie.prototype.readInt16BE=function(r,e){r>>>=0,e||ht(r,2,this.length);var t=this[r+1]|this[r]<<8;return 32768&t?4294901760|t:t},ie.prototype.readInt32LE=function(r,e){return r>>>=0,e||ht(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},ie.prototype.readInt32BE=function(r,e){return r>>>=0,e||ht(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},ie.prototype.readFloatLE=function(r,e){return r>>>=0,e||ht(r,4,this.length),$i.read(this,r,!0,23,4)},ie.prototype.readFloatBE=function(r,e){return r>>>=0,e||ht(r,4,this.length),$i.read(this,r,!1,23,4)},ie.prototype.readDoubleLE=function(r,e){return r>>>=0,e||ht(r,8,this.length),$i.read(this,r,!0,52,8)},ie.prototype.readDoubleBE=function(r,e){return r>>>=0,e||ht(r,8,this.length),$i.read(this,r,!1,52,8)},ie.prototype.writeUIntLE=function(r,e,t,i){r=+r,e>>>=0,t>>>=0,i||Pt(this,r,e,t,Math.pow(2,8*t)-1,0);var n=1,o=0;for(this[e]=255&r;++o<t&&(n*=256);)this[e+o]=r/n&255;return e+t},ie.prototype.writeUIntBE=function(r,e,t,i){r=+r,e>>>=0,t>>>=0,i||Pt(this,r,e,t,Math.pow(2,8*t)-1,0);var n=t-1,o=1;for(this[e+n]=255&r;--n>=0&&(o*=256);)this[e+n]=r/o&255;return e+t},ie.prototype.writeUInt8=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,1,255,0),this[e]=255&r,e+1},ie.prototype.writeUInt16LE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,2,65535,0),this[e]=255&r,this[e+1]=r>>>8,e+2},ie.prototype.writeUInt16BE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=255&r,e+2},ie.prototype.writeUInt32LE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=255&r,e+4},ie.prototype.writeUInt32BE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r,e+4},ie.prototype.writeIntLE=function(r,e,t,i){if(r=+r,e>>>=0,!i){var n=Math.pow(2,8*t-1);Pt(this,r,e,t,n-1,-n)}var o=0,s=1,u=0;for(this[e]=255&r;++o<t&&(s*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/s>>0)-u&255;return e+t},ie.prototype.writeIntBE=function(r,e,t,i){if(r=+r,e>>>=0,!i){var n=Math.pow(2,8*t-1);Pt(this,r,e,t,n-1,-n)}var o=t-1,s=1,u=0;for(this[e+o]=255&r;--o>=0&&(s*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/s>>0)-u&255;return e+t},ie.prototype.writeInt8=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=255&r,e+1},ie.prototype.writeInt16LE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,2,32767,-32768),this[e]=255&r,this[e+1]=r>>>8,e+2},ie.prototype.writeInt16BE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=255&r,e+2},ie.prototype.writeInt32LE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,4,2147483647,-2147483648),this[e]=255&r,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4},ie.prototype.writeInt32BE=function(r,e,t){return r=+r,e>>>=0,t||Pt(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r,e+4},ie.prototype.writeFloatLE=function(r,e,t){return Pp(this,r,e,!0,t)},ie.prototype.writeFloatBE=function(r,e,t){return Pp(this,r,e,!1,t)},ie.prototype.writeDoubleLE=function(r,e,t){return Cp(this,r,e,!0,t)},ie.prototype.writeDoubleBE=function(r,e,t){return Cp(this,r,e,!1,t)},ie.prototype.copy=function(r,e,t,i){if(!ie.isBuffer(r))throw new TypeError("argument should be a Buffer");if(t||(t=0),i||i===0||(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<t&&(i=t),i===t||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-t&&(i=r.length-e+t);var n=i-t;if(this===r&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(e,t,i);else if(this===r&&t<e&&e<i)for(var o=n-1;o>=0;--o)r[o+e]=this[o+t];else Uint8Array.prototype.set.call(r,this.subarray(t,i),e);return n},ie.prototype.fill=function(r,e,t,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,t=this.length):typeof t=="string"&&(i=t,t=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!ie.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var n=r.charCodeAt(0);(i==="utf8"&&n<128||i==="latin1")&&(r=n)}}else typeof r=="number"?r&=255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<t)throw new RangeError("Out of range index");if(t<=e)return this;var o;if(e>>>=0,t=t===void 0?this.length:t>>>0,r||(r=0),typeof r=="number")for(o=e;o<t;++o)this[o]=r;else{var s=ie.isBuffer(r)?r:ie.from(r,i),u=s.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<t-e;++o)this[o+e]=s[o%u]}return this};tb=/[^+/0-9A-Za-z-_]/g;rb=function(){for(var r=new Array(256),e=0;e<16;++e)for(var t=16*e,i=0;i<16;++i)r[t+i]="0123456789abcdef"[e]+"0123456789abcdef"[i];return r}();Br.Buffer;Br.INSPECT_MAX_BYTES;Br.kMaxLength;go={},mo=Br,cr=mo.Buffer;cr.from&&cr.alloc&&cr.allocUnsafe&&cr.allocUnsafeSlow?go=mo:(Bp(mo,go),go.Buffer=hi),hi.prototype=Object.create(cr.prototype),Bp(cr,hi),hi.from=function(r,e,t){if(typeof r=="number")throw new TypeError("Argument must not be a number");return cr(r,e,t)},hi.alloc=function(r,e,t){if(typeof r!="number")throw new TypeError("Argument must be a number");var i=cr(r);return e!==void 0?typeof t=="string"?i.fill(e,t):i.fill(e):i.fill(0),i},hi.allocUnsafe=function(r){if(typeof r!="number")throw new TypeError("Argument must be a number");return cr(r)},hi.allocUnsafeSlow=function(r){if(typeof r!="number")throw new TypeError("Argument must be a number");return mo.SlowBuffer(r)};ib=go,Lr={},ou=ib.Buffer,Lp=ou.isEncoding||function(r){switch((r=""+r)&&r.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}};Lr.StringDecoder=Rn,Rn.prototype.write=function(r){if(r.length===0)return"";var e,t;if(this.lastNeed){if((e=this.fillLast(r))===void 0)return"";t=this.lastNeed,this.lastNeed=0}else t=0;return t<r.length?e?e+this.text(r,t):this.text(r,t):e||""},Rn.prototype.end=function(r){var e=r&&r.length?this.write(r):"";return this.lastNeed?e+"\uFFFD":e},Rn.prototype.text=function(r,e){var t=function(n,o,s){var u=o.length-1;if(u<s)return 0;var f=ru(o[u]);return f>=0?(f>0&&(n.lastNeed=f-1),f):--u<s||f===-2?0:(f=ru(o[u]))>=0?(f>0&&(n.lastNeed=f-2),f):--u<s||f===-2?0:(f=ru(o[u]))>=0?(f>0&&(f===2?f=0:n.lastNeed=f-3),f):0}(this,r,e);if(!this.lastNeed)return r.toString("utf8",e);this.lastTotal=t;var i=r.length-(t-this.lastNeed);return r.copy(this.lastChar,0,i),r.toString("utf8",e,i)},Rn.prototype.fillLast=function(r){if(this.lastNeed<=r.length)return r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,r.length),this.lastNeed-=r.length};Lr.StringDecoder;Lr.StringDecoder});function cb(){if(Wp)return xn;Wp=!0,xn.byteLength=u,xn.toByteArray=c,xn.fromByteArray=v;for(var r=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,o=i.length;n<o;++n)r[n]=i[n],e[i.charCodeAt(n)]=n;e[45]=62,e[95]=63;function s(m){var g=m.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var b=m.indexOf("=");b===-1&&(b=g);var E=b===g?0:4-b%4;return[b,E]}function u(m){var g=s(m),b=g[0],E=g[1];return(b+E)*3/4-E}function f(m,g,b){return(g+b)*3/4-b}function c(m){var g,b=s(m),E=b[0],A=b[1],x=new t(f(m,E,A)),I=0,D=A>0?E-4:E,j;for(j=0;j<D;j+=4)g=e[m.charCodeAt(j)]<<18|e[m.charCodeAt(j+1)]<<12|e[m.charCodeAt(j+2)]<<6|e[m.charCodeAt(j+3)],x[I++]=g>>16&255,x[I++]=g>>8&255,x[I++]=g&255;return A===2&&(g=e[m.charCodeAt(j)]<<2|e[m.charCodeAt(j+1)]>>4,x[I++]=g&255),A===1&&(g=e[m.charCodeAt(j)]<<10|e[m.charCodeAt(j+1)]<<4|e[m.charCodeAt(j+2)]>>2,x[I++]=g>>8&255,x[I++]=g&255),x}function p(m){return r[m>>18&63]+r[m>>12&63]+r[m>>6&63]+r[m&63]}function d(m,g,b){for(var E,A=[],x=g;x<b;x+=3)E=(m[x]<<16&16711680)+(m[x+1]<<8&65280)+(m[x+2]&255),A.push(p(E));return A.join("")}function v(m){for(var g,b=m.length,E=b%3,A=[],x=16383,I=0,D=b-E;I<D;I+=x)A.push(d(m,I,I+x>D?D:I+x));return E===1?(g=m[b-1],A.push(r[g>>2]+r[g<<4&63]+"==")):E===2&&(g=(m[b-2]<<8)+m[b-1],A.push(r[g>>10]+r[g>>4&63]+r[g<<2&63]+"=")),A.join("")}return xn}function hb(){if(zp)return wo;zp=!0;return wo.read=function(r,e,t,i,n){var o,s,u=n*8-i-1,f=(1<<u)-1,c=f>>1,p=-7,d=t?n-1:0,v=t?-1:1,m=r[e+d];for(d+=v,o=m&(1<<-p)-1,m>>=-p,p+=u;p>0;o=o*256+r[e+d],d+=v,p-=8);for(s=o&(1<<-p)-1,o>>=-p,p+=i;p>0;s=s*256+r[e+d],d+=v,p-=8);if(o===0)o=1-c;else{if(o===f)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,i),o=o-c}return(m?-1:1)*s*Math.pow(2,o-i)},wo.write=function(r,e,t,i,n,o){var s,u,f,c=o*8-n-1,p=(1<<c)-1,d=p>>1,v=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,g=i?1:-1,b=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=p):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),s+d>=1?e+=v/f:e+=v*Math.pow(2,1-d),e*f>=2&&(s++,f/=2),s+d>=p?(u=0,s=p):s+d>=1?(u=(e*f-1)*Math.pow(2,n),s=s+d):(u=e*Math.pow(2,d-1)*Math.pow(2,n),s=0));n>=8;r[t+m]=u&255,m+=g,u/=256,n-=8);for(s=s<<n|u,c+=n;c>0;r[t+m]=s&255,m+=g,s/=256,c-=8);r[t+m-g]|=b*128},wo}function pb(){if(Vp)return di;Vp=!0;let r=cb(),e=hb(),t=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;di.Buffer=s,di.SlowBuffer=A,di.INSPECT_MAX_BYTES=50;let i=2147483647;di.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=n(),!s.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 n(){try{let h=new Uint8Array(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,Uint8Array.prototype),Object.setPrototypeOf(h,a),h.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function o(h){if(h>i)throw new RangeError('The value "'+h+'" is invalid for option "size"');let a=new Uint8Array(h);return Object.setPrototypeOf(a,s.prototype),a}function s(h,a,l){if(typeof h=="number"){if(typeof a=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(h)}return u(h,a,l)}s.poolSize=8192;function u(h,a,l){if(typeof h=="string")return d(h,a);if(ArrayBuffer.isView(h))return m(h);if(h==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h);if(Le(h,ArrayBuffer)||h&&Le(h.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Le(h,SharedArrayBuffer)||h&&Le(h.buffer,SharedArrayBuffer)))return g(h,a,l);if(typeof h=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let y=h.valueOf&&h.valueOf();if(y!=null&&y!==h)return s.from(y,a,l);let O=b(h);if(O)return O;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof h[Symbol.toPrimitive]=="function")return s.from(h[Symbol.toPrimitive]("string"),a,l);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h)}s.from=function(h,a,l){return u(h,a,l)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function f(h){if(typeof h!="number")throw new TypeError('"size" argument must be of type number');if(h<0)throw new RangeError('The value "'+h+'" is invalid for option "size"')}function c(h,a,l){return f(h),h<=0?o(h):a!==void 0?typeof l=="string"?o(h).fill(a,l):o(h).fill(a):o(h)}s.alloc=function(h,a,l){return c(h,a,l)};function p(h){return f(h),o(h<0?0:E(h)|0)}s.allocUnsafe=function(h){return p(h)},s.allocUnsafeSlow=function(h){return p(h)};function d(h,a){if((typeof a!="string"||a==="")&&(a="utf8"),!s.isEncoding(a))throw new TypeError("Unknown encoding: "+a);let l=x(h,a)|0,y=o(l),O=y.write(h,a);return O!==l&&(y=y.slice(0,O)),y}function v(h){let a=h.length<0?0:E(h.length)|0,l=o(a);for(let y=0;y<a;y+=1)l[y]=h[y]&255;return l}function m(h){if(Le(h,Uint8Array)){let a=new Uint8Array(h);return g(a.buffer,a.byteOffset,a.byteLength)}return v(h)}function g(h,a,l){if(a<0||h.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(h.byteLength<a+(l||0))throw new RangeError('"length" is outside of buffer bounds');let y;return a===void 0&&l===void 0?y=new Uint8Array(h):l===void 0?y=new Uint8Array(h,a):y=new Uint8Array(h,a,l),Object.setPrototypeOf(y,s.prototype),y}function b(h){if(s.isBuffer(h)){let a=E(h.length)|0,l=o(a);return l.length===0||h.copy(l,0,0,a),l}if(h.length!==void 0)return typeof h.length!="number"||At(h.length)?o(0):v(h);if(h.type==="Buffer"&&Array.isArray(h.data))return v(h.data)}function E(h){if(h>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return h|0}function A(h){return+h!=h&&(h=0),s.alloc(+h)}s.isBuffer=function(a){return a!=null&&a._isBuffer===!0&&a!==s.prototype},s.compare=function(a,l){if(Le(a,Uint8Array)&&(a=s.from(a,a.offset,a.byteLength)),Le(l,Uint8Array)&&(l=s.from(l,l.offset,l.byteLength)),!s.isBuffer(a)||!s.isBuffer(l))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===l)return 0;let y=a.length,O=l.length;for(let k=0,B=Math.min(y,O);k<B;++k)if(a[k]!==l[k]){y=a[k],O=l[k];break}return y<O?-1:O<y?1:0},s.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(a,l){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(a.length===0)return s.alloc(0);let y;if(l===void 0)for(l=0,y=0;y<a.length;++y)l+=a[y].length;let O=s.allocUnsafe(l),k=0;for(y=0;y<a.length;++y){let B=a[y];if(Le(B,Uint8Array))k+B.length>O.length?(s.isBuffer(B)||(B=s.from(B)),B.copy(O,k)):Uint8Array.prototype.set.call(O,B,k);else if(s.isBuffer(B))B.copy(O,k);else throw new TypeError('"list" argument must be an Array of Buffers');k+=B.length}return O};function x(h,a){if(s.isBuffer(h))return h.length;if(ArrayBuffer.isView(h)||Le(h,ArrayBuffer))return h.byteLength;if(typeof h!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof h);let l=h.length,y=arguments.length>2&&arguments[2]===!0;if(!y&&l===0)return 0;let O=!1;for(;;)switch(a){case"ascii":case"latin1":case"binary":return l;case"utf8":case"utf-8":return ce(h).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l*2;case"hex":return l>>>1;case"base64":return St(h).length;default:if(O)return y?-1:ce(h).length;a=(""+a).toLowerCase(),O=!0}}s.byteLength=x;function I(h,a,l){let y=!1;if((a===void 0||a<0)&&(a=0),a>this.length||((l===void 0||l>this.length)&&(l=this.length),l<=0)||(l>>>=0,a>>>=0,l<=a))return"";for(h||(h="utf8");;)switch(h){case"hex":return q(this,a,l);case"utf8":case"utf-8":return Be(this,a,l);case"ascii":return Ae(this,a,l);case"latin1":case"binary":return V(this,a,l);case"base64":return Oe(this,a,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J(this,a,l);default:if(y)throw new TypeError("Unknown encoding: "+h);h=(h+"").toLowerCase(),y=!0}}s.prototype._isBuffer=!0;function D(h,a,l){let y=h[a];h[a]=h[l],h[l]=y}s.prototype.swap16=function(){let a=this.length;if(a%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let l=0;l<a;l+=2)D(this,l,l+1);return this},s.prototype.swap32=function(){let a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let l=0;l<a;l+=4)D(this,l,l+3),D(this,l+1,l+2);return this},s.prototype.swap64=function(){let a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let l=0;l<a;l+=8)D(this,l,l+7),D(this,l+1,l+6),D(this,l+2,l+5),D(this,l+3,l+4);return this},s.prototype.toString=function(){let a=this.length;return a===0?"":arguments.length===0?Be(this,0,a):I.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(a){if(!s.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:s.compare(this,a)===0},s.prototype.inspect=function(){let a="",l=di.INSPECT_MAX_BYTES;return a=this.toString("hex",0,l).replace(/(.{2})/g,"$1 ").trim(),this.length>l&&(a+=" ... "),"<Buffer "+a+">"},t&&(s.prototype[t]=s.prototype.inspect),s.prototype.compare=function(a,l,y,O,k){if(Le(a,Uint8Array)&&(a=s.from(a,a.offset,a.byteLength)),!s.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(l===void 0&&(l=0),y===void 0&&(y=a?a.length:0),O===void 0&&(O=0),k===void 0&&(k=this.length),l<0||y>a.length||O<0||k>this.length)throw new RangeError("out of range index");if(O>=k&&l>=y)return 0;if(O>=k)return-1;if(l>=y)return 1;if(l>>>=0,y>>>=0,O>>>=0,k>>>=0,this===a)return 0;let B=k-O,ue=y-l,ke=Math.min(B,ue),Re=this.slice(O,k),Pe=a.slice(l,y);for(let we=0;we<ke;++we)if(Re[we]!==Pe[we]){B=Re[we],ue=Pe[we];break}return B<ue?-1:ue<B?1:0};function j(h,a,l,y,O){if(h.length===0)return-1;if(typeof l=="string"?(y=l,l=0):l>2147483647?l=2147483647:l<-2147483648&&(l=-2147483648),l=+l,At(l)&&(l=O?0:h.length-1),l<0&&(l=h.length+l),l>=h.length){if(O)return-1;l=h.length-1}else if(l<0)if(O)l=0;else return-1;if(typeof a=="string"&&(a=s.from(a,y)),s.isBuffer(a))return a.length===0?-1:ae(h,a,l,y,O);if(typeof a=="number")return a=a&255,typeof Uint8Array.prototype.indexOf=="function"?O?Uint8Array.prototype.indexOf.call(h,a,l):Uint8Array.prototype.lastIndexOf.call(h,a,l):ae(h,[a],l,y,O);throw new TypeError("val must be string, number or Buffer")}function ae(h,a,l,y,O){let k=1,B=h.length,ue=a.length;if(y!==void 0&&(y=String(y).toLowerCase(),y==="ucs2"||y==="ucs-2"||y==="utf16le"||y==="utf-16le")){if(h.length<2||a.length<2)return-1;k=2,B/=2,ue/=2,l/=2}function ke(Pe,we){return k===1?Pe[we]:Pe.readUInt16BE(we*k)}let Re;if(O){let Pe=-1;for(Re=l;Re<B;Re++)if(ke(h,Re)===ke(a,Pe===-1?0:Re-Pe)){if(Pe===-1&&(Pe=Re),Re-Pe+1===ue)return Pe*k}else Pe!==-1&&(Re-=Re-Pe),Pe=-1}else for(l+ue>B&&(l=B-ue),Re=l;Re>=0;Re--){let Pe=!0;for(let we=0;we<ue;we++)if(ke(h,Re+we)!==ke(a,we)){Pe=!1;break}if(Pe)return Re}return-1}s.prototype.includes=function(a,l,y){return this.indexOf(a,l,y)!==-1},s.prototype.indexOf=function(a,l,y){return j(this,a,l,y,!0)},s.prototype.lastIndexOf=function(a,l,y){return j(this,a,l,y,!1)};function X(h,a,l,y){l=Number(l)||0;let O=h.length-l;y?(y=Number(y),y>O&&(y=O)):y=O;let k=a.length;y>k/2&&(y=k/2);let B;for(B=0;B<y;++B){let ue=parseInt(a.substr(B*2,2),16);if(At(ue))return B;h[l+B]=ue}return B}function K(h,a,l,y){return st(ce(a,h.length-l),h,l,y)}function Q(h,a,l,y){return st(Ie(a),h,l,y)}function oe(h,a,l,y){return st(St(a),h,l,y)}function _e(h,a,l,y){return st(Ne(a,h.length-l),h,l,y)}s.prototype.write=function(a,l,y,O){if(l===void 0)O="utf8",y=this.length,l=0;else if(y===void 0&&typeof l=="string")O=l,y=this.length,l=0;else if(isFinite(l))l=l>>>0,isFinite(y)?(y=y>>>0,O===void 0&&(O="utf8")):(O=y,y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let k=this.length-l;if((y===void 0||y>k)&&(y=k),a.length>0&&(y<0||l<0)||l>this.length)throw new RangeError("Attempt to write outside buffer bounds");O||(O="utf8");let B=!1;for(;;)switch(O){case"hex":return X(this,a,l,y);case"utf8":case"utf-8":return K(this,a,l,y);case"ascii":case"latin1":case"binary":return Q(this,a,l,y);case"base64":return oe(this,a,l,y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _e(this,a,l,y);default:if(B)throw new TypeError("Unknown encoding: "+O);O=(""+O).toLowerCase(),B=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Oe(h,a,l){return a===0&&l===h.length?r.fromByteArray(h):r.fromByteArray(h.slice(a,l))}function Be(h,a,l){l=Math.min(h.length,l);let y=[],O=a;for(;O<l;){let k=h[O],B=null,ue=k>239?4:k>223?3:k>191?2:1;if(O+ue<=l){let ke,Re,Pe,we;switch(ue){case 1:k<128&&(B=k);break;case 2:ke=h[O+1],(ke&192)===128&&(we=(k&31)<<6|ke&63,we>127&&(B=we));break;case 3:ke=h[O+1],Re=h[O+2],(ke&192)===128&&(Re&192)===128&&(we=(k&15)<<12|(ke&63)<<6|Re&63,we>2047&&(we<55296||we>57343)&&(B=we));break;case 4:ke=h[O+1],Re=h[O+2],Pe=h[O+3],(ke&192)===128&&(Re&192)===128&&(Pe&192)===128&&(we=(k&15)<<18|(ke&63)<<12|(Re&63)<<6|Pe&63,we>65535&&we<1114112&&(B=we))}}B===null?(B=65533,ue=1):B>65535&&(B-=65536,y.push(B>>>10&1023|55296),B=56320|B&1023),y.push(B),O+=ue}return Me(y)}let Ee=4096;function Me(h){let a=h.length;if(a<=Ee)return String.fromCharCode.apply(String,h);let l="",y=0;for(;y<a;)l+=String.fromCharCode.apply(String,h.slice(y,y+=Ee));return l}function Ae(h,a,l){let y="";l=Math.min(h.length,l);for(let O=a;O<l;++O)y+=String.fromCharCode(h[O]&127);return y}function V(h,a,l){let y="";l=Math.min(h.length,l);for(let O=a;O<l;++O)y+=String.fromCharCode(h[O]);return y}function q(h,a,l){let y=h.length;(!a||a<0)&&(a=0),(!l||l<0||l>y)&&(l=y);let O="";for(let k=a;k<l;++k)O+=br[h[k]];return O}function J(h,a,l){let y=h.slice(a,l),O="";for(let k=0;k<y.length-1;k+=2)O+=String.fromCharCode(y[k]+y[k+1]*256);return O}s.prototype.slice=function(a,l){let y=this.length;a=~~a,l=l===void 0?y:~~l,a<0?(a+=y,a<0&&(a=0)):a>y&&(a=y),l<0?(l+=y,l<0&&(l=0)):l>y&&(l=y),l<a&&(l=a);let O=this.subarray(a,l);return Object.setPrototypeOf(O,s.prototype),O};function H(h,a,l){if(h%1!==0||h<0)throw new RangeError("offset is not uint");if(h+a>l)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a],k=1,B=0;for(;++B<l&&(k*=256);)O+=this[a+B]*k;return O},s.prototype.readUintBE=s.prototype.readUIntBE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a+--l],k=1;for(;l>0&&(k*=256);)O+=this[a+--l]*k;return O},s.prototype.readUint8=s.prototype.readUInt8=function(a,l){return a=a>>>0,l||H(a,1,this.length),this[a]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(a,l){return a=a>>>0,l||H(a,2,this.length),this[a]|this[a+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(a,l){return a=a>>>0,l||H(a,2,this.length),this[a]<<8|this[a+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(a,l){return a=a>>>0,l||H(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+this[a+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]*16777216+(this[a+1]<<16|this[a+2]<<8|this[a+3])},s.prototype.readBigUInt64LE=Ke(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=l+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24,k=this[++a]+this[++a]*2**8+this[++a]*2**16+y*2**24;return BigInt(O)+(BigInt(k)<<BigInt(32))}),s.prototype.readBigUInt64BE=Ke(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=l*2**24+this[++a]*2**16+this[++a]*2**8+this[++a],k=this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+y;return(BigInt(O)<<BigInt(32))+BigInt(k)}),s.prototype.readIntLE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=this[a],k=1,B=0;for(;++B<l&&(k*=256);)O+=this[a+B]*k;return k*=128,O>=k&&(O-=Math.pow(2,8*l)),O},s.prototype.readIntBE=function(a,l,y){a=a>>>0,l=l>>>0,y||H(a,l,this.length);let O=l,k=1,B=this[a+--O];for(;O>0&&(k*=256);)B+=this[a+--O]*k;return k*=128,B>=k&&(B-=Math.pow(2,8*l)),B},s.prototype.readInt8=function(a,l){return a=a>>>0,l||H(a,1,this.length),this[a]&128?(255-this[a]+1)*-1:this[a]},s.prototype.readInt16LE=function(a,l){a=a>>>0,l||H(a,2,this.length);let y=this[a]|this[a+1]<<8;return y&32768?y|4294901760:y},s.prototype.readInt16BE=function(a,l){a=a>>>0,l||H(a,2,this.length);let y=this[a+1]|this[a]<<8;return y&32768?y|4294901760:y},s.prototype.readInt32LE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},s.prototype.readInt32BE=function(a,l){return a=a>>>0,l||H(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},s.prototype.readBigInt64LE=Ke(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=this[a+4]+this[a+5]*2**8+this[a+6]*2**16+(y<<24);return(BigInt(O)<<BigInt(32))+BigInt(l+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24)}),s.prototype.readBigInt64BE=Ke(function(a){a=a>>>0,P(a,"offset");let l=this[a],y=this[a+7];(l===void 0||y===void 0)&&C(a,this.length-8);let O=(l<<24)+this[++a]*2**16+this[++a]*2**8+this[++a];return(BigInt(O)<<BigInt(32))+BigInt(this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+y)}),s.prototype.readFloatLE=function(a,l){return a=a>>>0,l||H(a,4,this.length),e.read(this,a,!0,23,4)},s.prototype.readFloatBE=function(a,l){return a=a>>>0,l||H(a,4,this.length),e.read(this,a,!1,23,4)},s.prototype.readDoubleLE=function(a,l){return a=a>>>0,l||H(a,8,this.length),e.read(this,a,!0,52,8)},s.prototype.readDoubleBE=function(a,l){return a=a>>>0,l||H(a,8,this.length),e.read(this,a,!1,52,8)};function ee(h,a,l,y,O,k){if(!s.isBuffer(h))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>O||a<k)throw new RangeError('"value" argument is out of bounds');if(l+y>h.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(a,l,y,O){if(a=+a,l=l>>>0,y=y>>>0,!O){let ue=Math.pow(2,8*y)-1;ee(this,a,l,y,ue,0)}let k=1,B=0;for(this[l]=a&255;++B<y&&(k*=256);)this[l+B]=a/k&255;return l+y},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(a,l,y,O){if(a=+a,l=l>>>0,y=y>>>0,!O){let ue=Math.pow(2,8*y)-1;ee(this,a,l,y,ue,0)}let k=y-1,B=1;for(this[l+k]=a&255;--k>=0&&(B*=256);)this[l+k]=a/B&255;return l+y},s.prototype.writeUint8=s.prototype.writeUInt8=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,1,255,0),this[l]=a&255,l+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,65535,0),this[l]=a&255,this[l+1]=a>>>8,l+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,65535,0),this[l]=a>>>8,this[l+1]=a&255,l+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,4294967295,0),this[l+3]=a>>>24,this[l+2]=a>>>16,this[l+1]=a>>>8,this[l]=a&255,l+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,4294967295,0),this[l]=a>>>24,this[l+1]=a>>>16,this[l+2]=a>>>8,this[l+3]=a&255,l+4};function ge(h,a,l,y,O){xe(a,y,O,h,l,7);let k=Number(a&BigInt(4294967295));h[l++]=k,k=k>>8,h[l++]=k,k=k>>8,h[l++]=k,k=k>>8,h[l++]=k;let B=Number(a>>BigInt(32)&BigInt(4294967295));return h[l++]=B,B=B>>8,h[l++]=B,B=B>>8,h[l++]=B,B=B>>8,h[l++]=B,l}function Se(h,a,l,y,O){xe(a,y,O,h,l,7);let k=Number(a&BigInt(4294967295));h[l+7]=k,k=k>>8,h[l+6]=k,k=k>>8,h[l+5]=k,k=k>>8,h[l+4]=k;let B=Number(a>>BigInt(32)&BigInt(4294967295));return h[l+3]=B,B=B>>8,h[l+2]=B,B=B>>8,h[l+1]=B,B=B>>8,h[l]=B,l+8}s.prototype.writeBigUInt64LE=Ke(function(a,l=0){return ge(this,a,l,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=Ke(function(a,l=0){return Se(this,a,l,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(a,l,y,O){if(a=+a,l=l>>>0,!O){let ke=Math.pow(2,8*y-1);ee(this,a,l,y,ke-1,-ke)}let k=0,B=1,ue=0;for(this[l]=a&255;++k<y&&(B*=256);)a<0&&ue===0&&this[l+k-1]!==0&&(ue=1),this[l+k]=(a/B>>0)-ue&255;return l+y},s.prototype.writeIntBE=function(a,l,y,O){if(a=+a,l=l>>>0,!O){let ke=Math.pow(2,8*y-1);ee(this,a,l,y,ke-1,-ke)}let k=y-1,B=1,ue=0;for(this[l+k]=a&255;--k>=0&&(B*=256);)a<0&&ue===0&&this[l+k+1]!==0&&(ue=1),this[l+k]=(a/B>>0)-ue&255;return l+y},s.prototype.writeInt8=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,1,127,-128),a<0&&(a=255+a+1),this[l]=a&255,l+1},s.prototype.writeInt16LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,32767,-32768),this[l]=a&255,this[l+1]=a>>>8,l+2},s.prototype.writeInt16BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,2,32767,-32768),this[l]=a>>>8,this[l+1]=a&255,l+2},s.prototype.writeInt32LE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,2147483647,-2147483648),this[l]=a&255,this[l+1]=a>>>8,this[l+2]=a>>>16,this[l+3]=a>>>24,l+4},s.prototype.writeInt32BE=function(a,l,y){return a=+a,l=l>>>0,y||ee(this,a,l,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[l]=a>>>24,this[l+1]=a>>>16,this[l+2]=a>>>8,this[l+3]=a&255,l+4},s.prototype.writeBigInt64LE=Ke(function(a,l=0){return ge(this,a,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=Ke(function(a,l=0){return Se(this,a,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ue(h,a,l,y,O,k){if(l+y>h.length)throw new RangeError("Index out of range");if(l<0)throw new RangeError("Index out of range")}function De(h,a,l,y,O){return a=+a,l=l>>>0,O||Ue(h,a,l,4),e.write(h,a,l,y,23,4),l+4}s.prototype.writeFloatLE=function(a,l,y){return De(this,a,l,!0,y)},s.prototype.writeFloatBE=function(a,l,y){return De(this,a,l,!1,y)};function mt(h,a,l,y,O){return a=+a,l=l>>>0,O||Ue(h,a,l,8),e.write(h,a,l,y,52,8),l+8}s.prototype.writeDoubleLE=function(a,l,y){return mt(this,a,l,!0,y)},s.prototype.writeDoubleBE=function(a,l,y){return mt(this,a,l,!1,y)},s.prototype.copy=function(a,l,y,O){if(!s.isBuffer(a))throw new TypeError("argument should be a Buffer");if(y||(y=0),!O&&O!==0&&(O=this.length),l>=a.length&&(l=a.length),l||(l=0),O>0&&O<y&&(O=y),O===y||a.length===0||this.length===0)return 0;if(l<0)throw new RangeError("targetStart out of bounds");if(y<0||y>=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),a.length-l<O-y&&(O=a.length-l+y);let k=O-y;return this===a&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(l,y,O):Uint8Array.prototype.set.call(a,this.subarray(y,O),l),k},s.prototype.fill=function(a,l,y,O){if(typeof a=="string"){if(typeof l=="string"?(O=l,l=0,y=this.length):typeof y=="string"&&(O=y,y=this.length),O!==void 0&&typeof O!="string")throw new TypeError("encoding must be a string");if(typeof O=="string"&&!s.isEncoding(O))throw new TypeError("Unknown encoding: "+O);if(a.length===1){let B=a.charCodeAt(0);(O==="utf8"&&B<128||O==="latin1")&&(a=B)}}else typeof a=="number"?a=a&255:typeof a=="boolean"&&(a=Number(a));if(l<0||this.length<l||this.length<y)throw new RangeError("Out of range index");if(y<=l)return this;l=l>>>0,y=y===void 0?this.length:y>>>0,a||(a=0);let k;if(typeof a=="number")for(k=l;k<y;++k)this[k]=a;else{let B=s.isBuffer(a)?a:s.from(a,O),ue=B.length;if(ue===0)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(k=0;k<y-l;++k)this[k+l]=B[k%ue]}return this};let $={};function U(h,a,l){$[h]=class extends l{constructor(){super(),Object.defineProperty(this,"message",{value:a.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${h}]`,this.stack,delete this.name}get code(){return h}set code(O){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:O,writable:!0})}toString(){return`${this.name} [${h}]: ${this.message}`}}}U("ERR_BUFFER_OUT_OF_BOUNDS",function(h){return h?`${h} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),U("ERR_INVALID_ARG_TYPE",function(h,a){return`The "${h}" argument must be of type number. Received type ${typeof a}`},TypeError),U("ERR_OUT_OF_RANGE",function(h,a,l){let y=`The value of "${h}" is out of range.`,O=l;return Number.isInteger(l)&&Math.abs(l)>2**32?O=te(String(l)):typeof l=="bigint"&&(O=String(l),(l>BigInt(2)**BigInt(32)||l<-(BigInt(2)**BigInt(32)))&&(O=te(O)),O+="n"),y+=` It must be ${a}. Received ${O}`,y},RangeError);function te(h){let a="",l=h.length,y=h[0]==="-"?1:0;for(;l>=y+4;l-=3)a=`_${h.slice(l-3,l)}${a}`;return`${h.slice(0,l)}${a}`}function me(h,a,l){P(a,"offset"),(h[a]===void 0||h[a+l]===void 0)&&C(a,h.length-(l+1))}function xe(h,a,l,y,O,k){if(h>l||h<a){let B=typeof a=="bigint"?"n":"",ue;throw k>3?a===0||a===BigInt(0)?ue=`>= 0${B} and < 2${B} ** ${(k+1)*8}${B}`:ue=`>= -(2${B} ** ${(k+1)*8-1}${B}) and < 2 ** ${(k+1)*8-1}${B}`:ue=`>= ${a}${B} and <= ${l}${B}`,new $.ERR_OUT_OF_RANGE("value",ue,h)}me(y,O,k)}function P(h,a){if(typeof h!="number")throw new $.ERR_INVALID_ARG_TYPE(a,"number",h)}function C(h,a,l){throw Math.floor(h)!==h?(P(h,l),new $.ERR_OUT_OF_RANGE(l||"offset","an integer",h)):a<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE(l||"offset",`>= ${l?1:0} and <= ${a}`,h)}let re=/[^+/0-9A-Za-z-_]/g;function fe(h){if(h=h.split("=")[0],h=h.trim().replace(re,""),h.length<2)return"";for(;h.length%4!==0;)h=h+"=";return h}function ce(h,a){a=a||1/0;let l,y=h.length,O=null,k=[];for(let B=0;B<y;++B){if(l=h.charCodeAt(B),l>55295&&l<57344){if(!O){if(l>56319){(a-=3)>-1&&k.push(239,191,189);continue}else if(B+1===y){(a-=3)>-1&&k.push(239,191,189);continue}O=l;continue}if(l<56320){(a-=3)>-1&&k.push(239,191,189),O=l;continue}l=(O-55296<<10|l-56320)+65536}else O&&(a-=3)>-1&&k.push(239,191,189);if(O=null,l<128){if((a-=1)<0)break;k.push(l)}else if(l<2048){if((a-=2)<0)break;k.push(l>>6|192,l&63|128)}else if(l<65536){if((a-=3)<0)break;k.push(l>>12|224,l>>6&63|128,l&63|128)}else if(l<1114112){if((a-=4)<0)break;k.push(l>>18|240,l>>12&63|128,l>>6&63|128,l&63|128)}else throw new Error("Invalid code point")}return k}function Ie(h){let a=[];for(let l=0;l<h.length;++l)a.push(h.charCodeAt(l)&255);return a}function Ne(h,a){let l,y,O,k=[];for(let B=0;B<h.length&&!((a-=2)<0);++B)l=h.charCodeAt(B),y=l>>8,O=l%256,k.push(O),k.push(y);return k}function St(h){return r.toByteArray(fe(h))}function st(h,a,l,y){let O;for(O=0;O<y&&!(O+l>=a.length||O>=h.length);++O)a[O+l]=h[O];return O}function Le(h,a){return h instanceof a||h!=null&&h.constructor!=null&&h.constructor.name!=null&&h.constructor.name===a.name}function At(h){return h!==h}let br=function(){let h="0123456789abcdef",a=new Array(256);for(let l=0;l<16;++l){let y=l*16;for(let O=0;O<16;++O)a[y+O]=h[l]+h[O]}return a}();function Ke(h){return typeof BigInt>"u"?lr:h}function lr(){throw new Error("BigInt not supported")}return di}function gi(){return Gp||(Gp=!0,typeof Object.create=="function"?bo=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:bo=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}),bo}function ud(){return Hp||(Hp=!0,lu=ut.EventEmitter),lu}function db(){if(Yp)return fu;Yp=!0;function r(v,m){var g=Object.keys(v);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(v);m&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(v,E).enumerable})),g.push.apply(g,b)}return g}function e(v){for(var m=1;m<arguments.length;m++){var g=arguments[m]!=null?arguments[m]:{};m%2?r(Object(g),!0).forEach(function(b){t(v,b,g[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(g)):r(Object(g)).forEach(function(b){Object.defineProperty(v,b,Object.getOwnPropertyDescriptor(g,b))})}return v}function t(v,m,g){return m in v?Object.defineProperty(v,m,{value:g,enumerable:!0,configurable:!0,writable:!0}):v[m]=g,v}function i(v,m){if(!(v instanceof m))throw new TypeError("Cannot call a class as a function")}function n(v,m){for(var g=0;g<m.length;g++){var b=m[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(v,b.key,b)}}function o(v,m,g){return m&&n(v.prototype,m),g&&n(v,g),v}var s=Vr,u=s.Buffer,f=G,c=f.inspect,p=c&&c.custom||"inspect";function d(v,m,g){u.prototype.copy.call(v,m,g)}return fu=function(){function v(){i(this,v),this.head=null,this.tail=null,this.length=0}return o(v,[{key:"push",value:function(g){var b={data:g,next:null};this.length>0?this.tail.next=b:this.head=b,this.tail=b,++this.length}},{key:"unshift",value:function(g){var b={data:g,next:this.head};this.length===0&&(this.tail=b),this.head=b,++this.length}},{key:"shift",value:function(){if(this.length!==0){var g=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,g}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(g){if(this.length===0)return"";for(var b=this.head,E=""+b.data;b=b.next;)E+=g+b.data;return E}},{key:"concat",value:function(g){if(this.length===0)return u.alloc(0);for(var b=u.allocUnsafe(g>>>0),E=this.head,A=0;E;)d(E.data,b,A),A+=E.data.length,E=E.next;return b}},{key:"consume",value:function(g,b){var E;return g<this.head.data.length?(E=this.head.data.slice(0,g),this.head.data=this.head.data.slice(g)):g===this.head.data.length?E=this.shift():E=b?this._getString(g):this._getBuffer(g),E}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(g){var b=this.head,E=1,A=b.data;for(g-=A.length;b=b.next;){var x=b.data,I=g>x.length?x.length:g;if(I===x.length?A+=x:A+=x.slice(0,g),g-=I,g===0){I===x.length?(++E,b.next?this.head=b.next:this.head=this.tail=null):(this.head=b,b.data=x.slice(I));break}++E}return this.length-=E,A}},{key:"_getBuffer",value:function(g){var b=u.allocUnsafe(g),E=this.head,A=1;for(E.data.copy(b),g-=E.data.length;E=E.next;){var x=E.data,I=g>x.length?x.length:g;if(x.copy(b,b.length-g,0,I),g-=I,g===0){I===x.length?(++A,E.next?this.head=E.next:this.head=this.tail=null):(this.head=E,E.data=x.slice(I));break}++A}return this.length-=A,b}},{key:p,value:function(g,b){return c(this,e({},b,{depth:0,customInspect:!1}))}}]),v}(),fu}function ld(){if(Kp)return cu;Kp=!0;var r=je;function e(u,f){var c=this,p=this._readableState&&this._readableState.destroyed,d=this._writableState&&this._writableState.destroyed;return p||d?(f?f(u):u&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(o,this,u)):r.nextTick(o,this,u)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(u||null,function(v){!f&&v?c._writableState?c._writableState.errorEmitted?r.nextTick(i,c):(c._writableState.errorEmitted=!0,r.nextTick(t,c,v)):r.nextTick(t,c,v):f?(r.nextTick(i,c),f(v)):r.nextTick(i,c)}),this)}function t(u,f){o(u,f),i(u)}function i(u){u._writableState&&!u._writableState.emitClose||u._readableState&&!u._readableState.emitClose||u.emit("close")}function n(){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 o(u,f){u.emit("error",f)}function s(u,f){var c=u._readableState,p=u._writableState;c&&c.autoDestroy||p&&p.autoDestroy?u.destroy(f):u.emit("error",f)}return cu={destroy:e,undestroy:n,errorOrDestroy:s},cu}function Wi(){if(Jp)return hu;Jp=!0;let r={};function e(s,u,f){f||(f=Error);function c(d,v,m){return typeof u=="string"?u:u(d,v,m)}class p extends f{constructor(v,m,g){super(c(v,m,g))}}p.prototype.name=f.name,p.prototype.code=s,r[s]=p}function t(s,u){if(Array.isArray(s)){let f=s.length;return s=s.map(c=>String(c)),f>2?`one of ${u} ${s.slice(0,f-1).join(", ")}, or `+s[f-1]:f===2?`one of ${u} ${s[0]} or ${s[1]}`:`of ${u} ${s[0]}`}else return`of ${u} ${String(s)}`}function i(s,u,f){return s.substr(!f||f<0?0:+f,u.length)===u}function n(s,u,f){return(f===void 0||f>s.length)&&(f=s.length),s.substring(f-u.length,f)===u}function o(s,u,f){return typeof f!="number"&&(f=0),f+u.length>s.length?!1:s.indexOf(u,f)!==-1}return e("ERR_INVALID_OPT_VALUE",function(s,u){return'The value "'+u+'" is invalid for option "'+s+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(s,u,f){let c;typeof u=="string"&&i(u,"not ")?(c="must not be",u=u.replace(/^not /,"")):c="must be";let p;if(n(s," argument"))p=`The ${s} ${c} ${t(u,"type")}`;else{let d=o(s,".")?"property":"argument";p=`The "${s}" ${d} ${c} ${t(u,"type")}`}return p+=`. Received type ${typeof f}`,p},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(s){return"The "+s+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(s){return"Cannot call "+s+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(s){return"Unknown encoding: "+s},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),hu.codes=r,hu}function fd(){if(Qp)return pu;Qp=!0;var r=Wi().codes.ERR_INVALID_OPT_VALUE;function e(i,n,o){return i.highWaterMark!=null?i.highWaterMark:n?i[o]:null}function t(i,n,o,s){var u=e(n,s,o);if(u!=null){if(!(isFinite(u)&&Math.floor(u)===u)||u<0){var f=s?o:"highWaterMark";throw new r(f,u)}return Math.floor(u)}return i.objectMode?16:16*1024}return pu={getHighWaterMark:t},pu}function yb(){if(Xp)return du;Xp=!0,du=r;function r(t,i){if(e("noDeprecation"))return t;var n=!1;function o(){if(!n){if(e("throwDeprecation"))throw new Error(i);e("traceDeprecation")?console.trace(i):console.warn(i),n=!0}return t.apply(this||yu,arguments)}return o}function e(t){try{if(!yu.localStorage)return!1}catch{return!1}var i=yu.localStorage[t];return i==null?!1:String(i).toLowerCase()==="true"}return du}function Au(){if(Zp)return gu;Zp=!0;var r=je;gu=Q;function e($){var U=this;this.next=null,this.entry=null,this.finish=function(){mt(U,$)}}var t;Q.WritableState=X;var i={deprecate:yb()},n=ud(),o=Vr.Buffer,s=gb.Uint8Array||function(){};function u($){return o.from($)}function f($){return o.isBuffer($)||$ instanceof s}var c=ld(),p=fd(),d=p.getHighWaterMark,v=Wi().codes,m=v.ERR_INVALID_ARG_TYPE,g=v.ERR_METHOD_NOT_IMPLEMENTED,b=v.ERR_MULTIPLE_CALLBACK,E=v.ERR_STREAM_CANNOT_PIPE,A=v.ERR_STREAM_DESTROYED,x=v.ERR_STREAM_NULL_VALUES,I=v.ERR_STREAM_WRITE_AFTER_END,D=v.ERR_UNKNOWN_ENCODING,j=c.errorOrDestroy;gi()(Q,n);function ae(){}function X($,U,te){t=t||yi(),$=$||{},typeof te!="boolean"&&(te=U instanceof t),this.objectMode=!!$.objectMode,te&&(this.objectMode=this.objectMode||!!$.writableObjectMode),this.highWaterMark=d(this,$,"writableHighWaterMark",te),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var me=$.decodeStrings===!1;this.decodeStrings=!me,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(xe){V(U,xe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}X.prototype.getBuffer=function(){for(var U=this.bufferedRequest,te=[];U;)te.push(U),U=U.next;return te},function(){try{Object.defineProperty(X.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var K;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(K=Function.prototype[Symbol.hasInstance],Object.defineProperty(Q,Symbol.hasInstance,{value:function(U){return K.call(this,U)?!0:this!==Q?!1:U&&U._writableState instanceof X}})):K=function(U){return U instanceof this};function Q($){t=t||yi();var U=this instanceof t;if(!U&&!K.call(Q,this))return new Q($);this._writableState=new X($,this,U),this.writable=!0,$&&(typeof $.write=="function"&&(this._write=$.write),typeof $.writev=="function"&&(this._writev=$.writev),typeof $.destroy=="function"&&(this._destroy=$.destroy),typeof $.final=="function"&&(this._final=$.final)),n.call(this)}Q.prototype.pipe=function(){j(this,new E)};function oe($,U){var te=new I;j($,te),r.nextTick(U,te)}function _e($,U,te,me){var xe;return te===null?xe=new x:typeof te!="string"&&!U.objectMode&&(xe=new m("chunk",["string","Buffer"],te)),xe?(j($,xe),r.nextTick(me,xe),!1):!0}Q.prototype.write=function($,U,te){var me=this._writableState,xe=!1,P=!me.objectMode&&f($);return P&&!o.isBuffer($)&&($=u($)),typeof U=="function"&&(te=U,U=null),P?U="buffer":U||(U=me.defaultEncoding),typeof te!="function"&&(te=ae),me.ending?oe(this,te):(P||_e(this,me,$,te))&&(me.pendingcb++,xe=Be(this,me,P,$,U,te)),xe},Q.prototype.cork=function(){this._writableState.corked++},Q.prototype.uncork=function(){var $=this._writableState;$.corked&&($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest&&H(this,$))},Q.prototype.setDefaultEncoding=function(U){if(typeof U=="string"&&(U=U.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((U+"").toLowerCase())>-1))throw new D(U);return this._writableState.defaultEncoding=U,this},Object.defineProperty(Q.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Oe($,U,te){return!$.objectMode&&$.decodeStrings!==!1&&typeof U=="string"&&(U=o.from(U,te)),U}Object.defineProperty(Q.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Be($,U,te,me,xe,P){if(!te){var C=Oe(U,me,xe);me!==C&&(te=!0,xe="buffer",me=C)}var re=U.objectMode?1:me.length;U.length+=re;var fe=U.length<U.highWaterMark;if(fe||(U.needDrain=!0),U.writing||U.corked){var ce=U.lastBufferedRequest;U.lastBufferedRequest={chunk:me,encoding:xe,isBuf:te,callback:P,next:null},ce?ce.next=U.lastBufferedRequest:U.bufferedRequest=U.lastBufferedRequest,U.bufferedRequestCount+=1}else Ee($,U,!1,re,me,xe,P);return fe}function Ee($,U,te,me,xe,P,C){U.writelen=me,U.writecb=C,U.writing=!0,U.sync=!0,U.destroyed?U.onwrite(new A("write")):te?$._writev(xe,U.onwrite):$._write(xe,P,U.onwrite),U.sync=!1}function Me($,U,te,me,xe){--U.pendingcb,te?(r.nextTick(xe,me),r.nextTick(Ue,$,U),$._writableState.errorEmitted=!0,j($,me)):(xe(me),$._writableState.errorEmitted=!0,j($,me),Ue($,U))}function Ae($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function V($,U){var te=$._writableState,me=te.sync,xe=te.writecb;if(typeof xe!="function")throw new b;if(Ae(te),U)Me($,te,me,U,xe);else{var P=ee(te)||$.destroyed;!P&&!te.corked&&!te.bufferProcessing&&te.bufferedRequest&&H($,te),me?r.nextTick(q,$,te,P,xe):q($,te,P,xe)}}function q($,U,te,me){te||J($,U),U.pendingcb--,me(),Ue($,U)}function J($,U){U.length===0&&U.needDrain&&(U.needDrain=!1,$.emit("drain"))}function H($,U){U.bufferProcessing=!0;var te=U.bufferedRequest;if($._writev&&te&&te.next){var me=U.bufferedRequestCount,xe=new Array(me),P=U.corkedRequestsFree;P.entry=te;for(var C=0,re=!0;te;)xe[C]=te,te.isBuf||(re=!1),te=te.next,C+=1;xe.allBuffers=re,Ee($,U,!0,U.length,xe,"",P.finish),U.pendingcb++,U.lastBufferedRequest=null,P.next?(U.corkedRequestsFree=P.next,P.next=null):U.corkedRequestsFree=new e(U),U.bufferedRequestCount=0}else{for(;te;){var fe=te.chunk,ce=te.encoding,Ie=te.callback,Ne=U.objectMode?1:fe.length;if(Ee($,U,!1,Ne,fe,ce,Ie),te=te.next,U.bufferedRequestCount--,U.writing)break}te===null&&(U.lastBufferedRequest=null)}U.bufferedRequest=te,U.bufferProcessing=!1}Q.prototype._write=function($,U,te){te(new g("_write()"))},Q.prototype._writev=null,Q.prototype.end=function($,U,te){var me=this._writableState;return typeof $=="function"?(te=$,$=null,U=null):typeof U=="function"&&(te=U,U=null),$!=null&&this.write($,U),me.corked&&(me.corked=1,this.uncork()),me.ending||De(this,me,te),this},Object.defineProperty(Q.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ee($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function ge($,U){$._final(function(te){U.pendingcb--,te&&j($,te),U.prefinished=!0,$.emit("prefinish"),Ue($,U)})}function Se($,U){!U.prefinished&&!U.finalCalled&&(typeof $._final=="function"&&!U.destroyed?(U.pendingcb++,U.finalCalled=!0,r.nextTick(ge,$,U)):(U.prefinished=!0,$.emit("prefinish")))}function Ue($,U){var te=ee(U);if(te&&(Se($,U),U.pendingcb===0&&(U.finished=!0,$.emit("finish"),U.autoDestroy))){var me=$._readableState;(!me||me.autoDestroy&&me.endEmitted)&&$.destroy()}return te}function De($,U,te){U.ending=!0,Ue($,U),te&&(U.finished?r.nextTick(te):$.once("finish",te)),U.ended=!0,$.writable=!1}function mt($,U,te){var me=$.entry;for($.entry=null;me;){var xe=me.callback;U.pendingcb--,xe(te),me=me.next}U.corkedRequestsFree.next=$}return Object.defineProperty(Q.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(U){this._writableState&&(this._writableState.destroyed=U)}}),Q.prototype.destroy=c.destroy,Q.prototype._undestroy=c.undestroy,Q.prototype._destroy=function($,U){U($)},gu}function yi(){if(ed)return mu;ed=!0;var r=je,e=Object.keys||function(p){var d=[];for(var v in p)d.push(v);return d};mu=u;var t=Tu(),i=Au();gi()(u,t);for(var n=e(i.prototype),o=0;o<n.length;o++){var s=n[o];u.prototype[s]||(u.prototype[s]=i.prototype[s])}function u(p){if(!(this instanceof u))return new u(p);t.call(this,p),i.call(this,p),this.allowHalfOpen=!0,p&&(p.readable===!1&&(this.readable=!1),p.writable===!1&&(this.writable=!1),p.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",f)))}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function f(){this._writableState.ended||r.nextTick(c,this)}function c(p){p.end()}return Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(d){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=d,this._writableState.destroyed=d)}}),mu}function So(){if(td)return vu;td=!0;var r=Wi().codes.ERR_STREAM_PREMATURE_CLOSE;function e(o){var s=!1;return function(){if(!s){s=!0;for(var u=arguments.length,f=new Array(u),c=0;c<u;c++)f[c]=arguments[c];o.apply(this,f)}}}function t(){}function i(o){return o.setHeader&&typeof o.abort=="function"}function n(o,s,u){if(typeof s=="function")return n(o,null,s);s||(s={}),u=e(u||t);var f=s.readable||s.readable!==!1&&o.readable,c=s.writable||s.writable!==!1&&o.writable,p=function(){o.writable||v()},d=o._writableState&&o._writableState.finished,v=function(){c=!1,d=!0,f||u.call(o)},m=o._readableState&&o._readableState.endEmitted,g=function(){f=!1,m=!0,c||u.call(o)},b=function(I){u.call(o,I)},E=function(){var I;if(f&&!m)return(!o._readableState||!o._readableState.ended)&&(I=new r),u.call(o,I);if(c&&!d)return(!o._writableState||!o._writableState.ended)&&(I=new r),u.call(o,I)},A=function(){o.req.on("finish",v)};return i(o)?(o.on("complete",v),o.on("abort",E),o.req?A():o.on("request",A)):c&&!o._writableState&&(o.on("end",p),o.on("close",p)),o.on("end",g),o.on("finish",v),s.error!==!1&&o.on("error",b),o.on("close",E),function(){o.removeListener("complete",v),o.removeListener("abort",E),o.removeListener("request",A),o.req&&o.req.removeListener("finish",v),o.removeListener("end",p),o.removeListener("close",p),o.removeListener("finish",v),o.removeListener("end",g),o.removeListener("error",b),o.removeListener("close",E)}}return vu=n,vu}function mb(){if(rd)return wu;rd=!0;var r=je,e;function t(x,I,D){return I in x?Object.defineProperty(x,I,{value:D,enumerable:!0,configurable:!0,writable:!0}):x[I]=D,x}var i=So(),n=Symbol("lastResolve"),o=Symbol("lastReject"),s=Symbol("error"),u=Symbol("ended"),f=Symbol("lastPromise"),c=Symbol("handlePromise"),p=Symbol("stream");function d(x,I){return{value:x,done:I}}function v(x){var I=x[n];if(I!==null){var D=x[p].read();D!==null&&(x[f]=null,x[n]=null,x[o]=null,I(d(D,!1)))}}function m(x){r.nextTick(v,x)}function g(x,I){return function(D,j){x.then(function(){if(I[u]){D(d(void 0,!0));return}I[c](D,j)},j)}}var b=Object.getPrototypeOf(function(){}),E=Object.setPrototypeOf((e={get stream(){return this[p]},next:function(){var I=this,D=this[s];if(D!==null)return Promise.reject(D);if(this[u])return Promise.resolve(d(void 0,!0));if(this[p].destroyed)return new Promise(function(K,Q){r.nextTick(function(){I[s]?Q(I[s]):K(d(void 0,!0))})});var j=this[f],ae;if(j)ae=new Promise(g(j,this));else{var X=this[p].read();if(X!==null)return Promise.resolve(d(X,!1));ae=new Promise(this[c])}return this[f]=ae,ae}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var I=this;return new Promise(function(D,j){I[p].destroy(null,function(ae){if(ae){j(ae);return}D(d(void 0,!0))})})}),e),b),A=function(I){var D,j=Object.create(E,(D={},t(D,p,{value:I,writable:!0}),t(D,n,{value:null,writable:!0}),t(D,o,{value:null,writable:!0}),t(D,s,{value:null,writable:!0}),t(D,u,{value:I._readableState.endEmitted,writable:!0}),t(D,c,{value:function(X,K){var Q=j[p].read();Q?(j[f]=null,j[n]=null,j[o]=null,X(d(Q,!1))):(j[n]=X,j[o]=K)},writable:!0}),D));return j[f]=null,i(I,function(ae){if(ae&&ae.code!=="ERR_STREAM_PREMATURE_CLOSE"){var X=j[o];X!==null&&(j[f]=null,j[n]=null,j[o]=null,X(ae)),j[s]=ae;return}var K=j[n];K!==null&&(j[f]=null,j[n]=null,j[o]=null,K(d(void 0,!0))),j[u]=!0}),I.on("readable",m.bind(null,j)),j};return wu=A,wu}function vb(){return id||(id=!0,bu=function(){throw new Error("Readable.from is not available in the browser")}),bu}function Tu(){if(nd)return Su;nd=!0;var r=je;Su=oe;var e;oe.ReadableState=Q,ut.EventEmitter;var t=function(C,re){return C.listeners(re).length},i=ud(),n=Vr.Buffer,o=wb.Uint8Array||function(){};function s(P){return n.from(P)}function u(P){return n.isBuffer(P)||P instanceof o}var f=G,c;f&&f.debuglog?c=f.debuglog("stream"):c=function(){};var p=db(),d=ld(),v=fd(),m=v.getHighWaterMark,g=Wi().codes,b=g.ERR_INVALID_ARG_TYPE,E=g.ERR_STREAM_PUSH_AFTER_EOF,A=g.ERR_METHOD_NOT_IMPLEMENTED,x=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,I,D,j;gi()(oe,i);var ae=d.errorOrDestroy,X=["error","close","destroy","pause","resume"];function K(P,C,re){if(typeof P.prependListener=="function")return P.prependListener(C,re);!P._events||!P._events[C]?P.on(C,re):Array.isArray(P._events[C])?P._events[C].unshift(re):P._events[C]=[re,P._events[C]]}function Q(P,C,re){e=e||yi(),P=P||{},typeof re!="boolean"&&(re=C instanceof e),this.objectMode=!!P.objectMode,re&&(this.objectMode=this.objectMode||!!P.readableObjectMode),this.highWaterMark=m(this,P,"readableHighWaterMark",re),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=P.emitClose!==!1,this.autoDestroy=!!P.autoDestroy,this.destroyed=!1,this.defaultEncoding=P.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,P.encoding&&(I||(I=Lr.StringDecoder),this.decoder=new I(P.encoding),this.encoding=P.encoding)}function oe(P){if(e=e||yi(),!(this instanceof oe))return new oe(P);var C=this instanceof e;this._readableState=new Q(P,this,C),this.readable=!0,P&&(typeof P.read=="function"&&(this._read=P.read),typeof P.destroy=="function"&&(this._destroy=P.destroy)),i.call(this)}Object.defineProperty(oe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(C){this._readableState&&(this._readableState.destroyed=C)}}),oe.prototype.destroy=d.destroy,oe.prototype._undestroy=d.undestroy,oe.prototype._destroy=function(P,C){C(P)},oe.prototype.push=function(P,C){var re=this._readableState,fe;return re.objectMode?fe=!0:typeof P=="string"&&(C=C||re.defaultEncoding,C!==re.encoding&&(P=n.from(P,C),C=""),fe=!0),_e(this,P,C,!1,fe)},oe.prototype.unshift=function(P){return _e(this,P,null,!0,!1)};function _e(P,C,re,fe,ce){c("readableAddChunk",C);var Ie=P._readableState;if(C===null)Ie.reading=!1,V(P,Ie);else{var Ne;if(ce||(Ne=Be(Ie,C)),Ne)ae(P,Ne);else if(Ie.objectMode||C&&C.length>0)if(typeof C!="string"&&!Ie.objectMode&&Object.getPrototypeOf(C)!==n.prototype&&(C=s(C)),fe)Ie.endEmitted?ae(P,new x):Oe(P,Ie,C,!0);else if(Ie.ended)ae(P,new E);else{if(Ie.destroyed)return!1;Ie.reading=!1,Ie.decoder&&!re?(C=Ie.decoder.write(C),Ie.objectMode||C.length!==0?Oe(P,Ie,C,!1):H(P,Ie)):Oe(P,Ie,C,!1)}else fe||(Ie.reading=!1,H(P,Ie))}return!Ie.ended&&(Ie.length<Ie.highWaterMark||Ie.length===0)}function Oe(P,C,re,fe){C.flowing&&C.length===0&&!C.sync?(C.awaitDrain=0,P.emit("data",re)):(C.length+=C.objectMode?1:re.length,fe?C.buffer.unshift(re):C.buffer.push(re),C.needReadable&&q(P)),H(P,C)}function Be(P,C){var re;return!u(C)&&typeof C!="string"&&C!==void 0&&!P.objectMode&&(re=new b("chunk",["string","Buffer","Uint8Array"],C)),re}oe.prototype.isPaused=function(){return this._readableState.flowing===!1},oe.prototype.setEncoding=function(P){I||(I=Lr.StringDecoder);var C=new I(P);this._readableState.decoder=C,this._readableState.encoding=this._readableState.decoder.encoding;for(var re=this._readableState.buffer.head,fe="";re!==null;)fe+=C.write(re.data),re=re.next;return this._readableState.buffer.clear(),fe!==""&&this._readableState.buffer.push(fe),this._readableState.length=fe.length,this};var Ee=1073741824;function Me(P){return P>=Ee?P=Ee:(P--,P|=P>>>1,P|=P>>>2,P|=P>>>4,P|=P>>>8,P|=P>>>16,P++),P}function Ae(P,C){return P<=0||C.length===0&&C.ended?0:C.objectMode?1:P!==P?C.flowing&&C.length?C.buffer.head.data.length:C.length:(P>C.highWaterMark&&(C.highWaterMark=Me(P)),P<=C.length?P:C.ended?C.length:(C.needReadable=!0,0))}oe.prototype.read=function(P){c("read",P),P=parseInt(P,10);var C=this._readableState,re=P;if(P!==0&&(C.emittedReadable=!1),P===0&&C.needReadable&&((C.highWaterMark!==0?C.length>=C.highWaterMark:C.length>0)||C.ended))return c("read: emitReadable",C.length,C.ended),C.length===0&&C.ended?te(this):q(this),null;if(P=Ae(P,C),P===0&&C.ended)return C.length===0&&te(this),null;var fe=C.needReadable;c("need readable",fe),(C.length===0||C.length-P<C.highWaterMark)&&(fe=!0,c("length less than watermark",fe)),C.ended||C.reading?(fe=!1,c("reading or ended",fe)):fe&&(c("do read"),C.reading=!0,C.sync=!0,C.length===0&&(C.needReadable=!0),this._read(C.highWaterMark),C.sync=!1,C.reading||(P=Ae(re,C)));var ce;return P>0?ce=U(P,C):ce=null,ce===null?(C.needReadable=C.length<=C.highWaterMark,P=0):(C.length-=P,C.awaitDrain=0),C.length===0&&(C.ended||(C.needReadable=!0),re!==P&&C.ended&&te(this)),ce!==null&&this.emit("data",ce),ce};function V(P,C){if(c("onEofChunk"),!C.ended){if(C.decoder){var re=C.decoder.end();re&&re.length&&(C.buffer.push(re),C.length+=C.objectMode?1:re.length)}C.ended=!0,C.sync?q(P):(C.needReadable=!1,C.emittedReadable||(C.emittedReadable=!0,J(P)))}}function q(P){var C=P._readableState;c("emitReadable",C.needReadable,C.emittedReadable),C.needReadable=!1,C.emittedReadable||(c("emitReadable",C.flowing),C.emittedReadable=!0,r.nextTick(J,P))}function J(P){var C=P._readableState;c("emitReadable_",C.destroyed,C.length,C.ended),!C.destroyed&&(C.length||C.ended)&&(P.emit("readable"),C.emittedReadable=!1),C.needReadable=!C.flowing&&!C.ended&&C.length<=C.highWaterMark,$(P)}function H(P,C){C.readingMore||(C.readingMore=!0,r.nextTick(ee,P,C))}function ee(P,C){for(;!C.reading&&!C.ended&&(C.length<C.highWaterMark||C.flowing&&C.length===0);){var re=C.length;if(c("maybeReadMore read 0"),P.read(0),re===C.length)break}C.readingMore=!1}oe.prototype._read=function(P){ae(this,new A("_read()"))},oe.prototype.pipe=function(P,C){var re=this,fe=this._readableState;switch(fe.pipesCount){case 0:fe.pipes=P;break;case 1:fe.pipes=[fe.pipes,P];break;default:fe.pipes.push(P);break}fe.pipesCount+=1,c("pipe count=%d opts=%j",fe.pipesCount,C);var ce=(!C||C.end!==!1)&&P!==r.stdout&&P!==r.stderr,Ie=ce?St:a;fe.endEmitted?r.nextTick(Ie):re.once("end",Ie),P.on("unpipe",Ne);function Ne(l,y){c("onunpipe"),l===re&&y&&y.hasUnpiped===!1&&(y.hasUnpiped=!0,At())}function St(){c("onend"),P.end()}var st=ge(re);P.on("drain",st);var Le=!1;function At(){c("cleanup"),P.removeListener("close",lr),P.removeListener("finish",h),P.removeListener("drain",st),P.removeListener("error",Ke),P.removeListener("unpipe",Ne),re.removeListener("end",St),re.removeListener("end",a),re.removeListener("data",br),Le=!0,fe.awaitDrain&&(!P._writableState||P._writableState.needDrain)&&st()}re.on("data",br);function br(l){c("ondata");var y=P.write(l);c("dest.write",y),y===!1&&((fe.pipesCount===1&&fe.pipes===P||fe.pipesCount>1&&xe(fe.pipes,P)!==-1)&&!Le&&(c("false write response, pause",fe.awaitDrain),fe.awaitDrain++),re.pause())}function Ke(l){c("onerror",l),a(),P.removeListener("error",Ke),t(P,"error")===0&&ae(P,l)}K(P,"error",Ke);function lr(){P.removeListener("finish",h),a()}P.once("close",lr);function h(){c("onfinish"),P.removeListener("close",lr),a()}P.once("finish",h);function a(){c("unpipe"),re.unpipe(P)}return P.emit("pipe",re),fe.flowing||(c("pipe resume"),re.resume()),P};function ge(P){return function(){var re=P._readableState;c("pipeOnDrain",re.awaitDrain),re.awaitDrain&&re.awaitDrain--,re.awaitDrain===0&&t(P,"data")&&(re.flowing=!0,$(P))}}oe.prototype.unpipe=function(P){var C=this._readableState,re={hasUnpiped:!1};if(C.pipesCount===0)return this;if(C.pipesCount===1)return P&&P!==C.pipes?this:(P||(P=C.pipes),C.pipes=null,C.pipesCount=0,C.flowing=!1,P&&P.emit("unpipe",this,re),this);if(!P){var fe=C.pipes,ce=C.pipesCount;C.pipes=null,C.pipesCount=0,C.flowing=!1;for(var Ie=0;Ie<ce;Ie++)fe[Ie].emit("unpipe",this,{hasUnpiped:!1});return this}var Ne=xe(C.pipes,P);return Ne===-1?this:(C.pipes.splice(Ne,1),C.pipesCount-=1,C.pipesCount===1&&(C.pipes=C.pipes[0]),P.emit("unpipe",this,re),this)},oe.prototype.on=function(P,C){var re=i.prototype.on.call(this,P,C),fe=this._readableState;return P==="data"?(fe.readableListening=this.listenerCount("readable")>0,fe.flowing!==!1&&this.resume()):P==="readable"&&!fe.endEmitted&&!fe.readableListening&&(fe.readableListening=fe.needReadable=!0,fe.flowing=!1,fe.emittedReadable=!1,c("on readable",fe.length,fe.reading),fe.length?q(this):fe.reading||r.nextTick(Ue,this)),re},oe.prototype.addListener=oe.prototype.on,oe.prototype.removeListener=function(P,C){var re=i.prototype.removeListener.call(this,P,C);return P==="readable"&&r.nextTick(Se,this),re},oe.prototype.removeAllListeners=function(P){var C=i.prototype.removeAllListeners.apply(this,arguments);return(P==="readable"||P===void 0)&&r.nextTick(Se,this),C};function Se(P){var C=P._readableState;C.readableListening=P.listenerCount("readable")>0,C.resumeScheduled&&!C.paused?C.flowing=!0:P.listenerCount("data")>0&&P.resume()}function Ue(P){c("readable nexttick read 0"),P.read(0)}oe.prototype.resume=function(){var P=this._readableState;return P.flowing||(c("resume"),P.flowing=!P.readableListening,De(this,P)),P.paused=!1,this};function De(P,C){C.resumeScheduled||(C.resumeScheduled=!0,r.nextTick(mt,P,C))}function mt(P,C){c("resume",C.reading),C.reading||P.read(0),C.resumeScheduled=!1,P.emit("resume"),$(P),C.flowing&&!C.reading&&P.read(0)}oe.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 $(P){var C=P._readableState;for(c("flow",C.flowing);C.flowing&&P.read()!==null;);}oe.prototype.wrap=function(P){var C=this,re=this._readableState,fe=!1;P.on("end",function(){if(c("wrapped end"),re.decoder&&!re.ended){var Ne=re.decoder.end();Ne&&Ne.length&&C.push(Ne)}C.push(null)}),P.on("data",function(Ne){if(c("wrapped data"),re.decoder&&(Ne=re.decoder.write(Ne)),!(re.objectMode&&Ne==null)&&!(!re.objectMode&&(!Ne||!Ne.length))){var St=C.push(Ne);St||(fe=!0,P.pause())}});for(var ce in P)this[ce]===void 0&&typeof P[ce]=="function"&&(this[ce]=function(St){return function(){return P[St].apply(P,arguments)}}(ce));for(var Ie=0;Ie<X.length;Ie++)P.on(X[Ie],this.emit.bind(this,X[Ie]));return this._read=function(Ne){c("wrapped _read",Ne),fe&&(fe=!1,P.resume())},this},typeof Symbol=="function"&&(oe.prototype[Symbol.asyncIterator]=function(){return D===void 0&&(D=mb()),D(this)}),Object.defineProperty(oe.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(oe.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(oe.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(C){this._readableState&&(this._readableState.flowing=C)}}),oe._fromList=U,Object.defineProperty(oe.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function U(P,C){if(C.length===0)return null;var re;return C.objectMode?re=C.buffer.shift():!P||P>=C.length?(C.decoder?re=C.buffer.join(""):C.buffer.length===1?re=C.buffer.first():re=C.buffer.concat(C.length),C.buffer.clear()):re=C.buffer.consume(P,C.decoder),re}function te(P){var C=P._readableState;c("endReadable",C.endEmitted),C.endEmitted||(C.ended=!0,r.nextTick(me,C,P))}function me(P,C){if(c("endReadableNT",P.endEmitted,P.length),!P.endEmitted&&P.length===0&&(P.endEmitted=!0,C.readable=!1,C.emit("end"),P.autoDestroy)){var re=C._writableState;(!re||re.autoDestroy&&re.finished)&&C.destroy()}}typeof Symbol=="function"&&(oe.from=function(P,C){return j===void 0&&(j=vb()),j(oe,P,C)});function xe(P,C){for(var re=0,fe=P.length;re<fe;re++)if(P[re]===C)return re;return-1}return Su}function Ru(){if(sd)return Eu;sd=!0,Eu=u;var r=Wi().codes,e=r.ERR_METHOD_NOT_IMPLEMENTED,t=r.ERR_MULTIPLE_CALLBACK,i=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,n=r.ERR_TRANSFORM_WITH_LENGTH_0,o=yi();gi()(u,o);function s(p,d){var v=this._transformState;v.transforming=!1;var m=v.writecb;if(m===null)return this.emit("error",new t);v.writechunk=null,v.writecb=null,d!=null&&this.push(d),m(p);var g=this._readableState;g.reading=!1,(g.needReadable||g.length<g.highWaterMark)&&this._read(g.highWaterMark)}function u(p){if(!(this instanceof u))return new u(p);o.call(this,p),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,p&&(typeof p.transform=="function"&&(this._transform=p.transform),typeof p.flush=="function"&&(this._flush=p.flush)),this.on("prefinish",f)}function f(){var p=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(d,v){c(p,d,v)}):c(this,null,null)}u.prototype.push=function(p,d){return this._transformState.needTransform=!1,o.prototype.push.call(this,p,d)},u.prototype._transform=function(p,d,v){v(new e("_transform()"))},u.prototype._write=function(p,d,v){var m=this._transformState;if(m.writecb=v,m.writechunk=p,m.writeencoding=d,!m.transforming){var g=this._readableState;(m.needTransform||g.needReadable||g.length<g.highWaterMark)&&this._read(g.highWaterMark)}},u.prototype._read=function(p){var d=this._transformState;d.writechunk!==null&&!d.transforming?(d.transforming=!0,this._transform(d.writechunk,d.writeencoding,d.afterTransform)):d.needTransform=!0},u.prototype._destroy=function(p,d){o.prototype._destroy.call(this,p,function(v){d(v)})};function c(p,d,v){if(d)return p.emit("error",d);if(v!=null&&p.push(v),p._writableState.length)throw new n;if(p._transformState.transforming)throw new i;return p.push(null)}return Eu}function cd(){if(od)return _u;od=!0,_u=e;var r=Ru();gi()(e,r);function e(t){if(!(this instanceof e))return new e(t);r.call(this,t)}return e.prototype._transform=function(t,i,n){n(null,t)},_u}function hd(){if(ad)return Ou;ad=!0;var r;function e(v){var m=!1;return function(){m||(m=!0,v.apply(void 0,arguments))}}var t=Wi().codes,i=t.ERR_MISSING_ARGS,n=t.ERR_STREAM_DESTROYED;function o(v){if(v)throw v}function s(v){return v.setHeader&&typeof v.abort=="function"}function u(v,m,g,b){b=e(b);var E=!1;v.on("close",function(){E=!0}),r===void 0&&(r=So()),r(v,{readable:m,writable:g},function(x){if(x)return b(x);E=!0,b()});var A=!1;return function(x){if(!E&&!A){if(A=!0,s(v))return v.abort();if(typeof v.destroy=="function")return v.destroy();b(x||new n("pipe"))}}}function f(v){v()}function c(v,m){return v.pipe(m)}function p(v){return!v.length||typeof v[v.length-1]!="function"?o:v.pop()}function d(){for(var v=arguments.length,m=new Array(v),g=0;g<v;g++)m[g]=arguments[g];var b=p(m);if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new i("streams");var E,A=m.map(function(x,I){var D=I<m.length-1,j=I>0;return u(x,D,j,function(ae){E||(E=ae),ae&&A.forEach(f),!D&&(A.forEach(f),b(E))})});return m.reduce(c)}return Ou=d,Ou}var xn,Wp,wo,zp,di,Vp,Vr,bo,Gp,lu,Hp,fu,Yp,cu,Kp,hu,Jp,pu,Qp,du,Xp,yu,gu,Zp,gb,mu,ed,vu,td,wu,rd,bu,id,Su,nd,wb,Eu,sd,_u,od,Ou,ad,In=rt(()=>{L();F();N();Wr();qi();kr();$r();pi();xn={},Wp=!1;wo={},zp=!1;di={},Vp=!1;Vr=pb();Vr.Buffer;Vr.INSPECT_MAX_BYTES;Vr.kMaxLength;bo={},Gp=!1;lu={},Hp=!1;fu={},Yp=!1;cu={},Kp=!1;hu={},Jp=!1;pu={},Qp=!1;du={},Xp=!1,yu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;gu={},Zp=!1,gb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;mu={},ed=!1;vu={},td=!1;wu={},rd=!1;bu={},id=!1;Su={},nd=!1,wb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Eu={},sd=!1;_u={},od=!1;Ou={},ad=!1});function pd(r,e){if(r==null)throw new TypeError("Cannot convert first argument to object");for(var t=Object(r),i=1;i<arguments.length;i++){var n=arguments[i];if(n!=null)for(var o=Object.keys(Object(n)),s=0,u=o.length;s<u;s++){var f=o[s],c=Object.getOwnPropertyDescriptor(n,f);c!==void 0&&c.enumerable&&(t[f]=n[f])}}return t}function iy(){if(Td)return Lu;function r(c){return(r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p})(c)}function e(c,p){return!p||r(p)!=="object"&&typeof p!="function"?function(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}(c):p}function t(c){return(t=Object.setPrototypeOf?Object.getPrototypeOf:function(p){return p.__proto__||Object.getPrototypeOf(p)})(c)}function i(c,p){return(i=Object.setPrototypeOf||function(d,v){return d.__proto__=v,d})(c,p)}Td=!0;var n,o,s={};function u(c,p,d){d||(d=Error);var v=function(m){function g(b,E,A){var x;return function(I,D){if(!(I instanceof D))throw new TypeError("Cannot call a class as a function")}(this,g),(x=e(this,t(g).call(this,function(I,D,j){return typeof p=="string"?p:p(I,D,j)}(b,E,A)))).code=c,x}return function(b,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(E&&E.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),E&&i(b,E)}(g,m),g}(d);s[c]=v}function f(c,p){if(Array.isArray(c)){var d=c.length;return c=c.map(function(v){return String(v)}),d>2?"one of ".concat(p," ").concat(c.slice(0,d-1).join(", "),", or ")+c[d-1]:d===2?"one of ".concat(p," ").concat(c[0]," or ").concat(c[1]):"of ".concat(p," ").concat(c[0])}return"of ".concat(p," ").concat(String(c))}return u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",function(c,p,d){var v,m,g;if(n===void 0&&(n=ju()),n(typeof c=="string","'name' must be a string"),typeof p=="string"&&(m="not ",p.substr(0,m.length)===m)?(v="must not be",p=p.replace(/^not /,"")):v="must be",function(E,A,x){return(x===void 0||x>E.length)&&(x=E.length),E.substring(x-A.length,x)===A}(c," argument"))g="The ".concat(c," ").concat(v," ").concat(f(p,"type"));else{var b=function(E,A,x){return typeof x!="number"&&(x=0),!(x+A.length>E.length)&&E.indexOf(A,x)!==-1}(c,".")?"property":"argument";g='The "'.concat(c,'" ').concat(b," ").concat(v," ").concat(f(p,"type"))}return g+=". Received type ".concat(r(d))},TypeError),u("ERR_INVALID_ARG_VALUE",function(c,p){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";o===void 0&&(o=G);var v=o.inspect(p);return v.length>128&&(v="".concat(v.slice(0,128),"...")),"The argument '".concat(c,"' ").concat(d,". Received ").concat(v)},TypeError),u("ERR_INVALID_RETURN_VALUE",function(c,p,d){var v;return v=d&&d.constructor&&d.constructor.name?"instance of ".concat(d.constructor.name):"type ".concat(r(d)),"Expected ".concat(c,' to be returned from the "').concat(p,'"')+" function but got ".concat(v,".")},TypeError),u("ERR_MISSING_ARGS",function(){for(var c=arguments.length,p=new Array(c),d=0;d<c;d++)p[d]=arguments[d];n===void 0&&(n=ju()),n(p.length>0,"At least one arg needs to be specified");var v="The ",m=p.length;switch(p=p.map(function(g){return'"'.concat(g,'"')}),m){case 1:v+="".concat(p[0]," argument");break;case 2:v+="".concat(p[0]," and ").concat(p[1]," arguments");break;default:v+=p.slice(0,m-1).join(", "),v+=", and ".concat(p[m-1]," arguments")}return"".concat(v," must be specified")},TypeError),Lu.codes=s,Lu}function nS(){if(xd)return Rd;xd=!0;var r=He;function e(X,K,Q){return K in X?Object.defineProperty(X,K,{value:Q,enumerable:!0,configurable:!0,writable:!0}):X[K]=Q,X}function t(X,K){for(var Q=0;Q<K.length;Q++){var oe=K[Q];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(X,oe.key,oe)}}function i(X,K){return!K||p(K)!=="object"&&typeof K!="function"?n(X):K}function n(X){if(X===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return X}function o(X){var K=typeof Map=="function"?new Map:void 0;return(o=function(Q){if(Q===null||(oe=Q,Function.toString.call(oe).indexOf("[native code]")===-1))return Q;var oe;if(typeof Q!="function")throw new TypeError("Super expression must either be null or a function");if(K!==void 0){if(K.has(Q))return K.get(Q);K.set(Q,_e)}function _e(){return u(Q,arguments,c(this).constructor)}return _e.prototype=Object.create(Q.prototype,{constructor:{value:_e,enumerable:!1,writable:!0,configurable:!0}}),f(_e,Q)})(X)}function s(){if(typeof Reflect>"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 u(X,K,Q){return(u=s()?Reflect.construct:function(oe,_e,Oe){var Be=[null];Be.push.apply(Be,_e);var Ee=new(Function.bind.apply(oe,Be));return Oe&&f(Ee,Oe.prototype),Ee}).apply(null,arguments)}function f(X,K){return(f=Object.setPrototypeOf||function(Q,oe){return Q.__proto__=oe,Q})(X,K)}function c(X){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)})(X)}function p(X){return(p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(K){return typeof K}:function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K})(X)}var d=G.inspect,v=iy().codes.ERR_INVALID_ARG_TYPE;function m(X,K,Q){return(Q===void 0||Q>X.length)&&(Q=X.length),X.substring(Q-K.length,Q)===K}var g="",b="",E="",A="",x={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 I(X){var K=Object.keys(X),Q=Object.create(Object.getPrototypeOf(X));return K.forEach(function(oe){Q[oe]=X[oe]}),Object.defineProperty(Q,"message",{value:X.message}),Q}function D(X){return d(X,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function j(X,K,Q){var oe="",_e="",Oe=0,Be="",Ee=!1,Me=D(X),Ae=Me.split(`
|
|
11
11
|
`),V=D(K).split(`
|
|
12
12
|
`),q=0,J="";if(Q==="strictEqual"&&p(X)==="object"&&p(K)==="object"&&X!==null&&K!==null&&(Q="strictEqualObject"),Ae.length===1&&V.length===1&&Ae[0]!==V[0]){var H=Ae[0].length+V[0].length;if(H<=10){if(!(p(X)==="object"&&X!==null||p(K)==="object"&&K!==null||X===0&&K===0))return"".concat(x[Q],`
|
|
13
13
|
|
|
14
14
|
`)+"".concat(Ae[0]," !== ").concat(V[0],`
|
|
15
15
|
`)}else if(Q!=="strictEqualObject"&&H<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;Ae[0][q]===V[0][q];)q++;q>2&&(J=`
|
|
16
|
-
`.concat(function(P,C){if(C=Math.floor(C),P.length==0||C==0)return"";var re=P.length*C;for(C=Math.floor(Math.log(C)/Math.log(2));C;)P+=P,C--;return P+=P.substring(0,re-P.length)}(" ",q),"^"),q=0)}}for(var ee=Ae[Ae.length-1],ge=V[V.length-1];ee===ge&&(q++<2?
|
|
17
|
-
`.concat(ee).concat(
|
|
18
|
-
`);if(
|
|
16
|
+
`.concat(function(P,C){if(C=Math.floor(C),P.length==0||C==0)return"";var re=P.length*C;for(C=Math.floor(Math.log(C)/Math.log(2));C;)P+=P,C--;return P+=P.substring(0,re-P.length)}(" ",q),"^"),q=0)}}for(var ee=Ae[Ae.length-1],ge=V[V.length-1];ee===ge&&(q++<2?Be=`
|
|
17
|
+
`.concat(ee).concat(Be):oe=ee,Ae.pop(),V.pop(),Ae.length!==0&&V.length!==0);)ee=Ae[Ae.length-1],ge=V[V.length-1];var Se=Math.max(Ae.length,V.length);if(Se===0){var Ue=Me.split(`
|
|
18
|
+
`);if(Ue.length>30)for(Ue[26]="".concat(g,"...").concat(A);Ue.length>27;)Ue.pop();return"".concat(x.notIdentical,`
|
|
19
19
|
|
|
20
|
-
`).concat(
|
|
20
|
+
`).concat(Ue.join(`
|
|
21
21
|
`),`
|
|
22
|
-
`)}q>3&&(
|
|
23
|
-
`.concat(g,"...").concat(A).concat(
|
|
24
|
-
`.concat(
|
|
22
|
+
`)}q>3&&(Be=`
|
|
23
|
+
`.concat(g,"...").concat(A).concat(Be),Ee=!0),oe!==""&&(Be=`
|
|
24
|
+
`.concat(oe).concat(Be),oe="");var De=0,mt=x[Q]+`
|
|
25
25
|
`.concat(b,"+ actual").concat(A," ").concat(E,"- expected").concat(A),$=" ".concat(g,"...").concat(A," Lines skipped");for(q=0;q<Se;q++){var U=q-Oe;if(Ae.length<q+1)U>1&&q>2&&(U>4?(_e+=`
|
|
26
26
|
`.concat(g,"...").concat(A),Ee=!0):U>3&&(_e+=`
|
|
27
|
-
`.concat(V[q-2]),
|
|
28
|
-
`.concat(V[q-1]),
|
|
29
|
-
`.concat(E,"-").concat(A," ").concat(V[q]),
|
|
27
|
+
`.concat(V[q-2]),De++),_e+=`
|
|
28
|
+
`.concat(V[q-1]),De++),Oe=q,oe+=`
|
|
29
|
+
`.concat(E,"-").concat(A," ").concat(V[q]),De++;else if(V.length<q+1)U>1&&q>2&&(U>4?(_e+=`
|
|
30
30
|
`.concat(g,"...").concat(A),Ee=!0):U>3&&(_e+=`
|
|
31
|
-
`.concat(Ae[q-2]),
|
|
32
|
-
`.concat(Ae[q-1]),
|
|
33
|
-
`.concat(b,"+").concat(A," ").concat(Ae[q]),
|
|
31
|
+
`.concat(Ae[q-2]),De++),_e+=`
|
|
32
|
+
`.concat(Ae[q-1]),De++),Oe=q,_e+=`
|
|
33
|
+
`.concat(b,"+").concat(A," ").concat(Ae[q]),De++;else{var te=V[q],me=Ae[q],xe=me!==te&&(!m(me,",")||me.slice(0,-1)!==te);xe&&m(te,",")&&te.slice(0,-1)===me&&(xe=!1,me+=","),xe?(U>1&&q>2&&(U>4?(_e+=`
|
|
34
34
|
`.concat(g,"...").concat(A),Ee=!0):U>3&&(_e+=`
|
|
35
|
-
`.concat(Ae[q-2]),
|
|
36
|
-
`.concat(Ae[q-1]),
|
|
37
|
-
`.concat(b,"+").concat(A," ").concat(me),
|
|
38
|
-
`.concat(E,"-").concat(A," ").concat(te),
|
|
39
|
-
`.concat(me),
|
|
35
|
+
`.concat(Ae[q-2]),De++),_e+=`
|
|
36
|
+
`.concat(Ae[q-1]),De++),Oe=q,_e+=`
|
|
37
|
+
`.concat(b,"+").concat(A," ").concat(me),oe+=`
|
|
38
|
+
`.concat(E,"-").concat(A," ").concat(te),De+=2):(_e+=oe,oe="",U!==1&&q!==0||(_e+=`
|
|
39
|
+
`.concat(me),De++))}if(De>20&&q<Se-2)return"".concat(mt).concat($,`
|
|
40
40
|
`).concat(_e,`
|
|
41
|
-
`).concat(g,"...").concat(A).concat(
|
|
41
|
+
`).concat(g,"...").concat(A).concat(oe,`
|
|
42
42
|
`)+"".concat(g,"...").concat(A)}return"".concat(mt).concat(Ee?$:"",`
|
|
43
|
-
`).concat(_e).concat(
|
|
43
|
+
`).concat(_e).concat(oe).concat(Be).concat(J)}var ae=function(X){function K(_e){var Oe;if(function(Ue,De){if(!(Ue instanceof De))throw new TypeError("Cannot call a class as a function")}(this,K),p(_e)!=="object"||_e===null)throw new v("options","Object",_e);var Be=_e.message,Ee=_e.operator,Me=_e.stackStartFn,Ae=_e.actual,V=_e.expected,q=Error.stackTraceLimit;if(Error.stackTraceLimit=0,Be!=null)Oe=i(this,c(K).call(this,String(Be)));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&r.stderr.getColorDepth()!==1?(g="\x1B[34m",b="\x1B[32m",A="\x1B[39m",E="\x1B[31m"):(g="",b="",A="",E="")),p(Ae)==="object"&&Ae!==null&&p(V)==="object"&&V!==null&&"stack"in Ae&&Ae instanceof Error&&"stack"in V&&V instanceof Error&&(Ae=I(Ae),V=I(V)),Ee==="deepStrictEqual"||Ee==="strictEqual")Oe=i(this,c(K).call(this,j(Ae,V,Ee)));else if(Ee==="notDeepStrictEqual"||Ee==="notStrictEqual"){var J=x[Ee],H=D(Ae).split(`
|
|
44
44
|
`);if(Ee==="notStrictEqual"&&p(Ae)==="object"&&Ae!==null&&(J=x.notStrictEqualObject),H.length>30)for(H[26]="".concat(g,"...").concat(A);H.length>27;)H.pop();Oe=H.length===1?i(this,c(K).call(this,"".concat(J," ").concat(H[0]))):i(this,c(K).call(this,"".concat(J,`
|
|
45
45
|
|
|
46
46
|
`).concat(H.join(`
|
|
@@ -53,21 +53,21 @@
|
|
|
53
53
|
|
|
54
54
|
should equal
|
|
55
55
|
|
|
56
|
-
`):ge=" ".concat(Ee," ").concat(ge)),Oe=i(this,c(K).call(this,"".concat(ee).concat(ge)))}return Error.stackTraceLimit=q,Oe.generatedMessage=!Ce,Object.defineProperty(n(Oe),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),Oe.code="ERR_ASSERTION",Oe.actual=Ae,Oe.expected=V,Oe.operator=Ee,Error.captureStackTrace&&Error.captureStackTrace(n(Oe),De),Oe.stack,Oe.name="AssertionError",i(Oe)}var Q,se;return function(_e,Oe){if(typeof Oe!="function"&&Oe!==null)throw new TypeError("Super expression must either be null or a function");_e.prototype=Object.create(Oe&&Oe.prototype,{constructor:{value:_e,writable:!0,configurable:!0}}),Oe&&f(_e,Oe)}(K,X),Q=K,(se=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:d.custom,value:function(_e,Oe){return d(this,function(Ce){for(var Ee=1;Ee<arguments.length;Ee++){var De=arguments[Ee]!=null?arguments[Ee]:{},Ae=Object.keys(De);typeof Object.getOwnPropertySymbols=="function"&&(Ae=Ae.concat(Object.getOwnPropertySymbols(De).filter(function(V){return Object.getOwnPropertyDescriptor(De,V).enumerable}))),Ae.forEach(function(V){e(Ce,V,De[V])})}return Ce}({},Oe,{customInspect:!1,depth:0}))}}])&&t(Q.prototype,se),K}(o(Error));return Rd=ae}function Id(r,e){return function(t){if(Array.isArray(t))return t}(r)||function(t,i){var n=[],o=!0,s=!1,u=void 0;try{for(var f,c=t[Symbol.iterator]();!(o=(f=c.next()).done)&&(n.push(f.value),!i||n.length!==i);o=!0);}catch(p){s=!0,u=p}finally{try{o||c.return==null||c.return()}finally{if(s)throw u}}return n}(r,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function tr(r){return(tr=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})(r)}function Wu(r){return r.call.bind(r)}function pS(r){if(r.length===0||r.length>10)return!0;for(var e=0;e<r.length;e++){var t=r.charCodeAt(e);if(t<48||t>57)return!0}return r.length===10&&r>=Math.pow(2,32)}function Ao(r){return Object.keys(r).filter(pS).concat(Ro(r).filter(Object.prototype.propertyIsEnumerable.bind(r)))}function Ud(r,e){if(r===e)return 0;for(var t=r.length,i=e.length,n=0,o=Math.min(t,i);n<o;++n)if(r[n]!==e[n]){t=r[n],i=e[n];break}return t<i?-1:i<t?1:0}function zt(r,e,t,i){if(r===e)return r!==0||!t||Pd(r,e);if(t){if(tr(r)!=="object")return typeof r=="number"&&Uu(r)&&Uu(e);if(tr(e)!=="object"||r===null||e===null||Object.getPrototypeOf(r)!==Object.getPrototypeOf(e))return!1}else{if(r===null||tr(r)!=="object")return(e===null||tr(e)!=="object")&&r==e;if(e===null||tr(e)!=="object")return!1}var n,o,s,u,f=Cd(r);if(f!==Cd(e))return!1;if(Array.isArray(r)){if(r.length!==e.length)return!1;var c=Ao(r),p=Ao(e);return c.length===p.length&&Cn(r,e,t,i,1,c)}if(f==="[object Object]"&&(!_o(r)&&_o(e)||!Oo(r)&&Oo(e)))return!1;if(Ld(r)){if(!Ld(e)||Date.prototype.getTime.call(r)!==Date.prototype.getTime.call(e))return!1}else if(Bd(r)){if(!Bd(e)||(s=r,u=e,!(sS?s.source===u.source&&s.flags===u.flags:RegExp.prototype.toString.call(s)===RegExp.prototype.toString.call(u))))return!1}else if(uS(r)||r instanceof Error){if(r.message!==e.message||r.name!==e.name)return!1}else{if(aS(r)){if(t||!cS(r)&&!hS(r)){if(!function(m,g){return m.byteLength===g.byteLength&&Ud(new Uint8Array(m.buffer,m.byteOffset,m.byteLength),new Uint8Array(g.buffer,g.byteOffset,g.byteLength))===0}(r,e))return!1}else if(!function(m,g){if(m.byteLength!==g.byteLength)return!1;for(var b=0;b<m.byteLength;b++)if(m[b]!==g[b])return!1;return!0}(r,e))return!1;var d=Ao(r),v=Ao(e);return d.length===v.length&&Cn(r,e,t,i,0,d)}if(Oo(r))return!(!Oo(e)||r.size!==e.size)&&Cn(r,e,t,i,2);if(_o(r))return!(!_o(e)||r.size!==e.size)&&Cn(r,e,t,i,3);if(oS(r)){if(o=e,(n=r).byteLength!==o.byteLength||Ud(new Uint8Array(n),new Uint8Array(o))!==0)return!1}else if(lS(r)&&!function(m,g){return Nd(m)?Nd(g)&&Pd(Number.prototype.valueOf.call(m),Number.prototype.valueOf.call(g)):Fd(m)?Fd(g)&&String.prototype.valueOf.call(m)===String.prototype.valueOf.call(g):Dd(m)?Dd(g)&&Boolean.prototype.valueOf.call(m)===Boolean.prototype.valueOf.call(g):Md(m)?Md(g)&&BigInt.prototype.valueOf.call(m)===BigInt.prototype.valueOf.call(g):fS(g)&&Symbol.prototype.valueOf.call(m)===Symbol.prototype.valueOf.call(g)}(r,e))return!1}return Cn(r,e,t,i,0)}function jd(r,e){return e.filter(function(t){return xo(r,t)})}function Cn(r,e,t,i,n,o){if(arguments.length===5){o=Object.keys(r);var s=Object.keys(e);if(o.length!==s.length)return!1}for(var u=0;u<o.length;u++)if(!Ln(e,o[u]))return!1;if(t&&arguments.length===5){var f=Ro(r);if(f.length!==0){var c=0;for(u=0;u<f.length;u++){var p=f[u];if(xo(r,p)){if(!xo(e,p))return!1;o.push(p),c++}else if(xo(e,p))return!1}var d=Ro(e);if(f.length!==d.length&&jd(e,d).length!==c)return!1}else{var v=Ro(e);if(v.length!==0&&jd(e,v).length!==0)return!1}}if(o.length===0&&(n===0||n===1&&r.length===0||r.size===0))return!0;if(i===void 0)i={val1:new Map,val2:new Map,position:0};else{var m=i.val1.get(r);if(m!==void 0){var g=i.val2.get(e);if(g!==void 0)return m===g}i.position++}i.val1.set(r,i.position),i.val2.set(e,i.position);var b=gS(r,e,t,o,i,n);return i.val1.delete(r),i.val2.delete(e),b}function qd(r,e,t,i){for(var n=Io(r),o=0;o<n.length;o++){var s=n[o];if(zt(e,s,t,i))return r.delete(s),!0}return!1}function ny(r){switch(tr(r)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":r=+r;case"number":if(Uu(r))return!1}return!0}function dS(r,e,t){var i=ny(t);return i??(e.has(i)&&!r.has(i))}function yS(r,e,t,i,n){var o=ny(t);if(o!=null)return o;var s=e.get(o);return!(s===void 0&&!e.has(o)||!zt(i,s,!1,n))&&!r.has(o)&&zt(i,s,!1,n)}function $d(r,e,t,i,n,o){for(var s=Io(r),u=0;u<s.length;u++){var f=s[u];if(zt(t,f,n,o)&&zt(i,e.get(f),n,o))return r.delete(f),!0}return!1}function gS(r,e,t,i,n,o){var s=0;if(o===2){if(!function(p,d,v,m){for(var g=null,b=Io(p),E=0;E<b.length;E++){var A=b[E];if(tr(A)==="object"&&A!==null)g===null&&(g=new Set),g.add(A);else if(!d.has(A)){if(v||!dS(p,d,A))return!1;g===null&&(g=new Set),g.add(A)}}if(g!==null){for(var x=Io(d),I=0;I<x.length;I++){var D=x[I];if(tr(D)==="object"&&D!==null){if(!qd(g,D,v,m))return!1}else if(!v&&!p.has(D)&&!qd(g,D,v,m))return!1}return g.size===0}return!0}(r,e,t,n))return!1}else if(o===3){if(!function(p,d,v,m){for(var g=null,b=kd(p),E=0;E<b.length;E++){var A=Id(b[E],2),x=A[0],I=A[1];if(tr(x)==="object"&&x!==null)g===null&&(g=new Set),g.add(x);else{var D=d.get(x);if(D===void 0&&!d.has(x)||!zt(I,D,v,m)){if(v||!yS(p,d,x,I,m))return!1;g===null&&(g=new Set),g.add(x)}}}if(g!==null){for(var j=kd(d),ae=0;ae<j.length;ae++){var X=Id(j[ae],2),K=(x=X[0],X[1]);if(tr(x)==="object"&&x!==null){if(!$d(g,p,x,K,v,m))return!1}else if(!(v||p.has(x)&&zt(p.get(x),K,!1,m)||$d(g,p,x,K,!1,m)))return!1}return g.size===0}return!0}(r,e,t,n))return!1}else if(o===1)for(;s<r.length;s++){if(!Ln(r,s)){if(Ln(e,s))return!1;for(var u=Object.keys(r);s<u.length;s++){var f=u[s];if(!Ln(e,f)||!zt(r[f],e[f],t,n))return!1}return u.length===Object.keys(e).length}if(!Ln(e,s)||!zt(r[s],e[s],t,n))return!1}for(s=0;s<i.length;s++){var c=i[s];if(!zt(r[c],e[c],t,n))return!1}return!0}function ju(){if(zd)return Nu;zd=!0;var r=Ge;function e(V){return(e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q})(V)}var t,i,n=iy().codes,o=n.ERR_AMBIGUOUS_ARGUMENT,s=n.ERR_INVALID_ARG_TYPE,u=n.ERR_INVALID_ARG_VALUE,f=n.ERR_INVALID_RETURN_VALUE,c=n.ERR_MISSING_ARGS,p=nS(),d=G.inspect,v=G.types,m=v.isPromise,g=v.isRegExp,b=Object.assign?Object.assign:bb.assign,E=Object.is?Object.is:ey;function A(){t=Wd.isDeepEqual,i=Wd.isDeepStrictEqual}var x=!1,I=Nu=X,D={};function j(V){throw V.message instanceof Error?V.message:new p(V)}function ae(V,q,J,H){if(!J){var ee=!1;if(q===0)ee=!0,H="No value argument passed to `assert.ok()`";else if(H instanceof Error)throw H;var ge=new p({actual:J,expected:!0,message:H,operator:"==",stackStartFn:V});throw ge.generatedMessage=ee,ge}}function X(){for(var V=arguments.length,q=new Array(V),J=0;J<V;J++)q[J]=arguments[J];ae.apply(void 0,[X,q.length].concat(q))}I.fail=function V(q,J,H,ee,ge){var Se,Me=arguments.length;if(Me===0)Se="Failed";else if(Me===1)H=q,q=void 0;else{if(x===!1){x=!0;var Fe=r.emitWarning?r.emitWarning:console.warn.bind(console);Fe("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}Me===2&&(ee="!=")}if(H instanceof Error)throw H;var mt={actual:q,expected:J,operator:ee===void 0?"fail":ee,stackStartFn:ge||V};H!==void 0&&(mt.message=H);var $=new p(mt);throw Se&&($.message=Se,$.generatedMessage=!0),$},I.AssertionError=p,I.ok=X,I.equal=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");q!=J&&j({actual:q,expected:J,message:H,operator:"==",stackStartFn:V})},I.notEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");q==J&&j({actual:q,expected:J,message:H,operator:"!=",stackStartFn:V})},I.deepEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");t===void 0&&A(),t(q,J)||j({actual:q,expected:J,message:H,operator:"deepEqual",stackStartFn:V})},I.notDeepEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");t===void 0&&A(),t(q,J)&&j({actual:q,expected:J,message:H,operator:"notDeepEqual",stackStartFn:V})},I.deepStrictEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");t===void 0&&A(),i(q,J)||j({actual:q,expected:J,message:H,operator:"deepStrictEqual",stackStartFn:V})},I.notDeepStrictEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");t===void 0&&A(),i(q,J)&&j({actual:q,expected:J,message:H,operator:"notDeepStrictEqual",stackStartFn:V})},I.strictEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");E(q,J)||j({actual:q,expected:J,message:H,operator:"strictEqual",stackStartFn:V})},I.notStrictEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");E(q,J)&&j({actual:q,expected:J,message:H,operator:"notStrictEqual",stackStartFn:V})};var K=function V(q,J,H){var ee=this;(function(ge,Se){if(!(ge instanceof Se))throw new TypeError("Cannot call a class as a function")})(this,V),J.forEach(function(ge){ge in q&&(H!==void 0&&typeof H[ge]=="string"&&g(q[ge])&&q[ge].test(H[ge])?ee[ge]=H[ge]:ee[ge]=q[ge])})};function Q(V,q,J,H,ee,ge){if(!(J in V)||!i(V[J],q[J])){if(!H){var Se=new K(V,ee),Me=new K(q,ee,V),Fe=new p({actual:Se,expected:Me,operator:"deepStrictEqual",stackStartFn:ge});throw Fe.actual=V,Fe.expected=q,Fe.operator=ge.name,Fe}j({actual:V,expected:q,message:H,operator:ge.name,stackStartFn:ge})}}function se(V,q,J,H){if(typeof q!="function"){if(g(q))return q.test(V);if(arguments.length===2)throw new s("expected",["Function","RegExp"],q);if(e(V)!=="object"||V===null){var ee=new p({actual:V,expected:q,message:J,operator:"deepStrictEqual",stackStartFn:H});throw ee.operator=H.name,ee}var ge=Object.keys(q);if(q instanceof Error)ge.push("name","message");else if(ge.length===0)throw new u("error",q,"may not be an empty object");return t===void 0&&A(),ge.forEach(function(Se){typeof V[Se]=="string"&&g(q[Se])&&q[Se].test(V[Se])||Q(V,q,Se,J,ge,H)}),!0}return q.prototype!==void 0&&V instanceof q||!Error.isPrototypeOf(q)&&q.call({},V)===!0}function _e(V){if(typeof V!="function")throw new s("fn","Function",V);try{V()}catch(q){return q}return D}function Oe(V){return m(V)||V!==null&&e(V)==="object"&&typeof V.then=="function"&&typeof V.catch=="function"}function Ce(V){return Promise.resolve().then(function(){var q;if(typeof V=="function"){if(!Oe(q=V()))throw new f("instance of Promise","promiseFn",q)}else{if(!Oe(V))throw new s("promiseFn",["Function","Promise"],V);q=V}return Promise.resolve().then(function(){return q}).then(function(){return D}).catch(function(J){return J})})}function Ee(V,q,J,H){if(typeof J=="string"){if(arguments.length===4)throw new s("error",["Object","Error","Function","RegExp"],J);if(e(q)==="object"&&q!==null){if(q.message===J)throw new o("error/message",'The error message "'.concat(q.message,'" is identical to the message.'))}else if(q===J)throw new o("error/message",'The error "'.concat(q,'" is identical to the message.'));H=J,J=void 0}else if(J!=null&&e(J)!=="object"&&typeof J!="function")throw new s("error",["Object","Error","Function","RegExp"],J);if(q===D){var ee="";J&&J.name&&(ee+=" (".concat(J.name,")")),ee+=H?": ".concat(H):".";var ge=V.name==="rejects"?"rejection":"exception";j({actual:void 0,expected:J,operator:V.name,message:"Missing expected ".concat(ge).concat(ee),stackStartFn:V})}if(J&&!se(q,J,H,V))throw q}function De(V,q,J,H){if(q!==D){if(typeof J=="string"&&(H=J,J=void 0),!J||se(q,J)){var ee=H?": ".concat(H):".",ge=V.name==="doesNotReject"?"rejection":"exception";j({actual:q,expected:J,operator:V.name,message:"Got unwanted ".concat(ge).concat(ee,`
|
|
57
|
-
`)+'Actual message: "'.concat(q&&q.message,'"'),stackStartFn:V})}throw q}}function Ae(){for(var V=arguments.length,q=new Array(V),J=0;J<V;J++)q[J]=arguments[J];ae.apply(void 0,[Ae,q.length].concat(q))}return I.throws=function V(q){for(var J=arguments.length,H=new Array(J>1?J-1:0),ee=1;ee<J;ee++)H[ee-1]=arguments[ee];Ee.apply(void 0,[V,_e(q)].concat(H))},I.rejects=function V(q){for(var J=arguments.length,H=new Array(J>1?J-1:0),ee=1;ee<J;ee++)H[ee-1]=arguments[ee];return
|
|
56
|
+
`):ge=" ".concat(Ee," ").concat(ge)),Oe=i(this,c(K).call(this,"".concat(ee).concat(ge)))}return Error.stackTraceLimit=q,Oe.generatedMessage=!Be,Object.defineProperty(n(Oe),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),Oe.code="ERR_ASSERTION",Oe.actual=Ae,Oe.expected=V,Oe.operator=Ee,Error.captureStackTrace&&Error.captureStackTrace(n(Oe),Me),Oe.stack,Oe.name="AssertionError",i(Oe)}var Q,oe;return function(_e,Oe){if(typeof Oe!="function"&&Oe!==null)throw new TypeError("Super expression must either be null or a function");_e.prototype=Object.create(Oe&&Oe.prototype,{constructor:{value:_e,writable:!0,configurable:!0}}),Oe&&f(_e,Oe)}(K,X),Q=K,(oe=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:d.custom,value:function(_e,Oe){return d(this,function(Be){for(var Ee=1;Ee<arguments.length;Ee++){var Me=arguments[Ee]!=null?arguments[Ee]:{},Ae=Object.keys(Me);typeof Object.getOwnPropertySymbols=="function"&&(Ae=Ae.concat(Object.getOwnPropertySymbols(Me).filter(function(V){return Object.getOwnPropertyDescriptor(Me,V).enumerable}))),Ae.forEach(function(V){e(Be,V,Me[V])})}return Be}({},Oe,{customInspect:!1,depth:0}))}}])&&t(Q.prototype,oe),K}(o(Error));return Rd=ae}function Id(r,e){return function(t){if(Array.isArray(t))return t}(r)||function(t,i){var n=[],o=!0,s=!1,u=void 0;try{for(var f,c=t[Symbol.iterator]();!(o=(f=c.next()).done)&&(n.push(f.value),!i||n.length!==i);o=!0);}catch(p){s=!0,u=p}finally{try{o||c.return==null||c.return()}finally{if(s)throw u}}return n}(r,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function tr(r){return(tr=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})(r)}function Wu(r){return r.call.bind(r)}function pS(r){if(r.length===0||r.length>10)return!0;for(var e=0;e<r.length;e++){var t=r.charCodeAt(e);if(t<48||t>57)return!0}return r.length===10&&r>=Math.pow(2,32)}function Ao(r){return Object.keys(r).filter(pS).concat(Ro(r).filter(Object.prototype.propertyIsEnumerable.bind(r)))}function Ud(r,e){if(r===e)return 0;for(var t=r.length,i=e.length,n=0,o=Math.min(t,i);n<o;++n)if(r[n]!==e[n]){t=r[n],i=e[n];break}return t<i?-1:i<t?1:0}function zt(r,e,t,i){if(r===e)return r!==0||!t||Pd(r,e);if(t){if(tr(r)!=="object")return typeof r=="number"&&Uu(r)&&Uu(e);if(tr(e)!=="object"||r===null||e===null||Object.getPrototypeOf(r)!==Object.getPrototypeOf(e))return!1}else{if(r===null||tr(r)!=="object")return(e===null||tr(e)!=="object")&&r==e;if(e===null||tr(e)!=="object")return!1}var n,o,s,u,f=Cd(r);if(f!==Cd(e))return!1;if(Array.isArray(r)){if(r.length!==e.length)return!1;var c=Ao(r),p=Ao(e);return c.length===p.length&&Cn(r,e,t,i,1,c)}if(f==="[object Object]"&&(!_o(r)&&_o(e)||!Oo(r)&&Oo(e)))return!1;if(Bd(r)){if(!Bd(e)||Date.prototype.getTime.call(r)!==Date.prototype.getTime.call(e))return!1}else if(Ld(r)){if(!Ld(e)||(s=r,u=e,!(sS?s.source===u.source&&s.flags===u.flags:RegExp.prototype.toString.call(s)===RegExp.prototype.toString.call(u))))return!1}else if(uS(r)||r instanceof Error){if(r.message!==e.message||r.name!==e.name)return!1}else{if(aS(r)){if(t||!cS(r)&&!hS(r)){if(!function(m,g){return m.byteLength===g.byteLength&&Ud(new Uint8Array(m.buffer,m.byteOffset,m.byteLength),new Uint8Array(g.buffer,g.byteOffset,g.byteLength))===0}(r,e))return!1}else if(!function(m,g){if(m.byteLength!==g.byteLength)return!1;for(var b=0;b<m.byteLength;b++)if(m[b]!==g[b])return!1;return!0}(r,e))return!1;var d=Ao(r),v=Ao(e);return d.length===v.length&&Cn(r,e,t,i,0,d)}if(Oo(r))return!(!Oo(e)||r.size!==e.size)&&Cn(r,e,t,i,2);if(_o(r))return!(!_o(e)||r.size!==e.size)&&Cn(r,e,t,i,3);if(oS(r)){if(o=e,(n=r).byteLength!==o.byteLength||Ud(new Uint8Array(n),new Uint8Array(o))!==0)return!1}else if(lS(r)&&!function(m,g){return Nd(m)?Nd(g)&&Pd(Number.prototype.valueOf.call(m),Number.prototype.valueOf.call(g)):Fd(m)?Fd(g)&&String.prototype.valueOf.call(m)===String.prototype.valueOf.call(g):Dd(m)?Dd(g)&&Boolean.prototype.valueOf.call(m)===Boolean.prototype.valueOf.call(g):Md(m)?Md(g)&&BigInt.prototype.valueOf.call(m)===BigInt.prototype.valueOf.call(g):fS(g)&&Symbol.prototype.valueOf.call(m)===Symbol.prototype.valueOf.call(g)}(r,e))return!1}return Cn(r,e,t,i,0)}function jd(r,e){return e.filter(function(t){return xo(r,t)})}function Cn(r,e,t,i,n,o){if(arguments.length===5){o=Object.keys(r);var s=Object.keys(e);if(o.length!==s.length)return!1}for(var u=0;u<o.length;u++)if(!Bn(e,o[u]))return!1;if(t&&arguments.length===5){var f=Ro(r);if(f.length!==0){var c=0;for(u=0;u<f.length;u++){var p=f[u];if(xo(r,p)){if(!xo(e,p))return!1;o.push(p),c++}else if(xo(e,p))return!1}var d=Ro(e);if(f.length!==d.length&&jd(e,d).length!==c)return!1}else{var v=Ro(e);if(v.length!==0&&jd(e,v).length!==0)return!1}}if(o.length===0&&(n===0||n===1&&r.length===0||r.size===0))return!0;if(i===void 0)i={val1:new Map,val2:new Map,position:0};else{var m=i.val1.get(r);if(m!==void 0){var g=i.val2.get(e);if(g!==void 0)return m===g}i.position++}i.val1.set(r,i.position),i.val2.set(e,i.position);var b=gS(r,e,t,o,i,n);return i.val1.delete(r),i.val2.delete(e),b}function qd(r,e,t,i){for(var n=Io(r),o=0;o<n.length;o++){var s=n[o];if(zt(e,s,t,i))return r.delete(s),!0}return!1}function ny(r){switch(tr(r)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":r=+r;case"number":if(Uu(r))return!1}return!0}function dS(r,e,t){var i=ny(t);return i??(e.has(i)&&!r.has(i))}function yS(r,e,t,i,n){var o=ny(t);if(o!=null)return o;var s=e.get(o);return!(s===void 0&&!e.has(o)||!zt(i,s,!1,n))&&!r.has(o)&&zt(i,s,!1,n)}function $d(r,e,t,i,n,o){for(var s=Io(r),u=0;u<s.length;u++){var f=s[u];if(zt(t,f,n,o)&&zt(i,e.get(f),n,o))return r.delete(f),!0}return!1}function gS(r,e,t,i,n,o){var s=0;if(o===2){if(!function(p,d,v,m){for(var g=null,b=Io(p),E=0;E<b.length;E++){var A=b[E];if(tr(A)==="object"&&A!==null)g===null&&(g=new Set),g.add(A);else if(!d.has(A)){if(v||!dS(p,d,A))return!1;g===null&&(g=new Set),g.add(A)}}if(g!==null){for(var x=Io(d),I=0;I<x.length;I++){var D=x[I];if(tr(D)==="object"&&D!==null){if(!qd(g,D,v,m))return!1}else if(!v&&!p.has(D)&&!qd(g,D,v,m))return!1}return g.size===0}return!0}(r,e,t,n))return!1}else if(o===3){if(!function(p,d,v,m){for(var g=null,b=kd(p),E=0;E<b.length;E++){var A=Id(b[E],2),x=A[0],I=A[1];if(tr(x)==="object"&&x!==null)g===null&&(g=new Set),g.add(x);else{var D=d.get(x);if(D===void 0&&!d.has(x)||!zt(I,D,v,m)){if(v||!yS(p,d,x,I,m))return!1;g===null&&(g=new Set),g.add(x)}}}if(g!==null){for(var j=kd(d),ae=0;ae<j.length;ae++){var X=Id(j[ae],2),K=(x=X[0],X[1]);if(tr(x)==="object"&&x!==null){if(!$d(g,p,x,K,v,m))return!1}else if(!(v||p.has(x)&&zt(p.get(x),K,!1,m)||$d(g,p,x,K,!1,m)))return!1}return g.size===0}return!0}(r,e,t,n))return!1}else if(o===1)for(;s<r.length;s++){if(!Bn(r,s)){if(Bn(e,s))return!1;for(var u=Object.keys(r);s<u.length;s++){var f=u[s];if(!Bn(e,f)||!zt(r[f],e[f],t,n))return!1}return u.length===Object.keys(e).length}if(!Bn(e,s)||!zt(r[s],e[s],t,n))return!1}for(s=0;s<i.length;s++){var c=i[s];if(!zt(r[c],e[c],t,n))return!1}return!0}function ju(){if(zd)return Nu;zd=!0;var r=He;function e(V){return(e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q})(V)}var t,i,n=iy().codes,o=n.ERR_AMBIGUOUS_ARGUMENT,s=n.ERR_INVALID_ARG_TYPE,u=n.ERR_INVALID_ARG_VALUE,f=n.ERR_INVALID_RETURN_VALUE,c=n.ERR_MISSING_ARGS,p=nS(),d=G.inspect,v=G.types,m=v.isPromise,g=v.isRegExp,b=Object.assign?Object.assign:bb.assign,E=Object.is?Object.is:ey;function A(){t=Wd.isDeepEqual,i=Wd.isDeepStrictEqual}var x=!1,I=Nu=X,D={};function j(V){throw V.message instanceof Error?V.message:new p(V)}function ae(V,q,J,H){if(!J){var ee=!1;if(q===0)ee=!0,H="No value argument passed to `assert.ok()`";else if(H instanceof Error)throw H;var ge=new p({actual:J,expected:!0,message:H,operator:"==",stackStartFn:V});throw ge.generatedMessage=ee,ge}}function X(){for(var V=arguments.length,q=new Array(V),J=0;J<V;J++)q[J]=arguments[J];ae.apply(void 0,[X,q.length].concat(q))}I.fail=function V(q,J,H,ee,ge){var Se,Ue=arguments.length;if(Ue===0)Se="Failed";else if(Ue===1)H=q,q=void 0;else{if(x===!1){x=!0;var De=r.emitWarning?r.emitWarning:console.warn.bind(console);De("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}Ue===2&&(ee="!=")}if(H instanceof Error)throw H;var mt={actual:q,expected:J,operator:ee===void 0?"fail":ee,stackStartFn:ge||V};H!==void 0&&(mt.message=H);var $=new p(mt);throw Se&&($.message=Se,$.generatedMessage=!0),$},I.AssertionError=p,I.ok=X,I.equal=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");q!=J&&j({actual:q,expected:J,message:H,operator:"==",stackStartFn:V})},I.notEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");q==J&&j({actual:q,expected:J,message:H,operator:"!=",stackStartFn:V})},I.deepEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");t===void 0&&A(),t(q,J)||j({actual:q,expected:J,message:H,operator:"deepEqual",stackStartFn:V})},I.notDeepEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");t===void 0&&A(),t(q,J)&&j({actual:q,expected:J,message:H,operator:"notDeepEqual",stackStartFn:V})},I.deepStrictEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");t===void 0&&A(),i(q,J)||j({actual:q,expected:J,message:H,operator:"deepStrictEqual",stackStartFn:V})},I.notDeepStrictEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");t===void 0&&A(),i(q,J)&&j({actual:q,expected:J,message:H,operator:"notDeepStrictEqual",stackStartFn:V})},I.strictEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");E(q,J)||j({actual:q,expected:J,message:H,operator:"strictEqual",stackStartFn:V})},I.notStrictEqual=function V(q,J,H){if(arguments.length<2)throw new c("actual","expected");E(q,J)&&j({actual:q,expected:J,message:H,operator:"notStrictEqual",stackStartFn:V})};var K=function V(q,J,H){var ee=this;(function(ge,Se){if(!(ge instanceof Se))throw new TypeError("Cannot call a class as a function")})(this,V),J.forEach(function(ge){ge in q&&(H!==void 0&&typeof H[ge]=="string"&&g(q[ge])&&q[ge].test(H[ge])?ee[ge]=H[ge]:ee[ge]=q[ge])})};function Q(V,q,J,H,ee,ge){if(!(J in V)||!i(V[J],q[J])){if(!H){var Se=new K(V,ee),Ue=new K(q,ee,V),De=new p({actual:Se,expected:Ue,operator:"deepStrictEqual",stackStartFn:ge});throw De.actual=V,De.expected=q,De.operator=ge.name,De}j({actual:V,expected:q,message:H,operator:ge.name,stackStartFn:ge})}}function oe(V,q,J,H){if(typeof q!="function"){if(g(q))return q.test(V);if(arguments.length===2)throw new s("expected",["Function","RegExp"],q);if(e(V)!=="object"||V===null){var ee=new p({actual:V,expected:q,message:J,operator:"deepStrictEqual",stackStartFn:H});throw ee.operator=H.name,ee}var ge=Object.keys(q);if(q instanceof Error)ge.push("name","message");else if(ge.length===0)throw new u("error",q,"may not be an empty object");return t===void 0&&A(),ge.forEach(function(Se){typeof V[Se]=="string"&&g(q[Se])&&q[Se].test(V[Se])||Q(V,q,Se,J,ge,H)}),!0}return q.prototype!==void 0&&V instanceof q||!Error.isPrototypeOf(q)&&q.call({},V)===!0}function _e(V){if(typeof V!="function")throw new s("fn","Function",V);try{V()}catch(q){return q}return D}function Oe(V){return m(V)||V!==null&&e(V)==="object"&&typeof V.then=="function"&&typeof V.catch=="function"}function Be(V){return Promise.resolve().then(function(){var q;if(typeof V=="function"){if(!Oe(q=V()))throw new f("instance of Promise","promiseFn",q)}else{if(!Oe(V))throw new s("promiseFn",["Function","Promise"],V);q=V}return Promise.resolve().then(function(){return q}).then(function(){return D}).catch(function(J){return J})})}function Ee(V,q,J,H){if(typeof J=="string"){if(arguments.length===4)throw new s("error",["Object","Error","Function","RegExp"],J);if(e(q)==="object"&&q!==null){if(q.message===J)throw new o("error/message",'The error message "'.concat(q.message,'" is identical to the message.'))}else if(q===J)throw new o("error/message",'The error "'.concat(q,'" is identical to the message.'));H=J,J=void 0}else if(J!=null&&e(J)!=="object"&&typeof J!="function")throw new s("error",["Object","Error","Function","RegExp"],J);if(q===D){var ee="";J&&J.name&&(ee+=" (".concat(J.name,")")),ee+=H?": ".concat(H):".";var ge=V.name==="rejects"?"rejection":"exception";j({actual:void 0,expected:J,operator:V.name,message:"Missing expected ".concat(ge).concat(ee),stackStartFn:V})}if(J&&!oe(q,J,H,V))throw q}function Me(V,q,J,H){if(q!==D){if(typeof J=="string"&&(H=J,J=void 0),!J||oe(q,J)){var ee=H?": ".concat(H):".",ge=V.name==="doesNotReject"?"rejection":"exception";j({actual:q,expected:J,operator:V.name,message:"Got unwanted ".concat(ge).concat(ee,`
|
|
57
|
+
`)+'Actual message: "'.concat(q&&q.message,'"'),stackStartFn:V})}throw q}}function Ae(){for(var V=arguments.length,q=new Array(V),J=0;J<V;J++)q[J]=arguments[J];ae.apply(void 0,[Ae,q.length].concat(q))}return I.throws=function V(q){for(var J=arguments.length,H=new Array(J>1?J-1:0),ee=1;ee<J;ee++)H[ee-1]=arguments[ee];Ee.apply(void 0,[V,_e(q)].concat(H))},I.rejects=function V(q){for(var J=arguments.length,H=new Array(J>1?J-1:0),ee=1;ee<J;ee++)H[ee-1]=arguments[ee];return Be(q).then(function(ge){return Ee.apply(void 0,[V,ge].concat(H))})},I.doesNotThrow=function V(q){for(var J=arguments.length,H=new Array(J>1?J-1:0),ee=1;ee<J;ee++)H[ee-1]=arguments[ee];Me.apply(void 0,[V,_e(q)].concat(H))},I.doesNotReject=function V(q){for(var J=arguments.length,H=new Array(J>1?J-1:0),ee=1;ee<J;ee++)H[ee-1]=arguments[ee];return Be(q).then(function(ge){return Me.apply(void 0,[V,ge].concat(H))})},I.ifError=function V(q){if(q!=null){var J="ifError got unwanted exception: ";e(q)==="object"&&typeof q.message=="string"?q.message.length===0&&q.constructor?J+=q.constructor.name:J+=q.message:J+=d(q);var H=new p({actual:q,expected:null,operator:"ifError",message:J,stackStartFn:V}),ee=q.stack;if(typeof ee=="string"){var ge=ee.split(`
|
|
58
58
|
`);ge.shift();for(var Se=H.stack.split(`
|
|
59
|
-
`),
|
|
59
|
+
`),Ue=0;Ue<ge.length;Ue++){var De=Se.indexOf(ge[Ue]);if(De!==-1){Se=Se.slice(0,De);break}}H.stack="".concat(Se.join(`
|
|
60
60
|
`),`
|
|
61
61
|
`).concat(ge.join(`
|
|
62
|
-
`))}throw H}},I.strict=b(Ae,I,{equal:I.strictEqual,deepEqual:I.deepStrictEqual,notEqual:I.notStrictEqual,notDeepEqual:I.notDeepStrictEqual}),I.strict.strict=I.strict,Nu}var bb,Vd,dd,Gd,kn,xu,yd,Iu,gd,md,Pn,Eo,vd,wd,Sb,Eb,_b,bd,To,Sd,Ob,Ab,Tb,Rb,xb,Fu,Hd,Ib,Yd,ko,kb,Ed,Pb,Cb,Lb,ku,Bb,Nb,Kd,Bn,wi,Pu,Fb,mi,vi,Cu,Lu,_d,Db,Mb,Ub,jb,qb,Jd,Od,Qd,$b,Wb,zb,Du,Mu,Ad,Vb,Gb,Hb,Yb,Kb,Xd,Jb,Zd,ey,qu,$u,Qb,Xb,Zb,eS,tS,ty,rS,ry,iS,Bu,Td,Rd,xd,sS,Io,kd,Pd,Ro,Uu,Ln,xo,Cd,Tt,oS,aS,Ld,_o,Bd,Oo,uS,lS,Nd,Fd,Dd,Md,fS,cS,hS,Wd,Nu,zd,Te,_k,Ok,Ak,Tk,Rk,xk,Ik,kk,Pk,Ck,Lk,Bk,Nk,Fk,Dk,Mk,Uk,zu=rt(()=>{B();F();N();kr();Ir();bb={assign:pd,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:pd})}},dd=Object.prototype.toString,Gd=function(r){var e=dd.call(r),t=e==="[object Arguments]";return t||(t=e!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&dd.call(r.callee)==="[object Function]"),t};Object.keys||(kn=Object.prototype.hasOwnProperty,xu=Object.prototype.toString,yd=Gd,Iu=Object.prototype.propertyIsEnumerable,gd=!Iu.call({toString:null},"toString"),md=Iu.call(function(){},"prototype"),Pn=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Eo=function(r){var e=r.constructor;return e&&e.prototype===r},vd={$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},wd=function(){if(typeof window>"u")return!1;for(var r in window)try{if(!vd["$"+r]&&kn.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{Eo(window[r])}catch{return!0}}catch{return!0}return!1}(),Vd=function(r){var e=r!==null&&typeof r=="object",t=xu.call(r)==="[object Function]",i=yd(r),n=e&&xu.call(r)==="[object String]",o=[];if(!e&&!t&&!i)throw new TypeError("Object.keys called on a non-object");var s=md&&t;if(n&&r.length>0&&!kn.call(r,0))for(var u=0;u<r.length;++u)o.push(String(u));if(i&&r.length>0)for(var f=0;f<r.length;++f)o.push(String(f));else for(var c in r)s&&c==="prototype"||!kn.call(r,c)||o.push(String(c));if(gd)for(var p=function(v){if(typeof window>"u"||!wd)return Eo(v);try{return Eo(v)}catch{return!1}}(r),d=0;d<Pn.length;++d)p&&Pn[d]==="constructor"||!kn.call(r,Pn[d])||o.push(Pn[d]);return o});Sb=Vd,Eb=Array.prototype.slice,_b=Gd,bd=Object.keys,To=bd?function(r){return bd(r)}:Sb,Sd=Object.keys;To.shim=function(){return Object.keys?function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2)||(Object.keys=function(r){return _b(r)?Sd(Eb.call(r)):Sd(r)}):Object.keys=To,Object.keys||To};Ob=To,Ab=Ob,Tb=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Rb=Object.prototype.toString,xb=Array.prototype.concat,Fu=Object.defineProperty,Hd=Fu&&function(){var r={};try{for(var e in Fu(r,"x",{enumerable:!1,value:r}),r)return!1;return r.x===r}catch{return!1}}(),Ib=function(r,e,t,i){var n;(!(e in r)||typeof(n=i)=="function"&&Rb.call(n)==="[object Function]"&&i())&&(Hd?Fu(r,e,{configurable:!0,enumerable:!1,value:t,writable:!0}):r[e]=t)},Yd=function(r,e){var t=arguments.length>2?arguments[2]:{},i=Ab(e);Tb&&(i=xb.call(i,Object.getOwnPropertySymbols(e)));for(var n=0;n<i.length;n+=1)Ib(r,i[n],e[i[n]],t[i[n]])};Yd.supportsDescriptors=!!Hd;ko=Yd,kb=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},e=Symbol("test"),t=Object(e);if(typeof e=="string"||Object.prototype.toString.call(e)!=="[object Symbol]"||Object.prototype.toString.call(t)!=="[object Symbol]")return!1;for(e in r[e]=42,r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==e||!Object.prototype.propertyIsEnumerable.call(r,e))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var n=Object.getOwnPropertyDescriptor(r,e);if(n.value!==42||n.enumerable!==!0)return!1}return!0},Ed=(typeof globalThis<"u"?globalThis:typeof self<"u"?self:window).Symbol,Pb=kb,Cb=function(){return typeof Ed=="function"&&typeof Symbol=="function"&&typeof Ed("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&Pb()},Lb="Function.prototype.bind called on incompatible ",ku=Array.prototype.slice,Bb=Object.prototype.toString,Nb=function(r){var e=this;if(typeof e!="function"||Bb.call(e)!=="[object Function]")throw new TypeError(Lb+e);for(var t,i=ku.call(arguments,1),n=function(){if(this instanceof t){var c=e.apply(this,i.concat(ku.call(arguments)));return Object(c)===c?c:this}return e.apply(r,i.concat(ku.call(arguments)))},o=Math.max(0,e.length-i.length),s=[],u=0;u<o;u++)s.push("$"+u);if(t=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(n),e.prototype){var f=function(){};f.prototype=e.prototype,t.prototype=new f,f.prototype=null}return t},Kd=Function.prototype.bind||Nb,Bn=TypeError,wi=Object.getOwnPropertyDescriptor;if(wi)try{wi({},"")}catch{wi=null}Pu=function(){throw new Bn},Fb=wi?function(){try{return arguments.callee,Pu}catch{try{return wi(arguments,"callee").get}catch{return Pu}}}():Pu,mi=Cb(),vi=Object.getPrototypeOf||function(r){return r.__proto__},Cu=typeof Uint8Array>"u"?void 0:vi(Uint8Array),Lu={"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer,"%ArrayBufferPrototype%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":mi?vi([][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%":mi?vi(vi([][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"&&mi?vi(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"&&mi?vi(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%":mi?vi(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":mi?Symbol:void 0,"%SymbolPrototype%":mi?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":Fb,"%TypedArray%":Cu,"%TypedArrayPrototype%":Cu?Cu.prototype:void 0,"%TypeError%":Bn,"%TypeErrorPrototype%":Bn.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},_d=Kd.call(Function.call,String.prototype.replace),Db=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Mb=/\\(\\)?/g,Ub=function(r){var e=[];return _d(r,Db,function(t,i,n,o){e[e.length]=n?_d(o,Mb,"$1"):i||t}),e},jb=function(r,e){if(!(r in Lu))throw new SyntaxError("intrinsic "+r+" does not exist!");if(Lu[r]===void 0&&!e)throw new Bn("intrinsic "+r+" exists, but is not available. Please file an issue!");return Lu[r]},qb=function(r,e){if(typeof r!="string"||r.length===0)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof e!="boolean")throw new TypeError('"allowMissing" argument must be a boolean');for(var t=Ub(r),i=jb("%"+(t.length>0?t[0]:"")+"%",e),n=1;n<t.length;n+=1)if(i!=null)if(wi&&n+1>=t.length){var o=wi(i,t[n]);if(!e&&!(t[n]in i))throw new Bn("base intrinsic for "+r+" exists, but the property is not available.");i=o?o.get||o.value:i[t[n]]}else i=i[t[n]];return i},Od=Kd,Qd=qb("%Function%"),$b=Qd.apply,Wb=Qd.call;(Jd=function(){return Od.apply(Wb,arguments)}).apply=function(){return Od.apply($b,arguments)};zb=Jd,Ad=function(r){return r!=r},Vb=(Du=function(r,e){return r===0&&e===0?1/r==1/e:r===e||!(!Ad(r)||!Ad(e))},Du),Gb=(Mu=function(){return typeof Object.is=="function"?Object.is:Vb},Mu),Hb=ko,Yb=ko,Kb=Du,Xd=Mu,Jb=function(){var r=Gb();return Hb(Object,{is:r},{is:function(){return Object.is!==r}}),r},Zd=zb(Xd(),Object);Yb(Zd,{getPolyfill:Xd,implementation:Kb,shim:Jb});ey=Zd;qu=function(r){return r!=r};Qb=qu,Xb=($u=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:Qb},ko),Zb=$u,eS=ko,tS=qu,ty=$u,rS=function(){var r=Zb();return Xb(Number,{isNaN:r},{isNaN:function(){return Number.isNaN!==r}}),r},ry=ty();eS(ry,{getPolyfill:ty,implementation:tS,shim:rS});iS=ry,Bu={},Td=!1;Rd={},xd=!1;sS=/a/g.flags!==void 0,Io=function(r){var e=[];return r.forEach(function(t){return e.push(t)}),e},kd=function(r){var e=[];return r.forEach(function(t,i){return e.push([i,t])}),e},Pd=Object.is?Object.is:ey,Ro=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},Uu=Number.isNaN?Number.isNaN:iS;Ln=Wu(Object.prototype.hasOwnProperty),xo=Wu(Object.prototype.propertyIsEnumerable),Cd=Wu(Object.prototype.toString),Tt=G.types,oS=Tt.isAnyArrayBuffer,aS=Tt.isArrayBufferView,Ld=Tt.isDate,_o=Tt.isMap,Bd=Tt.isRegExp,Oo=Tt.isSet,uS=Tt.isNativeError,lS=Tt.isBoxedPrimitive,Nd=Tt.isNumberObject,Fd=Tt.isStringObject,Dd=Tt.isBooleanObject,Md=Tt.isBigIntObject,fS=Tt.isSymbolObject,cS=Tt.isFloat32Array,hS=Tt.isFloat64Array;Wd={isDeepEqual:function(r,e){return zt(r,e,!1)},isDeepStrictEqual:function(r,e){return zt(r,e,!0)}},Nu={},zd=!1;Te=ju();Te.AssertionError;Te.deepEqual;Te.deepStrictEqual;Te.doesNotReject;Te.doesNotThrow;Te.equal;Te.fail;Te.ifError;Te.notDeepEqual;Te.notDeepStrictEqual;Te.notEqual;Te.notStrictEqual;Te.ok;Te.rejects;Te.strict;Te.strictEqual;Te.throws;Te.AssertionError;Te.deepEqual;Te.deepStrictEqual;Te.doesNotReject;Te.doesNotThrow;Te.equal;Te.fail;Te.ifError;Te.notDeepEqual;Te.notDeepStrictEqual;Te.notEqual;Te.notStrictEqual;Te.ok;Te.rejects;Te.strict;Te.strictEqual;Te.throws;_k=Te.AssertionError,Ok=Te.deepEqual,Ak=Te.deepStrictEqual,Tk=Te.doesNotReject,Rk=Te.doesNotThrow,xk=Te.equal,Ik=Te.fail,kk=Te.ifError,Pk=Te.notDeepEqual,Ck=Te.notDeepStrictEqual,Lk=Te.notEqual,Bk=Te.notStrictEqual,Nk=Te.ok,Fk=Te.rejects,Dk=Te.strict,Mk=Te.strictEqual,Uk=Te.throws});var Hk,Yk,Kk,Jk,Qk,Xk,Zk,eP,tP,rP,iP,nP,sP,oP,aP,uP,lP,fP,cP,hP,pP,dP,yP,zi,gP,mP,vP,Nn=rt(()=>{B();F();N();qi();kr();kr();Ir();Hk=G._extend,Yk=G.callbackify,Kk=G.debuglog,Jk=G.deprecate,Qk=G.format,Xk=G.inherits,Zk=G.inspect,eP=G.isArray,tP=G.isBoolean,rP=G.isBuffer,iP=G.isDate,nP=G.isError,sP=G.isFunction,oP=G.isNull,aP=G.isNullOrUndefined,uP=G.isNumber,lP=G.isObject,fP=G.isPrimitive,cP=G.isRegExp,hP=G.isString,pP=G.isSymbol,dP=G.isUndefined,yP=G.log,zi=G.promisify,gP=G.types,mP=G.TextEncoder=globalThis.TextEncoder,vP=G.TextDecoder=globalThis.TextDecoder});var Po,AP,TP,RP,xP,IP,Vi=rt(()=>{B();F();N();Wr();Wr();ut.once=function(r,e){return new Promise((t,i)=>{function n(...s){o!==void 0&&r.removeListener("error",o),t(s)}let o;e!=="error"&&(o=s=>{r.removeListener(name,n),i(s)},r.once("error",o)),r.once(e,n)})};ut.on=function(r,e){let t=[],i=[],n=null,o=!1,s={async next(){let c=t.shift();if(c)return createIterResult(c,!1);if(n){let p=Promise.reject(n);return n=null,p}return o?createIterResult(void 0,!0):new Promise((p,d)=>i.push({resolve:p,reject:d}))},async return(){r.removeListener(e,u),r.removeListener("error",f),o=!0;for(let c of i)c.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(c){n=c,r.removeListener(e,u),r.removeListener("error",f)},[Symbol.asyncIterator](){return this}};return r.on(e,u),r.on("error",f),s;function u(...c){let p=i.shift();p?p.resolve(createIterResult(c,!1)):t.push(c)}function f(c){o=!0;let p=i.shift();p?p.reject(c):n=c,s.return()}};({EventEmitter:Po,defaultMaxListeners:AP,init:TP,listenerCount:RP,on:xP,once:IP}=ut)});function mS(){if(sy)return Vu;sy=!0,Vu=t;var r=ut.EventEmitter,e=gi();e(t,r),t.Readable=Tu(),t.Writable=Au(),t.Duplex=yi(),t.Transform=Ru(),t.PassThrough=cd(),t.finished=So(),t.pipeline=hd(),t.Stream=t;function t(){r.call(this||Gu)}return t.prototype.pipe=function(i,n){var o=this||Gu;function s(m){i.writable&&i.write(m)===!1&&o.pause&&o.pause()}o.on("data",s);function u(){o.readable&&o.resume&&o.resume()}i.on("drain",u),!i._isStdio&&(!n||n.end!==!1)&&(o.on("end",c),o.on("close",p));var f=!1;function c(){f||(f=!0,i.end())}function p(){f||(f=!0,typeof i.destroy=="function"&&i.destroy())}function d(m){if(v(),r.listenerCount(this||Gu,"error")===0)throw m}o.on("error",d),i.on("error",d);function v(){o.removeListener("data",s),i.removeListener("drain",u),o.removeListener("end",c),o.removeListener("close",p),o.removeListener("error",d),i.removeListener("error",d),o.removeListener("end",v),o.removeListener("close",v),i.removeListener("close",v)}return o.on("end",v),o.on("close",v),i.on("close",v),i.emit("pipe",o),i},Vu}var Vu,sy,Gu,vt,Fn=rt(()=>{B();F();N();Vi();In();Wr();Vu={},sy=!1,Gu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;vt=mS()});var oy,XP,ZP,eC,tC,rC,iC,nC,sC,Co=rt(()=>{B();F();N();Fn();Fn();Nn();Vi();Wr();In();qi();kr();Ir();$r();pi();oy=vt.Readable;oy.wrap=function(r,e){return e=Object.assign({objectMode:r.readableObjectMode!=null||r.objectMode!=null||!0},e),e.destroy=function(t,i){r.destroy(t),i(t)},new oy(e).wrap(r)};XP=vt.Writable,ZP=vt.Duplex,eC=vt.Transform,tC=vt.PassThrough,rC=vt.finished,iC=vt.pipeline,nC=vt.Stream,sC={finished:zi(vt.finished),pipeline:zi(vt.pipeline)}});function bi(r){throw new RangeError(SS[r])}function ay(r,e){let t=r.split("@"),i="";t.length>1&&(i=t[0]+"@",r=t[1]);let n=function(o,s){let u=[],f=o.length;for(;f--;)u[f]=s(o[f]);return u}((r=r.replace(bS,".")).split("."),e).join(".");return i+n}function cy(r){let e=[],t=0,i=r.length;for(;t<i;){let n=r.charCodeAt(t++);if(n>=55296&&n<=56319&&t<i){let o=r.charCodeAt(t++);(64512&o)==56320?e.push(((1023&n)<<10)+(1023&o)+65536):(e.push(n),t--)}else e.push(n)}return e}var vS,wS,bS,SS,hr,Hu,uy,hy,ly,fy,Gr,Lo=rt(()=>{B();F();N();vS=/^xn--/,wS=/[^\0-\x7E]/,bS=/[\x2E\u3002\uFF0E\uFF61]/g,SS={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},hr=Math.floor,Hu=String.fromCharCode;uy=function(r,e){return r+22+75*(r<26)-((e!=0)<<5)},hy=function(r,e,t){let i=0;for(r=t?hr(r/700):r>>1,r+=hr(r/e);r>455;i+=36)r=hr(r/35);return hr(i+36*r/(r+38))},ly=function(r){let e=[],t=r.length,i=0,n=128,o=72,s=r.lastIndexOf("-");s<0&&(s=0);for(let f=0;f<s;++f)r.charCodeAt(f)>=128&&bi("not-basic"),e.push(r.charCodeAt(f));for(let f=s>0?s+1:0;f<t;){let c=i;for(let d=1,v=36;;v+=36){f>=t&&bi("invalid-input");let m=(u=r.charCodeAt(f++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:36;(m>=36||m>hr((2147483647-i)/d))&&bi("overflow"),i+=m*d;let g=v<=o?1:v>=o+26?26:v-o;if(m<g)break;let b=36-g;d>hr(2147483647/b)&&bi("overflow"),d*=b}let p=e.length+1;o=hy(i-c,p,c==0),hr(i/p)>2147483647-n&&bi("overflow"),n+=hr(i/p),i%=p,e.splice(i++,0,n)}var u;return String.fromCodePoint(...e)},fy=function(r){let e=[],t=(r=cy(r)).length,i=128,n=0,o=72;for(let f of r)f<128&&e.push(Hu(f));let s=e.length,u=s;for(s&&e.push("-");u<t;){let f=2147483647;for(let p of r)p>=i&&p<f&&(f=p);let c=u+1;f-i>hr((2147483647-n)/c)&&bi("overflow"),n+=(f-i)*c,i=f;for(let p of r)if(p<i&&++n>2147483647&&bi("overflow"),p==i){let d=n;for(let v=36;;v+=36){let m=v<=o?1:v>=o+26?26:v-o;if(d<m)break;let g=d-m,b=36-m;e.push(Hu(uy(m+g%b,0))),d=hr(g/b)}e.push(Hu(uy(d,0))),o=hy(n,c,u==s),n=0,++u}++n,++i}return e.join("")},Gr={version:"2.1.0",ucs2:{decode:cy,encode:r=>String.fromCodePoint(...r)},decode:ly,encode:fy,toASCII:function(r){return ay(r,function(e){return wS.test(e)?"xn--"+fy(e):e})},toUnicode:function(r){return ay(r,function(e){return vS.test(e)?ly(e.slice(4).toLowerCase()):e})}};Gr.decode;Gr.encode;Gr.toASCII;Gr.toUnicode;Gr.ucs2;Gr.version});function ES(r,e){return Object.prototype.hasOwnProperty.call(r,e)}var _S,Dn,OS,pr,Bo=rt(()=>{B();F();N();_S=function(r,e,t,i){e=e||"&",t=t||"=";var n={};if(typeof r!="string"||r.length===0)return n;var o=/\+/g;r=r.split(e);var s=1e3;i&&typeof i.maxKeys=="number"&&(s=i.maxKeys);var u=r.length;s>0&&u>s&&(u=s);for(var f=0;f<u;++f){var c,p,d,v,m=r[f].replace(o,"%20"),g=m.indexOf(t);g>=0?(c=m.substr(0,g),p=m.substr(g+1)):(c=m,p=""),d=decodeURIComponent(c),v=decodeURIComponent(p),ES(n,d)?Array.isArray(n[d])?n[d].push(v):n[d]=[n[d],v]:n[d]=v}return n},Dn=function(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}},OS=function(r,e,t,i){return e=e||"&",t=t||"=",r===null&&(r=void 0),typeof r=="object"?Object.keys(r).map(function(n){var o=encodeURIComponent(Dn(n))+t;return Array.isArray(r[n])?r[n].map(function(s){return o+encodeURIComponent(Dn(s))}).join(e):o+encodeURIComponent(Dn(r[n]))}).join(e):i?encodeURIComponent(Dn(i))+t+encodeURIComponent(Dn(r)):""},pr={};pr.decode=pr.parse=_S,pr.encode=pr.stringify=OS;pr.decode;pr.encode;pr.parse;pr.stringify});var el={};wn(el,{URL:()=>eE,Url:()=>KS,default:()=>We,fileURLToPath:()=>Hr,format:()=>JS,parse:()=>ZS,pathToFileURL:()=>vy,resolve:()=>QS,resolveObject:()=>XS});function Vt(){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}function Mn(r,e,t){if(r&&dr.isObject(r)&&r instanceof Vt)return r;var i=new Vt;return i.parse(r,e,t),i}function CS(){if(gy)return Ju;gy=!0;var r=Ge;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var u="",f=0,c=-1,p=0,d,v=0;v<=o.length;++v){if(v<o.length)d=o.charCodeAt(v);else{if(d===47)break;d=47}if(d===47){if(!(c===v-1||p===1))if(c!==v-1&&p===2){if(u.length<2||f!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var m=u.lastIndexOf("/");if(m!==u.length-1){m===-1?(u="",f=0):(u=u.slice(0,m),f=u.length-1-u.lastIndexOf("/")),c=v,p=0;continue}}else if(u.length===2||u.length===1){u="",f=0,c=v,p=0;continue}}s&&(u.length>0?u+="/..":u="..",f=2)}else u.length>0?u+="/"+o.slice(c+1,v):u=o.slice(c+1,v),f=v-c-1;c=v,p=0}else d===46&&p!==-1?++p:p=-1}return u}function i(o,s){var u=s.dir||s.root,f=s.base||(s.name||"")+(s.ext||"");return u?u===s.root?u+f:u+o+f:f}var n={resolve:function(){for(var s="",u=!1,f,c=arguments.length-1;c>=-1&&!u;c--){var p;c>=0?p=arguments[c]:(f===void 0&&(f=r.cwd()),p=f),e(p),p.length!==0&&(s=p+"/"+s,u=p.charCodeAt(0)===47)}return s=t(s,!u),u?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var u=s.charCodeAt(0)===47,f=s.charCodeAt(s.length-1)===47;return s=t(s,!u),s.length===0&&!u&&(s="."),s.length>0&&f&&(s+="/"),u?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,u=0;u<arguments.length;++u){var f=arguments[u];e(f),f.length>0&&(s===void 0?s=f:s+="/"+f)}return s===void 0?".":n.normalize(s)},relative:function(s,u){if(e(s),e(u),s===u||(s=n.resolve(s),u=n.resolve(u),s===u))return"";for(var f=1;f<s.length&&s.charCodeAt(f)===47;++f);for(var c=s.length,p=c-f,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var v=u.length,m=v-d,g=p<m?p:m,b=-1,E=0;E<=g;++E){if(E===g){if(m>g){if(u.charCodeAt(d+E)===47)return u.slice(d+E+1);if(E===0)return u.slice(d+E)}else p>g&&(s.charCodeAt(f+E)===47?b=E:E===0&&(b=0));break}var A=s.charCodeAt(f+E),x=u.charCodeAt(d+E);if(A!==x)break;A===47&&(b=E)}var I="";for(E=f+b+1;E<=c;++E)(E===c||s.charCodeAt(E)===47)&&(I.length===0?I+="..":I+="/..");return I.length>0?I+u.slice(d+b):(d+=b,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var u=s.charCodeAt(0),f=u===47,c=-1,p=!0,d=s.length-1;d>=1;--d)if(u=s.charCodeAt(d),u===47){if(!p){c=d;break}}else p=!1;return c===-1?f?"/":".":f&&c===1?"//":s.slice(0,c)},basename:function(s,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');e(s);var f=0,c=-1,p=!0,d;if(u!==void 0&&u.length>0&&u.length<=s.length){if(u.length===s.length&&u===s)return"";var v=u.length-1,m=-1;for(d=s.length-1;d>=0;--d){var g=s.charCodeAt(d);if(g===47){if(!p){f=d+1;break}}else m===-1&&(p=!1,m=d+1),v>=0&&(g===u.charCodeAt(v)?--v===-1&&(c=d):(v=-1,c=m))}return f===c?c=m:c===-1&&(c=s.length),s.slice(f,c)}else{for(d=s.length-1;d>=0;--d)if(s.charCodeAt(d)===47){if(!p){f=d+1;break}}else c===-1&&(p=!1,c=d+1);return c===-1?"":s.slice(f,c)}},extname:function(s){e(s);for(var u=-1,f=0,c=-1,p=!0,d=0,v=s.length-1;v>=0;--v){var m=s.charCodeAt(v);if(m===47){if(!p){f=v+1;break}continue}c===-1&&(p=!1,c=v+1),m===46?u===-1?u=v:d!==1&&(d=1):u!==-1&&(d=-1)}return u===-1||c===-1||d===0||d===1&&u===c-1&&u===f+1?"":s.slice(u,c)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return i("/",s)},parse:function(s){e(s);var u={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return u;var f=s.charCodeAt(0),c=f===47,p;c?(u.root="/",p=1):p=0;for(var d=-1,v=0,m=-1,g=!0,b=s.length-1,E=0;b>=p;--b){if(f=s.charCodeAt(b),f===47){if(!g){v=b+1;break}continue}m===-1&&(g=!1,m=b+1),f===46?d===-1?d=b:E!==1&&(E=1):d!==-1&&(E=-1)}return d===-1||m===-1||E===0||E===1&&d===m-1&&d===v+1?m!==-1&&(v===0&&c?u.base=u.name=s.slice(1,m):u.base=u.name=s.slice(v,m)):(v===0&&c?(u.name=s.slice(1,d),u.base=s.slice(1,m)):(u.name=s.slice(v,d),u.base=s.slice(v,m)),u.ext=s.slice(d,m)),v>0?u.dir=s.slice(0,v-1):c&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};return n.posix=n,Ju=n,Ju}function zS(r){if(typeof r=="string")r=new URL(r);else if(!(r instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(r.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return Xu?VS(r):GS(r)}function VS(r){let e=r.hostname,t=r.pathname;for(let i=0;i<t.length;i++)if(t[i]==="%"){let n=t.codePointAt(i+2)||32;if(t[i+1]==="2"&&n===102||t[i+1]==="5"&&n===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(t=t.replace(MS,"\\"),t=decodeURIComponent(t),e!=="")return`\\\\${e}${t}`;{let i=t.codePointAt(1)|32,n=t[2];if(i<FS||i>DS||n!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return t.slice(1)}}function GS(r){if(r.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=r.pathname;for(let t=0;t<e.length;t++)if(e[t]==="%"){let i=e.codePointAt(t+2)||32;if(e[t+1]==="2"&&i===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function HS(r){let e=my.resolve(r),t=r.charCodeAt(r.length-1);(t===NS||Xu&&t===BS)&&e[e.length-1]!==my.sep&&(e+="/");let i=new URL("file://");return e.includes("%")&&(e=e.replace(US,"%25")),!Xu&&e.includes("\\")&&(e=e.replace(jS,"%5C")),e.includes(`
|
|
62
|
+
`))}throw H}},I.strict=b(Ae,I,{equal:I.strictEqual,deepEqual:I.deepStrictEqual,notEqual:I.notStrictEqual,notDeepEqual:I.notDeepStrictEqual}),I.strict.strict=I.strict,Nu}var bb,Vd,dd,Gd,kn,xu,yd,Iu,gd,md,Pn,Eo,vd,wd,Sb,Eb,_b,bd,To,Sd,Ob,Ab,Tb,Rb,xb,Fu,Hd,Ib,Yd,ko,kb,Ed,Pb,Cb,Bb,ku,Lb,Nb,Kd,Ln,wi,Pu,Fb,mi,vi,Cu,Bu,_d,Db,Mb,Ub,jb,qb,Jd,Od,Qd,$b,Wb,zb,Du,Mu,Ad,Vb,Gb,Hb,Yb,Kb,Xd,Jb,Zd,ey,qu,$u,Qb,Xb,Zb,eS,tS,ty,rS,ry,iS,Lu,Td,Rd,xd,sS,Io,kd,Pd,Ro,Uu,Bn,xo,Cd,Tt,oS,aS,Bd,_o,Ld,Oo,uS,lS,Nd,Fd,Dd,Md,fS,cS,hS,Wd,Nu,zd,Te,_k,Ok,Ak,Tk,Rk,xk,Ik,kk,Pk,Ck,Bk,Lk,Nk,Fk,Dk,Mk,Uk,zu=rt(()=>{L();F();N();kr();Ir();bb={assign:pd,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:pd})}},dd=Object.prototype.toString,Gd=function(r){var e=dd.call(r),t=e==="[object Arguments]";return t||(t=e!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&dd.call(r.callee)==="[object Function]"),t};Object.keys||(kn=Object.prototype.hasOwnProperty,xu=Object.prototype.toString,yd=Gd,Iu=Object.prototype.propertyIsEnumerable,gd=!Iu.call({toString:null},"toString"),md=Iu.call(function(){},"prototype"),Pn=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Eo=function(r){var e=r.constructor;return e&&e.prototype===r},vd={$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},wd=function(){if(typeof window>"u")return!1;for(var r in window)try{if(!vd["$"+r]&&kn.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{Eo(window[r])}catch{return!0}}catch{return!0}return!1}(),Vd=function(r){var e=r!==null&&typeof r=="object",t=xu.call(r)==="[object Function]",i=yd(r),n=e&&xu.call(r)==="[object String]",o=[];if(!e&&!t&&!i)throw new TypeError("Object.keys called on a non-object");var s=md&&t;if(n&&r.length>0&&!kn.call(r,0))for(var u=0;u<r.length;++u)o.push(String(u));if(i&&r.length>0)for(var f=0;f<r.length;++f)o.push(String(f));else for(var c in r)s&&c==="prototype"||!kn.call(r,c)||o.push(String(c));if(gd)for(var p=function(v){if(typeof window>"u"||!wd)return Eo(v);try{return Eo(v)}catch{return!1}}(r),d=0;d<Pn.length;++d)p&&Pn[d]==="constructor"||!kn.call(r,Pn[d])||o.push(Pn[d]);return o});Sb=Vd,Eb=Array.prototype.slice,_b=Gd,bd=Object.keys,To=bd?function(r){return bd(r)}:Sb,Sd=Object.keys;To.shim=function(){return Object.keys?function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2)||(Object.keys=function(r){return _b(r)?Sd(Eb.call(r)):Sd(r)}):Object.keys=To,Object.keys||To};Ob=To,Ab=Ob,Tb=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Rb=Object.prototype.toString,xb=Array.prototype.concat,Fu=Object.defineProperty,Hd=Fu&&function(){var r={};try{for(var e in Fu(r,"x",{enumerable:!1,value:r}),r)return!1;return r.x===r}catch{return!1}}(),Ib=function(r,e,t,i){var n;(!(e in r)||typeof(n=i)=="function"&&Rb.call(n)==="[object Function]"&&i())&&(Hd?Fu(r,e,{configurable:!0,enumerable:!1,value:t,writable:!0}):r[e]=t)},Yd=function(r,e){var t=arguments.length>2?arguments[2]:{},i=Ab(e);Tb&&(i=xb.call(i,Object.getOwnPropertySymbols(e)));for(var n=0;n<i.length;n+=1)Ib(r,i[n],e[i[n]],t[i[n]])};Yd.supportsDescriptors=!!Hd;ko=Yd,kb=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},e=Symbol("test"),t=Object(e);if(typeof e=="string"||Object.prototype.toString.call(e)!=="[object Symbol]"||Object.prototype.toString.call(t)!=="[object Symbol]")return!1;for(e in r[e]=42,r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==e||!Object.prototype.propertyIsEnumerable.call(r,e))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var n=Object.getOwnPropertyDescriptor(r,e);if(n.value!==42||n.enumerable!==!0)return!1}return!0},Ed=(typeof globalThis<"u"?globalThis:typeof self<"u"?self:window).Symbol,Pb=kb,Cb=function(){return typeof Ed=="function"&&typeof Symbol=="function"&&typeof Ed("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&Pb()},Bb="Function.prototype.bind called on incompatible ",ku=Array.prototype.slice,Lb=Object.prototype.toString,Nb=function(r){var e=this;if(typeof e!="function"||Lb.call(e)!=="[object Function]")throw new TypeError(Bb+e);for(var t,i=ku.call(arguments,1),n=function(){if(this instanceof t){var c=e.apply(this,i.concat(ku.call(arguments)));return Object(c)===c?c:this}return e.apply(r,i.concat(ku.call(arguments)))},o=Math.max(0,e.length-i.length),s=[],u=0;u<o;u++)s.push("$"+u);if(t=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(n),e.prototype){var f=function(){};f.prototype=e.prototype,t.prototype=new f,f.prototype=null}return t},Kd=Function.prototype.bind||Nb,Ln=TypeError,wi=Object.getOwnPropertyDescriptor;if(wi)try{wi({},"")}catch{wi=null}Pu=function(){throw new Ln},Fb=wi?function(){try{return arguments.callee,Pu}catch{try{return wi(arguments,"callee").get}catch{return Pu}}}():Pu,mi=Cb(),vi=Object.getPrototypeOf||function(r){return r.__proto__},Cu=typeof Uint8Array>"u"?void 0:vi(Uint8Array),Bu={"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer,"%ArrayBufferPrototype%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":mi?vi([][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%":mi?vi(vi([][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"&&mi?vi(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"&&mi?vi(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%":mi?vi(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":mi?Symbol:void 0,"%SymbolPrototype%":mi?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":Fb,"%TypedArray%":Cu,"%TypedArrayPrototype%":Cu?Cu.prototype:void 0,"%TypeError%":Ln,"%TypeErrorPrototype%":Ln.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},_d=Kd.call(Function.call,String.prototype.replace),Db=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Mb=/\\(\\)?/g,Ub=function(r){var e=[];return _d(r,Db,function(t,i,n,o){e[e.length]=n?_d(o,Mb,"$1"):i||t}),e},jb=function(r,e){if(!(r in Bu))throw new SyntaxError("intrinsic "+r+" does not exist!");if(Bu[r]===void 0&&!e)throw new Ln("intrinsic "+r+" exists, but is not available. Please file an issue!");return Bu[r]},qb=function(r,e){if(typeof r!="string"||r.length===0)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof e!="boolean")throw new TypeError('"allowMissing" argument must be a boolean');for(var t=Ub(r),i=jb("%"+(t.length>0?t[0]:"")+"%",e),n=1;n<t.length;n+=1)if(i!=null)if(wi&&n+1>=t.length){var o=wi(i,t[n]);if(!e&&!(t[n]in i))throw new Ln("base intrinsic for "+r+" exists, but the property is not available.");i=o?o.get||o.value:i[t[n]]}else i=i[t[n]];return i},Od=Kd,Qd=qb("%Function%"),$b=Qd.apply,Wb=Qd.call;(Jd=function(){return Od.apply(Wb,arguments)}).apply=function(){return Od.apply($b,arguments)};zb=Jd,Ad=function(r){return r!=r},Vb=(Du=function(r,e){return r===0&&e===0?1/r==1/e:r===e||!(!Ad(r)||!Ad(e))},Du),Gb=(Mu=function(){return typeof Object.is=="function"?Object.is:Vb},Mu),Hb=ko,Yb=ko,Kb=Du,Xd=Mu,Jb=function(){var r=Gb();return Hb(Object,{is:r},{is:function(){return Object.is!==r}}),r},Zd=zb(Xd(),Object);Yb(Zd,{getPolyfill:Xd,implementation:Kb,shim:Jb});ey=Zd;qu=function(r){return r!=r};Qb=qu,Xb=($u=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:Qb},ko),Zb=$u,eS=ko,tS=qu,ty=$u,rS=function(){var r=Zb();return Xb(Number,{isNaN:r},{isNaN:function(){return Number.isNaN!==r}}),r},ry=ty();eS(ry,{getPolyfill:ty,implementation:tS,shim:rS});iS=ry,Lu={},Td=!1;Rd={},xd=!1;sS=/a/g.flags!==void 0,Io=function(r){var e=[];return r.forEach(function(t){return e.push(t)}),e},kd=function(r){var e=[];return r.forEach(function(t,i){return e.push([i,t])}),e},Pd=Object.is?Object.is:ey,Ro=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},Uu=Number.isNaN?Number.isNaN:iS;Bn=Wu(Object.prototype.hasOwnProperty),xo=Wu(Object.prototype.propertyIsEnumerable),Cd=Wu(Object.prototype.toString),Tt=G.types,oS=Tt.isAnyArrayBuffer,aS=Tt.isArrayBufferView,Bd=Tt.isDate,_o=Tt.isMap,Ld=Tt.isRegExp,Oo=Tt.isSet,uS=Tt.isNativeError,lS=Tt.isBoxedPrimitive,Nd=Tt.isNumberObject,Fd=Tt.isStringObject,Dd=Tt.isBooleanObject,Md=Tt.isBigIntObject,fS=Tt.isSymbolObject,cS=Tt.isFloat32Array,hS=Tt.isFloat64Array;Wd={isDeepEqual:function(r,e){return zt(r,e,!1)},isDeepStrictEqual:function(r,e){return zt(r,e,!0)}},Nu={},zd=!1;Te=ju();Te.AssertionError;Te.deepEqual;Te.deepStrictEqual;Te.doesNotReject;Te.doesNotThrow;Te.equal;Te.fail;Te.ifError;Te.notDeepEqual;Te.notDeepStrictEqual;Te.notEqual;Te.notStrictEqual;Te.ok;Te.rejects;Te.strict;Te.strictEqual;Te.throws;Te.AssertionError;Te.deepEqual;Te.deepStrictEqual;Te.doesNotReject;Te.doesNotThrow;Te.equal;Te.fail;Te.ifError;Te.notDeepEqual;Te.notDeepStrictEqual;Te.notEqual;Te.notStrictEqual;Te.ok;Te.rejects;Te.strict;Te.strictEqual;Te.throws;_k=Te.AssertionError,Ok=Te.deepEqual,Ak=Te.deepStrictEqual,Tk=Te.doesNotReject,Rk=Te.doesNotThrow,xk=Te.equal,Ik=Te.fail,kk=Te.ifError,Pk=Te.notDeepEqual,Ck=Te.notDeepStrictEqual,Bk=Te.notEqual,Lk=Te.notStrictEqual,Nk=Te.ok,Fk=Te.rejects,Dk=Te.strict,Mk=Te.strictEqual,Uk=Te.throws});var Hk,Yk,Kk,Jk,Qk,Xk,Zk,eP,tP,rP,iP,nP,sP,oP,aP,uP,lP,fP,cP,hP,pP,dP,yP,zi,gP,mP,vP,Nn=rt(()=>{L();F();N();qi();kr();kr();Ir();Hk=G._extend,Yk=G.callbackify,Kk=G.debuglog,Jk=G.deprecate,Qk=G.format,Xk=G.inherits,Zk=G.inspect,eP=G.isArray,tP=G.isBoolean,rP=G.isBuffer,iP=G.isDate,nP=G.isError,sP=G.isFunction,oP=G.isNull,aP=G.isNullOrUndefined,uP=G.isNumber,lP=G.isObject,fP=G.isPrimitive,cP=G.isRegExp,hP=G.isString,pP=G.isSymbol,dP=G.isUndefined,yP=G.log,zi=G.promisify,gP=G.types,mP=G.TextEncoder=globalThis.TextEncoder,vP=G.TextDecoder=globalThis.TextDecoder});var Po,AP,TP,RP,xP,IP,Vi=rt(()=>{L();F();N();Wr();Wr();ut.once=function(r,e){return new Promise((t,i)=>{function n(...s){o!==void 0&&r.removeListener("error",o),t(s)}let o;e!=="error"&&(o=s=>{r.removeListener(name,n),i(s)},r.once("error",o)),r.once(e,n)})};ut.on=function(r,e){let t=[],i=[],n=null,o=!1,s={async next(){let c=t.shift();if(c)return createIterResult(c,!1);if(n){let p=Promise.reject(n);return n=null,p}return o?createIterResult(void 0,!0):new Promise((p,d)=>i.push({resolve:p,reject:d}))},async return(){r.removeListener(e,u),r.removeListener("error",f),o=!0;for(let c of i)c.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(c){n=c,r.removeListener(e,u),r.removeListener("error",f)},[Symbol.asyncIterator](){return this}};return r.on(e,u),r.on("error",f),s;function u(...c){let p=i.shift();p?p.resolve(createIterResult(c,!1)):t.push(c)}function f(c){o=!0;let p=i.shift();p?p.reject(c):n=c,s.return()}};({EventEmitter:Po,defaultMaxListeners:AP,init:TP,listenerCount:RP,on:xP,once:IP}=ut)});function mS(){if(sy)return Vu;sy=!0,Vu=t;var r=ut.EventEmitter,e=gi();e(t,r),t.Readable=Tu(),t.Writable=Au(),t.Duplex=yi(),t.Transform=Ru(),t.PassThrough=cd(),t.finished=So(),t.pipeline=hd(),t.Stream=t;function t(){r.call(this||Gu)}return t.prototype.pipe=function(i,n){var o=this||Gu;function s(m){i.writable&&i.write(m)===!1&&o.pause&&o.pause()}o.on("data",s);function u(){o.readable&&o.resume&&o.resume()}i.on("drain",u),!i._isStdio&&(!n||n.end!==!1)&&(o.on("end",c),o.on("close",p));var f=!1;function c(){f||(f=!0,i.end())}function p(){f||(f=!0,typeof i.destroy=="function"&&i.destroy())}function d(m){if(v(),r.listenerCount(this||Gu,"error")===0)throw m}o.on("error",d),i.on("error",d);function v(){o.removeListener("data",s),i.removeListener("drain",u),o.removeListener("end",c),o.removeListener("close",p),o.removeListener("error",d),i.removeListener("error",d),o.removeListener("end",v),o.removeListener("close",v),i.removeListener("close",v)}return o.on("end",v),o.on("close",v),i.on("close",v),i.emit("pipe",o),i},Vu}var Vu,sy,Gu,vt,Fn=rt(()=>{L();F();N();Vi();In();Wr();Vu={},sy=!1,Gu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;vt=mS()});var oy,XP,ZP,eC,tC,rC,iC,nC,sC,Co=rt(()=>{L();F();N();Fn();Fn();Nn();Vi();Wr();In();qi();kr();Ir();$r();pi();oy=vt.Readable;oy.wrap=function(r,e){return e=Object.assign({objectMode:r.readableObjectMode!=null||r.objectMode!=null||!0},e),e.destroy=function(t,i){r.destroy(t),i(t)},new oy(e).wrap(r)};XP=vt.Writable,ZP=vt.Duplex,eC=vt.Transform,tC=vt.PassThrough,rC=vt.finished,iC=vt.pipeline,nC=vt.Stream,sC={finished:zi(vt.finished),pipeline:zi(vt.pipeline)}});function bi(r){throw new RangeError(SS[r])}function ay(r,e){let t=r.split("@"),i="";t.length>1&&(i=t[0]+"@",r=t[1]);let n=function(o,s){let u=[],f=o.length;for(;f--;)u[f]=s(o[f]);return u}((r=r.replace(bS,".")).split("."),e).join(".");return i+n}function cy(r){let e=[],t=0,i=r.length;for(;t<i;){let n=r.charCodeAt(t++);if(n>=55296&&n<=56319&&t<i){let o=r.charCodeAt(t++);(64512&o)==56320?e.push(((1023&n)<<10)+(1023&o)+65536):(e.push(n),t--)}else e.push(n)}return e}var vS,wS,bS,SS,hr,Hu,uy,hy,ly,fy,Gr,Bo=rt(()=>{L();F();N();vS=/^xn--/,wS=/[^\0-\x7E]/,bS=/[\x2E\u3002\uFF0E\uFF61]/g,SS={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},hr=Math.floor,Hu=String.fromCharCode;uy=function(r,e){return r+22+75*(r<26)-((e!=0)<<5)},hy=function(r,e,t){let i=0;for(r=t?hr(r/700):r>>1,r+=hr(r/e);r>455;i+=36)r=hr(r/35);return hr(i+36*r/(r+38))},ly=function(r){let e=[],t=r.length,i=0,n=128,o=72,s=r.lastIndexOf("-");s<0&&(s=0);for(let f=0;f<s;++f)r.charCodeAt(f)>=128&&bi("not-basic"),e.push(r.charCodeAt(f));for(let f=s>0?s+1:0;f<t;){let c=i;for(let d=1,v=36;;v+=36){f>=t&&bi("invalid-input");let m=(u=r.charCodeAt(f++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:36;(m>=36||m>hr((2147483647-i)/d))&&bi("overflow"),i+=m*d;let g=v<=o?1:v>=o+26?26:v-o;if(m<g)break;let b=36-g;d>hr(2147483647/b)&&bi("overflow"),d*=b}let p=e.length+1;o=hy(i-c,p,c==0),hr(i/p)>2147483647-n&&bi("overflow"),n+=hr(i/p),i%=p,e.splice(i++,0,n)}var u;return String.fromCodePoint(...e)},fy=function(r){let e=[],t=(r=cy(r)).length,i=128,n=0,o=72;for(let f of r)f<128&&e.push(Hu(f));let s=e.length,u=s;for(s&&e.push("-");u<t;){let f=2147483647;for(let p of r)p>=i&&p<f&&(f=p);let c=u+1;f-i>hr((2147483647-n)/c)&&bi("overflow"),n+=(f-i)*c,i=f;for(let p of r)if(p<i&&++n>2147483647&&bi("overflow"),p==i){let d=n;for(let v=36;;v+=36){let m=v<=o?1:v>=o+26?26:v-o;if(d<m)break;let g=d-m,b=36-m;e.push(Hu(uy(m+g%b,0))),d=hr(g/b)}e.push(Hu(uy(d,0))),o=hy(n,c,u==s),n=0,++u}++n,++i}return e.join("")},Gr={version:"2.1.0",ucs2:{decode:cy,encode:r=>String.fromCodePoint(...r)},decode:ly,encode:fy,toASCII:function(r){return ay(r,function(e){return wS.test(e)?"xn--"+fy(e):e})},toUnicode:function(r){return ay(r,function(e){return vS.test(e)?ly(e.slice(4).toLowerCase()):e})}};Gr.decode;Gr.encode;Gr.toASCII;Gr.toUnicode;Gr.ucs2;Gr.version});function ES(r,e){return Object.prototype.hasOwnProperty.call(r,e)}var _S,Dn,OS,pr,Lo=rt(()=>{L();F();N();_S=function(r,e,t,i){e=e||"&",t=t||"=";var n={};if(typeof r!="string"||r.length===0)return n;var o=/\+/g;r=r.split(e);var s=1e3;i&&typeof i.maxKeys=="number"&&(s=i.maxKeys);var u=r.length;s>0&&u>s&&(u=s);for(var f=0;f<u;++f){var c,p,d,v,m=r[f].replace(o,"%20"),g=m.indexOf(t);g>=0?(c=m.substr(0,g),p=m.substr(g+1)):(c=m,p=""),d=decodeURIComponent(c),v=decodeURIComponent(p),ES(n,d)?Array.isArray(n[d])?n[d].push(v):n[d]=[n[d],v]:n[d]=v}return n},Dn=function(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}},OS=function(r,e,t,i){return e=e||"&",t=t||"=",r===null&&(r=void 0),typeof r=="object"?Object.keys(r).map(function(n){var o=encodeURIComponent(Dn(n))+t;return Array.isArray(r[n])?r[n].map(function(s){return o+encodeURIComponent(Dn(s))}).join(e):o+encodeURIComponent(Dn(r[n]))}).join(e):i?encodeURIComponent(Dn(i))+t+encodeURIComponent(Dn(r)):""},pr={};pr.decode=pr.parse=_S,pr.encode=pr.stringify=OS;pr.decode;pr.encode;pr.parse;pr.stringify});var el={};wn(el,{URL:()=>eE,Url:()=>KS,default:()=>ze,fileURLToPath:()=>Hr,format:()=>JS,parse:()=>ZS,pathToFileURL:()=>vy,resolve:()=>QS,resolveObject:()=>XS});function Vt(){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}function Mn(r,e,t){if(r&&dr.isObject(r)&&r instanceof Vt)return r;var i=new Vt;return i.parse(r,e,t),i}function CS(){if(gy)return Ju;gy=!0;var r=He;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var u="",f=0,c=-1,p=0,d,v=0;v<=o.length;++v){if(v<o.length)d=o.charCodeAt(v);else{if(d===47)break;d=47}if(d===47){if(!(c===v-1||p===1))if(c!==v-1&&p===2){if(u.length<2||f!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var m=u.lastIndexOf("/");if(m!==u.length-1){m===-1?(u="",f=0):(u=u.slice(0,m),f=u.length-1-u.lastIndexOf("/")),c=v,p=0;continue}}else if(u.length===2||u.length===1){u="",f=0,c=v,p=0;continue}}s&&(u.length>0?u+="/..":u="..",f=2)}else u.length>0?u+="/"+o.slice(c+1,v):u=o.slice(c+1,v),f=v-c-1;c=v,p=0}else d===46&&p!==-1?++p:p=-1}return u}function i(o,s){var u=s.dir||s.root,f=s.base||(s.name||"")+(s.ext||"");return u?u===s.root?u+f:u+o+f:f}var n={resolve:function(){for(var s="",u=!1,f,c=arguments.length-1;c>=-1&&!u;c--){var p;c>=0?p=arguments[c]:(f===void 0&&(f=r.cwd()),p=f),e(p),p.length!==0&&(s=p+"/"+s,u=p.charCodeAt(0)===47)}return s=t(s,!u),u?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var u=s.charCodeAt(0)===47,f=s.charCodeAt(s.length-1)===47;return s=t(s,!u),s.length===0&&!u&&(s="."),s.length>0&&f&&(s+="/"),u?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,u=0;u<arguments.length;++u){var f=arguments[u];e(f),f.length>0&&(s===void 0?s=f:s+="/"+f)}return s===void 0?".":n.normalize(s)},relative:function(s,u){if(e(s),e(u),s===u||(s=n.resolve(s),u=n.resolve(u),s===u))return"";for(var f=1;f<s.length&&s.charCodeAt(f)===47;++f);for(var c=s.length,p=c-f,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var v=u.length,m=v-d,g=p<m?p:m,b=-1,E=0;E<=g;++E){if(E===g){if(m>g){if(u.charCodeAt(d+E)===47)return u.slice(d+E+1);if(E===0)return u.slice(d+E)}else p>g&&(s.charCodeAt(f+E)===47?b=E:E===0&&(b=0));break}var A=s.charCodeAt(f+E),x=u.charCodeAt(d+E);if(A!==x)break;A===47&&(b=E)}var I="";for(E=f+b+1;E<=c;++E)(E===c||s.charCodeAt(E)===47)&&(I.length===0?I+="..":I+="/..");return I.length>0?I+u.slice(d+b):(d+=b,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var u=s.charCodeAt(0),f=u===47,c=-1,p=!0,d=s.length-1;d>=1;--d)if(u=s.charCodeAt(d),u===47){if(!p){c=d;break}}else p=!1;return c===-1?f?"/":".":f&&c===1?"//":s.slice(0,c)},basename:function(s,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');e(s);var f=0,c=-1,p=!0,d;if(u!==void 0&&u.length>0&&u.length<=s.length){if(u.length===s.length&&u===s)return"";var v=u.length-1,m=-1;for(d=s.length-1;d>=0;--d){var g=s.charCodeAt(d);if(g===47){if(!p){f=d+1;break}}else m===-1&&(p=!1,m=d+1),v>=0&&(g===u.charCodeAt(v)?--v===-1&&(c=d):(v=-1,c=m))}return f===c?c=m:c===-1&&(c=s.length),s.slice(f,c)}else{for(d=s.length-1;d>=0;--d)if(s.charCodeAt(d)===47){if(!p){f=d+1;break}}else c===-1&&(p=!1,c=d+1);return c===-1?"":s.slice(f,c)}},extname:function(s){e(s);for(var u=-1,f=0,c=-1,p=!0,d=0,v=s.length-1;v>=0;--v){var m=s.charCodeAt(v);if(m===47){if(!p){f=v+1;break}continue}c===-1&&(p=!1,c=v+1),m===46?u===-1?u=v:d!==1&&(d=1):u!==-1&&(d=-1)}return u===-1||c===-1||d===0||d===1&&u===c-1&&u===f+1?"":s.slice(u,c)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return i("/",s)},parse:function(s){e(s);var u={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return u;var f=s.charCodeAt(0),c=f===47,p;c?(u.root="/",p=1):p=0;for(var d=-1,v=0,m=-1,g=!0,b=s.length-1,E=0;b>=p;--b){if(f=s.charCodeAt(b),f===47){if(!g){v=b+1;break}continue}m===-1&&(g=!1,m=b+1),f===46?d===-1?d=b:E!==1&&(E=1):d!==-1&&(E=-1)}return d===-1||m===-1||E===0||E===1&&d===m-1&&d===v+1?m!==-1&&(v===0&&c?u.base=u.name=s.slice(1,m):u.base=u.name=s.slice(v,m)):(v===0&&c?(u.name=s.slice(1,d),u.base=s.slice(1,m)):(u.name=s.slice(v,d),u.base=s.slice(v,m)),u.ext=s.slice(d,m)),v>0?u.dir=s.slice(0,v-1):c&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};return n.posix=n,Ju=n,Ju}function zS(r){if(typeof r=="string")r=new URL(r);else if(!(r instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(r.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return Xu?VS(r):GS(r)}function VS(r){let e=r.hostname,t=r.pathname;for(let i=0;i<t.length;i++)if(t[i]==="%"){let n=t.codePointAt(i+2)||32;if(t[i+1]==="2"&&n===102||t[i+1]==="5"&&n===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(t=t.replace(MS,"\\"),t=decodeURIComponent(t),e!=="")return`\\\\${e}${t}`;{let i=t.codePointAt(1)|32,n=t[2];if(i<FS||i>DS||n!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return t.slice(1)}}function GS(r){if(r.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=r.pathname;for(let t=0;t<e.length;t++)if(e[t]==="%"){let i=e.codePointAt(t+2)||32;if(e[t+1]==="2"&&i===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function HS(r){let e=my.resolve(r),t=r.charCodeAt(r.length-1);(t===NS||Xu&&t===LS)&&e[e.length-1]!==my.sep&&(e+="/");let i=new URL("file://");return e.includes("%")&&(e=e.replace(US,"%25")),!Xu&&e.includes("\\")&&(e=e.replace(jS,"%5C")),e.includes(`
|
|
63
63
|
`)&&(e=e.replace(qS,"%0A")),e.includes("\r")&&(e=e.replace($S,"%0D")),e.includes(" ")&&(e=e.replace(WS,"%09")),i.pathname=e,i}function Hr(r){if(typeof r=="string")r=new URL(r);else if(!(r instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(r.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return Zu?cE(r):hE(r)}function cE(r){let e=r.hostname,t=r.pathname;for(let i=0;i<t.length;i++)if(t[i]==="%"){let n=t.codePointAt(i+2)||32;if(t[i+1]==="2"&&n===102||t[i+1]==="5"&&n===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(t=t.replace(sE,"\\"),t=decodeURIComponent(t),e!=="")return`\\\\${e}${t}`;{let i=t.codePointAt(1)|32,n=t[2];if(i<iE||i>nE||n!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return t.slice(1)}}function hE(r){if(r.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=r.pathname;for(let t=0;t<e.length;t++)if(e[t]==="%"){let i=e.codePointAt(t+2)||32;if(e[t+1]==="2"&&i===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function vy(r){let e=it.resolve(r),t=r.charCodeAt(r.length-1);(t===rE||Zu&&t===tE)&&e[e.length-1]!==it.sep&&(e+="/");let i=new URL("file://");return e.includes("%")&&(e=e.replace(oE,"%25")),!Zu&&e.includes("\\")&&(e=e.replace(aE,"%5C")),e.includes(`
|
|
64
|
-
`)&&(e=e.replace(uE,"%0A")),e.includes("\r")&&(e=e.replace(lE,"%0D")),e.includes(" ")&&(e=e.replace(fE,"%09")),i.pathname=e,i}var
|
|
65
|
-
`," "]),Qu=["'"].concat(IS),py=["%","/","?",";","#"].concat(Qu),dy=["/","?","#"],yy=/^[+a-z0-9A-Z_-]{0,63}$/,kS=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,PS={javascript:!0,"javascript:":!0},Yu={javascript:!0,"javascript:":!0},Gi={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ku=pr;Vt.prototype.parse=function(r,e,t){if(!dr.isString(r))throw new TypeError("Parameter 'url' must be a string, not "+typeof r);var i=r.indexOf("?"),n=i!==-1&&i<r.indexOf("#")?"?":"#",o=r.split(n);o[0]=o[0].replace(/\\/g,"/");var s=r=o.join(n);if(s=s.trim(),!t&&r.split("#").length===1){var u=xS.exec(s);if(u)return this.path=s,this.href=s,this.pathname=u[1],u[2]?(this.search=u[2],this.query=e?Ku.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var f=TS.exec(s);if(f){var c=(f=f[0]).toLowerCase();this.protocol=c,s=s.substr(f.length)}if(t||f||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var p=s.substr(0,2)==="//";!p||f&&Yu[f]||(s=s.substr(2),this.slashes=!0)}if(!Yu[f]&&(p||f&&!Gi[f])){for(var d,v,m=-1,g=0;g<dy.length;g++)(b=s.indexOf(dy[g]))!==-1&&(m===-1||b<m)&&(m=b);for((v=m===-1?s.lastIndexOf("@"):s.lastIndexOf("@",m))!==-1&&(d=s.slice(0,v),s=s.slice(v+1),this.auth=decodeURIComponent(d)),m=-1,g=0;g<py.length;g++){var b;(b=s.indexOf(py[g]))!==-1&&(m===-1||b<m)&&(m=b)}m===-1&&(m=s.length),this.host=s.slice(0,m),s=s.slice(m),this.parseHost(),this.hostname=this.hostname||"";var E=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!E)for(var A=this.hostname.split(/\./),x=(g=0,A.length);g<x;g++){var I=A[g];if(I&&!I.match(yy)){for(var D="",j=0,ae=I.length;j<ae;j++)I.charCodeAt(j)>127?D+="x":D+=I[j];if(!D.match(yy)){var X=A.slice(0,g),K=A.slice(g+1),Q=I.match(kS);Q&&(X.push(Q[1]),K.unshift(Q[2])),K.length&&(s="/"+K.join(".")+s),this.hostname=X.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),E||(this.hostname=AS.toASCII(this.hostname));var se=this.port?":"+this.port:"",_e=this.hostname||"";this.host=_e+se,this.href+=this.host,E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!PS[c])for(g=0,x=Qu.length;g<x;g++){var Oe=Qu[g];if(s.indexOf(Oe)!==-1){var Ce=encodeURIComponent(Oe);Ce===Oe&&(Ce=escape(Oe)),s=s.split(Oe).join(Ce)}}var Ee=s.indexOf("#");Ee!==-1&&(this.hash=s.substr(Ee),s=s.slice(0,Ee));var De=s.indexOf("?");if(De!==-1?(this.search=s.substr(De),this.query=s.substr(De+1),e&&(this.query=Ku.parse(this.query)),s=s.slice(0,De)):e&&(this.search="",this.query={}),s&&(this.pathname=s),Gi[c]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){se=this.pathname||"";var Ae=this.search||"";this.path=se+Ae}return this.href=this.format(),this},Vt.prototype.format=function(){var r=this.auth||"";r&&(r=(r=encodeURIComponent(r)).replace(/%3A/i,":"),r+="@");var e=this.protocol||"",t=this.pathname||"",i=this.hash||"",n=!1,o="";this.host?n=r+this.host:this.hostname&&(n=r+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&dr.isObject(this.query)&&Object.keys(this.query).length&&(o=Ku.stringify(this.query));var s=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||Gi[e])&&n!==!1?(n="//"+(n||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):n||(n=""),i&&i.charAt(0)!=="#"&&(i="#"+i),s&&s.charAt(0)!=="?"&&(s="?"+s),e+n+(t=t.replace(/[?#]/g,function(u){return encodeURIComponent(u)}))+(s=s.replace("#","%23"))+i},Vt.prototype.resolve=function(r){return this.resolveObject(Mn(r,!1,!0)).format()},Vt.prototype.resolveObject=function(r){if(dr.isString(r)){var e=new Vt;e.parse(r,!1,!0),r=e}for(var t=new Vt,i=Object.keys(this),n=0;n<i.length;n++){var o=i[n];t[o]=this[o]}if(t.hash=r.hash,r.href==="")return t.href=t.format(),t;if(r.slashes&&!r.protocol){for(var s=Object.keys(r),u=0;u<s.length;u++){var f=s[u];f!=="protocol"&&(t[f]=r[f])}return Gi[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(r.protocol&&r.protocol!==t.protocol){if(!Gi[r.protocol]){for(var c=Object.keys(r),p=0;p<c.length;p++){var d=c[p];t[d]=r[d]}return t.href=t.format(),t}if(t.protocol=r.protocol,r.host||Yu[r.protocol])t.pathname=r.pathname;else{for(var v=(r.pathname||"").split("/");v.length&&!(r.host=v.shift()););r.host||(r.host=""),r.hostname||(r.hostname=""),v[0]!==""&&v.unshift(""),v.length<2&&v.unshift(""),t.pathname=v.join("/")}if(t.search=r.search,t.query=r.query,t.host=r.host||"",t.auth=r.auth,t.hostname=r.hostname||r.host,t.port=r.port,t.pathname||t.search){var m=t.pathname||"",g=t.search||"";t.path=m+g}return t.slashes=t.slashes||r.slashes,t.href=t.format(),t}var b=t.pathname&&t.pathname.charAt(0)==="/",E=r.host||r.pathname&&r.pathname.charAt(0)==="/",A=E||b||t.host&&r.pathname,x=A,I=t.pathname&&t.pathname.split("/")||[],D=(v=r.pathname&&r.pathname.split("/")||[],t.protocol&&!Gi[t.protocol]);if(D&&(t.hostname="",t.port=null,t.host&&(I[0]===""?I[0]=t.host:I.unshift(t.host)),t.host="",r.protocol&&(r.hostname=null,r.port=null,r.host&&(v[0]===""?v[0]=r.host:v.unshift(r.host)),r.host=null),A=A&&(v[0]===""||I[0]==="")),E)t.host=r.host||r.host===""?r.host:t.host,t.hostname=r.hostname||r.hostname===""?r.hostname:t.hostname,t.search=r.search,t.query=r.query,I=v;else if(v.length)I||(I=[]),I.pop(),I=I.concat(v),t.search=r.search,t.query=r.query;else if(!dr.isNullOrUndefined(r.search))return D&&(t.hostname=t.host=I.shift(),(Q=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=Q.shift(),t.host=t.hostname=Q.shift())),t.search=r.search,t.query=r.query,dr.isNull(t.pathname)&&dr.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t;if(!I.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;for(var j=I.slice(-1)[0],ae=(t.host||r.host||I.length>1)&&(j==="."||j==="..")||j==="",X=0,K=I.length;K>=0;K--)(j=I[K])==="."?I.splice(K,1):j===".."?(I.splice(K,1),X++):X&&(I.splice(K,1),X--);if(!A&&!x)for(;X--;X)I.unshift("..");!A||I[0]===""||I[0]&&I[0].charAt(0)==="/"||I.unshift(""),ae&&I.join("/").substr(-1)!=="/"&&I.push("");var Q,se=I[0]===""||I[0]&&I[0].charAt(0)==="/";return D&&(t.hostname=t.host=se?"":I.length?I.shift():"",(Q=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=Q.shift(),t.host=t.hostname=Q.shift())),(A=A||t.host&&I.length)&&!se&&I.unshift(""),I.length?t.pathname=I.join("/"):(t.pathname=null,t.path=null),dr.isNull(t.pathname)&&dr.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=r.auth||t.auth,t.slashes=t.slashes||r.slashes,t.href=t.format(),t},Vt.prototype.parseHost=function(){var r=this.host,e=RS.exec(r);e&&((e=e[0])!==":"&&(this.port=e.substr(1)),r=r.substr(0,r.length-e.length)),r&&(this.hostname=r)};We.Url;We.format;We.resolve;We.resolveObject;Ju={},gy=!1;my=CS(),LS=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;We.URL=typeof URL<"u"?URL:null;We.pathToFileURL=HS;We.fileURLToPath=zS;We.Url;We.format;We.resolve;We.resolveObject;We.URL;BS=92,NS=47,FS=97,DS=122,Xu=LS==="win32",MS=/\//g,US=/%/g,jS=/\\/g,qS=/\n/g,$S=/\r/g,WS=/\t/g;YS=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;We.URL=typeof URL<"u"?URL:null;We.pathToFileURL=vy;We.fileURLToPath=Hr;KS=We.Url,JS=We.format,QS=We.resolve,XS=We.resolveObject,ZS=We.parse,eE=We.URL,tE=92,rE=47,iE=97,nE=122,Zu=YS==="win32",sE=/\//g,oE=/%/g,aE=/\\/g,uE=/\n/g,lE=/\r/g,fE=/\t/g});var $n={};wn($n,{Dir:()=>K1,Dirent:()=>J1,F_OK:()=>i_,FileReadStream:()=>e_,FileWriteStream:()=>t_,R_OK:()=>n_,ReadStream:()=>X1,Stats:()=>Q1,W_OK:()=>s_,WriteStream:()=>Z1,X_OK:()=>o_,_toUnixTimestamp:()=>r_,access:()=>nl,accessSync:()=>IE,appendFile:()=>RE,appendFileSync:()=>xE,chmod:()=>CE,chmodSync:()=>LE,chown:()=>kE,chownSync:()=>PE,close:()=>BE,closeSync:()=>NE,constants:()=>cl,copyFile:()=>FE,copyFileSync:()=>DE,cp:()=>ME,cpSync:()=>UE,createReadStream:()=>jE,createWriteStream:()=>qE,default:()=>Qe,exists:()=>$E,existsSync:()=>Wy,fchmod:()=>VE,fchmodSync:()=>GE,fchown:()=>WE,fchownSync:()=>zE,fdatasync:()=>HE,fdatasyncSync:()=>YE,fstat:()=>KE,fstatSync:()=>JE,fsync:()=>QE,fsyncSync:()=>XE,ftruncate:()=>ZE,ftruncateSync:()=>e1,futimes:()=>t1,futimesSync:()=>r1,lchmod:()=>s1,lchmodSync:()=>o1,lchown:()=>i1,lchownSync:()=>n1,link:()=>a1,linkSync:()=>u1,lstat:()=>l1,lstatSync:()=>sl,mkdir:()=>f1,mkdirSync:()=>c1,mkdtemp:()=>h1,mkdtempSync:()=>p1,open:()=>d1,openSync:()=>y1,opendir:()=>g1,opendirSync:()=>m1,promises:()=>Mo,read:()=>v1,readFile:()=>ul,readFileSync:()=>E1,readSync:()=>w1,readdir:()=>ol,readdirSync:()=>al,readlink:()=>_1,readlinkSync:()=>ll,readv:()=>b1,readvSync:()=>S1,realpath:()=>O1,realpathSync:()=>fl,rename:()=>A1,renameSync:()=>T1,rm:()=>R1,rmSync:()=>x1,rmdir:()=>I1,rmdirSync:()=>k1,stat:()=>P1,statSync:()=>C1,symlink:()=>L1,symlinkSync:()=>B1,truncate:()=>N1,truncateSync:()=>F1,unlink:()=>M1,unlinkSync:()=>U1,unwatchFile:()=>D1,utimes:()=>j1,utimesSync:()=>q1,watch:()=>$1,watchFile:()=>W1,write:()=>V1,writeFile:()=>z1,writeFileSync:()=>zy,writeSync:()=>G1,writev:()=>H1,writevSync:()=>Y1});function qn(){return wy||(wy=!0,Object.defineProperty(Un,"__esModule",{value:!0}),Un.constants=void 0,Un.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}),Un}function pE(){return by||(by=!0,typeof BigInt=="function"?No.default=BigInt:No.default=function(){throw new Error("BigInt is not supported in this environment.")}),No}function tl(){if(Sy)return Hi;Sy=!0,Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.Stats=void 0;var r=qn(),e=pE(),t=r.constants.S_IFMT,i=r.constants.S_IFDIR,n=r.constants.S_IFREG,o=r.constants.S_IFBLK,s=r.constants.S_IFCHR,u=r.constants.S_IFLNK,f=r.constants.S_IFIFO,c=r.constants.S_IFSOCK,p=function(){function d(){}return d.build=function(v,m){m===void 0&&(m=!1);var g=new d,b=v.uid,E=v.gid,A=v.atime,x=v.mtime,I=v.ctime,D=m?e.default:function(ae){return ae};g.uid=D(b),g.gid=D(E),g.rdev=D(0),g.blksize=D(4096),g.ino=D(v.ino),g.size=D(v.getSize()),g.blocks=D(1),g.atime=A,g.mtime=x,g.ctime=I,g.birthtime=I,g.atimeMs=D(A.getTime()),g.mtimeMs=D(x.getTime());var j=D(I.getTime());return g.ctimeMs=j,g.birthtimeMs=j,g.dev=D(0),g.mode=D(v.mode),g.nlink=D(v.nlink),g},d.prototype._checkModeProperty=function(v){return(Number(this.mode)&t)===v},d.prototype.isDirectory=function(){return this._checkModeProperty(i)},d.prototype.isFile=function(){return this._checkModeProperty(n)},d.prototype.isBlockDevice=function(){return this._checkModeProperty(o)},d.prototype.isCharacterDevice=function(){return this._checkModeProperty(s)},d.prototype.isSymbolicLink=function(){return this._checkModeProperty(u)},d.prototype.isFIFO=function(){return this._checkModeProperty(f)},d.prototype.isSocket=function(){return this._checkModeProperty(c)},d}();return Hi.Stats=p,Hi.default=p,Hi}function rl(){if(Ey)return rr;Ey=!0;var r=rr&&rr.__spreadArray||function(o,s,u){if(u||arguments.length===2)for(var f=0,c=s.length,p;f<c;f++)(p||!(f in s))&&(p||(p=Array.prototype.slice.call(s,0,f)),p[f]=s[f]);return o.concat(p||Array.prototype.slice.call(s))};Object.defineProperty(rr,"__esModule",{value:!0}),rr.bufferFrom=rr.bufferAllocUnsafe=rr.Buffer=void 0;var e=Vr;Object.defineProperty(rr,"Buffer",{enumerable:!0,get:function(){return e.Buffer}});function t(o){for(var s=[],u=1;u<arguments.length;u++)s[u-1]=arguments[u];return new(e.Buffer.bind.apply(e.Buffer,r([void 0,o],s,!1)))}var i=e.Buffer.allocUnsafe||t;rr.bufferAllocUnsafe=i;var n=e.Buffer.from||t;return rr.bufferFrom=n,rr}function Fy(){if(_y)return ct;_y=!0;var r=ct&&ct.__extends||function(){var g=function(b,E){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,x){A.__proto__=x}||function(A,x){for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&(A[I]=x[I])},g(b,E)};return function(b,E){if(typeof E!="function"&&E!==null)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");g(b,E);function A(){this.constructor=b}b.prototype=E===null?Object.create(E):(A.prototype=E.prototype,new A)}}();Object.defineProperty(ct,"__esModule",{value:!0}),ct.E=ct.AssertionError=ct.message=ct.RangeError=ct.TypeError=ct.Error=void 0;var e=Te,t=G,i=typeof Symbol>"u"?"_kCode":Symbol("code"),n={};function o(g){return function(b){r(E,b);function E(A){for(var x=[],I=1;I<arguments.length;I++)x[I-1]=arguments[I];var D=b.call(this,f(A,x))||this;return D.code=A,D[i]=A,D.name=b.prototype.name+" ["+D[i]+"]",D}return E}(g)}var s=typeof globalThis<"u"?globalThis:dE,u=function(g){r(b,g);function b(E){var A=this;if(typeof E!="object"||E===null)throw new ct.TypeError("ERR_INVALID_ARG_TYPE","options","object");return E.message?A=g.call(this,E.message)||this:A=g.call(this,t.inspect(E.actual).slice(0,128)+" "+(E.operator+" "+t.inspect(E.expected).slice(0,128)))||this,A.generatedMessage=!E.message,A.name="AssertionError [ERR_ASSERTION]",A.code="ERR_ASSERTION",A.actual=E.actual,A.expected=E.expected,A.operator=E.operator,ct.Error.captureStackTrace(A,E.stackStartFunction),A}return b}(s.Error);ct.AssertionError=u;function f(g,b){e.strictEqual(typeof g,"string");var E=n[g];e(E,"An invalid error message key was used: "+g+".");var A;if(typeof E=="function")A=E;else{if(A=t.format,b===void 0||b.length===0)return E;b.unshift(E)}return String(A.apply(null,b))}ct.message=f;function c(g,b){n[g]=typeof b=="function"?b:String(b)}ct.E=c,ct.Error=o(s.Error),ct.TypeError=o(s.TypeError),ct.RangeError=o(s.RangeError),c("ERR_ARG_NOT_ITERABLE","%s must be iterable"),c("ERR_ASSERTION","%s"),c("ERR_BUFFER_OUT_OF_BOUNDS",m),c("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),c("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),c("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),c("ERR_DNS_SET_SERVERS_FAILED",function(g,b){return'c-ares failed to set servers: "'+g+'" ['+b+"]"}),c("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),c("ERR_ENCODING_NOT_SUPPORTED",function(g){return'The "'+g+'" encoding is not supported'}),c("ERR_ENCODING_INVALID_ENCODED_DATA",function(g){return"The encoded data was not valid for encoding "+g}),c("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),c("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),c("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),c("ERR_INDEX_OUT_OF_RANGE","Index out of range"),c("ERR_INVALID_ARG_TYPE",p),c("ERR_INVALID_ARRAY_LENGTH",function(g,b,E){return e.strictEqual(typeof E,"number"),'The array "'+g+'" (length '+E+") must be of length "+b+"."}),c("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),c("ERR_INVALID_CALLBACK","Callback must be a function"),c("ERR_INVALID_CHAR","Invalid character in %s"),c("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),c("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),c("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),c("ERR_INVALID_FILE_URL_PATH","File URL path %s"),c("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),c("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),c("ERR_INVALID_OPT_VALUE",function(g,b){return'The value "'+String(b)+'" is invalid for option "'+g+'"'}),c("ERR_INVALID_OPT_VALUE_ENCODING",function(g){return'The value "'+String(g)+'" is invalid for option "encoding"'}),c("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),c("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),c("ERR_INVALID_THIS",'Value of "this" must be of type %s'),c("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),c("ERR_INVALID_URL","Invalid URL: %s"),c("ERR_INVALID_URL_SCHEME",function(g){return"The URL must be "+v(g,"scheme")}),c("ERR_IPC_CHANNEL_CLOSED","Channel closed"),c("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),c("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),c("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),c("ERR_MISSING_ARGS",d),c("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),c("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),c("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),c("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),c("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),c("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),c("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),c("ERR_SOCKET_BAD_PORT","Port should be > 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(g){return"DH parameter size "+g+" 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 p(g,b,E){e(g,"name is required");var A;b.includes("not ")?(A="must not be",b=b.split("not ")[1]):A="must be";var x;if(Array.isArray(g)){var I=g.map(function(j){return'"'+j+'"'}).join(", ");x="The "+I+" arguments "+A+" "+v(b,"type")}else if(g.includes(" argument"))x="The "+g+" "+A+" "+v(b,"type");else{var D=g.includes(".")?"property":"argument";x='The "'+g+'" '+D+" "+A+" "+v(b,"type")}return arguments.length>=3&&(x+=". Received type "+(E!==null?typeof E:"null")),x}function d(){for(var g=[],b=0;b<arguments.length;b++)g[b]=arguments[b];e(g.length>0,"At least one arg needs to be specified");var E="The ",A=g.length;switch(g=g.map(function(x){return'"'+x+'"'}),A){case 1:E+=g[0]+" argument";break;case 2:E+=g[0]+" and "+g[1]+" arguments";break;default:E+=g.slice(0,A-1).join(", "),E+=", and "+g[A-1]+" arguments";break}return E+" must be specified"}function v(g,b){if(e(g,"expected is required"),e(typeof b=="string","thing is required"),Array.isArray(g)){var E=g.length;return e(E>0,"At least one expected value needs to be specified"),g=g.map(function(A){return String(A)}),E>2?"one of "+b+" "+g.slice(0,E-1).join(", ")+", or "+g[E-1]:E===2?"one of "+b+" "+g[0]+" or "+g[1]:"of "+b+" "+g[0]}else return"of "+b+" "+String(g)}function m(g,b){return b?"Attempt to write outside buffer bounds":'"'+g+'" is outside of buffer bounds'}return ct}function Dy(){if(Oy)return yr;Oy=!0,Object.defineProperty(yr,"__esModule",{value:!0}),yr.strToEncoding=yr.assertEncoding=yr.ENCODING_UTF8=void 0;var r=rl(),e=Fy();yr.ENCODING_UTF8="utf8";function t(n){if(n&&!r.Buffer.isEncoding(n))throw new e.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",n)}yr.assertEncoding=t;function i(n,o){return!o||o===yr.ENCODING_UTF8?n:o==="buffer"?new r.Buffer(n):new r.Buffer(n).toString(o)}return yr.strToEncoding=i,yr}function My(){if(Ay)return Yi;Ay=!0,Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.Dirent=void 0;var r=qn(),e=Dy(),t=r.constants.S_IFMT,i=r.constants.S_IFDIR,n=r.constants.S_IFREG,o=r.constants.S_IFBLK,s=r.constants.S_IFCHR,u=r.constants.S_IFLNK,f=r.constants.S_IFIFO,c=r.constants.S_IFSOCK,p=function(){function d(){this.name="",this.mode=0}return d.build=function(v,m){var g=new d,b=v.getNode().mode;return g.name=(0,e.strToEncoding)(v.getName(),m),g.mode=b,g},d.prototype._checkModeProperty=function(v){return(this.mode&t)===v},d.prototype.isDirectory=function(){return this._checkModeProperty(i)},d.prototype.isFile=function(){return this._checkModeProperty(n)},d.prototype.isBlockDevice=function(){return this._checkModeProperty(o)},d.prototype.isCharacterDevice=function(){return this._checkModeProperty(s)},d.prototype.isSymbolicLink=function(){return this._checkModeProperty(u)},d.prototype.isFIFO=function(){return this._checkModeProperty(f)},d.prototype.isSocket=function(){return this._checkModeProperty(c)},d}();return Yi.Dirent=p,Yi.default=p,Yi}function Uy(){if(Ty)return Fo;Ty=!0;var r=Ue;Object.defineProperty(Fo,"__esModule",{value:!0});var e;return typeof r.nextTick=="function"?e=r.nextTick.bind(typeof globalThis<"u"?globalThis:Ry):e=setTimeout.bind(typeof globalThis<"u"?globalThis:Ry),Fo.default=e,Fo}function jy(){if(xy)return Ki;xy=!0;var r=Ue;Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.createProcess=void 0;var e=function(){if(typeof r<"u")return r;try{return Ue}catch{return}};function t(){var i=e()||{};return i.getuid||(i.getuid=function(){return 0}),i.getgid||(i.getgid=function(){return 0}),i.cwd||(i.cwd=function(){return"/"}),i.nextTick||(i.nextTick=Uy().default),i.emitWarning||(i.emitWarning=function(n,o){console.warn(""+o+(o?": ":"")+n)}),i.env||(i.env={}),i}return Ki.createProcess=t,Ki.default=t(),Ki}function yE(){if(Iy)return Ct;Iy=!0;var r=Ct&&Ct.__extends||function(){var g=function(b,E){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,x){A.__proto__=x}||function(A,x){for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&(A[I]=x[I])},g(b,E)};return function(b,E){if(typeof E!="function"&&E!==null)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");g(b,E);function A(){this.constructor=b}b.prototype=E===null?Object.create(E):(A.prototype=E.prototype,new A)}}();Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.File=Ct.Link=Ct.Node=Ct.SEP=void 0;var e=jy(),t=rl(),i=qn(),n=ut,o=tl(),s=i.constants.S_IFMT,u=i.constants.S_IFDIR,f=i.constants.S_IFREG,c=i.constants.S_IFLNK,p=i.constants.O_APPEND;Ct.SEP="/";var d=function(g){r(b,g);function b(E,A){A===void 0&&(A=438);var x=g.call(this)||this;return x.uid=e.default.getuid(),x.gid=e.default.getgid(),x.atime=new Date,x.mtime=new Date,x.ctime=new Date,x.perm=438,x.mode=f,x.nlink=1,x.perm=A,x.mode|=A,x.ino=E,x}return b.prototype.getString=function(E){return E===void 0&&(E="utf8"),this.getBuffer().toString(E)},b.prototype.setString=function(E){this.buf=(0,t.bufferFrom)(E,"utf8"),this.touch()},b.prototype.getBuffer=function(){return this.buf||this.setBuffer((0,t.bufferAllocUnsafe)(0)),(0,t.bufferFrom)(this.buf)},b.prototype.setBuffer=function(E){this.buf=(0,t.bufferFrom)(E),this.touch()},b.prototype.getSize=function(){return this.buf?this.buf.length:0},b.prototype.setModeProperty=function(E){this.mode=this.mode&~s|E},b.prototype.setIsFile=function(){this.setModeProperty(f)},b.prototype.setIsDirectory=function(){this.setModeProperty(u)},b.prototype.setIsSymlink=function(){this.setModeProperty(c)},b.prototype.isFile=function(){return(this.mode&s)===f},b.prototype.isDirectory=function(){return(this.mode&s)===u},b.prototype.isSymlink=function(){return(this.mode&s)===c},b.prototype.makeSymlink=function(E){this.symlink=E,this.setIsSymlink()},b.prototype.write=function(E,A,x,I){if(A===void 0&&(A=0),x===void 0&&(x=E.length),I===void 0&&(I=0),this.buf||(this.buf=(0,t.bufferAllocUnsafe)(0)),I+x>this.buf.length){var D=(0,t.bufferAllocUnsafe)(I+x);this.buf.copy(D,0,0,this.buf.length),this.buf=D}return E.copy(this.buf,I,A,A+x),this.touch(),x},b.prototype.read=function(E,A,x,I){A===void 0&&(A=0),x===void 0&&(x=E.byteLength),I===void 0&&(I=0),this.buf||(this.buf=(0,t.bufferAllocUnsafe)(0));var D=x;return D>E.byteLength&&(D=E.byteLength),D+I>this.buf.length&&(D=this.buf.length-I),this.buf.copy(E,A,I,I+D),D},b.prototype.truncate=function(E){if(E===void 0&&(E=0),!E)this.buf=(0,t.bufferAllocUnsafe)(0);else if(this.buf||(this.buf=(0,t.bufferAllocUnsafe)(0)),E<=this.buf.length)this.buf=this.buf.slice(0,E);else{var A=(0,t.bufferAllocUnsafe)(0);this.buf.copy(A),A.fill(0,E)}this.touch()},b.prototype.chmod=function(E){this.perm=E,this.mode=this.mode&-512|E,this.touch()},b.prototype.chown=function(E,A){this.uid=E,this.gid=A,this.touch()},b.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},b.prototype.canRead=function(E,A){return E===void 0&&(E=e.default.getuid()),A===void 0&&(A=e.default.getgid()),!!(this.perm&4||A===this.gid&&this.perm&32||E===this.uid&&this.perm&256)},b.prototype.canWrite=function(E,A){return E===void 0&&(E=e.default.getuid()),A===void 0&&(A=e.default.getgid()),!!(this.perm&2||A===this.gid&&this.perm&16||E===this.uid&&this.perm&128)},b.prototype.del=function(){this.emit("delete",this)},b.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()}},b}(n.EventEmitter);Ct.Node=d;var v=function(g){r(b,g);function b(E,A,x){var I=g.call(this)||this;return I.children={},I.steps=[],I.ino=0,I.length=0,I.vol=E,I.parent=A,I.steps=A?A.steps.concat([x]):[x],I}return b.prototype.setNode=function(E){this.node=E,this.ino=E.ino},b.prototype.getNode=function(){return this.node},b.prototype.createChild=function(E,A){A===void 0&&(A=this.vol.createNode());var x=new b(this.vol,this,E);return x.setNode(A),A.isDirectory(),this.setChild(E,x),x},b.prototype.setChild=function(E,A){return A===void 0&&(A=new b(this.vol,this,E)),this.children[E]=A,A.parent=this,this.length++,this.emit("child:add",A,this),A},b.prototype.deleteChild=function(E){delete this.children[E.getName()],this.length--,this.emit("child:delete",E,this)},b.prototype.getChild=function(E){if(Object.hasOwnProperty.call(this.children,E))return this.children[E]},b.prototype.getPath=function(){return this.steps.join(Ct.SEP)},b.prototype.getName=function(){return this.steps[this.steps.length-1]},b.prototype.walk=function(E,A,x){if(A===void 0&&(A=E.length),x===void 0&&(x=0),x>=E.length)return this;if(x>=A)return this;var I=E[x],D=this.getChild(I);return D?D.walk(E,A,x+1):null},b.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},b}(n.EventEmitter);Ct.Link=v;var m=function(){function g(b,E,A,x){this.position=0,this.link=b,this.node=E,this.flags=A,this.fd=x}return g.prototype.getString=function(b){return this.node.getString()},g.prototype.setString=function(b){this.node.setString(b)},g.prototype.getBuffer=function(){return this.node.getBuffer()},g.prototype.setBuffer=function(b){this.node.setBuffer(b)},g.prototype.getSize=function(){return this.node.getSize()},g.prototype.truncate=function(b){this.node.truncate(b)},g.prototype.seekTo=function(b){this.position=b},g.prototype.stats=function(){return o.default.build(this.node)},g.prototype.write=function(b,E,A,x){E===void 0&&(E=0),A===void 0&&(A=b.length),typeof x!="number"&&(x=this.position),this.flags&p&&(x=this.getSize());var I=this.node.write(b,E,A,x);return this.position=x+I,I},g.prototype.read=function(b,E,A,x){E===void 0&&(E=0),A===void 0&&(A=b.byteLength),typeof x!="number"&&(x=this.position);var I=this.node.read(b,E,A,x);return this.position=x+I,I},g.prototype.chmod=function(b){this.node.chmod(b)},g.prototype.chown=function(b,E){this.node.chown(b,E)},g}();return Ct.File=m,Ct}function mE(){if(ky)return Do;ky=!0,Object.defineProperty(Do,"__esModule",{value:!0});function r(e,t,i){var n=setTimeout.apply(typeof globalThis<"u"?globalThis:gE,arguments);return n&&typeof n=="object"&&typeof n.unref=="function"&&n.unref(),n}return Do.default=r,Do}function vE(){if(Py)return Yr;Py=!0;var r=Yr&&Yr.__spreadArray||function(n,o,s){if(s||arguments.length===2)for(var u=0,f=o.length,c;u<f;u++)(c||!(u in o))&&(c||(c=Array.prototype.slice.call(o,0,u)),c[u]=o[u]);return n.concat(c||Array.prototype.slice.call(o))};Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.FileHandle=void 0;function e(n,o,s){return s===void 0&&(s=function(u){return u}),function(){for(var u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];return new Promise(function(c,p){n[o].bind(n).apply(void 0,r(r([],u,!1),[function(d,v){return d?p(d):c(s(v))}],!1))})}}var t=function(){function n(o,s){this.vol=o,this.fd=s}return n.prototype.appendFile=function(o,s){return e(this.vol,"appendFile")(this.fd,o,s)},n.prototype.chmod=function(o){return e(this.vol,"fchmod")(this.fd,o)},n.prototype.chown=function(o,s){return e(this.vol,"fchown")(this.fd,o,s)},n.prototype.close=function(){return e(this.vol,"close")(this.fd)},n.prototype.datasync=function(){return e(this.vol,"fdatasync")(this.fd)},n.prototype.read=function(o,s,u,f){return e(this.vol,"read",function(c){return{bytesRead:c,buffer:o}})(this.fd,o,s,u,f)},n.prototype.readFile=function(o){return e(this.vol,"readFile")(this.fd,o)},n.prototype.stat=function(o){return e(this.vol,"fstat")(this.fd,o)},n.prototype.sync=function(){return e(this.vol,"fsync")(this.fd)},n.prototype.truncate=function(o){return e(this.vol,"ftruncate")(this.fd,o)},n.prototype.utimes=function(o,s){return e(this.vol,"futimes")(this.fd,o,s)},n.prototype.write=function(o,s,u,f){return e(this.vol,"write",function(c){return{bytesWritten:c,buffer:o}})(this.fd,o,s,u,f)},n.prototype.writeFile=function(o,s){return e(this.vol,"writeFile")(this.fd,o,s)},n}();Yr.FileHandle=t;function i(n){return typeof Promise>"u"?null:{FileHandle:t,access:function(o,s){return e(n,"access")(o,s)},appendFile:function(o,s,u){return e(n,"appendFile")(o instanceof t?o.fd:o,s,u)},chmod:function(o,s){return e(n,"chmod")(o,s)},chown:function(o,s,u){return e(n,"chown")(o,s,u)},copyFile:function(o,s,u){return e(n,"copyFile")(o,s,u)},lchmod:function(o,s){return e(n,"lchmod")(o,s)},lchown:function(o,s,u){return e(n,"lchown")(o,s,u)},link:function(o,s){return e(n,"link")(o,s)},lstat:function(o,s){return e(n,"lstat")(o,s)},mkdir:function(o,s){return e(n,"mkdir")(o,s)},mkdtemp:function(o,s){return e(n,"mkdtemp")(o,s)},open:function(o,s,u){return e(n,"open",function(f){return new t(n,f)})(o,s,u)},readdir:function(o,s){return e(n,"readdir")(o,s)},readFile:function(o,s){return e(n,"readFile")(o instanceof t?o.fd:o,s)},readlink:function(o,s){return e(n,"readlink")(o,s)},realpath:function(o,s){return e(n,"realpath")(o,s)},rename:function(o,s){return e(n,"rename")(o,s)},rmdir:function(o){return e(n,"rmdir")(o)},stat:function(o,s){return e(n,"stat")(o,s)},symlink:function(o,s,u){return e(n,"symlink")(o,s,u)},truncate:function(o,s){return e(n,"truncate")(o,s)},unlink:function(o){return e(n,"unlink")(o)},utimes:function(o,s,u){return e(n,"utimes")(o,s,u)},writeFile:function(o,s,u){return e(n,"writeFile")(o instanceof t?o.fd:o,s,u)}}}return Yr.default=i,Yr}function wE(){if(Cy)return jn;Cy=!0;var r=Ue;Object.defineProperty(jn,"__esModule",{value:!0}),jn.unixify=o,jn.correctPath=s;var e=r.platform==="win32";function t(u){var f=u.length-1;if(f<2)return u;for(;i(u,f);)f--;return u.substr(0,f+1)}function i(u,f){var c=u[f];return f>0&&(c==="/"||e&&c==="\\")}function n(u,f){if(typeof u!="string")throw new TypeError("expected a string");return u=u.replace(/[\\\/]+/g,"/"),f!==!1&&(u=t(u)),u}function o(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e?(u=n(u,f),u.replace(/^([a-zA-Z]+:|\.\/)/,"")):u}function s(u){return o(u.replace(/^\\\\\?\\.:\\/,"\\"))}return jn}function qy(){if(Ly)return je;Ly=!0;var r=je&&je.__extends||function(){var T=function(w,S){return T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,R){_.__proto__=R}||function(_,R){for(var M in R)Object.prototype.hasOwnProperty.call(R,M)&&(_[M]=R[M])},T(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");T(w,S);function _(){this.constructor=w}w.prototype=S===null?Object.create(S):(_.prototype=S.prototype,new _)}}(),e=je&&je.__spreadArray||function(T,w,S){if(S||arguments.length===2)for(var _=0,R=w.length,M;_<R;_++)(M||!(_ in w))&&(M||(M=Array.prototype.slice.call(w,0,_)),M[_]=w[_]);return T.concat(M||Array.prototype.slice.call(w))};Object.defineProperty(je,"__esModule",{value:!0}),je.FSWatcher=je.StatWatcher=je.Volume=je.toUnixTimestamp=je.bufferToEncoding=je.dataToBuffer=je.dataToStr=je.pathToSteps=je.filenameToSteps=je.pathToFilename=je.flagsToNumber=je.FLAGS=void 0;var t=it,i=yE(),n=tl(),o=My(),s=rl(),u=Uy(),f=jy(),c=mE(),p=vt,d=qn(),v=ut,m=Dy(),g=Fy(),b=G,E=vE(),A=t.resolve,x=d.constants.O_RDONLY,I=d.constants.O_WRONLY,D=d.constants.O_RDWR,j=d.constants.O_CREAT,ae=d.constants.O_EXCL,X=d.constants.O_TRUNC,K=d.constants.O_APPEND,Q=d.constants.O_SYNC,se=d.constants.O_DIRECTORY,_e=d.constants.F_OK,Oe=d.constants.COPYFILE_EXCL,Ce=d.constants.COPYFILE_FICLONE_FORCE,Ee=t.posix?t.posix:t,De=Ee.sep,Ae=Ee.relative,V=Ee.join,q=Ee.dirname,J=f.default.platform==="win32",H=128,ee={PATH_STR:"path must be a string or Buffer",FD:"fd must be a file descriptor",MODE_INT:"mode must be an int",CB:"callback must be a function",UID:"uid must be an unsigned int",GID:"gid must be an unsigned int",LEN:"len must be an integer",ATIME:"atime must be an integer",MTIME:"mtime must be an integer",PREFIX:"filename prefix is required",BUFFER:"buffer must be an instance of Buffer or StaticBuffer",OFFSET:"offset must be an integer",LENGTH:"length must be an integer",POSITION:"position must be an integer"},ge=function(T){return"Expected options to be either an object or a string, but got "+T+" instead"},Se="ENOENT",Me="EBADF",Fe="EINVAL",mt="EPERM",$="EPROTO",U="EEXIST",te="ENOTDIR",me="EMFILE",xe="EACCES",P="EISDIR",C="ENOTEMPTY",re="ENOSYS";function fe(T,w,S,_){w===void 0&&(w=""),S===void 0&&(S=""),_===void 0&&(_="");var R="";switch(S&&(R=" '"+S+"'"),_&&(R+=" -> '"+_+"'"),T){case Se:return"ENOENT: no such file or directory, "+w+R;case Me:return"EBADF: bad file descriptor, "+w+R;case Fe:return"EINVAL: invalid argument, "+w+R;case mt:return"EPERM: operation not permitted, "+w+R;case $:return"EPROTO: protocol error, "+w+R;case U:return"EEXIST: file already exists, "+w+R;case te:return"ENOTDIR: not a directory, "+w+R;case P:return"EISDIR: illegal operation on a directory, "+w+R;case xe:return"EACCES: permission denied, "+w+R;case C:return"ENOTEMPTY: directory not empty, "+w+R;case me:return"EMFILE: too many open files, "+w+R;case re:return"ENOSYS: function not implemented, "+w+R;default:return T+": error occurred, "+w+R}}function ce(T,w,S,_,R){w===void 0&&(w=""),S===void 0&&(S=""),_===void 0&&(_=""),R===void 0&&(R=Error);var M=new R(fe(T,w,S,_));return M.code=T,M}var Ie;(function(T){T[T.r=x]="r",T[T["r+"]=D]="r+",T[T.rs=x|Q]="rs",T[T.sr=T.rs]="sr",T[T["rs+"]=D|Q]="rs+",T[T["sr+"]=T["rs+"]]="sr+",T[T.w=I|j|X]="w",T[T.wx=I|j|X|ae]="wx",T[T.xw=T.wx]="xw",T[T["w+"]=D|j|X]="w+",T[T["wx+"]=D|j|X|ae]="wx+",T[T["xw+"]=T["wx+"]]="xw+",T[T.a=I|K|j]="a",T[T.ax=I|K|j|ae]="ax",T[T.xa=T.ax]="xa",T[T["a+"]=D|K|j]="a+",T[T["ax+"]=D|K|j|ae]="ax+",T[T["xa+"]=T["ax+"]]="xa+"})(Ie=je.FLAGS||(je.FLAGS={}));function Be(T){if(typeof T=="number")return T;if(typeof T=="string"){var w=Ie[T];if(typeof w<"u")return w}throw new g.TypeError("ERR_INVALID_OPT_VALUE","flags",T)}je.flagsToNumber=Be;function St(T,w){var S;if(w){var _=typeof w;switch(_){case"string":S=Object.assign({},T,{encoding:w});break;case"object":S=Object.assign({},T,w);break;default:throw TypeError(ge(_))}}else return T;return S.encoding!=="buffer"&&(0,m.assertEncoding)(S.encoding),S}function st(T){return function(w){return St(T,w)}}function Le(T){if(typeof T!="function")throw TypeError(ee.CB);return T}function At(T){return function(w,S){return typeof w=="function"?[T(),w]:[T(w),Le(S)]}}var br={encoding:"utf8"},Ye=st(br),lr=At(Ye),h={flag:"r"},a=st(h),l={encoding:"utf8",mode:438,flag:Ie[Ie.w]},y=st(l),O={encoding:"utf8",mode:438,flag:Ie[Ie.a]},k=st(O),L=At(k),ue=br,ke=st(ue),Re=At(ke),Pe={mode:511,recursive:!1},we=function(T){return typeof T=="number"?Object.assign({},Pe,{mode:T}):Object.assign({},Pe,T)},Pw={recursive:!1},ec=function(T){return Object.assign({},Pw,T)},Cw={encoding:"utf8",withFileTypes:!1},tc=st(Cw),Lw=At(tc),Bw={bigint:!1},gn=function(T){return T===void 0&&(T={}),Object.assign({},Bw,T)},Ba=function(T,w){return typeof T=="function"?[gn(),T]:[gn(T),Le(w)]};function Nw(T){if(T.hostname!=="")throw new g.TypeError("ERR_INVALID_FILE_URL_HOST",f.default.platform);for(var w=T.pathname,S=0;S<w.length;S++)if(w[S]==="%"){var _=w.codePointAt(S+2)|32;if(w[S+1]==="2"&&_===102)throw new g.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(w)}function ve(T){if(typeof T!="string"&&!s.Buffer.isBuffer(T)){try{if(!(T instanceof We.URL))throw new TypeError(ee.PATH_STR)}catch{throw new TypeError(ee.PATH_STR)}T=Nw(T)}var w=String(T);return Na(w),w}je.pathToFilename=ve;var zs=function(T,w){return w===void 0&&(w=f.default.cwd()),A(w,T)};if(J){var Fw=zs,Dw=wE().unixify;zs=function(T,w){return Dw(Fw(T,w))}}function ot(T,w){var S=zs(T,w),_=S.substr(1);return _?_.split(De):[]}je.filenameToSteps=ot;function rc(T){return ot(ve(T))}je.pathToSteps=rc;function Mw(T,w){return w===void 0&&(w=m.ENCODING_UTF8),s.Buffer.isBuffer(T)?T.toString(w):T instanceof Uint8Array?(0,s.bufferFrom)(T).toString(w):String(T)}je.dataToStr=Mw;function mn(T,w){return w===void 0&&(w=m.ENCODING_UTF8),s.Buffer.isBuffer(T)?T:T instanceof Uint8Array?(0,s.bufferFrom)(T):(0,s.bufferFrom)(String(T),w)}je.dataToBuffer=mn;function ic(T,w){return!w||w==="buffer"?T:T.toString(w)}je.bufferToEncoding=ic;function Na(T,w){if((""+T).indexOf("\0")!==-1){var S=new Error("Path must be a string without null bytes");if(S.code=Se,typeof w!="function")throw S;return f.default.nextTick(w,S),!1}return!0}function Uw(T,w){if(typeof T=="number")return T;if(typeof T=="string")return parseInt(T,8);if(w)return Bt(w)}function Bt(T,w){var S=Uw(T,w);if(typeof S!="number"||isNaN(S))throw new TypeError(ee.MODE_INT);return S}function ti(T){return T>>>0===T}function vn(T){if(!ti(T))throw TypeError(ee.FD)}function Sr(T){if(typeof T=="string"&&+T==T)return+T;if(T instanceof Date)return T.getTime()/1e3;if(isFinite(T))return T<0?Date.now()/1e3:T;throw new Error("Cannot parse time: "+T)}je.toUnixTimestamp=Sr;function Pi(T){if(typeof T!="number")throw TypeError(ee.UID)}function Ci(T){if(typeof T!="number")throw TypeError(ee.GID)}function jw(T){var w={};function S(_,R){for(var M in R){var W=R[M],ne=V(_,M);typeof W=="string"?w[ne]=W:typeof W=="object"&&W!==null&&Object.keys(W).length>0?S(ne,W):w[ne]=null}}return S("",T),w}var qw=function(){function T(w){w===void 0&&(w={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=(0,E.default)(this),this.statWatchers={},this.props=Object.assign({Node:i.Node,Link:i.Link,File:i.File},w);var S=this.createLink();S.setNode(this.createNode(!0));var _=this;this.StatWatcher=function(W){r(ne,W);function ne(){return W.call(this,_)||this}return ne}(nc);var R=Xt;this.ReadStream=function(W){r(ne,W);function ne(){for(var he=[],be=0;be<arguments.length;be++)he[be]=arguments[be];return W.apply(this,e([_],he,!1))||this}return ne}(R);var M=$t;this.WriteStream=function(W){r(ne,W);function ne(){for(var he=[],be=0;be<arguments.length;be++)he[be]=arguments[be];return W.apply(this,e([_],he,!1))||this}return ne}(M),this.FSWatcher=function(W){r(ne,W);function ne(){return W.call(this,_)||this}return ne}(sc),this.root=S}return T.fromJSON=function(w,S){var _=new T;return _.fromJSON(w,S),_},T.fromNestedJSON=function(w,S){var _=new T;return _.fromNestedJSON(w,S),_},Object.defineProperty(T.prototype,"promises",{get:function(){if(this.promisesApi===null)throw new Error("Promise is not supported in this environment.");return this.promisesApi},enumerable:!1,configurable:!0}),T.prototype.createLink=function(w,S,_,R){if(_===void 0&&(_=!1),!w)return new this.props.Link(this,null,"");if(!S)throw new Error("createLink: name cannot be empty");return w.createChild(S,this.createNode(_,R))},T.prototype.deleteLink=function(w){var S=w.parent;return S?(S.deleteChild(w),!0):!1},T.prototype.newInoNumber=function(){var w=this.releasedInos.pop();return w||(this.ino=(this.ino+1)%4294967295,this.ino)},T.prototype.newFdNumber=function(){var w=this.releasedFds.pop();return typeof w=="number"?w:T.fd--},T.prototype.createNode=function(w,S){w===void 0&&(w=!1);var _=new this.props.Node(this.newInoNumber(),S);return w&&_.setIsDirectory(),this.inodes[_.ino]=_,_},T.prototype.getNode=function(w){return this.inodes[w]},T.prototype.deleteNode=function(w){w.del(),delete this.inodes[w.ino],this.releasedInos.push(w.ino)},T.prototype.genRndStr=function(){var w=(Math.random()+1).toString(36).substr(2,6);return w.length===6?w:this.genRndStr()},T.prototype.getLink=function(w){return this.root.walk(w)},T.prototype.getLinkOrThrow=function(w,S){var _=ot(w),R=this.getLink(_);if(!R)throw ce(Se,S,w);return R},T.prototype.getResolvedLink=function(w){for(var S=typeof w=="string"?ot(w):w,_=this.root,R=0;R<S.length;){var M=S[R];if(_=_.getChild(M),!_)return null;var W=_.getNode();if(W.isSymlink()){S=W.symlink.concat(S.slice(R+1)),_=this.root,R=0;continue}R++}return _},T.prototype.getResolvedLinkOrThrow=function(w,S){var _=this.getResolvedLink(w);if(!_)throw ce(Se,S,w);return _},T.prototype.resolveSymlinks=function(w){return this.getResolvedLink(w.steps.slice(1))},T.prototype.getLinkAsDirOrThrow=function(w,S){var _=this.getLinkOrThrow(w,S);if(!_.getNode().isDirectory())throw ce(te,S,w);return _},T.prototype.getLinkParent=function(w){return this.root.walk(w,w.length-1)},T.prototype.getLinkParentAsDirOrThrow=function(w,S){var _=w instanceof Array?w:ot(w),R=this.getLinkParent(_);if(!R)throw ce(Se,S,De+_.join(De));if(!R.getNode().isDirectory())throw ce(te,S,De+_.join(De));return R},T.prototype.getFileByFd=function(w){return this.fds[String(w)]},T.prototype.getFileByFdOrThrow=function(w,S){if(!ti(w))throw TypeError(ee.FD);var _=this.getFileByFd(w);if(!_)throw ce(Me,S);return _},T.prototype.getNodeByIdOrCreate=function(w,S,_){if(typeof w=="number"){var R=this.getFileByFd(w);if(!R)throw Error("File nto found");return R.node}else{var M=rc(w),W=this.getLink(M);if(W)return W.getNode();if(S&j){var ne=this.getLinkParent(M);if(ne){var he=M[M.length-1];return W=this.createLink(ne,he,!1,_),W.getNode()}}throw ce(Se,"getNodeByIdOrCreate",ve(w))}},T.prototype.wrapAsync=function(w,S,_){var R=this;Le(_),(0,u.default)(function(){var M;try{M=w.apply(R,S)}catch(W){_(W);return}_(null,M)})},T.prototype._toJSON=function(w,S,_){var R;w===void 0&&(w=this.root),S===void 0&&(S={});var M=!0,W=w.children;w.getNode().isFile()&&(W=(R={},R[w.getName()]=w.parent.getChild(w.getName()),R),w=w.parent);for(var ne in W){M=!1;var he=w.getChild(ne);if(!he)throw new Error("_toJSON: unexpected undefined");var be=he.getNode();if(be.isFile()){var qe=he.getPath();_&&(qe=Ae(_,qe)),S[qe]=be.getString()}else be.isDirectory()&&this._toJSON(he,S,_)}var at=w.getPath();return _&&(at=Ae(_,at)),at&&M&&(S[at]=null),S},T.prototype.toJSON=function(w,S,_){S===void 0&&(S={}),_===void 0&&(_=!1);var R=[];if(w){w instanceof Array||(w=[w]);for(var M=0,W=w;M<W.length;M++){var ne=W[M],he=ve(ne),be=this.getResolvedLink(he);be&&R.push(be)}}else R.push(this.root);if(!R.length)return S;for(var qe=0,at=R;qe<at.length;qe++){var be=at[qe];this._toJSON(be,S,_?be.getPath():"")}return S},T.prototype.fromJSON=function(w,S){S===void 0&&(S=f.default.cwd());for(var _ in w){var R=w[_];if(_=zs(_,S),typeof R=="string"){var M=q(_);this.mkdirpBase(M,511),this.writeFileSync(_,R)}else this.mkdirpBase(_,511)}},T.prototype.fromNestedJSON=function(w,S){this.fromJSON(jw(w),S)},T.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},T.prototype.mountSync=function(w,S){this.fromJSON(S,w)},T.prototype.openLink=function(w,S,_){if(_===void 0&&(_=!0),this.openFiles>=this.maxFiles)throw ce(me,"open",w.getPath());var R=w;if(_&&(R=this.resolveSymlinks(w)),!R)throw ce(Se,"open",w.getPath());var M=R.getNode();if(M.isDirectory()){if((S&(x|D|I))!==x)throw ce(P,"open",w.getPath())}else if(S&se)throw ce(te,"open",w.getPath());if(!(S&I)&&!M.canRead())throw ce(xe,"open",w.getPath());var W=new this.props.File(w,M,S,this.newFdNumber());return this.fds[W.fd]=W,this.openFiles++,S&X&&W.truncate(),W},T.prototype.openFile=function(w,S,_,R){R===void 0&&(R=!0);var M=ot(w),W=R?this.getResolvedLink(M):this.getLink(M);if(!W&&S&j){var ne=this.getResolvedLink(M.slice(0,M.length-1));if(!ne)throw ce(Se,"open",De+M.join(De));S&j&&typeof _=="number"&&(W=this.createLink(ne,M[M.length-1],!1,_))}if(W)return this.openLink(W,S,R);throw ce(Se,"open",w)},T.prototype.openBase=function(w,S,_,R){R===void 0&&(R=!0);var M=this.openFile(w,S,_,R);if(!M)throw ce(Se,"open",w);return M.fd},T.prototype.openSync=function(w,S,_){_===void 0&&(_=438);var R=Bt(_),M=ve(w),W=Be(S);return this.openBase(M,W,R)},T.prototype.open=function(w,S,_,R){var M=_,W=R;typeof _=="function"&&(M=438,W=_),M=M||438;var ne=Bt(M),he=ve(w),be=Be(S);this.wrapAsync(this.openBase,[he,be,ne],W)},T.prototype.closeFile=function(w){this.fds[w.fd]&&(this.openFiles--,delete this.fds[w.fd],this.releasedFds.push(w.fd))},T.prototype.closeSync=function(w){vn(w);var S=this.getFileByFdOrThrow(w,"close");this.closeFile(S)},T.prototype.close=function(w,S){vn(w),this.wrapAsync(this.closeSync,[w],S)},T.prototype.openFileOrGetById=function(w,S,_){if(typeof w=="number"){var R=this.fds[w];if(!R)throw ce(Se);return R}else return this.openFile(ve(w),S,_)},T.prototype.readBase=function(w,S,_,R,M){var W=this.getFileByFdOrThrow(w);return W.read(S,Number(_),Number(R),M)},T.prototype.readSync=function(w,S,_,R,M){return vn(w),this.readBase(w,S,_,R,M)},T.prototype.read=function(w,S,_,R,M,W){var ne=this;if(Le(W),R===0)return f.default.nextTick(function(){W&&W(null,0,S)});(0,u.default)(function(){try{var he=ne.readBase(w,S,_,R,M);W(null,he,S)}catch(be){W(be)}})},T.prototype.readFileBase=function(w,S,_){var R,M=typeof w=="number",W=M&&ti(w),ne;if(W)ne=w;else{var he=ve(w),be=ot(he),qe=this.getResolvedLink(be);if(qe){var at=qe.getNode();if(at.isDirectory())throw ce(P,"open",qe.getPath())}ne=this.openSync(w,S)}try{R=ic(this.getFileByFdOrThrow(ne).getBuffer(),_)}finally{W||this.closeSync(ne)}return R},T.prototype.readFileSync=function(w,S){var _=a(S),R=Be(_.flag);return this.readFileBase(w,R,_.encoding)},T.prototype.readFile=function(w,S,_){var R=At(a)(S,_),M=R[0],W=R[1],ne=Be(M.flag);this.wrapAsync(this.readFileBase,[w,ne,M.encoding],W)},T.prototype.writeBase=function(w,S,_,R,M){var W=this.getFileByFdOrThrow(w,"write");return W.write(S,_,R,M)},T.prototype.writeSync=function(w,S,_,R,M){vn(w);var W,ne,he,be,qe=typeof S!="string";qe?(ne=(_||0)|0,he=R,be=M):(be=_,W=R);var at=mn(S,W);return qe?typeof he>"u"&&(he=at.length):(ne=0,he=at.length),this.writeBase(w,at,ne,he,be)},T.prototype.write=function(w,S,_,R,M,W){var ne=this;vn(w);var he,be,qe,at,Zt,Fa=typeof S,oc=typeof _,ac=typeof R,uc=typeof M;Fa!=="string"?oc==="function"?Zt=_:ac==="function"?(he=_|0,Zt=R):uc==="function"?(he=_|0,be=R,Zt=M):(he=_|0,be=R,qe=M,Zt=W):oc==="function"?Zt=_:ac==="function"?(qe=_,Zt=R):uc==="function"&&(qe=_,at=R,Zt=M);var Vs=mn(S,at);Fa!=="string"?typeof be>"u"&&(be=Vs.length):(he=0,be=Vs.length);var Da=Le(Zt);(0,u.default)(function(){try{var lc=ne.writeBase(w,Vs,he,be,qe);Fa!=="string"?Da(null,lc,Vs):Da(null,lc,S)}catch(Vw){Da(Vw)}})},T.prototype.writeFileBase=function(w,S,_,R){var M=typeof w=="number",W;M?W=w:W=this.openBase(ve(w),_,R);var ne=0,he=S.length,be=_&K?void 0:0;try{for(;he>0;){var qe=this.writeSync(W,S,ne,he,be);ne+=qe,he-=qe,be!==void 0&&(be+=qe)}}finally{M||this.closeSync(W)}},T.prototype.writeFileSync=function(w,S,_){var R=y(_),M=Be(R.flag),W=Bt(R.mode),ne=mn(S,R.encoding);this.writeFileBase(w,ne,M,W)},T.prototype.writeFile=function(w,S,_,R){var M=_,W=R;typeof _=="function"&&(M=l,W=_);var ne=Le(W),he=y(M),be=Be(he.flag),qe=Bt(he.mode),at=mn(S,he.encoding);this.wrapAsync(this.writeFileBase,[w,at,be,qe],ne)},T.prototype.linkBase=function(w,S){var _=ot(w),R=this.getLink(_);if(!R)throw ce(Se,"link",w,S);var M=ot(S),W=this.getLinkParent(M);if(!W)throw ce(Se,"link",w,S);var ne=M[M.length-1];if(W.getChild(ne))throw ce(U,"link",w,S);var he=R.getNode();he.nlink++,W.createChild(ne,he)},T.prototype.copyFileBase=function(w,S,_){var R=this.readFileSync(w);if(_&Oe&&this.existsSync(S))throw ce(U,"copyFile",w,S);if(_&Ce)throw ce(re,"copyFile",w,S);this.writeFileBase(S,R,Ie.w,438)},T.prototype.copyFileSync=function(w,S,_){var R=ve(w),M=ve(S);return this.copyFileBase(R,M,(_||0)|0)},T.prototype.copyFile=function(w,S,_,R){var M=ve(w),W=ve(S),ne,he;typeof _=="function"?(ne=0,he=_):(ne=_,he=R),Le(he),this.wrapAsync(this.copyFileBase,[M,W,ne],he)},T.prototype.linkSync=function(w,S){var _=ve(w),R=ve(S);this.linkBase(_,R)},T.prototype.link=function(w,S,_){var R=ve(w),M=ve(S);this.wrapAsync(this.linkBase,[R,M],_)},T.prototype.unlinkBase=function(w){var S=ot(w),_=this.getLink(S);if(!_)throw ce(Se,"unlink",w);if(_.length)throw Error("Dir not empty...");this.deleteLink(_);var R=_.getNode();R.nlink--,R.nlink<=0&&this.deleteNode(R)},T.prototype.unlinkSync=function(w){var S=ve(w);this.unlinkBase(S)},T.prototype.unlink=function(w,S){var _=ve(w);this.wrapAsync(this.unlinkBase,[_],S)},T.prototype.symlinkBase=function(w,S){var _=ot(S),R=this.getLinkParent(_);if(!R)throw ce(Se,"symlink",w,S);var M=_[_.length-1];if(R.getChild(M))throw ce(U,"symlink",w,S);var W=R.createChild(M);return W.getNode().makeSymlink(ot(w)),W},T.prototype.symlinkSync=function(w,S,_){var R=ve(w),M=ve(S);this.symlinkBase(R,M)},T.prototype.symlink=function(w,S,_,R){var M=Le(typeof _=="function"?_:R),W=ve(w),ne=ve(S);this.wrapAsync(this.symlinkBase,[W,ne],M)},T.prototype.realpathBase=function(w,S){var _=ot(w),R=this.getResolvedLink(_);if(!R)throw ce(Se,"realpath",w);return(0,m.strToEncoding)(R.getPath(),S)},T.prototype.realpathSync=function(w,S){return this.realpathBase(ve(w),ke(S).encoding)},T.prototype.realpath=function(w,S,_){var R=Re(S,_),M=R[0],W=R[1],ne=ve(w);this.wrapAsync(this.realpathBase,[ne,M.encoding],W)},T.prototype.lstatBase=function(w,S){S===void 0&&(S=!1);var _=this.getLink(ot(w));if(!_)throw ce(Se,"lstat",w);return n.default.build(_.getNode(),S)},T.prototype.lstatSync=function(w,S){return this.lstatBase(ve(w),gn(S).bigint)},T.prototype.lstat=function(w,S,_){var R=Ba(S,_),M=R[0],W=R[1];this.wrapAsync(this.lstatBase,[ve(w),M.bigint],W)},T.prototype.statBase=function(w,S){S===void 0&&(S=!1);var _=this.getResolvedLink(ot(w));if(!_)throw ce(Se,"stat",w);return n.default.build(_.getNode(),S)},T.prototype.statSync=function(w,S){return this.statBase(ve(w),gn(S).bigint)},T.prototype.stat=function(w,S,_){var R=Ba(S,_),M=R[0],W=R[1];this.wrapAsync(this.statBase,[ve(w),M.bigint],W)},T.prototype.fstatBase=function(w,S){S===void 0&&(S=!1);var _=this.getFileByFd(w);if(!_)throw ce(Me,"fstat");return n.default.build(_.node,S)},T.prototype.fstatSync=function(w,S){return this.fstatBase(w,gn(S).bigint)},T.prototype.fstat=function(w,S,_){var R=Ba(S,_),M=R[0],W=R[1];this.wrapAsync(this.fstatBase,[w,M.bigint],W)},T.prototype.renameBase=function(w,S){var _=this.getLink(ot(w));if(!_)throw ce(Se,"rename",w,S);var R=ot(S),M=this.getLinkParent(R);if(!M)throw ce(Se,"rename",w,S);var W=_.parent;W&&W.deleteChild(_);var ne=R[R.length-1];_.steps=e(e([],M.steps,!0),[ne],!1),M.setChild(_.getName(),_)},T.prototype.renameSync=function(w,S){var _=ve(w),R=ve(S);this.renameBase(_,R)},T.prototype.rename=function(w,S,_){var R=ve(w),M=ve(S);this.wrapAsync(this.renameBase,[R,M],_)},T.prototype.existsBase=function(w){return!!this.statBase(w)},T.prototype.existsSync=function(w){try{return this.existsBase(ve(w))}catch{return!1}},T.prototype.exists=function(w,S){var _=this,R=ve(w);if(typeof S!="function")throw Error(ee.CB);(0,u.default)(function(){try{S(_.existsBase(R))}catch{S(!1)}})},T.prototype.accessBase=function(w,S){this.getLinkOrThrow(w,"access")},T.prototype.accessSync=function(w,S){S===void 0&&(S=_e);var _=ve(w);S=S|0,this.accessBase(_,S)},T.prototype.access=function(w,S,_){var R=_e,M;typeof S!="function"?(R=S|0,M=Le(_)):M=S;var W=ve(w);this.wrapAsync(this.accessBase,[W,R],M)},T.prototype.appendFileSync=function(w,S,_){_===void 0&&(_=O);var R=k(_);(!R.flag||ti(w))&&(R.flag="a"),this.writeFileSync(w,S,R)},T.prototype.appendFile=function(w,S,_,R){var M=L(_,R),W=M[0],ne=M[1];(!W.flag||ti(w))&&(W.flag="a"),this.writeFile(w,S,W,ne)},T.prototype.readdirBase=function(w,S){var _=ot(w),R=this.getResolvedLink(_);if(!R)throw ce(Se,"readdir",w);var M=R.getNode();if(!M.isDirectory())throw ce(te,"scandir",w);if(S.withFileTypes){var W=[];for(var ne in R.children){var he=R.getChild(ne);he&&W.push(o.default.build(he,S.encoding))}return!J&&S.encoding!=="buffer"&&W.sort(function(at,Zt){return at.name<Zt.name?-1:at.name>Zt.name?1:0}),W}var be=[];for(var qe in R.children)be.push((0,m.strToEncoding)(qe,S.encoding));return!J&&S.encoding!=="buffer"&&be.sort(),be},T.prototype.readdirSync=function(w,S){var _=tc(S),R=ve(w);return this.readdirBase(R,_)},T.prototype.readdir=function(w,S,_){var R=Lw(S,_),M=R[0],W=R[1],ne=ve(w);this.wrapAsync(this.readdirBase,[ne,M],W)},T.prototype.readlinkBase=function(w,S){var _=this.getLinkOrThrow(w,"readlink"),R=_.getNode();if(!R.isSymlink())throw ce(Fe,"readlink",w);var M=De+R.symlink.join(De);return(0,m.strToEncoding)(M,S)},T.prototype.readlinkSync=function(w,S){var _=Ye(S),R=ve(w);return this.readlinkBase(R,_.encoding)},T.prototype.readlink=function(w,S,_){var R=lr(S,_),M=R[0],W=R[1],ne=ve(w);this.wrapAsync(this.readlinkBase,[ne,M.encoding],W)},T.prototype.fsyncBase=function(w){this.getFileByFdOrThrow(w,"fsync")},T.prototype.fsyncSync=function(w){this.fsyncBase(w)},T.prototype.fsync=function(w,S){this.wrapAsync(this.fsyncBase,[w],S)},T.prototype.fdatasyncBase=function(w){this.getFileByFdOrThrow(w,"fdatasync")},T.prototype.fdatasyncSync=function(w){this.fdatasyncBase(w)},T.prototype.fdatasync=function(w,S){this.wrapAsync(this.fdatasyncBase,[w],S)},T.prototype.ftruncateBase=function(w,S){var _=this.getFileByFdOrThrow(w,"ftruncate");_.truncate(S)},T.prototype.ftruncateSync=function(w,S){this.ftruncateBase(w,S)},T.prototype.ftruncate=function(w,S,_){var R=typeof S=="number"?S:0,M=Le(typeof S=="number"?_:S);this.wrapAsync(this.ftruncateBase,[w,R],M)},T.prototype.truncateBase=function(w,S){var _=this.openSync(w,"r+");try{this.ftruncateSync(_,S)}finally{this.closeSync(_)}},T.prototype.truncateSync=function(w,S){if(ti(w))return this.ftruncateSync(w,S);this.truncateBase(w,S)},T.prototype.truncate=function(w,S,_){var R=typeof S=="number"?S:0,M=Le(typeof S=="number"?_:S);if(ti(w))return this.ftruncate(w,R,M);this.wrapAsync(this.truncateBase,[w,R],M)},T.prototype.futimesBase=function(w,S,_){var R=this.getFileByFdOrThrow(w,"futimes"),M=R.node;M.atime=new Date(S*1e3),M.mtime=new Date(_*1e3)},T.prototype.futimesSync=function(w,S,_){this.futimesBase(w,Sr(S),Sr(_))},T.prototype.futimes=function(w,S,_,R){this.wrapAsync(this.futimesBase,[w,Sr(S),Sr(_)],R)},T.prototype.utimesBase=function(w,S,_){var R=this.openSync(w,"r+");try{this.futimesBase(R,S,_)}finally{this.closeSync(R)}},T.prototype.utimesSync=function(w,S,_){this.utimesBase(ve(w),Sr(S),Sr(_))},T.prototype.utimes=function(w,S,_,R){this.wrapAsync(this.utimesBase,[ve(w),Sr(S),Sr(_)],R)},T.prototype.mkdirBase=function(w,S){var _=ot(w);if(!_.length)throw ce(U,"mkdir",w);var R=this.getLinkParentAsDirOrThrow(w,"mkdir"),M=_[_.length-1];if(R.getChild(M))throw ce(U,"mkdir",w);R.createChild(M,this.createNode(!0,S))},T.prototype.mkdirpBase=function(w,S){for(var _=ot(w),R=this.root,M=0;M<_.length;M++){var W=_[M];if(!R.getNode().isDirectory())throw ce(te,"mkdir",R.getPath());var ne=R.getChild(W);if(ne)if(ne.getNode().isDirectory())R=ne;else throw ce(te,"mkdir",ne.getPath());else R=R.createChild(W,this.createNode(!0,S))}},T.prototype.mkdirSync=function(w,S){var _=we(S),R=Bt(_.mode,511),M=ve(w);_.recursive?this.mkdirpBase(M,R):this.mkdirBase(M,R)},T.prototype.mkdir=function(w,S,_){var R=we(S),M=Le(typeof S=="function"?S:_),W=Bt(R.mode,511),ne=ve(w);R.recursive?this.wrapAsync(this.mkdirpBase,[ne,W],M):this.wrapAsync(this.mkdirBase,[ne,W],M)},T.prototype.mkdirpSync=function(w,S){this.mkdirSync(w,{mode:S,recursive:!0})},T.prototype.mkdirp=function(w,S,_){var R=typeof S=="function"?void 0:S,M=Le(typeof S=="function"?S:_);this.mkdir(w,{mode:R,recursive:!0},M)},T.prototype.mkdtempBase=function(w,S,_){_===void 0&&(_=5);var R=w+this.genRndStr();try{return this.mkdirBase(R,511),(0,m.strToEncoding)(R,S)}catch(M){if(M.code===U){if(_>1)return this.mkdtempBase(w,S,_-1);throw Error("Could not create temp dir.")}else throw M}},T.prototype.mkdtempSync=function(w,S){var _=Ye(S).encoding;if(!w||typeof w!="string")throw new TypeError("filename prefix is required");return Na(w),this.mkdtempBase(w,_)},T.prototype.mkdtemp=function(w,S,_){var R=lr(S,_),M=R[0].encoding,W=R[1];if(!w||typeof w!="string")throw new TypeError("filename prefix is required");Na(w)&&this.wrapAsync(this.mkdtempBase,[w,M],W)},T.prototype.rmdirBase=function(w,S){var _=ec(S),R=this.getLinkAsDirOrThrow(w,"rmdir");if(R.length&&!_.recursive)throw ce(C,"rmdir",w);this.deleteLink(R)},T.prototype.rmdirSync=function(w,S){this.rmdirBase(ve(w),S)},T.prototype.rmdir=function(w,S,_){var R=ec(S),M=Le(typeof S=="function"?S:_);this.wrapAsync(this.rmdirBase,[ve(w),R],M)},T.prototype.fchmodBase=function(w,S){var _=this.getFileByFdOrThrow(w,"fchmod");_.chmod(S)},T.prototype.fchmodSync=function(w,S){this.fchmodBase(w,Bt(S))},T.prototype.fchmod=function(w,S,_){this.wrapAsync(this.fchmodBase,[w,Bt(S)],_)},T.prototype.chmodBase=function(w,S){var _=this.openSync(w,"r+");try{this.fchmodBase(_,S)}finally{this.closeSync(_)}},T.prototype.chmodSync=function(w,S){var _=Bt(S),R=ve(w);this.chmodBase(R,_)},T.prototype.chmod=function(w,S,_){var R=Bt(S),M=ve(w);this.wrapAsync(this.chmodBase,[M,R],_)},T.prototype.lchmodBase=function(w,S){var _=this.openBase(w,D,0,!1);try{this.fchmodBase(_,S)}finally{this.closeSync(_)}},T.prototype.lchmodSync=function(w,S){var _=Bt(S),R=ve(w);this.lchmodBase(R,_)},T.prototype.lchmod=function(w,S,_){var R=Bt(S),M=ve(w);this.wrapAsync(this.lchmodBase,[M,R],_)},T.prototype.fchownBase=function(w,S,_){this.getFileByFdOrThrow(w,"fchown").chown(S,_)},T.prototype.fchownSync=function(w,S,_){Pi(S),Ci(_),this.fchownBase(w,S,_)},T.prototype.fchown=function(w,S,_,R){Pi(S),Ci(_),this.wrapAsync(this.fchownBase,[w,S,_],R)},T.prototype.chownBase=function(w,S,_){var R=this.getResolvedLinkOrThrow(w,"chown"),M=R.getNode();M.chown(S,_)},T.prototype.chownSync=function(w,S,_){Pi(S),Ci(_),this.chownBase(ve(w),S,_)},T.prototype.chown=function(w,S,_,R){Pi(S),Ci(_),this.wrapAsync(this.chownBase,[ve(w),S,_],R)},T.prototype.lchownBase=function(w,S,_){this.getLinkOrThrow(w,"lchown").getNode().chown(S,_)},T.prototype.lchownSync=function(w,S,_){Pi(S),Ci(_),this.lchownBase(ve(w),S,_)},T.prototype.lchown=function(w,S,_,R){Pi(S),Ci(_),this.wrapAsync(this.lchownBase,[ve(w),S,_],R)},T.prototype.watchFile=function(w,S,_){var R=ve(w),M=S,W=_;if(typeof M=="function"&&(W=S,M=null),typeof W!="function")throw Error('"watchFile()" requires a listener function');var ne=5007,he=!0;M&&typeof M=="object"&&(typeof M.interval=="number"&&(ne=M.interval),typeof M.persistent=="boolean"&&(he=M.persistent));var be=this.statWatchers[R];return be||(be=new this.StatWatcher,be.start(R,he,ne),this.statWatchers[R]=be),be.addListener("change",W),be},T.prototype.unwatchFile=function(w,S){var _=ve(w),R=this.statWatchers[_];R&&(typeof S=="function"?R.removeListener("change",S):R.removeAllListeners("change"),R.listenerCount("change")===0&&(R.stop(),delete this.statWatchers[_]))},T.prototype.createReadStream=function(w,S){return new this.ReadStream(w,S)},T.prototype.createWriteStream=function(w,S){return new this.WriteStream(w,S)},T.prototype.watch=function(w,S,_){var R=ve(w),M=S;typeof S=="function"&&(_=S,M=null);var W=Ye(M),ne=W.persistent,he=W.recursive,be=W.encoding;ne===void 0&&(ne=!0),he===void 0&&(he=!1);var qe=new this.FSWatcher;return qe.start(R,ne,he,be),_&&qe.addListener("change",_),qe},T.fd=2147483647,T}();je.Volume=qw;function $w(T){T.emit("stop")}var nc=function(T){r(w,T);function w(S){var _=T.call(this)||this;return _.onInterval=function(){try{var R=_.vol.statSync(_.filename);_.hasChanged(R)&&(_.emit("change",R,_.prev),_.prev=R)}finally{_.loop()}},_.vol=S,_}return w.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},w.prototype.hasChanged=function(S){return S.mtimeMs>this.prev.mtimeMs||S.nlink!==this.prev.nlink},w.prototype.start=function(S,_,R){_===void 0&&(_=!0),R===void 0&&(R=5007),this.filename=ve(S),this.setTimeout=_?setTimeout.bind(typeof globalThis<"u"?globalThis:bE):c.default,this.interval=R,this.prev=this.vol.statSync(this.filename),this.loop()},w.prototype.stop=function(){clearTimeout(this.timeoutRef),f.default.nextTick($w,this)},w}(v.EventEmitter);je.StatWatcher=nc;var qt;function Ww(T){qt=(0,s.bufferAllocUnsafe)(T),qt.used=0}b.inherits(Xt,p.Readable),je.ReadStream=Xt;function Xt(T,w,S){if(!(this instanceof Xt))return new Xt(T,w,S);if(this._vol=T,S=Object.assign({},St(S,{})),S.highWaterMark===void 0&&(S.highWaterMark=64*1024),p.Readable.call(this,S),this.path=ve(w),this.fd=S.fd===void 0?null:S.fd,this.flags=S.flags===void 0?"r":S.flags,this.mode=S.mode===void 0?438:S.mode,this.start=S.start,this.end=S.end,this.autoClose=S.autoClose===void 0?!0:S.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()})}Xt.prototype.open=function(){var T=this;this._vol.open(this.path,this.flags,this.mode,function(w,S){if(w){T.autoClose&&T.destroy&&T.destroy(),T.emit("error",w);return}T.fd=S,T.emit("open",S),T.read()})},Xt.prototype._read=function(T){if(typeof this.fd!="number")return this.once("open",function(){this._read(T)});if(this.destroyed)return;(!qt||qt.length-qt.used<H)&&Ww(this._readableState.highWaterMark);var w=qt,S=Math.min(qt.length-qt.used,T),_=qt.used;if(this.pos!==void 0&&(S=Math.min(this.end-this.pos+1,S)),S<=0)return this.push(null);var R=this;this._vol.read(this.fd,qt,qt.used,S,this.pos,M),this.pos!==void 0&&(this.pos+=S),qt.used+=S;function M(W,ne){if(W)R.autoClose&&R.destroy&&R.destroy(),R.emit("error",W);else{var he=null;ne>0&&(R.bytesRead+=ne,he=w.slice(_,_+ne)),R.push(he)}}},Xt.prototype._destroy=function(T,w){this.close(function(S){w(T||S)})},Xt.prototype.close=function(T){var w=this;if(T&&this.once("close",T),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",zw);return}return f.default.nextTick(function(){return w.emit("close")})}this.closed=!0,this._vol.close(this.fd,function(S){S?w.emit("error",S):w.emit("close")}),this.fd=null};function zw(T){this.close()}b.inherits($t,p.Writable),je.WriteStream=$t;function $t(T,w,S){if(!(this instanceof $t))return new $t(T,w,S);if(this._vol=T,S=Object.assign({},St(S,{})),p.Writable.call(this,S),this.path=ve(w),this.fd=S.fd===void 0?null:S.fd,this.flags=S.flags===void 0?"w":S.flags,this.mode=S.mode===void 0?438:S.mode,this.start=S.start,this.autoClose=S.autoClose===void 0?!0:!!S.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}S.encoding&&this.setDefaultEncoding(S.encoding),typeof this.fd!="number"&&this.open(),this.once("finish",function(){this.autoClose&&this.close()})}$t.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(T,w){if(T){this.autoClose&&this.destroy&&this.destroy(),this.emit("error",T);return}this.fd=w,this.emit("open",w)}.bind(this))},$t.prototype._write=function(T,w,S){if(!(T instanceof s.Buffer))return this.emit("error",new Error("Invalid data"));if(typeof this.fd!="number")return this.once("open",function(){this._write(T,w,S)});var _=this;this._vol.write(this.fd,T,0,T.length,this.pos,function(R,M){if(R)return _.autoClose&&_.destroy&&_.destroy(),S(R);_.bytesWritten+=M,S()}),this.pos!==void 0&&(this.pos+=T.length)},$t.prototype._writev=function(T,w){if(typeof this.fd!="number")return this.once("open",function(){this._writev(T,w)});for(var S=this,_=T.length,R=new Array(_),M=0,W=0;W<_;W++){var ne=T[W].chunk;R[W]=ne,M+=ne.length}var he=s.Buffer.concat(R);this._vol.write(this.fd,he,0,he.length,this.pos,function(be,qe){if(be)return S.destroy&&S.destroy(),w(be);S.bytesWritten+=qe,w()}),this.pos!==void 0&&(this.pos+=M)},$t.prototype._destroy=Xt.prototype._destroy,$t.prototype.close=Xt.prototype.close,$t.prototype.destroySoon=$t.prototype.end;var sc=function(T){r(w,T);function w(S){var _=T.call(this)||this;return _._filename="",_._filenameEncoded="",_._recursive=!1,_._encoding=m.ENCODING_UTF8,_._onNodeChange=function(){_._emit("change")},_._onParentChild=function(R){R.getName()===_._getName()&&_._emit("rename")},_._emit=function(R){_.emit("change",R,_._filenameEncoded)},_._persist=function(){_._timer=setTimeout(_._persist,1e6)},_._vol=S,_}return w.prototype._getName=function(){return this._steps[this._steps.length-1]},w.prototype.start=function(S,_,R,M){_===void 0&&(_=!0),R===void 0&&(R=!1),M===void 0&&(M=m.ENCODING_UTF8),this._filename=ve(S),this._steps=ot(this._filename),this._filenameEncoded=(0,m.strToEncoding)(this._filename),this._recursive=R,this._encoding=M;try{this._link=this._vol.getLinkOrThrow(this._filename,"FSWatcher")}catch(he){var W=new Error("watch "+this._filename+" "+he.code);throw W.code=he.code,W.errno=he.code,W}this._link.getNode().on("change",this._onNodeChange),this._link.on("child:add",this._onNodeChange),this._link.on("child:delete",this._onNodeChange);var ne=this._link.parent;ne&&(ne.setMaxListeners(ne.getMaxListeners()+1),ne.on("child:delete",this._onParentChild)),_&&this._persist()},w.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var S=this._link.parent;S&&S.removeListener("child:delete",this._onParentChild)},w}(v.EventEmitter);return je.FSWatcher=sc,je}function SE(){if(By)return Nr;By=!0,Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.fsAsyncMethods=Nr.fsSyncMethods=Nr.fsProps=void 0;var r=["constants","F_OK","R_OK","W_OK","X_OK","Stats"];Nr.fsProps=r;var e=["renameSync","ftruncateSync","truncateSync","chownSync","fchownSync","lchownSync","chmodSync","fchmodSync","lchmodSync","statSync","lstatSync","fstatSync","linkSync","symlinkSync","readlinkSync","realpathSync","unlinkSync","rmdirSync","mkdirSync","mkdirpSync","readdirSync","closeSync","openSync","utimesSync","futimesSync","fsyncSync","writeSync","readSync","readFileSync","writeFileSync","appendFileSync","existsSync","accessSync","fdatasyncSync","mkdtempSync","copyFileSync","createReadStream","createWriteStream"];Nr.fsSyncMethods=e;var t=["rename","ftruncate","truncate","chown","fchown","lchown","chmod","fchmod","lchmod","stat","lstat","fstat","link","symlink","readlink","realpath","unlink","rmdir","mkdir","mkdirp","readdir","close","open","utimes","futimes","fsync","write","read","readFile","writeFile","appendFile","exists","access","fdatasync","mkdtemp","copyFile","watchFile","unwatchFile","watch"];return Nr.fsAsyncMethods=t,Nr}function EE(){if(Ny)return pt;Ny=!0;var r=pt&&pt.__assign||function(){return r=Object.assign||function(m){for(var g,b=1,E=arguments.length;b<E;b++){g=arguments[b];for(var A in g)Object.prototype.hasOwnProperty.call(g,A)&&(m[A]=g[A])}return m},r.apply(this,arguments)};Object.defineProperty(pt,"__esModule",{value:!0}),pt.fs=pt.createFsFromVolume=pt.vol=pt.Volume=void 0;var e=tl(),t=My(),i=qy(),n=SE(),o=n.fsSyncMethods,s=n.fsAsyncMethods,u=qn(),f=u.constants.F_OK,c=u.constants.R_OK,p=u.constants.W_OK,d=u.constants.X_OK;pt.Volume=i.Volume,pt.vol=new i.Volume;function v(m){for(var g={F_OK:f,R_OK:c,W_OK:p,X_OK:d,constants:u.constants,Stats:e.default,Dirent:t.default},b=0,E=o;b<E.length;b++){var A=E[b];typeof m[A]=="function"&&(g[A]=m[A].bind(m))}for(var x=0,I=s;x<I.length;x++){var A=I[x];typeof m[A]=="function"&&(g[A]=m[A].bind(m))}return g.StatWatcher=m.StatWatcher,g.FSWatcher=m.FSWatcher,g.WriteStream=m.WriteStream,g.ReadStream=m.ReadStream,g.promises=m.promises,g._toUnixTimestamp=i.toUnixTimestamp,g}return pt.createFsFromVolume=v,pt.fs=v(pt.vol),pt=r(r({},pt),pt.fs),pt.semantic=!0,pt}function Dt(r){throw new Error(`Node.js fs ${r} is not supported by JSPM core in the browser`)}function $y(r,e,t){let i=0,n=new TextDecoder;Fr.watch(r,"utf8",()=>{let{size:o}=Fr.fstatSync(e),s=Y.alloc(o-i);Fr.readSync(e,s,0,s.length,i),i=o,t(n.decode(s,{stream:!0}))})}function il(r,e){if(r.protocol==="file:")return Hr(r);if(r.protocol==="https:"||r.protocol==="http:"){let t="\\\\url\\"+r.href.replaceAll(/\//g,"\\\\");if(Wy(t))return t;if(e)throw new Error(`Cannot sync request URL ${r} 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 i=await fetch(r);if(!i.ok)throw new Error(`Unable to fetch ${r.href}, ${i.status}`);let n=await i.arrayBuffer();return zy(t,Y.from(n)),t})()}throw new Error("URL "+r+" not supported in JSPM FS implementation.")}function OE(r){return function(e,...t){return e instanceof URL?r(il(e,!0),...t):r(e,...t)}}function AE(r){return async function(e,...t){return e instanceof URL?r(await il(e),...t):r(e,...t)}}function TE(r){return function(e,...t){let i=t[t.length-1];e instanceof URL&&typeof i=="function"?il(e).then(n=>{r(n,...t)},i):r(e,...t)}}var Un,wy,No,by,Hi,Sy,rr,Ey,ct,_y,dE,yr,Oy,Yi,Ay,Fo,Ty,Ry,Ki,xy,Ct,Iy,Do,ky,gE,Yr,Py,jn,Cy,je,Ly,bE,Nr,By,pt,Ny,Ei,Rt,Fr,_E,Qe,RE,xE,nl,IE,kE,PE,CE,LE,BE,NE,FE,DE,ME,UE,jE,qE,$E,Wy,WE,zE,VE,GE,HE,YE,KE,JE,QE,XE,ZE,e1,t1,r1,i1,n1,s1,o1,a1,u1,l1,sl,f1,c1,h1,p1,d1,y1,g1,m1,ol,al,v1,w1,b1,S1,ul,E1,_1,ll,O1,fl,A1,T1,R1,x1,I1,k1,P1,C1,L1,B1,N1,F1,D1,M1,U1,j1,q1,$1,W1,z1,zy,V1,G1,H1,Y1,K1,J1,Q1,X1,Z1,e_,t_,r_,i_,n_,s_,o_,cl,Mo,_i=rt(()=>{B();F();N();In();zu();Nn();kr();Or();$r();Vi();Wr();Co();Si();Ni();Fn();Qs();qi();Ir();pi();Lo();Bo();Un={},wy=!1;No={},by=!1;Hi={},Sy=!1;rr={},Ey=!1;ct={},_y=!1,dE=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;yr={},Oy=!1;Yi={},Ay=!1;Fo={},Ty=!1,Ry=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Ki={},xy=!1;Ct={},Iy=!1;Do={},ky=!1,gE=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Yr={},Py=!1;jn={},Cy=!1;je={},Ly=!1,bE=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Nr={},By=!1;pt={},Ny=!1;Ei=EE();Ei.__esModule;Ei.fs;Ei.createFsFromVolume;Ei.vol;Ei.Volume;Ei.semantic;Rt=qy();Rt.__esModule;Rt.FSWatcher;Rt.StatWatcher;Rt.Volume;Rt.toUnixTimestamp;Rt.bufferToEncoding;Rt.dataToBuffer;Rt.dataToStr;Rt.pathToSteps;Rt.filenameToSteps;Rt.pathToFilename;Rt.flagsToNumber;Rt.FLAGS;Rt.ReadStream;Rt.WriteStream;({vol:Fr,createFsFromVolume:_E}=Ei);Fr.fromNestedJSON({"/dev":{stdin:"",stdout:"",stderr:""},"/usr/bin":{},"/home":{},"/tmp":{}});Fr.releasedFds=[2,1,0];Fr.openSync("/dev/stdin","w");Fr.openSync("/dev/stdout","r");Fr.openSync("/dev/stderr","r");$y("/dev/stdout",1,console.log);$y("/dev/stderr",2,console.error);Qe=_E(Fr);Qe.opendir=()=>Dt("opendir");Qe.opendirSync=()=>Dt("opendirSync");Qe.promises.opendir=()=>Dt("promises.opendir");Qe.cp=()=>Dt("cp");Qe.cpSync=()=>Dt("cpSync");Qe.promises.cp=()=>Dt("promises.cp");Qe.readv=()=>Dt("readv");Qe.readvSync=()=>Dt("readvSync");Qe.rm=()=>Dt("rm");Qe.rmSync=()=>Dt("rmSync");Qe.promises.rm=()=>Dt("promises.rm");Qe.Dir=()=>Dt("Dir");Qe.promises.watch=()=>Dt("promises.watch");Qe.FileReadStream=Qe.ReadStream;Qe.FileWriteStream=Qe.WriteStream;Qe.promises.readFile=AE(Qe.promises.readFile);Qe.readFile=TE(Qe.readFile);Qe.readFileSync=OE(Qe.readFileSync);({appendFile:RE,appendFileSync:xE,access:nl,accessSync:IE,chown:kE,chownSync:PE,chmod:CE,chmodSync:LE,close:BE,closeSync:NE,copyFile:FE,copyFileSync:DE,cp:ME,cpSync:UE,createReadStream:jE,createWriteStream:qE,exists:$E,existsSync:Wy,fchown:WE,fchownSync:zE,fchmod:VE,fchmodSync:GE,fdatasync:HE,fdatasyncSync:YE,fstat:KE,fstatSync:JE,fsync:QE,fsyncSync:XE,ftruncate:ZE,ftruncateSync:e1,futimes:t1,futimesSync:r1,lchown:i1,lchownSync:n1,lchmod:s1,lchmodSync:o1,link:a1,linkSync:u1,lstat:l1,lstatSync:sl,mkdir:f1,mkdirSync:c1,mkdtemp:h1,mkdtempSync:p1,open:d1,openSync:y1,opendir:g1,opendirSync:m1,readdir:ol,readdirSync:al,read:v1,readSync:w1,readv:b1,readvSync:S1,readFile:ul,readFileSync:E1,readlink:_1,readlinkSync:ll,realpath:O1,realpathSync:fl,rename:A1,renameSync:T1,rm:R1,rmSync:x1,rmdir:I1,rmdirSync:k1,stat:P1,statSync:C1,symlink:L1,symlinkSync:B1,truncate:N1,truncateSync:F1,unwatchFile:D1,unlink:M1,unlinkSync:U1,utimes:j1,utimesSync:q1,watch:$1,watchFile:W1,writeFile:z1,writeFileSync:zy,write:V1,writeSync:G1,writev:H1,writevSync:Y1,Dir:K1,Dirent:J1,Stats:Q1,ReadStream:X1,WriteStream:Z1,FileReadStream:e_,FileWriteStream:t_,_toUnixTimestamp:r_,constants:{F_OK:i_,R_OK:n_,W_OK:s_,X_OK:o_},constants:cl,promises:Mo}=Qe)});var Ky=de((YC,Yy)=>{"use strict";B();F();N();Yy.exports=Gy;function Gy(r,e,t){r instanceof RegExp&&(r=Vy(r,t)),e instanceof RegExp&&(e=Vy(e,t));var i=Hy(r,e,t);return i&&{start:i[0],end:i[1],pre:t.slice(0,i[0]),body:t.slice(i[0]+r.length,i[1]),post:t.slice(i[1]+e.length)}}function Vy(r,e){var t=e.match(r);return t?t[0]:null}Gy.range=Hy;function Hy(r,e,t){var i,n,o,s,u,f=t.indexOf(r),c=t.indexOf(e,f+1),p=f;if(f>=0&&c>0){if(r===e)return[f,c];for(i=[],o=t.length;p>=0&&!u;)p==f?(i.push(p),f=t.indexOf(r,p+1)):i.length==1?u=[i.pop(),c]:(n=i.pop(),n<o&&(o=n,s=c),c=t.indexOf(e,p+1)),p=f<c&&f>=0?f:c;i.length&&(u=[o,s])}return u}});var ig=de((XC,rg)=>{B();F();N();var Jy=Ky();rg.exports=l_;var Qy="\0SLASH"+Math.random()+"\0",Xy="\0OPEN"+Math.random()+"\0",pl="\0CLOSE"+Math.random()+"\0",Zy="\0COMMA"+Math.random()+"\0",eg="\0PERIOD"+Math.random()+"\0";function hl(r){return parseInt(r,10)==r?parseInt(r,10):r.charCodeAt(0)}function a_(r){return r.split("\\\\").join(Qy).split("\\{").join(Xy).split("\\}").join(pl).split("\\,").join(Zy).split("\\.").join(eg)}function u_(r){return r.split(Qy).join("\\").split(Xy).join("{").split(pl).join("}").split(Zy).join(",").split(eg).join(".")}function tg(r){if(!r)return[""];var e=[],t=Jy("{","}",r);if(!t)return r.split(",");var i=t.pre,n=t.body,o=t.post,s=i.split(",");s[s.length-1]+="{"+n+"}";var u=tg(o);return o.length&&(s[s.length-1]+=u.shift(),s.push.apply(s,u)),e.push.apply(e,s),e}function l_(r){return r?(r.substr(0,2)==="{}"&&(r="\\{\\}"+r.substr(2)),Wn(a_(r),!0).map(u_)):[]}function f_(r){return"{"+r+"}"}function c_(r){return/^-?0\d/.test(r)}function h_(r,e){return r<=e}function p_(r,e){return r>=e}function Wn(r,e){var t=[],i=Jy("{","}",r);if(!i)return[r];var n=i.pre,o=i.post.length?Wn(i.post,!1):[""];if(/\$$/.test(i.pre))for(var s=0;s<o.length;s++){var u=n+"{"+i.body+"}"+o[s];t.push(u)}else{var f=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),p=f||c,d=i.body.indexOf(",")>=0;if(!p&&!d)return i.post.match(/,.*\}/)?(r=i.pre+"{"+i.body+pl+i.post,Wn(r)):[r];var v;if(p)v=i.body.split(/\.\./);else if(v=tg(i.body),v.length===1&&(v=Wn(v[0],!1).map(f_),v.length===1))return o.map(function(se){return i.pre+v[0]+se});var m;if(p){var g=hl(v[0]),b=hl(v[1]),E=Math.max(v[0].length,v[1].length),A=v.length==3?Math.abs(hl(v[2])):1,x=h_,I=b<g;I&&(A*=-1,x=p_);var D=v.some(c_);m=[];for(var j=g;x(j,b);j+=A){var ae;if(c)ae=String.fromCharCode(j),ae==="\\"&&(ae="");else if(ae=String(j),D){var X=E-ae.length;if(X>0){var K=new Array(X+1).join("0");j<0?ae="-"+K+ae.slice(1):ae=K+ae}}m.push(ae)}}else{m=[];for(var Q=0;Q<v.length;Q++)m.push.apply(m,Wn(v[Q],!1))}for(var Q=0;Q<m.length;Q++)for(var s=0;s<o.length;s++){var u=n+m[Q]+o[s];(!e||p||u)&&t.push(u)}}return t}});var Yg=de((tF,kl)=>{B();F();N();var Xe=String,Hg=function(){return{isColorSupported:!1,reset:Xe,bold:Xe,dim:Xe,italic:Xe,underline:Xe,inverse:Xe,hidden:Xe,strikethrough:Xe,black:Xe,red:Xe,green:Xe,yellow:Xe,blue:Xe,magenta:Xe,cyan:Xe,white:Xe,gray:Xe,bgBlack:Xe,bgRed:Xe,bgGreen:Xe,bgYellow:Xe,bgBlue:Xe,bgMagenta:Xe,bgCyan:Xe,bgWhite:Xe}};kl.exports=Hg();kl.exports.createColors=Hg});var Pl=de(()=>{B();F();N()});var na=de((fF,Qg)=>{"use strict";B();F();N();var Kg=Yg(),Jg=Pl(),ss=class r extends Error{constructor(e,t,i,n,o,s){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),n&&(this.source=n),s&&(this.plugin=s),typeof t<"u"&&typeof i<"u"&&(typeof t=="number"?(this.line=t,this.column=i):(this.line=t.line,this.column=t.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=Kg.isColorSupported),Jg&&e&&(t=Jg(t));let i=t.split(/\r?\n/),n=Math.max(this.line-3,0),o=Math.min(this.line+2,i.length),s=String(o).length,u,f;if(e){let{bold:c,gray:p,red:d}=Kg.createColors(!0);u=v=>c(d(v)),f=v=>p(v)}else u=f=c=>c;return i.slice(n,o).map((c,p)=>{let d=n+1+p,v=" "+(" "+d).slice(-s)+" | ";if(d===this.line){let m=f(v.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+f(v)+c+`
|
|
64
|
+
`)&&(e=e.replace(uE,"%0A")),e.includes("\r")&&(e=e.replace(lE,"%0D")),e.includes(" ")&&(e=e.replace(fE,"%09")),i.pathname=e,i}var ze,AS,dr,TS,RS,xS,IS,Qu,py,dy,yy,kS,PS,Yu,Gi,Ku,Ju,gy,my,BS,LS,NS,FS,DS,Xu,MS,US,jS,qS,$S,WS,YS,KS,JS,QS,XS,ZS,eE,tE,rE,iE,nE,Zu,sE,oE,aE,uE,lE,fE,Si=rt(()=>{L();F();N();Bo();Lo();Ir();Ni();$r();ze={},AS=Gr,dr={isString:function(r){return typeof r=="string"},isObject:function(r){return typeof r=="object"&&r!==null},isNull:function(r){return r===null},isNullOrUndefined:function(r){return r==null}};ze.parse=Mn,ze.resolve=function(r,e){return Mn(r,!1,!0).resolve(e)},ze.resolveObject=function(r,e){return r?Mn(r,!1,!0).resolveObject(e):e},ze.format=function(r){return dr.isString(r)&&(r=Mn(r)),r instanceof Vt?r.format():Vt.prototype.format.call(r)},ze.Url=Vt;TS=/^([a-z0-9.+-]+:)/i,RS=/:[0-9]*$/,xS=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,IS=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
|
|
65
|
+
`," "]),Qu=["'"].concat(IS),py=["%","/","?",";","#"].concat(Qu),dy=["/","?","#"],yy=/^[+a-z0-9A-Z_-]{0,63}$/,kS=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,PS={javascript:!0,"javascript:":!0},Yu={javascript:!0,"javascript:":!0},Gi={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ku=pr;Vt.prototype.parse=function(r,e,t){if(!dr.isString(r))throw new TypeError("Parameter 'url' must be a string, not "+typeof r);var i=r.indexOf("?"),n=i!==-1&&i<r.indexOf("#")?"?":"#",o=r.split(n);o[0]=o[0].replace(/\\/g,"/");var s=r=o.join(n);if(s=s.trim(),!t&&r.split("#").length===1){var u=xS.exec(s);if(u)return this.path=s,this.href=s,this.pathname=u[1],u[2]?(this.search=u[2],this.query=e?Ku.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var f=TS.exec(s);if(f){var c=(f=f[0]).toLowerCase();this.protocol=c,s=s.substr(f.length)}if(t||f||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var p=s.substr(0,2)==="//";!p||f&&Yu[f]||(s=s.substr(2),this.slashes=!0)}if(!Yu[f]&&(p||f&&!Gi[f])){for(var d,v,m=-1,g=0;g<dy.length;g++)(b=s.indexOf(dy[g]))!==-1&&(m===-1||b<m)&&(m=b);for((v=m===-1?s.lastIndexOf("@"):s.lastIndexOf("@",m))!==-1&&(d=s.slice(0,v),s=s.slice(v+1),this.auth=decodeURIComponent(d)),m=-1,g=0;g<py.length;g++){var b;(b=s.indexOf(py[g]))!==-1&&(m===-1||b<m)&&(m=b)}m===-1&&(m=s.length),this.host=s.slice(0,m),s=s.slice(m),this.parseHost(),this.hostname=this.hostname||"";var E=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!E)for(var A=this.hostname.split(/\./),x=(g=0,A.length);g<x;g++){var I=A[g];if(I&&!I.match(yy)){for(var D="",j=0,ae=I.length;j<ae;j++)I.charCodeAt(j)>127?D+="x":D+=I[j];if(!D.match(yy)){var X=A.slice(0,g),K=A.slice(g+1),Q=I.match(kS);Q&&(X.push(Q[1]),K.unshift(Q[2])),K.length&&(s="/"+K.join(".")+s),this.hostname=X.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),E||(this.hostname=AS.toASCII(this.hostname));var oe=this.port?":"+this.port:"",_e=this.hostname||"";this.host=_e+oe,this.href+=this.host,E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!PS[c])for(g=0,x=Qu.length;g<x;g++){var Oe=Qu[g];if(s.indexOf(Oe)!==-1){var Be=encodeURIComponent(Oe);Be===Oe&&(Be=escape(Oe)),s=s.split(Oe).join(Be)}}var Ee=s.indexOf("#");Ee!==-1&&(this.hash=s.substr(Ee),s=s.slice(0,Ee));var Me=s.indexOf("?");if(Me!==-1?(this.search=s.substr(Me),this.query=s.substr(Me+1),e&&(this.query=Ku.parse(this.query)),s=s.slice(0,Me)):e&&(this.search="",this.query={}),s&&(this.pathname=s),Gi[c]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){oe=this.pathname||"";var Ae=this.search||"";this.path=oe+Ae}return this.href=this.format(),this},Vt.prototype.format=function(){var r=this.auth||"";r&&(r=(r=encodeURIComponent(r)).replace(/%3A/i,":"),r+="@");var e=this.protocol||"",t=this.pathname||"",i=this.hash||"",n=!1,o="";this.host?n=r+this.host:this.hostname&&(n=r+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&dr.isObject(this.query)&&Object.keys(this.query).length&&(o=Ku.stringify(this.query));var s=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||Gi[e])&&n!==!1?(n="//"+(n||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):n||(n=""),i&&i.charAt(0)!=="#"&&(i="#"+i),s&&s.charAt(0)!=="?"&&(s="?"+s),e+n+(t=t.replace(/[?#]/g,function(u){return encodeURIComponent(u)}))+(s=s.replace("#","%23"))+i},Vt.prototype.resolve=function(r){return this.resolveObject(Mn(r,!1,!0)).format()},Vt.prototype.resolveObject=function(r){if(dr.isString(r)){var e=new Vt;e.parse(r,!1,!0),r=e}for(var t=new Vt,i=Object.keys(this),n=0;n<i.length;n++){var o=i[n];t[o]=this[o]}if(t.hash=r.hash,r.href==="")return t.href=t.format(),t;if(r.slashes&&!r.protocol){for(var s=Object.keys(r),u=0;u<s.length;u++){var f=s[u];f!=="protocol"&&(t[f]=r[f])}return Gi[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(r.protocol&&r.protocol!==t.protocol){if(!Gi[r.protocol]){for(var c=Object.keys(r),p=0;p<c.length;p++){var d=c[p];t[d]=r[d]}return t.href=t.format(),t}if(t.protocol=r.protocol,r.host||Yu[r.protocol])t.pathname=r.pathname;else{for(var v=(r.pathname||"").split("/");v.length&&!(r.host=v.shift()););r.host||(r.host=""),r.hostname||(r.hostname=""),v[0]!==""&&v.unshift(""),v.length<2&&v.unshift(""),t.pathname=v.join("/")}if(t.search=r.search,t.query=r.query,t.host=r.host||"",t.auth=r.auth,t.hostname=r.hostname||r.host,t.port=r.port,t.pathname||t.search){var m=t.pathname||"",g=t.search||"";t.path=m+g}return t.slashes=t.slashes||r.slashes,t.href=t.format(),t}var b=t.pathname&&t.pathname.charAt(0)==="/",E=r.host||r.pathname&&r.pathname.charAt(0)==="/",A=E||b||t.host&&r.pathname,x=A,I=t.pathname&&t.pathname.split("/")||[],D=(v=r.pathname&&r.pathname.split("/")||[],t.protocol&&!Gi[t.protocol]);if(D&&(t.hostname="",t.port=null,t.host&&(I[0]===""?I[0]=t.host:I.unshift(t.host)),t.host="",r.protocol&&(r.hostname=null,r.port=null,r.host&&(v[0]===""?v[0]=r.host:v.unshift(r.host)),r.host=null),A=A&&(v[0]===""||I[0]==="")),E)t.host=r.host||r.host===""?r.host:t.host,t.hostname=r.hostname||r.hostname===""?r.hostname:t.hostname,t.search=r.search,t.query=r.query,I=v;else if(v.length)I||(I=[]),I.pop(),I=I.concat(v),t.search=r.search,t.query=r.query;else if(!dr.isNullOrUndefined(r.search))return D&&(t.hostname=t.host=I.shift(),(Q=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=Q.shift(),t.host=t.hostname=Q.shift())),t.search=r.search,t.query=r.query,dr.isNull(t.pathname)&&dr.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t;if(!I.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;for(var j=I.slice(-1)[0],ae=(t.host||r.host||I.length>1)&&(j==="."||j==="..")||j==="",X=0,K=I.length;K>=0;K--)(j=I[K])==="."?I.splice(K,1):j===".."?(I.splice(K,1),X++):X&&(I.splice(K,1),X--);if(!A&&!x)for(;X--;X)I.unshift("..");!A||I[0]===""||I[0]&&I[0].charAt(0)==="/"||I.unshift(""),ae&&I.join("/").substr(-1)!=="/"&&I.push("");var Q,oe=I[0]===""||I[0]&&I[0].charAt(0)==="/";return D&&(t.hostname=t.host=oe?"":I.length?I.shift():"",(Q=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=Q.shift(),t.host=t.hostname=Q.shift())),(A=A||t.host&&I.length)&&!oe&&I.unshift(""),I.length?t.pathname=I.join("/"):(t.pathname=null,t.path=null),dr.isNull(t.pathname)&&dr.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=r.auth||t.auth,t.slashes=t.slashes||r.slashes,t.href=t.format(),t},Vt.prototype.parseHost=function(){var r=this.host,e=RS.exec(r);e&&((e=e[0])!==":"&&(this.port=e.substr(1)),r=r.substr(0,r.length-e.length)),r&&(this.hostname=r)};ze.Url;ze.format;ze.resolve;ze.resolveObject;Ju={},gy=!1;my=CS(),BS=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;ze.URL=typeof URL<"u"?URL:null;ze.pathToFileURL=HS;ze.fileURLToPath=zS;ze.Url;ze.format;ze.resolve;ze.resolveObject;ze.URL;LS=92,NS=47,FS=97,DS=122,Xu=BS==="win32",MS=/\//g,US=/%/g,jS=/\\/g,qS=/\n/g,$S=/\r/g,WS=/\t/g;YS=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;ze.URL=typeof URL<"u"?URL:null;ze.pathToFileURL=vy;ze.fileURLToPath=Hr;KS=ze.Url,JS=ze.format,QS=ze.resolve,XS=ze.resolveObject,ZS=ze.parse,eE=ze.URL,tE=92,rE=47,iE=97,nE=122,Zu=YS==="win32",sE=/\//g,oE=/%/g,aE=/\\/g,uE=/\n/g,lE=/\r/g,fE=/\t/g});var $n={};wn($n,{Dir:()=>K1,Dirent:()=>J1,F_OK:()=>i_,FileReadStream:()=>e_,FileWriteStream:()=>t_,R_OK:()=>n_,ReadStream:()=>X1,Stats:()=>Q1,W_OK:()=>s_,WriteStream:()=>Z1,X_OK:()=>o_,_toUnixTimestamp:()=>r_,access:()=>nl,accessSync:()=>IE,appendFile:()=>RE,appendFileSync:()=>xE,chmod:()=>CE,chmodSync:()=>BE,chown:()=>kE,chownSync:()=>PE,close:()=>LE,closeSync:()=>NE,constants:()=>cl,copyFile:()=>FE,copyFileSync:()=>DE,cp:()=>ME,cpSync:()=>UE,createReadStream:()=>jE,createWriteStream:()=>qE,default:()=>Xe,exists:()=>$E,existsSync:()=>Wy,fchmod:()=>VE,fchmodSync:()=>GE,fchown:()=>WE,fchownSync:()=>zE,fdatasync:()=>HE,fdatasyncSync:()=>YE,fstat:()=>KE,fstatSync:()=>JE,fsync:()=>QE,fsyncSync:()=>XE,ftruncate:()=>ZE,ftruncateSync:()=>e1,futimes:()=>t1,futimesSync:()=>r1,lchmod:()=>s1,lchmodSync:()=>o1,lchown:()=>i1,lchownSync:()=>n1,link:()=>a1,linkSync:()=>u1,lstat:()=>l1,lstatSync:()=>sl,mkdir:()=>f1,mkdirSync:()=>c1,mkdtemp:()=>h1,mkdtempSync:()=>p1,open:()=>d1,openSync:()=>y1,opendir:()=>g1,opendirSync:()=>m1,promises:()=>Mo,read:()=>v1,readFile:()=>ul,readFileSync:()=>E1,readSync:()=>w1,readdir:()=>ol,readdirSync:()=>al,readlink:()=>_1,readlinkSync:()=>ll,readv:()=>b1,readvSync:()=>S1,realpath:()=>O1,realpathSync:()=>fl,rename:()=>A1,renameSync:()=>T1,rm:()=>R1,rmSync:()=>x1,rmdir:()=>I1,rmdirSync:()=>k1,stat:()=>P1,statSync:()=>C1,symlink:()=>B1,symlinkSync:()=>L1,truncate:()=>N1,truncateSync:()=>F1,unlink:()=>M1,unlinkSync:()=>U1,unwatchFile:()=>D1,utimes:()=>j1,utimesSync:()=>q1,watch:()=>$1,watchFile:()=>W1,write:()=>V1,writeFile:()=>z1,writeFileSync:()=>zy,writeSync:()=>G1,writev:()=>H1,writevSync:()=>Y1});function qn(){return wy||(wy=!0,Object.defineProperty(Un,"__esModule",{value:!0}),Un.constants=void 0,Un.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}),Un}function pE(){return by||(by=!0,typeof BigInt=="function"?No.default=BigInt:No.default=function(){throw new Error("BigInt is not supported in this environment.")}),No}function tl(){if(Sy)return Hi;Sy=!0,Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.Stats=void 0;var r=qn(),e=pE(),t=r.constants.S_IFMT,i=r.constants.S_IFDIR,n=r.constants.S_IFREG,o=r.constants.S_IFBLK,s=r.constants.S_IFCHR,u=r.constants.S_IFLNK,f=r.constants.S_IFIFO,c=r.constants.S_IFSOCK,p=function(){function d(){}return d.build=function(v,m){m===void 0&&(m=!1);var g=new d,b=v.uid,E=v.gid,A=v.atime,x=v.mtime,I=v.ctime,D=m?e.default:function(ae){return ae};g.uid=D(b),g.gid=D(E),g.rdev=D(0),g.blksize=D(4096),g.ino=D(v.ino),g.size=D(v.getSize()),g.blocks=D(1),g.atime=A,g.mtime=x,g.ctime=I,g.birthtime=I,g.atimeMs=D(A.getTime()),g.mtimeMs=D(x.getTime());var j=D(I.getTime());return g.ctimeMs=j,g.birthtimeMs=j,g.dev=D(0),g.mode=D(v.mode),g.nlink=D(v.nlink),g},d.prototype._checkModeProperty=function(v){return(Number(this.mode)&t)===v},d.prototype.isDirectory=function(){return this._checkModeProperty(i)},d.prototype.isFile=function(){return this._checkModeProperty(n)},d.prototype.isBlockDevice=function(){return this._checkModeProperty(o)},d.prototype.isCharacterDevice=function(){return this._checkModeProperty(s)},d.prototype.isSymbolicLink=function(){return this._checkModeProperty(u)},d.prototype.isFIFO=function(){return this._checkModeProperty(f)},d.prototype.isSocket=function(){return this._checkModeProperty(c)},d}();return Hi.Stats=p,Hi.default=p,Hi}function rl(){if(Ey)return rr;Ey=!0;var r=rr&&rr.__spreadArray||function(o,s,u){if(u||arguments.length===2)for(var f=0,c=s.length,p;f<c;f++)(p||!(f in s))&&(p||(p=Array.prototype.slice.call(s,0,f)),p[f]=s[f]);return o.concat(p||Array.prototype.slice.call(s))};Object.defineProperty(rr,"__esModule",{value:!0}),rr.bufferFrom=rr.bufferAllocUnsafe=rr.Buffer=void 0;var e=Vr;Object.defineProperty(rr,"Buffer",{enumerable:!0,get:function(){return e.Buffer}});function t(o){for(var s=[],u=1;u<arguments.length;u++)s[u-1]=arguments[u];return new(e.Buffer.bind.apply(e.Buffer,r([void 0,o],s,!1)))}var i=e.Buffer.allocUnsafe||t;rr.bufferAllocUnsafe=i;var n=e.Buffer.from||t;return rr.bufferFrom=n,rr}function Fy(){if(_y)return ct;_y=!0;var r=ct&&ct.__extends||function(){var g=function(b,E){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,x){A.__proto__=x}||function(A,x){for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&(A[I]=x[I])},g(b,E)};return function(b,E){if(typeof E!="function"&&E!==null)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");g(b,E);function A(){this.constructor=b}b.prototype=E===null?Object.create(E):(A.prototype=E.prototype,new A)}}();Object.defineProperty(ct,"__esModule",{value:!0}),ct.E=ct.AssertionError=ct.message=ct.RangeError=ct.TypeError=ct.Error=void 0;var e=Te,t=G,i=typeof Symbol>"u"?"_kCode":Symbol("code"),n={};function o(g){return function(b){r(E,b);function E(A){for(var x=[],I=1;I<arguments.length;I++)x[I-1]=arguments[I];var D=b.call(this,f(A,x))||this;return D.code=A,D[i]=A,D.name=b.prototype.name+" ["+D[i]+"]",D}return E}(g)}var s=typeof globalThis<"u"?globalThis:dE,u=function(g){r(b,g);function b(E){var A=this;if(typeof E!="object"||E===null)throw new ct.TypeError("ERR_INVALID_ARG_TYPE","options","object");return E.message?A=g.call(this,E.message)||this:A=g.call(this,t.inspect(E.actual).slice(0,128)+" "+(E.operator+" "+t.inspect(E.expected).slice(0,128)))||this,A.generatedMessage=!E.message,A.name="AssertionError [ERR_ASSERTION]",A.code="ERR_ASSERTION",A.actual=E.actual,A.expected=E.expected,A.operator=E.operator,ct.Error.captureStackTrace(A,E.stackStartFunction),A}return b}(s.Error);ct.AssertionError=u;function f(g,b){e.strictEqual(typeof g,"string");var E=n[g];e(E,"An invalid error message key was used: "+g+".");var A;if(typeof E=="function")A=E;else{if(A=t.format,b===void 0||b.length===0)return E;b.unshift(E)}return String(A.apply(null,b))}ct.message=f;function c(g,b){n[g]=typeof b=="function"?b:String(b)}ct.E=c,ct.Error=o(s.Error),ct.TypeError=o(s.TypeError),ct.RangeError=o(s.RangeError),c("ERR_ARG_NOT_ITERABLE","%s must be iterable"),c("ERR_ASSERTION","%s"),c("ERR_BUFFER_OUT_OF_BOUNDS",m),c("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),c("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),c("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),c("ERR_DNS_SET_SERVERS_FAILED",function(g,b){return'c-ares failed to set servers: "'+g+'" ['+b+"]"}),c("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),c("ERR_ENCODING_NOT_SUPPORTED",function(g){return'The "'+g+'" encoding is not supported'}),c("ERR_ENCODING_INVALID_ENCODED_DATA",function(g){return"The encoded data was not valid for encoding "+g}),c("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),c("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),c("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),c("ERR_INDEX_OUT_OF_RANGE","Index out of range"),c("ERR_INVALID_ARG_TYPE",p),c("ERR_INVALID_ARRAY_LENGTH",function(g,b,E){return e.strictEqual(typeof E,"number"),'The array "'+g+'" (length '+E+") must be of length "+b+"."}),c("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),c("ERR_INVALID_CALLBACK","Callback must be a function"),c("ERR_INVALID_CHAR","Invalid character in %s"),c("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),c("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),c("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),c("ERR_INVALID_FILE_URL_PATH","File URL path %s"),c("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),c("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),c("ERR_INVALID_OPT_VALUE",function(g,b){return'The value "'+String(b)+'" is invalid for option "'+g+'"'}),c("ERR_INVALID_OPT_VALUE_ENCODING",function(g){return'The value "'+String(g)+'" is invalid for option "encoding"'}),c("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),c("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),c("ERR_INVALID_THIS",'Value of "this" must be of type %s'),c("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),c("ERR_INVALID_URL","Invalid URL: %s"),c("ERR_INVALID_URL_SCHEME",function(g){return"The URL must be "+v(g,"scheme")}),c("ERR_IPC_CHANNEL_CLOSED","Channel closed"),c("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),c("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),c("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),c("ERR_MISSING_ARGS",d),c("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),c("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),c("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),c("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),c("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),c("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),c("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),c("ERR_SOCKET_BAD_PORT","Port should be > 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(g){return"DH parameter size "+g+" 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 p(g,b,E){e(g,"name is required");var A;b.includes("not ")?(A="must not be",b=b.split("not ")[1]):A="must be";var x;if(Array.isArray(g)){var I=g.map(function(j){return'"'+j+'"'}).join(", ");x="The "+I+" arguments "+A+" "+v(b,"type")}else if(g.includes(" argument"))x="The "+g+" "+A+" "+v(b,"type");else{var D=g.includes(".")?"property":"argument";x='The "'+g+'" '+D+" "+A+" "+v(b,"type")}return arguments.length>=3&&(x+=". Received type "+(E!==null?typeof E:"null")),x}function d(){for(var g=[],b=0;b<arguments.length;b++)g[b]=arguments[b];e(g.length>0,"At least one arg needs to be specified");var E="The ",A=g.length;switch(g=g.map(function(x){return'"'+x+'"'}),A){case 1:E+=g[0]+" argument";break;case 2:E+=g[0]+" and "+g[1]+" arguments";break;default:E+=g.slice(0,A-1).join(", "),E+=", and "+g[A-1]+" arguments";break}return E+" must be specified"}function v(g,b){if(e(g,"expected is required"),e(typeof b=="string","thing is required"),Array.isArray(g)){var E=g.length;return e(E>0,"At least one expected value needs to be specified"),g=g.map(function(A){return String(A)}),E>2?"one of "+b+" "+g.slice(0,E-1).join(", ")+", or "+g[E-1]:E===2?"one of "+b+" "+g[0]+" or "+g[1]:"of "+b+" "+g[0]}else return"of "+b+" "+String(g)}function m(g,b){return b?"Attempt to write outside buffer bounds":'"'+g+'" is outside of buffer bounds'}return ct}function Dy(){if(Oy)return yr;Oy=!0,Object.defineProperty(yr,"__esModule",{value:!0}),yr.strToEncoding=yr.assertEncoding=yr.ENCODING_UTF8=void 0;var r=rl(),e=Fy();yr.ENCODING_UTF8="utf8";function t(n){if(n&&!r.Buffer.isEncoding(n))throw new e.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",n)}yr.assertEncoding=t;function i(n,o){return!o||o===yr.ENCODING_UTF8?n:o==="buffer"?new r.Buffer(n):new r.Buffer(n).toString(o)}return yr.strToEncoding=i,yr}function My(){if(Ay)return Yi;Ay=!0,Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.Dirent=void 0;var r=qn(),e=Dy(),t=r.constants.S_IFMT,i=r.constants.S_IFDIR,n=r.constants.S_IFREG,o=r.constants.S_IFBLK,s=r.constants.S_IFCHR,u=r.constants.S_IFLNK,f=r.constants.S_IFIFO,c=r.constants.S_IFSOCK,p=function(){function d(){this.name="",this.mode=0}return d.build=function(v,m){var g=new d,b=v.getNode().mode;return g.name=(0,e.strToEncoding)(v.getName(),m),g.mode=b,g},d.prototype._checkModeProperty=function(v){return(this.mode&t)===v},d.prototype.isDirectory=function(){return this._checkModeProperty(i)},d.prototype.isFile=function(){return this._checkModeProperty(n)},d.prototype.isBlockDevice=function(){return this._checkModeProperty(o)},d.prototype.isCharacterDevice=function(){return this._checkModeProperty(s)},d.prototype.isSymbolicLink=function(){return this._checkModeProperty(u)},d.prototype.isFIFO=function(){return this._checkModeProperty(f)},d.prototype.isSocket=function(){return this._checkModeProperty(c)},d}();return Yi.Dirent=p,Yi.default=p,Yi}function Uy(){if(Ty)return Fo;Ty=!0;var r=je;Object.defineProperty(Fo,"__esModule",{value:!0});var e;return typeof r.nextTick=="function"?e=r.nextTick.bind(typeof globalThis<"u"?globalThis:Ry):e=setTimeout.bind(typeof globalThis<"u"?globalThis:Ry),Fo.default=e,Fo}function jy(){if(xy)return Ki;xy=!0;var r=je;Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.createProcess=void 0;var e=function(){if(typeof r<"u")return r;try{return je}catch{return}};function t(){var i=e()||{};return i.getuid||(i.getuid=function(){return 0}),i.getgid||(i.getgid=function(){return 0}),i.cwd||(i.cwd=function(){return"/"}),i.nextTick||(i.nextTick=Uy().default),i.emitWarning||(i.emitWarning=function(n,o){console.warn(""+o+(o?": ":"")+n)}),i.env||(i.env={}),i}return Ki.createProcess=t,Ki.default=t(),Ki}function yE(){if(Iy)return Ct;Iy=!0;var r=Ct&&Ct.__extends||function(){var g=function(b,E){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,x){A.__proto__=x}||function(A,x){for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&(A[I]=x[I])},g(b,E)};return function(b,E){if(typeof E!="function"&&E!==null)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");g(b,E);function A(){this.constructor=b}b.prototype=E===null?Object.create(E):(A.prototype=E.prototype,new A)}}();Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.File=Ct.Link=Ct.Node=Ct.SEP=void 0;var e=jy(),t=rl(),i=qn(),n=ut,o=tl(),s=i.constants.S_IFMT,u=i.constants.S_IFDIR,f=i.constants.S_IFREG,c=i.constants.S_IFLNK,p=i.constants.O_APPEND;Ct.SEP="/";var d=function(g){r(b,g);function b(E,A){A===void 0&&(A=438);var x=g.call(this)||this;return x.uid=e.default.getuid(),x.gid=e.default.getgid(),x.atime=new Date,x.mtime=new Date,x.ctime=new Date,x.perm=438,x.mode=f,x.nlink=1,x.perm=A,x.mode|=A,x.ino=E,x}return b.prototype.getString=function(E){return E===void 0&&(E="utf8"),this.getBuffer().toString(E)},b.prototype.setString=function(E){this.buf=(0,t.bufferFrom)(E,"utf8"),this.touch()},b.prototype.getBuffer=function(){return this.buf||this.setBuffer((0,t.bufferAllocUnsafe)(0)),(0,t.bufferFrom)(this.buf)},b.prototype.setBuffer=function(E){this.buf=(0,t.bufferFrom)(E),this.touch()},b.prototype.getSize=function(){return this.buf?this.buf.length:0},b.prototype.setModeProperty=function(E){this.mode=this.mode&~s|E},b.prototype.setIsFile=function(){this.setModeProperty(f)},b.prototype.setIsDirectory=function(){this.setModeProperty(u)},b.prototype.setIsSymlink=function(){this.setModeProperty(c)},b.prototype.isFile=function(){return(this.mode&s)===f},b.prototype.isDirectory=function(){return(this.mode&s)===u},b.prototype.isSymlink=function(){return(this.mode&s)===c},b.prototype.makeSymlink=function(E){this.symlink=E,this.setIsSymlink()},b.prototype.write=function(E,A,x,I){if(A===void 0&&(A=0),x===void 0&&(x=E.length),I===void 0&&(I=0),this.buf||(this.buf=(0,t.bufferAllocUnsafe)(0)),I+x>this.buf.length){var D=(0,t.bufferAllocUnsafe)(I+x);this.buf.copy(D,0,0,this.buf.length),this.buf=D}return E.copy(this.buf,I,A,A+x),this.touch(),x},b.prototype.read=function(E,A,x,I){A===void 0&&(A=0),x===void 0&&(x=E.byteLength),I===void 0&&(I=0),this.buf||(this.buf=(0,t.bufferAllocUnsafe)(0));var D=x;return D>E.byteLength&&(D=E.byteLength),D+I>this.buf.length&&(D=this.buf.length-I),this.buf.copy(E,A,I,I+D),D},b.prototype.truncate=function(E){if(E===void 0&&(E=0),!E)this.buf=(0,t.bufferAllocUnsafe)(0);else if(this.buf||(this.buf=(0,t.bufferAllocUnsafe)(0)),E<=this.buf.length)this.buf=this.buf.slice(0,E);else{var A=(0,t.bufferAllocUnsafe)(0);this.buf.copy(A),A.fill(0,E)}this.touch()},b.prototype.chmod=function(E){this.perm=E,this.mode=this.mode&-512|E,this.touch()},b.prototype.chown=function(E,A){this.uid=E,this.gid=A,this.touch()},b.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},b.prototype.canRead=function(E,A){return E===void 0&&(E=e.default.getuid()),A===void 0&&(A=e.default.getgid()),!!(this.perm&4||A===this.gid&&this.perm&32||E===this.uid&&this.perm&256)},b.prototype.canWrite=function(E,A){return E===void 0&&(E=e.default.getuid()),A===void 0&&(A=e.default.getgid()),!!(this.perm&2||A===this.gid&&this.perm&16||E===this.uid&&this.perm&128)},b.prototype.del=function(){this.emit("delete",this)},b.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()}},b}(n.EventEmitter);Ct.Node=d;var v=function(g){r(b,g);function b(E,A,x){var I=g.call(this)||this;return I.children={},I.steps=[],I.ino=0,I.length=0,I.vol=E,I.parent=A,I.steps=A?A.steps.concat([x]):[x],I}return b.prototype.setNode=function(E){this.node=E,this.ino=E.ino},b.prototype.getNode=function(){return this.node},b.prototype.createChild=function(E,A){A===void 0&&(A=this.vol.createNode());var x=new b(this.vol,this,E);return x.setNode(A),A.isDirectory(),this.setChild(E,x),x},b.prototype.setChild=function(E,A){return A===void 0&&(A=new b(this.vol,this,E)),this.children[E]=A,A.parent=this,this.length++,this.emit("child:add",A,this),A},b.prototype.deleteChild=function(E){delete this.children[E.getName()],this.length--,this.emit("child:delete",E,this)},b.prototype.getChild=function(E){if(Object.hasOwnProperty.call(this.children,E))return this.children[E]},b.prototype.getPath=function(){return this.steps.join(Ct.SEP)},b.prototype.getName=function(){return this.steps[this.steps.length-1]},b.prototype.walk=function(E,A,x){if(A===void 0&&(A=E.length),x===void 0&&(x=0),x>=E.length)return this;if(x>=A)return this;var I=E[x],D=this.getChild(I);return D?D.walk(E,A,x+1):null},b.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},b}(n.EventEmitter);Ct.Link=v;var m=function(){function g(b,E,A,x){this.position=0,this.link=b,this.node=E,this.flags=A,this.fd=x}return g.prototype.getString=function(b){return this.node.getString()},g.prototype.setString=function(b){this.node.setString(b)},g.prototype.getBuffer=function(){return this.node.getBuffer()},g.prototype.setBuffer=function(b){this.node.setBuffer(b)},g.prototype.getSize=function(){return this.node.getSize()},g.prototype.truncate=function(b){this.node.truncate(b)},g.prototype.seekTo=function(b){this.position=b},g.prototype.stats=function(){return o.default.build(this.node)},g.prototype.write=function(b,E,A,x){E===void 0&&(E=0),A===void 0&&(A=b.length),typeof x!="number"&&(x=this.position),this.flags&p&&(x=this.getSize());var I=this.node.write(b,E,A,x);return this.position=x+I,I},g.prototype.read=function(b,E,A,x){E===void 0&&(E=0),A===void 0&&(A=b.byteLength),typeof x!="number"&&(x=this.position);var I=this.node.read(b,E,A,x);return this.position=x+I,I},g.prototype.chmod=function(b){this.node.chmod(b)},g.prototype.chown=function(b,E){this.node.chown(b,E)},g}();return Ct.File=m,Ct}function mE(){if(ky)return Do;ky=!0,Object.defineProperty(Do,"__esModule",{value:!0});function r(e,t,i){var n=setTimeout.apply(typeof globalThis<"u"?globalThis:gE,arguments);return n&&typeof n=="object"&&typeof n.unref=="function"&&n.unref(),n}return Do.default=r,Do}function vE(){if(Py)return Yr;Py=!0;var r=Yr&&Yr.__spreadArray||function(n,o,s){if(s||arguments.length===2)for(var u=0,f=o.length,c;u<f;u++)(c||!(u in o))&&(c||(c=Array.prototype.slice.call(o,0,u)),c[u]=o[u]);return n.concat(c||Array.prototype.slice.call(o))};Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.FileHandle=void 0;function e(n,o,s){return s===void 0&&(s=function(u){return u}),function(){for(var u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];return new Promise(function(c,p){n[o].bind(n).apply(void 0,r(r([],u,!1),[function(d,v){return d?p(d):c(s(v))}],!1))})}}var t=function(){function n(o,s){this.vol=o,this.fd=s}return n.prototype.appendFile=function(o,s){return e(this.vol,"appendFile")(this.fd,o,s)},n.prototype.chmod=function(o){return e(this.vol,"fchmod")(this.fd,o)},n.prototype.chown=function(o,s){return e(this.vol,"fchown")(this.fd,o,s)},n.prototype.close=function(){return e(this.vol,"close")(this.fd)},n.prototype.datasync=function(){return e(this.vol,"fdatasync")(this.fd)},n.prototype.read=function(o,s,u,f){return e(this.vol,"read",function(c){return{bytesRead:c,buffer:o}})(this.fd,o,s,u,f)},n.prototype.readFile=function(o){return e(this.vol,"readFile")(this.fd,o)},n.prototype.stat=function(o){return e(this.vol,"fstat")(this.fd,o)},n.prototype.sync=function(){return e(this.vol,"fsync")(this.fd)},n.prototype.truncate=function(o){return e(this.vol,"ftruncate")(this.fd,o)},n.prototype.utimes=function(o,s){return e(this.vol,"futimes")(this.fd,o,s)},n.prototype.write=function(o,s,u,f){return e(this.vol,"write",function(c){return{bytesWritten:c,buffer:o}})(this.fd,o,s,u,f)},n.prototype.writeFile=function(o,s){return e(this.vol,"writeFile")(this.fd,o,s)},n}();Yr.FileHandle=t;function i(n){return typeof Promise>"u"?null:{FileHandle:t,access:function(o,s){return e(n,"access")(o,s)},appendFile:function(o,s,u){return e(n,"appendFile")(o instanceof t?o.fd:o,s,u)},chmod:function(o,s){return e(n,"chmod")(o,s)},chown:function(o,s,u){return e(n,"chown")(o,s,u)},copyFile:function(o,s,u){return e(n,"copyFile")(o,s,u)},lchmod:function(o,s){return e(n,"lchmod")(o,s)},lchown:function(o,s,u){return e(n,"lchown")(o,s,u)},link:function(o,s){return e(n,"link")(o,s)},lstat:function(o,s){return e(n,"lstat")(o,s)},mkdir:function(o,s){return e(n,"mkdir")(o,s)},mkdtemp:function(o,s){return e(n,"mkdtemp")(o,s)},open:function(o,s,u){return e(n,"open",function(f){return new t(n,f)})(o,s,u)},readdir:function(o,s){return e(n,"readdir")(o,s)},readFile:function(o,s){return e(n,"readFile")(o instanceof t?o.fd:o,s)},readlink:function(o,s){return e(n,"readlink")(o,s)},realpath:function(o,s){return e(n,"realpath")(o,s)},rename:function(o,s){return e(n,"rename")(o,s)},rmdir:function(o){return e(n,"rmdir")(o)},stat:function(o,s){return e(n,"stat")(o,s)},symlink:function(o,s,u){return e(n,"symlink")(o,s,u)},truncate:function(o,s){return e(n,"truncate")(o,s)},unlink:function(o){return e(n,"unlink")(o)},utimes:function(o,s,u){return e(n,"utimes")(o,s,u)},writeFile:function(o,s,u){return e(n,"writeFile")(o instanceof t?o.fd:o,s,u)}}}return Yr.default=i,Yr}function wE(){if(Cy)return jn;Cy=!0;var r=je;Object.defineProperty(jn,"__esModule",{value:!0}),jn.unixify=o,jn.correctPath=s;var e=r.platform==="win32";function t(u){var f=u.length-1;if(f<2)return u;for(;i(u,f);)f--;return u.substr(0,f+1)}function i(u,f){var c=u[f];return f>0&&(c==="/"||e&&c==="\\")}function n(u,f){if(typeof u!="string")throw new TypeError("expected a string");return u=u.replace(/[\\\/]+/g,"/"),f!==!1&&(u=t(u)),u}function o(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e?(u=n(u,f),u.replace(/^([a-zA-Z]+:|\.\/)/,"")):u}function s(u){return o(u.replace(/^\\\\\?\\.:\\/,"\\"))}return jn}function qy(){if(By)return qe;By=!0;var r=qe&&qe.__extends||function(){var T=function(w,S){return T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,R){_.__proto__=R}||function(_,R){for(var M in R)Object.prototype.hasOwnProperty.call(R,M)&&(_[M]=R[M])},T(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");T(w,S);function _(){this.constructor=w}w.prototype=S===null?Object.create(S):(_.prototype=S.prototype,new _)}}(),e=qe&&qe.__spreadArray||function(T,w,S){if(S||arguments.length===2)for(var _=0,R=w.length,M;_<R;_++)(M||!(_ in w))&&(M||(M=Array.prototype.slice.call(w,0,_)),M[_]=w[_]);return T.concat(M||Array.prototype.slice.call(w))};Object.defineProperty(qe,"__esModule",{value:!0}),qe.FSWatcher=qe.StatWatcher=qe.Volume=qe.toUnixTimestamp=qe.bufferToEncoding=qe.dataToBuffer=qe.dataToStr=qe.pathToSteps=qe.filenameToSteps=qe.pathToFilename=qe.flagsToNumber=qe.FLAGS=void 0;var t=it,i=yE(),n=tl(),o=My(),s=rl(),u=Uy(),f=jy(),c=mE(),p=vt,d=qn(),v=ut,m=Dy(),g=Fy(),b=G,E=vE(),A=t.resolve,x=d.constants.O_RDONLY,I=d.constants.O_WRONLY,D=d.constants.O_RDWR,j=d.constants.O_CREAT,ae=d.constants.O_EXCL,X=d.constants.O_TRUNC,K=d.constants.O_APPEND,Q=d.constants.O_SYNC,oe=d.constants.O_DIRECTORY,_e=d.constants.F_OK,Oe=d.constants.COPYFILE_EXCL,Be=d.constants.COPYFILE_FICLONE_FORCE,Ee=t.posix?t.posix:t,Me=Ee.sep,Ae=Ee.relative,V=Ee.join,q=Ee.dirname,J=f.default.platform==="win32",H=128,ee={PATH_STR:"path must be a string or Buffer",FD:"fd must be a file descriptor",MODE_INT:"mode must be an int",CB:"callback must be a function",UID:"uid must be an unsigned int",GID:"gid must be an unsigned int",LEN:"len must be an integer",ATIME:"atime must be an integer",MTIME:"mtime must be an integer",PREFIX:"filename prefix is required",BUFFER:"buffer must be an instance of Buffer or StaticBuffer",OFFSET:"offset must be an integer",LENGTH:"length must be an integer",POSITION:"position must be an integer"},ge=function(T){return"Expected options to be either an object or a string, but got "+T+" instead"},Se="ENOENT",Ue="EBADF",De="EINVAL",mt="EPERM",$="EPROTO",U="EEXIST",te="ENOTDIR",me="EMFILE",xe="EACCES",P="EISDIR",C="ENOTEMPTY",re="ENOSYS";function fe(T,w,S,_){w===void 0&&(w=""),S===void 0&&(S=""),_===void 0&&(_="");var R="";switch(S&&(R=" '"+S+"'"),_&&(R+=" -> '"+_+"'"),T){case Se:return"ENOENT: no such file or directory, "+w+R;case Ue:return"EBADF: bad file descriptor, "+w+R;case De:return"EINVAL: invalid argument, "+w+R;case mt:return"EPERM: operation not permitted, "+w+R;case $:return"EPROTO: protocol error, "+w+R;case U:return"EEXIST: file already exists, "+w+R;case te:return"ENOTDIR: not a directory, "+w+R;case P:return"EISDIR: illegal operation on a directory, "+w+R;case xe:return"EACCES: permission denied, "+w+R;case C:return"ENOTEMPTY: directory not empty, "+w+R;case me:return"EMFILE: too many open files, "+w+R;case re:return"ENOSYS: function not implemented, "+w+R;default:return T+": error occurred, "+w+R}}function ce(T,w,S,_,R){w===void 0&&(w=""),S===void 0&&(S=""),_===void 0&&(_=""),R===void 0&&(R=Error);var M=new R(fe(T,w,S,_));return M.code=T,M}var Ie;(function(T){T[T.r=x]="r",T[T["r+"]=D]="r+",T[T.rs=x|Q]="rs",T[T.sr=T.rs]="sr",T[T["rs+"]=D|Q]="rs+",T[T["sr+"]=T["rs+"]]="sr+",T[T.w=I|j|X]="w",T[T.wx=I|j|X|ae]="wx",T[T.xw=T.wx]="xw",T[T["w+"]=D|j|X]="w+",T[T["wx+"]=D|j|X|ae]="wx+",T[T["xw+"]=T["wx+"]]="xw+",T[T.a=I|K|j]="a",T[T.ax=I|K|j|ae]="ax",T[T.xa=T.ax]="xa",T[T["a+"]=D|K|j]="a+",T[T["ax+"]=D|K|j|ae]="ax+",T[T["xa+"]=T["ax+"]]="xa+"})(Ie=qe.FLAGS||(qe.FLAGS={}));function Ne(T){if(typeof T=="number")return T;if(typeof T=="string"){var w=Ie[T];if(typeof w<"u")return w}throw new g.TypeError("ERR_INVALID_OPT_VALUE","flags",T)}qe.flagsToNumber=Ne;function St(T,w){var S;if(w){var _=typeof w;switch(_){case"string":S=Object.assign({},T,{encoding:w});break;case"object":S=Object.assign({},T,w);break;default:throw TypeError(ge(_))}}else return T;return S.encoding!=="buffer"&&(0,m.assertEncoding)(S.encoding),S}function st(T){return function(w){return St(T,w)}}function Le(T){if(typeof T!="function")throw TypeError(ee.CB);return T}function At(T){return function(w,S){return typeof w=="function"?[T(),w]:[T(w),Le(S)]}}var br={encoding:"utf8"},Ke=st(br),lr=At(Ke),h={flag:"r"},a=st(h),l={encoding:"utf8",mode:438,flag:Ie[Ie.w]},y=st(l),O={encoding:"utf8",mode:438,flag:Ie[Ie.a]},k=st(O),B=At(k),ue=br,ke=st(ue),Re=At(ke),Pe={mode:511,recursive:!1},we=function(T){return typeof T=="number"?Object.assign({},Pe,{mode:T}):Object.assign({},Pe,T)},Pw={recursive:!1},ec=function(T){return Object.assign({},Pw,T)},Cw={encoding:"utf8",withFileTypes:!1},tc=st(Cw),Bw=At(tc),Lw={bigint:!1},gn=function(T){return T===void 0&&(T={}),Object.assign({},Lw,T)},La=function(T,w){return typeof T=="function"?[gn(),T]:[gn(T),Le(w)]};function Nw(T){if(T.hostname!=="")throw new g.TypeError("ERR_INVALID_FILE_URL_HOST",f.default.platform);for(var w=T.pathname,S=0;S<w.length;S++)if(w[S]==="%"){var _=w.codePointAt(S+2)|32;if(w[S+1]==="2"&&_===102)throw new g.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(w)}function ve(T){if(typeof T!="string"&&!s.Buffer.isBuffer(T)){try{if(!(T instanceof ze.URL))throw new TypeError(ee.PATH_STR)}catch{throw new TypeError(ee.PATH_STR)}T=Nw(T)}var w=String(T);return Na(w),w}qe.pathToFilename=ve;var zs=function(T,w){return w===void 0&&(w=f.default.cwd()),A(w,T)};if(J){var Fw=zs,Dw=wE().unixify;zs=function(T,w){return Dw(Fw(T,w))}}function ot(T,w){var S=zs(T,w),_=S.substr(1);return _?_.split(Me):[]}qe.filenameToSteps=ot;function rc(T){return ot(ve(T))}qe.pathToSteps=rc;function Mw(T,w){return w===void 0&&(w=m.ENCODING_UTF8),s.Buffer.isBuffer(T)?T.toString(w):T instanceof Uint8Array?(0,s.bufferFrom)(T).toString(w):String(T)}qe.dataToStr=Mw;function mn(T,w){return w===void 0&&(w=m.ENCODING_UTF8),s.Buffer.isBuffer(T)?T:T instanceof Uint8Array?(0,s.bufferFrom)(T):(0,s.bufferFrom)(String(T),w)}qe.dataToBuffer=mn;function ic(T,w){return!w||w==="buffer"?T:T.toString(w)}qe.bufferToEncoding=ic;function Na(T,w){if((""+T).indexOf("\0")!==-1){var S=new Error("Path must be a string without null bytes");if(S.code=Se,typeof w!="function")throw S;return f.default.nextTick(w,S),!1}return!0}function Uw(T,w){if(typeof T=="number")return T;if(typeof T=="string")return parseInt(T,8);if(w)return Lt(w)}function Lt(T,w){var S=Uw(T,w);if(typeof S!="number"||isNaN(S))throw new TypeError(ee.MODE_INT);return S}function ti(T){return T>>>0===T}function vn(T){if(!ti(T))throw TypeError(ee.FD)}function Sr(T){if(typeof T=="string"&&+T==T)return+T;if(T instanceof Date)return T.getTime()/1e3;if(isFinite(T))return T<0?Date.now()/1e3:T;throw new Error("Cannot parse time: "+T)}qe.toUnixTimestamp=Sr;function Pi(T){if(typeof T!="number")throw TypeError(ee.UID)}function Ci(T){if(typeof T!="number")throw TypeError(ee.GID)}function jw(T){var w={};function S(_,R){for(var M in R){var W=R[M],ne=V(_,M);typeof W=="string"?w[ne]=W:typeof W=="object"&&W!==null&&Object.keys(W).length>0?S(ne,W):w[ne]=null}}return S("",T),w}var qw=function(){function T(w){w===void 0&&(w={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=(0,E.default)(this),this.statWatchers={},this.props=Object.assign({Node:i.Node,Link:i.Link,File:i.File},w);var S=this.createLink();S.setNode(this.createNode(!0));var _=this;this.StatWatcher=function(W){r(ne,W);function ne(){return W.call(this,_)||this}return ne}(nc);var R=Xt;this.ReadStream=function(W){r(ne,W);function ne(){for(var pe=[],be=0;be<arguments.length;be++)pe[be]=arguments[be];return W.apply(this,e([_],pe,!1))||this}return ne}(R);var M=$t;this.WriteStream=function(W){r(ne,W);function ne(){for(var pe=[],be=0;be<arguments.length;be++)pe[be]=arguments[be];return W.apply(this,e([_],pe,!1))||this}return ne}(M),this.FSWatcher=function(W){r(ne,W);function ne(){return W.call(this,_)||this}return ne}(sc),this.root=S}return T.fromJSON=function(w,S){var _=new T;return _.fromJSON(w,S),_},T.fromNestedJSON=function(w,S){var _=new T;return _.fromNestedJSON(w,S),_},Object.defineProperty(T.prototype,"promises",{get:function(){if(this.promisesApi===null)throw new Error("Promise is not supported in this environment.");return this.promisesApi},enumerable:!1,configurable:!0}),T.prototype.createLink=function(w,S,_,R){if(_===void 0&&(_=!1),!w)return new this.props.Link(this,null,"");if(!S)throw new Error("createLink: name cannot be empty");return w.createChild(S,this.createNode(_,R))},T.prototype.deleteLink=function(w){var S=w.parent;return S?(S.deleteChild(w),!0):!1},T.prototype.newInoNumber=function(){var w=this.releasedInos.pop();return w||(this.ino=(this.ino+1)%4294967295,this.ino)},T.prototype.newFdNumber=function(){var w=this.releasedFds.pop();return typeof w=="number"?w:T.fd--},T.prototype.createNode=function(w,S){w===void 0&&(w=!1);var _=new this.props.Node(this.newInoNumber(),S);return w&&_.setIsDirectory(),this.inodes[_.ino]=_,_},T.prototype.getNode=function(w){return this.inodes[w]},T.prototype.deleteNode=function(w){w.del(),delete this.inodes[w.ino],this.releasedInos.push(w.ino)},T.prototype.genRndStr=function(){var w=(Math.random()+1).toString(36).substr(2,6);return w.length===6?w:this.genRndStr()},T.prototype.getLink=function(w){return this.root.walk(w)},T.prototype.getLinkOrThrow=function(w,S){var _=ot(w),R=this.getLink(_);if(!R)throw ce(Se,S,w);return R},T.prototype.getResolvedLink=function(w){for(var S=typeof w=="string"?ot(w):w,_=this.root,R=0;R<S.length;){var M=S[R];if(_=_.getChild(M),!_)return null;var W=_.getNode();if(W.isSymlink()){S=W.symlink.concat(S.slice(R+1)),_=this.root,R=0;continue}R++}return _},T.prototype.getResolvedLinkOrThrow=function(w,S){var _=this.getResolvedLink(w);if(!_)throw ce(Se,S,w);return _},T.prototype.resolveSymlinks=function(w){return this.getResolvedLink(w.steps.slice(1))},T.prototype.getLinkAsDirOrThrow=function(w,S){var _=this.getLinkOrThrow(w,S);if(!_.getNode().isDirectory())throw ce(te,S,w);return _},T.prototype.getLinkParent=function(w){return this.root.walk(w,w.length-1)},T.prototype.getLinkParentAsDirOrThrow=function(w,S){var _=w instanceof Array?w:ot(w),R=this.getLinkParent(_);if(!R)throw ce(Se,S,Me+_.join(Me));if(!R.getNode().isDirectory())throw ce(te,S,Me+_.join(Me));return R},T.prototype.getFileByFd=function(w){return this.fds[String(w)]},T.prototype.getFileByFdOrThrow=function(w,S){if(!ti(w))throw TypeError(ee.FD);var _=this.getFileByFd(w);if(!_)throw ce(Ue,S);return _},T.prototype.getNodeByIdOrCreate=function(w,S,_){if(typeof w=="number"){var R=this.getFileByFd(w);if(!R)throw Error("File nto found");return R.node}else{var M=rc(w),W=this.getLink(M);if(W)return W.getNode();if(S&j){var ne=this.getLinkParent(M);if(ne){var pe=M[M.length-1];return W=this.createLink(ne,pe,!1,_),W.getNode()}}throw ce(Se,"getNodeByIdOrCreate",ve(w))}},T.prototype.wrapAsync=function(w,S,_){var R=this;Le(_),(0,u.default)(function(){var M;try{M=w.apply(R,S)}catch(W){_(W);return}_(null,M)})},T.prototype._toJSON=function(w,S,_){var R;w===void 0&&(w=this.root),S===void 0&&(S={});var M=!0,W=w.children;w.getNode().isFile()&&(W=(R={},R[w.getName()]=w.parent.getChild(w.getName()),R),w=w.parent);for(var ne in W){M=!1;var pe=w.getChild(ne);if(!pe)throw new Error("_toJSON: unexpected undefined");var be=pe.getNode();if(be.isFile()){var $e=pe.getPath();_&&($e=Ae(_,$e)),S[$e]=be.getString()}else be.isDirectory()&&this._toJSON(pe,S,_)}var at=w.getPath();return _&&(at=Ae(_,at)),at&&M&&(S[at]=null),S},T.prototype.toJSON=function(w,S,_){S===void 0&&(S={}),_===void 0&&(_=!1);var R=[];if(w){w instanceof Array||(w=[w]);for(var M=0,W=w;M<W.length;M++){var ne=W[M],pe=ve(ne),be=this.getResolvedLink(pe);be&&R.push(be)}}else R.push(this.root);if(!R.length)return S;for(var $e=0,at=R;$e<at.length;$e++){var be=at[$e];this._toJSON(be,S,_?be.getPath():"")}return S},T.prototype.fromJSON=function(w,S){S===void 0&&(S=f.default.cwd());for(var _ in w){var R=w[_];if(_=zs(_,S),typeof R=="string"){var M=q(_);this.mkdirpBase(M,511),this.writeFileSync(_,R)}else this.mkdirpBase(_,511)}},T.prototype.fromNestedJSON=function(w,S){this.fromJSON(jw(w),S)},T.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},T.prototype.mountSync=function(w,S){this.fromJSON(S,w)},T.prototype.openLink=function(w,S,_){if(_===void 0&&(_=!0),this.openFiles>=this.maxFiles)throw ce(me,"open",w.getPath());var R=w;if(_&&(R=this.resolveSymlinks(w)),!R)throw ce(Se,"open",w.getPath());var M=R.getNode();if(M.isDirectory()){if((S&(x|D|I))!==x)throw ce(P,"open",w.getPath())}else if(S&oe)throw ce(te,"open",w.getPath());if(!(S&I)&&!M.canRead())throw ce(xe,"open",w.getPath());var W=new this.props.File(w,M,S,this.newFdNumber());return this.fds[W.fd]=W,this.openFiles++,S&X&&W.truncate(),W},T.prototype.openFile=function(w,S,_,R){R===void 0&&(R=!0);var M=ot(w),W=R?this.getResolvedLink(M):this.getLink(M);if(!W&&S&j){var ne=this.getResolvedLink(M.slice(0,M.length-1));if(!ne)throw ce(Se,"open",Me+M.join(Me));S&j&&typeof _=="number"&&(W=this.createLink(ne,M[M.length-1],!1,_))}if(W)return this.openLink(W,S,R);throw ce(Se,"open",w)},T.prototype.openBase=function(w,S,_,R){R===void 0&&(R=!0);var M=this.openFile(w,S,_,R);if(!M)throw ce(Se,"open",w);return M.fd},T.prototype.openSync=function(w,S,_){_===void 0&&(_=438);var R=Lt(_),M=ve(w),W=Ne(S);return this.openBase(M,W,R)},T.prototype.open=function(w,S,_,R){var M=_,W=R;typeof _=="function"&&(M=438,W=_),M=M||438;var ne=Lt(M),pe=ve(w),be=Ne(S);this.wrapAsync(this.openBase,[pe,be,ne],W)},T.prototype.closeFile=function(w){this.fds[w.fd]&&(this.openFiles--,delete this.fds[w.fd],this.releasedFds.push(w.fd))},T.prototype.closeSync=function(w){vn(w);var S=this.getFileByFdOrThrow(w,"close");this.closeFile(S)},T.prototype.close=function(w,S){vn(w),this.wrapAsync(this.closeSync,[w],S)},T.prototype.openFileOrGetById=function(w,S,_){if(typeof w=="number"){var R=this.fds[w];if(!R)throw ce(Se);return R}else return this.openFile(ve(w),S,_)},T.prototype.readBase=function(w,S,_,R,M){var W=this.getFileByFdOrThrow(w);return W.read(S,Number(_),Number(R),M)},T.prototype.readSync=function(w,S,_,R,M){return vn(w),this.readBase(w,S,_,R,M)},T.prototype.read=function(w,S,_,R,M,W){var ne=this;if(Le(W),R===0)return f.default.nextTick(function(){W&&W(null,0,S)});(0,u.default)(function(){try{var pe=ne.readBase(w,S,_,R,M);W(null,pe,S)}catch(be){W(be)}})},T.prototype.readFileBase=function(w,S,_){var R,M=typeof w=="number",W=M&&ti(w),ne;if(W)ne=w;else{var pe=ve(w),be=ot(pe),$e=this.getResolvedLink(be);if($e){var at=$e.getNode();if(at.isDirectory())throw ce(P,"open",$e.getPath())}ne=this.openSync(w,S)}try{R=ic(this.getFileByFdOrThrow(ne).getBuffer(),_)}finally{W||this.closeSync(ne)}return R},T.prototype.readFileSync=function(w,S){var _=a(S),R=Ne(_.flag);return this.readFileBase(w,R,_.encoding)},T.prototype.readFile=function(w,S,_){var R=At(a)(S,_),M=R[0],W=R[1],ne=Ne(M.flag);this.wrapAsync(this.readFileBase,[w,ne,M.encoding],W)},T.prototype.writeBase=function(w,S,_,R,M){var W=this.getFileByFdOrThrow(w,"write");return W.write(S,_,R,M)},T.prototype.writeSync=function(w,S,_,R,M){vn(w);var W,ne,pe,be,$e=typeof S!="string";$e?(ne=(_||0)|0,pe=R,be=M):(be=_,W=R);var at=mn(S,W);return $e?typeof pe>"u"&&(pe=at.length):(ne=0,pe=at.length),this.writeBase(w,at,ne,pe,be)},T.prototype.write=function(w,S,_,R,M,W){var ne=this;vn(w);var pe,be,$e,at,Zt,Fa=typeof S,oc=typeof _,ac=typeof R,uc=typeof M;Fa!=="string"?oc==="function"?Zt=_:ac==="function"?(pe=_|0,Zt=R):uc==="function"?(pe=_|0,be=R,Zt=M):(pe=_|0,be=R,$e=M,Zt=W):oc==="function"?Zt=_:ac==="function"?($e=_,Zt=R):uc==="function"&&($e=_,at=R,Zt=M);var Vs=mn(S,at);Fa!=="string"?typeof be>"u"&&(be=Vs.length):(pe=0,be=Vs.length);var Da=Le(Zt);(0,u.default)(function(){try{var lc=ne.writeBase(w,Vs,pe,be,$e);Fa!=="string"?Da(null,lc,Vs):Da(null,lc,S)}catch(Vw){Da(Vw)}})},T.prototype.writeFileBase=function(w,S,_,R){var M=typeof w=="number",W;M?W=w:W=this.openBase(ve(w),_,R);var ne=0,pe=S.length,be=_&K?void 0:0;try{for(;pe>0;){var $e=this.writeSync(W,S,ne,pe,be);ne+=$e,pe-=$e,be!==void 0&&(be+=$e)}}finally{M||this.closeSync(W)}},T.prototype.writeFileSync=function(w,S,_){var R=y(_),M=Ne(R.flag),W=Lt(R.mode),ne=mn(S,R.encoding);this.writeFileBase(w,ne,M,W)},T.prototype.writeFile=function(w,S,_,R){var M=_,W=R;typeof _=="function"&&(M=l,W=_);var ne=Le(W),pe=y(M),be=Ne(pe.flag),$e=Lt(pe.mode),at=mn(S,pe.encoding);this.wrapAsync(this.writeFileBase,[w,at,be,$e],ne)},T.prototype.linkBase=function(w,S){var _=ot(w),R=this.getLink(_);if(!R)throw ce(Se,"link",w,S);var M=ot(S),W=this.getLinkParent(M);if(!W)throw ce(Se,"link",w,S);var ne=M[M.length-1];if(W.getChild(ne))throw ce(U,"link",w,S);var pe=R.getNode();pe.nlink++,W.createChild(ne,pe)},T.prototype.copyFileBase=function(w,S,_){var R=this.readFileSync(w);if(_&Oe&&this.existsSync(S))throw ce(U,"copyFile",w,S);if(_&Be)throw ce(re,"copyFile",w,S);this.writeFileBase(S,R,Ie.w,438)},T.prototype.copyFileSync=function(w,S,_){var R=ve(w),M=ve(S);return this.copyFileBase(R,M,(_||0)|0)},T.prototype.copyFile=function(w,S,_,R){var M=ve(w),W=ve(S),ne,pe;typeof _=="function"?(ne=0,pe=_):(ne=_,pe=R),Le(pe),this.wrapAsync(this.copyFileBase,[M,W,ne],pe)},T.prototype.linkSync=function(w,S){var _=ve(w),R=ve(S);this.linkBase(_,R)},T.prototype.link=function(w,S,_){var R=ve(w),M=ve(S);this.wrapAsync(this.linkBase,[R,M],_)},T.prototype.unlinkBase=function(w){var S=ot(w),_=this.getLink(S);if(!_)throw ce(Se,"unlink",w);if(_.length)throw Error("Dir not empty...");this.deleteLink(_);var R=_.getNode();R.nlink--,R.nlink<=0&&this.deleteNode(R)},T.prototype.unlinkSync=function(w){var S=ve(w);this.unlinkBase(S)},T.prototype.unlink=function(w,S){var _=ve(w);this.wrapAsync(this.unlinkBase,[_],S)},T.prototype.symlinkBase=function(w,S){var _=ot(S),R=this.getLinkParent(_);if(!R)throw ce(Se,"symlink",w,S);var M=_[_.length-1];if(R.getChild(M))throw ce(U,"symlink",w,S);var W=R.createChild(M);return W.getNode().makeSymlink(ot(w)),W},T.prototype.symlinkSync=function(w,S,_){var R=ve(w),M=ve(S);this.symlinkBase(R,M)},T.prototype.symlink=function(w,S,_,R){var M=Le(typeof _=="function"?_:R),W=ve(w),ne=ve(S);this.wrapAsync(this.symlinkBase,[W,ne],M)},T.prototype.realpathBase=function(w,S){var _=ot(w),R=this.getResolvedLink(_);if(!R)throw ce(Se,"realpath",w);return(0,m.strToEncoding)(R.getPath(),S)},T.prototype.realpathSync=function(w,S){return this.realpathBase(ve(w),ke(S).encoding)},T.prototype.realpath=function(w,S,_){var R=Re(S,_),M=R[0],W=R[1],ne=ve(w);this.wrapAsync(this.realpathBase,[ne,M.encoding],W)},T.prototype.lstatBase=function(w,S){S===void 0&&(S=!1);var _=this.getLink(ot(w));if(!_)throw ce(Se,"lstat",w);return n.default.build(_.getNode(),S)},T.prototype.lstatSync=function(w,S){return this.lstatBase(ve(w),gn(S).bigint)},T.prototype.lstat=function(w,S,_){var R=La(S,_),M=R[0],W=R[1];this.wrapAsync(this.lstatBase,[ve(w),M.bigint],W)},T.prototype.statBase=function(w,S){S===void 0&&(S=!1);var _=this.getResolvedLink(ot(w));if(!_)throw ce(Se,"stat",w);return n.default.build(_.getNode(),S)},T.prototype.statSync=function(w,S){return this.statBase(ve(w),gn(S).bigint)},T.prototype.stat=function(w,S,_){var R=La(S,_),M=R[0],W=R[1];this.wrapAsync(this.statBase,[ve(w),M.bigint],W)},T.prototype.fstatBase=function(w,S){S===void 0&&(S=!1);var _=this.getFileByFd(w);if(!_)throw ce(Ue,"fstat");return n.default.build(_.node,S)},T.prototype.fstatSync=function(w,S){return this.fstatBase(w,gn(S).bigint)},T.prototype.fstat=function(w,S,_){var R=La(S,_),M=R[0],W=R[1];this.wrapAsync(this.fstatBase,[w,M.bigint],W)},T.prototype.renameBase=function(w,S){var _=this.getLink(ot(w));if(!_)throw ce(Se,"rename",w,S);var R=ot(S),M=this.getLinkParent(R);if(!M)throw ce(Se,"rename",w,S);var W=_.parent;W&&W.deleteChild(_);var ne=R[R.length-1];_.steps=e(e([],M.steps,!0),[ne],!1),M.setChild(_.getName(),_)},T.prototype.renameSync=function(w,S){var _=ve(w),R=ve(S);this.renameBase(_,R)},T.prototype.rename=function(w,S,_){var R=ve(w),M=ve(S);this.wrapAsync(this.renameBase,[R,M],_)},T.prototype.existsBase=function(w){return!!this.statBase(w)},T.prototype.existsSync=function(w){try{return this.existsBase(ve(w))}catch{return!1}},T.prototype.exists=function(w,S){var _=this,R=ve(w);if(typeof S!="function")throw Error(ee.CB);(0,u.default)(function(){try{S(_.existsBase(R))}catch{S(!1)}})},T.prototype.accessBase=function(w,S){this.getLinkOrThrow(w,"access")},T.prototype.accessSync=function(w,S){S===void 0&&(S=_e);var _=ve(w);S=S|0,this.accessBase(_,S)},T.prototype.access=function(w,S,_){var R=_e,M;typeof S!="function"?(R=S|0,M=Le(_)):M=S;var W=ve(w);this.wrapAsync(this.accessBase,[W,R],M)},T.prototype.appendFileSync=function(w,S,_){_===void 0&&(_=O);var R=k(_);(!R.flag||ti(w))&&(R.flag="a"),this.writeFileSync(w,S,R)},T.prototype.appendFile=function(w,S,_,R){var M=B(_,R),W=M[0],ne=M[1];(!W.flag||ti(w))&&(W.flag="a"),this.writeFile(w,S,W,ne)},T.prototype.readdirBase=function(w,S){var _=ot(w),R=this.getResolvedLink(_);if(!R)throw ce(Se,"readdir",w);var M=R.getNode();if(!M.isDirectory())throw ce(te,"scandir",w);if(S.withFileTypes){var W=[];for(var ne in R.children){var pe=R.getChild(ne);pe&&W.push(o.default.build(pe,S.encoding))}return!J&&S.encoding!=="buffer"&&W.sort(function(at,Zt){return at.name<Zt.name?-1:at.name>Zt.name?1:0}),W}var be=[];for(var $e in R.children)be.push((0,m.strToEncoding)($e,S.encoding));return!J&&S.encoding!=="buffer"&&be.sort(),be},T.prototype.readdirSync=function(w,S){var _=tc(S),R=ve(w);return this.readdirBase(R,_)},T.prototype.readdir=function(w,S,_){var R=Bw(S,_),M=R[0],W=R[1],ne=ve(w);this.wrapAsync(this.readdirBase,[ne,M],W)},T.prototype.readlinkBase=function(w,S){var _=this.getLinkOrThrow(w,"readlink"),R=_.getNode();if(!R.isSymlink())throw ce(De,"readlink",w);var M=Me+R.symlink.join(Me);return(0,m.strToEncoding)(M,S)},T.prototype.readlinkSync=function(w,S){var _=Ke(S),R=ve(w);return this.readlinkBase(R,_.encoding)},T.prototype.readlink=function(w,S,_){var R=lr(S,_),M=R[0],W=R[1],ne=ve(w);this.wrapAsync(this.readlinkBase,[ne,M.encoding],W)},T.prototype.fsyncBase=function(w){this.getFileByFdOrThrow(w,"fsync")},T.prototype.fsyncSync=function(w){this.fsyncBase(w)},T.prototype.fsync=function(w,S){this.wrapAsync(this.fsyncBase,[w],S)},T.prototype.fdatasyncBase=function(w){this.getFileByFdOrThrow(w,"fdatasync")},T.prototype.fdatasyncSync=function(w){this.fdatasyncBase(w)},T.prototype.fdatasync=function(w,S){this.wrapAsync(this.fdatasyncBase,[w],S)},T.prototype.ftruncateBase=function(w,S){var _=this.getFileByFdOrThrow(w,"ftruncate");_.truncate(S)},T.prototype.ftruncateSync=function(w,S){this.ftruncateBase(w,S)},T.prototype.ftruncate=function(w,S,_){var R=typeof S=="number"?S:0,M=Le(typeof S=="number"?_:S);this.wrapAsync(this.ftruncateBase,[w,R],M)},T.prototype.truncateBase=function(w,S){var _=this.openSync(w,"r+");try{this.ftruncateSync(_,S)}finally{this.closeSync(_)}},T.prototype.truncateSync=function(w,S){if(ti(w))return this.ftruncateSync(w,S);this.truncateBase(w,S)},T.prototype.truncate=function(w,S,_){var R=typeof S=="number"?S:0,M=Le(typeof S=="number"?_:S);if(ti(w))return this.ftruncate(w,R,M);this.wrapAsync(this.truncateBase,[w,R],M)},T.prototype.futimesBase=function(w,S,_){var R=this.getFileByFdOrThrow(w,"futimes"),M=R.node;M.atime=new Date(S*1e3),M.mtime=new Date(_*1e3)},T.prototype.futimesSync=function(w,S,_){this.futimesBase(w,Sr(S),Sr(_))},T.prototype.futimes=function(w,S,_,R){this.wrapAsync(this.futimesBase,[w,Sr(S),Sr(_)],R)},T.prototype.utimesBase=function(w,S,_){var R=this.openSync(w,"r+");try{this.futimesBase(R,S,_)}finally{this.closeSync(R)}},T.prototype.utimesSync=function(w,S,_){this.utimesBase(ve(w),Sr(S),Sr(_))},T.prototype.utimes=function(w,S,_,R){this.wrapAsync(this.utimesBase,[ve(w),Sr(S),Sr(_)],R)},T.prototype.mkdirBase=function(w,S){var _=ot(w);if(!_.length)throw ce(U,"mkdir",w);var R=this.getLinkParentAsDirOrThrow(w,"mkdir"),M=_[_.length-1];if(R.getChild(M))throw ce(U,"mkdir",w);R.createChild(M,this.createNode(!0,S))},T.prototype.mkdirpBase=function(w,S){for(var _=ot(w),R=this.root,M=0;M<_.length;M++){var W=_[M];if(!R.getNode().isDirectory())throw ce(te,"mkdir",R.getPath());var ne=R.getChild(W);if(ne)if(ne.getNode().isDirectory())R=ne;else throw ce(te,"mkdir",ne.getPath());else R=R.createChild(W,this.createNode(!0,S))}},T.prototype.mkdirSync=function(w,S){var _=we(S),R=Lt(_.mode,511),M=ve(w);_.recursive?this.mkdirpBase(M,R):this.mkdirBase(M,R)},T.prototype.mkdir=function(w,S,_){var R=we(S),M=Le(typeof S=="function"?S:_),W=Lt(R.mode,511),ne=ve(w);R.recursive?this.wrapAsync(this.mkdirpBase,[ne,W],M):this.wrapAsync(this.mkdirBase,[ne,W],M)},T.prototype.mkdirpSync=function(w,S){this.mkdirSync(w,{mode:S,recursive:!0})},T.prototype.mkdirp=function(w,S,_){var R=typeof S=="function"?void 0:S,M=Le(typeof S=="function"?S:_);this.mkdir(w,{mode:R,recursive:!0},M)},T.prototype.mkdtempBase=function(w,S,_){_===void 0&&(_=5);var R=w+this.genRndStr();try{return this.mkdirBase(R,511),(0,m.strToEncoding)(R,S)}catch(M){if(M.code===U){if(_>1)return this.mkdtempBase(w,S,_-1);throw Error("Could not create temp dir.")}else throw M}},T.prototype.mkdtempSync=function(w,S){var _=Ke(S).encoding;if(!w||typeof w!="string")throw new TypeError("filename prefix is required");return Na(w),this.mkdtempBase(w,_)},T.prototype.mkdtemp=function(w,S,_){var R=lr(S,_),M=R[0].encoding,W=R[1];if(!w||typeof w!="string")throw new TypeError("filename prefix is required");Na(w)&&this.wrapAsync(this.mkdtempBase,[w,M],W)},T.prototype.rmdirBase=function(w,S){var _=ec(S),R=this.getLinkAsDirOrThrow(w,"rmdir");if(R.length&&!_.recursive)throw ce(C,"rmdir",w);this.deleteLink(R)},T.prototype.rmdirSync=function(w,S){this.rmdirBase(ve(w),S)},T.prototype.rmdir=function(w,S,_){var R=ec(S),M=Le(typeof S=="function"?S:_);this.wrapAsync(this.rmdirBase,[ve(w),R],M)},T.prototype.fchmodBase=function(w,S){var _=this.getFileByFdOrThrow(w,"fchmod");_.chmod(S)},T.prototype.fchmodSync=function(w,S){this.fchmodBase(w,Lt(S))},T.prototype.fchmod=function(w,S,_){this.wrapAsync(this.fchmodBase,[w,Lt(S)],_)},T.prototype.chmodBase=function(w,S){var _=this.openSync(w,"r+");try{this.fchmodBase(_,S)}finally{this.closeSync(_)}},T.prototype.chmodSync=function(w,S){var _=Lt(S),R=ve(w);this.chmodBase(R,_)},T.prototype.chmod=function(w,S,_){var R=Lt(S),M=ve(w);this.wrapAsync(this.chmodBase,[M,R],_)},T.prototype.lchmodBase=function(w,S){var _=this.openBase(w,D,0,!1);try{this.fchmodBase(_,S)}finally{this.closeSync(_)}},T.prototype.lchmodSync=function(w,S){var _=Lt(S),R=ve(w);this.lchmodBase(R,_)},T.prototype.lchmod=function(w,S,_){var R=Lt(S),M=ve(w);this.wrapAsync(this.lchmodBase,[M,R],_)},T.prototype.fchownBase=function(w,S,_){this.getFileByFdOrThrow(w,"fchown").chown(S,_)},T.prototype.fchownSync=function(w,S,_){Pi(S),Ci(_),this.fchownBase(w,S,_)},T.prototype.fchown=function(w,S,_,R){Pi(S),Ci(_),this.wrapAsync(this.fchownBase,[w,S,_],R)},T.prototype.chownBase=function(w,S,_){var R=this.getResolvedLinkOrThrow(w,"chown"),M=R.getNode();M.chown(S,_)},T.prototype.chownSync=function(w,S,_){Pi(S),Ci(_),this.chownBase(ve(w),S,_)},T.prototype.chown=function(w,S,_,R){Pi(S),Ci(_),this.wrapAsync(this.chownBase,[ve(w),S,_],R)},T.prototype.lchownBase=function(w,S,_){this.getLinkOrThrow(w,"lchown").getNode().chown(S,_)},T.prototype.lchownSync=function(w,S,_){Pi(S),Ci(_),this.lchownBase(ve(w),S,_)},T.prototype.lchown=function(w,S,_,R){Pi(S),Ci(_),this.wrapAsync(this.lchownBase,[ve(w),S,_],R)},T.prototype.watchFile=function(w,S,_){var R=ve(w),M=S,W=_;if(typeof M=="function"&&(W=S,M=null),typeof W!="function")throw Error('"watchFile()" requires a listener function');var ne=5007,pe=!0;M&&typeof M=="object"&&(typeof M.interval=="number"&&(ne=M.interval),typeof M.persistent=="boolean"&&(pe=M.persistent));var be=this.statWatchers[R];return be||(be=new this.StatWatcher,be.start(R,pe,ne),this.statWatchers[R]=be),be.addListener("change",W),be},T.prototype.unwatchFile=function(w,S){var _=ve(w),R=this.statWatchers[_];R&&(typeof S=="function"?R.removeListener("change",S):R.removeAllListeners("change"),R.listenerCount("change")===0&&(R.stop(),delete this.statWatchers[_]))},T.prototype.createReadStream=function(w,S){return new this.ReadStream(w,S)},T.prototype.createWriteStream=function(w,S){return new this.WriteStream(w,S)},T.prototype.watch=function(w,S,_){var R=ve(w),M=S;typeof S=="function"&&(_=S,M=null);var W=Ke(M),ne=W.persistent,pe=W.recursive,be=W.encoding;ne===void 0&&(ne=!0),pe===void 0&&(pe=!1);var $e=new this.FSWatcher;return $e.start(R,ne,pe,be),_&&$e.addListener("change",_),$e},T.fd=2147483647,T}();qe.Volume=qw;function $w(T){T.emit("stop")}var nc=function(T){r(w,T);function w(S){var _=T.call(this)||this;return _.onInterval=function(){try{var R=_.vol.statSync(_.filename);_.hasChanged(R)&&(_.emit("change",R,_.prev),_.prev=R)}finally{_.loop()}},_.vol=S,_}return w.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},w.prototype.hasChanged=function(S){return S.mtimeMs>this.prev.mtimeMs||S.nlink!==this.prev.nlink},w.prototype.start=function(S,_,R){_===void 0&&(_=!0),R===void 0&&(R=5007),this.filename=ve(S),this.setTimeout=_?setTimeout.bind(typeof globalThis<"u"?globalThis:bE):c.default,this.interval=R,this.prev=this.vol.statSync(this.filename),this.loop()},w.prototype.stop=function(){clearTimeout(this.timeoutRef),f.default.nextTick($w,this)},w}(v.EventEmitter);qe.StatWatcher=nc;var qt;function Ww(T){qt=(0,s.bufferAllocUnsafe)(T),qt.used=0}b.inherits(Xt,p.Readable),qe.ReadStream=Xt;function Xt(T,w,S){if(!(this instanceof Xt))return new Xt(T,w,S);if(this._vol=T,S=Object.assign({},St(S,{})),S.highWaterMark===void 0&&(S.highWaterMark=64*1024),p.Readable.call(this,S),this.path=ve(w),this.fd=S.fd===void 0?null:S.fd,this.flags=S.flags===void 0?"r":S.flags,this.mode=S.mode===void 0?438:S.mode,this.start=S.start,this.end=S.end,this.autoClose=S.autoClose===void 0?!0:S.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()})}Xt.prototype.open=function(){var T=this;this._vol.open(this.path,this.flags,this.mode,function(w,S){if(w){T.autoClose&&T.destroy&&T.destroy(),T.emit("error",w);return}T.fd=S,T.emit("open",S),T.read()})},Xt.prototype._read=function(T){if(typeof this.fd!="number")return this.once("open",function(){this._read(T)});if(this.destroyed)return;(!qt||qt.length-qt.used<H)&&Ww(this._readableState.highWaterMark);var w=qt,S=Math.min(qt.length-qt.used,T),_=qt.used;if(this.pos!==void 0&&(S=Math.min(this.end-this.pos+1,S)),S<=0)return this.push(null);var R=this;this._vol.read(this.fd,qt,qt.used,S,this.pos,M),this.pos!==void 0&&(this.pos+=S),qt.used+=S;function M(W,ne){if(W)R.autoClose&&R.destroy&&R.destroy(),R.emit("error",W);else{var pe=null;ne>0&&(R.bytesRead+=ne,pe=w.slice(_,_+ne)),R.push(pe)}}},Xt.prototype._destroy=function(T,w){this.close(function(S){w(T||S)})},Xt.prototype.close=function(T){var w=this;if(T&&this.once("close",T),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",zw);return}return f.default.nextTick(function(){return w.emit("close")})}this.closed=!0,this._vol.close(this.fd,function(S){S?w.emit("error",S):w.emit("close")}),this.fd=null};function zw(T){this.close()}b.inherits($t,p.Writable),qe.WriteStream=$t;function $t(T,w,S){if(!(this instanceof $t))return new $t(T,w,S);if(this._vol=T,S=Object.assign({},St(S,{})),p.Writable.call(this,S),this.path=ve(w),this.fd=S.fd===void 0?null:S.fd,this.flags=S.flags===void 0?"w":S.flags,this.mode=S.mode===void 0?438:S.mode,this.start=S.start,this.autoClose=S.autoClose===void 0?!0:!!S.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}S.encoding&&this.setDefaultEncoding(S.encoding),typeof this.fd!="number"&&this.open(),this.once("finish",function(){this.autoClose&&this.close()})}$t.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(T,w){if(T){this.autoClose&&this.destroy&&this.destroy(),this.emit("error",T);return}this.fd=w,this.emit("open",w)}.bind(this))},$t.prototype._write=function(T,w,S){if(!(T instanceof s.Buffer))return this.emit("error",new Error("Invalid data"));if(typeof this.fd!="number")return this.once("open",function(){this._write(T,w,S)});var _=this;this._vol.write(this.fd,T,0,T.length,this.pos,function(R,M){if(R)return _.autoClose&&_.destroy&&_.destroy(),S(R);_.bytesWritten+=M,S()}),this.pos!==void 0&&(this.pos+=T.length)},$t.prototype._writev=function(T,w){if(typeof this.fd!="number")return this.once("open",function(){this._writev(T,w)});for(var S=this,_=T.length,R=new Array(_),M=0,W=0;W<_;W++){var ne=T[W].chunk;R[W]=ne,M+=ne.length}var pe=s.Buffer.concat(R);this._vol.write(this.fd,pe,0,pe.length,this.pos,function(be,$e){if(be)return S.destroy&&S.destroy(),w(be);S.bytesWritten+=$e,w()}),this.pos!==void 0&&(this.pos+=M)},$t.prototype._destroy=Xt.prototype._destroy,$t.prototype.close=Xt.prototype.close,$t.prototype.destroySoon=$t.prototype.end;var sc=function(T){r(w,T);function w(S){var _=T.call(this)||this;return _._filename="",_._filenameEncoded="",_._recursive=!1,_._encoding=m.ENCODING_UTF8,_._onNodeChange=function(){_._emit("change")},_._onParentChild=function(R){R.getName()===_._getName()&&_._emit("rename")},_._emit=function(R){_.emit("change",R,_._filenameEncoded)},_._persist=function(){_._timer=setTimeout(_._persist,1e6)},_._vol=S,_}return w.prototype._getName=function(){return this._steps[this._steps.length-1]},w.prototype.start=function(S,_,R,M){_===void 0&&(_=!0),R===void 0&&(R=!1),M===void 0&&(M=m.ENCODING_UTF8),this._filename=ve(S),this._steps=ot(this._filename),this._filenameEncoded=(0,m.strToEncoding)(this._filename),this._recursive=R,this._encoding=M;try{this._link=this._vol.getLinkOrThrow(this._filename,"FSWatcher")}catch(pe){var W=new Error("watch "+this._filename+" "+pe.code);throw W.code=pe.code,W.errno=pe.code,W}this._link.getNode().on("change",this._onNodeChange),this._link.on("child:add",this._onNodeChange),this._link.on("child:delete",this._onNodeChange);var ne=this._link.parent;ne&&(ne.setMaxListeners(ne.getMaxListeners()+1),ne.on("child:delete",this._onParentChild)),_&&this._persist()},w.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var S=this._link.parent;S&&S.removeListener("child:delete",this._onParentChild)},w}(v.EventEmitter);return qe.FSWatcher=sc,qe}function SE(){if(Ly)return Nr;Ly=!0,Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.fsAsyncMethods=Nr.fsSyncMethods=Nr.fsProps=void 0;var r=["constants","F_OK","R_OK","W_OK","X_OK","Stats"];Nr.fsProps=r;var e=["renameSync","ftruncateSync","truncateSync","chownSync","fchownSync","lchownSync","chmodSync","fchmodSync","lchmodSync","statSync","lstatSync","fstatSync","linkSync","symlinkSync","readlinkSync","realpathSync","unlinkSync","rmdirSync","mkdirSync","mkdirpSync","readdirSync","closeSync","openSync","utimesSync","futimesSync","fsyncSync","writeSync","readSync","readFileSync","writeFileSync","appendFileSync","existsSync","accessSync","fdatasyncSync","mkdtempSync","copyFileSync","createReadStream","createWriteStream"];Nr.fsSyncMethods=e;var t=["rename","ftruncate","truncate","chown","fchown","lchown","chmod","fchmod","lchmod","stat","lstat","fstat","link","symlink","readlink","realpath","unlink","rmdir","mkdir","mkdirp","readdir","close","open","utimes","futimes","fsync","write","read","readFile","writeFile","appendFile","exists","access","fdatasync","mkdtemp","copyFile","watchFile","unwatchFile","watch"];return Nr.fsAsyncMethods=t,Nr}function EE(){if(Ny)return pt;Ny=!0;var r=pt&&pt.__assign||function(){return r=Object.assign||function(m){for(var g,b=1,E=arguments.length;b<E;b++){g=arguments[b];for(var A in g)Object.prototype.hasOwnProperty.call(g,A)&&(m[A]=g[A])}return m},r.apply(this,arguments)};Object.defineProperty(pt,"__esModule",{value:!0}),pt.fs=pt.createFsFromVolume=pt.vol=pt.Volume=void 0;var e=tl(),t=My(),i=qy(),n=SE(),o=n.fsSyncMethods,s=n.fsAsyncMethods,u=qn(),f=u.constants.F_OK,c=u.constants.R_OK,p=u.constants.W_OK,d=u.constants.X_OK;pt.Volume=i.Volume,pt.vol=new i.Volume;function v(m){for(var g={F_OK:f,R_OK:c,W_OK:p,X_OK:d,constants:u.constants,Stats:e.default,Dirent:t.default},b=0,E=o;b<E.length;b++){var A=E[b];typeof m[A]=="function"&&(g[A]=m[A].bind(m))}for(var x=0,I=s;x<I.length;x++){var A=I[x];typeof m[A]=="function"&&(g[A]=m[A].bind(m))}return g.StatWatcher=m.StatWatcher,g.FSWatcher=m.FSWatcher,g.WriteStream=m.WriteStream,g.ReadStream=m.ReadStream,g.promises=m.promises,g._toUnixTimestamp=i.toUnixTimestamp,g}return pt.createFsFromVolume=v,pt.fs=v(pt.vol),pt=r(r({},pt),pt.fs),pt.semantic=!0,pt}function Dt(r){throw new Error(`Node.js fs ${r} is not supported by JSPM core in the browser`)}function $y(r,e,t){let i=0,n=new TextDecoder;Fr.watch(r,"utf8",()=>{let{size:o}=Fr.fstatSync(e),s=Y.alloc(o-i);Fr.readSync(e,s,0,s.length,i),i=o,t(n.decode(s,{stream:!0}))})}function il(r,e){if(r.protocol==="file:")return Hr(r);if(r.protocol==="https:"||r.protocol==="http:"){let t="\\\\url\\"+r.href.replaceAll(/\//g,"\\\\");if(Wy(t))return t;if(e)throw new Error(`Cannot sync request URL ${r} 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 i=await fetch(r);if(!i.ok)throw new Error(`Unable to fetch ${r.href}, ${i.status}`);let n=await i.arrayBuffer();return zy(t,Y.from(n)),t})()}throw new Error("URL "+r+" not supported in JSPM FS implementation.")}function OE(r){return function(e,...t){return e instanceof URL?r(il(e,!0),...t):r(e,...t)}}function AE(r){return async function(e,...t){return e instanceof URL?r(await il(e),...t):r(e,...t)}}function TE(r){return function(e,...t){let i=t[t.length-1];e instanceof URL&&typeof i=="function"?il(e).then(n=>{r(n,...t)},i):r(e,...t)}}var Un,wy,No,by,Hi,Sy,rr,Ey,ct,_y,dE,yr,Oy,Yi,Ay,Fo,Ty,Ry,Ki,xy,Ct,Iy,Do,ky,gE,Yr,Py,jn,Cy,qe,By,bE,Nr,Ly,pt,Ny,Ei,Rt,Fr,_E,Xe,RE,xE,nl,IE,kE,PE,CE,BE,LE,NE,FE,DE,ME,UE,jE,qE,$E,Wy,WE,zE,VE,GE,HE,YE,KE,JE,QE,XE,ZE,e1,t1,r1,i1,n1,s1,o1,a1,u1,l1,sl,f1,c1,h1,p1,d1,y1,g1,m1,ol,al,v1,w1,b1,S1,ul,E1,_1,ll,O1,fl,A1,T1,R1,x1,I1,k1,P1,C1,B1,L1,N1,F1,D1,M1,U1,j1,q1,$1,W1,z1,zy,V1,G1,H1,Y1,K1,J1,Q1,X1,Z1,e_,t_,r_,i_,n_,s_,o_,cl,Mo,_i=rt(()=>{L();F();N();In();zu();Nn();kr();Or();$r();Vi();Wr();Co();Si();Ni();Fn();Qs();qi();Ir();pi();Bo();Lo();Un={},wy=!1;No={},by=!1;Hi={},Sy=!1;rr={},Ey=!1;ct={},_y=!1,dE=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;yr={},Oy=!1;Yi={},Ay=!1;Fo={},Ty=!1,Ry=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Ki={},xy=!1;Ct={},Iy=!1;Do={},ky=!1,gE=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Yr={},Py=!1;jn={},Cy=!1;qe={},By=!1,bE=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Nr={},Ly=!1;pt={},Ny=!1;Ei=EE();Ei.__esModule;Ei.fs;Ei.createFsFromVolume;Ei.vol;Ei.Volume;Ei.semantic;Rt=qy();Rt.__esModule;Rt.FSWatcher;Rt.StatWatcher;Rt.Volume;Rt.toUnixTimestamp;Rt.bufferToEncoding;Rt.dataToBuffer;Rt.dataToStr;Rt.pathToSteps;Rt.filenameToSteps;Rt.pathToFilename;Rt.flagsToNumber;Rt.FLAGS;Rt.ReadStream;Rt.WriteStream;({vol:Fr,createFsFromVolume:_E}=Ei);Fr.fromNestedJSON({"/dev":{stdin:"",stdout:"",stderr:""},"/usr/bin":{},"/home":{},"/tmp":{}});Fr.releasedFds=[2,1,0];Fr.openSync("/dev/stdin","w");Fr.openSync("/dev/stdout","r");Fr.openSync("/dev/stderr","r");$y("/dev/stdout",1,console.log);$y("/dev/stderr",2,console.error);Xe=_E(Fr);Xe.opendir=()=>Dt("opendir");Xe.opendirSync=()=>Dt("opendirSync");Xe.promises.opendir=()=>Dt("promises.opendir");Xe.cp=()=>Dt("cp");Xe.cpSync=()=>Dt("cpSync");Xe.promises.cp=()=>Dt("promises.cp");Xe.readv=()=>Dt("readv");Xe.readvSync=()=>Dt("readvSync");Xe.rm=()=>Dt("rm");Xe.rmSync=()=>Dt("rmSync");Xe.promises.rm=()=>Dt("promises.rm");Xe.Dir=()=>Dt("Dir");Xe.promises.watch=()=>Dt("promises.watch");Xe.FileReadStream=Xe.ReadStream;Xe.FileWriteStream=Xe.WriteStream;Xe.promises.readFile=AE(Xe.promises.readFile);Xe.readFile=TE(Xe.readFile);Xe.readFileSync=OE(Xe.readFileSync);({appendFile:RE,appendFileSync:xE,access:nl,accessSync:IE,chown:kE,chownSync:PE,chmod:CE,chmodSync:BE,close:LE,closeSync:NE,copyFile:FE,copyFileSync:DE,cp:ME,cpSync:UE,createReadStream:jE,createWriteStream:qE,exists:$E,existsSync:Wy,fchown:WE,fchownSync:zE,fchmod:VE,fchmodSync:GE,fdatasync:HE,fdatasyncSync:YE,fstat:KE,fstatSync:JE,fsync:QE,fsyncSync:XE,ftruncate:ZE,ftruncateSync:e1,futimes:t1,futimesSync:r1,lchown:i1,lchownSync:n1,lchmod:s1,lchmodSync:o1,link:a1,linkSync:u1,lstat:l1,lstatSync:sl,mkdir:f1,mkdirSync:c1,mkdtemp:h1,mkdtempSync:p1,open:d1,openSync:y1,opendir:g1,opendirSync:m1,readdir:ol,readdirSync:al,read:v1,readSync:w1,readv:b1,readvSync:S1,readFile:ul,readFileSync:E1,readlink:_1,readlinkSync:ll,realpath:O1,realpathSync:fl,rename:A1,renameSync:T1,rm:R1,rmSync:x1,rmdir:I1,rmdirSync:k1,stat:P1,statSync:C1,symlink:B1,symlinkSync:L1,truncate:N1,truncateSync:F1,unwatchFile:D1,unlink:M1,unlinkSync:U1,utimes:j1,utimesSync:q1,watch:$1,watchFile:W1,writeFile:z1,writeFileSync:zy,write:V1,writeSync:G1,writev:H1,writevSync:Y1,Dir:K1,Dirent:J1,Stats:Q1,ReadStream:X1,WriteStream:Z1,FileReadStream:e_,FileWriteStream:t_,_toUnixTimestamp:r_,constants:{F_OK:i_,R_OK:n_,W_OK:s_,X_OK:o_},constants:cl,promises:Mo}=Xe)});var Ky=de((YC,Yy)=>{"use strict";L();F();N();Yy.exports=Gy;function Gy(r,e,t){r instanceof RegExp&&(r=Vy(r,t)),e instanceof RegExp&&(e=Vy(e,t));var i=Hy(r,e,t);return i&&{start:i[0],end:i[1],pre:t.slice(0,i[0]),body:t.slice(i[0]+r.length,i[1]),post:t.slice(i[1]+e.length)}}function Vy(r,e){var t=e.match(r);return t?t[0]:null}Gy.range=Hy;function Hy(r,e,t){var i,n,o,s,u,f=t.indexOf(r),c=t.indexOf(e,f+1),p=f;if(f>=0&&c>0){if(r===e)return[f,c];for(i=[],o=t.length;p>=0&&!u;)p==f?(i.push(p),f=t.indexOf(r,p+1)):i.length==1?u=[i.pop(),c]:(n=i.pop(),n<o&&(o=n,s=c),c=t.indexOf(e,p+1)),p=f<c&&f>=0?f:c;i.length&&(u=[o,s])}return u}});var ig=de((XC,rg)=>{L();F();N();var Jy=Ky();rg.exports=l_;var Qy="\0SLASH"+Math.random()+"\0",Xy="\0OPEN"+Math.random()+"\0",pl="\0CLOSE"+Math.random()+"\0",Zy="\0COMMA"+Math.random()+"\0",eg="\0PERIOD"+Math.random()+"\0";function hl(r){return parseInt(r,10)==r?parseInt(r,10):r.charCodeAt(0)}function a_(r){return r.split("\\\\").join(Qy).split("\\{").join(Xy).split("\\}").join(pl).split("\\,").join(Zy).split("\\.").join(eg)}function u_(r){return r.split(Qy).join("\\").split(Xy).join("{").split(pl).join("}").split(Zy).join(",").split(eg).join(".")}function tg(r){if(!r)return[""];var e=[],t=Jy("{","}",r);if(!t)return r.split(",");var i=t.pre,n=t.body,o=t.post,s=i.split(",");s[s.length-1]+="{"+n+"}";var u=tg(o);return o.length&&(s[s.length-1]+=u.shift(),s.push.apply(s,u)),e.push.apply(e,s),e}function l_(r){return r?(r.substr(0,2)==="{}"&&(r="\\{\\}"+r.substr(2)),Wn(a_(r),!0).map(u_)):[]}function f_(r){return"{"+r+"}"}function c_(r){return/^-?0\d/.test(r)}function h_(r,e){return r<=e}function p_(r,e){return r>=e}function Wn(r,e){var t=[],i=Jy("{","}",r);if(!i)return[r];var n=i.pre,o=i.post.length?Wn(i.post,!1):[""];if(/\$$/.test(i.pre))for(var s=0;s<o.length;s++){var u=n+"{"+i.body+"}"+o[s];t.push(u)}else{var f=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),p=f||c,d=i.body.indexOf(",")>=0;if(!p&&!d)return i.post.match(/,.*\}/)?(r=i.pre+"{"+i.body+pl+i.post,Wn(r)):[r];var v;if(p)v=i.body.split(/\.\./);else if(v=tg(i.body),v.length===1&&(v=Wn(v[0],!1).map(f_),v.length===1))return o.map(function(oe){return i.pre+v[0]+oe});var m;if(p){var g=hl(v[0]),b=hl(v[1]),E=Math.max(v[0].length,v[1].length),A=v.length==3?Math.abs(hl(v[2])):1,x=h_,I=b<g;I&&(A*=-1,x=p_);var D=v.some(c_);m=[];for(var j=g;x(j,b);j+=A){var ae;if(c)ae=String.fromCharCode(j),ae==="\\"&&(ae="");else if(ae=String(j),D){var X=E-ae.length;if(X>0){var K=new Array(X+1).join("0");j<0?ae="-"+K+ae.slice(1):ae=K+ae}}m.push(ae)}}else{m=[];for(var Q=0;Q<v.length;Q++)m.push.apply(m,Wn(v[Q],!1))}for(var Q=0;Q<m.length;Q++)for(var s=0;s<o.length;s++){var u=n+m[Q]+o[s];(!e||p||u)&&t.push(u)}}return t}});var Yg=de((tF,kl)=>{L();F();N();var Ce=String,Hg=function(){return{isColorSupported:!1,reset:Ce,bold:Ce,dim:Ce,italic:Ce,underline:Ce,inverse:Ce,hidden:Ce,strikethrough:Ce,black:Ce,red:Ce,green:Ce,yellow:Ce,blue:Ce,magenta:Ce,cyan:Ce,white:Ce,gray:Ce,bgBlack:Ce,bgRed:Ce,bgGreen:Ce,bgYellow:Ce,bgBlue:Ce,bgMagenta:Ce,bgCyan:Ce,bgWhite:Ce,blackBright:Ce,redBright:Ce,greenBright:Ce,yellowBright:Ce,blueBright:Ce,magentaBright:Ce,cyanBright:Ce,whiteBright:Ce,bgBlackBright:Ce,bgRedBright:Ce,bgGreenBright:Ce,bgYellowBright:Ce,bgBlueBright:Ce,bgMagentaBright:Ce,bgCyanBright:Ce,bgWhiteBright:Ce}};kl.exports=Hg();kl.exports.createColors=Hg});var Pl=de(()=>{L();F();N()});var na=de((fF,Qg)=>{"use strict";L();F();N();var Kg=Yg(),Jg=Pl(),ss=class r extends Error{constructor(e,t,i,n,o,s){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),n&&(this.source=n),s&&(this.plugin=s),typeof t<"u"&&typeof i<"u"&&(typeof t=="number"?(this.line=t,this.column=i):(this.line=t.line,this.column=t.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=Kg.isColorSupported),Jg&&e&&(t=Jg(t));let i=t.split(/\r?\n/),n=Math.max(this.line-3,0),o=Math.min(this.line+2,i.length),s=String(o).length,u,f;if(e){let{bold:c,gray:p,red:d}=Kg.createColors(!0);u=v=>c(d(v)),f=v=>p(v)}else u=f=c=>c;return i.slice(n,o).map((c,p)=>{let d=n+1+p,v=" "+(" "+d).slice(-s)+" | ";if(d===this.line){let m=f(v.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+f(v)+c+`
|
|
66
66
|
`+m+u("^")}return" "+f(v)+c}).join(`
|
|
67
67
|
`)}toString(){let e=this.showSourceCode();return e&&(e=`
|
|
68
68
|
|
|
69
69
|
`+e+`
|
|
70
|
-
`),this.name+": "+this.message+e}};Qg.exports=ss;ss.default=ss});var sa=de((dF,Cl)=>{"use strict";
|
|
70
|
+
`),this.name+": "+this.message+e}};Qg.exports=ss;ss.default=ss});var sa=de((dF,Cl)=>{"use strict";L();F();N();Cl.exports.isClean=Symbol("isClean");Cl.exports.my=Symbol("my")});var Bl=de((vF,Zg)=>{"use strict";L();F();N();var Xg={after:`
|
|
71
71
|
`,beforeClose:`
|
|
72
72
|
`,beforeComment:`
|
|
73
73
|
`,beforeDecl:`
|
|
@@ -78,20 +78,20 @@ should equal
|
|
|
78
78
|
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(t,null,"beforeDecl"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeDecl(e,t){let i;return e.walkDecls(n=>{if(typeof n.raws.before<"u")return i=n.raws.before,i.includes(`
|
|
79
79
|
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(t,null,"beforeRule"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeOpen(e){let t;return e.walk(i=>{if(i.type!=="decl"&&(t=i.raws.between,typeof t<"u"))return!1}),t}rawBeforeRule(e){let t;return e.walk(i=>{if(i.nodes&&(i.parent!==e||e.first!==i)&&typeof i.raws.before<"u")return t=i.raws.before,t.includes(`
|
|
80
80
|
`)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(i=>{if(typeof i.raws.between<"u")return t=i.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(i=>{if(i.nodes&&i.nodes.length===0&&(t=i.raws.after,typeof t<"u"))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(i=>{let n=i.parent;if(n&&n!==e&&n.parent&&n.parent===e&&typeof i.raws.before<"u"){let o=i.raws.before.split(`
|
|
81
|
-
`);return t=o[o.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(i=>{if(i.nodes&&i.nodes.length&&i.last.type==="decl"&&(t=i.raws.semicolon,typeof t<"u"))return!1}),t}rawValue(e,t){let i=e[t],n=e.raws[t];return n&&n.value===i?n.raw:i}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};Zg.exports=os;os.default=os});var as=de((EF,em)=>{"use strict";
|
|
82
|
-
`?(n=1,o+=1):n+=1;return{column:n,line:o}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},i=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let n=this.toString(),o=n.indexOf(e.word);o!==-1&&(t=this.positionInside(o,n),i=this.positionInside(o+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?i={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?i=this.positionInside(e.endIndex):e.index&&(i=this.positionInside(e.index+1));return(i.line<t.line||i.line===t.line&&i.column<=t.column)&&(i={column:t.column+1,line:t.line}),{end:i,start:t}}raw(e,t){return new OO().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,i=!1;for(let n of e)n===this?i=!0:i?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);i||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let i={},n=t==null;t=t||new Map;let o=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let u=this[s];if(Array.isArray(u))i[s]=u.map(f=>typeof f=="object"&&f.toJSON?f.toJSON(null,t):f);else if(typeof u=="object"&&u.toJSON)i[s]=u.toJSON(null,t);else if(s==="source"){let f=t.get(u.input);f==null&&(f=o,t.set(u.input,o),o++),i[s]={end:u.end,inputId:f,start:u.start}}else i[s]=u}return n&&(i.inputs=[...t.keys()].map(s=>s.toJSON())),i}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=AO){e.stringify&&(e=e.stringify);let t="";return e(this,i=>{t+=i}),t}warn(e,t,i){let n={node:this};for(let o in i)n[o]=i[o];return e.warn(t,n)}get proxyOf(){return this}};tm.exports=us;us.default=us});var cs=de((kF,rm)=>{"use strict";
|
|
83
|
-
`);i=new Array(o.length);let s=0;for(let u=0,f=o.length;u<f;u++)i[u]=s,s+=o[u].length+1;this[Ul]=i}t=i[i.length-1];let n=0;if(e>=t)n=i.length-1;else{let o=i.length-2,s;for(;n<o;)if(s=n+(o-n>>1),e<i[s])o=s-1;else if(e>=i[s+1])n=s+1;else{n=s;break}}return{col:e-i[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:ql(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,i,n){if(!this.map)return!1;let o=this.map.consumer(),s=o.originalPositionFor({column:t,line:e});if(!s.source)return!1;let u;typeof i=="number"&&(u=o.originalPositionFor({column:n,line:i}));let f;jl(s.source)?f=ua(s.source):f=new URL(s.source,this.map.consumer().sourceRoot||ua(this.map.mapFile));let c={column:s.column,endColumn:u&&u.column,endLine:u&&u.line,line:s.line,url:f.toString()};if(f.protocol==="file:")if(um)c.file=um(f);else throw new Error("file: protocol is not available in this PostCSS build");let p=o.sourceContentFor(s.source);return p&&(c.source=p),c}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};cm.exports=an;an.default=an;Ml&&Ml.registerInput&&Ml.registerInput(an)});var Wl=de((QF,mm)=>{"use strict";
|
|
81
|
+
`);return t=o[o.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(i=>{if(i.nodes&&i.nodes.length&&i.last.type==="decl"&&(t=i.raws.semicolon,typeof t<"u"))return!1}),t}rawValue(e,t){let i=e[t],n=e.raws[t];return n&&n.value===i?n.raw:i}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};Zg.exports=os;os.default=os});var as=de((EF,em)=>{"use strict";L();F();N();var SO=Bl();function Ll(r,e){new SO(e).stringify(r)}em.exports=Ll;Ll.default=Ll});var ls=de((TF,tm)=>{"use strict";L();F();N();var{isClean:oa,my:EO}=sa(),_O=na(),OO=Bl(),AO=as();function Nl(r,e){let t=new r.constructor;for(let i in r){if(!Object.prototype.hasOwnProperty.call(r,i)||i==="proxyCache")continue;let n=r[i],o=typeof n;i==="parent"&&o==="object"?e&&(t[i]=e):i==="source"?t[i]=n:Array.isArray(n)?t[i]=n.map(s=>Nl(s,t)):(o==="object"&&n!==null&&(n=Nl(n)),t[i]=n)}return t}var us=class{constructor(e={}){this.raws={},this[oa]=!1,this[EO]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let i of e[t])typeof i.clone=="function"?this.append(i.clone()):this.append(i)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=Nl(this);for(let i in e)t[i]=e[i];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:i,start:n}=this.rangeBy(t);return this.source.input.error(e,{column:n.column,line:n.line},{column:i.column,line:i.line},t)}return new _O(e)}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]},set(e,t,i){return e[t]===i||(e[t]=i,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0}}}markDirty(){if(this[oa]){this[oa]=!1;let e=this;for(;e=e.parent;)e[oa]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let i=this.source.start;if(e.index)i=this.positionInside(e.index,t);else if(e.word){t=this.toString();let n=t.indexOf(e.word);n!==-1&&(i=this.positionInside(n,t))}return i}positionInside(e,t){let i=t||this.toString(),n=this.source.start.column,o=this.source.start.line;for(let s=0;s<e;s++)i[s]===`
|
|
82
|
+
`?(n=1,o+=1):n+=1;return{column:n,line:o}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},i=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let n=this.toString(),o=n.indexOf(e.word);o!==-1&&(t=this.positionInside(o,n),i=this.positionInside(o+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?i={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?i=this.positionInside(e.endIndex):e.index&&(i=this.positionInside(e.index+1));return(i.line<t.line||i.line===t.line&&i.column<=t.column)&&(i={column:t.column+1,line:t.line}),{end:i,start:t}}raw(e,t){return new OO().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,i=!1;for(let n of e)n===this?i=!0:i?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);i||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let i={},n=t==null;t=t||new Map;let o=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let u=this[s];if(Array.isArray(u))i[s]=u.map(f=>typeof f=="object"&&f.toJSON?f.toJSON(null,t):f);else if(typeof u=="object"&&u.toJSON)i[s]=u.toJSON(null,t);else if(s==="source"){let f=t.get(u.input);f==null&&(f=o,t.set(u.input,o),o++),i[s]={end:u.end,inputId:f,start:u.start}}else i[s]=u}return n&&(i.inputs=[...t.keys()].map(s=>s.toJSON())),i}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=AO){e.stringify&&(e=e.stringify);let t="";return e(this,i=>{t+=i}),t}warn(e,t,i){let n={node:this};for(let o in i)n[o]=i[o];return e.warn(t,n)}get proxyOf(){return this}};tm.exports=us;us.default=us});var cs=de((kF,rm)=>{"use strict";L();F();N();var TO=ls(),fs=class extends TO{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};rm.exports=fs;fs.default=fs});var aa=de(()=>{L();F();N()});var nm=de((UF,im)=>{L();F();N();var RO="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",xO=(r,e=21)=>(t=e)=>{let i="",n=t|0;for(;n--;)i+=r[Math.random()*r.length|0];return i},IO=(r=21)=>{let e="",t=r|0;for(;t--;)e+=RO[Math.random()*64|0];return e};im.exports={nanoid:IO,customAlphabet:xO}});var Dl=de((WF,am)=>{"use strict";L();F();N();var{SourceMapConsumer:sm,SourceMapGenerator:om}=aa(),{existsSync:kO,readFileSync:PO}=(_i(),ri($n)),{dirname:Fl,join:CO}=(Or(),ri(Fi));function BO(r){return Y?Y.from(r,"base64").toString():window.atob(r)}var hs=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let i=t.map?t.map.prev:void 0,n=this.loadMap(t.from,i);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Fl(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new sm(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,i=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,o=/^data:application\/json,/;if(n.test(e)||o.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||i.test(e))return BO(e.substr(RegExp.lastMatch.length));let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let i=e.lastIndexOf(t.pop()),n=e.indexOf("*/",i);i>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(i,n)))}loadFile(e){if(this.root=Fl(e),kO(e))return this.mapFile=e,PO(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let i=t(e);if(i){let n=this.loadFile(i);if(!n)throw new Error("Unable to load previous source map: "+i.toString());return n}}else{if(t instanceof sm)return om.fromSourceMap(t).toString();if(t instanceof om)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let i=this.annotation;return e&&(i=CO(Fl(e),i)),this.loadFile(i)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};am.exports=hs;hs.default=hs});var ps=de((HF,cm)=>{"use strict";L();F();N();var{SourceMapConsumer:LO,SourceMapGenerator:NO}=aa(),{fileURLToPath:um,pathToFileURL:ua}=(Si(),ri(el)),{isAbsolute:jl,resolve:ql}=(Or(),ri(Fi)),{nanoid:FO}=nm(),Ml=Pl(),lm=na(),DO=Dl(),Ul=Symbol("fromOffsetCache"),MO=!!(LO&&NO),fm=!!(ql&&jl),an=class{constructor(e,t={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!fm||/^\w+:\/\//.test(t.from)||jl(t.from)?this.file=t.from:this.file=ql(t.from)),fm&&MO){let i=new DO(this.css,t);if(i.text){this.map=i;let n=i.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+FO(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,i,n={}){let o,s,u;if(t&&typeof t=="object"){let c=t,p=i;if(typeof c.offset=="number"){let d=this.fromOffset(c.offset);t=d.line,i=d.col}else t=c.line,i=c.column;if(typeof p.offset=="number"){let d=this.fromOffset(p.offset);s=d.line,u=d.col}else s=p.line,u=p.column}else if(!i){let c=this.fromOffset(t);t=c.line,i=c.col}let f=this.origin(t,i,s,u);return f?o=new lm(e,f.endLine===void 0?f.line:{column:f.column,line:f.line},f.endLine===void 0?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,n.plugin):o=new lm(e,s===void 0?t:{column:i,line:t},s===void 0?i:{column:u,line:s},this.css,this.file,n.plugin),o.input={column:i,endColumn:u,endLine:s,line:t,source:this.css},this.file&&(ua&&(o.input.url=ua(this.file).toString()),o.input.file=this.file),o}fromOffset(e){let t,i;if(this[Ul])i=this[Ul];else{let o=this.css.split(`
|
|
83
|
+
`);i=new Array(o.length);let s=0;for(let u=0,f=o.length;u<f;u++)i[u]=s,s+=o[u].length+1;this[Ul]=i}t=i[i.length-1];let n=0;if(e>=t)n=i.length-1;else{let o=i.length-2,s;for(;n<o;)if(s=n+(o-n>>1),e<i[s])o=s-1;else if(e>=i[s+1])n=s+1;else{n=s;break}}return{col:e-i[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:ql(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,i,n){if(!this.map)return!1;let o=this.map.consumer(),s=o.originalPositionFor({column:t,line:e});if(!s.source)return!1;let u;typeof i=="number"&&(u=o.originalPositionFor({column:n,line:i}));let f;jl(s.source)?f=ua(s.source):f=new URL(s.source,this.map.consumer().sourceRoot||ua(this.map.mapFile));let c={column:s.column,endColumn:u&&u.column,endLine:u&&u.line,line:s.line,url:f.toString()};if(f.protocol==="file:")if(um)c.file=um(f);else throw new Error("file: protocol is not available in this PostCSS build");let p=o.sourceContentFor(s.source);return p&&(c.source=p),c}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};cm.exports=an;an.default=an;Ml&&Ml.registerInput&&Ml.registerInput(an)});var Wl=de((QF,mm)=>{"use strict";L();F();N();var{SourceMapConsumer:pm,SourceMapGenerator:la}=aa(),{dirname:fa,relative:dm,resolve:ym,sep:gm}=(Or(),ri(Fi)),{pathToFileURL:hm}=(Si(),ri(el)),UO=ps(),jO=!!(pm&&la),qO=!!(fa&&ym&&dm&&gm),$l=class{constructor(e,t,i,n){this.stringify=e,this.mapOpts=i.map||{},this.root=t,this.opts=i,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let t=`
|
|
84
84
|
`;this.css.includes(`\r
|
|
85
85
|
`)&&(t=`\r
|
|
86
86
|
`),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),i=e.root||fa(e.file),n;this.mapOpts.sourcesContent===!1?(n=new pm(e.text),n.sourcesContent&&(n.sourcesContent=null)):n=e.consumer(),this.map.applySourceMap(n,t,this.toUrl(this.path(i)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),qO&&jO&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=la.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new la({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new la({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,i="<no source>",n={generated:{column:0,line:0},original:{column:0,line:0},source:""},o,s;this.stringify(this.root,(u,f,c)=>{if(this.css+=u,f&&c!=="end"&&(n.generated.line=e,n.generated.column=t-1,f.source&&f.source.start?(n.source=this.sourcePath(f),n.original.line=f.source.start.line,n.original.column=f.source.start.column-1,this.map.addMapping(n)):(n.source=i,n.original.line=1,n.original.column=0,this.map.addMapping(n))),o=u.match(/\n/g),o?(e+=o.length,s=u.lastIndexOf(`
|
|
87
|
-
`),t=u.length-s):t+=u.length,f&&c!=="start"){let p=f.parent||{raws:{}};(!(f.type==="decl"||f.type==="atrule"&&!f.nodes)||f!==p.last||p.raws.semicolon)&&(f.source&&f.source.end?(n.source=this.sourcePath(f),n.original.line=f.source.end.line,n.original.column=f.source.end.column-1,n.generated.line=e,n.generated.column=t-2,this.map.addMapping(n)):(n.source=i,n.original.line=1,n.original.column=0,n.generated.line=e,n.generated.column=t-1,this.map.addMapping(n)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let i=this.opts.to?fa(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(i=fa(ym(i,this.mapOpts.annotation)));let n=dm(i,e);return this.memoizedPaths.set(e,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new UO(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let i=t.source.input.from;if(i&&!e[i]){e[i]=!0;let n=this.usesFileUrls?this.toFileUrl(i):this.toUrl(this.path(i));this.map.setSourceContent(n,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Y?Y.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(hm){let i=hm(e).toString();return this.memoizedFileURLs.set(e,i),i}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;gm==="\\"&&(e=e.replace(/\\/g,"/"));let i=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,i),i}};mm.exports=$l});var ys=de((tD,vm)=>{"use strict";B();F();N();var $O=ls(),ds=class extends $O{constructor(e){super(e),this.type="comment"}};vm.exports=ds;ds.default=ds});var Xr=de((sD,Rm)=>{"use strict";B();F();N();var{isClean:wm,my:bm}=sa(),Sm=cs(),Em=ys(),WO=ls(),_m,zl,Vl,Om;function Am(r){return r.map(e=>(e.nodes&&(e.nodes=Am(e.nodes)),delete e.source,e))}function Tm(r){if(r[wm]=!1,r.proxyOf.nodes)for(let e of r.proxyOf.nodes)Tm(e)}var ar=class r extends WO{append(...e){for(let t of e){let i=this.normalize(t,this.last);for(let n of i)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),i,n;for(;this.indexes[t]<this.proxyOf.nodes.length&&(i=this.indexes[t],n=e(this.proxyOf.nodes[i],i),n!==!1);)this.indexes[t]+=1;return delete this.indexes[t],n}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...i)=>e[t](...i.map(n=>typeof n=="function"?(o,s)=>n(o.toProxy(),s):n)):t==="every"||t==="some"?i=>e[t]((n,...o)=>i(n.toProxy(),...o)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(i=>i.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,i){return e[t]===i||(e[t]=i,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let i=this.index(e),n=this.normalize(t,this.proxyOf.nodes[i]).reverse();i=this.index(e);for(let s of n)this.proxyOf.nodes.splice(i+1,0,s);let o;for(let s in this.indexes)o=this.indexes[s],i<o&&(this.indexes[s]=o+n.length);return this.markDirty(),this}insertBefore(e,t){let i=this.index(e),n=i===0?"prepend":!1,o=this.normalize(t,this.proxyOf.nodes[i],n).reverse();i=this.index(e);for(let u of o)this.proxyOf.nodes.splice(i,0,u);let s;for(let u in this.indexes)s=this.indexes[u],i<=s&&(this.indexes[u]=s+o.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=Am(_m(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Sm(e)]}else if(e.selector)e=[new zl(e)];else if(e.name)e=[new Vl(e)];else if(e.text)e=[new Em(e)];else throw new Error("Unknown node type in node creation");return e.map(n=>(n[bm]||r.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[wm]&&Tm(n),typeof n.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(n.raws.before=t.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...e){e=e.reverse();for(let t of e){let i=this.normalize(t,this.first,"prepend").reverse();for(let n of i)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+i.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let i in this.indexes)t=this.indexes[i],t>=e&&(this.indexes[i]=t-1);return this.markDirty(),this}replaceValues(e,t,i){return i||(i=t,t={}),this.walkDecls(n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,i))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,i)=>{let n;try{n=e(t,i)}catch(o){throw t.addToError(o)}return n!==!1&&t.walk&&(n=t.walk(e)),n})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type==="atrule"&&e.test(i.name))return t(i,n)}):this.walk((i,n)=>{if(i.type==="atrule"&&i.name===e)return t(i,n)}):(t=e,this.walk((i,n)=>{if(i.type==="atrule")return t(i,n)}))}walkComments(e){return this.walk((t,i)=>{if(t.type==="comment")return e(t,i)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type==="decl"&&e.test(i.prop))return t(i,n)}):this.walk((i,n)=>{if(i.type==="decl"&&i.prop===e)return t(i,n)}):(t=e,this.walk((i,n)=>{if(i.type==="decl")return t(i,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type==="rule"&&e.test(i.selector))return t(i,n)}):this.walk((i,n)=>{if(i.type==="rule"&&i.selector===e)return t(i,n)}):(t=e,this.walk((i,n)=>{if(i.type==="rule")return t(i,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};ar.registerParse=r=>{_m=r};ar.registerRule=r=>{zl=r};ar.registerAtRule=r=>{Vl=r};ar.registerRoot=r=>{Om=r};Rm.exports=ar;ar.default=ar;ar.rebuild=r=>{r.type==="atrule"?Object.setPrototypeOf(r,Vl.prototype):r.type==="rule"?Object.setPrototypeOf(r,zl.prototype):r.type==="decl"?Object.setPrototypeOf(r,Sm.prototype):r.type==="comment"?Object.setPrototypeOf(r,Em.prototype):r.type==="root"&&Object.setPrototypeOf(r,Om.prototype),r[bm]=!0,r.nodes&&r.nodes.forEach(e=>{ar.rebuild(e)})}});var ca=de((lD,km)=>{"use strict";B();F();N();var zO=Xr(),xm,Im,Ti=class extends zO{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new xm(new Im,this,e).stringify()}};Ti.registerLazyResult=r=>{xm=r};Ti.registerProcessor=r=>{Im=r};km.exports=Ti;Ti.default=Ti});var Gl=de((pD,Cm)=>{"use strict";B();F();N();var Pm={};Cm.exports=function(e){Pm[e]||(Pm[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Hl=de((mD,Lm)=>{"use strict";B();F();N();var gs=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let i=t.node.rangeBy(t);this.line=i.start.line,this.column=i.start.column,this.endLine=i.end.line,this.endColumn=i.end.column}for(let i in t)this[i]=t[i]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};Lm.exports=gs;gs.default=gs});var ha=de((SD,Bm)=>{"use strict";B();F();N();var VO=Hl(),ms=class{constructor(e,t,i){this.processor=e,this.messages=[],this.root=t,this.opts=i,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let i=new VO(e,t);return this.messages.push(i),i}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};Bm.exports=ms;ms.default=ms});var Dm=de((AD,Fm)=>{"use strict";B();F();N();var pa=/[\t\n\f\r "#'()/;[\\\]{}]/g,da=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,GO=/.[\r\n"'(/\\]/,Nm=/[\da-f]/i;Fm.exports=function(e,t={}){let i=e.css.valueOf(),n=t.ignoreErrors,o,s,u,f,c,p,d,v,m,g,b=i.length,E=0,A=[],x=[];function I(){return E}function D(K){throw e.error("Unclosed "+K,E)}function j(){return x.length===0&&E>=b}function ae(K){if(x.length)return x.pop();if(E>=b)return;let Q=K?K.ignoreUnclosed:!1;switch(o=i.charCodeAt(E),o){case 10:case 32:case 9:case 13:case 12:{s=E;do s+=1,o=i.charCodeAt(s);while(o===32||o===10||o===9||o===13||o===12);g=["space",i.slice(E,s)],E=s-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let se=String.fromCharCode(o);g=[se,se,E];break}case 40:{if(v=A.length?A.pop()[1]:"",m=i.charCodeAt(E+1),v==="url"&&m!==39&&m!==34&&m!==32&&m!==10&&m!==9&&m!==12&&m!==13){s=E;do{if(p=!1,s=i.indexOf(")",s+1),s===-1)if(n||Q){s=E;break}else D("bracket");for(d=s;i.charCodeAt(d-1)===92;)d-=1,p=!p}while(p);g=["brackets",i.slice(E,s+1),E,s],E=s}else s=i.indexOf(")",E+1),f=i.slice(E,s+1),s===-1||GO.test(f)?g=["(","(",E]:(g=["brackets",f,E,s],E=s);break}case 39:case 34:{u=o===39?"'":'"',s=E;do{if(p=!1,s=i.indexOf(u,s+1),s===-1)if(n||Q){s=E+1;break}else D("string");for(d=s;i.charCodeAt(d-1)===92;)d-=1,p=!p}while(p);g=["string",i.slice(E,s+1),E,s],E=s;break}case 64:{pa.lastIndex=E+1,pa.test(i),pa.lastIndex===0?s=i.length-1:s=pa.lastIndex-2,g=["at-word",i.slice(E,s+1),E,s],E=s;break}case 92:{for(s=E,c=!0;i.charCodeAt(s+1)===92;)s+=1,c=!c;if(o=i.charCodeAt(s+1),c&&o!==47&&o!==32&&o!==10&&o!==9&&o!==13&&o!==12&&(s+=1,Nm.test(i.charAt(s)))){for(;Nm.test(i.charAt(s+1));)s+=1;i.charCodeAt(s+1)===32&&(s+=1)}g=["word",i.slice(E,s+1),E,s],E=s;break}default:{o===47&&i.charCodeAt(E+1)===42?(s=i.indexOf("*/",E+2)+1,s===0&&(n||Q?s=i.length:D("comment")),g=["comment",i.slice(E,s+1),E,s],E=s):(da.lastIndex=E+1,da.test(i),da.lastIndex===0?s=i.length-1:s=da.lastIndex-2,g=["word",i.slice(E,s+1),E,s],A.push(g),E=s);break}}return E++,g}function X(K){x.push(K)}return{back:X,endOfFile:j,nextToken:ae,position:I}}});var ya=de((ID,Um)=>{"use strict";B();F();N();var Mm=Xr(),un=class extends Mm{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};Um.exports=un;un.default=un;Mm.registerAtRule(un)});var ln=de((LD,Wm)=>{"use strict";B();F();N();var jm=Xr(),qm,$m,Zr=class extends jm{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,i){let n=super.normalize(e);if(t){if(i==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let o of n)o.raws.before=t.raws.before}return n}removeChild(e,t){let i=this.index(e);return!t&&i===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[i].raws.before),super.removeChild(e)}toResult(e={}){return new qm(new $m,this,e).stringify()}};Zr.registerLazyResult=r=>{qm=r};Zr.registerProcessor=r=>{$m=r};Wm.exports=Zr;Zr.default=Zr;jm.registerRoot(Zr)});var Yl=de((DD,zm)=>{"use strict";B();F();N();var vs={comma(r){return vs.split(r,[","],!0)},space(r){let e=[" ",`
|
|
88
|
-
`," "];return vs.split(r,e)},split(r,e,t){let i=[],n="",o=!1,s=0,u=!1,f="",c=!1;for(let p of r)c?c=!1:p==="\\"?c=!0:u?p===f&&(u=!1):p==='"'||p==="'"?(u=!0,f=p):p==="("?s+=1:p===")"?s>0&&(s-=1):s===0&&e.includes(p)&&(o=!0),o?(n!==""&&i.push(n.trim()),n="",o=!1):n+=p;return(t||n!=="")&&i.push(n.trim()),i}};zm.exports=vs;vs.default=vs});var ga=de((qD,Gm)=>{"use strict";B();F();N();var Vm=Xr(),HO=Yl(),fn=class extends Vm{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return HO.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,i=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(i)}};Gm.exports=fn;fn.default=fn;Vm.registerRule(fn)});var Jm=de((VD,Km)=>{"use strict";B();F();N();var YO=cs(),KO=Dm(),JO=ys(),QO=ya(),XO=ln(),Hm=ga(),Ym={empty:!0,space:!0};function ZO(r){for(let e=r.length-1;e>=0;e--){let t=r[e],i=t[3]||t[2];if(i)return i}}var Kl=class{constructor(e){this.input=e,this.root=new XO,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new QO;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let i,n,o,s=!1,u=!1,f=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),i=e[0],i==="("||i==="["?c.push(i==="("?")":"]"):i==="{"&&c.length>0?c.push("}"):i===c[c.length-1]&&c.pop(),c.length===0)if(i===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(i==="{"){u=!0;break}else if(i==="}"){if(f.length>0){for(o=f.length-1,n=f[o];n&&n[0]==="space";)n=f[--o];n&&(t.source.end=this.getPosition(n[3]||n[2]),t.source.end.offset++)}this.end(e);break}else f.push(e);else f.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(t.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(t,"params",f),s&&(e=f[f.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),u&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let i=0,n;for(let o=t-1;o>=0&&(n=e[o],!(n[0]!=="space"&&(i+=1,i===2)));o--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(e){let t=0,i,n,o;for(let[s,u]of e.entries()){if(i=u,n=i[0],n==="("&&(t+=1),n===")"&&(t-=1),t===0&&n===":")if(!o)this.doubleColon(i);else{if(o[0]==="word"&&o[1]==="progid")continue;return s}o=i}return!1}comment(e){let t=new JO;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let i=e[1].slice(2,-2);if(/^\s*$/.test(i))t.text="",t.raws.left=i,t.raws.right="";else{let n=i.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}}createTokenizer(){this.tokenizer=KO(this.input)}decl(e,t){let i=new YO;this.init(i,e[0][2]);let n=e[e.length-1];for(n[0]===";"&&(this.semicolon=!0,e.pop()),i.source.end=this.getPosition(n[3]||n[2]||ZO(e)),i.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),i.raws.before+=e.shift()[1];for(i.source.start=this.getPosition(e[0][2]),i.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let o;for(;e.length;)if(o=e.shift(),o[0]===":"){i.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),i.raws.between+=o[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let s=[],u;for(;e.length&&(u=e[0][0],!(u!=="space"&&u!=="comment"));)s.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(o=e[c],o[1].toLowerCase()==="!important"){i.important=!0;let p=this.stringFrom(e,c);p=this.spacesFromEnd(e)+p,p!==" !important"&&(i.raws.important=p);break}else if(o[1].toLowerCase()==="important"){let p=e.slice(0),d="";for(let v=c;v>0;v--){let m=p[v][0];if(d.trim().indexOf("!")===0&&m!=="space")break;d=p.pop()[1]+d}d.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=d,e=p)}if(o[0]!=="space"&&o[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(i.raws.between+=s.map(c=>c[1]).join(""),s=[]),this.raw(i,"value",s.concat(e),t),i.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new Hm;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,i=null,n=!1,o=null,s=[],u=e[1].startsWith("--"),f=[],c=e;for(;c;){if(i=c[0],f.push(c),i==="("||i==="[")o||(o=c),s.push(i==="("?")":"]");else if(u&&n&&i==="{")o||(o=c),s.push("}");else if(s.length===0)if(i===";")if(n){this.decl(f,u);return}else break;else if(i==="{"){this.rule(f);return}else if(i==="}"){this.tokenizer.back(f.pop()),t=!0;break}else i===":"&&(n=!0);else i===s[s.length-1]&&(s.pop(),s.length===0&&(o=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(o),t&&n){if(!u)for(;f.length&&(c=f[f.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,u)}else this.unknownWord(f)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,i,n){let o,s,u=i.length,f="",c=!0,p,d;for(let v=0;v<u;v+=1)o=i[v],s=o[0],s==="space"&&v===u-1&&!n?c=!1:s==="comment"?(d=i[v-1]?i[v-1][0]:"empty",p=i[v+1]?i[v+1][0]:"empty",!Ym[d]&&!Ym[p]?f.slice(-1)===","?c=!1:f+=o[1]:c=!1):f+=o[1];if(!c){let v=i.reduce((m,g)=>m+g[1],"");e.raws[t]={raw:v,value:f}}e[t]=f}rule(e){e.pop();let t=new Hm;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,i="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)i=e.pop()[1]+i;return i}spacesAndCommentsFromStart(e){let t,i="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)i+=e.shift()[1];return i}spacesFromEnd(e){let t,i="";for(;e.length&&(t=e[e.length-1][0],t==="space");)i=e.pop()[1]+i;return i}stringFrom(e,t){let i="";for(let n=t;n<e.length;n++)i+=e[n][1];return e.splice(t,e.length-t),i}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};Km.exports=Kl});var va=de((KD,Qm)=>{"use strict";B();F();N();var eA=Xr(),tA=Jm(),rA=ps();function ma(r,e){let t=new rA(r,e),i=new tA(t);try{i.parse()}catch(n){throw n}return i.root}Qm.exports=ma;ma.default=ma;eA.registerParse(ma)});var Xl=de((eM,tv)=>{"use strict";B();F();N();var{isClean:vr,my:iA}=sa(),nA=Wl(),sA=as(),oA=Xr(),aA=ca(),ZD=Gl(),Xm=ha(),uA=va(),lA=ln(),fA={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},cA={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},hA={Once:!0,postcssPlugin:!0,prepare:!0},cn=0;function ws(r){return typeof r=="object"&&typeof r.then=="function"}function ev(r){let e=!1,t=fA[r.type];return r.type==="decl"?e=r.prop.toLowerCase():r.type==="atrule"&&(e=r.name.toLowerCase()),e&&r.append?[t,t+"-"+e,cn,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:r.append?[t,cn,t+"Exit"]:[t,t+"Exit"]}function Zm(r){let e;return r.type==="document"?e=["Document",cn,"DocumentExit"]:r.type==="root"?e=["Root",cn,"RootExit"]:e=ev(r),{eventIndex:0,events:e,iterator:0,node:r,visitorIndex:0,visitors:[]}}function Jl(r){return r[vr]=!1,r.nodes&&r.nodes.forEach(e=>Jl(e)),r}var Ql={},ei=class r{constructor(e,t,i){this.stringified=!1,this.processed=!1;let n;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))n=Jl(t);else if(t instanceof r||t instanceof Xm)n=Jl(t.root),t.map&&(typeof i.map>"u"&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=t.map);else{let o=uA;i.syntax&&(o=i.syntax.parse),i.parser&&(o=i.parser),o.parse&&(o=o.parse);try{n=o(t,i)}catch(s){this.processed=!0,this.error=s}n&&!n[iA]&&oA.rebuild(n)}this.result=new Xm(e,n,i),this.helpers={...Ql,postcss:Ql,result:this.result},this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?{...o,...o.prepare(this.result)}:o)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let i=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=i.postcssPlugin,e.setMessage()):i.postcssVersion}catch(n){console&&console.error&&console.error(n)}return e}prepareVisitors(){this.listeners={};let e=(t,i,n)=>{this.listeners[i]||(this.listeners[i]=[]),this.listeners[i].push([t,n])};for(let t of this.plugins)if(typeof t=="object")for(let i in t){if(!cA[i]&&/^[A-Z]/.test(i))throw new Error(`Unknown event ${i} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!hA[i])if(typeof t[i]=="object")for(let n in t[i])n==="*"?e(t,i,t[i][n]):e(t,i+"-"+n.toLowerCase(),t[i][n]);else typeof t[i]=="function"&&e(t,i,t[i])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],i=this.runOnRoot(t);if(ws(i))try{await i}catch(n){throw this.handleError(n)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[vr];){e[vr]=!0;let t=[Zm(e)];for(;t.length>0;){let i=this.visitTick(t);if(ws(i))try{await i}catch(n){let o=t[t.length-1].node;throw this.handleError(n,o)}}}if(this.listeners.OnceExit)for(let[t,i]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let n=e.nodes.map(o=>i(o,this.helpers));await Promise.all(n)}else await i(e,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(i=>e.Once(i,this.helpers));return ws(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=sA;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new nA(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(ws(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[vr];)e[vr]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[i,n]of e){this.result.lastPlugin=i;let o;try{o=n(t,this.helpers)}catch(s){throw this.handleError(s,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(ws(o))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:i,visitors:n}=t;if(i.type!=="root"&&i.type!=="document"&&!i.parent){e.pop();return}if(n.length>0&&t.visitorIndex<n.length){let[s,u]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=s;try{return u(i.toProxy(),this.helpers)}catch(f){throw this.handleError(f,i)}}if(t.iterator!==0){let s=t.iterator,u;for(;u=i.nodes[i.indexes[s]];)if(i.indexes[s]+=1,!u[vr]){u[vr]=!0,e.push(Zm(u));return}t.iterator=0,delete i.indexes[s]}let o=t.events;for(;t.eventIndex<o.length;){let s=o[t.eventIndex];if(t.eventIndex+=1,s===cn){i.nodes&&i.nodes.length&&(i[vr]=!0,t.iterator=i.getIterator());return}else if(this.listeners[s]){t.visitors=this.listeners[s];return}}e.pop()}walkSync(e){e[vr]=!0;let t=ev(e);for(let i of t)if(i===cn)e.nodes&&e.each(n=>{n[vr]||this.walkSync(n)});else{let n=this.listeners[i];if(n&&this.visitSync(n,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};ei.registerPostcss=r=>{Ql=r};tv.exports=ei;ei.default=ei;lA.registerLazyResult(ei);aA.registerLazyResult(ei)});var iv=de((sM,rv)=>{"use strict";B();F();N();var pA=Wl(),dA=as(),nM=Gl(),yA=va(),gA=ha(),bs=class{constructor(e,t,i){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=i,this._map=void 0;let n,o=dA;this.result=new gA(this._processor,n,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let u=new pA(o,n,this._opts,t);if(u.isMap()){let[f,c]=u.generate();f&&(this.result.css=f),c&&(this.result.map=c)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=yA;try{e=t(this._css,this._opts)}catch(i){this.error=i}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};rv.exports=bs;bs.default=bs});var sv=de((lM,nv)=>{"use strict";B();F();N();var mA=iv(),vA=Xl(),wA=ca(),bA=ln(),Ri=class{constructor(e=[]){this.version="8.4.39",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let i of e)if(i.postcss===!0?i=i():i.postcss&&(i=i.postcss),typeof i=="object"&&Array.isArray(i.plugins))t=t.concat(i.plugins);else if(typeof i=="object"&&i.postcssPlugin)t.push(i);else if(typeof i=="function")t.push(i);else if(!(typeof i=="object"&&(i.parse||i.stringify)))throw new Error(i+" is not a PostCSS plugin");return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new mA(this,e,t):new vA(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};nv.exports=Ri;Ri.default=Ri;bA.registerProcessor(Ri);wA.registerProcessor(Ri)});var av=de((pM,ov)=>{"use strict";B();F();N();var SA=cs(),EA=Dl(),_A=ys(),OA=ya(),AA=ps(),TA=ln(),RA=ga();function Ss(r,e){if(Array.isArray(r))return r.map(n=>Ss(n));let{inputs:t,...i}=r;if(t){e=[];for(let n of t){let o={...n,__proto__:AA.prototype};o.map&&(o.map={...o.map,__proto__:EA.prototype}),e.push(o)}}if(i.nodes&&(i.nodes=r.nodes.map(n=>Ss(n,e))),i.source){let{inputId:n,...o}=i.source;i.source=o,n!=null&&(i.source.input=e[n])}if(i.type==="root")return new TA(i);if(i.type==="decl")return new SA(i);if(i.type==="rule")return new RA(i);if(i.type==="comment")return new _A(i);if(i.type==="atrule")return new OA(i);throw new Error("Unknown node type: "+r.type)}ov.exports=Ss;Ss.default=Ss});var yv=de((mM,dv)=>{"use strict";B();F();N();var xA=na(),uv=cs(),IA=Xl(),kA=Xr(),Zl=sv(),PA=as(),CA=av(),lv=ca(),LA=Hl(),fv=ys(),cv=ya(),BA=ha(),NA=ps(),FA=va(),DA=Yl(),hv=ga(),pv=ln(),MA=ls();function ze(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new Zl(r)}ze.plugin=function(e,t){let i=!1;function n(...s){console&&console.warn&&!i&&(i=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
87
|
+
`),t=u.length-s):t+=u.length,f&&c!=="start"){let p=f.parent||{raws:{}};(!(f.type==="decl"||f.type==="atrule"&&!f.nodes)||f!==p.last||p.raws.semicolon)&&(f.source&&f.source.end?(n.source=this.sourcePath(f),n.original.line=f.source.end.line,n.original.column=f.source.end.column-1,n.generated.line=e,n.generated.column=t-2,this.map.addMapping(n)):(n.source=i,n.original.line=1,n.original.column=0,n.generated.line=e,n.generated.column=t-1,this.map.addMapping(n)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let i=this.opts.to?fa(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(i=fa(ym(i,this.mapOpts.annotation)));let n=dm(i,e);return this.memoizedPaths.set(e,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new UO(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let i=t.source.input.from;if(i&&!e[i]){e[i]=!0;let n=this.usesFileUrls?this.toFileUrl(i):this.toUrl(this.path(i));this.map.setSourceContent(n,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Y?Y.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(hm){let i=hm(e).toString();return this.memoizedFileURLs.set(e,i),i}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;gm==="\\"&&(e=e.replace(/\\/g,"/"));let i=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,i),i}};mm.exports=$l});var ys=de((tD,vm)=>{"use strict";L();F();N();var $O=ls(),ds=class extends $O{constructor(e){super(e),this.type="comment"}};vm.exports=ds;ds.default=ds});var Xr=de((sD,Rm)=>{"use strict";L();F();N();var{isClean:wm,my:bm}=sa(),Sm=cs(),Em=ys(),WO=ls(),_m,zl,Vl,Om;function Am(r){return r.map(e=>(e.nodes&&(e.nodes=Am(e.nodes)),delete e.source,e))}function Tm(r){if(r[wm]=!1,r.proxyOf.nodes)for(let e of r.proxyOf.nodes)Tm(e)}var ar=class r extends WO{append(...e){for(let t of e){let i=this.normalize(t,this.last);for(let n of i)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),i,n;for(;this.indexes[t]<this.proxyOf.nodes.length&&(i=this.indexes[t],n=e(this.proxyOf.nodes[i],i),n!==!1);)this.indexes[t]+=1;return delete this.indexes[t],n}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...i)=>e[t](...i.map(n=>typeof n=="function"?(o,s)=>n(o.toProxy(),s):n)):t==="every"||t==="some"?i=>e[t]((n,...o)=>i(n.toProxy(),...o)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(i=>i.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,i){return e[t]===i||(e[t]=i,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let i=this.index(e),n=this.normalize(t,this.proxyOf.nodes[i]).reverse();i=this.index(e);for(let s of n)this.proxyOf.nodes.splice(i+1,0,s);let o;for(let s in this.indexes)o=this.indexes[s],i<o&&(this.indexes[s]=o+n.length);return this.markDirty(),this}insertBefore(e,t){let i=this.index(e),n=i===0?"prepend":!1,o=this.normalize(t,this.proxyOf.nodes[i],n).reverse();i=this.index(e);for(let u of o)this.proxyOf.nodes.splice(i,0,u);let s;for(let u in this.indexes)s=this.indexes[u],i<=s&&(this.indexes[u]=s+o.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=Am(_m(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Sm(e)]}else if(e.selector)e=[new zl(e)];else if(e.name)e=[new Vl(e)];else if(e.text)e=[new Em(e)];else throw new Error("Unknown node type in node creation");return e.map(n=>(n[bm]||r.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[wm]&&Tm(n),typeof n.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(n.raws.before=t.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...e){e=e.reverse();for(let t of e){let i=this.normalize(t,this.first,"prepend").reverse();for(let n of i)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+i.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let i in this.indexes)t=this.indexes[i],t>=e&&(this.indexes[i]=t-1);return this.markDirty(),this}replaceValues(e,t,i){return i||(i=t,t={}),this.walkDecls(n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,i))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,i)=>{let n;try{n=e(t,i)}catch(o){throw t.addToError(o)}return n!==!1&&t.walk&&(n=t.walk(e)),n})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type==="atrule"&&e.test(i.name))return t(i,n)}):this.walk((i,n)=>{if(i.type==="atrule"&&i.name===e)return t(i,n)}):(t=e,this.walk((i,n)=>{if(i.type==="atrule")return t(i,n)}))}walkComments(e){return this.walk((t,i)=>{if(t.type==="comment")return e(t,i)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type==="decl"&&e.test(i.prop))return t(i,n)}):this.walk((i,n)=>{if(i.type==="decl"&&i.prop===e)return t(i,n)}):(t=e,this.walk((i,n)=>{if(i.type==="decl")return t(i,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type==="rule"&&e.test(i.selector))return t(i,n)}):this.walk((i,n)=>{if(i.type==="rule"&&i.selector===e)return t(i,n)}):(t=e,this.walk((i,n)=>{if(i.type==="rule")return t(i,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};ar.registerParse=r=>{_m=r};ar.registerRule=r=>{zl=r};ar.registerAtRule=r=>{Vl=r};ar.registerRoot=r=>{Om=r};Rm.exports=ar;ar.default=ar;ar.rebuild=r=>{r.type==="atrule"?Object.setPrototypeOf(r,Vl.prototype):r.type==="rule"?Object.setPrototypeOf(r,zl.prototype):r.type==="decl"?Object.setPrototypeOf(r,Sm.prototype):r.type==="comment"?Object.setPrototypeOf(r,Em.prototype):r.type==="root"&&Object.setPrototypeOf(r,Om.prototype),r[bm]=!0,r.nodes&&r.nodes.forEach(e=>{ar.rebuild(e)})}});var ca=de((lD,km)=>{"use strict";L();F();N();var zO=Xr(),xm,Im,Ti=class extends zO{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new xm(new Im,this,e).stringify()}};Ti.registerLazyResult=r=>{xm=r};Ti.registerProcessor=r=>{Im=r};km.exports=Ti;Ti.default=Ti});var Gl=de((pD,Cm)=>{"use strict";L();F();N();var Pm={};Cm.exports=function(e){Pm[e]||(Pm[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Hl=de((mD,Bm)=>{"use strict";L();F();N();var gs=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let i=t.node.rangeBy(t);this.line=i.start.line,this.column=i.start.column,this.endLine=i.end.line,this.endColumn=i.end.column}for(let i in t)this[i]=t[i]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};Bm.exports=gs;gs.default=gs});var ha=de((SD,Lm)=>{"use strict";L();F();N();var VO=Hl(),ms=class{constructor(e,t,i){this.processor=e,this.messages=[],this.root=t,this.opts=i,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let i=new VO(e,t);return this.messages.push(i),i}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};Lm.exports=ms;ms.default=ms});var Dm=de((AD,Fm)=>{"use strict";L();F();N();var pa=/[\t\n\f\r "#'()/;[\\\]{}]/g,da=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,GO=/.[\r\n"'(/\\]/,Nm=/[\da-f]/i;Fm.exports=function(e,t={}){let i=e.css.valueOf(),n=t.ignoreErrors,o,s,u,f,c,p,d,v,m,g,b=i.length,E=0,A=[],x=[];function I(){return E}function D(K){throw e.error("Unclosed "+K,E)}function j(){return x.length===0&&E>=b}function ae(K){if(x.length)return x.pop();if(E>=b)return;let Q=K?K.ignoreUnclosed:!1;switch(o=i.charCodeAt(E),o){case 10:case 32:case 9:case 13:case 12:{s=E;do s+=1,o=i.charCodeAt(s);while(o===32||o===10||o===9||o===13||o===12);g=["space",i.slice(E,s)],E=s-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let oe=String.fromCharCode(o);g=[oe,oe,E];break}case 40:{if(v=A.length?A.pop()[1]:"",m=i.charCodeAt(E+1),v==="url"&&m!==39&&m!==34&&m!==32&&m!==10&&m!==9&&m!==12&&m!==13){s=E;do{if(p=!1,s=i.indexOf(")",s+1),s===-1)if(n||Q){s=E;break}else D("bracket");for(d=s;i.charCodeAt(d-1)===92;)d-=1,p=!p}while(p);g=["brackets",i.slice(E,s+1),E,s],E=s}else s=i.indexOf(")",E+1),f=i.slice(E,s+1),s===-1||GO.test(f)?g=["(","(",E]:(g=["brackets",f,E,s],E=s);break}case 39:case 34:{u=o===39?"'":'"',s=E;do{if(p=!1,s=i.indexOf(u,s+1),s===-1)if(n||Q){s=E+1;break}else D("string");for(d=s;i.charCodeAt(d-1)===92;)d-=1,p=!p}while(p);g=["string",i.slice(E,s+1),E,s],E=s;break}case 64:{pa.lastIndex=E+1,pa.test(i),pa.lastIndex===0?s=i.length-1:s=pa.lastIndex-2,g=["at-word",i.slice(E,s+1),E,s],E=s;break}case 92:{for(s=E,c=!0;i.charCodeAt(s+1)===92;)s+=1,c=!c;if(o=i.charCodeAt(s+1),c&&o!==47&&o!==32&&o!==10&&o!==9&&o!==13&&o!==12&&(s+=1,Nm.test(i.charAt(s)))){for(;Nm.test(i.charAt(s+1));)s+=1;i.charCodeAt(s+1)===32&&(s+=1)}g=["word",i.slice(E,s+1),E,s],E=s;break}default:{o===47&&i.charCodeAt(E+1)===42?(s=i.indexOf("*/",E+2)+1,s===0&&(n||Q?s=i.length:D("comment")),g=["comment",i.slice(E,s+1),E,s],E=s):(da.lastIndex=E+1,da.test(i),da.lastIndex===0?s=i.length-1:s=da.lastIndex-2,g=["word",i.slice(E,s+1),E,s],A.push(g),E=s);break}}return E++,g}function X(K){x.push(K)}return{back:X,endOfFile:j,nextToken:ae,position:I}}});var ya=de((ID,Um)=>{"use strict";L();F();N();var Mm=Xr(),un=class extends Mm{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};Um.exports=un;un.default=un;Mm.registerAtRule(un)});var ln=de((BD,Wm)=>{"use strict";L();F();N();var jm=Xr(),qm,$m,Zr=class extends jm{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,i){let n=super.normalize(e);if(t){if(i==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let o of n)o.raws.before=t.raws.before}return n}removeChild(e,t){let i=this.index(e);return!t&&i===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[i].raws.before),super.removeChild(e)}toResult(e={}){return new qm(new $m,this,e).stringify()}};Zr.registerLazyResult=r=>{qm=r};Zr.registerProcessor=r=>{$m=r};Wm.exports=Zr;Zr.default=Zr;jm.registerRoot(Zr)});var Yl=de((DD,zm)=>{"use strict";L();F();N();var vs={comma(r){return vs.split(r,[","],!0)},space(r){let e=[" ",`
|
|
88
|
+
`," "];return vs.split(r,e)},split(r,e,t){let i=[],n="",o=!1,s=0,u=!1,f="",c=!1;for(let p of r)c?c=!1:p==="\\"?c=!0:u?p===f&&(u=!1):p==='"'||p==="'"?(u=!0,f=p):p==="("?s+=1:p===")"?s>0&&(s-=1):s===0&&e.includes(p)&&(o=!0),o?(n!==""&&i.push(n.trim()),n="",o=!1):n+=p;return(t||n!=="")&&i.push(n.trim()),i}};zm.exports=vs;vs.default=vs});var ga=de((qD,Gm)=>{"use strict";L();F();N();var Vm=Xr(),HO=Yl(),fn=class extends Vm{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return HO.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,i=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(i)}};Gm.exports=fn;fn.default=fn;Vm.registerRule(fn)});var Jm=de((VD,Km)=>{"use strict";L();F();N();var YO=cs(),KO=Dm(),JO=ys(),QO=ya(),XO=ln(),Hm=ga(),Ym={empty:!0,space:!0};function ZO(r){for(let e=r.length-1;e>=0;e--){let t=r[e],i=t[3]||t[2];if(i)return i}}var Kl=class{constructor(e){this.input=e,this.root=new XO,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new QO;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let i,n,o,s=!1,u=!1,f=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),i=e[0],i==="("||i==="["?c.push(i==="("?")":"]"):i==="{"&&c.length>0?c.push("}"):i===c[c.length-1]&&c.pop(),c.length===0)if(i===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(i==="{"){u=!0;break}else if(i==="}"){if(f.length>0){for(o=f.length-1,n=f[o];n&&n[0]==="space";)n=f[--o];n&&(t.source.end=this.getPosition(n[3]||n[2]),t.source.end.offset++)}this.end(e);break}else f.push(e);else f.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(t.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(t,"params",f),s&&(e=f[f.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),u&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let i=0,n;for(let o=t-1;o>=0&&(n=e[o],!(n[0]!=="space"&&(i+=1,i===2)));o--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(e){let t=0,i,n,o;for(let[s,u]of e.entries()){if(i=u,n=i[0],n==="("&&(t+=1),n===")"&&(t-=1),t===0&&n===":")if(!o)this.doubleColon(i);else{if(o[0]==="word"&&o[1]==="progid")continue;return s}o=i}return!1}comment(e){let t=new JO;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let i=e[1].slice(2,-2);if(/^\s*$/.test(i))t.text="",t.raws.left=i,t.raws.right="";else{let n=i.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}}createTokenizer(){this.tokenizer=KO(this.input)}decl(e,t){let i=new YO;this.init(i,e[0][2]);let n=e[e.length-1];for(n[0]===";"&&(this.semicolon=!0,e.pop()),i.source.end=this.getPosition(n[3]||n[2]||ZO(e)),i.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),i.raws.before+=e.shift()[1];for(i.source.start=this.getPosition(e[0][2]),i.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let o;for(;e.length;)if(o=e.shift(),o[0]===":"){i.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),i.raws.between+=o[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let s=[],u;for(;e.length&&(u=e[0][0],!(u!=="space"&&u!=="comment"));)s.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(o=e[c],o[1].toLowerCase()==="!important"){i.important=!0;let p=this.stringFrom(e,c);p=this.spacesFromEnd(e)+p,p!==" !important"&&(i.raws.important=p);break}else if(o[1].toLowerCase()==="important"){let p=e.slice(0),d="";for(let v=c;v>0;v--){let m=p[v][0];if(d.trim().indexOf("!")===0&&m!=="space")break;d=p.pop()[1]+d}d.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=d,e=p)}if(o[0]!=="space"&&o[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(i.raws.between+=s.map(c=>c[1]).join(""),s=[]),this.raw(i,"value",s.concat(e),t),i.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new Hm;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,i=null,n=!1,o=null,s=[],u=e[1].startsWith("--"),f=[],c=e;for(;c;){if(i=c[0],f.push(c),i==="("||i==="[")o||(o=c),s.push(i==="("?")":"]");else if(u&&n&&i==="{")o||(o=c),s.push("}");else if(s.length===0)if(i===";")if(n){this.decl(f,u);return}else break;else if(i==="{"){this.rule(f);return}else if(i==="}"){this.tokenizer.back(f.pop()),t=!0;break}else i===":"&&(n=!0);else i===s[s.length-1]&&(s.pop(),s.length===0&&(o=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(o),t&&n){if(!u)for(;f.length&&(c=f[f.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,u)}else this.unknownWord(f)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,i,n){let o,s,u=i.length,f="",c=!0,p,d;for(let v=0;v<u;v+=1)o=i[v],s=o[0],s==="space"&&v===u-1&&!n?c=!1:s==="comment"?(d=i[v-1]?i[v-1][0]:"empty",p=i[v+1]?i[v+1][0]:"empty",!Ym[d]&&!Ym[p]?f.slice(-1)===","?c=!1:f+=o[1]:c=!1):f+=o[1];if(!c){let v=i.reduce((m,g)=>m+g[1],"");e.raws[t]={raw:v,value:f}}e[t]=f}rule(e){e.pop();let t=new Hm;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,i="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)i=e.pop()[1]+i;return i}spacesAndCommentsFromStart(e){let t,i="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)i+=e.shift()[1];return i}spacesFromEnd(e){let t,i="";for(;e.length&&(t=e[e.length-1][0],t==="space");)i=e.pop()[1]+i;return i}stringFrom(e,t){let i="";for(let n=t;n<e.length;n++)i+=e[n][1];return e.splice(t,e.length-t),i}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};Km.exports=Kl});var va=de((KD,Qm)=>{"use strict";L();F();N();var eA=Xr(),tA=Jm(),rA=ps();function ma(r,e){let t=new rA(r,e),i=new tA(t);try{i.parse()}catch(n){throw n}return i.root}Qm.exports=ma;ma.default=ma;eA.registerParse(ma)});var Xl=de((eM,tv)=>{"use strict";L();F();N();var{isClean:vr,my:iA}=sa(),nA=Wl(),sA=as(),oA=Xr(),aA=ca(),ZD=Gl(),Xm=ha(),uA=va(),lA=ln(),fA={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},cA={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},hA={Once:!0,postcssPlugin:!0,prepare:!0},cn=0;function ws(r){return typeof r=="object"&&typeof r.then=="function"}function ev(r){let e=!1,t=fA[r.type];return r.type==="decl"?e=r.prop.toLowerCase():r.type==="atrule"&&(e=r.name.toLowerCase()),e&&r.append?[t,t+"-"+e,cn,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:r.append?[t,cn,t+"Exit"]:[t,t+"Exit"]}function Zm(r){let e;return r.type==="document"?e=["Document",cn,"DocumentExit"]:r.type==="root"?e=["Root",cn,"RootExit"]:e=ev(r),{eventIndex:0,events:e,iterator:0,node:r,visitorIndex:0,visitors:[]}}function Jl(r){return r[vr]=!1,r.nodes&&r.nodes.forEach(e=>Jl(e)),r}var Ql={},ei=class r{constructor(e,t,i){this.stringified=!1,this.processed=!1;let n;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))n=Jl(t);else if(t instanceof r||t instanceof Xm)n=Jl(t.root),t.map&&(typeof i.map>"u"&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=t.map);else{let o=uA;i.syntax&&(o=i.syntax.parse),i.parser&&(o=i.parser),o.parse&&(o=o.parse);try{n=o(t,i)}catch(s){this.processed=!0,this.error=s}n&&!n[iA]&&oA.rebuild(n)}this.result=new Xm(e,n,i),this.helpers={...Ql,postcss:Ql,result:this.result},this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?{...o,...o.prepare(this.result)}:o)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let i=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=i.postcssPlugin,e.setMessage()):i.postcssVersion}catch(n){console&&console.error&&console.error(n)}return e}prepareVisitors(){this.listeners={};let e=(t,i,n)=>{this.listeners[i]||(this.listeners[i]=[]),this.listeners[i].push([t,n])};for(let t of this.plugins)if(typeof t=="object")for(let i in t){if(!cA[i]&&/^[A-Z]/.test(i))throw new Error(`Unknown event ${i} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!hA[i])if(typeof t[i]=="object")for(let n in t[i])n==="*"?e(t,i,t[i][n]):e(t,i+"-"+n.toLowerCase(),t[i][n]);else typeof t[i]=="function"&&e(t,i,t[i])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],i=this.runOnRoot(t);if(ws(i))try{await i}catch(n){throw this.handleError(n)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[vr];){e[vr]=!0;let t=[Zm(e)];for(;t.length>0;){let i=this.visitTick(t);if(ws(i))try{await i}catch(n){let o=t[t.length-1].node;throw this.handleError(n,o)}}}if(this.listeners.OnceExit)for(let[t,i]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let n=e.nodes.map(o=>i(o,this.helpers));await Promise.all(n)}else await i(e,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(i=>e.Once(i,this.helpers));return ws(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=sA;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new nA(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(ws(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[vr];)e[vr]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[i,n]of e){this.result.lastPlugin=i;let o;try{o=n(t,this.helpers)}catch(s){throw this.handleError(s,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(ws(o))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:i,visitors:n}=t;if(i.type!=="root"&&i.type!=="document"&&!i.parent){e.pop();return}if(n.length>0&&t.visitorIndex<n.length){let[s,u]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=s;try{return u(i.toProxy(),this.helpers)}catch(f){throw this.handleError(f,i)}}if(t.iterator!==0){let s=t.iterator,u;for(;u=i.nodes[i.indexes[s]];)if(i.indexes[s]+=1,!u[vr]){u[vr]=!0,e.push(Zm(u));return}t.iterator=0,delete i.indexes[s]}let o=t.events;for(;t.eventIndex<o.length;){let s=o[t.eventIndex];if(t.eventIndex+=1,s===cn){i.nodes&&i.nodes.length&&(i[vr]=!0,t.iterator=i.getIterator());return}else if(this.listeners[s]){t.visitors=this.listeners[s];return}}e.pop()}walkSync(e){e[vr]=!0;let t=ev(e);for(let i of t)if(i===cn)e.nodes&&e.each(n=>{n[vr]||this.walkSync(n)});else{let n=this.listeners[i];if(n&&this.visitSync(n,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};ei.registerPostcss=r=>{Ql=r};tv.exports=ei;ei.default=ei;lA.registerLazyResult(ei);aA.registerLazyResult(ei)});var iv=de((sM,rv)=>{"use strict";L();F();N();var pA=Wl(),dA=as(),nM=Gl(),yA=va(),gA=ha(),bs=class{constructor(e,t,i){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=i,this._map=void 0;let n,o=dA;this.result=new gA(this._processor,n,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let u=new pA(o,n,this._opts,t);if(u.isMap()){let[f,c]=u.generate();f&&(this.result.css=f),c&&(this.result.map=c)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=yA;try{e=t(this._css,this._opts)}catch(i){this.error=i}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};rv.exports=bs;bs.default=bs});var sv=de((lM,nv)=>{"use strict";L();F();N();var mA=iv(),vA=Xl(),wA=ca(),bA=ln(),Ri=class{constructor(e=[]){this.version="8.4.39",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let i of e)if(i.postcss===!0?i=i():i.postcss&&(i=i.postcss),typeof i=="object"&&Array.isArray(i.plugins))t=t.concat(i.plugins);else if(typeof i=="object"&&i.postcssPlugin)t.push(i);else if(typeof i=="function")t.push(i);else if(!(typeof i=="object"&&(i.parse||i.stringify)))throw new Error(i+" is not a PostCSS plugin");return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new mA(this,e,t):new vA(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};nv.exports=Ri;Ri.default=Ri;bA.registerProcessor(Ri);wA.registerProcessor(Ri)});var av=de((pM,ov)=>{"use strict";L();F();N();var SA=cs(),EA=Dl(),_A=ys(),OA=ya(),AA=ps(),TA=ln(),RA=ga();function Ss(r,e){if(Array.isArray(r))return r.map(n=>Ss(n));let{inputs:t,...i}=r;if(t){e=[];for(let n of t){let o={...n,__proto__:AA.prototype};o.map&&(o.map={...o.map,__proto__:EA.prototype}),e.push(o)}}if(i.nodes&&(i.nodes=r.nodes.map(n=>Ss(n,e))),i.source){let{inputId:n,...o}=i.source;i.source=o,n!=null&&(i.source.input=e[n])}if(i.type==="root")return new TA(i);if(i.type==="decl")return new SA(i);if(i.type==="rule")return new RA(i);if(i.type==="comment")return new _A(i);if(i.type==="atrule")return new OA(i);throw new Error("Unknown node type: "+r.type)}ov.exports=Ss;Ss.default=Ss});var yv=de((mM,dv)=>{"use strict";L();F();N();var xA=na(),uv=cs(),IA=Xl(),kA=Xr(),Zl=sv(),PA=as(),CA=av(),lv=ca(),BA=Hl(),fv=ys(),cv=ya(),LA=ha(),NA=ps(),FA=va(),DA=Yl(),hv=ga(),pv=ln(),MA=ls();function Ve(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new Zl(r)}Ve.plugin=function(e,t){let i=!1;function n(...s){console&&console.warn&&!i&&(i=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
89
89
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),z.env.LANG&&z.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
90
|
-
https://www.w3ctech.com/topic/2226`));let u=t(...s);return u.postcssPlugin=e,u.postcssVersion=new Zl().version,u}let o;return Object.defineProperty(n,"postcss",{get(){return o||(o=n()),o}}),n.process=function(s,u,f){return
|
|
91
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yT(r,e){if(r){if(typeof r=="string")return xv(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return xv(r,e)}}function xv(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=r[t];return i}function Iv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function gT(r,e,t){return e&&Iv(r.prototype,e),t&&Iv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function mT(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,tf(r,e)}function tf(r,e){return tf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},tf(r,e)}var vT=function(r){mT(e,r);function e(i){var n;return n=r.call(this,i)||this,n.nodes||(n.nodes=[]),n}var t=e.prototype;return t.append=function(n){return n.parent=this,this.nodes.push(n),this},t.prepend=function(n){return n.parent=this,this.nodes.unshift(n),this},t.at=function(n){return this.nodes[n]},t.index=function(n){return typeof n=="number"?n:this.nodes.indexOf(n)},t.removeChild=function(n){n=this.index(n),this.at(n).parent=void 0,this.nodes.splice(n,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=n&&(this.indexes[s]=o-1);return this},t.removeAll=function(){for(var n=dT(this.nodes),o;!(o=n()).done;){var s=o.value;s.parent=void 0}return this.nodes=[],this},t.empty=function(){return this.removeAll()},t.insertAfter=function(n,o){o.parent=this;var s=this.index(n);this.nodes.splice(s+1,0,o),o.parent=this;var u;for(var f in this.indexes)u=this.indexes[f],s<=u&&(this.indexes[f]=u+1);return this},t.insertBefore=function(n,o){o.parent=this;var s=this.index(n);this.nodes.splice(s,0,o),o.parent=this;var u;for(var f in this.indexes)u=this.indexes[f],u<=s&&(this.indexes[f]=u+1);return this},t._findChildAtPosition=function(n,o){var s=void 0;return this.each(function(u){if(u.atPosition){var f=u.atPosition(n,o);if(f)return s=f,!1}else if(u.isAtPosition(n,o))return s=u,!1}),s},t.atPosition=function(n,o){if(this.isAtPosition(n,o))return this._findChildAtPosition(n,o)||this},t._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},t.each=function(n){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var o=this.lastEach;if(this.indexes[o]=0,!!this.length){for(var s,u;this.indexes[o]<this.length&&(s=this.indexes[o],u=n(this.at(s),s),u!==!1);)this.indexes[o]+=1;if(delete this.indexes[o],u===!1)return!1}},t.walk=function(n){return this.each(function(o,s){var u=n(o,s);if(u!==!1&&o.length&&(u=o.walk(n)),u===!1)return!1})},t.walkAttributes=function(n){var o=this;return this.walk(function(s){if(s.type===jr.ATTRIBUTE)return n.call(o,s)})},t.walkClasses=function(n){var o=this;return this.walk(function(s){if(s.type===jr.CLASS)return n.call(o,s)})},t.walkCombinators=function(n){var o=this;return this.walk(function(s){if(s.type===jr.COMBINATOR)return n.call(o,s)})},t.walkComments=function(n){var o=this;return this.walk(function(s){if(s.type===jr.COMMENT)return n.call(o,s)})},t.walkIds=function(n){var o=this;return this.walk(function(s){if(s.type===jr.ID)return n.call(o,s)})},t.walkNesting=function(n){var o=this;return this.walk(function(s){if(s.type===jr.NESTING)return n.call(o,s)})},t.walkPseudos=function(n){var o=this;return this.walk(function(s){if(s.type===jr.PSEUDO)return n.call(o,s)})},t.walkTags=function(n){var o=this;return this.walk(function(s){if(s.type===jr.TAG)return n.call(o,s)})},t.walkUniversals=function(n){var o=this;return this.walk(function(s){if(s.type===jr.UNIVERSAL)return n.call(o,s)})},t.split=function(n){var o=this,s=[];return this.reduce(function(u,f,c){var p=n.call(o,f);return s.push(f),p?(u.push(s),s=[]):c===o.length-1&&u.push(s),u},[])},t.map=function(n){return this.nodes.map(n)},t.reduce=function(n,o){return this.nodes.reduce(n,o)},t.every=function(n){return this.nodes.every(n)},t.some=function(n){return this.nodes.some(n)},t.filter=function(n){return this.nodes.filter(n)},t.sort=function(n){return this.nodes.sort(n)},t.toString=function(){return this.map(String).join("")},gT(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e}(cT.default);Os.default=vT;Pv.exports=Os.default});var nf=de((As,Lv)=>{"use strict";B();F();N();As.__esModule=!0;As.default=void 0;var wT=ST(Oa()),bT=bt();function ST(r){return r&&r.__esModule?r:{default:r}}function Cv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function ET(r,e,t){return e&&Cv(r.prototype,e),t&&Cv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function _T(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,rf(r,e)}function rf(r,e){return rf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},rf(r,e)}var OT=function(r){_T(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=bT.ROOT,n}var t=e.prototype;return t.toString=function(){var n=this.reduce(function(o,s){return o.push(String(s)),o},[]).join(",");return this.trailingComma?n+",":n},t.error=function(n,o){return this._error?this._error(n,o):new Error(n)},ET(e,[{key:"errorGenerator",set:function(n){this._error=n}}]),e}(wT.default);As.default=OT;Lv.exports=As.default});var of=de((Ts,Bv)=>{"use strict";B();F();N();Ts.__esModule=!0;Ts.default=void 0;var AT=RT(Oa()),TT=bt();function RT(r){return r&&r.__esModule?r:{default:r}}function xT(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,sf(r,e)}function sf(r,e){return sf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},sf(r,e)}var IT=function(r){xT(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=TT.SELECTOR,i}return e}(AT.default);Ts.default=IT;Bv.exports=Ts.default});var Aa=de((OU,Nv)=>{"use strict";B();F();N();var kT={},PT=kT.hasOwnProperty,CT=function(e,t){if(!e)return t;var i={};for(var n in t)i[n]=PT.call(e,n)?e[n]:t[n];return i},LT=/[ -,\.\/:-@\[-\^`\{-~]/,BT=/[ -,\.\/:-@\[\]\^`\{-~]/,NT=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,af=function r(e,t){t=CT(t,r.options),t.quotes!="single"&&t.quotes!="double"&&(t.quotes="single");for(var i=t.quotes=="double"?'"':"'",n=t.isIdentifier,o=e.charAt(0),s="",u=0,f=e.length;u<f;){var c=e.charAt(u++),p=c.charCodeAt(),d=void 0;if(p<32||p>126){if(p>=55296&&p<=56319&&u<f){var v=e.charCodeAt(u++);(v&64512)==56320?p=((p&1023)<<10)+(v&1023)+65536:u--}d="\\"+p.toString(16).toUpperCase()+" "}else t.escapeEverything?LT.test(c)?d="\\"+c:d="\\"+p.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(c)?d="\\"+p.toString(16).toUpperCase()+" ":c=="\\"||!n&&(c=='"'&&i==c||c=="'"&&i==c)||n&&BT.test(c)?d="\\"+c:d=c;s+=d}return n&&(/^-[-\d]/.test(s)?s="\\-"+s.slice(1):/\d/.test(o)&&(s="\\3"+o+" "+s.slice(1))),s=s.replace(NT,function(m,g,b){return g&&g.length%2?m:(g||"")+b}),!n&&t.wrap?i+s+i:s};af.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};af.version="3.0.0";Nv.exports=af});var lf=de((Rs,Mv)=>{"use strict";B();F();N();Rs.__esModule=!0;Rs.default=void 0;var FT=Dv(Aa()),DT=Es(),MT=Dv(Ur()),UT=bt();function Dv(r){return r&&r.__esModule?r:{default:r}}function Fv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function jT(r,e,t){return e&&Fv(r.prototype,e),t&&Fv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function qT(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,uf(r,e)}function uf(r,e){return uf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},uf(r,e)}var $T=function(r){qT(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=UT.CLASS,n._constructed=!0,n}var t=e.prototype;return t.valueToString=function(){return"."+r.prototype.valueToString.call(this)},jT(e,[{key:"value",get:function(){return this._value},set:function(n){if(this._constructed){var o=(0,FT.default)(n,{isIdentifier:!0});o!==n?((0,DT.ensureObject)(this,"raws"),this.raws.value=o):this.raws&&delete this.raws.value}this._value=n}}]),e}(MT.default);Rs.default=$T;Mv.exports=Rs.default});var cf=de((xs,Uv)=>{"use strict";B();F();N();xs.__esModule=!0;xs.default=void 0;var WT=VT(Ur()),zT=bt();function VT(r){return r&&r.__esModule?r:{default:r}}function GT(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,ff(r,e)}function ff(r,e){return ff=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},ff(r,e)}var HT=function(r){GT(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=zT.COMMENT,i}return e}(WT.default);xs.default=HT;Uv.exports=xs.default});var pf=de((Is,jv)=>{"use strict";B();F();N();Is.__esModule=!0;Is.default=void 0;var YT=JT(Ur()),KT=bt();function JT(r){return r&&r.__esModule?r:{default:r}}function QT(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,hf(r,e)}function hf(r,e){return hf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},hf(r,e)}var XT=function(r){QT(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=KT.ID,n}var t=e.prototype;return t.valueToString=function(){return"#"+r.prototype.valueToString.call(this)},e}(YT.default);Is.default=XT;jv.exports=Is.default});var Ta=de((ks,Wv)=>{"use strict";B();F();N();ks.__esModule=!0;ks.default=void 0;var ZT=$v(Aa()),eR=Es(),tR=$v(Ur());function $v(r){return r&&r.__esModule?r:{default:r}}function qv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function rR(r,e,t){return e&&qv(r.prototype,e),t&&qv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function iR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,df(r,e)}function df(r,e){return df=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},df(r,e)}var nR=function(r){iR(e,r);function e(){return r.apply(this,arguments)||this}var t=e.prototype;return t.qualifiedName=function(n){return this.namespace?this.namespaceString+"|"+n:n},t.valueToString=function(){return this.qualifiedName(r.prototype.valueToString.call(this))},rR(e,[{key:"namespace",get:function(){return this._namespace},set:function(n){if(n===!0||n==="*"||n==="&"){this._namespace=n,this.raws&&delete this.raws.namespace;return}var o=(0,ZT.default)(n,{isIdentifier:!0});this._namespace=n,o!==n?((0,eR.ensureObject)(this,"raws"),this.raws.namespace=o):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(n){this.namespace=n}},{key:"namespaceString",get:function(){if(this.namespace){var n=this.stringifyProperty("namespace");return n===!0?"":n}else return""}}]),e}(tR.default);ks.default=nR;Wv.exports=ks.default});var gf=de((Ps,zv)=>{"use strict";B();F();N();Ps.__esModule=!0;Ps.default=void 0;var sR=aR(Ta()),oR=bt();function aR(r){return r&&r.__esModule?r:{default:r}}function uR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,yf(r,e)}function yf(r,e){return yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},yf(r,e)}var lR=function(r){uR(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=oR.TAG,i}return e}(sR.default);Ps.default=lR;zv.exports=Ps.default});var vf=de((Cs,Vv)=>{"use strict";B();F();N();Cs.__esModule=!0;Cs.default=void 0;var fR=hR(Ur()),cR=bt();function hR(r){return r&&r.__esModule?r:{default:r}}function pR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,mf(r,e)}function mf(r,e){return mf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},mf(r,e)}var dR=function(r){pR(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=cR.STRING,i}return e}(fR.default);Cs.default=dR;Vv.exports=Cs.default});var bf=de((Ls,Gv)=>{"use strict";B();F();N();Ls.__esModule=!0;Ls.default=void 0;var yR=mR(Oa()),gR=bt();function mR(r){return r&&r.__esModule?r:{default:r}}function vR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,wf(r,e)}function wf(r,e){return wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},wf(r,e)}var wR=function(r){vR(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=gR.PSEUDO,n}var t=e.prototype;return t.toString=function(){var n=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),n,this.rawSpaceAfter].join("")},e}(yR.default);Ls.default=wR;Gv.exports=Ls.default});var Yv=de((KU,Hv)=>{B();F();N();Hv.exports=bR;function bR(r,e){if(Sf("noDeprecation"))return r;var t=!1;function i(){if(!t){if(Sf("throwDeprecation"))throw new Error(e);Sf("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return i}function Sf(r){try{if(!window.localStorage)return!1}catch{return!1}var e=window.localStorage[r];return e==null?!1:String(e).toLowerCase()==="true"}});var Rf=de(Fs=>{"use strict";B();F();N();Fs.__esModule=!0;Fs.default=void 0;Fs.unescapeValue=Tf;var Bs=Af(Aa()),SR=Af(ef()),ER=Af(Ta()),_R=bt(),Ef;function Af(r){return r&&r.__esModule?r:{default:r}}function Kv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function OR(r,e,t){return e&&Kv(r.prototype,e),t&&Kv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function AR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,Of(r,e)}function Of(r,e){return Of=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},Of(r,e)}var Ns=Yv(),TR=/^('|")([^]*)\1$/,RR=Ns(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),xR=Ns(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),IR=Ns(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function Tf(r){var e=!1,t=null,i=r,n=i.match(TR);return n&&(t=n[1],i=n[2]),i=(0,SR.default)(i),i!==r&&(e=!0),{deprecatedUsage:e,unescaped:i,quoteMark:t}}function kR(r){if(r.quoteMark!==void 0||r.value===void 0)return r;IR();var e=Tf(r.value),t=e.quoteMark,i=e.unescaped;return r.raws||(r.raws={}),r.raws.value===void 0&&(r.raws.value=r.value),r.value=i,r.quoteMark=t,r}var Ra=function(r){AR(e,r);function e(i){var n;return i===void 0&&(i={}),n=r.call(this,kR(i))||this,n.type=_R.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:Ns(function(){return n.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Ns(function(){return n.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),n._constructed=!0,n}var t=e.prototype;return t.getQuotedValue=function(n){n===void 0&&(n={});var o=this._determineQuoteMark(n),s=_f[o],u=(0,Bs.default)(this._value,s);return u},t._determineQuoteMark=function(n){return n.smart?this.smartQuoteMark(n):this.preferredQuoteMark(n)},t.setValue=function(n,o){o===void 0&&(o={}),this._value=n,this._quoteMark=this._determineQuoteMark(o),this._syncRawValue()},t.smartQuoteMark=function(n){var o=this.value,s=o.replace(/[^']/g,"").length,u=o.replace(/[^"]/g,"").length;if(s+u===0){var f=(0,Bs.default)(o,{isIdentifier:!0});if(f===o)return e.NO_QUOTE;var c=this.preferredQuoteMark(n);if(c===e.NO_QUOTE){var p=this.quoteMark||n.quoteMark||e.DOUBLE_QUOTE,d=_f[p],v=(0,Bs.default)(o,d);if(v.length<f.length)return p}return c}else return u===s?this.preferredQuoteMark(n):u<s?e.DOUBLE_QUOTE:e.SINGLE_QUOTE},t.preferredQuoteMark=function(n){var o=n.preferCurrentQuoteMark?this.quoteMark:n.quoteMark;return o===void 0&&(o=n.preferCurrentQuoteMark?n.quoteMark:this.quoteMark),o===void 0&&(o=e.DOUBLE_QUOTE),o},t._syncRawValue=function(){var n=(0,Bs.default)(this._value,_f[this.quoteMark]);n===this._value?this.raws&&delete this.raws.value:this.raws.value=n},t._handleEscapes=function(n,o){if(this._constructed){var s=(0,Bs.default)(o,{isIdentifier:!0});s!==o?this.raws[n]=s:delete this.raws[n]}},t._spacesFor=function(n){var o={before:"",after:""},s=this.spaces[n]||{},u=this.raws.spaces&&this.raws.spaces[n]||{};return Object.assign(o,s,u)},t._stringFor=function(n,o,s){o===void 0&&(o=n),s===void 0&&(s=Jv);var u=this._spacesFor(o);return s(this.stringifyProperty(n),u)},t.offsetOf=function(n){var o=1,s=this._spacesFor("attribute");if(o+=s.before.length,n==="namespace"||n==="ns")return this.namespace?o:-1;if(n==="attributeNS"||(o+=this.namespaceString.length,this.namespace&&(o+=1),n==="attribute"))return o;o+=this.stringifyProperty("attribute").length,o+=s.after.length;var u=this._spacesFor("operator");o+=u.before.length;var f=this.stringifyProperty("operator");if(n==="operator")return f?o:-1;o+=f.length,o+=u.after.length;var c=this._spacesFor("value");o+=c.before.length;var p=this.stringifyProperty("value");if(n==="value")return p?o:-1;o+=p.length,o+=c.after.length;var d=this._spacesFor("insensitive");return o+=d.before.length,n==="insensitive"&&this.insensitive?o:-1},t.toString=function(){var n=this,o=[this.rawSpaceBefore,"["];return o.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(o.push(this._stringFor("operator")),o.push(this._stringFor("value")),o.push(this._stringFor("insensitiveFlag","insensitive",function(s,u){return s.length>0&&!n.quoted&&u.before.length===0&&!(n.spaces.value&&n.spaces.value.after)&&(u.before=" "),Jv(s,u)}))),o.push("]"),o.push(this.rawSpaceAfter),o.join("")},OR(e,[{key:"quoted",get:function(){var n=this.quoteMark;return n==="'"||n==='"'},set:function(n){xR()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(n){if(!this._constructed){this._quoteMark=n;return}this._quoteMark!==n&&(this._quoteMark=n,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(n){if(this._constructed){var o=Tf(n),s=o.deprecatedUsage,u=o.unescaped,f=o.quoteMark;if(s&&RR(),u===this._value&&f===this._quoteMark)return;this._value=u,this._quoteMark=f,this._syncRawValue()}else this._value=n}},{key:"insensitive",get:function(){return this._insensitive},set:function(n){n||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=n}},{key:"attribute",get:function(){return this._attribute},set:function(n){this._handleEscapes("attribute",n),this._attribute=n}}]),e}(ER.default);Fs.default=Ra;Ra.NO_QUOTE=null;Ra.SINGLE_QUOTE="'";Ra.DOUBLE_QUOTE='"';var _f=(Ef={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},Ef[null]={isIdentifier:!0},Ef);function Jv(r,e){return""+e.before+r+e.after}});var If=de((Ds,Qv)=>{"use strict";B();F();N();Ds.__esModule=!0;Ds.default=void 0;var PR=LR(Ta()),CR=bt();function LR(r){return r&&r.__esModule?r:{default:r}}function BR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,xf(r,e)}function xf(r,e){return xf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},xf(r,e)}var NR=function(r){BR(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=CR.UNIVERSAL,i.value="*",i}return e}(PR.default);Ds.default=NR;Qv.exports=Ds.default});var Pf=de((Ms,Xv)=>{"use strict";B();F();N();Ms.__esModule=!0;Ms.default=void 0;var FR=MR(Ur()),DR=bt();function MR(r){return r&&r.__esModule?r:{default:r}}function UR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,kf(r,e)}function kf(r,e){return kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},kf(r,e)}var jR=function(r){UR(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=DR.COMBINATOR,i}return e}(FR.default);Ms.default=jR;Xv.exports=Ms.default});var Lf=de((Us,Zv)=>{"use strict";B();F();N();Us.__esModule=!0;Us.default=void 0;var qR=WR(Ur()),$R=bt();function WR(r){return r&&r.__esModule?r:{default:r}}function zR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,Cf(r,e)}function Cf(r,e){return Cf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},Cf(r,e)}var VR=function(r){zR(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=$R.NESTING,i.value="&",i}return e}(qR.default);Us.default=VR;Zv.exports=Us.default});var tw=de((xa,ew)=>{"use strict";B();F();N();xa.__esModule=!0;xa.default=GR;function GR(r){return r.sort(function(e,t){return e-t})}ew.exports=xa.default});var Bf=de(ye=>{"use strict";B();F();N();ye.__esModule=!0;ye.word=ye.tilde=ye.tab=ye.str=ye.space=ye.slash=ye.singleQuote=ye.semicolon=ye.plus=ye.pipe=ye.openSquare=ye.openParenthesis=ye.newline=ye.greaterThan=ye.feed=ye.equals=ye.doubleQuote=ye.dollar=ye.cr=ye.comment=ye.comma=ye.combinator=ye.colon=ye.closeSquare=ye.closeParenthesis=ye.caret=ye.bang=ye.backslash=ye.at=ye.asterisk=ye.ampersand=void 0;var HR=38;ye.ampersand=HR;var YR=42;ye.asterisk=YR;var KR=64;ye.at=KR;var JR=44;ye.comma=JR;var QR=58;ye.colon=QR;var XR=59;ye.semicolon=XR;var ZR=40;ye.openParenthesis=ZR;var e2=41;ye.closeParenthesis=e2;var t2=91;ye.openSquare=t2;var r2=93;ye.closeSquare=r2;var i2=36;ye.dollar=i2;var n2=126;ye.tilde=n2;var s2=94;ye.caret=s2;var o2=43;ye.plus=o2;var a2=61;ye.equals=a2;var u2=124;ye.pipe=u2;var l2=62;ye.greaterThan=l2;var f2=32;ye.space=f2;var rw=39;ye.singleQuote=rw;var c2=34;ye.doubleQuote=c2;var h2=47;ye.slash=h2;var p2=33;ye.bang=p2;var d2=92;ye.backslash=d2;var y2=13;ye.cr=y2;var g2=12;ye.feed=g2;var m2=10;ye.newline=m2;var v2=9;ye.tab=v2;var w2=rw;ye.str=w2;var b2=-1;ye.comment=b2;var S2=-2;ye.word=S2;var E2=-3;ye.combinator=E2});var sw=de(js=>{"use strict";B();F();N();js.__esModule=!0;js.FIELDS=void 0;js.default=I2;var le=_2(Bf()),hn,He;function nw(r){if(typeof WeakMap!="function")return null;var e=new WeakMap,t=new WeakMap;return(nw=function(n){return n?t:e})(r)}function _2(r,e){if(!e&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var t=nw(e);if(t&&t.has(r))return t.get(r);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in r)if(o!=="default"&&Object.prototype.hasOwnProperty.call(r,o)){var s=n?Object.getOwnPropertyDescriptor(r,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=r[o]}return i.default=r,t&&t.set(r,i),i}var O2=(hn={},hn[le.tab]=!0,hn[le.newline]=!0,hn[le.cr]=!0,hn[le.feed]=!0,hn),A2=(He={},He[le.space]=!0,He[le.tab]=!0,He[le.newline]=!0,He[le.cr]=!0,He[le.feed]=!0,He[le.ampersand]=!0,He[le.asterisk]=!0,He[le.bang]=!0,He[le.comma]=!0,He[le.colon]=!0,He[le.semicolon]=!0,He[le.openParenthesis]=!0,He[le.closeParenthesis]=!0,He[le.openSquare]=!0,He[le.closeSquare]=!0,He[le.singleQuote]=!0,He[le.doubleQuote]=!0,He[le.plus]=!0,He[le.pipe]=!0,He[le.tilde]=!0,He[le.greaterThan]=!0,He[le.equals]=!0,He[le.dollar]=!0,He[le.caret]=!0,He[le.slash]=!0,He),Nf={},iw="0123456789abcdefABCDEF";for(Ia=0;Ia<iw.length;Ia++)Nf[iw.charCodeAt(Ia)]=!0;var Ia;function T2(r,e){var t=e,i;do{if(i=r.charCodeAt(t),A2[i])return t-1;i===le.backslash?t=R2(r,t)+1:t++}while(t<r.length);return t-1}function R2(r,e){var t=e,i=r.charCodeAt(t+1);if(!O2[i])if(Nf[i]){var n=0;do t++,n++,i=r.charCodeAt(t+1);while(Nf[i]&&n<6);n<6&&i===le.space&&t++}else t++;return t}var x2={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};js.FIELDS=x2;function I2(r){var e=[],t=r.css.valueOf(),i=t,n=i.length,o=-1,s=1,u=0,f=0,c,p,d,v,m,g,b,E,A,x,I,D,j;function ae(X,K){if(r.safe)t+=K,A=t.length-1;else throw r.error("Unclosed "+X,s,u-o,u)}for(;u<n;){switch(c=t.charCodeAt(u),c===le.newline&&(o=u,s+=1),c){case le.space:case le.tab:case le.newline:case le.cr:case le.feed:A=u;do A+=1,c=t.charCodeAt(A),c===le.newline&&(o=A,s+=1);while(c===le.space||c===le.newline||c===le.tab||c===le.cr||c===le.feed);j=le.space,v=s,d=A-o-1,f=A;break;case le.plus:case le.greaterThan:case le.tilde:case le.pipe:A=u;do A+=1,c=t.charCodeAt(A);while(c===le.plus||c===le.greaterThan||c===le.tilde||c===le.pipe);j=le.combinator,v=s,d=u-o,f=A;break;case le.asterisk:case le.ampersand:case le.bang:case le.comma:case le.equals:case le.dollar:case le.caret:case le.openSquare:case le.closeSquare:case le.colon:case le.semicolon:case le.openParenthesis:case le.closeParenthesis:A=u,j=c,v=s,d=u-o,f=A+1;break;case le.singleQuote:case le.doubleQuote:D=c===le.singleQuote?"'":'"',A=u;do for(m=!1,A=t.indexOf(D,A+1),A===-1&&ae("quote",D),g=A;t.charCodeAt(g-1)===le.backslash;)g-=1,m=!m;while(m);j=le.str,v=s,d=u-o,f=A+1;break;default:c===le.slash&&t.charCodeAt(u+1)===le.asterisk?(A=t.indexOf("*/",u+2)+1,A===0&&ae("comment","*/"),p=t.slice(u,A+1),E=p.split(`
|
|
92
|
-
`),b=E.length-1,b>0?(x=s+b,I=A-E[b].length):(x=s,I=o),j=le.comment,s=x,v=x,d=A-I):c===le.slash?(A=u,j=c,v=s,d=u-o,f=A+1):(A=T2(t,u),j=le.word,v=s,d=A-o),f=A+1;break}e.push([j,s,u-o,v,d,u,f]),I&&(o=I,I=null),u=f}return e}});var pw=de((qs,hw)=>{"use strict";B();F();N();qs.__esModule=!0;qs.default=void 0;var k2=Kt(nf()),Ff=Kt(of()),P2=Kt(lf()),ow=Kt(cf()),C2=Kt(pf()),L2=Kt(gf()),Df=Kt(vf()),B2=Kt(bf()),aw=ka(Rf()),N2=Kt(If()),Mf=Kt(Pf()),F2=Kt(Lf()),D2=Kt(tw()),oe=ka(sw()),pe=ka(Bf()),M2=ka(bt()),et=Es(),xi,Uf;function cw(r){if(typeof WeakMap!="function")return null;var e=new WeakMap,t=new WeakMap;return(cw=function(n){return n?t:e})(r)}function ka(r,e){if(!e&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var t=cw(e);if(t&&t.has(r))return t.get(r);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in r)if(o!=="default"&&Object.prototype.hasOwnProperty.call(r,o)){var s=n?Object.getOwnPropertyDescriptor(r,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=r[o]}return i.default=r,t&&t.set(r,i),i}function Kt(r){return r&&r.__esModule?r:{default:r}}function uw(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function U2(r,e,t){return e&&uw(r.prototype,e),t&&uw(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}var $f=(xi={},xi[pe.space]=!0,xi[pe.cr]=!0,xi[pe.feed]=!0,xi[pe.newline]=!0,xi[pe.tab]=!0,xi),j2=Object.assign({},$f,(Uf={},Uf[pe.comment]=!0,Uf));function lw(r){return{line:r[oe.FIELDS.START_LINE],column:r[oe.FIELDS.START_COL]}}function fw(r){return{line:r[oe.FIELDS.END_LINE],column:r[oe.FIELDS.END_COL]}}function Ii(r,e,t,i){return{start:{line:r,column:e},end:{line:t,column:i}}}function pn(r){return Ii(r[oe.FIELDS.START_LINE],r[oe.FIELDS.START_COL],r[oe.FIELDS.END_LINE],r[oe.FIELDS.END_COL])}function jf(r,e){if(r)return Ii(r[oe.FIELDS.START_LINE],r[oe.FIELDS.START_COL],e[oe.FIELDS.END_LINE],e[oe.FIELDS.END_COL])}function dn(r,e){var t=r[e];if(typeof t=="string")return t.indexOf("\\")!==-1&&((0,et.ensureObject)(r,"raws"),r[e]=(0,et.unesc)(t),r.raws[e]===void 0&&(r.raws[e]=t)),r}function qf(r,e){for(var t=-1,i=[];(t=r.indexOf(e,t+1))!==-1;)i.push(t);return i}function q2(){var r=Array.prototype.concat.apply([],arguments);return r.filter(function(e,t){return t===r.indexOf(e)})}var $2=function(){function r(t,i){i===void 0&&(i={}),this.rule=t,this.options=Object.assign({lossy:!1,safe:!1},i),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,oe.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var n=jf(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new k2.default({source:n}),this.root.errorGenerator=this._errorGenerator();var o=new Ff.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(o),this.current=o,this.loop()}var e=r.prototype;return e._errorGenerator=function(){var i=this;return function(n,o){return typeof i.rule=="string"?new Error(n):i.rule.error(n,o)}},e.attribute=function(){var i=[],n=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[oe.FIELDS.TYPE]!==pe.closeSquare;)i.push(this.currToken),this.position++;if(this.currToken[oe.FIELDS.TYPE]!==pe.closeSquare)return this.expected("closing square bracket",this.currToken[oe.FIELDS.START_POS]);var o=i.length,s={source:Ii(n[1],n[2],this.currToken[3],this.currToken[4]),sourceIndex:n[oe.FIELDS.START_POS]};if(o===1&&!~[pe.word].indexOf(i[0][oe.FIELDS.TYPE]))return this.expected("attribute",i[0][oe.FIELDS.START_POS]);for(var u=0,f="",c="",p=null,d=!1;u<o;){var v=i[u],m=this.content(v),g=i[u+1];switch(v[oe.FIELDS.TYPE]){case pe.space:if(d=!0,this.options.lossy)break;if(p){(0,et.ensureObject)(s,"spaces",p);var b=s.spaces[p].after||"";s.spaces[p].after=b+m;var E=(0,et.getProp)(s,"raws","spaces",p,"after")||null;E&&(s.raws.spaces[p].after=E+m)}else f=f+m,c=c+m;break;case pe.asterisk:if(g[oe.FIELDS.TYPE]===pe.equals)s.operator=m,p="operator";else if((!s.namespace||p==="namespace"&&!d)&&g){f&&((0,et.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=f,f=""),c&&((0,et.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=f,c=""),s.namespace=(s.namespace||"")+m;var A=(0,et.getProp)(s,"raws","namespace")||null;A&&(s.raws.namespace+=m),p="namespace"}d=!1;break;case pe.dollar:if(p==="value"){var x=(0,et.getProp)(s,"raws","value");s.value+="$",x&&(s.raws.value=x+"$");break}case pe.caret:g[oe.FIELDS.TYPE]===pe.equals&&(s.operator=m,p="operator"),d=!1;break;case pe.combinator:if(m==="~"&&g[oe.FIELDS.TYPE]===pe.equals&&(s.operator=m,p="operator"),m!=="|"){d=!1;break}g[oe.FIELDS.TYPE]===pe.equals?(s.operator=m,p="operator"):!s.namespace&&!s.attribute&&(s.namespace=!0),d=!1;break;case pe.word:if(g&&this.content(g)==="|"&&i[u+2]&&i[u+2][oe.FIELDS.TYPE]!==pe.equals&&!s.operator&&!s.namespace)s.namespace=m,p="namespace";else if(!s.attribute||p==="attribute"&&!d){f&&((0,et.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=f,f=""),c&&((0,et.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=c,c=""),s.attribute=(s.attribute||"")+m;var I=(0,et.getProp)(s,"raws","attribute")||null;I&&(s.raws.attribute+=m),p="attribute"}else if(!s.value&&s.value!==""||p==="value"&&!(d||s.quoteMark)){var D=(0,et.unesc)(m),j=(0,et.getProp)(s,"raws","value")||"",ae=s.value||"";s.value=ae+D,s.quoteMark=null,(D!==m||j)&&((0,et.ensureObject)(s,"raws"),s.raws.value=(j||ae)+m),p="value"}else{var X=m==="i"||m==="I";(s.value||s.value==="")&&(s.quoteMark||d)?(s.insensitive=X,(!X||m==="I")&&((0,et.ensureObject)(s,"raws"),s.raws.insensitiveFlag=m),p="insensitive",f&&((0,et.ensureObject)(s,"spaces","insensitive"),s.spaces.insensitive.before=f,f=""),c&&((0,et.ensureObject)(s,"raws","spaces","insensitive"),s.raws.spaces.insensitive.before=c,c="")):(s.value||s.value==="")&&(p="value",s.value+=m,s.raws.value&&(s.raws.value+=m))}d=!1;break;case pe.str:if(!s.attribute||!s.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:v[oe.FIELDS.START_POS]});var K=(0,aw.unescapeValue)(m),Q=K.unescaped,se=K.quoteMark;s.value=Q,s.quoteMark=se,p="value",(0,et.ensureObject)(s,"raws"),s.raws.value=m,d=!1;break;case pe.equals:if(!s.attribute)return this.expected("attribute",v[oe.FIELDS.START_POS],m);if(s.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:v[oe.FIELDS.START_POS]});s.operator=s.operator?s.operator+m:m,p="operator",d=!1;break;case pe.comment:if(p)if(d||g&&g[oe.FIELDS.TYPE]===pe.space||p==="insensitive"){var _e=(0,et.getProp)(s,"spaces",p,"after")||"",Oe=(0,et.getProp)(s,"raws","spaces",p,"after")||_e;(0,et.ensureObject)(s,"raws","spaces",p),s.raws.spaces[p].after=Oe+m}else{var Ce=s[p]||"",Ee=(0,et.getProp)(s,"raws",p)||Ce;(0,et.ensureObject)(s,"raws"),s.raws[p]=Ee+m}else c=c+m;break;default:return this.error('Unexpected "'+m+'" found.',{index:v[oe.FIELDS.START_POS]})}u++}dn(s,"attribute"),dn(s,"namespace"),this.newNode(new aw.default(s)),this.position++},e.parseWhitespaceEquivalentTokens=function(i){i<0&&(i=this.tokens.length);var n=this.position,o=[],s="",u=void 0;do if($f[this.currToken[oe.FIELDS.TYPE]])this.options.lossy||(s+=this.content());else if(this.currToken[oe.FIELDS.TYPE]===pe.comment){var f={};s&&(f.before=s,s=""),u=new ow.default({value:this.content(),source:pn(this.currToken),sourceIndex:this.currToken[oe.FIELDS.START_POS],spaces:f}),o.push(u)}while(++this.position<i);if(s){if(u)u.spaces.after=s;else if(!this.options.lossy){var c=this.tokens[n],p=this.tokens[this.position-1];o.push(new Df.default({value:"",source:Ii(c[oe.FIELDS.START_LINE],c[oe.FIELDS.START_COL],p[oe.FIELDS.END_LINE],p[oe.FIELDS.END_COL]),sourceIndex:c[oe.FIELDS.START_POS],spaces:{before:s,after:""}}))}}return o},e.convertWhitespaceNodesToSpace=function(i,n){var o=this;n===void 0&&(n=!1);var s="",u="";i.forEach(function(c){var p=o.lossySpace(c.spaces.before,n),d=o.lossySpace(c.rawSpaceBefore,n);s+=p+o.lossySpace(c.spaces.after,n&&p.length===0),u+=p+c.value+o.lossySpace(c.rawSpaceAfter,n&&d.length===0)}),u===s&&(u=void 0);var f={space:s,rawSpace:u};return f},e.isNamedCombinator=function(i){return i===void 0&&(i=this.position),this.tokens[i+0]&&this.tokens[i+0][oe.FIELDS.TYPE]===pe.slash&&this.tokens[i+1]&&this.tokens[i+1][oe.FIELDS.TYPE]===pe.word&&this.tokens[i+2]&&this.tokens[i+2][oe.FIELDS.TYPE]===pe.slash},e.namedCombinator=function(){if(this.isNamedCombinator()){var i=this.content(this.tokens[this.position+1]),n=(0,et.unesc)(i).toLowerCase(),o={};n!==i&&(o.value="/"+i+"/");var s=new Mf.default({value:"/"+n+"/",source:Ii(this.currToken[oe.FIELDS.START_LINE],this.currToken[oe.FIELDS.START_COL],this.tokens[this.position+2][oe.FIELDS.END_LINE],this.tokens[this.position+2][oe.FIELDS.END_COL]),sourceIndex:this.currToken[oe.FIELDS.START_POS],raws:o});return this.position=this.position+3,s}else this.unexpected()},e.combinator=function(){var i=this;if(this.content()==="|")return this.namespace();var n=this.locateNextMeaningfulToken(this.position);if(n<0||this.tokens[n][oe.FIELDS.TYPE]===pe.comma){var o=this.parseWhitespaceEquivalentTokens(n);if(o.length>0){var s=this.current.last;if(s){var u=this.convertWhitespaceNodesToSpace(o),f=u.space,c=u.rawSpace;c!==void 0&&(s.rawSpaceAfter+=c),s.spaces.after+=f}else o.forEach(function(j){return i.newNode(j)})}return}var p=this.currToken,d=void 0;n>this.position&&(d=this.parseWhitespaceEquivalentTokens(n));var v;if(this.isNamedCombinator()?v=this.namedCombinator():this.currToken[oe.FIELDS.TYPE]===pe.combinator?(v=new Mf.default({value:this.content(),source:pn(this.currToken),sourceIndex:this.currToken[oe.FIELDS.START_POS]}),this.position++):$f[this.currToken[oe.FIELDS.TYPE]]||d||this.unexpected(),v){if(d){var m=this.convertWhitespaceNodesToSpace(d),g=m.space,b=m.rawSpace;v.spaces.before=g,v.rawSpaceBefore=b}}else{var E=this.convertWhitespaceNodesToSpace(d,!0),A=E.space,x=E.rawSpace;x||(x=A);var I={},D={spaces:{}};A.endsWith(" ")&&x.endsWith(" ")?(I.before=A.slice(0,A.length-1),D.spaces.before=x.slice(0,x.length-1)):A.startsWith(" ")&&x.startsWith(" ")?(I.after=A.slice(1),D.spaces.after=x.slice(1)):D.value=x,v=new Mf.default({value:" ",source:jf(p,this.tokens[this.position-1]),sourceIndex:p[oe.FIELDS.START_POS],spaces:I,raws:D})}return this.currToken&&this.currToken[oe.FIELDS.TYPE]===pe.space&&(v.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(v)},e.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var i=new Ff.default({source:{start:lw(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][oe.FIELDS.START_POS]});this.current.parent.append(i),this.current=i,this.position++},e.comment=function(){var i=this.currToken;this.newNode(new ow.default({value:this.content(),source:pn(i),sourceIndex:i[oe.FIELDS.START_POS]})),this.position++},e.error=function(i,n){throw this.root.error(i,n)},e.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[oe.FIELDS.START_POS]})},e.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[oe.FIELDS.START_POS])},e.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[oe.FIELDS.START_POS])},e.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[oe.FIELDS.START_POS])},e.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[oe.FIELDS.START_POS])},e.namespace=function(){var i=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[oe.FIELDS.TYPE]===pe.word)return this.position++,this.word(i);if(this.nextToken[oe.FIELDS.TYPE]===pe.asterisk)return this.position++,this.universal(i);this.unexpectedPipe()},e.nesting=function(){if(this.nextToken){var i=this.content(this.nextToken);if(i==="|"){this.position++;return}}var n=this.currToken;this.newNode(new F2.default({value:this.content(),source:pn(n),sourceIndex:n[oe.FIELDS.START_POS]})),this.position++},e.parentheses=function(){var i=this.current.last,n=1;if(this.position++,i&&i.type===M2.PSEUDO){var o=new Ff.default({source:{start:lw(this.tokens[this.position])},sourceIndex:this.tokens[this.position][oe.FIELDS.START_POS]}),s=this.current;for(i.append(o),this.current=o;this.position<this.tokens.length&&n;)this.currToken[oe.FIELDS.TYPE]===pe.openParenthesis&&n++,this.currToken[oe.FIELDS.TYPE]===pe.closeParenthesis&&n--,n?this.parse():(this.current.source.end=fw(this.currToken),this.current.parent.source.end=fw(this.currToken),this.position++);this.current=s}else{for(var u=this.currToken,f="(",c;this.position<this.tokens.length&&n;)this.currToken[oe.FIELDS.TYPE]===pe.openParenthesis&&n++,this.currToken[oe.FIELDS.TYPE]===pe.closeParenthesis&&n--,c=this.currToken,f+=this.parseParenthesisToken(this.currToken),this.position++;i?i.appendToPropertyAndEscape("value",f,f):this.newNode(new Df.default({value:f,source:Ii(u[oe.FIELDS.START_LINE],u[oe.FIELDS.START_COL],c[oe.FIELDS.END_LINE],c[oe.FIELDS.END_COL]),sourceIndex:u[oe.FIELDS.START_POS]}))}if(n)return this.expected("closing parenthesis",this.currToken[oe.FIELDS.START_POS])},e.pseudo=function(){for(var i=this,n="",o=this.currToken;this.currToken&&this.currToken[oe.FIELDS.TYPE]===pe.colon;)n+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[oe.FIELDS.TYPE]===pe.word)this.splitWord(!1,function(s,u){n+=s,i.newNode(new B2.default({value:n,source:jf(o,i.currToken),sourceIndex:o[oe.FIELDS.START_POS]})),u>1&&i.nextToken&&i.nextToken[oe.FIELDS.TYPE]===pe.openParenthesis&&i.error("Misplaced parenthesis.",{index:i.nextToken[oe.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[oe.FIELDS.START_POS])},e.space=function(){var i=this.content();this.position===0||this.prevToken[oe.FIELDS.TYPE]===pe.comma||this.prevToken[oe.FIELDS.TYPE]===pe.openParenthesis||this.current.nodes.every(function(n){return n.type==="comment"})?(this.spaces=this.optionalSpace(i),this.position++):this.position===this.tokens.length-1||this.nextToken[oe.FIELDS.TYPE]===pe.comma||this.nextToken[oe.FIELDS.TYPE]===pe.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(i),this.position++):this.combinator()},e.string=function(){var i=this.currToken;this.newNode(new Df.default({value:this.content(),source:pn(i),sourceIndex:i[oe.FIELDS.START_POS]})),this.position++},e.universal=function(i){var n=this.nextToken;if(n&&this.content(n)==="|")return this.position++,this.namespace();var o=this.currToken;this.newNode(new N2.default({value:this.content(),source:pn(o),sourceIndex:o[oe.FIELDS.START_POS]}),i),this.position++},e.splitWord=function(i,n){for(var o=this,s=this.nextToken,u=this.content();s&&~[pe.dollar,pe.caret,pe.equals,pe.word].indexOf(s[oe.FIELDS.TYPE]);){this.position++;var f=this.content();if(u+=f,f.lastIndexOf("\\")===f.length-1){var c=this.nextToken;c&&c[oe.FIELDS.TYPE]===pe.space&&(u+=this.requiredSpace(this.content(c)),this.position++)}s=this.nextToken}var p=qf(u,".").filter(function(g){var b=u[g-1]==="\\",E=/^\d+\.\d+%$/.test(u);return!b&&!E}),d=qf(u,"#").filter(function(g){return u[g-1]!=="\\"}),v=qf(u,"#{");v.length&&(d=d.filter(function(g){return!~v.indexOf(g)}));var m=(0,D2.default)(q2([0].concat(p,d)));m.forEach(function(g,b){var E=m[b+1]||u.length,A=u.slice(g,E);if(b===0&&n)return n.call(o,A,m.length);var x,I=o.currToken,D=I[oe.FIELDS.START_POS]+m[b],j=Ii(I[1],I[2]+g,I[3],I[2]+(E-1));if(~p.indexOf(g)){var ae={value:A.slice(1),source:j,sourceIndex:D};x=new P2.default(dn(ae,"value"))}else if(~d.indexOf(g)){var X={value:A.slice(1),source:j,sourceIndex:D};x=new C2.default(dn(X,"value"))}else{var K={value:A,source:j,sourceIndex:D};dn(K,"value"),x=new L2.default(K)}o.newNode(x,i),i=null}),this.position++},e.word=function(i){var n=this.nextToken;return n&&this.content(n)==="|"?(this.position++,this.namespace()):this.splitWord(i)},e.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.parse=function(i){switch(this.currToken[oe.FIELDS.TYPE]){case pe.space:this.space();break;case pe.comment:this.comment();break;case pe.openParenthesis:this.parentheses();break;case pe.closeParenthesis:i&&this.missingParenthesis();break;case pe.openSquare:this.attribute();break;case pe.dollar:case pe.caret:case pe.equals:case pe.word:this.word();break;case pe.colon:this.pseudo();break;case pe.comma:this.comma();break;case pe.asterisk:this.universal();break;case pe.ampersand:this.nesting();break;case pe.slash:case pe.combinator:this.combinator();break;case pe.str:this.string();break;case pe.closeSquare:this.missingSquareBracket();case pe.semicolon:this.missingBackslash();default:this.unexpected()}},e.expected=function(i,n,o){if(Array.isArray(i)){var s=i.pop();i=i.join(", ")+" or "+s}var u=/^[aeiou]/.test(i[0])?"an":"a";return o?this.error("Expected "+u+" "+i+', found "'+o+'" instead.',{index:n}):this.error("Expected "+u+" "+i+".",{index:n})},e.requiredSpace=function(i){return this.options.lossy?" ":i},e.optionalSpace=function(i){return this.options.lossy?"":i},e.lossySpace=function(i,n){return this.options.lossy?n?" ":"":i},e.parseParenthesisToken=function(i){var n=this.content(i);return i[oe.FIELDS.TYPE]===pe.space?this.requiredSpace(n):n},e.newNode=function(i,n){return n&&(/^ +$/.test(n)&&(this.options.lossy||(this.spaces=(this.spaces||"")+n),n=!0),i.namespace=n,dn(i,"namespace")),this.spaces&&(i.spaces.before=this.spaces,this.spaces=""),this.current.append(i)},e.content=function(i){return i===void 0&&(i=this.currToken),this.css.slice(i[oe.FIELDS.START_POS],i[oe.FIELDS.END_POS])},e.locateNextMeaningfulToken=function(i){i===void 0&&(i=this.position+1);for(var n=i;n<this.tokens.length;)if(j2[this.tokens[n][oe.FIELDS.TYPE]]){n++;continue}else return n;return-1},U2(r,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),r}();qs.default=$2;hw.exports=qs.default});var yw=de(($s,dw)=>{"use strict";B();F();N();$s.__esModule=!0;$s.default=void 0;var W2=z2(pw());function z2(r){return r&&r.__esModule?r:{default:r}}var V2=function(){function r(t,i){this.func=t||function(){},this.funcRes=null,this.options=i}var e=r.prototype;return e._shouldUpdateSelector=function(i,n){n===void 0&&(n={});var o=Object.assign({},this.options,n);return o.updateSelector===!1?!1:typeof i!="string"},e._isLossy=function(i){i===void 0&&(i={});var n=Object.assign({},this.options,i);return n.lossless===!1},e._root=function(i,n){n===void 0&&(n={});var o=new W2.default(i,this._parseOptions(n));return o.root},e._parseOptions=function(i){return{lossy:this._isLossy(i)}},e._run=function(i,n){var o=this;return n===void 0&&(n={}),new Promise(function(s,u){try{var f=o._root(i,n);Promise.resolve(o.func(f)).then(function(c){var p=void 0;return o._shouldUpdateSelector(i,n)&&(p=f.toString(),i.selector=p),{transform:c,root:f,string:p}}).then(s,u)}catch(c){u(c);return}})},e._runSync=function(i,n){n===void 0&&(n={});var o=this._root(i,n),s=this.func(o);if(s&&typeof s.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var u=void 0;return n.updateSelector&&typeof i!="string"&&(u=o.toString(),i.selector=u),{transform:s,root:o,string:u}},e.ast=function(i,n){return this._run(i,n).then(function(o){return o.root})},e.astSync=function(i,n){return this._runSync(i,n).root},e.transform=function(i,n){return this._run(i,n).then(function(o){return o.transform})},e.transformSync=function(i,n){return this._runSync(i,n).transform},e.process=function(i,n){return this._run(i,n).then(function(o){return o.string||o.root.toString()})},e.processSync=function(i,n){var o=this._runSync(i,n);return o.string||o.root.toString()},r}();$s.default=V2;dw.exports=$s.default});var gw=de(Je=>{"use strict";B();F();N();Je.__esModule=!0;Je.universal=Je.tag=Je.string=Je.selector=Je.root=Je.pseudo=Je.nesting=Je.id=Je.comment=Je.combinator=Je.className=Je.attribute=void 0;var G2=Jt(Rf()),H2=Jt(lf()),Y2=Jt(Pf()),K2=Jt(cf()),J2=Jt(pf()),Q2=Jt(Lf()),X2=Jt(bf()),Z2=Jt(nf()),ex=Jt(of()),tx=Jt(vf()),rx=Jt(gf()),ix=Jt(If());function Jt(r){return r&&r.__esModule?r:{default:r}}var nx=function(e){return new G2.default(e)};Je.attribute=nx;var sx=function(e){return new H2.default(e)};Je.className=sx;var ox=function(e){return new Y2.default(e)};Je.combinator=ox;var ax=function(e){return new K2.default(e)};Je.comment=ax;var ux=function(e){return new J2.default(e)};Je.id=ux;var lx=function(e){return new Q2.default(e)};Je.nesting=lx;var fx=function(e){return new X2.default(e)};Je.pseudo=fx;var cx=function(e){return new Z2.default(e)};Je.root=cx;var hx=function(e){return new ex.default(e)};Je.selector=hx;var px=function(e){return new tx.default(e)};Je.string=px;var dx=function(e){return new rx.default(e)};Je.tag=dx;var yx=function(e){return new ix.default(e)};Je.universal=yx});var bw=de($e=>{"use strict";B();F();N();$e.__esModule=!0;$e.isComment=$e.isCombinator=$e.isClassName=$e.isAttribute=void 0;$e.isContainer=Rx;$e.isIdentifier=void 0;$e.isNamespace=xx;$e.isNesting=void 0;$e.isNode=Wf;$e.isPseudo=void 0;$e.isPseudoClass=Tx;$e.isPseudoElement=ww;$e.isUniversal=$e.isTag=$e.isString=$e.isSelector=$e.isRoot=void 0;var tt=bt(),Lt,gx=(Lt={},Lt[tt.ATTRIBUTE]=!0,Lt[tt.CLASS]=!0,Lt[tt.COMBINATOR]=!0,Lt[tt.COMMENT]=!0,Lt[tt.ID]=!0,Lt[tt.NESTING]=!0,Lt[tt.PSEUDO]=!0,Lt[tt.ROOT]=!0,Lt[tt.SELECTOR]=!0,Lt[tt.STRING]=!0,Lt[tt.TAG]=!0,Lt[tt.UNIVERSAL]=!0,Lt);function Wf(r){return typeof r=="object"&&gx[r.type]}function Qt(r,e){return Wf(e)&&e.type===r}var mw=Qt.bind(null,tt.ATTRIBUTE);$e.isAttribute=mw;var mx=Qt.bind(null,tt.CLASS);$e.isClassName=mx;var vx=Qt.bind(null,tt.COMBINATOR);$e.isCombinator=vx;var wx=Qt.bind(null,tt.COMMENT);$e.isComment=wx;var bx=Qt.bind(null,tt.ID);$e.isIdentifier=bx;var Sx=Qt.bind(null,tt.NESTING);$e.isNesting=Sx;var zf=Qt.bind(null,tt.PSEUDO);$e.isPseudo=zf;var Ex=Qt.bind(null,tt.ROOT);$e.isRoot=Ex;var _x=Qt.bind(null,tt.SELECTOR);$e.isSelector=_x;var Ox=Qt.bind(null,tt.STRING);$e.isString=Ox;var vw=Qt.bind(null,tt.TAG);$e.isTag=vw;var Ax=Qt.bind(null,tt.UNIVERSAL);$e.isUniversal=Ax;function ww(r){return zf(r)&&r.value&&(r.value.startsWith("::")||r.value.toLowerCase()===":before"||r.value.toLowerCase()===":after"||r.value.toLowerCase()===":first-letter"||r.value.toLowerCase()===":first-line")}function Tx(r){return zf(r)&&!ww(r)}function Rx(r){return!!(Wf(r)&&r.walk)}function xx(r){return mw(r)||vw(r)}});var Sw=de(ur=>{"use strict";B();F();N();ur.__esModule=!0;var Vf=bt();Object.keys(Vf).forEach(function(r){r==="default"||r==="__esModule"||r in ur&&ur[r]===Vf[r]||(ur[r]=Vf[r])});var Gf=gw();Object.keys(Gf).forEach(function(r){r==="default"||r==="__esModule"||r in ur&&ur[r]===Gf[r]||(ur[r]=Gf[r])});var Hf=bw();Object.keys(Hf).forEach(function(r){r==="default"||r==="__esModule"||r in ur&&ur[r]===Hf[r]||(ur[r]=Hf[r])})});var Ow=de((Ws,_w)=>{"use strict";B();F();N();Ws.__esModule=!0;Ws.default=void 0;var Ix=Cx(yw()),kx=Px(Sw());function Ew(r){if(typeof WeakMap!="function")return null;var e=new WeakMap,t=new WeakMap;return(Ew=function(n){return n?t:e})(r)}function Px(r,e){if(!e&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var t=Ew(e);if(t&&t.has(r))return t.get(r);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in r)if(o!=="default"&&Object.prototype.hasOwnProperty.call(r,o)){var s=n?Object.getOwnPropertyDescriptor(r,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=r[o]}return i.default=r,t&&t.set(r,i),i}function Cx(r){return r&&r.__esModule?r:{default:r}}var Yf=function(e){return new Ix.default(e)};Object.assign(Yf,kx);delete Yf.__esModule;var Lx=Yf;Ws.default=Lx;_w.exports=Ws.default});var Mx={};wn(Mx,{purgecss:()=>Zf});B();F();N();B();F();N();Or();B();F();N();_i();B();F();N();B();F();N();var cg=Ma(ig(),1);B();F();N();var zn=r=>{if(typeof r!="string")throw new TypeError("invalid pattern");if(r.length>65536)throw new TypeError("pattern is too long")};B();F();N();B();F();N();var d_={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Vn=r=>r.replace(/[[\]\\-]/g,"\\$&"),y_=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),ng=r=>r.join(""),sg=(r,e)=>{let t=e;if(r.charAt(t)!=="[")throw new Error("not in a brace expression");let i=[],n=[],o=t+1,s=!1,u=!1,f=!1,c=!1,p=t,d="";e:for(;o<r.length;){let b=r.charAt(o);if((b==="!"||b==="^")&&o===t+1){c=!0,o++;continue}if(b==="]"&&s&&!f){p=o+1;break}if(s=!0,b==="\\"&&!f){f=!0,o++;continue}if(b==="["&&!f){for(let[E,[A,x,I]]of Object.entries(d_))if(r.startsWith(E,o)){if(d)return["$.",!1,r.length-t,!0];o+=E.length,I?n.push(A):i.push(A),u=u||x;continue e}}if(f=!1,d){b>d?i.push(Vn(d)+"-"+Vn(b)):b===d&&i.push(Vn(b)),d="",o++;continue}if(r.startsWith("-]",o+1)){i.push(Vn(b+"-")),o+=2;continue}if(r.startsWith("-",o+1)){d=b,o+=2;continue}i.push(Vn(b)),o++}if(p<o)return["",!1,0,!1];if(!i.length&&!n.length)return["$.",!1,r.length-t,!0];if(n.length===0&&i.length===1&&/^\\?.$/.test(i[0])&&!c){let b=i[0].length===2?i[0].slice(-1):i[0];return[y_(b),!1,p-t,!1]}let v="["+(c?"^":"")+ng(i)+"]",m="["+(c?"":"^")+ng(n)+"]";return[i.length&&n.length?"("+v+"|"+m+")":i.length?v:m,u,p-t,!0]};B();F();N();var ir=(r,{windowsPathsNoEscape:e=!1}={})=>e?r.replace(/\[([^\/\\])\]/g,"$1"):r.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");var g_=new Set(["!","?","+","*","@"]),og=r=>g_.has(r),m_="(?!(?:^|/)\\.\\.?(?:$|/))",Uo="(?!\\.)",v_=new Set(["[","."]),w_=new Set(["..","."]),b_=new Set("().*{}+?[]^$\\!"),S_=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),dl="[^/]",ag=dl+"*?",ug=dl+"+?",Ji=class r{type;#e;#t;#s=!1;#i=[];#o;#b;#l;#c=!1;#a;#u;#n=!1;constructor(e,t,i={}){this.type=e,e&&(this.#t=!0),this.#o=t,this.#e=this.#o?this.#o.#e:this,this.#a=this.#e===this?i:this.#e.#a,this.#l=this.#e===this?[]:this.#e.#l,e==="!"&&!this.#e.#c&&this.#l.push(this),this.#b=this.#o?this.#o.#i.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#i)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#u!==void 0?this.#u:this.type?this.#u=this.type+"("+this.#i.map(e=>String(e)).join("|")+")":this.#u=this.#i.map(e=>String(e)).join("")}#g(){if(this!==this.#e)throw new Error("should only call on root");if(this.#c)return this;this.toString(),this.#c=!0;let e;for(;e=this.#l.pop();){if(e.type!=="!")continue;let t=e,i=t.#o;for(;i;){for(let n=t.#b+1;!i.type&&n<i.#i.length;n++)for(let o of e.#i){if(typeof o=="string")throw new Error("string part in extglob AST??");o.copyIn(i.#i[n])}t=i,i=t.#o}}return this}push(...e){for(let t of e)if(t!==""){if(typeof t!="string"&&!(t instanceof r&&t.#o===this))throw new Error("invalid part: "+t);this.#i.push(t)}}toJSON(){let e=this.type===null?this.#i.slice().map(t=>typeof t=="string"?t:t.toJSON()):[this.type,...this.#i.map(t=>t.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#c&&this.#o?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#o?.isStart())return!1;if(this.#b===0)return!0;let e=this.#o;for(let t=0;t<this.#b;t++){let i=e.#i[t];if(!(i instanceof r&&i.type==="!"))return!1}return!0}isEnd(){if(this.#e===this||this.#o?.type==="!")return!0;if(!this.#o?.isEnd())return!1;if(!this.type)return this.#o?.isEnd();let e=this.#o?this.#o.#i.length:0;return this.#b===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){let t=new r(this.type,e);for(let i of this.#i)t.copyIn(i);return t}static#m(e,t,i,n){let o=!1,s=!1,u=-1,f=!1;if(t.type===null){let m=i,g="";for(;m<e.length;){let b=e.charAt(m++);if(o||b==="\\"){o=!o,g+=b;continue}if(s){m===u+1?(b==="^"||b==="!")&&(f=!0):b==="]"&&!(m===u+2&&f)&&(s=!1),g+=b;continue}else if(b==="["){s=!0,u=m,f=!1,g+=b;continue}if(!n.noext&&og(b)&&e.charAt(m)==="("){t.push(g),g="";let E=new r(b,t);m=r.#m(e,E,m,n),t.push(E);continue}g+=b}return t.push(g),m}let c=i+1,p=new r(null,t),d=[],v="";for(;c<e.length;){let m=e.charAt(c++);if(o||m==="\\"){o=!o,v+=m;continue}if(s){c===u+1?(m==="^"||m==="!")&&(f=!0):m==="]"&&!(c===u+2&&f)&&(s=!1),v+=m;continue}else if(m==="["){s=!0,u=c,f=!1,v+=m;continue}if(og(m)&&e.charAt(c)==="("){p.push(v),v="";let g=new r(m,p);p.push(g),c=r.#m(e,g,c,n);continue}if(m==="|"){p.push(v),v="",d.push(p),p=new r(null,t);continue}if(m===")")return v===""&&t.#i.length===0&&(t.#n=!0),p.push(v),v="",t.push(...d,p),c;v+=m}return t.type=null,t.#t=void 0,t.#i=[e.substring(i-1)],c}static fromGlob(e,t={}){let i=new r(null,void 0,t);return r.#m(e,i,0,t),i}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[t,i,n,o]=this.toRegExpSource();if(!(n||this.#t||this.#a.nocase&&!this.#a.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return i;let u=(this.#a.nocase?"i":"")+(o?"u":"");return Object.assign(new RegExp(`^${t}$`,u),{_src:t,_glob:e})}get options(){return this.#a}toRegExpSource(e){let t=e??!!this.#a.dot;if(this.#e===this&&this.#g(),!this.type){let f=this.isStart()&&this.isEnd(),c=this.#i.map(m=>{let[g,b,E,A]=typeof m=="string"?r.#h(m,this.#t,f):m.toRegExpSource(e);return this.#t=this.#t||E,this.#s=this.#s||A,g}).join(""),p="";if(this.isStart()&&typeof this.#i[0]=="string"&&!(this.#i.length===1&&w_.has(this.#i[0]))){let g=v_,b=t&&g.has(c.charAt(0))||c.startsWith("\\.")&&g.has(c.charAt(2))||c.startsWith("\\.\\.")&&g.has(c.charAt(4)),E=!t&&!e&&g.has(c.charAt(0));p=b?m_:E?Uo:""}let d="";return this.isEnd()&&this.#e.#c&&this.#o?.type==="!"&&(d="(?:$|\\/)"),[p+c+d,ir(c),this.#t=!!this.#t,this.#s]}let i=this.type==="*"||this.type==="+",n=this.type==="!"?"(?:(?!(?:":"(?:",o=this.#p(t);if(this.isStart()&&this.isEnd()&&!o&&this.type!=="!"){let f=this.toString();return this.#i=[f],this.type=null,this.#t=void 0,[f,ir(this.toString()),!1,!1]}let s=!i||e||t||!Uo?"":this.#p(!0);s===o&&(s=""),s&&(o=`(?:${o})(?:${s})*?`);let u="";if(this.type==="!"&&this.#n)u=(this.isStart()&&!t?Uo:"")+ug;else{let f=this.type==="!"?"))"+(this.isStart()&&!t&&!e?Uo:"")+ag+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&s?")":this.type==="*"&&s?")?":`)${this.type}`;u=n+o+f}return[u,ir(o),this.#t=!!this.#t,this.#s]}#p(e){return this.#i.map(t=>{if(typeof t=="string")throw new Error("string type in extglob ast??");let[i,n,o,s]=t.toRegExpSource(e);return this.#s=this.#s||s,i}).filter(t=>!(this.isStart()&&this.isEnd())||!!t).join("|")}static#h(e,t,i=!1){let n=!1,o="",s=!1;for(let u=0;u<e.length;u++){let f=e.charAt(u);if(n){n=!1,o+=(b_.has(f)?"\\":"")+f;continue}if(f==="\\"){u===e.length-1?o+="\\\\":n=!0;continue}if(f==="["){let[c,p,d,v]=sg(e,u);if(d){o+=c,s=s||p,u+=d-1,t=t||v;continue}}if(f==="*"){i&&e==="*"?o+=ug:o+=ag,t=!0;continue}if(f==="?"){o+=dl,t=!0;continue}o+=S_(f)}return[o,ir(e),!!t,s]}};B();F();N();var Qi=(r,{windowsPathsNoEscape:e=!1}={})=>e?r.replace(/[?*()[\]]/g,"[$&]"):r.replace(/[?*()[\]\\]/g,"\\$&");var xt=(r,e,t={})=>(zn(e),!t.nocomment&&e.charAt(0)==="#"?!1:new Mt(e,t).match(r)),E_=/^\*+([^+@!?\*\[\(]*)$/,__=r=>e=>!e.startsWith(".")&&e.endsWith(r),O_=r=>e=>e.endsWith(r),A_=r=>(r=r.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(r)),T_=r=>(r=r.toLowerCase(),e=>e.toLowerCase().endsWith(r)),R_=/^\*+\.\*+$/,x_=r=>!r.startsWith(".")&&r.includes("."),I_=r=>r!=="."&&r!==".."&&r.includes("."),k_=/^\.\*+$/,P_=r=>r!=="."&&r!==".."&&r.startsWith("."),C_=/^\*+$/,L_=r=>r.length!==0&&!r.startsWith("."),B_=r=>r.length!==0&&r!=="."&&r!=="..",N_=/^\?+([^+@!?\*\[\(]*)?$/,F_=([r,e=""])=>{let t=hg([r]);return e?(e=e.toLowerCase(),i=>t(i)&&i.toLowerCase().endsWith(e)):t},D_=([r,e=""])=>{let t=pg([r]);return e?(e=e.toLowerCase(),i=>t(i)&&i.toLowerCase().endsWith(e)):t},M_=([r,e=""])=>{let t=pg([r]);return e?i=>t(i)&&i.endsWith(e):t},U_=([r,e=""])=>{let t=hg([r]);return e?i=>t(i)&&i.endsWith(e):t},hg=([r])=>{let e=r.length;return t=>t.length===e&&!t.startsWith(".")},pg=([r])=>{let e=r.length;return t=>t.length===e&&t!=="."&&t!==".."},dg=typeof z=="object"&&z?typeof z.env=="object"&&z.env&&z.env.__MINIMATCH_TESTING_PLATFORM__||z.platform:"posix",lg={win32:{sep:"\\"},posix:{sep:"/"}},j_=dg==="win32"?lg.win32.sep:lg.posix.sep;xt.sep=j_;var wt=Symbol("globstar **");xt.GLOBSTAR=wt;var q_="[^/]",$_=q_+"*?",W_="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",z_="(?:(?!(?:\\/|^)\\.).)*?",V_=(r,e={})=>t=>xt(t,r,e);xt.filter=V_;var Gt=(r,e={})=>Object.assign({},r,e),G_=r=>{if(!r||typeof r!="object"||!Object.keys(r).length)return xt;let e=xt;return Object.assign((i,n,o={})=>e(i,n,Gt(r,o)),{Minimatch:class extends e.Minimatch{constructor(n,o={}){super(n,Gt(r,o))}static defaults(n){return e.defaults(Gt(r,n)).Minimatch}},AST:class extends e.AST{constructor(n,o,s={}){super(n,o,Gt(r,s))}static fromGlob(n,o={}){return e.AST.fromGlob(n,Gt(r,o))}},unescape:(i,n={})=>e.unescape(i,Gt(r,n)),escape:(i,n={})=>e.escape(i,Gt(r,n)),filter:(i,n={})=>e.filter(i,Gt(r,n)),defaults:i=>e.defaults(Gt(r,i)),makeRe:(i,n={})=>e.makeRe(i,Gt(r,n)),braceExpand:(i,n={})=>e.braceExpand(i,Gt(r,n)),match:(i,n,o={})=>e.match(i,n,Gt(r,o)),sep:e.sep,GLOBSTAR:wt})};xt.defaults=G_;var yg=(r,e={})=>(zn(r),e.nobrace||!/\{(?:(?!\{).)*\}/.test(r)?[r]:(0,cg.default)(r));xt.braceExpand=yg;var H_=(r,e={})=>new Mt(r,e).makeRe();xt.makeRe=H_;var Y_=(r,e,t={})=>{let i=new Mt(e,t);return r=r.filter(n=>i.match(n)),i.options.nonull&&!r.length&&r.push(e),r};xt.match=Y_;var fg=/[?*]|[+@!]\(.*?\)|\[|\]/,K_=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Mt=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,t={}){zn(e),t=t||{},this.options=t,this.pattern=e,this.platform=t.platform||dg,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot!==void 0?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...o)=>console.error(...o)),this.debug(this.pattern,this.globSet);let i=this.globSet.map(o=>this.slashSplit(o));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let n=this.globParts.map((o,s,u)=>{if(this.isWindows&&this.windowsNoMagicRoot){let f=o[0]===""&&o[1]===""&&(o[2]==="?"||!fg.test(o[2]))&&!fg.test(o[3]),c=/^[a-z]:/i.test(o[0]);if(f)return[...o.slice(0,4),...o.slice(4).map(p=>this.parse(p))];if(c)return[o[0],...o.slice(1).map(p=>this.parse(p))]}return o.map(f=>this.parse(f))});if(this.debug(this.pattern,n),this.set=n.filter(o=>o.indexOf(!1)===-1),this.isWindows)for(let o=0;o<this.set.length;o++){let s=this.set[o];s[0]===""&&s[1]===""&&this.globParts[o][2]==="?"&&typeof s[3]=="string"&&/^[a-z]:$/i.test(s[3])&&(s[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let i=0;i<e.length;i++)for(let n=0;n<e[i].length;n++)e[i][n]==="**"&&(e[i][n]="*");let{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):t>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(t=>{let i=-1;for(;(i=t.indexOf("**",i+1))!==-1;){let n=i;for(;t[n+1]==="**";)n++;n!==i&&t.splice(i,n-i)}return t})}levelOneOptimize(e){return e.map(t=>(t=t.reduce((i,n)=>{let o=i[i.length-1];return n==="**"&&o==="**"?i:n===".."&&o&&o!==".."&&o!=="."&&o!=="**"?(i.pop(),i):(i.push(n),i)},[]),t.length===0?[""]:t))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let n=1;n<e.length-1;n++){let o=e[n];n===1&&o===""&&e[0]===""||(o==="."||o==="")&&(t=!0,e.splice(n,1),n--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(t=!0,e.pop())}let i=0;for(;(i=e.indexOf("..",i+1))!==-1;){let n=e[i-1];n&&n!=="."&&n!==".."&&n!=="**"&&(t=!0,e.splice(i-1,2),i-=2)}}while(t);return e.length===0?[""]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let i of e){let n=-1;for(;(n=i.indexOf("**",n+1))!==-1;){let s=n;for(;i[s+1]==="**";)s++;s>n&&i.splice(n+1,s-n);let u=i[n+1],f=i[n+2],c=i[n+3];if(u!==".."||!f||f==="."||f===".."||!c||c==="."||c==="..")continue;t=!0,i.splice(n,1);let p=i.slice(0);p[n]="**",e.push(p),n--}if(!this.preserveMultipleSlashes){for(let s=1;s<i.length-1;s++){let u=i[s];s===1&&u===""&&i[0]===""||(u==="."||u==="")&&(t=!0,i.splice(s,1),s--)}i[0]==="."&&i.length===2&&(i[1]==="."||i[1]==="")&&(t=!0,i.pop())}let o=0;for(;(o=i.indexOf("..",o+1))!==-1;){let s=i[o-1];if(s&&s!=="."&&s!==".."&&s!=="**"){t=!0;let f=o===1&&i[o+1]==="**"?["."]:[];i.splice(o-1,2,...f),i.length===0&&i.push(""),o-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let i=t+1;i<e.length;i++){let n=this.partsMatch(e[t],e[i],!this.preserveMultipleSlashes);if(n){e[t]=[],e[i]=n;break}}return e.filter(t=>t.length)}partsMatch(e,t,i=!1){let n=0,o=0,s=[],u="";for(;n<e.length&&o<t.length;)if(e[n]===t[o])s.push(u==="b"?t[o]:e[n]),n++,o++;else if(i&&e[n]==="**"&&t[o]===e[n+1])s.push(e[n]),n++;else if(i&&t[o]==="**"&&e[n]===t[o+1])s.push(t[o]),o++;else if(e[n]==="*"&&t[o]&&(this.options.dot||!t[o].startsWith("."))&&t[o]!=="**"){if(u==="b")return!1;u="a",s.push(e[n]),n++,o++}else if(t[o]==="*"&&e[n]&&(this.options.dot||!e[n].startsWith("."))&&e[n]!=="**"){if(u==="a")return!1;u="b",s.push(t[o]),n++,o++}else return!1;return e.length===t.length&&s}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,i=0;for(let n=0;n<e.length&&e.charAt(n)==="!";n++)t=!t,i++;i&&(this.pattern=e.slice(i)),this.negate=t}matchOne(e,t,i=!1){let n=this.options;if(this.isWindows){let b=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),E=!b&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),A=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),x=!A&&t[0]===""&&t[1]===""&&t[2]==="?"&&typeof t[3]=="string"&&/^[a-z]:$/i.test(t[3]),I=E?3:b?0:void 0,D=x?3:A?0:void 0;if(typeof I=="number"&&typeof D=="number"){let[j,ae]=[e[I],t[D]];j.toLowerCase()===ae.toLowerCase()&&(t[D]=j,D>I?t=t.slice(D):I>D&&(e=e.slice(I)))}}let{optimizationLevel:o=1}=this.options;o>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var s=0,u=0,f=e.length,c=t.length;s<f&&u<c;s++,u++){this.debug("matchOne loop");var p=t[u],d=e[s];if(this.debug(t,p,d),p===!1)return!1;if(p===wt){this.debug("GLOBSTAR",[t,p,d]);var v=s,m=u+1;if(m===c){for(this.debug("** at the end");s<f;s++)if(e[s]==="."||e[s]===".."||!n.dot&&e[s].charAt(0)===".")return!1;return!0}for(;v<f;){var g=e[v];if(this.debug(`
|
|
90
|
+
https://www.w3ctech.com/topic/2226`));let u=t(...s);return u.postcssPlugin=e,u.postcssVersion=new Zl().version,u}let o;return Object.defineProperty(n,"postcss",{get(){return o||(o=n()),o}}),n.process=function(s,u,f){return Ve([n(f)]).process(s,u)},n};Ve.stringify=PA;Ve.parse=FA;Ve.fromJSON=CA;Ve.list=DA;Ve.comment=r=>new fv(r);Ve.atRule=r=>new cv(r);Ve.decl=r=>new uv(r);Ve.rule=r=>new hv(r);Ve.root=r=>new pv(r);Ve.document=r=>new lv(r);Ve.CssSyntaxError=xA;Ve.Declaration=uv;Ve.Container=kA;Ve.Processor=Zl;Ve.Document=lv;Ve.Comment=fv;Ve.Warning=BA;Ve.AtRule=cv;Ve.Result=LA;Ve.Input=NA;Ve.Rule=hv;Ve.Root=pv;Ve.Node=MA;IA.registerPostcss(Ve);dv.exports=Ve;Ve.default=Ve});var ef=de((wa,vv)=>{"use strict";L();F();N();wa.__esModule=!0;wa.default=$A;function jA(r){for(var e=r.toLowerCase(),t="",i=!1,n=0;n<6&&e[n]!==void 0;n++){var o=e.charCodeAt(n),s=o>=97&&o<=102||o>=48&&o<=57;if(i=o===32,!s)break;t+=e[n]}if(t.length!==0){var u=parseInt(t,16),f=u>=55296&&u<=57343;return f||u===0||u>1114111?["\uFFFD",t.length+(i?1:0)]:[String.fromCodePoint(u),t.length+(i?1:0)]}}var qA=/\\/;function $A(r){var e=qA.test(r);if(!e)return r;for(var t="",i=0;i<r.length;i++){if(r[i]==="\\"){var n=jA(r.slice(i+1,i+7));if(n!==void 0){t+=n[0],i+=n[1];continue}if(r[i+1]==="\\"){t+="\\",i++;continue}r.length===i+1&&(t+=r[i]);continue}t+=r[i]}return t}vv.exports=wa.default});var bv=de((ba,wv)=>{"use strict";L();F();N();ba.__esModule=!0;ba.default=WA;function WA(r){for(var e=arguments.length,t=new Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];for(;t.length>0;){var n=t.shift();if(!r[n])return;r=r[n]}return r}wv.exports=ba.default});var Ev=de((Sa,Sv)=>{"use strict";L();F();N();Sa.__esModule=!0;Sa.default=zA;function zA(r){for(var e=arguments.length,t=new Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];for(;t.length>0;){var n=t.shift();r[n]||(r[n]={}),r=r[n]}}Sv.exports=Sa.default});var Ov=de((Ea,_v)=>{"use strict";L();F();N();Ea.__esModule=!0;Ea.default=VA;function VA(r){for(var e="",t=r.indexOf("/*"),i=0;t>=0;){e=e+r.slice(i,t);var n=r.indexOf("*/",t+2);if(n<0)return e;i=n+2,t=r.indexOf("/*",i)}return e=e+r.slice(i),e}_v.exports=Ea.default});var Es=de(wr=>{"use strict";L();F();N();wr.__esModule=!0;wr.unesc=wr.stripComments=wr.getProp=wr.ensureObject=void 0;var GA=_a(ef());wr.unesc=GA.default;var HA=_a(bv());wr.getProp=HA.default;var YA=_a(Ev());wr.ensureObject=YA.default;var KA=_a(Ov());wr.stripComments=KA.default;function _a(r){return r&&r.__esModule?r:{default:r}}});var Ur=de((_s,Rv)=>{"use strict";L();F();N();_s.__esModule=!0;_s.default=void 0;var Av=Es();function Tv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function JA(r,e,t){return e&&Tv(r.prototype,e),t&&Tv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}var QA=function r(e,t){if(typeof e!="object"||e===null)return e;var i=new e.constructor;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n],s=typeof o;n==="parent"&&s==="object"?t&&(i[n]=t):o instanceof Array?i[n]=o.map(function(u){return r(u,i)}):i[n]=r(o,i)}return i},XA=function(){function r(t){t===void 0&&(t={}),Object.assign(this,t),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var e=r.prototype;return e.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.replaceWith=function(){if(this.parent){for(var i in arguments)this.parent.insertBefore(this,arguments[i]);this.remove()}return this},e.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.clone=function(i){i===void 0&&(i={});var n=QA(this);for(var o in i)n[o]=i[o];return n},e.appendToPropertyAndEscape=function(i,n,o){this.raws||(this.raws={});var s=this[i],u=this.raws[i];this[i]=s+n,u||o!==n?this.raws[i]=(u||s)+o:delete this.raws[i]},e.setPropertyAndEscape=function(i,n,o){this.raws||(this.raws={}),this[i]=n,this.raws[i]=o},e.setPropertyWithoutEscape=function(i,n){this[i]=n,this.raws&&delete this.raws[i]},e.isAtPosition=function(i,n){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>i||this.source.end.line<i||this.source.start.line===i&&this.source.start.column>n||this.source.end.line===i&&this.source.end.column<n)},e.stringifyProperty=function(i){return this.raws&&this.raws[i]||this[i]},e.valueToString=function(){return String(this.stringifyProperty("value"))},e.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},JA(r,[{key:"rawSpaceBefore",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.before;return i===void 0&&(i=this.spaces&&this.spaces.before),i||""},set:function(i){(0,Av.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=i}},{key:"rawSpaceAfter",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.after;return i===void 0&&(i=this.spaces.after),i||""},set:function(i){(0,Av.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=i}}]),r}();_s.default=XA;Rv.exports=_s.default});var bt=de(Je=>{"use strict";L();F();N();Je.__esModule=!0;Je.UNIVERSAL=Je.TAG=Je.STRING=Je.SELECTOR=Je.ROOT=Je.PSEUDO=Je.NESTING=Je.ID=Je.COMMENT=Je.COMBINATOR=Je.CLASS=Je.ATTRIBUTE=void 0;var ZA="tag";Je.TAG=ZA;var eT="string";Je.STRING=eT;var tT="selector";Je.SELECTOR=tT;var rT="root";Je.ROOT=rT;var iT="pseudo";Je.PSEUDO=iT;var nT="nesting";Je.NESTING=nT;var sT="id";Je.ID=sT;var oT="comment";Je.COMMENT=oT;var aT="combinator";Je.COMBINATOR=aT;var uT="class";Je.CLASS=uT;var lT="attribute";Je.ATTRIBUTE=lT;var fT="universal";Je.UNIVERSAL=fT});var Oa=de((Os,Pv)=>{"use strict";L();F();N();Os.__esModule=!0;Os.default=void 0;var cT=pT(Ur()),jr=hT(bt());function kv(r){if(typeof WeakMap!="function")return null;var e=new WeakMap,t=new WeakMap;return(kv=function(n){return n?t:e})(r)}function hT(r,e){if(!e&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var t=kv(e);if(t&&t.has(r))return t.get(r);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in r)if(o!=="default"&&Object.prototype.hasOwnProperty.call(r,o)){var s=n?Object.getOwnPropertyDescriptor(r,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=r[o]}return i.default=r,t&&t.set(r,i),i}function pT(r){return r&&r.__esModule?r:{default:r}}function dT(r,e){var t=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=yT(r))||e&&r&&typeof r.length=="number"){t&&(r=t);var i=0;return function(){return i>=r.length?{done:!0}:{done:!1,value:r[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
91
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yT(r,e){if(r){if(typeof r=="string")return xv(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return xv(r,e)}}function xv(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=r[t];return i}function Iv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function gT(r,e,t){return e&&Iv(r.prototype,e),t&&Iv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function mT(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,tf(r,e)}function tf(r,e){return tf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},tf(r,e)}var vT=function(r){mT(e,r);function e(i){var n;return n=r.call(this,i)||this,n.nodes||(n.nodes=[]),n}var t=e.prototype;return t.append=function(n){return n.parent=this,this.nodes.push(n),this},t.prepend=function(n){return n.parent=this,this.nodes.unshift(n),this},t.at=function(n){return this.nodes[n]},t.index=function(n){return typeof n=="number"?n:this.nodes.indexOf(n)},t.removeChild=function(n){n=this.index(n),this.at(n).parent=void 0,this.nodes.splice(n,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=n&&(this.indexes[s]=o-1);return this},t.removeAll=function(){for(var n=dT(this.nodes),o;!(o=n()).done;){var s=o.value;s.parent=void 0}return this.nodes=[],this},t.empty=function(){return this.removeAll()},t.insertAfter=function(n,o){o.parent=this;var s=this.index(n);this.nodes.splice(s+1,0,o),o.parent=this;var u;for(var f in this.indexes)u=this.indexes[f],s<=u&&(this.indexes[f]=u+1);return this},t.insertBefore=function(n,o){o.parent=this;var s=this.index(n);this.nodes.splice(s,0,o),o.parent=this;var u;for(var f in this.indexes)u=this.indexes[f],u<=s&&(this.indexes[f]=u+1);return this},t._findChildAtPosition=function(n,o){var s=void 0;return this.each(function(u){if(u.atPosition){var f=u.atPosition(n,o);if(f)return s=f,!1}else if(u.isAtPosition(n,o))return s=u,!1}),s},t.atPosition=function(n,o){if(this.isAtPosition(n,o))return this._findChildAtPosition(n,o)||this},t._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},t.each=function(n){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var o=this.lastEach;if(this.indexes[o]=0,!!this.length){for(var s,u;this.indexes[o]<this.length&&(s=this.indexes[o],u=n(this.at(s),s),u!==!1);)this.indexes[o]+=1;if(delete this.indexes[o],u===!1)return!1}},t.walk=function(n){return this.each(function(o,s){var u=n(o,s);if(u!==!1&&o.length&&(u=o.walk(n)),u===!1)return!1})},t.walkAttributes=function(n){var o=this;return this.walk(function(s){if(s.type===jr.ATTRIBUTE)return n.call(o,s)})},t.walkClasses=function(n){var o=this;return this.walk(function(s){if(s.type===jr.CLASS)return n.call(o,s)})},t.walkCombinators=function(n){var o=this;return this.walk(function(s){if(s.type===jr.COMBINATOR)return n.call(o,s)})},t.walkComments=function(n){var o=this;return this.walk(function(s){if(s.type===jr.COMMENT)return n.call(o,s)})},t.walkIds=function(n){var o=this;return this.walk(function(s){if(s.type===jr.ID)return n.call(o,s)})},t.walkNesting=function(n){var o=this;return this.walk(function(s){if(s.type===jr.NESTING)return n.call(o,s)})},t.walkPseudos=function(n){var o=this;return this.walk(function(s){if(s.type===jr.PSEUDO)return n.call(o,s)})},t.walkTags=function(n){var o=this;return this.walk(function(s){if(s.type===jr.TAG)return n.call(o,s)})},t.walkUniversals=function(n){var o=this;return this.walk(function(s){if(s.type===jr.UNIVERSAL)return n.call(o,s)})},t.split=function(n){var o=this,s=[];return this.reduce(function(u,f,c){var p=n.call(o,f);return s.push(f),p?(u.push(s),s=[]):c===o.length-1&&u.push(s),u},[])},t.map=function(n){return this.nodes.map(n)},t.reduce=function(n,o){return this.nodes.reduce(n,o)},t.every=function(n){return this.nodes.every(n)},t.some=function(n){return this.nodes.some(n)},t.filter=function(n){return this.nodes.filter(n)},t.sort=function(n){return this.nodes.sort(n)},t.toString=function(){return this.map(String).join("")},gT(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e}(cT.default);Os.default=vT;Pv.exports=Os.default});var nf=de((As,Bv)=>{"use strict";L();F();N();As.__esModule=!0;As.default=void 0;var wT=ST(Oa()),bT=bt();function ST(r){return r&&r.__esModule?r:{default:r}}function Cv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function ET(r,e,t){return e&&Cv(r.prototype,e),t&&Cv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function _T(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,rf(r,e)}function rf(r,e){return rf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},rf(r,e)}var OT=function(r){_T(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=bT.ROOT,n}var t=e.prototype;return t.toString=function(){var n=this.reduce(function(o,s){return o.push(String(s)),o},[]).join(",");return this.trailingComma?n+",":n},t.error=function(n,o){return this._error?this._error(n,o):new Error(n)},ET(e,[{key:"errorGenerator",set:function(n){this._error=n}}]),e}(wT.default);As.default=OT;Bv.exports=As.default});var of=de((Ts,Lv)=>{"use strict";L();F();N();Ts.__esModule=!0;Ts.default=void 0;var AT=RT(Oa()),TT=bt();function RT(r){return r&&r.__esModule?r:{default:r}}function xT(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,sf(r,e)}function sf(r,e){return sf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},sf(r,e)}var IT=function(r){xT(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=TT.SELECTOR,i}return e}(AT.default);Ts.default=IT;Lv.exports=Ts.default});var Aa=de((OU,Nv)=>{"use strict";L();F();N();var kT={},PT=kT.hasOwnProperty,CT=function(e,t){if(!e)return t;var i={};for(var n in t)i[n]=PT.call(e,n)?e[n]:t[n];return i},BT=/[ -,\.\/:-@\[-\^`\{-~]/,LT=/[ -,\.\/:-@\[\]\^`\{-~]/,NT=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,af=function r(e,t){t=CT(t,r.options),t.quotes!="single"&&t.quotes!="double"&&(t.quotes="single");for(var i=t.quotes=="double"?'"':"'",n=t.isIdentifier,o=e.charAt(0),s="",u=0,f=e.length;u<f;){var c=e.charAt(u++),p=c.charCodeAt(),d=void 0;if(p<32||p>126){if(p>=55296&&p<=56319&&u<f){var v=e.charCodeAt(u++);(v&64512)==56320?p=((p&1023)<<10)+(v&1023)+65536:u--}d="\\"+p.toString(16).toUpperCase()+" "}else t.escapeEverything?BT.test(c)?d="\\"+c:d="\\"+p.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(c)?d="\\"+p.toString(16).toUpperCase()+" ":c=="\\"||!n&&(c=='"'&&i==c||c=="'"&&i==c)||n&<.test(c)?d="\\"+c:d=c;s+=d}return n&&(/^-[-\d]/.test(s)?s="\\-"+s.slice(1):/\d/.test(o)&&(s="\\3"+o+" "+s.slice(1))),s=s.replace(NT,function(m,g,b){return g&&g.length%2?m:(g||"")+b}),!n&&t.wrap?i+s+i:s};af.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};af.version="3.0.0";Nv.exports=af});var lf=de((Rs,Mv)=>{"use strict";L();F();N();Rs.__esModule=!0;Rs.default=void 0;var FT=Dv(Aa()),DT=Es(),MT=Dv(Ur()),UT=bt();function Dv(r){return r&&r.__esModule?r:{default:r}}function Fv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function jT(r,e,t){return e&&Fv(r.prototype,e),t&&Fv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function qT(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,uf(r,e)}function uf(r,e){return uf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},uf(r,e)}var $T=function(r){qT(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=UT.CLASS,n._constructed=!0,n}var t=e.prototype;return t.valueToString=function(){return"."+r.prototype.valueToString.call(this)},jT(e,[{key:"value",get:function(){return this._value},set:function(n){if(this._constructed){var o=(0,FT.default)(n,{isIdentifier:!0});o!==n?((0,DT.ensureObject)(this,"raws"),this.raws.value=o):this.raws&&delete this.raws.value}this._value=n}}]),e}(MT.default);Rs.default=$T;Mv.exports=Rs.default});var cf=de((xs,Uv)=>{"use strict";L();F();N();xs.__esModule=!0;xs.default=void 0;var WT=VT(Ur()),zT=bt();function VT(r){return r&&r.__esModule?r:{default:r}}function GT(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,ff(r,e)}function ff(r,e){return ff=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},ff(r,e)}var HT=function(r){GT(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=zT.COMMENT,i}return e}(WT.default);xs.default=HT;Uv.exports=xs.default});var pf=de((Is,jv)=>{"use strict";L();F();N();Is.__esModule=!0;Is.default=void 0;var YT=JT(Ur()),KT=bt();function JT(r){return r&&r.__esModule?r:{default:r}}function QT(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,hf(r,e)}function hf(r,e){return hf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},hf(r,e)}var XT=function(r){QT(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=KT.ID,n}var t=e.prototype;return t.valueToString=function(){return"#"+r.prototype.valueToString.call(this)},e}(YT.default);Is.default=XT;jv.exports=Is.default});var Ta=de((ks,Wv)=>{"use strict";L();F();N();ks.__esModule=!0;ks.default=void 0;var ZT=$v(Aa()),eR=Es(),tR=$v(Ur());function $v(r){return r&&r.__esModule?r:{default:r}}function qv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function rR(r,e,t){return e&&qv(r.prototype,e),t&&qv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function iR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,df(r,e)}function df(r,e){return df=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},df(r,e)}var nR=function(r){iR(e,r);function e(){return r.apply(this,arguments)||this}var t=e.prototype;return t.qualifiedName=function(n){return this.namespace?this.namespaceString+"|"+n:n},t.valueToString=function(){return this.qualifiedName(r.prototype.valueToString.call(this))},rR(e,[{key:"namespace",get:function(){return this._namespace},set:function(n){if(n===!0||n==="*"||n==="&"){this._namespace=n,this.raws&&delete this.raws.namespace;return}var o=(0,ZT.default)(n,{isIdentifier:!0});this._namespace=n,o!==n?((0,eR.ensureObject)(this,"raws"),this.raws.namespace=o):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(n){this.namespace=n}},{key:"namespaceString",get:function(){if(this.namespace){var n=this.stringifyProperty("namespace");return n===!0?"":n}else return""}}]),e}(tR.default);ks.default=nR;Wv.exports=ks.default});var gf=de((Ps,zv)=>{"use strict";L();F();N();Ps.__esModule=!0;Ps.default=void 0;var sR=aR(Ta()),oR=bt();function aR(r){return r&&r.__esModule?r:{default:r}}function uR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,yf(r,e)}function yf(r,e){return yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},yf(r,e)}var lR=function(r){uR(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=oR.TAG,i}return e}(sR.default);Ps.default=lR;zv.exports=Ps.default});var vf=de((Cs,Vv)=>{"use strict";L();F();N();Cs.__esModule=!0;Cs.default=void 0;var fR=hR(Ur()),cR=bt();function hR(r){return r&&r.__esModule?r:{default:r}}function pR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,mf(r,e)}function mf(r,e){return mf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},mf(r,e)}var dR=function(r){pR(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=cR.STRING,i}return e}(fR.default);Cs.default=dR;Vv.exports=Cs.default});var bf=de((Bs,Gv)=>{"use strict";L();F();N();Bs.__esModule=!0;Bs.default=void 0;var yR=mR(Oa()),gR=bt();function mR(r){return r&&r.__esModule?r:{default:r}}function vR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,wf(r,e)}function wf(r,e){return wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},wf(r,e)}var wR=function(r){vR(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=gR.PSEUDO,n}var t=e.prototype;return t.toString=function(){var n=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),n,this.rawSpaceAfter].join("")},e}(yR.default);Bs.default=wR;Gv.exports=Bs.default});var Yv=de((KU,Hv)=>{L();F();N();Hv.exports=bR;function bR(r,e){if(Sf("noDeprecation"))return r;var t=!1;function i(){if(!t){if(Sf("throwDeprecation"))throw new Error(e);Sf("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return i}function Sf(r){try{if(!window.localStorage)return!1}catch{return!1}var e=window.localStorage[r];return e==null?!1:String(e).toLowerCase()==="true"}});var Rf=de(Fs=>{"use strict";L();F();N();Fs.__esModule=!0;Fs.default=void 0;Fs.unescapeValue=Tf;var Ls=Af(Aa()),SR=Af(ef()),ER=Af(Ta()),_R=bt(),Ef;function Af(r){return r&&r.__esModule?r:{default:r}}function Kv(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function OR(r,e,t){return e&&Kv(r.prototype,e),t&&Kv(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function AR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,Of(r,e)}function Of(r,e){return Of=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},Of(r,e)}var Ns=Yv(),TR=/^('|")([^]*)\1$/,RR=Ns(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),xR=Ns(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),IR=Ns(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function Tf(r){var e=!1,t=null,i=r,n=i.match(TR);return n&&(t=n[1],i=n[2]),i=(0,SR.default)(i),i!==r&&(e=!0),{deprecatedUsage:e,unescaped:i,quoteMark:t}}function kR(r){if(r.quoteMark!==void 0||r.value===void 0)return r;IR();var e=Tf(r.value),t=e.quoteMark,i=e.unescaped;return r.raws||(r.raws={}),r.raws.value===void 0&&(r.raws.value=r.value),r.value=i,r.quoteMark=t,r}var Ra=function(r){AR(e,r);function e(i){var n;return i===void 0&&(i={}),n=r.call(this,kR(i))||this,n.type=_R.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:Ns(function(){return n.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Ns(function(){return n.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),n._constructed=!0,n}var t=e.prototype;return t.getQuotedValue=function(n){n===void 0&&(n={});var o=this._determineQuoteMark(n),s=_f[o],u=(0,Ls.default)(this._value,s);return u},t._determineQuoteMark=function(n){return n.smart?this.smartQuoteMark(n):this.preferredQuoteMark(n)},t.setValue=function(n,o){o===void 0&&(o={}),this._value=n,this._quoteMark=this._determineQuoteMark(o),this._syncRawValue()},t.smartQuoteMark=function(n){var o=this.value,s=o.replace(/[^']/g,"").length,u=o.replace(/[^"]/g,"").length;if(s+u===0){var f=(0,Ls.default)(o,{isIdentifier:!0});if(f===o)return e.NO_QUOTE;var c=this.preferredQuoteMark(n);if(c===e.NO_QUOTE){var p=this.quoteMark||n.quoteMark||e.DOUBLE_QUOTE,d=_f[p],v=(0,Ls.default)(o,d);if(v.length<f.length)return p}return c}else return u===s?this.preferredQuoteMark(n):u<s?e.DOUBLE_QUOTE:e.SINGLE_QUOTE},t.preferredQuoteMark=function(n){var o=n.preferCurrentQuoteMark?this.quoteMark:n.quoteMark;return o===void 0&&(o=n.preferCurrentQuoteMark?n.quoteMark:this.quoteMark),o===void 0&&(o=e.DOUBLE_QUOTE),o},t._syncRawValue=function(){var n=(0,Ls.default)(this._value,_f[this.quoteMark]);n===this._value?this.raws&&delete this.raws.value:this.raws.value=n},t._handleEscapes=function(n,o){if(this._constructed){var s=(0,Ls.default)(o,{isIdentifier:!0});s!==o?this.raws[n]=s:delete this.raws[n]}},t._spacesFor=function(n){var o={before:"",after:""},s=this.spaces[n]||{},u=this.raws.spaces&&this.raws.spaces[n]||{};return Object.assign(o,s,u)},t._stringFor=function(n,o,s){o===void 0&&(o=n),s===void 0&&(s=Jv);var u=this._spacesFor(o);return s(this.stringifyProperty(n),u)},t.offsetOf=function(n){var o=1,s=this._spacesFor("attribute");if(o+=s.before.length,n==="namespace"||n==="ns")return this.namespace?o:-1;if(n==="attributeNS"||(o+=this.namespaceString.length,this.namespace&&(o+=1),n==="attribute"))return o;o+=this.stringifyProperty("attribute").length,o+=s.after.length;var u=this._spacesFor("operator");o+=u.before.length;var f=this.stringifyProperty("operator");if(n==="operator")return f?o:-1;o+=f.length,o+=u.after.length;var c=this._spacesFor("value");o+=c.before.length;var p=this.stringifyProperty("value");if(n==="value")return p?o:-1;o+=p.length,o+=c.after.length;var d=this._spacesFor("insensitive");return o+=d.before.length,n==="insensitive"&&this.insensitive?o:-1},t.toString=function(){var n=this,o=[this.rawSpaceBefore,"["];return o.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(o.push(this._stringFor("operator")),o.push(this._stringFor("value")),o.push(this._stringFor("insensitiveFlag","insensitive",function(s,u){return s.length>0&&!n.quoted&&u.before.length===0&&!(n.spaces.value&&n.spaces.value.after)&&(u.before=" "),Jv(s,u)}))),o.push("]"),o.push(this.rawSpaceAfter),o.join("")},OR(e,[{key:"quoted",get:function(){var n=this.quoteMark;return n==="'"||n==='"'},set:function(n){xR()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(n){if(!this._constructed){this._quoteMark=n;return}this._quoteMark!==n&&(this._quoteMark=n,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(n){if(this._constructed){var o=Tf(n),s=o.deprecatedUsage,u=o.unescaped,f=o.quoteMark;if(s&&RR(),u===this._value&&f===this._quoteMark)return;this._value=u,this._quoteMark=f,this._syncRawValue()}else this._value=n}},{key:"insensitive",get:function(){return this._insensitive},set:function(n){n||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=n}},{key:"attribute",get:function(){return this._attribute},set:function(n){this._handleEscapes("attribute",n),this._attribute=n}}]),e}(ER.default);Fs.default=Ra;Ra.NO_QUOTE=null;Ra.SINGLE_QUOTE="'";Ra.DOUBLE_QUOTE='"';var _f=(Ef={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},Ef[null]={isIdentifier:!0},Ef);function Jv(r,e){return""+e.before+r+e.after}});var If=de((Ds,Qv)=>{"use strict";L();F();N();Ds.__esModule=!0;Ds.default=void 0;var PR=BR(Ta()),CR=bt();function BR(r){return r&&r.__esModule?r:{default:r}}function LR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,xf(r,e)}function xf(r,e){return xf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},xf(r,e)}var NR=function(r){LR(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=CR.UNIVERSAL,i.value="*",i}return e}(PR.default);Ds.default=NR;Qv.exports=Ds.default});var Pf=de((Ms,Xv)=>{"use strict";L();F();N();Ms.__esModule=!0;Ms.default=void 0;var FR=MR(Ur()),DR=bt();function MR(r){return r&&r.__esModule?r:{default:r}}function UR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,kf(r,e)}function kf(r,e){return kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},kf(r,e)}var jR=function(r){UR(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=DR.COMBINATOR,i}return e}(FR.default);Ms.default=jR;Xv.exports=Ms.default});var Bf=de((Us,Zv)=>{"use strict";L();F();N();Us.__esModule=!0;Us.default=void 0;var qR=WR(Ur()),$R=bt();function WR(r){return r&&r.__esModule?r:{default:r}}function zR(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,Cf(r,e)}function Cf(r,e){return Cf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},Cf(r,e)}var VR=function(r){zR(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=$R.NESTING,i.value="&",i}return e}(qR.default);Us.default=VR;Zv.exports=Us.default});var tw=de((xa,ew)=>{"use strict";L();F();N();xa.__esModule=!0;xa.default=GR;function GR(r){return r.sort(function(e,t){return e-t})}ew.exports=xa.default});var Lf=de(ye=>{"use strict";L();F();N();ye.__esModule=!0;ye.word=ye.tilde=ye.tab=ye.str=ye.space=ye.slash=ye.singleQuote=ye.semicolon=ye.plus=ye.pipe=ye.openSquare=ye.openParenthesis=ye.newline=ye.greaterThan=ye.feed=ye.equals=ye.doubleQuote=ye.dollar=ye.cr=ye.comment=ye.comma=ye.combinator=ye.colon=ye.closeSquare=ye.closeParenthesis=ye.caret=ye.bang=ye.backslash=ye.at=ye.asterisk=ye.ampersand=void 0;var HR=38;ye.ampersand=HR;var YR=42;ye.asterisk=YR;var KR=64;ye.at=KR;var JR=44;ye.comma=JR;var QR=58;ye.colon=QR;var XR=59;ye.semicolon=XR;var ZR=40;ye.openParenthesis=ZR;var e2=41;ye.closeParenthesis=e2;var t2=91;ye.openSquare=t2;var r2=93;ye.closeSquare=r2;var i2=36;ye.dollar=i2;var n2=126;ye.tilde=n2;var s2=94;ye.caret=s2;var o2=43;ye.plus=o2;var a2=61;ye.equals=a2;var u2=124;ye.pipe=u2;var l2=62;ye.greaterThan=l2;var f2=32;ye.space=f2;var rw=39;ye.singleQuote=rw;var c2=34;ye.doubleQuote=c2;var h2=47;ye.slash=h2;var p2=33;ye.bang=p2;var d2=92;ye.backslash=d2;var y2=13;ye.cr=y2;var g2=12;ye.feed=g2;var m2=10;ye.newline=m2;var v2=9;ye.tab=v2;var w2=rw;ye.str=w2;var b2=-1;ye.comment=b2;var S2=-2;ye.word=S2;var E2=-3;ye.combinator=E2});var sw=de(js=>{"use strict";L();F();N();js.__esModule=!0;js.FIELDS=void 0;js.default=I2;var le=_2(Lf()),hn,Ye;function nw(r){if(typeof WeakMap!="function")return null;var e=new WeakMap,t=new WeakMap;return(nw=function(n){return n?t:e})(r)}function _2(r,e){if(!e&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var t=nw(e);if(t&&t.has(r))return t.get(r);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in r)if(o!=="default"&&Object.prototype.hasOwnProperty.call(r,o)){var s=n?Object.getOwnPropertyDescriptor(r,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=r[o]}return i.default=r,t&&t.set(r,i),i}var O2=(hn={},hn[le.tab]=!0,hn[le.newline]=!0,hn[le.cr]=!0,hn[le.feed]=!0,hn),A2=(Ye={},Ye[le.space]=!0,Ye[le.tab]=!0,Ye[le.newline]=!0,Ye[le.cr]=!0,Ye[le.feed]=!0,Ye[le.ampersand]=!0,Ye[le.asterisk]=!0,Ye[le.bang]=!0,Ye[le.comma]=!0,Ye[le.colon]=!0,Ye[le.semicolon]=!0,Ye[le.openParenthesis]=!0,Ye[le.closeParenthesis]=!0,Ye[le.openSquare]=!0,Ye[le.closeSquare]=!0,Ye[le.singleQuote]=!0,Ye[le.doubleQuote]=!0,Ye[le.plus]=!0,Ye[le.pipe]=!0,Ye[le.tilde]=!0,Ye[le.greaterThan]=!0,Ye[le.equals]=!0,Ye[le.dollar]=!0,Ye[le.caret]=!0,Ye[le.slash]=!0,Ye),Nf={},iw="0123456789abcdefABCDEF";for(Ia=0;Ia<iw.length;Ia++)Nf[iw.charCodeAt(Ia)]=!0;var Ia;function T2(r,e){var t=e,i;do{if(i=r.charCodeAt(t),A2[i])return t-1;i===le.backslash?t=R2(r,t)+1:t++}while(t<r.length);return t-1}function R2(r,e){var t=e,i=r.charCodeAt(t+1);if(!O2[i])if(Nf[i]){var n=0;do t++,n++,i=r.charCodeAt(t+1);while(Nf[i]&&n<6);n<6&&i===le.space&&t++}else t++;return t}var x2={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};js.FIELDS=x2;function I2(r){var e=[],t=r.css.valueOf(),i=t,n=i.length,o=-1,s=1,u=0,f=0,c,p,d,v,m,g,b,E,A,x,I,D,j;function ae(X,K){if(r.safe)t+=K,A=t.length-1;else throw r.error("Unclosed "+X,s,u-o,u)}for(;u<n;){switch(c=t.charCodeAt(u),c===le.newline&&(o=u,s+=1),c){case le.space:case le.tab:case le.newline:case le.cr:case le.feed:A=u;do A+=1,c=t.charCodeAt(A),c===le.newline&&(o=A,s+=1);while(c===le.space||c===le.newline||c===le.tab||c===le.cr||c===le.feed);j=le.space,v=s,d=A-o-1,f=A;break;case le.plus:case le.greaterThan:case le.tilde:case le.pipe:A=u;do A+=1,c=t.charCodeAt(A);while(c===le.plus||c===le.greaterThan||c===le.tilde||c===le.pipe);j=le.combinator,v=s,d=u-o,f=A;break;case le.asterisk:case le.ampersand:case le.bang:case le.comma:case le.equals:case le.dollar:case le.caret:case le.openSquare:case le.closeSquare:case le.colon:case le.semicolon:case le.openParenthesis:case le.closeParenthesis:A=u,j=c,v=s,d=u-o,f=A+1;break;case le.singleQuote:case le.doubleQuote:D=c===le.singleQuote?"'":'"',A=u;do for(m=!1,A=t.indexOf(D,A+1),A===-1&&ae("quote",D),g=A;t.charCodeAt(g-1)===le.backslash;)g-=1,m=!m;while(m);j=le.str,v=s,d=u-o,f=A+1;break;default:c===le.slash&&t.charCodeAt(u+1)===le.asterisk?(A=t.indexOf("*/",u+2)+1,A===0&&ae("comment","*/"),p=t.slice(u,A+1),E=p.split(`
|
|
92
|
+
`),b=E.length-1,b>0?(x=s+b,I=A-E[b].length):(x=s,I=o),j=le.comment,s=x,v=x,d=A-I):c===le.slash?(A=u,j=c,v=s,d=u-o,f=A+1):(A=T2(t,u),j=le.word,v=s,d=A-o),f=A+1;break}e.push([j,s,u-o,v,d,u,f]),I&&(o=I,I=null),u=f}return e}});var pw=de((qs,hw)=>{"use strict";L();F();N();qs.__esModule=!0;qs.default=void 0;var k2=Kt(nf()),Ff=Kt(of()),P2=Kt(lf()),ow=Kt(cf()),C2=Kt(pf()),B2=Kt(gf()),Df=Kt(vf()),L2=Kt(bf()),aw=ka(Rf()),N2=Kt(If()),Mf=Kt(Pf()),F2=Kt(Bf()),D2=Kt(tw()),se=ka(sw()),he=ka(Lf()),M2=ka(bt()),et=Es(),xi,Uf;function cw(r){if(typeof WeakMap!="function")return null;var e=new WeakMap,t=new WeakMap;return(cw=function(n){return n?t:e})(r)}function ka(r,e){if(!e&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var t=cw(e);if(t&&t.has(r))return t.get(r);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in r)if(o!=="default"&&Object.prototype.hasOwnProperty.call(r,o)){var s=n?Object.getOwnPropertyDescriptor(r,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=r[o]}return i.default=r,t&&t.set(r,i),i}function Kt(r){return r&&r.__esModule?r:{default:r}}function uw(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function U2(r,e,t){return e&&uw(r.prototype,e),t&&uw(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}var $f=(xi={},xi[he.space]=!0,xi[he.cr]=!0,xi[he.feed]=!0,xi[he.newline]=!0,xi[he.tab]=!0,xi),j2=Object.assign({},$f,(Uf={},Uf[he.comment]=!0,Uf));function lw(r){return{line:r[se.FIELDS.START_LINE],column:r[se.FIELDS.START_COL]}}function fw(r){return{line:r[se.FIELDS.END_LINE],column:r[se.FIELDS.END_COL]}}function Ii(r,e,t,i){return{start:{line:r,column:e},end:{line:t,column:i}}}function pn(r){return Ii(r[se.FIELDS.START_LINE],r[se.FIELDS.START_COL],r[se.FIELDS.END_LINE],r[se.FIELDS.END_COL])}function jf(r,e){if(r)return Ii(r[se.FIELDS.START_LINE],r[se.FIELDS.START_COL],e[se.FIELDS.END_LINE],e[se.FIELDS.END_COL])}function dn(r,e){var t=r[e];if(typeof t=="string")return t.indexOf("\\")!==-1&&((0,et.ensureObject)(r,"raws"),r[e]=(0,et.unesc)(t),r.raws[e]===void 0&&(r.raws[e]=t)),r}function qf(r,e){for(var t=-1,i=[];(t=r.indexOf(e,t+1))!==-1;)i.push(t);return i}function q2(){var r=Array.prototype.concat.apply([],arguments);return r.filter(function(e,t){return t===r.indexOf(e)})}var $2=function(){function r(t,i){i===void 0&&(i={}),this.rule=t,this.options=Object.assign({lossy:!1,safe:!1},i),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,se.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var n=jf(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new k2.default({source:n}),this.root.errorGenerator=this._errorGenerator();var o=new Ff.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(o),this.current=o,this.loop()}var e=r.prototype;return e._errorGenerator=function(){var i=this;return function(n,o){return typeof i.rule=="string"?new Error(n):i.rule.error(n,o)}},e.attribute=function(){var i=[],n=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[se.FIELDS.TYPE]!==he.closeSquare;)i.push(this.currToken),this.position++;if(this.currToken[se.FIELDS.TYPE]!==he.closeSquare)return this.expected("closing square bracket",this.currToken[se.FIELDS.START_POS]);var o=i.length,s={source:Ii(n[1],n[2],this.currToken[3],this.currToken[4]),sourceIndex:n[se.FIELDS.START_POS]};if(o===1&&!~[he.word].indexOf(i[0][se.FIELDS.TYPE]))return this.expected("attribute",i[0][se.FIELDS.START_POS]);for(var u=0,f="",c="",p=null,d=!1;u<o;){var v=i[u],m=this.content(v),g=i[u+1];switch(v[se.FIELDS.TYPE]){case he.space:if(d=!0,this.options.lossy)break;if(p){(0,et.ensureObject)(s,"spaces",p);var b=s.spaces[p].after||"";s.spaces[p].after=b+m;var E=(0,et.getProp)(s,"raws","spaces",p,"after")||null;E&&(s.raws.spaces[p].after=E+m)}else f=f+m,c=c+m;break;case he.asterisk:if(g[se.FIELDS.TYPE]===he.equals)s.operator=m,p="operator";else if((!s.namespace||p==="namespace"&&!d)&&g){f&&((0,et.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=f,f=""),c&&((0,et.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=f,c=""),s.namespace=(s.namespace||"")+m;var A=(0,et.getProp)(s,"raws","namespace")||null;A&&(s.raws.namespace+=m),p="namespace"}d=!1;break;case he.dollar:if(p==="value"){var x=(0,et.getProp)(s,"raws","value");s.value+="$",x&&(s.raws.value=x+"$");break}case he.caret:g[se.FIELDS.TYPE]===he.equals&&(s.operator=m,p="operator"),d=!1;break;case he.combinator:if(m==="~"&&g[se.FIELDS.TYPE]===he.equals&&(s.operator=m,p="operator"),m!=="|"){d=!1;break}g[se.FIELDS.TYPE]===he.equals?(s.operator=m,p="operator"):!s.namespace&&!s.attribute&&(s.namespace=!0),d=!1;break;case he.word:if(g&&this.content(g)==="|"&&i[u+2]&&i[u+2][se.FIELDS.TYPE]!==he.equals&&!s.operator&&!s.namespace)s.namespace=m,p="namespace";else if(!s.attribute||p==="attribute"&&!d){f&&((0,et.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=f,f=""),c&&((0,et.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=c,c=""),s.attribute=(s.attribute||"")+m;var I=(0,et.getProp)(s,"raws","attribute")||null;I&&(s.raws.attribute+=m),p="attribute"}else if(!s.value&&s.value!==""||p==="value"&&!(d||s.quoteMark)){var D=(0,et.unesc)(m),j=(0,et.getProp)(s,"raws","value")||"",ae=s.value||"";s.value=ae+D,s.quoteMark=null,(D!==m||j)&&((0,et.ensureObject)(s,"raws"),s.raws.value=(j||ae)+m),p="value"}else{var X=m==="i"||m==="I";(s.value||s.value==="")&&(s.quoteMark||d)?(s.insensitive=X,(!X||m==="I")&&((0,et.ensureObject)(s,"raws"),s.raws.insensitiveFlag=m),p="insensitive",f&&((0,et.ensureObject)(s,"spaces","insensitive"),s.spaces.insensitive.before=f,f=""),c&&((0,et.ensureObject)(s,"raws","spaces","insensitive"),s.raws.spaces.insensitive.before=c,c="")):(s.value||s.value==="")&&(p="value",s.value+=m,s.raws.value&&(s.raws.value+=m))}d=!1;break;case he.str:if(!s.attribute||!s.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:v[se.FIELDS.START_POS]});var K=(0,aw.unescapeValue)(m),Q=K.unescaped,oe=K.quoteMark;s.value=Q,s.quoteMark=oe,p="value",(0,et.ensureObject)(s,"raws"),s.raws.value=m,d=!1;break;case he.equals:if(!s.attribute)return this.expected("attribute",v[se.FIELDS.START_POS],m);if(s.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:v[se.FIELDS.START_POS]});s.operator=s.operator?s.operator+m:m,p="operator",d=!1;break;case he.comment:if(p)if(d||g&&g[se.FIELDS.TYPE]===he.space||p==="insensitive"){var _e=(0,et.getProp)(s,"spaces",p,"after")||"",Oe=(0,et.getProp)(s,"raws","spaces",p,"after")||_e;(0,et.ensureObject)(s,"raws","spaces",p),s.raws.spaces[p].after=Oe+m}else{var Be=s[p]||"",Ee=(0,et.getProp)(s,"raws",p)||Be;(0,et.ensureObject)(s,"raws"),s.raws[p]=Ee+m}else c=c+m;break;default:return this.error('Unexpected "'+m+'" found.',{index:v[se.FIELDS.START_POS]})}u++}dn(s,"attribute"),dn(s,"namespace"),this.newNode(new aw.default(s)),this.position++},e.parseWhitespaceEquivalentTokens=function(i){i<0&&(i=this.tokens.length);var n=this.position,o=[],s="",u=void 0;do if($f[this.currToken[se.FIELDS.TYPE]])this.options.lossy||(s+=this.content());else if(this.currToken[se.FIELDS.TYPE]===he.comment){var f={};s&&(f.before=s,s=""),u=new ow.default({value:this.content(),source:pn(this.currToken),sourceIndex:this.currToken[se.FIELDS.START_POS],spaces:f}),o.push(u)}while(++this.position<i);if(s){if(u)u.spaces.after=s;else if(!this.options.lossy){var c=this.tokens[n],p=this.tokens[this.position-1];o.push(new Df.default({value:"",source:Ii(c[se.FIELDS.START_LINE],c[se.FIELDS.START_COL],p[se.FIELDS.END_LINE],p[se.FIELDS.END_COL]),sourceIndex:c[se.FIELDS.START_POS],spaces:{before:s,after:""}}))}}return o},e.convertWhitespaceNodesToSpace=function(i,n){var o=this;n===void 0&&(n=!1);var s="",u="";i.forEach(function(c){var p=o.lossySpace(c.spaces.before,n),d=o.lossySpace(c.rawSpaceBefore,n);s+=p+o.lossySpace(c.spaces.after,n&&p.length===0),u+=p+c.value+o.lossySpace(c.rawSpaceAfter,n&&d.length===0)}),u===s&&(u=void 0);var f={space:s,rawSpace:u};return f},e.isNamedCombinator=function(i){return i===void 0&&(i=this.position),this.tokens[i+0]&&this.tokens[i+0][se.FIELDS.TYPE]===he.slash&&this.tokens[i+1]&&this.tokens[i+1][se.FIELDS.TYPE]===he.word&&this.tokens[i+2]&&this.tokens[i+2][se.FIELDS.TYPE]===he.slash},e.namedCombinator=function(){if(this.isNamedCombinator()){var i=this.content(this.tokens[this.position+1]),n=(0,et.unesc)(i).toLowerCase(),o={};n!==i&&(o.value="/"+i+"/");var s=new Mf.default({value:"/"+n+"/",source:Ii(this.currToken[se.FIELDS.START_LINE],this.currToken[se.FIELDS.START_COL],this.tokens[this.position+2][se.FIELDS.END_LINE],this.tokens[this.position+2][se.FIELDS.END_COL]),sourceIndex:this.currToken[se.FIELDS.START_POS],raws:o});return this.position=this.position+3,s}else this.unexpected()},e.combinator=function(){var i=this;if(this.content()==="|")return this.namespace();var n=this.locateNextMeaningfulToken(this.position);if(n<0||this.tokens[n][se.FIELDS.TYPE]===he.comma||this.tokens[n][se.FIELDS.TYPE]===he.closeParenthesis){var o=this.parseWhitespaceEquivalentTokens(n);if(o.length>0){var s=this.current.last;if(s){var u=this.convertWhitespaceNodesToSpace(o),f=u.space,c=u.rawSpace;c!==void 0&&(s.rawSpaceAfter+=c),s.spaces.after+=f}else o.forEach(function(j){return i.newNode(j)})}return}var p=this.currToken,d=void 0;n>this.position&&(d=this.parseWhitespaceEquivalentTokens(n));var v;if(this.isNamedCombinator()?v=this.namedCombinator():this.currToken[se.FIELDS.TYPE]===he.combinator?(v=new Mf.default({value:this.content(),source:pn(this.currToken),sourceIndex:this.currToken[se.FIELDS.START_POS]}),this.position++):$f[this.currToken[se.FIELDS.TYPE]]||d||this.unexpected(),v){if(d){var m=this.convertWhitespaceNodesToSpace(d),g=m.space,b=m.rawSpace;v.spaces.before=g,v.rawSpaceBefore=b}}else{var E=this.convertWhitespaceNodesToSpace(d,!0),A=E.space,x=E.rawSpace;x||(x=A);var I={},D={spaces:{}};A.endsWith(" ")&&x.endsWith(" ")?(I.before=A.slice(0,A.length-1),D.spaces.before=x.slice(0,x.length-1)):A.startsWith(" ")&&x.startsWith(" ")?(I.after=A.slice(1),D.spaces.after=x.slice(1)):D.value=x,v=new Mf.default({value:" ",source:jf(p,this.tokens[this.position-1]),sourceIndex:p[se.FIELDS.START_POS],spaces:I,raws:D})}return this.currToken&&this.currToken[se.FIELDS.TYPE]===he.space&&(v.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(v)},e.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var i=new Ff.default({source:{start:lw(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][se.FIELDS.START_POS]});this.current.parent.append(i),this.current=i,this.position++},e.comment=function(){var i=this.currToken;this.newNode(new ow.default({value:this.content(),source:pn(i),sourceIndex:i[se.FIELDS.START_POS]})),this.position++},e.error=function(i,n){throw this.root.error(i,n)},e.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[se.FIELDS.START_POS]})},e.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[se.FIELDS.START_POS])},e.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[se.FIELDS.START_POS])},e.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[se.FIELDS.START_POS])},e.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[se.FIELDS.START_POS])},e.namespace=function(){var i=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[se.FIELDS.TYPE]===he.word)return this.position++,this.word(i);if(this.nextToken[se.FIELDS.TYPE]===he.asterisk)return this.position++,this.universal(i);this.unexpectedPipe()},e.nesting=function(){if(this.nextToken){var i=this.content(this.nextToken);if(i==="|"){this.position++;return}}var n=this.currToken;this.newNode(new F2.default({value:this.content(),source:pn(n),sourceIndex:n[se.FIELDS.START_POS]})),this.position++},e.parentheses=function(){var i=this.current.last,n=1;if(this.position++,i&&i.type===M2.PSEUDO){var o=new Ff.default({source:{start:lw(this.tokens[this.position])},sourceIndex:this.tokens[this.position][se.FIELDS.START_POS]}),s=this.current;for(i.append(o),this.current=o;this.position<this.tokens.length&&n;)this.currToken[se.FIELDS.TYPE]===he.openParenthesis&&n++,this.currToken[se.FIELDS.TYPE]===he.closeParenthesis&&n--,n?this.parse():(this.current.source.end=fw(this.currToken),this.current.parent.source.end=fw(this.currToken),this.position++);this.current=s}else{for(var u=this.currToken,f="(",c;this.position<this.tokens.length&&n;)this.currToken[se.FIELDS.TYPE]===he.openParenthesis&&n++,this.currToken[se.FIELDS.TYPE]===he.closeParenthesis&&n--,c=this.currToken,f+=this.parseParenthesisToken(this.currToken),this.position++;i?i.appendToPropertyAndEscape("value",f,f):this.newNode(new Df.default({value:f,source:Ii(u[se.FIELDS.START_LINE],u[se.FIELDS.START_COL],c[se.FIELDS.END_LINE],c[se.FIELDS.END_COL]),sourceIndex:u[se.FIELDS.START_POS]}))}if(n)return this.expected("closing parenthesis",this.currToken[se.FIELDS.START_POS])},e.pseudo=function(){for(var i=this,n="",o=this.currToken;this.currToken&&this.currToken[se.FIELDS.TYPE]===he.colon;)n+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[se.FIELDS.TYPE]===he.word)this.splitWord(!1,function(s,u){n+=s,i.newNode(new L2.default({value:n,source:jf(o,i.currToken),sourceIndex:o[se.FIELDS.START_POS]})),u>1&&i.nextToken&&i.nextToken[se.FIELDS.TYPE]===he.openParenthesis&&i.error("Misplaced parenthesis.",{index:i.nextToken[se.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[se.FIELDS.START_POS])},e.space=function(){var i=this.content();this.position===0||this.prevToken[se.FIELDS.TYPE]===he.comma||this.prevToken[se.FIELDS.TYPE]===he.openParenthesis||this.current.nodes.every(function(n){return n.type==="comment"})?(this.spaces=this.optionalSpace(i),this.position++):this.position===this.tokens.length-1||this.nextToken[se.FIELDS.TYPE]===he.comma||this.nextToken[se.FIELDS.TYPE]===he.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(i),this.position++):this.combinator()},e.string=function(){var i=this.currToken;this.newNode(new Df.default({value:this.content(),source:pn(i),sourceIndex:i[se.FIELDS.START_POS]})),this.position++},e.universal=function(i){var n=this.nextToken;if(n&&this.content(n)==="|")return this.position++,this.namespace();var o=this.currToken;this.newNode(new N2.default({value:this.content(),source:pn(o),sourceIndex:o[se.FIELDS.START_POS]}),i),this.position++},e.splitWord=function(i,n){for(var o=this,s=this.nextToken,u=this.content();s&&~[he.dollar,he.caret,he.equals,he.word].indexOf(s[se.FIELDS.TYPE]);){this.position++;var f=this.content();if(u+=f,f.lastIndexOf("\\")===f.length-1){var c=this.nextToken;c&&c[se.FIELDS.TYPE]===he.space&&(u+=this.requiredSpace(this.content(c)),this.position++)}s=this.nextToken}var p=qf(u,".").filter(function(g){var b=u[g-1]==="\\",E=/^\d+\.\d+%$/.test(u);return!b&&!E}),d=qf(u,"#").filter(function(g){return u[g-1]!=="\\"}),v=qf(u,"#{");v.length&&(d=d.filter(function(g){return!~v.indexOf(g)}));var m=(0,D2.default)(q2([0].concat(p,d)));m.forEach(function(g,b){var E=m[b+1]||u.length,A=u.slice(g,E);if(b===0&&n)return n.call(o,A,m.length);var x,I=o.currToken,D=I[se.FIELDS.START_POS]+m[b],j=Ii(I[1],I[2]+g,I[3],I[2]+(E-1));if(~p.indexOf(g)){var ae={value:A.slice(1),source:j,sourceIndex:D};x=new P2.default(dn(ae,"value"))}else if(~d.indexOf(g)){var X={value:A.slice(1),source:j,sourceIndex:D};x=new C2.default(dn(X,"value"))}else{var K={value:A,source:j,sourceIndex:D};dn(K,"value"),x=new B2.default(K)}o.newNode(x,i),i=null}),this.position++},e.word=function(i){var n=this.nextToken;return n&&this.content(n)==="|"?(this.position++,this.namespace()):this.splitWord(i)},e.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.parse=function(i){switch(this.currToken[se.FIELDS.TYPE]){case he.space:this.space();break;case he.comment:this.comment();break;case he.openParenthesis:this.parentheses();break;case he.closeParenthesis:i&&this.missingParenthesis();break;case he.openSquare:this.attribute();break;case he.dollar:case he.caret:case he.equals:case he.word:this.word();break;case he.colon:this.pseudo();break;case he.comma:this.comma();break;case he.asterisk:this.universal();break;case he.ampersand:this.nesting();break;case he.slash:case he.combinator:this.combinator();break;case he.str:this.string();break;case he.closeSquare:this.missingSquareBracket();case he.semicolon:this.missingBackslash();default:this.unexpected()}},e.expected=function(i,n,o){if(Array.isArray(i)){var s=i.pop();i=i.join(", ")+" or "+s}var u=/^[aeiou]/.test(i[0])?"an":"a";return o?this.error("Expected "+u+" "+i+', found "'+o+'" instead.',{index:n}):this.error("Expected "+u+" "+i+".",{index:n})},e.requiredSpace=function(i){return this.options.lossy?" ":i},e.optionalSpace=function(i){return this.options.lossy?"":i},e.lossySpace=function(i,n){return this.options.lossy?n?" ":"":i},e.parseParenthesisToken=function(i){var n=this.content(i);return i[se.FIELDS.TYPE]===he.space?this.requiredSpace(n):n},e.newNode=function(i,n){return n&&(/^ +$/.test(n)&&(this.options.lossy||(this.spaces=(this.spaces||"")+n),n=!0),i.namespace=n,dn(i,"namespace")),this.spaces&&(i.spaces.before=this.spaces,this.spaces=""),this.current.append(i)},e.content=function(i){return i===void 0&&(i=this.currToken),this.css.slice(i[se.FIELDS.START_POS],i[se.FIELDS.END_POS])},e.locateNextMeaningfulToken=function(i){i===void 0&&(i=this.position+1);for(var n=i;n<this.tokens.length;)if(j2[this.tokens[n][se.FIELDS.TYPE]]){n++;continue}else return n;return-1},U2(r,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),r}();qs.default=$2;hw.exports=qs.default});var yw=de(($s,dw)=>{"use strict";L();F();N();$s.__esModule=!0;$s.default=void 0;var W2=z2(pw());function z2(r){return r&&r.__esModule?r:{default:r}}var V2=function(){function r(t,i){this.func=t||function(){},this.funcRes=null,this.options=i}var e=r.prototype;return e._shouldUpdateSelector=function(i,n){n===void 0&&(n={});var o=Object.assign({},this.options,n);return o.updateSelector===!1?!1:typeof i!="string"},e._isLossy=function(i){i===void 0&&(i={});var n=Object.assign({},this.options,i);return n.lossless===!1},e._root=function(i,n){n===void 0&&(n={});var o=new W2.default(i,this._parseOptions(n));return o.root},e._parseOptions=function(i){return{lossy:this._isLossy(i)}},e._run=function(i,n){var o=this;return n===void 0&&(n={}),new Promise(function(s,u){try{var f=o._root(i,n);Promise.resolve(o.func(f)).then(function(c){var p=void 0;return o._shouldUpdateSelector(i,n)&&(p=f.toString(),i.selector=p),{transform:c,root:f,string:p}}).then(s,u)}catch(c){u(c);return}})},e._runSync=function(i,n){n===void 0&&(n={});var o=this._root(i,n),s=this.func(o);if(s&&typeof s.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var u=void 0;return n.updateSelector&&typeof i!="string"&&(u=o.toString(),i.selector=u),{transform:s,root:o,string:u}},e.ast=function(i,n){return this._run(i,n).then(function(o){return o.root})},e.astSync=function(i,n){return this._runSync(i,n).root},e.transform=function(i,n){return this._run(i,n).then(function(o){return o.transform})},e.transformSync=function(i,n){return this._runSync(i,n).transform},e.process=function(i,n){return this._run(i,n).then(function(o){return o.string||o.root.toString()})},e.processSync=function(i,n){var o=this._runSync(i,n);return o.string||o.root.toString()},r}();$s.default=V2;dw.exports=$s.default});var gw=de(Qe=>{"use strict";L();F();N();Qe.__esModule=!0;Qe.universal=Qe.tag=Qe.string=Qe.selector=Qe.root=Qe.pseudo=Qe.nesting=Qe.id=Qe.comment=Qe.combinator=Qe.className=Qe.attribute=void 0;var G2=Jt(Rf()),H2=Jt(lf()),Y2=Jt(Pf()),K2=Jt(cf()),J2=Jt(pf()),Q2=Jt(Bf()),X2=Jt(bf()),Z2=Jt(nf()),ex=Jt(of()),tx=Jt(vf()),rx=Jt(gf()),ix=Jt(If());function Jt(r){return r&&r.__esModule?r:{default:r}}var nx=function(e){return new G2.default(e)};Qe.attribute=nx;var sx=function(e){return new H2.default(e)};Qe.className=sx;var ox=function(e){return new Y2.default(e)};Qe.combinator=ox;var ax=function(e){return new K2.default(e)};Qe.comment=ax;var ux=function(e){return new J2.default(e)};Qe.id=ux;var lx=function(e){return new Q2.default(e)};Qe.nesting=lx;var fx=function(e){return new X2.default(e)};Qe.pseudo=fx;var cx=function(e){return new Z2.default(e)};Qe.root=cx;var hx=function(e){return new ex.default(e)};Qe.selector=hx;var px=function(e){return new tx.default(e)};Qe.string=px;var dx=function(e){return new rx.default(e)};Qe.tag=dx;var yx=function(e){return new ix.default(e)};Qe.universal=yx});var bw=de(We=>{"use strict";L();F();N();We.__esModule=!0;We.isComment=We.isCombinator=We.isClassName=We.isAttribute=void 0;We.isContainer=Rx;We.isIdentifier=void 0;We.isNamespace=xx;We.isNesting=void 0;We.isNode=Wf;We.isPseudo=void 0;We.isPseudoClass=Tx;We.isPseudoElement=ww;We.isUniversal=We.isTag=We.isString=We.isSelector=We.isRoot=void 0;var tt=bt(),Bt,gx=(Bt={},Bt[tt.ATTRIBUTE]=!0,Bt[tt.CLASS]=!0,Bt[tt.COMBINATOR]=!0,Bt[tt.COMMENT]=!0,Bt[tt.ID]=!0,Bt[tt.NESTING]=!0,Bt[tt.PSEUDO]=!0,Bt[tt.ROOT]=!0,Bt[tt.SELECTOR]=!0,Bt[tt.STRING]=!0,Bt[tt.TAG]=!0,Bt[tt.UNIVERSAL]=!0,Bt);function Wf(r){return typeof r=="object"&&gx[r.type]}function Qt(r,e){return Wf(e)&&e.type===r}var mw=Qt.bind(null,tt.ATTRIBUTE);We.isAttribute=mw;var mx=Qt.bind(null,tt.CLASS);We.isClassName=mx;var vx=Qt.bind(null,tt.COMBINATOR);We.isCombinator=vx;var wx=Qt.bind(null,tt.COMMENT);We.isComment=wx;var bx=Qt.bind(null,tt.ID);We.isIdentifier=bx;var Sx=Qt.bind(null,tt.NESTING);We.isNesting=Sx;var zf=Qt.bind(null,tt.PSEUDO);We.isPseudo=zf;var Ex=Qt.bind(null,tt.ROOT);We.isRoot=Ex;var _x=Qt.bind(null,tt.SELECTOR);We.isSelector=_x;var Ox=Qt.bind(null,tt.STRING);We.isString=Ox;var vw=Qt.bind(null,tt.TAG);We.isTag=vw;var Ax=Qt.bind(null,tt.UNIVERSAL);We.isUniversal=Ax;function ww(r){return zf(r)&&r.value&&(r.value.startsWith("::")||r.value.toLowerCase()===":before"||r.value.toLowerCase()===":after"||r.value.toLowerCase()===":first-letter"||r.value.toLowerCase()===":first-line")}function Tx(r){return zf(r)&&!ww(r)}function Rx(r){return!!(Wf(r)&&r.walk)}function xx(r){return mw(r)||vw(r)}});var Sw=de(ur=>{"use strict";L();F();N();ur.__esModule=!0;var Vf=bt();Object.keys(Vf).forEach(function(r){r==="default"||r==="__esModule"||r in ur&&ur[r]===Vf[r]||(ur[r]=Vf[r])});var Gf=gw();Object.keys(Gf).forEach(function(r){r==="default"||r==="__esModule"||r in ur&&ur[r]===Gf[r]||(ur[r]=Gf[r])});var Hf=bw();Object.keys(Hf).forEach(function(r){r==="default"||r==="__esModule"||r in ur&&ur[r]===Hf[r]||(ur[r]=Hf[r])})});var Ow=de((Ws,_w)=>{"use strict";L();F();N();Ws.__esModule=!0;Ws.default=void 0;var Ix=Cx(yw()),kx=Px(Sw());function Ew(r){if(typeof WeakMap!="function")return null;var e=new WeakMap,t=new WeakMap;return(Ew=function(n){return n?t:e})(r)}function Px(r,e){if(!e&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var t=Ew(e);if(t&&t.has(r))return t.get(r);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in r)if(o!=="default"&&Object.prototype.hasOwnProperty.call(r,o)){var s=n?Object.getOwnPropertyDescriptor(r,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=r[o]}return i.default=r,t&&t.set(r,i),i}function Cx(r){return r&&r.__esModule?r:{default:r}}var Yf=function(e){return new Ix.default(e)};Object.assign(Yf,kx);delete Yf.__esModule;var Bx=Yf;Ws.default=Bx;_w.exports=Ws.default});var Mx={};wn(Mx,{purgecss:()=>Zf});L();F();N();L();F();N();Or();L();F();N();_i();L();F();N();L();F();N();var cg=Ma(ig(),1);L();F();N();var zn=r=>{if(typeof r!="string")throw new TypeError("invalid pattern");if(r.length>65536)throw new TypeError("pattern is too long")};L();F();N();L();F();N();var d_={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Vn=r=>r.replace(/[[\]\\-]/g,"\\$&"),y_=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),ng=r=>r.join(""),sg=(r,e)=>{let t=e;if(r.charAt(t)!=="[")throw new Error("not in a brace expression");let i=[],n=[],o=t+1,s=!1,u=!1,f=!1,c=!1,p=t,d="";e:for(;o<r.length;){let b=r.charAt(o);if((b==="!"||b==="^")&&o===t+1){c=!0,o++;continue}if(b==="]"&&s&&!f){p=o+1;break}if(s=!0,b==="\\"&&!f){f=!0,o++;continue}if(b==="["&&!f){for(let[E,[A,x,I]]of Object.entries(d_))if(r.startsWith(E,o)){if(d)return["$.",!1,r.length-t,!0];o+=E.length,I?n.push(A):i.push(A),u=u||x;continue e}}if(f=!1,d){b>d?i.push(Vn(d)+"-"+Vn(b)):b===d&&i.push(Vn(b)),d="",o++;continue}if(r.startsWith("-]",o+1)){i.push(Vn(b+"-")),o+=2;continue}if(r.startsWith("-",o+1)){d=b,o+=2;continue}i.push(Vn(b)),o++}if(p<o)return["",!1,0,!1];if(!i.length&&!n.length)return["$.",!1,r.length-t,!0];if(n.length===0&&i.length===1&&/^\\?.$/.test(i[0])&&!c){let b=i[0].length===2?i[0].slice(-1):i[0];return[y_(b),!1,p-t,!1]}let v="["+(c?"^":"")+ng(i)+"]",m="["+(c?"":"^")+ng(n)+"]";return[i.length&&n.length?"("+v+"|"+m+")":i.length?v:m,u,p-t,!0]};L();F();N();var ir=(r,{windowsPathsNoEscape:e=!1}={})=>e?r.replace(/\[([^\/\\])\]/g,"$1"):r.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");var g_=new Set(["!","?","+","*","@"]),og=r=>g_.has(r),m_="(?!(?:^|/)\\.\\.?(?:$|/))",Uo="(?!\\.)",v_=new Set(["[","."]),w_=new Set(["..","."]),b_=new Set("().*{}+?[]^$\\!"),S_=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),dl="[^/]",ag=dl+"*?",ug=dl+"+?",Ji=class r{type;#e;#t;#s=!1;#i=[];#o;#b;#l;#c=!1;#a;#u;#n=!1;constructor(e,t,i={}){this.type=e,e&&(this.#t=!0),this.#o=t,this.#e=this.#o?this.#o.#e:this,this.#a=this.#e===this?i:this.#e.#a,this.#l=this.#e===this?[]:this.#e.#l,e==="!"&&!this.#e.#c&&this.#l.push(this),this.#b=this.#o?this.#o.#i.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#i)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#u!==void 0?this.#u:this.type?this.#u=this.type+"("+this.#i.map(e=>String(e)).join("|")+")":this.#u=this.#i.map(e=>String(e)).join("")}#g(){if(this!==this.#e)throw new Error("should only call on root");if(this.#c)return this;this.toString(),this.#c=!0;let e;for(;e=this.#l.pop();){if(e.type!=="!")continue;let t=e,i=t.#o;for(;i;){for(let n=t.#b+1;!i.type&&n<i.#i.length;n++)for(let o of e.#i){if(typeof o=="string")throw new Error("string part in extglob AST??");o.copyIn(i.#i[n])}t=i,i=t.#o}}return this}push(...e){for(let t of e)if(t!==""){if(typeof t!="string"&&!(t instanceof r&&t.#o===this))throw new Error("invalid part: "+t);this.#i.push(t)}}toJSON(){let e=this.type===null?this.#i.slice().map(t=>typeof t=="string"?t:t.toJSON()):[this.type,...this.#i.map(t=>t.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#c&&this.#o?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#o?.isStart())return!1;if(this.#b===0)return!0;let e=this.#o;for(let t=0;t<this.#b;t++){let i=e.#i[t];if(!(i instanceof r&&i.type==="!"))return!1}return!0}isEnd(){if(this.#e===this||this.#o?.type==="!")return!0;if(!this.#o?.isEnd())return!1;if(!this.type)return this.#o?.isEnd();let e=this.#o?this.#o.#i.length:0;return this.#b===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){let t=new r(this.type,e);for(let i of this.#i)t.copyIn(i);return t}static#m(e,t,i,n){let o=!1,s=!1,u=-1,f=!1;if(t.type===null){let m=i,g="";for(;m<e.length;){let b=e.charAt(m++);if(o||b==="\\"){o=!o,g+=b;continue}if(s){m===u+1?(b==="^"||b==="!")&&(f=!0):b==="]"&&!(m===u+2&&f)&&(s=!1),g+=b;continue}else if(b==="["){s=!0,u=m,f=!1,g+=b;continue}if(!n.noext&&og(b)&&e.charAt(m)==="("){t.push(g),g="";let E=new r(b,t);m=r.#m(e,E,m,n),t.push(E);continue}g+=b}return t.push(g),m}let c=i+1,p=new r(null,t),d=[],v="";for(;c<e.length;){let m=e.charAt(c++);if(o||m==="\\"){o=!o,v+=m;continue}if(s){c===u+1?(m==="^"||m==="!")&&(f=!0):m==="]"&&!(c===u+2&&f)&&(s=!1),v+=m;continue}else if(m==="["){s=!0,u=c,f=!1,v+=m;continue}if(og(m)&&e.charAt(c)==="("){p.push(v),v="";let g=new r(m,p);p.push(g),c=r.#m(e,g,c,n);continue}if(m==="|"){p.push(v),v="",d.push(p),p=new r(null,t);continue}if(m===")")return v===""&&t.#i.length===0&&(t.#n=!0),p.push(v),v="",t.push(...d,p),c;v+=m}return t.type=null,t.#t=void 0,t.#i=[e.substring(i-1)],c}static fromGlob(e,t={}){let i=new r(null,void 0,t);return r.#m(e,i,0,t),i}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[t,i,n,o]=this.toRegExpSource();if(!(n||this.#t||this.#a.nocase&&!this.#a.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return i;let u=(this.#a.nocase?"i":"")+(o?"u":"");return Object.assign(new RegExp(`^${t}$`,u),{_src:t,_glob:e})}get options(){return this.#a}toRegExpSource(e){let t=e??!!this.#a.dot;if(this.#e===this&&this.#g(),!this.type){let f=this.isStart()&&this.isEnd(),c=this.#i.map(m=>{let[g,b,E,A]=typeof m=="string"?r.#h(m,this.#t,f):m.toRegExpSource(e);return this.#t=this.#t||E,this.#s=this.#s||A,g}).join(""),p="";if(this.isStart()&&typeof this.#i[0]=="string"&&!(this.#i.length===1&&w_.has(this.#i[0]))){let g=v_,b=t&&g.has(c.charAt(0))||c.startsWith("\\.")&&g.has(c.charAt(2))||c.startsWith("\\.\\.")&&g.has(c.charAt(4)),E=!t&&!e&&g.has(c.charAt(0));p=b?m_:E?Uo:""}let d="";return this.isEnd()&&this.#e.#c&&this.#o?.type==="!"&&(d="(?:$|\\/)"),[p+c+d,ir(c),this.#t=!!this.#t,this.#s]}let i=this.type==="*"||this.type==="+",n=this.type==="!"?"(?:(?!(?:":"(?:",o=this.#p(t);if(this.isStart()&&this.isEnd()&&!o&&this.type!=="!"){let f=this.toString();return this.#i=[f],this.type=null,this.#t=void 0,[f,ir(this.toString()),!1,!1]}let s=!i||e||t||!Uo?"":this.#p(!0);s===o&&(s=""),s&&(o=`(?:${o})(?:${s})*?`);let u="";if(this.type==="!"&&this.#n)u=(this.isStart()&&!t?Uo:"")+ug;else{let f=this.type==="!"?"))"+(this.isStart()&&!t&&!e?Uo:"")+ag+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&s?")":this.type==="*"&&s?")?":`)${this.type}`;u=n+o+f}return[u,ir(o),this.#t=!!this.#t,this.#s]}#p(e){return this.#i.map(t=>{if(typeof t=="string")throw new Error("string type in extglob ast??");let[i,n,o,s]=t.toRegExpSource(e);return this.#s=this.#s||s,i}).filter(t=>!(this.isStart()&&this.isEnd())||!!t).join("|")}static#h(e,t,i=!1){let n=!1,o="",s=!1;for(let u=0;u<e.length;u++){let f=e.charAt(u);if(n){n=!1,o+=(b_.has(f)?"\\":"")+f;continue}if(f==="\\"){u===e.length-1?o+="\\\\":n=!0;continue}if(f==="["){let[c,p,d,v]=sg(e,u);if(d){o+=c,s=s||p,u+=d-1,t=t||v;continue}}if(f==="*"){i&&e==="*"?o+=ug:o+=ag,t=!0;continue}if(f==="?"){o+=dl,t=!0;continue}o+=S_(f)}return[o,ir(e),!!t,s]}};L();F();N();var Qi=(r,{windowsPathsNoEscape:e=!1}={})=>e?r.replace(/[?*()[\]]/g,"[$&]"):r.replace(/[?*()[\]\\]/g,"\\$&");var xt=(r,e,t={})=>(zn(e),!t.nocomment&&e.charAt(0)==="#"?!1:new Mt(e,t).match(r)),E_=/^\*+([^+@!?\*\[\(]*)$/,__=r=>e=>!e.startsWith(".")&&e.endsWith(r),O_=r=>e=>e.endsWith(r),A_=r=>(r=r.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(r)),T_=r=>(r=r.toLowerCase(),e=>e.toLowerCase().endsWith(r)),R_=/^\*+\.\*+$/,x_=r=>!r.startsWith(".")&&r.includes("."),I_=r=>r!=="."&&r!==".."&&r.includes("."),k_=/^\.\*+$/,P_=r=>r!=="."&&r!==".."&&r.startsWith("."),C_=/^\*+$/,B_=r=>r.length!==0&&!r.startsWith("."),L_=r=>r.length!==0&&r!=="."&&r!=="..",N_=/^\?+([^+@!?\*\[\(]*)?$/,F_=([r,e=""])=>{let t=hg([r]);return e?(e=e.toLowerCase(),i=>t(i)&&i.toLowerCase().endsWith(e)):t},D_=([r,e=""])=>{let t=pg([r]);return e?(e=e.toLowerCase(),i=>t(i)&&i.toLowerCase().endsWith(e)):t},M_=([r,e=""])=>{let t=pg([r]);return e?i=>t(i)&&i.endsWith(e):t},U_=([r,e=""])=>{let t=hg([r]);return e?i=>t(i)&&i.endsWith(e):t},hg=([r])=>{let e=r.length;return t=>t.length===e&&!t.startsWith(".")},pg=([r])=>{let e=r.length;return t=>t.length===e&&t!=="."&&t!==".."},dg=typeof z=="object"&&z?typeof z.env=="object"&&z.env&&z.env.__MINIMATCH_TESTING_PLATFORM__||z.platform:"posix",lg={win32:{sep:"\\"},posix:{sep:"/"}},j_=dg==="win32"?lg.win32.sep:lg.posix.sep;xt.sep=j_;var wt=Symbol("globstar **");xt.GLOBSTAR=wt;var q_="[^/]",$_=q_+"*?",W_="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",z_="(?:(?!(?:\\/|^)\\.).)*?",V_=(r,e={})=>t=>xt(t,r,e);xt.filter=V_;var Gt=(r,e={})=>Object.assign({},r,e),G_=r=>{if(!r||typeof r!="object"||!Object.keys(r).length)return xt;let e=xt;return Object.assign((i,n,o={})=>e(i,n,Gt(r,o)),{Minimatch:class extends e.Minimatch{constructor(n,o={}){super(n,Gt(r,o))}static defaults(n){return e.defaults(Gt(r,n)).Minimatch}},AST:class extends e.AST{constructor(n,o,s={}){super(n,o,Gt(r,s))}static fromGlob(n,o={}){return e.AST.fromGlob(n,Gt(r,o))}},unescape:(i,n={})=>e.unescape(i,Gt(r,n)),escape:(i,n={})=>e.escape(i,Gt(r,n)),filter:(i,n={})=>e.filter(i,Gt(r,n)),defaults:i=>e.defaults(Gt(r,i)),makeRe:(i,n={})=>e.makeRe(i,Gt(r,n)),braceExpand:(i,n={})=>e.braceExpand(i,Gt(r,n)),match:(i,n,o={})=>e.match(i,n,Gt(r,o)),sep:e.sep,GLOBSTAR:wt})};xt.defaults=G_;var yg=(r,e={})=>(zn(r),e.nobrace||!/\{(?:(?!\{).)*\}/.test(r)?[r]:(0,cg.default)(r));xt.braceExpand=yg;var H_=(r,e={})=>new Mt(r,e).makeRe();xt.makeRe=H_;var Y_=(r,e,t={})=>{let i=new Mt(e,t);return r=r.filter(n=>i.match(n)),i.options.nonull&&!r.length&&r.push(e),r};xt.match=Y_;var fg=/[?*]|[+@!]\(.*?\)|\[|\]/,K_=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Mt=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,t={}){zn(e),t=t||{},this.options=t,this.pattern=e,this.platform=t.platform||dg,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot!==void 0?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...o)=>console.error(...o)),this.debug(this.pattern,this.globSet);let i=this.globSet.map(o=>this.slashSplit(o));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let n=this.globParts.map((o,s,u)=>{if(this.isWindows&&this.windowsNoMagicRoot){let f=o[0]===""&&o[1]===""&&(o[2]==="?"||!fg.test(o[2]))&&!fg.test(o[3]),c=/^[a-z]:/i.test(o[0]);if(f)return[...o.slice(0,4),...o.slice(4).map(p=>this.parse(p))];if(c)return[o[0],...o.slice(1).map(p=>this.parse(p))]}return o.map(f=>this.parse(f))});if(this.debug(this.pattern,n),this.set=n.filter(o=>o.indexOf(!1)===-1),this.isWindows)for(let o=0;o<this.set.length;o++){let s=this.set[o];s[0]===""&&s[1]===""&&this.globParts[o][2]==="?"&&typeof s[3]=="string"&&/^[a-z]:$/i.test(s[3])&&(s[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let i=0;i<e.length;i++)for(let n=0;n<e[i].length;n++)e[i][n]==="**"&&(e[i][n]="*");let{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):t>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(t=>{let i=-1;for(;(i=t.indexOf("**",i+1))!==-1;){let n=i;for(;t[n+1]==="**";)n++;n!==i&&t.splice(i,n-i)}return t})}levelOneOptimize(e){return e.map(t=>(t=t.reduce((i,n)=>{let o=i[i.length-1];return n==="**"&&o==="**"?i:n===".."&&o&&o!==".."&&o!=="."&&o!=="**"?(i.pop(),i):(i.push(n),i)},[]),t.length===0?[""]:t))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let n=1;n<e.length-1;n++){let o=e[n];n===1&&o===""&&e[0]===""||(o==="."||o==="")&&(t=!0,e.splice(n,1),n--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(t=!0,e.pop())}let i=0;for(;(i=e.indexOf("..",i+1))!==-1;){let n=e[i-1];n&&n!=="."&&n!==".."&&n!=="**"&&(t=!0,e.splice(i-1,2),i-=2)}}while(t);return e.length===0?[""]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let i of e){let n=-1;for(;(n=i.indexOf("**",n+1))!==-1;){let s=n;for(;i[s+1]==="**";)s++;s>n&&i.splice(n+1,s-n);let u=i[n+1],f=i[n+2],c=i[n+3];if(u!==".."||!f||f==="."||f===".."||!c||c==="."||c==="..")continue;t=!0,i.splice(n,1);let p=i.slice(0);p[n]="**",e.push(p),n--}if(!this.preserveMultipleSlashes){for(let s=1;s<i.length-1;s++){let u=i[s];s===1&&u===""&&i[0]===""||(u==="."||u==="")&&(t=!0,i.splice(s,1),s--)}i[0]==="."&&i.length===2&&(i[1]==="."||i[1]==="")&&(t=!0,i.pop())}let o=0;for(;(o=i.indexOf("..",o+1))!==-1;){let s=i[o-1];if(s&&s!=="."&&s!==".."&&s!=="**"){t=!0;let f=o===1&&i[o+1]==="**"?["."]:[];i.splice(o-1,2,...f),i.length===0&&i.push(""),o-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let i=t+1;i<e.length;i++){let n=this.partsMatch(e[t],e[i],!this.preserveMultipleSlashes);if(n){e[t]=[],e[i]=n;break}}return e.filter(t=>t.length)}partsMatch(e,t,i=!1){let n=0,o=0,s=[],u="";for(;n<e.length&&o<t.length;)if(e[n]===t[o])s.push(u==="b"?t[o]:e[n]),n++,o++;else if(i&&e[n]==="**"&&t[o]===e[n+1])s.push(e[n]),n++;else if(i&&t[o]==="**"&&e[n]===t[o+1])s.push(t[o]),o++;else if(e[n]==="*"&&t[o]&&(this.options.dot||!t[o].startsWith("."))&&t[o]!=="**"){if(u==="b")return!1;u="a",s.push(e[n]),n++,o++}else if(t[o]==="*"&&e[n]&&(this.options.dot||!e[n].startsWith("."))&&e[n]!=="**"){if(u==="a")return!1;u="b",s.push(t[o]),n++,o++}else return!1;return e.length===t.length&&s}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,i=0;for(let n=0;n<e.length&&e.charAt(n)==="!";n++)t=!t,i++;i&&(this.pattern=e.slice(i)),this.negate=t}matchOne(e,t,i=!1){let n=this.options;if(this.isWindows){let b=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),E=!b&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),A=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),x=!A&&t[0]===""&&t[1]===""&&t[2]==="?"&&typeof t[3]=="string"&&/^[a-z]:$/i.test(t[3]),I=E?3:b?0:void 0,D=x?3:A?0:void 0;if(typeof I=="number"&&typeof D=="number"){let[j,ae]=[e[I],t[D]];j.toLowerCase()===ae.toLowerCase()&&(t[D]=j,D>I?t=t.slice(D):I>D&&(e=e.slice(I)))}}let{optimizationLevel:o=1}=this.options;o>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var s=0,u=0,f=e.length,c=t.length;s<f&&u<c;s++,u++){this.debug("matchOne loop");var p=t[u],d=e[s];if(this.debug(t,p,d),p===!1)return!1;if(p===wt){this.debug("GLOBSTAR",[t,p,d]);var v=s,m=u+1;if(m===c){for(this.debug("** at the end");s<f;s++)if(e[s]==="."||e[s]===".."||!n.dot&&e[s].charAt(0)===".")return!1;return!0}for(;v<f;){var g=e[v];if(this.debug(`
|
|
93
93
|
globstar while`,e,v,t,m,g),this.matchOne(e.slice(v),t.slice(m),i))return this.debug("globstar found match!",v,f,g),!0;if(g==="."||g===".."||!n.dot&&g.charAt(0)==="."){this.debug("dot detected!",e,v,t,m);break}this.debug("globstar swallow a segment, and continue"),v++}return!!(i&&(this.debug(`
|
|
94
|
-
>>> no match, partial?`,e,v,t,m),v===f))}let b;if(typeof p=="string"?(b=d===p,this.debug("string match",p,d,b)):(b=p.test(d),this.debug("pattern match",p,d,b)),!b)return!1}if(s===f&&u===c)return!0;if(s===f)return i;if(u===c)return s===f-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return yg(this.pattern,this.options)}parse(e){zn(e);let t=this.options;if(e==="**")return wt;if(e==="")return"";let i,n=null;(i=e.match(C_))?n=t.dot?B_:L_:(i=e.match(E_))?n=(t.nocase?t.dot?T_:A_:t.dot?O_:__)(i[1]):(i=e.match(N_))?n=(t.nocase?t.dot?D_:F_:t.dot?M_:U_)(i):(i=e.match(R_))?n=t.dot?I_:x_:(i=e.match(k_))&&(n=P_);let o=Ji.fromGlob(e,this.options).toMMPattern();return n&&typeof o=="object"&&Reflect.defineProperty(o,"test",{value:n}),o}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,i=t.noglobstar?$_:t.dot?W_:z_,n=new Set(t.nocase?["i"]:[]),o=e.map(f=>{let c=f.map(p=>{if(p instanceof RegExp)for(let d of p.flags.split(""))n.add(d);return typeof p=="string"?K_(p):p===wt?wt:p._src});return c.forEach((p,d)=>{let v=c[d+1],m=c[d-1];p!==wt||m===wt||(m===void 0?v!==void 0&&v!==wt?c[d+1]="(?:\\/|"+i+"\\/)?"+v:c[d]=i:v===void 0?c[d-1]=m+"(?:\\/|"+i+")?":v!==wt&&(c[d-1]=m+"(?:\\/|\\/"+i+"\\/)"+v,c[d+1]=wt))}),c.filter(p=>p!==wt).join("/")}).join("|"),[s,u]=e.length>1?["(?:",")"]:["",""];o="^"+s+o+u+"$",this.negate&&(o="^(?!"+o+").+$");try{this.regexp=new RegExp(o,[...n].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let i=this.options;this.isWindows&&(e=e.split("\\").join("/"));let n=this.slashSplit(e);this.debug(this.pattern,"split",n);let o=this.set;this.debug(this.pattern,"set",o);let s=n[n.length-1];if(!s)for(let u=n.length-2;!s&&u>=0;u--)s=n[u];for(let u=0;u<o.length;u++){let f=o[u],c=n;if(i.matchBase&&f.length===1&&(c=[s]),this.matchOne(c,f,t))return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate}static defaults(e){return xt.defaults(e).Minimatch}};xt.AST=Ji;xt.Minimatch=Mt;xt.escape=Qi;xt.unescape=ir;B();F();N();Si();B();F();N();B();F();N();var Xi=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,mg=new Set,yl=typeof z=="object"&&z?z:{},vg=(r,e,t,i)=>{typeof yl.emitWarning=="function"?yl.emitWarning(r,e,t,i):console.error(`[${t}] ${e}: ${r}`)},jo=globalThis.AbortController,gg=globalThis.AbortSignal;if(typeof jo>"u"){gg=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,n){this._onabort.push(n)}},jo=class{constructor(){e()}signal=new gg;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let n of this.signal._onabort)n(i);this.signal.onabort?.(i)}}};let r=yl.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{r&&(r=!1,vg("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",e))}}var J_=r=>!mg.has(r),UL=Symbol("type"),Kr=r=>r&&r===Math.floor(r)&&r>0&&isFinite(r),wg=r=>Kr(r)?r<=Math.pow(2,8)?Uint8Array:r<=Math.pow(2,16)?Uint16Array:r<=Math.pow(2,32)?Uint32Array:r<=Number.MAX_SAFE_INTEGER?Zi:null:null,Zi=class extends Array{constructor(e){super(e),this.fill(0)}},gl=class r{heap;length;static#e=!1;static create(e){let t=wg(e);if(!t)return[];r.#e=!0;let i=new r(e,t);return r.#e=!1,i}constructor(e,t){if(!r.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},Gn=class r{#e;#t;#s;#i;#o;#b;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#l;#c;#a;#u;#n;#g;#m;#p;#h;#_;#y;#O;#A;#w;#S;#E;#d;static unsafeExposeInternals(e){return{starts:e.#A,ttls:e.#w,sizes:e.#O,keyMap:e.#a,keyList:e.#u,valList:e.#n,next:e.#g,prev:e.#m,get head(){return e.#p},get tail(){return e.#h},free:e.#_,isBackgroundFetch:t=>e.#f(t),backgroundFetch:(t,i,n,o)=>e.#M(t,i,n,o),moveToTail:t=>e.#j(t),indexes:t=>e.#R(t),rindexes:t=>e.#x(t),isStale:t=>e.#v(t)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#c}get size(){return this.#l}get fetchMethod(){return this.#o}get memoMethod(){return this.#b}get dispose(){return this.#s}get disposeAfter(){return this.#i}constructor(e){let{max:t=0,ttl:i,ttlResolution:n=1,ttlAutopurge:o,updateAgeOnGet:s,updateAgeOnHas:u,allowStale:f,dispose:c,disposeAfter:p,noDisposeOnSet:d,noUpdateTTL:v,maxSize:m=0,maxEntrySize:g=0,sizeCalculation:b,fetchMethod:E,memoMethod:A,noDeleteOnFetchRejection:x,noDeleteOnStaleGet:I,allowStaleOnFetchRejection:D,allowStaleOnFetchAbort:j,ignoreFetchAbort:ae}=e;if(t!==0&&!Kr(t))throw new TypeError("max option must be a nonnegative integer");let X=t?wg(t):Array;if(!X)throw new Error("invalid max value: "+t);if(this.#e=t,this.#t=m,this.maxEntrySize=g||this.#t,this.sizeCalculation=b,this.sizeCalculation){if(!this.#t&&!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(A!==void 0&&typeof A!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#b=A,E!==void 0&&typeof E!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#o=E,this.#E=!!E,this.#a=new Map,this.#u=new Array(t).fill(void 0),this.#n=new Array(t).fill(void 0),this.#g=new X(t),this.#m=new X(t),this.#p=0,this.#h=0,this.#_=gl.create(t),this.#l=0,this.#c=0,typeof c=="function"&&(this.#s=c),typeof p=="function"?(this.#i=p,this.#y=[]):(this.#i=void 0,this.#y=void 0),this.#S=!!this.#s,this.#d=!!this.#i,this.noDisposeOnSet=!!d,this.noUpdateTTL=!!v,this.noDeleteOnFetchRejection=!!x,this.allowStaleOnFetchRejection=!!D,this.allowStaleOnFetchAbort=!!j,this.ignoreFetchAbort=!!ae,this.maxEntrySize!==0){if(this.#t!==0&&!Kr(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!Kr(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#k()}if(this.allowStale=!!f,this.noDeleteOnStaleGet=!!I,this.updateAgeOnGet=!!s,this.updateAgeOnHas=!!u,this.ttlResolution=Kr(n)||n===0?n:1,this.ttlAutopurge=!!o,this.ttl=i||0,this.ttl){if(!Kr(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#I()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){let K="LRU_CACHE_UNBOUNDED";J_(K)&&(mg.add(K),vg("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",K,r))}}getRemainingTTL(e){return this.#a.has(e)?1/0:0}#I(){let e=new Zi(this.#e),t=new Zi(this.#e);this.#w=e,this.#A=t,this.#C=(o,s,u=Xi.now())=>{if(t[o]=s!==0?u:0,e[o]=s,s!==0&&this.ttlAutopurge){let f=setTimeout(()=>{this.#v(o)&&this.#P(this.#u[o],"expire")},s+1);f.unref&&f.unref()}},this.#T=o=>{t[o]=e[o]!==0?Xi.now():0},this.#r=(o,s)=>{if(e[s]){let u=e[s],f=t[s];if(!u||!f)return;o.ttl=u,o.start=f,o.now=i||n();let c=o.now-f;o.remainingTTL=u-c}};let i=0,n=()=>{let o=Xi.now();if(this.ttlResolution>0){i=o;let s=setTimeout(()=>i=0,this.ttlResolution);s.unref&&s.unref()}return o};this.getRemainingTTL=o=>{let s=this.#a.get(o);if(s===void 0)return 0;let u=e[s],f=t[s];if(!u||!f)return 1/0;let c=(i||n())-f;return u-c},this.#v=o=>{let s=t[o],u=e[o];return!!u&&!!s&&(i||n())-s>u}}#T=()=>{};#r=()=>{};#C=()=>{};#v=()=>!1;#k(){let e=new Zi(this.#e);this.#c=0,this.#O=e,this.#L=t=>{this.#c-=e[t],e[t]=0},this.#N=(t,i,n,o)=>{if(this.#f(i))return 0;if(!Kr(n))if(o){if(typeof o!="function")throw new TypeError("sizeCalculation must be a function");if(n=o(i,t),!Kr(n))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 n},this.#B=(t,i,n)=>{if(e[t]=i,this.#t){let o=this.#t-e[t];for(;this.#c>o;)this.#D(!0)}this.#c+=e[t],n&&(n.entrySize=i,n.totalCalculatedSize=this.#c)}}#L=e=>{};#B=(e,t,i)=>{};#N=(e,t,i,n)=>{if(i||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#R({allowStale:e=this.allowStale}={}){if(this.#l)for(let t=this.#h;!(!this.#F(t)||((e||!this.#v(t))&&(yield t),t===this.#p));)t=this.#m[t]}*#x({allowStale:e=this.allowStale}={}){if(this.#l)for(let t=this.#p;!(!this.#F(t)||((e||!this.#v(t))&&(yield t),t===this.#h));)t=this.#g[t]}#F(e){return e!==void 0&&this.#a.get(this.#u[e])===e}*entries(){for(let e of this.#R())this.#n[e]!==void 0&&this.#u[e]!==void 0&&!this.#f(this.#n[e])&&(yield[this.#u[e],this.#n[e]])}*rentries(){for(let e of this.#x())this.#n[e]!==void 0&&this.#u[e]!==void 0&&!this.#f(this.#n[e])&&(yield[this.#u[e],this.#n[e]])}*keys(){for(let e of this.#R()){let t=this.#u[e];t!==void 0&&!this.#f(this.#n[e])&&(yield t)}}*rkeys(){for(let e of this.#x()){let t=this.#u[e];t!==void 0&&!this.#f(this.#n[e])&&(yield t)}}*values(){for(let e of this.#R())this.#n[e]!==void 0&&!this.#f(this.#n[e])&&(yield this.#n[e])}*rvalues(){for(let e of this.#x())this.#n[e]!==void 0&&!this.#f(this.#n[e])&&(yield this.#n[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(let i of this.#R()){let n=this.#n[i],o=this.#f(n)?n.__staleWhileFetching:n;if(o!==void 0&&e(o,this.#u[i],this))return this.get(this.#u[i],t)}}forEach(e,t=this){for(let i of this.#R()){let n=this.#n[i],o=this.#f(n)?n.__staleWhileFetching:n;o!==void 0&&e.call(t,o,this.#u[i],this)}}rforEach(e,t=this){for(let i of this.#x()){let n=this.#n[i],o=this.#f(n)?n.__staleWhileFetching:n;o!==void 0&&e.call(t,o,this.#u[i],this)}}purgeStale(){let e=!1;for(let t of this.#x({allowStale:!0}))this.#v(t)&&(this.#P(this.#u[t],"expire"),e=!0);return e}info(e){let t=this.#a.get(e);if(t===void 0)return;let i=this.#n[t],n=this.#f(i)?i.__staleWhileFetching:i;if(n===void 0)return;let o={value:n};if(this.#w&&this.#A){let s=this.#w[t],u=this.#A[t];if(s&&u){let f=s-(Xi.now()-u);o.ttl=f,o.start=Date.now()}}return this.#O&&(o.size=this.#O[t]),o}dump(){let e=[];for(let t of this.#R({allowStale:!0})){let i=this.#u[t],n=this.#n[t],o=this.#f(n)?n.__staleWhileFetching:n;if(o===void 0||i===void 0)continue;let s={value:o};if(this.#w&&this.#A){s.ttl=this.#w[t];let u=Xi.now()-this.#A[t];s.start=Math.floor(Date.now()-u)}this.#O&&(s.size=this.#O[t]),e.unshift([i,s])}return e}load(e){this.clear();for(let[t,i]of e){if(i.start){let n=Date.now()-i.start;i.start=Xi.now()-n}this.set(t,i.value,i)}}set(e,t,i={}){if(t===void 0)return this.delete(e),this;let{ttl:n=this.ttl,start:o,noDisposeOnSet:s=this.noDisposeOnSet,sizeCalculation:u=this.sizeCalculation,status:f}=i,{noUpdateTTL:c=this.noUpdateTTL}=i,p=this.#N(e,t,i.size||0,u);if(this.maxEntrySize&&p>this.maxEntrySize)return f&&(f.set="miss",f.maxEntrySizeExceeded=!0),this.#P(e,"set"),this;let d=this.#l===0?void 0:this.#a.get(e);if(d===void 0)d=this.#l===0?this.#h:this.#_.length!==0?this.#_.pop():this.#l===this.#e?this.#D(!1):this.#l,this.#u[d]=e,this.#n[d]=t,this.#a.set(e,d),this.#g[this.#h]=d,this.#m[d]=this.#h,this.#h=d,this.#l++,this.#B(d,p,f),f&&(f.set="add"),c=!1;else{this.#j(d);let v=this.#n[d];if(t!==v){if(this.#E&&this.#f(v)){v.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:m}=v;m!==void 0&&!s&&(this.#S&&this.#s?.(m,e,"set"),this.#d&&this.#y?.push([m,e,"set"]))}else s||(this.#S&&this.#s?.(v,e,"set"),this.#d&&this.#y?.push([v,e,"set"]));if(this.#L(d),this.#B(d,p,f),this.#n[d]=t,f){f.set="replace";let m=v&&this.#f(v)?v.__staleWhileFetching:v;m!==void 0&&(f.oldValue=m)}}else f&&(f.set="update")}if(n!==0&&!this.#w&&this.#I(),this.#w&&(c||this.#C(d,n,o),f&&this.#r(f,d)),!s&&this.#d&&this.#y){let v=this.#y,m;for(;m=v?.shift();)this.#i?.(...m)}return this}pop(){try{for(;this.#l;){let e=this.#n[this.#p];if(this.#D(!0),this.#f(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#d&&this.#y){let e=this.#y,t;for(;t=e?.shift();)this.#i?.(...t)}}}#D(e){let t=this.#p,i=this.#u[t],n=this.#n[t];return this.#E&&this.#f(n)?n.__abortController.abort(new Error("evicted")):(this.#S||this.#d)&&(this.#S&&this.#s?.(n,i,"evict"),this.#d&&this.#y?.push([n,i,"evict"])),this.#L(t),e&&(this.#u[t]=void 0,this.#n[t]=void 0,this.#_.push(t)),this.#l===1?(this.#p=this.#h=0,this.#_.length=0):this.#p=this.#g[t],this.#a.delete(i),this.#l--,t}has(e,t={}){let{updateAgeOnHas:i=this.updateAgeOnHas,status:n}=t,o=this.#a.get(e);if(o!==void 0){let s=this.#n[o];if(this.#f(s)&&s.__staleWhileFetching===void 0)return!1;if(this.#v(o))n&&(n.has="stale",this.#r(n,o));else return i&&this.#T(o),n&&(n.has="hit",this.#r(n,o)),!0}else n&&(n.has="miss");return!1}peek(e,t={}){let{allowStale:i=this.allowStale}=t,n=this.#a.get(e);if(n===void 0||!i&&this.#v(n))return;let o=this.#n[n];return this.#f(o)?o.__staleWhileFetching:o}#M(e,t,i,n){let o=t===void 0?void 0:this.#n[t];if(this.#f(o))return o;let s=new jo,{signal:u}=i;u?.addEventListener("abort",()=>s.abort(u.reason),{signal:s.signal});let f={signal:s.signal,options:i,context:n},c=(b,E=!1)=>{let{aborted:A}=s.signal,x=i.ignoreFetchAbort&&b!==void 0;if(i.status&&(A&&!E?(i.status.fetchAborted=!0,i.status.fetchError=s.signal.reason,x&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),A&&!x&&!E)return d(s.signal.reason);let I=m;return this.#n[t]===m&&(b===void 0?I.__staleWhileFetching?this.#n[t]=I.__staleWhileFetching:this.#P(e,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(e,b,f.options))),b},p=b=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=b),d(b)),d=b=>{let{aborted:E}=s.signal,A=E&&i.allowStaleOnFetchAbort,x=A||i.allowStaleOnFetchRejection,I=x||i.noDeleteOnFetchRejection,D=m;if(this.#n[t]===m&&(!I||D.__staleWhileFetching===void 0?this.#P(e,"fetch"):A||(this.#n[t]=D.__staleWhileFetching)),x)return i.status&&D.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),D.__staleWhileFetching;if(D.__returned===D)throw b},v=(b,E)=>{let A=this.#o?.(e,o,f);A&&A instanceof Promise&&A.then(x=>b(x===void 0?void 0:x),E),s.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(b(void 0),i.allowStaleOnFetchAbort&&(b=x=>c(x,!0)))})};i.status&&(i.status.fetchDispatched=!0);let m=new Promise(v).then(c,p),g=Object.assign(m,{__abortController:s,__staleWhileFetching:o,__returned:void 0});return t===void 0?(this.set(e,g,{...f.options,status:void 0}),t=this.#a.get(e)):this.#n[t]=g,g}#f(e){if(!this.#E)return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof jo}async fetch(e,t={}){let{allowStale:i=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:s=this.ttl,noDisposeOnSet:u=this.noDisposeOnSet,size:f=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:p=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:v=this.allowStaleOnFetchRejection,ignoreFetchAbort:m=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:b,forceRefresh:E=!1,status:A,signal:x}=t;if(!this.#E)return A&&(A.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:n,noDeleteOnStaleGet:o,status:A});let I={allowStale:i,updateAgeOnGet:n,noDeleteOnStaleGet:o,ttl:s,noDisposeOnSet:u,size:f,sizeCalculation:c,noUpdateTTL:p,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:v,allowStaleOnFetchAbort:g,ignoreFetchAbort:m,status:A,signal:x},D=this.#a.get(e);if(D===void 0){A&&(A.fetch="miss");let j=this.#M(e,D,I,b);return j.__returned=j}else{let j=this.#n[D];if(this.#f(j)){let se=i&&j.__staleWhileFetching!==void 0;return A&&(A.fetch="inflight",se&&(A.returnedStale=!0)),se?j.__staleWhileFetching:j.__returned=j}let ae=this.#v(D);if(!E&&!ae)return A&&(A.fetch="hit"),this.#j(D),n&&this.#T(D),A&&this.#r(A,D),j;let X=this.#M(e,D,I,b),Q=X.__staleWhileFetching!==void 0&&i;return A&&(A.fetch=ae?"stale":"refresh",Q&&ae&&(A.returnedStale=!0)),Q?X.__staleWhileFetching:X.__returned=X}}async forceFetch(e,t={}){let i=await this.fetch(e,t);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(e,t={}){let i=this.#b;if(!i)throw new Error("no memoMethod provided to constructor");let{context:n,forceRefresh:o,...s}=t,u=this.get(e,s);if(!o&&u!==void 0)return u;let f=i(e,u,{options:s,context:n});return this.set(e,f,s),f}get(e,t={}){let{allowStale:i=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:s}=t,u=this.#a.get(e);if(u!==void 0){let f=this.#n[u],c=this.#f(f);return s&&this.#r(s,u),this.#v(u)?(s&&(s.get="stale"),c?(s&&i&&f.__staleWhileFetching!==void 0&&(s.returnedStale=!0),i?f.__staleWhileFetching:void 0):(o||this.#P(e,"expire"),s&&i&&(s.returnedStale=!0),i?f:void 0)):(s&&(s.get="hit"),c?f.__staleWhileFetching:(this.#j(u),n&&this.#T(u),f))}else s&&(s.get="miss")}#U(e,t){this.#m[t]=e,this.#g[e]=t}#j(e){e!==this.#h&&(e===this.#p?this.#p=this.#g[e]:this.#U(this.#m[e],this.#g[e]),this.#U(this.#h,e),this.#h=e)}delete(e){return this.#P(e,"delete")}#P(e,t){let i=!1;if(this.#l!==0){let n=this.#a.get(e);if(n!==void 0)if(i=!0,this.#l===1)this.#q(t);else{this.#L(n);let o=this.#n[n];if(this.#f(o)?o.__abortController.abort(new Error("deleted")):(this.#S||this.#d)&&(this.#S&&this.#s?.(o,e,t),this.#d&&this.#y?.push([o,e,t])),this.#a.delete(e),this.#u[n]=void 0,this.#n[n]=void 0,n===this.#h)this.#h=this.#m[n];else if(n===this.#p)this.#p=this.#g[n];else{let s=this.#m[n];this.#g[s]=this.#g[n];let u=this.#g[n];this.#m[u]=this.#m[n]}this.#l--,this.#_.push(n)}}if(this.#d&&this.#y?.length){let n=this.#y,o;for(;o=n?.shift();)this.#i?.(...o)}return i}clear(){return this.#q("delete")}#q(e){for(let t of this.#x({allowStale:!0})){let i=this.#n[t];if(this.#f(i))i.__abortController.abort(new Error("deleted"));else{let n=this.#u[t];this.#S&&this.#s?.(i,n,e),this.#d&&this.#y?.push([i,n,e])}}if(this.#a.clear(),this.#n.fill(void 0),this.#u.fill(void 0),this.#w&&this.#A&&(this.#w.fill(0),this.#A.fill(0)),this.#O&&this.#O.fill(0),this.#p=0,this.#h=0,this.#_.length=0,this.#c=0,this.#l=0,this.#d&&this.#y){let t=this.#y,i;for(;i=t?.shift();)this.#i?.(...i)}}};Or();Si();_i();_i();B();F();N();_i();_i();In();Wr();qi();kr();Ir();$r();pi();zu();Nn();Or();Ni();Vi();Co();Fn();Si();Lo();Bo();Qs();var{access:lB,copyFile:fB,cp:cB,open:hB,opendir:pB,rename:dB,truncate:yB,rm:gB,rmdir:mB,mkdir:vB,readdir:bg,readlink:Sg,symlink:wB,lstat:Eg,stat:bB,link:SB,unlink:EB,chmod:_B,lchmod:OB,lchown:AB,chown:TB,utimes:RB,realpath:_g,mkdtemp:xB,writeFile:IB,appendFile:kB,readFile:PB,watch:CB}=Mo;B();F();N();Vi();Co();B();F();N();pi();pi();var Og=Br.StringDecoder;var Ag=typeof z=="object"&&z?z:{stdout:null,stderr:null},Q_=r=>!!r&&typeof r=="object"&&(r instanceof Qr||r instanceof vt||X_(r)||Z_(r)),X_=r=>!!r&&typeof r=="object"&&r instanceof Po&&typeof r.pipe=="function"&&r.pipe!==vt.Writable.prototype.pipe,Z_=r=>!!r&&typeof r=="object"&&r instanceof Po&&typeof r.write=="function"&&typeof r.end=="function",Dr=Symbol("EOF"),Mr=Symbol("maybeEmitEnd"),Jr=Symbol("emittedEnd"),qo=Symbol("emittingEnd"),Hn=Symbol("emittedError"),$o=Symbol("closed"),Tg=Symbol("read"),Wo=Symbol("flush"),Rg=Symbol("flushChunk"),nr=Symbol("encoding"),en=Symbol("decoder"),dt=Symbol("flowing"),Yn=Symbol("paused"),tn=Symbol("resume"),yt=Symbol("buffer"),It=Symbol("pipes"),gt=Symbol("bufferLength"),ml=Symbol("bufferPush"),zo=Symbol("bufferShift"),_t=Symbol("objectMode"),ft=Symbol("destroyed"),vl=Symbol("error"),wl=Symbol("emitData"),xg=Symbol("emitEnd"),bl=Symbol("emitEnd2"),gr=Symbol("async"),Sl=Symbol("abort"),Vo=Symbol("aborted"),Kn=Symbol("signal"),Oi=Symbol("dataListeners"),Ut=Symbol("discarded"),Jn=r=>Promise.resolve().then(r),eO=r=>r(),tO=r=>r==="end"||r==="finish"||r==="prefinish",rO=r=>r instanceof ArrayBuffer||!!r&&typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,iO=r=>!Y.isBuffer(r)&&ArrayBuffer.isView(r),Go=class{src;dest;opts;ondrain;constructor(e,t,i){this.src=e,this.dest=t,this.opts=i,this.ondrain=()=>e[tn](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},El=class extends Go{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,i){super(e,t,i),this.proxyErrors=n=>t.emit("error",n),e.on("error",this.proxyErrors)}},nO=r=>!!r.objectMode,sO=r=>!r.objectMode&&!!r.encoding&&r.encoding!=="buffer",Qr=class extends Po{[dt]=!1;[Yn]=!1;[It]=[];[yt]=[];[_t];[nr];[gr];[en];[Dr]=!1;[Jr]=!1;[qo]=!1;[$o]=!1;[Hn]=null;[gt]=0;[ft]=!1;[Kn];[Vo]=!1;[Oi]=0;[Ut]=!1;writable=!0;readable=!0;constructor(...e){let t=e[0]||{};if(super(),t.objectMode&&typeof t.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");nO(t)?(this[_t]=!0,this[nr]=null):sO(t)?(this[nr]=t.encoding,this[_t]=!1):(this[_t]=!1,this[nr]=null),this[gr]=!!t.async,this[en]=this[nr]?new Og(this[nr]):null,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[yt]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[It]});let{signal:i}=t;i&&(this[Kn]=i,i.aborted?this[Sl]():i.addEventListener("abort",()=>this[Sl]()))}get bufferLength(){return this[gt]}get encoding(){return this[nr]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[_t]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[gr]}set async(e){this[gr]=this[gr]||!!e}[Sl](){this[Vo]=!0,this.emit("abort",this[Kn]?.reason),this.destroy(this[Kn]?.reason)}get aborted(){return this[Vo]}set aborted(e){}write(e,t,i){if(this[Vo])return!1;if(this[Dr])throw new Error("write after end");if(this[ft])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(i=t,t="utf8"),t||(t="utf8");let n=this[gr]?Jn:eO;if(!this[_t]&&!Y.isBuffer(e)){if(iO(e))e=Y.from(e.buffer,e.byteOffset,e.byteLength);else if(rO(e))e=Y.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[_t]?(this[dt]&&this[gt]!==0&&this[Wo](!0),this[dt]?this.emit("data",e):this[ml](e),this[gt]!==0&&this.emit("readable"),i&&n(i),this[dt]):e.length?(typeof e=="string"&&!(t===this[nr]&&!this[en]?.lastNeed)&&(e=Y.from(e,t)),Y.isBuffer(e)&&this[nr]&&(e=this[en].write(e)),this[dt]&&this[gt]!==0&&this[Wo](!0),this[dt]?this.emit("data",e):this[ml](e),this[gt]!==0&&this.emit("readable"),i&&n(i),this[dt]):(this[gt]!==0&&this.emit("readable"),i&&n(i),this[dt])}read(e){if(this[ft])return null;if(this[Ut]=!1,this[gt]===0||e===0||e&&e>this[gt])return this[Mr](),null;this[_t]&&(e=null),this[yt].length>1&&!this[_t]&&(this[yt]=[this[nr]?this[yt].join(""):Y.concat(this[yt],this[gt])]);let t=this[Tg](e||null,this[yt][0]);return this[Mr](),t}[Tg](e,t){if(this[_t])this[zo]();else{let i=t;e===i.length||e===null?this[zo]():typeof i=="string"?(this[yt][0]=i.slice(e),t=i.slice(0,e),this[gt]-=e):(this[yt][0]=i.subarray(e),t=i.subarray(0,e),this[gt]-=e)}return this.emit("data",t),!this[yt].length&&!this[Dr]&&this.emit("drain"),t}end(e,t,i){return typeof e=="function"&&(i=e,e=void 0),typeof t=="function"&&(i=t,t="utf8"),e!==void 0&&this.write(e,t),i&&this.once("end",i),this[Dr]=!0,this.writable=!1,(this[dt]||!this[Yn])&&this[Mr](),this}[tn](){this[ft]||(!this[Oi]&&!this[It].length&&(this[Ut]=!0),this[Yn]=!1,this[dt]=!0,this.emit("resume"),this[yt].length?this[Wo]():this[Dr]?this[Mr]():this.emit("drain"))}resume(){return this[tn]()}pause(){this[dt]=!1,this[Yn]=!0,this[Ut]=!1}get destroyed(){return this[ft]}get flowing(){return this[dt]}get paused(){return this[Yn]}[ml](e){this[_t]?this[gt]+=1:this[gt]+=e.length,this[yt].push(e)}[zo](){return this[_t]?this[gt]-=1:this[gt]-=this[yt][0].length,this[yt].shift()}[Wo](e=!1){do;while(this[Rg](this[zo]())&&this[yt].length);!e&&!this[yt].length&&!this[Dr]&&this.emit("drain")}[Rg](e){return this.emit("data",e),this[dt]}pipe(e,t){if(this[ft])return e;this[Ut]=!1;let i=this[Jr];return t=t||{},e===Ag.stdout||e===Ag.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,i?t.end&&e.end():(this[It].push(t.proxyErrors?new El(this,e,t):new Go(this,e,t)),this[gr]?Jn(()=>this[tn]()):this[tn]()),e}unpipe(e){let t=this[It].find(i=>i.dest===e);t&&(this[It].length===1?(this[dt]&&this[Oi]===0&&(this[dt]=!1),this[It]=[]):this[It].splice(this[It].indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){let i=super.on(e,t);if(e==="data")this[Ut]=!1,this[Oi]++,!this[It].length&&!this[dt]&&this[tn]();else if(e==="readable"&&this[gt]!==0)super.emit("readable");else if(tO(e)&&this[Jr])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[Hn]){let n=t;this[gr]?Jn(()=>n.call(this,this[Hn])):n.call(this,this[Hn])}return i}removeListener(e,t){return this.off(e,t)}off(e,t){let i=super.off(e,t);return e==="data"&&(this[Oi]=this.listeners("data").length,this[Oi]===0&&!this[Ut]&&!this[It].length&&(this[dt]=!1)),i}removeAllListeners(e){let t=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[Oi]=0,!this[Ut]&&!this[It].length&&(this[dt]=!1)),t}get emittedEnd(){return this[Jr]}[Mr](){!this[qo]&&!this[Jr]&&!this[ft]&&this[yt].length===0&&this[Dr]&&(this[qo]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[$o]&&this.emit("close"),this[qo]=!1)}emit(e,...t){let i=t[0];if(e!=="error"&&e!=="close"&&e!==ft&&this[ft])return!1;if(e==="data")return!this[_t]&&!i?!1:this[gr]?(Jn(()=>this[wl](i)),!0):this[wl](i);if(e==="end")return this[xg]();if(e==="close"){if(this[$o]=!0,!this[Jr]&&!this[ft])return!1;let o=super.emit("close");return this.removeAllListeners("close"),o}else if(e==="error"){this[Hn]=i,super.emit(vl,i);let o=!this[Kn]||this.listeners("error").length?super.emit("error",i):!1;return this[Mr](),o}else if(e==="resume"){let o=super.emit("resume");return this[Mr](),o}else if(e==="finish"||e==="prefinish"){let o=super.emit(e);return this.removeAllListeners(e),o}let n=super.emit(e,...t);return this[Mr](),n}[wl](e){for(let i of this[It])i.dest.write(e)===!1&&this.pause();let t=this[Ut]?!1:super.emit("data",e);return this[Mr](),t}[xg](){return this[Jr]?!1:(this[Jr]=!0,this.readable=!1,this[gr]?(Jn(()=>this[bl]()),!0):this[bl]())}[bl](){if(this[en]){let t=this[en].end();if(t){for(let i of this[It])i.dest.write(t);this[Ut]||super.emit("data",t)}}for(let t of this[It])t.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[_t]||(e.dataLength=0);let t=this.promise();return this.on("data",i=>{e.push(i),this[_t]||(e.dataLength+=i.length)}),await t,e}async concat(){if(this[_t])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[nr]?e.join(""):Y.concat(e,e.dataLength)}async promise(){return new Promise((e,t)=>{this.on(ft,()=>t(new Error("stream destroyed"))),this.on("error",i=>t(i)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[Ut]=!1;let e=!1,t=async()=>(this.pause(),e=!0,{value:void 0,done:!0});return{next:()=>{if(e)return t();let n=this.read();if(n!==null)return Promise.resolve({done:!1,value:n});if(this[Dr])return t();let o,s,u=d=>{this.off("data",f),this.off("end",c),this.off(ft,p),t(),s(d)},f=d=>{this.off("error",u),this.off("end",c),this.off(ft,p),this.pause(),o({value:d,done:!!this[Dr]})},c=()=>{this.off("error",u),this.off("data",f),this.off(ft,p),t(),o({done:!0,value:void 0})},p=()=>u(new Error("stream destroyed"));return new Promise((d,v)=>{s=v,o=d,this.once(ft,p),this.once("error",u),this.once("end",c),this.once("data",f)})},throw:t,return:t,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[Ut]=!1;let e=!1,t=()=>(this.pause(),this.off(vl,t),this.off(ft,t),this.off("end",t),e=!0,{done:!0,value:void 0}),i=()=>{if(e)return t();let n=this.read();return n===null?t():{done:!1,value:n}};return this.once("end",t),this.once(vl,t),this.once(ft,t),{next:i,throw:t,return:t,[Symbol.iterator](){return this}}}destroy(e){if(this[ft])return e?this.emit("error",e):this.emit(ft),this;this[ft]=!0,this[Ut]=!0,this[yt].length=0,this[gt]=0;let t=this;return typeof t.close=="function"&&!this[$o]&&t.close(),e?this.emit("error",e):this.emit(ft),this}static get isStream(){return Q_}};var oO=fl.native,Xn={lstatSync:sl,readdir:ol,readdirSync:al,readlinkSync:ll,realpathSync:oO,promises:{lstat:Eg,readdir:bg,readlink:Sg,realpath:_g}},Lg=r=>!r||r===Xn||r===$n?Xn:{...Xn,...r,promises:{...Xn.promises,...r.promises||{}}},Bg=/^\\\\\?\\([a-z]:)\\?$/i,aO=r=>r.replace(/\//g,"\\").replace(Bg,"$1\\"),uO=/[\\\/]/,Yt=0,Ng=1,Fg=2,mr=4,Dg=6,Mg=8,Ai=10,Ug=12,Ht=15,Qn=~Ht,_l=16,Ig=32,Zn=64,sr=128,Ho=256,Ko=512,kg=Zn|sr|Ko,lO=1023,Ol=r=>r.isFile()?Mg:r.isDirectory()?mr:r.isSymbolicLink()?Ai:r.isCharacterDevice()?Fg:r.isBlockDevice()?Dg:r.isSocket()?Ug:r.isFIFO()?Ng:Yt,Pg=new Map,es=r=>{let e=Pg.get(r);if(e)return e;let t=r.normalize("NFKD");return Pg.set(r,t),t},Cg=new Map,Yo=r=>{let e=Cg.get(r);if(e)return e;let t=es(r.toLowerCase());return Cg.set(r,t),t},Jo=class extends Gn{constructor(){super({max:256})}},Al=class extends Gn{constructor(e=16*1024){super({maxSize:e,sizeCalculation:t=>t.length+1})}},jg=Symbol("PathScurry setAsCwd"),Ot=class{name;root;roots;parent;nocase;isCWD=!1;#e;#t;get dev(){return this.#t}#s;get mode(){return this.#s}#i;get nlink(){return this.#i}#o;get uid(){return this.#o}#b;get gid(){return this.#b}#l;get rdev(){return this.#l}#c;get blksize(){return this.#c}#a;get ino(){return this.#a}#u;get size(){return this.#u}#n;get blocks(){return this.#n}#g;get atimeMs(){return this.#g}#m;get mtimeMs(){return this.#m}#p;get ctimeMs(){return this.#p}#h;get birthtimeMs(){return this.#h}#_;get atime(){return this.#_}#y;get mtime(){return this.#y}#O;get ctime(){return this.#O}#A;get birthtime(){return this.#A}#w;#S;#E;#d;#I;#T;#r;#C;#v;#k;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,t=Yt,i,n,o,s,u){this.name=e,this.#w=o?Yo(e):es(e),this.#r=t&lO,this.nocase=o,this.roots=n,this.root=i||this,this.#C=s,this.#E=u.fullpath,this.#I=u.relative,this.#T=u.relativePosix,this.parent=u.parent,this.parent?this.#e=this.parent.#e:this.#e=Lg(u.fs)}depth(){return this.#S!==void 0?this.#S:this.parent?this.#S=this.parent.depth()+1:this.#S=0}childrenCache(){return this.#C}resolve(e){if(!e)return this;let t=this.getRootString(e),n=e.substring(t.length).split(this.splitSep);return t?this.getRoot(t).#L(n):this.#L(n)}#L(e){let t=this;for(let i of e)t=t.child(i);return t}children(){let e=this.#C.get(this);if(e)return e;let t=Object.assign([],{provisional:0});return this.#C.set(this,t),this.#r&=~_l,t}child(e,t){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let i=this.children(),n=this.nocase?Yo(e):es(e);for(let f of i)if(f.#w===n)return f;let o=this.parent?this.sep:"",s=this.#E?this.#E+o+e:void 0,u=this.newChild(e,Yt,{...t,parent:this,fullpath:s});return this.canReaddir()||(u.#r|=sr),i.push(u),u}relative(){if(this.isCWD)return"";if(this.#I!==void 0)return this.#I;let e=this.name,t=this.parent;if(!t)return this.#I=this.name;let i=t.relative();return i+(!i||!t.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#T!==void 0)return this.#T;let e=this.name,t=this.parent;if(!t)return this.#T=this.fullpathPosix();let i=t.relativePosix();return i+(!i||!t.parent?"":"/")+e}fullpath(){if(this.#E!==void 0)return this.#E;let e=this.name,t=this.parent;if(!t)return this.#E=this.name;let n=t.fullpath()+(t.parent?this.sep:"")+e;return this.#E=n}fullpathPosix(){if(this.#d!==void 0)return this.#d;if(this.sep==="/")return this.#d=this.fullpath();if(!this.parent){let n=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(n)?this.#d=`//?/${n}`:this.#d=n}let e=this.parent,t=e.fullpathPosix(),i=t+(!t||!e.parent?"":"/")+this.name;return this.#d=i}isUnknown(){return(this.#r&Ht)===Yt}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#r&Ht)===Mg}isDirectory(){return(this.#r&Ht)===mr}isCharacterDevice(){return(this.#r&Ht)===Fg}isBlockDevice(){return(this.#r&Ht)===Dg}isFIFO(){return(this.#r&Ht)===Ng}isSocket(){return(this.#r&Ht)===Ug}isSymbolicLink(){return(this.#r&Ai)===Ai}lstatCached(){return this.#r&Ig?this:void 0}readlinkCached(){return this.#v}realpathCached(){return this.#k}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#v)return!0;if(!this.parent)return!1;let e=this.#r&Ht;return!(e!==Yt&&e!==Ai||this.#r&Ho||this.#r&sr)}calledReaddir(){return!!(this.#r&_l)}isENOENT(){return!!(this.#r&sr)}isNamed(e){return this.nocase?this.#w===Yo(e):this.#w===es(e)}async readlink(){let e=this.#v;if(e)return e;if(this.canReadlink()&&this.parent)try{let t=await this.#e.promises.readlink(this.fullpath()),i=(await this.parent.realpath())?.resolve(t);if(i)return this.#v=i}catch(t){this.#f(t.code);return}}readlinkSync(){let e=this.#v;if(e)return e;if(this.canReadlink()&&this.parent)try{let t=this.#e.readlinkSync(this.fullpath()),i=this.parent.realpathSync()?.resolve(t);if(i)return this.#v=i}catch(t){this.#f(t.code);return}}#B(e){this.#r|=_l;for(let t=e.provisional;t<e.length;t++){let i=e[t];i&&i.#N()}}#N(){this.#r&sr||(this.#r=(this.#r|sr)&Qn,this.#R())}#R(){let e=this.children();e.provisional=0;for(let t of e)t.#N()}#x(){this.#r|=Ko,this.#F()}#F(){if(this.#r&Zn)return;let e=this.#r;(e&Ht)===mr&&(e&=Qn),this.#r=e|Zn,this.#R()}#D(e=""){e==="ENOTDIR"||e==="EPERM"?this.#F():e==="ENOENT"?this.#N():this.children().provisional=0}#M(e=""){e==="ENOTDIR"?this.parent.#F():e==="ENOENT"&&this.#N()}#f(e=""){let t=this.#r;t|=Ho,e==="ENOENT"&&(t|=sr),(e==="EINVAL"||e==="UNKNOWN")&&(t&=Qn),this.#r=t,e==="ENOTDIR"&&this.parent&&this.parent.#F()}#U(e,t){return this.#P(e,t)||this.#j(e,t)}#j(e,t){let i=Ol(e),n=this.newChild(e.name,i,{parent:this}),o=n.#r&Ht;return o!==mr&&o!==Ai&&o!==Yt&&(n.#r|=Zn),t.unshift(n),t.provisional++,n}#P(e,t){for(let i=t.provisional;i<t.length;i++){let n=t[i];if((this.nocase?Yo(e.name):es(e.name))===n.#w)return this.#q(e,n,i,t)}}#q(e,t,i,n){let o=t.name;return t.#r=t.#r&Qn|Ol(e),o!==e.name&&(t.name=e.name),i!==n.provisional&&(i===n.length-1?n.pop():n.splice(i,1),n.unshift(t)),n.provisional++,t}async lstat(){if(!(this.#r&sr))try{return this.#V(await this.#e.promises.lstat(this.fullpath())),this}catch(e){this.#M(e.code)}}lstatSync(){if(!(this.#r&sr))try{return this.#V(this.#e.lstatSync(this.fullpath())),this}catch(e){this.#M(e.code)}}#V(e){let{atime:t,atimeMs:i,birthtime:n,birthtimeMs:o,blksize:s,blocks:u,ctime:f,ctimeMs:c,dev:p,gid:d,ino:v,mode:m,mtime:g,mtimeMs:b,nlink:E,rdev:A,size:x,uid:I}=e;this.#_=t,this.#g=i,this.#A=n,this.#h=o,this.#c=s,this.#n=u,this.#O=f,this.#p=c,this.#t=p,this.#b=d,this.#a=v,this.#s=m,this.#y=g,this.#m=b,this.#i=E,this.#l=A,this.#u=x,this.#o=I;let D=Ol(e);this.#r=this.#r&Qn|D|Ig,D!==Yt&&D!==mr&&D!==Ai&&(this.#r|=Zn)}#W=[];#z=!1;#G(e){this.#z=!1;let t=this.#W.slice();this.#W.length=0,t.forEach(i=>i(null,e))}readdirCB(e,t=!1){if(!this.canReaddir()){t?e(null,[]):queueMicrotask(()=>e(null,[]));return}let i=this.children();if(this.calledReaddir()){let o=i.slice(0,i.provisional);t?e(null,o):queueMicrotask(()=>e(null,o));return}if(this.#W.push(e),this.#z)return;this.#z=!0;let n=this.fullpath();this.#e.readdir(n,{withFileTypes:!0},(o,s)=>{if(o)this.#D(o.code),i.provisional=0;else{for(let u of s)this.#U(u,i);this.#B(i)}this.#G(i.slice(0,i.provisional))})}#$;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();if(this.#$)await this.#$;else{let i=()=>{};this.#$=new Promise(n=>i=n);try{for(let n of await this.#e.promises.readdir(t,{withFileTypes:!0}))this.#U(n,e);this.#B(e)}catch(n){this.#D(n.code),e.provisional=0}this.#$=void 0,i()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();try{for(let i of this.#e.readdirSync(t,{withFileTypes:!0}))this.#U(i,e);this.#B(e)}catch(i){this.#D(i.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#r&kg)return!1;let e=Ht&this.#r;return e===Yt||e===mr||e===Ai}shouldWalk(e,t){return(this.#r&mr)===mr&&!(this.#r&kg)&&!e.has(this)&&(!t||t(this))}async realpath(){if(this.#k)return this.#k;if(!((Ko|Ho|sr)&this.#r))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#k=this.resolve(e)}catch{this.#x()}}realpathSync(){if(this.#k)return this.#k;if(!((Ko|Ho|sr)&this.#r))try{let e=this.#e.realpathSync(this.fullpath());return this.#k=this.resolve(e)}catch{this.#x()}}[jg](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let t=new Set([]),i=[],n=this;for(;n&&n.parent;)t.add(n),n.#I=i.join(this.sep),n.#T=i.join("/"),n=n.parent,i.push("..");for(n=e;n&&n.parent&&!t.has(n);)n.#I=void 0,n.#T=void 0,n=n.parent}},Qo=class r extends Ot{sep="\\";splitSep=uO;constructor(e,t=Yt,i,n,o,s,u){super(e,t,i,n,o,s,u)}newChild(e,t=Yt,i={}){return new r(e,t,this.root,this.roots,this.nocase,this.childrenCache(),i)}getRootString(e){return En.parse(e).root}getRoot(e){if(e=aO(e.toUpperCase()),e===this.root.name)return this.root;for(let[t,i]of Object.entries(this.roots))if(this.sameRoot(e,t))return this.roots[e]=i;return this.roots[e]=new rn(e,this).root}sameRoot(e,t=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(Bg,"$1\\"),e===t}},Xo=class r extends Ot{splitSep="/";sep="/";constructor(e,t=Yt,i,n,o,s,u){super(e,t,i,n,o,s,u)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,t=Yt,i={}){return new r(e,t,this.root,this.roots,this.nocase,this.childrenCache(),i)}},Zo=class{root;rootPath;roots;cwd;#e;#t;#s;nocase;#i;constructor(e=z.cwd(),t,i,{nocase:n,childrenCacheSize:o=16*1024,fs:s=Xn}={}){this.#i=Lg(s),(e instanceof URL||e.startsWith("file://"))&&(e=Hr(e));let u=t.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(u),this.#e=new Jo,this.#t=new Jo,this.#s=new Al(o);let f=u.substring(this.rootPath.length).split(i);if(f.length===1&&!f[0]&&f.pop(),n===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=n,this.root=this.newRoot(this.#i),this.roots[this.rootPath]=this.root;let c=this.root,p=f.length-1,d=t.sep,v=this.rootPath,m=!1;for(let g of f){let b=p--;c=c.child(g,{relative:new Array(b).fill("..").join(d),relativePosix:new Array(b).fill("..").join("/"),fullpath:v+=(m?"":d)+g}),m=!0}this.cwd=c}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#s}resolve(...e){let t="";for(let o=e.length-1;o>=0;o--){let s=e[o];if(!(!s||s===".")&&(t=t?`${s}/${t}`:s,this.isAbsolute(s)))break}let i=this.#e.get(t);if(i!==void 0)return i;let n=this.cwd.resolve(t).fullpath();return this.#e.set(t,n),n}resolvePosix(...e){let t="";for(let o=e.length-1;o>=0;o--){let s=e[o];if(!(!s||s===".")&&(t=t?`${s}/${t}`:s,this.isAbsolute(s)))break}let i=this.#t.get(t);if(i!==void 0)return i;let n=this.cwd.resolve(t).fullpathPosix();return this.#t.set(t,n),n}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,t={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i}=t;if(e.canReaddir()){let n=await e.readdir();return i?n:n.map(o=>o.name)}else return[]}readdirSync(e=this.cwd,t={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0}=t;return e.canReaddir()?i?e.readdirSync():e.readdirSync().map(n=>n.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e.withFileTypes,e=this.cwd);let i=await e.readlink();return t?i:i?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e.withFileTypes,e=this.cwd);let i=e.readlinkSync();return t?i:i?.fullpath()}async realpath(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e.withFileTypes,e=this.cwd);let i=await e.realpath();return t?i:i?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e.withFileTypes,e=this.cwd);let i=e.realpathSync();return t?i:i?.fullpath()}async walk(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:n=!1,filter:o,walkFilter:s}=t,u=[];(!o||o(e))&&u.push(i?e:e.fullpath());let f=new Set,c=(d,v)=>{f.add(d),d.readdirCB((m,g)=>{if(m)return v(m);let b=g.length;if(!b)return v();let E=()=>{--b===0&&v()};for(let A of g)(!o||o(A))&&u.push(i?A:A.fullpath()),n&&A.isSymbolicLink()?A.realpath().then(x=>x?.isUnknown()?x.lstat():x).then(x=>x?.shouldWalk(f,s)?c(x,E):E()):A.shouldWalk(f,s)?c(A,E):E()},!0)},p=e;return new Promise((d,v)=>{c(p,m=>{if(m)return v(m);d(u)})})}walkSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:n=!1,filter:o,walkFilter:s}=t,u=[];(!o||o(e))&&u.push(i?e:e.fullpath());let f=new Set([e]);for(let c of f){let p=c.readdirSync();for(let d of p){(!o||o(d))&&u.push(i?d:d.fullpath());let v=d;if(d.isSymbolicLink()){if(!(n&&(v=d.realpathSync())))continue;v.isUnknown()&&v.lstatSync()}v.shouldWalk(f,s)&&f.add(v)}}return u}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,t={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd),this.stream(e,t)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:n=!1,filter:o,walkFilter:s}=t;(!o||o(e))&&(yield i?e:e.fullpath());let u=new Set([e]);for(let f of u){let c=f.readdirSync();for(let p of c){(!o||o(p))&&(yield i?p:p.fullpath());let d=p;if(p.isSymbolicLink()){if(!(n&&(d=p.realpathSync())))continue;d.isUnknown()&&d.lstatSync()}d.shouldWalk(u,s)&&u.add(d)}}}stream(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:n=!1,filter:o,walkFilter:s}=t,u=new Qr({objectMode:!0});(!o||o(e))&&u.write(i?e:e.fullpath());let f=new Set,c=[e],p=0,d=()=>{let v=!1;for(;!v;){let m=c.shift();if(!m){p===0&&u.end();return}p++,f.add(m);let g=(E,A,x=!1)=>{if(E)return u.emit("error",E);if(n&&!x){let I=[];for(let D of A)D.isSymbolicLink()&&I.push(D.realpath().then(j=>j?.isUnknown()?j.lstat():j));if(I.length){Promise.all(I).then(()=>g(null,A,!0));return}}for(let I of A)I&&(!o||o(I))&&(u.write(i?I:I.fullpath())||(v=!0));p--;for(let I of A){let D=I.realpathCached()||I;D.shouldWalk(f,s)&&c.push(D)}v&&!u.flowing?u.once("drain",d):b||d()},b=!0;m.readdirCB(g,!0),b=!1}};return d(),u}streamSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:n=!1,filter:o,walkFilter:s}=t,u=new Qr({objectMode:!0}),f=new Set;(!o||o(e))&&u.write(i?e:e.fullpath());let c=[e],p=0,d=()=>{let v=!1;for(;!v;){let m=c.shift();if(!m){p===0&&u.end();return}p++,f.add(m);let g=m.readdirSync();for(let b of g)(!o||o(b))&&(u.write(i?b:b.fullpath())||(v=!0));p--;for(let b of g){let E=b;if(b.isSymbolicLink()){if(!(n&&(E=b.realpathSync())))continue;E.isUnknown()&&E.lstatSync()}E.shouldWalk(f,s)&&c.push(E)}}v&&!u.flowing&&u.once("drain",d)};return d(),u}chdir(e=this.cwd){let t=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[jg](t)}},rn=class extends Zo{sep="\\";constructor(e=z.cwd(),t={}){let{nocase:i=!0}=t;super(e,En,"\\",{...t,nocase:i}),this.nocase=i;for(let n=this.cwd;n;n=n.parent)n.nocase=this.nocase}parseRootPath(e){return En.parse(e).root.toUpperCase()}newRoot(e){return new Qo(this.rootPath,mr,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}},nn=class extends Zo{sep="/";constructor(e=z.cwd(),t={}){let{nocase:i=!1}=t;super(e,za,"/",{...t,nocase:i}),this.nocase=i}parseRootPath(e){return"/"}newRoot(e){return new Xo(this.rootPath,mr,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}},ts=class extends nn{constructor(e=z.cwd(),t={}){let{nocase:i=!0}=t;super(e,{...t,nocase:i})}},iN=z.platform==="win32"?Qo:Xo,qg=z.platform==="win32"?rn:z.platform==="darwin"?ts:nn;B();F();N();var fO=r=>r.length>=1,cO=r=>r.length>=1,sn=class r{#e;#t;#s;length;#i;#o;#b;#l;#c;#a;#u=!0;constructor(e,t,i,n){if(!fO(e))throw new TypeError("empty pattern list");if(!cO(t))throw new TypeError("empty glob list");if(t.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,i<0||i>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#t=t,this.#s=i,this.#i=n,this.#s===0){if(this.isUNC()){let[o,s,u,f,...c]=this.#e,[p,d,v,m,...g]=this.#t;c[0]===""&&(c.shift(),g.shift());let b=[o,s,u,f,""].join("/"),E=[p,d,v,m,""].join("/");this.#e=[b,...c],this.#t=[E,...g],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[o,...s]=this.#e,[u,...f]=this.#t;s[0]===""&&(s.shift(),f.shift());let c=o+"/",p=u+"/";this.#e=[c,...s],this.#t=[p,...f],this.length=this.#e.length}}}pattern(){return this.#e[this.#s]}isString(){return typeof this.#e[this.#s]=="string"}isGlobstar(){return this.#e[this.#s]===wt}isRegExp(){return this.#e[this.#s]instanceof RegExp}globString(){return this.#b=this.#b||(this.#s===0?this.isAbsolute()?this.#t[0]+this.#t.slice(1).join("/"):this.#t.join("/"):this.#t.slice(this.#s).join("/"))}hasMore(){return this.length>this.#s+1}rest(){return this.#o!==void 0?this.#o:this.hasMore()?(this.#o=new r(this.#e,this.#t,this.#s+1,this.#i),this.#o.#a=this.#a,this.#o.#c=this.#c,this.#o.#l=this.#l,this.#o):this.#o=null}isUNC(){let e=this.#e;return this.#c!==void 0?this.#c:this.#c=this.#i==="win32"&&this.#s===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#l!==void 0?this.#l:this.#l=this.#i==="win32"&&this.#s===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#a!==void 0?this.#a:this.#a=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#s===0?e:""}checkFollowGlobstar(){return!(this.#s===0||!this.isGlobstar()||!this.#u)}markFollowGlobstar(){return this.#s===0||!this.isGlobstar()||!this.#u?!1:(this.#u=!1,!0)}};B();F();N();B();F();N();var hO=typeof z=="object"&&z&&typeof z.platform=="string"?z.platform:"linux",on=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:t,nocase:i,noext:n,noglobstar:o,platform:s=hO}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=s,this.mmopts={dot:!0,nobrace:t,nocase:i,noext:n,noglobstar:o,optimizationLevel:2,platform:s,nocomment:!0,nonegate:!0};for(let u of e)this.add(u)}add(e){let t=new Mt(e,this.mmopts);for(let i=0;i<t.set.length;i++){let n=t.set[i],o=t.globParts[i];if(!n||!o)throw new Error("invalid pattern object");for(;n[0]==="."&&o[0]===".";)n.shift(),o.shift();let s=new sn(n,o,0,this.platform),u=new Mt(s.globString(),this.mmopts),f=o[o.length-1]==="**",c=s.isAbsolute();c?this.absolute.push(u):this.relative.push(u),f&&(c?this.absoluteChildren.push(u):this.relativeChildren.push(u))}}ignored(e){let t=e.fullpath(),i=`${t}/`,n=e.relative()||".",o=`${n}/`;for(let s of this.relative)if(s.match(n)||s.match(o))return!0;for(let s of this.absolute)if(s.match(t)||s.match(i))return!0;return!1}childrenIgnored(e){let t=e.fullpath()+"/",i=(e.relative()||".")+"/";for(let n of this.relativeChildren)if(n.match(i))return!0;for(let n of this.absoluteChildren)if(n.match(t))return!0;return!1}};B();F();N();var Tl=class r{store;constructor(e=new Map){this.store=e}copy(){return new r(new Map(this.store))}hasWalked(e,t){return this.store.get(e.fullpath())?.has(t.globString())}storeWalked(e,t){let i=e.fullpath(),n=this.store.get(i);n?n.add(t.globString()):this.store.set(i,new Set([t.globString()]))}},Rl=class{store=new Map;add(e,t,i){let n=(t?2:0)|(i?1:0),o=this.store.get(e);this.store.set(e,o===void 0?n:n&o)}entries(){return[...this.store.entries()].map(([e,t])=>[e,!!(t&2),!!(t&1)])}},xl=class{store=new Map;add(e,t){if(!e.canReaddir())return;let i=this.store.get(e);i?i.find(n=>n.globString()===t.globString())||i.push(t):this.store.set(e,[t])}get(e){let t=this.store.get(e);if(!t)throw new Error("attempting to walk unknown path");return t}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}},rs=class r{hasWalkedCache;matches=new Rl;subwalks=new xl;patterns;follow;dot;opts;constructor(e,t){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=t?t.copy():new Tl}processPatterns(e,t){this.patterns=t;let i=t.map(n=>[e,n]);for(let[n,o]of i){this.hasWalkedCache.storeWalked(n,o);let s=o.root(),u=o.isAbsolute()&&this.opts.absolute!==!1;if(s){n=n.resolve(s==="/"&&this.opts.root!==void 0?this.opts.root:s);let d=o.rest();if(d)o=d;else{this.matches.add(n,!0,!1);continue}}if(n.isENOENT())continue;let f,c,p=!1;for(;typeof(f=o.pattern())=="string"&&(c=o.rest());)n=n.resolve(f),o=c,p=!0;if(f=o.pattern(),c=o.rest(),p){if(this.hasWalkedCache.hasWalked(n,o))continue;this.hasWalkedCache.storeWalked(n,o)}if(typeof f=="string"){let d=f===".."||f===""||f===".";this.matches.add(n.resolve(f),u,d);continue}else if(f===wt){(!n.isSymbolicLink()||this.follow||o.checkFollowGlobstar())&&this.subwalks.add(n,o);let d=c?.pattern(),v=c?.rest();if(!c||(d===""||d===".")&&!v)this.matches.add(n,u,d===""||d===".");else if(d===".."){let m=n.parent||n;v?this.hasWalkedCache.hasWalked(m,v)||this.subwalks.add(m,v):this.matches.add(m,u,!0)}}else f instanceof RegExp&&this.subwalks.add(n,o)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new r(this.opts,this.hasWalkedCache)}filterEntries(e,t){let i=this.subwalks.get(e),n=this.child();for(let o of t)for(let s of i){let u=s.isAbsolute(),f=s.pattern(),c=s.rest();f===wt?n.testGlobstar(o,s,c,u):f instanceof RegExp?n.testRegExp(o,f,c,u):n.testString(o,f,c,u)}return n}testGlobstar(e,t,i,n){if((this.dot||!e.name.startsWith("."))&&(t.hasMore()||this.matches.add(e,n,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,t):e.isSymbolicLink()&&(i&&t.checkFollowGlobstar()?this.subwalks.add(e,i):t.markFollowGlobstar()&&this.subwalks.add(e,t)))),i){let o=i.pattern();if(typeof o=="string"&&o!==".."&&o!==""&&o!==".")this.testString(e,o,i.rest(),n);else if(o===".."){let s=e.parent||e;this.subwalks.add(s,i)}else o instanceof RegExp&&this.testRegExp(e,o,i.rest(),n)}}testRegExp(e,t,i,n){t.test(e.name)&&(i?this.subwalks.add(e,i):this.matches.add(e,n,!1))}testString(e,t,i,n){e.isNamed(t)&&(i?this.subwalks.add(e,i):this.matches.add(e,n,!1))}};var pO=(r,e)=>typeof r=="string"?new on([r],e):Array.isArray(r)?new on(r,e):r,ea=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#t;#s;signal;maxDepth;includeChildMatches;constructor(e,t,i){if(this.patterns=e,this.path=t,this.opts=i,this.#s=!i.posix&&i.platform==="win32"?"\\":"/",this.includeChildMatches=i.includeChildMatches!==!1,(i.ignore||!this.includeChildMatches)&&(this.#t=pO(i.ignore??[],i),!this.includeChildMatches&&typeof this.#t.add!="function")){let n="cannot ignore child matches, ignore lacks add() method.";throw new Error(n)}this.maxDepth=i.maxDepth||1/0,i.signal&&(this.signal=i.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#i(e){return this.seen.has(e)||!!this.#t?.ignored?.(e)}#o(e){return!!this.#t?.childrenIgnored?.(e)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){this.signal?.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,t){if(t&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=e.realpathCached()||await e.realpath(),!i)return;e=i}let o=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&o?.isSymbolicLink()){let s=await o.realpath();s&&(s.isUnknown()||this.opts.stat)&&await s.lstat()}return this.matchCheckTest(o,t)}matchCheckTest(e,t){return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!t||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#i(e)?e:void 0}matchCheckSync(e,t){if(t&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=e.realpathCached()||e.realpathSync(),!i)return;e=i}let o=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&o?.isSymbolicLink()){let s=o.realpathSync();s&&(s?.isUnknown()||this.opts.stat)&&s.lstatSync()}return this.matchCheckTest(o,t)}matchFinish(e,t){if(this.#i(e))return;if(!this.includeChildMatches&&this.#t?.add){let o=`${e.relativePosix()}/**`;this.#t.add(o)}let i=this.opts.absolute===void 0?t:this.opts.absolute;this.seen.add(e);let n=this.opts.mark&&e.isDirectory()?this.#s:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(i){let o=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(o+n)}else{let o=this.opts.posix?e.relativePosix():e.relative(),s=this.opts.dotRelative&&!o.startsWith(".."+this.#s)?"."+this.#s:"";this.matchEmit(o?s+o+n:"."+n)}}async match(e,t,i){let n=await this.matchCheck(e,i);n&&this.matchFinish(n,t)}matchSync(e,t,i){let n=this.matchCheckSync(e,i);n&&this.matchFinish(n,t)}walkCB(e,t,i){this.signal?.aborted&&i(),this.walkCB2(e,t,new rs(this.opts),i)}walkCB2(e,t,i,n){if(this.#o(e))return n();if(this.signal?.aborted&&n(),this.paused){this.onResume(()=>this.walkCB2(e,t,i,n));return}i.processPatterns(e,t);let o=1,s=()=>{--o===0&&n()};for(let[u,f,c]of i.matches.entries())this.#i(u)||(o++,this.match(u,f,c).then(()=>s()));for(let u of i.subwalkTargets()){if(this.maxDepth!==1/0&&u.depth()>=this.maxDepth)continue;o++;let f=u.readdirCached();u.calledReaddir()?this.walkCB3(u,f,i,s):u.readdirCB((c,p)=>this.walkCB3(u,p,i,s),!0)}s()}walkCB3(e,t,i,n){i=i.filterEntries(e,t);let o=1,s=()=>{--o===0&&n()};for(let[u,f,c]of i.matches.entries())this.#i(u)||(o++,this.match(u,f,c).then(()=>s()));for(let[u,f]of i.subwalks.entries())o++,this.walkCB2(u,f,i.child(),s);s()}walkCBSync(e,t,i){this.signal?.aborted&&i(),this.walkCB2Sync(e,t,new rs(this.opts),i)}walkCB2Sync(e,t,i,n){if(this.#o(e))return n();if(this.signal?.aborted&&n(),this.paused){this.onResume(()=>this.walkCB2Sync(e,t,i,n));return}i.processPatterns(e,t);let o=1,s=()=>{--o===0&&n()};for(let[u,f,c]of i.matches.entries())this.#i(u)||this.matchSync(u,f,c);for(let u of i.subwalkTargets()){if(this.maxDepth!==1/0&&u.depth()>=this.maxDepth)continue;o++;let f=u.readdirSync();this.walkCB3Sync(u,f,i,s)}s()}walkCB3Sync(e,t,i,n){i=i.filterEntries(e,t);let o=1,s=()=>{--o===0&&n()};for(let[u,f,c]of i.matches.entries())this.#i(u)||this.matchSync(u,f,c);for(let[u,f]of i.subwalks.entries())o++,this.walkCB2Sync(u,f,i.child(),s);s()}},is=class extends ea{matches=new Set;constructor(e,t,i){super(e,t,i)}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((e,t)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?t(this.signal.reason):e(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}},ns=class extends ea{results;constructor(e,t,i){super(e,t,i),this.results=new Qr({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};var dO=typeof z=="object"&&z&&typeof z.platform=="string"?z.platform:"linux",or=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,t){if(!t)throw new TypeError("glob options required");if(this.withFileTypes=!!t.withFileTypes,this.signal=t.signal,this.follow=!!t.follow,this.dot=!!t.dot,this.dotRelative=!!t.dotRelative,this.nodir=!!t.nodir,this.mark=!!t.mark,t.cwd?(t.cwd instanceof URL||t.cwd.startsWith("file://"))&&(t.cwd=Hr(t.cwd)):this.cwd="",this.cwd=t.cwd||"",this.root=t.root,this.magicalBraces=!!t.magicalBraces,this.nobrace=!!t.nobrace,this.noext=!!t.noext,this.realpath=!!t.realpath,this.absolute=t.absolute,this.includeChildMatches=t.includeChildMatches!==!1,this.noglobstar=!!t.noglobstar,this.matchBase=!!t.matchBase,this.maxDepth=typeof t.maxDepth=="number"?t.maxDepth:1/0,this.stat=!!t.stat,this.ignore=t.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(f=>f.replace(/\\/g,"/"))),this.matchBase){if(t.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(f=>f.includes("/")?f:`./**/${f}`)}if(this.pattern=e,this.platform=t.platform||dO,this.opts={...t,platform:this.platform},t.scurry){if(this.scurry=t.scurry,t.nocase!==void 0&&t.nocase!==t.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let f=t.platform==="win32"?rn:t.platform==="darwin"?ts:t.platform?nn:qg;this.scurry=new f(this.cwd,{nocase:t.nocase,fs:t.fs})}this.nocase=this.scurry.nocase;let i=this.platform==="darwin"||this.platform==="win32",n={...t,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:i,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},o=this.pattern.map(f=>new Mt(f,n)),[s,u]=o.reduce((f,c)=>(f[0].push(...c.set),f[1].push(...c.globParts),f),[[],[]]);this.patterns=s.map((f,c)=>{let p=u[c];if(!p)throw new Error("invalid pattern object");return new sn(f,p,0,this.platform)})}async walk(){return[...await new is(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new is(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new ns(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new ns(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};B();F();N();var Il=(r,e={})=>{Array.isArray(r)||(r=[r]);for(let t of r)if(new Mt(t,e).hasMagic())return!0;return!1};function ta(r,e={}){return new or(r,e).streamSync()}function zg(r,e={}){return new or(r,e).stream()}function Vg(r,e={}){return new or(r,e).walkSync()}async function $g(r,e={}){return new or(r,e).walk()}function ra(r,e={}){return new or(r,e).iterateSync()}function Gg(r,e={}){return new or(r,e).iterate()}var yO=ta,gO=Object.assign(zg,{sync:ta}),mO=ra,vO=Object.assign(Gg,{sync:ra}),ia=Object.assign(Vg,{stream:ta,iterate:ra}),Wg=Object.assign($g,{glob:$g,globSync:Vg,sync:ia,globStream:zg,stream:gO,globStreamSync:ta,streamSync:yO,globIterate:Gg,iterate:vO,globIterateSync:ra,iterateSync:mO,Glob:or,hasMagic:Il,escape:Qi,unescape:ir});Wg.glob=Wg;Or();B();F();N();var Ze=Ma(yv(),1);var SM=Ze.default.stringify,EM=Ze.default.fromJSON,_M=Ze.default.plugin,gv=Ze.default.parse,OM=Ze.default.list,AM=Ze.default.document,TM=Ze.default.comment,RM=Ze.default.atRule,xM=Ze.default.rule,IM=Ze.default.decl,mv=Ze.default.root,kM=Ze.default.CssSyntaxError,PM=Ze.default.Declaration,CM=Ze.default.Container,LM=Ze.default.Processor,BM=Ze.default.Document,NM=Ze.default.Comment,FM=Ze.default.Warning,DM=Ze.default.AtRule,MM=Ze.default.Result,UM=Ze.default.Input,jM=Ze.default.Rule,qM=Ze.default.Root,$M=Ze.default.Node;var kw=Ma(Ow());Nn();function jt(r,e){e&&e.forEach(r.add,r)}var yn=class r{constructor(e){this.undetermined=new Set,this.attrNames=new Set,this.attrValues=new Set,this.classes=new Set,this.ids=new Set,this.tags=new Set,this.merge(e)}merge(e){return Array.isArray(e)?jt(this.undetermined,e):e instanceof r?(jt(this.undetermined,e.undetermined),jt(this.attrNames,e.attrNames),jt(this.attrValues,e.attrValues),jt(this.classes,e.classes),jt(this.ids,e.ids),jt(this.tags,e.tags)):(jt(this.undetermined,e.undetermined),e.attributes&&(jt(this.attrNames,e.attributes.names),jt(this.attrValues,e.attributes.values)),jt(this.classes,e.classes),jt(this.ids,e.ids),jt(this.tags,e.tags)),this}hasAttrName(e){return this.attrNames.has(e)||this.undetermined.has(e)}someAttrValue(e){for(let t of this.attrValues)if(e(t))return!0;for(let t of this.undetermined)if(e(t))return!0;return!1}hasAttrPrefix(e){return this.someAttrValue(t=>t.startsWith(e))}hasAttrSuffix(e){return this.someAttrValue(t=>t.endsWith(e))}hasAttrSubstr(e){return e.trim().split(" ").every(t=>this.someAttrValue(i=>i.includes(t)))}hasAttrValue(e){return this.attrValues.has(e)||this.undetermined.has(e)}hasClass(e){return this.classes.has(e)||this.undetermined.has(e)}hasId(e){return this.ids.has(e)||this.undetermined.has(e)}hasTag(e){return this.tags.has(e)||this.undetermined.has(e)}},Aw=["*",":root",":after",":before"],ki={css:[],content:[],defaultExtractor:r=>r.match(/[A-Za-z0-9_-]+/g)||[],extractors:[],fontFace:!1,keyframes:!1,rejected:!1,rejectedCss:!1,sourceMap:!1,stdin:!1,stdout:!1,variables:!1,safelist:{standard:[],deep:[],greedy:[],variables:[],keyframes:[]},blocklist:[],skippedContentGlobs:[],dynamicAttributes:[]},Pa=class{constructor(e){this.nodes=[],this.isUsed=!1,this.value=e}},Qf=class{constructor(){this.nodes=new Map,this.usedVariables=new Set,this.safelist=[]}addVariable(e){let{prop:t}=e;if(this.nodes.has(t)){let i=new Pa(e),n=this.nodes.get(t)||[];this.nodes.set(t,[...n,i])}else{let i=new Pa(e);this.nodes.set(t,[i])}}addVariableUsage(e,t){let{prop:i}=e,n=this.nodes.get(i);for(let o of t){let s=o[1];if(this.nodes.has(s)){let u=this.nodes.get(s);n?.forEach(f=>{u?.forEach(c=>f.nodes.push(c))})}}}addVariableUsageInProperties(e){for(let t of e){let i=t[1];this.usedVariables.add(i)}}setAsUsed(e){let t=this.nodes.get(e);if(t){let i=[...t];for(;i.length!==0;){let n=i.pop();n&&!n.isUsed&&(n.isUsed=!0,i.push(...n.nodes))}}}removeUnused(){for(let e of this.usedVariables){let t=this.nodes.get(e);if(t)for(let i of t){let n=i.value.value.matchAll(/var\((.+?)[,)]/g);for(let o of n)this.usedVariables.has(o[1])||this.usedVariables.add(o[1])}}for(let e of this.usedVariables)this.setAsUsed(e);for(let[e,t]of this.nodes)for(let i of t)i.isUsed||this.isVariablesSafelisted(e)||i.value.remove()}isVariablesSafelisted(e){return this.safelist.some(t=>typeof t=="string"?t===e:t.test(e))}},Kf={access:zi(nl),readFile:zi(ul)};function La(r=[]){return Array.isArray(r)?{...ki.safelist,standard:r}:{...ki.safelist,...r}}async function Bx(r="purgecss.config.js"){let e;try{e=await import(Sn(z.cwd(),r))}catch(t){throw t instanceof Error?new Error(`Error loading the config file ${t.message}`):new Error}return{...ki,...e,safelist:La(e.safelist)}}async function Tw(r,e){return new yn(await e(r))}function Jf(r,e){switch(e){case"next":return r.text.includes("purgecss ignore");case"start":return r.text.includes("purgecss start ignore");case"end":return r.text.includes("purgecss end ignore")}}function Xf(...r){let e=new yn([]);return r.forEach(e.merge,e),e}function Rw(r){return r.replace(/(^["'])|(["']$)/g,"")}function Nx(r,e){if(!e.hasAttrName(r.attribute))return!1;if(r.value===void 0)return!0;switch(r.operator){case"$=":return e.hasAttrSuffix(r.value);case"~=":case"*=":return e.hasAttrSubstr(r.value);case"=":return e.hasAttrValue(r.value);case"|=":case"^=":return e.hasAttrPrefix(r.value);default:return!0}}function Fx(r,e){return e.hasId(r.value)}function Dx(r,e){return e.hasTag(r.value)}function xw(r){return r?.type==="atrule"}function Iw(r){return r?.type==="rule"}var Ca=class{constructor(){this.ignore=!1,this.atRules={fontFace:[],keyframes:[]},this.usedAnimations=new Set,this.usedFontFaces=new Set,this.selectorsRemoved=new Set,this.removedNodes=[],this.variablesStructure=new Qf,this.options=ki}collectDeclarationsData(e){let{prop:t,value:i}=e;if(this.options.variables){let n=i.matchAll(/var\((.+?)[,)]/g);t.startsWith("--")?(this.variablesStructure.addVariable(e),this.variablesStructure.addVariableUsage(e,n)):this.variablesStructure.addVariableUsageInProperties(n)}if(!this.options.keyframes||t!=="animation"&&t!=="animation-name"){if(this.options.fontFace&&t==="font-family")for(let n of i.split(",")){let o=Rw(n.trim());this.usedFontFaces.add(o)}}else for(let n of i.split(/[\s,]+/))this.usedAnimations.add(n)}getFileExtractor(e,t){let i=t.find(n=>n.extensions.find(o=>e.endsWith(o)));return i===void 0?this.options.defaultExtractor:i.extractor}async extractSelectorsFromFiles(e,t){let i=new yn([]),n=[];for(let o of e)try{await Kf.access(o,cl.F_OK),n.push(o)}catch{n.push(...ia(o,{nodir:!0,ignore:this.options.skippedContentGlobs.map(u=>u.replace(/^\.\//,""))}))}e.length>0&&n.length===0&&console.warn("No files found from the passed PurgeCSS option 'content'.");for(let o of n){let s=await Kf.readFile(o,"utf-8"),u=this.getFileExtractor(o,t),f=await Tw(s,u);i.merge(f)}return i}async extractSelectorsFromString(e,t){let i=new yn([]);for(let{raw:n,extension:o}of e){let s=this.getFileExtractor(`.${o}`,t),u=await Tw(n,s);i.merge(u)}return i}evaluateAtRule(e){if(this.options.keyframes&&e.name.endsWith("keyframes"))this.atRules.keyframes.push(e);else if(this.options.fontFace&&e.name==="font-face"&&e.nodes)for(let t of e.nodes)t.type==="decl"&&t.prop==="font-family"&&this.atRules.fontFace.push({name:Rw(t.value),node:e})}evaluateRule(e,t){if(this.ignore)return;let i=e.prev();if(function(s){return s?.type==="comment"}(i)&&Jf(i,"next"))return void i.remove();if(e.parent&&xw(e.parent)&&e.parent.name.endsWith("keyframes")||!Iw(e)||function(s){let u=!1;return s.walkComments(f=>{f&&f.type==="comment"&&f.text.includes("purgecss ignore current")&&(u=!0,f.remove())}),u}(e))return;let n=[];if(e.selector=(0,kw.default)(s=>{s.walk(u=>{u.type==="selector"&&(this.shouldKeepSelector(u,t)||(this.options.rejected&&this.selectorsRemoved.add(u.toString()),this.options.rejectedCss&&n.push(u.toString()),u.remove()))}),s.walk(u=>{u.type==="selector"&&u.toString()&&/(:where)|(:is)/.test(u.toString())&&u.walk(f=>{f.type==="pseudo"&&(f.value!==":where"&&f.value!==":is"||f.nodes.length===0&&u.remove())})})}).processSync(e.selector),e.selector&&e.nodes!==void 0)for(let s of e.nodes)s.type==="decl"&&this.collectDeclarationsData(s);let o=e.parent;if(e.selector||e.remove(),function(s){return!!(Iw(s)&&!s.selector||s?.nodes&&!s.nodes.length||xw(s)&&(!s.nodes&&!s.params||!s.params&&s.nodes&&!s.nodes.length))}(o)&&o?.remove(),this.options.rejectedCss&&n.length>0){let s=e.clone(),u=o?.clone().removeAll().append(s);s.selectors=n;let f=u||s;this.removedNodes.push(f)}}async getPurgedCSS(e,t){var i;let n=[],o=[];for(let s of e)typeof s=="string"?o.push(...ia(s,{nodir:!0,ignore:this.options.skippedContentGlobs})):o.push(s);for(let s of o){let u=typeof s=="string"?this.options.stdin?s:await Kf.readFile(s,"utf-8"):s.raw,f=typeof s=="string"&&!this.options.stdin,c=gv(u,{from:f?s:void 0});this.walkThroughCSS(c,t),this.options.fontFace&&this.removeUnusedFontFaces(),this.options.keyframes&&this.removeUnusedKeyframes(),this.options.variables&&this.removeUnusedCSSVariables();let p=c.toResult({map:this.options.sourceMap,to:typeof this.options.sourceMap=="object"?this.options.sourceMap.to:void 0}),d={css:p.toString(),file:typeof s=="string"?s:s.name};this.options.sourceMap&&(d.sourceMap=(i=p.map)===null||i===void 0?void 0:i.toString()),this.options.rejected&&(d.rejected=Array.from(this.selectorsRemoved),this.selectorsRemoved.clear()),this.options.rejectedCss&&(d.rejectedCss=mv({nodes:this.removedNodes}).toString()),n.push(d)}return n}isKeyframesSafelisted(e){return this.options.safelist.keyframes.some(t=>typeof t=="string"?t===e:t.test(e))}isSelectorBlocklisted(e){return this.options.blocklist.some(t=>typeof t=="string"?t===e:t.test(e))}isSelectorSafelisted(e){let t=this.options.safelist.standard.some(n=>typeof n=="string"?n===e:n.test(e)),i=/^::.*/.test(e);return Aw.includes(e)||i||t}isSelectorSafelistedDeep(e){return this.options.safelist.deep.some(t=>t.test(e))}isSelectorSafelistedGreedy(e){return this.options.safelist.greedy.some(t=>t.test(e))}async purge(e){this.options=typeof e!="object"?await Bx(e):{...ki,...e,safelist:La(e.safelist)};let{content:t,css:i,extractors:n,safelist:o}=this.options;this.options.variables&&(this.variablesStructure.safelist=o.variables||[]);let s=t.filter(p=>typeof p=="string"),u=t.filter(p=>typeof p=="object"),f=await this.extractSelectorsFromFiles(s,n),c=await this.extractSelectorsFromString(u,n);return this.getPurgedCSS(i,Xf(f,c))}removeUnusedCSSVariables(){this.variablesStructure.removeUnused()}removeUnusedFontFaces(){for(let{name:e,node:t}of this.atRules.fontFace)this.usedFontFaces.has(e)||t.remove()}removeUnusedKeyframes(){for(let e of this.atRules.keyframes)this.usedAnimations.has(e.params)||this.isKeyframesSafelisted(e.params)||e.remove()}getSelectorValue(e){return e.type==="attribute"&&e.attribute||e.value}shouldKeepSelector(e,t){if(function(o){return o.parent&&o.parent.type==="pseudo"&&o.parent.value.startsWith(":")||!1}(e)&&!function(o){return o.parent&&o.parent.type==="pseudo"&&(o.parent.value===":where"||o.parent.value===":is")||!1}(e)||this.options.safelist.greedy.length>0&&e.nodes.map(this.getSelectorValue).some(o=>o&&this.isSelectorSafelistedGreedy(o)))return!0;let i=!1;for(let o of e.nodes){let s=this.getSelectorValue(o);if(s&&this.isSelectorSafelistedDeep(s))return!0;if(s&&(Aw.includes(s)||this.isSelectorSafelisted(s)))i=!0;else{if(s&&this.isSelectorBlocklisted(s))return!1;switch(o.type){case"attribute":i=!![...this.options.dynamicAttributes,"value","checked","selected","open"].includes(o.attribute)||Nx(o,t);break;case"class":n=o,i=t.hasClass(n.value);break;case"id":i=Fx(o,t);break;case"tag":i=Dx(o,t);break;default:continue}if(!i)return!1}}var n;return i}walkThroughCSS(e,t){e.walk(i=>i.type==="rule"?this.evaluateRule(i,t):i.type==="atrule"?this.evaluateAtRule(i):void(i.type==="comment"&&(Jf(i,"start")?(this.ignore=!0,i.remove()):Jf(i,"end")&&(this.ignore=!1,i.remove()))))}};var Zf=function(r){if(r===void 0)throw new Error("PurgeCSS plugin does not have the correct options");return{postcssPlugin:"postcss-purgecss",OnceExit:(e,t)=>async function(i,n,{result:o}){let s=new Ca,u;try{u=await import(Sn(z.cwd(),"purgecss.config.js"))}catch{}let f={...ki,...u,...i,safelist:La(i?.safelist||u?.safelist)};i&&typeof i.contentFunction=="function"&&(f.content=i.contentFunction(n.source&&n.source.input.file||"")),s.options=f,f.variables&&(s.variablesStructure.safelist=f.safelist.variables||[]);let{content:c,extractors:p}=f,d=c.filter(E=>typeof E=="string"),v=c.filter(E=>typeof E=="object"),m=await s.extractSelectorsFromFiles(d,p),g=await s.extractSelectorsFromString(v,p),b=Xf(m,g);s.walkThroughCSS(n,b),s.options.fontFace&&s.removeUnusedFontFaces(),s.options.keyframes&&s.removeUnusedKeyframes(),s.options.variables&&s.removeUnusedCSSVariables(),s.options.rejected&&s.selectorsRemoved.size>0&&(o.messages.push({type:"purgecss",plugin:"postcss-purgecss",text:`purging ${s.selectorsRemoved.size} selectors:
|
|
94
|
+
>>> no match, partial?`,e,v,t,m),v===f))}let b;if(typeof p=="string"?(b=d===p,this.debug("string match",p,d,b)):(b=p.test(d),this.debug("pattern match",p,d,b)),!b)return!1}if(s===f&&u===c)return!0;if(s===f)return i;if(u===c)return s===f-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return yg(this.pattern,this.options)}parse(e){zn(e);let t=this.options;if(e==="**")return wt;if(e==="")return"";let i,n=null;(i=e.match(C_))?n=t.dot?L_:B_:(i=e.match(E_))?n=(t.nocase?t.dot?T_:A_:t.dot?O_:__)(i[1]):(i=e.match(N_))?n=(t.nocase?t.dot?D_:F_:t.dot?M_:U_)(i):(i=e.match(R_))?n=t.dot?I_:x_:(i=e.match(k_))&&(n=P_);let o=Ji.fromGlob(e,this.options).toMMPattern();return n&&typeof o=="object"&&Reflect.defineProperty(o,"test",{value:n}),o}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,i=t.noglobstar?$_:t.dot?W_:z_,n=new Set(t.nocase?["i"]:[]),o=e.map(f=>{let c=f.map(p=>{if(p instanceof RegExp)for(let d of p.flags.split(""))n.add(d);return typeof p=="string"?K_(p):p===wt?wt:p._src});return c.forEach((p,d)=>{let v=c[d+1],m=c[d-1];p!==wt||m===wt||(m===void 0?v!==void 0&&v!==wt?c[d+1]="(?:\\/|"+i+"\\/)?"+v:c[d]=i:v===void 0?c[d-1]=m+"(?:\\/|"+i+")?":v!==wt&&(c[d-1]=m+"(?:\\/|\\/"+i+"\\/)"+v,c[d+1]=wt))}),c.filter(p=>p!==wt).join("/")}).join("|"),[s,u]=e.length>1?["(?:",")"]:["",""];o="^"+s+o+u+"$",this.negate&&(o="^(?!"+o+").+$");try{this.regexp=new RegExp(o,[...n].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let i=this.options;this.isWindows&&(e=e.split("\\").join("/"));let n=this.slashSplit(e);this.debug(this.pattern,"split",n);let o=this.set;this.debug(this.pattern,"set",o);let s=n[n.length-1];if(!s)for(let u=n.length-2;!s&&u>=0;u--)s=n[u];for(let u=0;u<o.length;u++){let f=o[u],c=n;if(i.matchBase&&f.length===1&&(c=[s]),this.matchOne(c,f,t))return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate}static defaults(e){return xt.defaults(e).Minimatch}};xt.AST=Ji;xt.Minimatch=Mt;xt.escape=Qi;xt.unescape=ir;L();F();N();Si();L();F();N();L();F();N();var Xi=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,mg=new Set,yl=typeof z=="object"&&z?z:{},vg=(r,e,t,i)=>{typeof yl.emitWarning=="function"?yl.emitWarning(r,e,t,i):console.error(`[${t}] ${e}: ${r}`)},jo=globalThis.AbortController,gg=globalThis.AbortSignal;if(typeof jo>"u"){gg=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,n){this._onabort.push(n)}},jo=class{constructor(){e()}signal=new gg;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let n of this.signal._onabort)n(i);this.signal.onabort?.(i)}}};let r=yl.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{r&&(r=!1,vg("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",e))}}var J_=r=>!mg.has(r),UB=Symbol("type"),Kr=r=>r&&r===Math.floor(r)&&r>0&&isFinite(r),wg=r=>Kr(r)?r<=Math.pow(2,8)?Uint8Array:r<=Math.pow(2,16)?Uint16Array:r<=Math.pow(2,32)?Uint32Array:r<=Number.MAX_SAFE_INTEGER?Zi:null:null,Zi=class extends Array{constructor(e){super(e),this.fill(0)}},gl=class r{heap;length;static#e=!1;static create(e){let t=wg(e);if(!t)return[];r.#e=!0;let i=new r(e,t);return r.#e=!1,i}constructor(e,t){if(!r.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},Gn=class r{#e;#t;#s;#i;#o;#b;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#l;#c;#a;#u;#n;#g;#m;#p;#h;#_;#y;#O;#A;#w;#S;#E;#d;static unsafeExposeInternals(e){return{starts:e.#A,ttls:e.#w,sizes:e.#O,keyMap:e.#a,keyList:e.#u,valList:e.#n,next:e.#g,prev:e.#m,get head(){return e.#p},get tail(){return e.#h},free:e.#_,isBackgroundFetch:t=>e.#f(t),backgroundFetch:(t,i,n,o)=>e.#M(t,i,n,o),moveToTail:t=>e.#j(t),indexes:t=>e.#R(t),rindexes:t=>e.#x(t),isStale:t=>e.#v(t)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#c}get size(){return this.#l}get fetchMethod(){return this.#o}get memoMethod(){return this.#b}get dispose(){return this.#s}get disposeAfter(){return this.#i}constructor(e){let{max:t=0,ttl:i,ttlResolution:n=1,ttlAutopurge:o,updateAgeOnGet:s,updateAgeOnHas:u,allowStale:f,dispose:c,disposeAfter:p,noDisposeOnSet:d,noUpdateTTL:v,maxSize:m=0,maxEntrySize:g=0,sizeCalculation:b,fetchMethod:E,memoMethod:A,noDeleteOnFetchRejection:x,noDeleteOnStaleGet:I,allowStaleOnFetchRejection:D,allowStaleOnFetchAbort:j,ignoreFetchAbort:ae}=e;if(t!==0&&!Kr(t))throw new TypeError("max option must be a nonnegative integer");let X=t?wg(t):Array;if(!X)throw new Error("invalid max value: "+t);if(this.#e=t,this.#t=m,this.maxEntrySize=g||this.#t,this.sizeCalculation=b,this.sizeCalculation){if(!this.#t&&!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(A!==void 0&&typeof A!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#b=A,E!==void 0&&typeof E!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#o=E,this.#E=!!E,this.#a=new Map,this.#u=new Array(t).fill(void 0),this.#n=new Array(t).fill(void 0),this.#g=new X(t),this.#m=new X(t),this.#p=0,this.#h=0,this.#_=gl.create(t),this.#l=0,this.#c=0,typeof c=="function"&&(this.#s=c),typeof p=="function"?(this.#i=p,this.#y=[]):(this.#i=void 0,this.#y=void 0),this.#S=!!this.#s,this.#d=!!this.#i,this.noDisposeOnSet=!!d,this.noUpdateTTL=!!v,this.noDeleteOnFetchRejection=!!x,this.allowStaleOnFetchRejection=!!D,this.allowStaleOnFetchAbort=!!j,this.ignoreFetchAbort=!!ae,this.maxEntrySize!==0){if(this.#t!==0&&!Kr(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!Kr(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#k()}if(this.allowStale=!!f,this.noDeleteOnStaleGet=!!I,this.updateAgeOnGet=!!s,this.updateAgeOnHas=!!u,this.ttlResolution=Kr(n)||n===0?n:1,this.ttlAutopurge=!!o,this.ttl=i||0,this.ttl){if(!Kr(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#I()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){let K="LRU_CACHE_UNBOUNDED";J_(K)&&(mg.add(K),vg("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",K,r))}}getRemainingTTL(e){return this.#a.has(e)?1/0:0}#I(){let e=new Zi(this.#e),t=new Zi(this.#e);this.#w=e,this.#A=t,this.#C=(o,s,u=Xi.now())=>{if(t[o]=s!==0?u:0,e[o]=s,s!==0&&this.ttlAutopurge){let f=setTimeout(()=>{this.#v(o)&&this.#P(this.#u[o],"expire")},s+1);f.unref&&f.unref()}},this.#T=o=>{t[o]=e[o]!==0?Xi.now():0},this.#r=(o,s)=>{if(e[s]){let u=e[s],f=t[s];if(!u||!f)return;o.ttl=u,o.start=f,o.now=i||n();let c=o.now-f;o.remainingTTL=u-c}};let i=0,n=()=>{let o=Xi.now();if(this.ttlResolution>0){i=o;let s=setTimeout(()=>i=0,this.ttlResolution);s.unref&&s.unref()}return o};this.getRemainingTTL=o=>{let s=this.#a.get(o);if(s===void 0)return 0;let u=e[s],f=t[s];if(!u||!f)return 1/0;let c=(i||n())-f;return u-c},this.#v=o=>{let s=t[o],u=e[o];return!!u&&!!s&&(i||n())-s>u}}#T=()=>{};#r=()=>{};#C=()=>{};#v=()=>!1;#k(){let e=new Zi(this.#e);this.#c=0,this.#O=e,this.#B=t=>{this.#c-=e[t],e[t]=0},this.#N=(t,i,n,o)=>{if(this.#f(i))return 0;if(!Kr(n))if(o){if(typeof o!="function")throw new TypeError("sizeCalculation must be a function");if(n=o(i,t),!Kr(n))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 n},this.#L=(t,i,n)=>{if(e[t]=i,this.#t){let o=this.#t-e[t];for(;this.#c>o;)this.#D(!0)}this.#c+=e[t],n&&(n.entrySize=i,n.totalCalculatedSize=this.#c)}}#B=e=>{};#L=(e,t,i)=>{};#N=(e,t,i,n)=>{if(i||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#R({allowStale:e=this.allowStale}={}){if(this.#l)for(let t=this.#h;!(!this.#F(t)||((e||!this.#v(t))&&(yield t),t===this.#p));)t=this.#m[t]}*#x({allowStale:e=this.allowStale}={}){if(this.#l)for(let t=this.#p;!(!this.#F(t)||((e||!this.#v(t))&&(yield t),t===this.#h));)t=this.#g[t]}#F(e){return e!==void 0&&this.#a.get(this.#u[e])===e}*entries(){for(let e of this.#R())this.#n[e]!==void 0&&this.#u[e]!==void 0&&!this.#f(this.#n[e])&&(yield[this.#u[e],this.#n[e]])}*rentries(){for(let e of this.#x())this.#n[e]!==void 0&&this.#u[e]!==void 0&&!this.#f(this.#n[e])&&(yield[this.#u[e],this.#n[e]])}*keys(){for(let e of this.#R()){let t=this.#u[e];t!==void 0&&!this.#f(this.#n[e])&&(yield t)}}*rkeys(){for(let e of this.#x()){let t=this.#u[e];t!==void 0&&!this.#f(this.#n[e])&&(yield t)}}*values(){for(let e of this.#R())this.#n[e]!==void 0&&!this.#f(this.#n[e])&&(yield this.#n[e])}*rvalues(){for(let e of this.#x())this.#n[e]!==void 0&&!this.#f(this.#n[e])&&(yield this.#n[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(let i of this.#R()){let n=this.#n[i],o=this.#f(n)?n.__staleWhileFetching:n;if(o!==void 0&&e(o,this.#u[i],this))return this.get(this.#u[i],t)}}forEach(e,t=this){for(let i of this.#R()){let n=this.#n[i],o=this.#f(n)?n.__staleWhileFetching:n;o!==void 0&&e.call(t,o,this.#u[i],this)}}rforEach(e,t=this){for(let i of this.#x()){let n=this.#n[i],o=this.#f(n)?n.__staleWhileFetching:n;o!==void 0&&e.call(t,o,this.#u[i],this)}}purgeStale(){let e=!1;for(let t of this.#x({allowStale:!0}))this.#v(t)&&(this.#P(this.#u[t],"expire"),e=!0);return e}info(e){let t=this.#a.get(e);if(t===void 0)return;let i=this.#n[t],n=this.#f(i)?i.__staleWhileFetching:i;if(n===void 0)return;let o={value:n};if(this.#w&&this.#A){let s=this.#w[t],u=this.#A[t];if(s&&u){let f=s-(Xi.now()-u);o.ttl=f,o.start=Date.now()}}return this.#O&&(o.size=this.#O[t]),o}dump(){let e=[];for(let t of this.#R({allowStale:!0})){let i=this.#u[t],n=this.#n[t],o=this.#f(n)?n.__staleWhileFetching:n;if(o===void 0||i===void 0)continue;let s={value:o};if(this.#w&&this.#A){s.ttl=this.#w[t];let u=Xi.now()-this.#A[t];s.start=Math.floor(Date.now()-u)}this.#O&&(s.size=this.#O[t]),e.unshift([i,s])}return e}load(e){this.clear();for(let[t,i]of e){if(i.start){let n=Date.now()-i.start;i.start=Xi.now()-n}this.set(t,i.value,i)}}set(e,t,i={}){if(t===void 0)return this.delete(e),this;let{ttl:n=this.ttl,start:o,noDisposeOnSet:s=this.noDisposeOnSet,sizeCalculation:u=this.sizeCalculation,status:f}=i,{noUpdateTTL:c=this.noUpdateTTL}=i,p=this.#N(e,t,i.size||0,u);if(this.maxEntrySize&&p>this.maxEntrySize)return f&&(f.set="miss",f.maxEntrySizeExceeded=!0),this.#P(e,"set"),this;let d=this.#l===0?void 0:this.#a.get(e);if(d===void 0)d=this.#l===0?this.#h:this.#_.length!==0?this.#_.pop():this.#l===this.#e?this.#D(!1):this.#l,this.#u[d]=e,this.#n[d]=t,this.#a.set(e,d),this.#g[this.#h]=d,this.#m[d]=this.#h,this.#h=d,this.#l++,this.#L(d,p,f),f&&(f.set="add"),c=!1;else{this.#j(d);let v=this.#n[d];if(t!==v){if(this.#E&&this.#f(v)){v.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:m}=v;m!==void 0&&!s&&(this.#S&&this.#s?.(m,e,"set"),this.#d&&this.#y?.push([m,e,"set"]))}else s||(this.#S&&this.#s?.(v,e,"set"),this.#d&&this.#y?.push([v,e,"set"]));if(this.#B(d),this.#L(d,p,f),this.#n[d]=t,f){f.set="replace";let m=v&&this.#f(v)?v.__staleWhileFetching:v;m!==void 0&&(f.oldValue=m)}}else f&&(f.set="update")}if(n!==0&&!this.#w&&this.#I(),this.#w&&(c||this.#C(d,n,o),f&&this.#r(f,d)),!s&&this.#d&&this.#y){let v=this.#y,m;for(;m=v?.shift();)this.#i?.(...m)}return this}pop(){try{for(;this.#l;){let e=this.#n[this.#p];if(this.#D(!0),this.#f(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#d&&this.#y){let e=this.#y,t;for(;t=e?.shift();)this.#i?.(...t)}}}#D(e){let t=this.#p,i=this.#u[t],n=this.#n[t];return this.#E&&this.#f(n)?n.__abortController.abort(new Error("evicted")):(this.#S||this.#d)&&(this.#S&&this.#s?.(n,i,"evict"),this.#d&&this.#y?.push([n,i,"evict"])),this.#B(t),e&&(this.#u[t]=void 0,this.#n[t]=void 0,this.#_.push(t)),this.#l===1?(this.#p=this.#h=0,this.#_.length=0):this.#p=this.#g[t],this.#a.delete(i),this.#l--,t}has(e,t={}){let{updateAgeOnHas:i=this.updateAgeOnHas,status:n}=t,o=this.#a.get(e);if(o!==void 0){let s=this.#n[o];if(this.#f(s)&&s.__staleWhileFetching===void 0)return!1;if(this.#v(o))n&&(n.has="stale",this.#r(n,o));else return i&&this.#T(o),n&&(n.has="hit",this.#r(n,o)),!0}else n&&(n.has="miss");return!1}peek(e,t={}){let{allowStale:i=this.allowStale}=t,n=this.#a.get(e);if(n===void 0||!i&&this.#v(n))return;let o=this.#n[n];return this.#f(o)?o.__staleWhileFetching:o}#M(e,t,i,n){let o=t===void 0?void 0:this.#n[t];if(this.#f(o))return o;let s=new jo,{signal:u}=i;u?.addEventListener("abort",()=>s.abort(u.reason),{signal:s.signal});let f={signal:s.signal,options:i,context:n},c=(b,E=!1)=>{let{aborted:A}=s.signal,x=i.ignoreFetchAbort&&b!==void 0;if(i.status&&(A&&!E?(i.status.fetchAborted=!0,i.status.fetchError=s.signal.reason,x&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),A&&!x&&!E)return d(s.signal.reason);let I=m;return this.#n[t]===m&&(b===void 0?I.__staleWhileFetching?this.#n[t]=I.__staleWhileFetching:this.#P(e,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(e,b,f.options))),b},p=b=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=b),d(b)),d=b=>{let{aborted:E}=s.signal,A=E&&i.allowStaleOnFetchAbort,x=A||i.allowStaleOnFetchRejection,I=x||i.noDeleteOnFetchRejection,D=m;if(this.#n[t]===m&&(!I||D.__staleWhileFetching===void 0?this.#P(e,"fetch"):A||(this.#n[t]=D.__staleWhileFetching)),x)return i.status&&D.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),D.__staleWhileFetching;if(D.__returned===D)throw b},v=(b,E)=>{let A=this.#o?.(e,o,f);A&&A instanceof Promise&&A.then(x=>b(x===void 0?void 0:x),E),s.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(b(void 0),i.allowStaleOnFetchAbort&&(b=x=>c(x,!0)))})};i.status&&(i.status.fetchDispatched=!0);let m=new Promise(v).then(c,p),g=Object.assign(m,{__abortController:s,__staleWhileFetching:o,__returned:void 0});return t===void 0?(this.set(e,g,{...f.options,status:void 0}),t=this.#a.get(e)):this.#n[t]=g,g}#f(e){if(!this.#E)return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof jo}async fetch(e,t={}){let{allowStale:i=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:s=this.ttl,noDisposeOnSet:u=this.noDisposeOnSet,size:f=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:p=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:v=this.allowStaleOnFetchRejection,ignoreFetchAbort:m=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:b,forceRefresh:E=!1,status:A,signal:x}=t;if(!this.#E)return A&&(A.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:n,noDeleteOnStaleGet:o,status:A});let I={allowStale:i,updateAgeOnGet:n,noDeleteOnStaleGet:o,ttl:s,noDisposeOnSet:u,size:f,sizeCalculation:c,noUpdateTTL:p,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:v,allowStaleOnFetchAbort:g,ignoreFetchAbort:m,status:A,signal:x},D=this.#a.get(e);if(D===void 0){A&&(A.fetch="miss");let j=this.#M(e,D,I,b);return j.__returned=j}else{let j=this.#n[D];if(this.#f(j)){let oe=i&&j.__staleWhileFetching!==void 0;return A&&(A.fetch="inflight",oe&&(A.returnedStale=!0)),oe?j.__staleWhileFetching:j.__returned=j}let ae=this.#v(D);if(!E&&!ae)return A&&(A.fetch="hit"),this.#j(D),n&&this.#T(D),A&&this.#r(A,D),j;let X=this.#M(e,D,I,b),Q=X.__staleWhileFetching!==void 0&&i;return A&&(A.fetch=ae?"stale":"refresh",Q&&ae&&(A.returnedStale=!0)),Q?X.__staleWhileFetching:X.__returned=X}}async forceFetch(e,t={}){let i=await this.fetch(e,t);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(e,t={}){let i=this.#b;if(!i)throw new Error("no memoMethod provided to constructor");let{context:n,forceRefresh:o,...s}=t,u=this.get(e,s);if(!o&&u!==void 0)return u;let f=i(e,u,{options:s,context:n});return this.set(e,f,s),f}get(e,t={}){let{allowStale:i=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:s}=t,u=this.#a.get(e);if(u!==void 0){let f=this.#n[u],c=this.#f(f);return s&&this.#r(s,u),this.#v(u)?(s&&(s.get="stale"),c?(s&&i&&f.__staleWhileFetching!==void 0&&(s.returnedStale=!0),i?f.__staleWhileFetching:void 0):(o||this.#P(e,"expire"),s&&i&&(s.returnedStale=!0),i?f:void 0)):(s&&(s.get="hit"),c?f.__staleWhileFetching:(this.#j(u),n&&this.#T(u),f))}else s&&(s.get="miss")}#U(e,t){this.#m[t]=e,this.#g[e]=t}#j(e){e!==this.#h&&(e===this.#p?this.#p=this.#g[e]:this.#U(this.#m[e],this.#g[e]),this.#U(this.#h,e),this.#h=e)}delete(e){return this.#P(e,"delete")}#P(e,t){let i=!1;if(this.#l!==0){let n=this.#a.get(e);if(n!==void 0)if(i=!0,this.#l===1)this.#q(t);else{this.#B(n);let o=this.#n[n];if(this.#f(o)?o.__abortController.abort(new Error("deleted")):(this.#S||this.#d)&&(this.#S&&this.#s?.(o,e,t),this.#d&&this.#y?.push([o,e,t])),this.#a.delete(e),this.#u[n]=void 0,this.#n[n]=void 0,n===this.#h)this.#h=this.#m[n];else if(n===this.#p)this.#p=this.#g[n];else{let s=this.#m[n];this.#g[s]=this.#g[n];let u=this.#g[n];this.#m[u]=this.#m[n]}this.#l--,this.#_.push(n)}}if(this.#d&&this.#y?.length){let n=this.#y,o;for(;o=n?.shift();)this.#i?.(...o)}return i}clear(){return this.#q("delete")}#q(e){for(let t of this.#x({allowStale:!0})){let i=this.#n[t];if(this.#f(i))i.__abortController.abort(new Error("deleted"));else{let n=this.#u[t];this.#S&&this.#s?.(i,n,e),this.#d&&this.#y?.push([i,n,e])}}if(this.#a.clear(),this.#n.fill(void 0),this.#u.fill(void 0),this.#w&&this.#A&&(this.#w.fill(0),this.#A.fill(0)),this.#O&&this.#O.fill(0),this.#p=0,this.#h=0,this.#_.length=0,this.#c=0,this.#l=0,this.#d&&this.#y){let t=this.#y,i;for(;i=t?.shift();)this.#i?.(...i)}}};Or();Si();_i();_i();L();F();N();_i();_i();In();Wr();qi();kr();Ir();$r();pi();zu();Nn();Or();Ni();Vi();Co();Fn();Si();Bo();Lo();Qs();var{access:lL,copyFile:fL,cp:cL,open:hL,opendir:pL,rename:dL,truncate:yL,rm:gL,rmdir:mL,mkdir:vL,readdir:bg,readlink:Sg,symlink:wL,lstat:Eg,stat:bL,link:SL,unlink:EL,chmod:_L,lchmod:OL,lchown:AL,chown:TL,utimes:RL,realpath:_g,mkdtemp:xL,writeFile:IL,appendFile:kL,readFile:PL,watch:CL}=Mo;L();F();N();Vi();Co();L();F();N();pi();pi();var Og=Lr.StringDecoder;var Ag=typeof z=="object"&&z?z:{stdout:null,stderr:null},Q_=r=>!!r&&typeof r=="object"&&(r instanceof Qr||r instanceof vt||X_(r)||Z_(r)),X_=r=>!!r&&typeof r=="object"&&r instanceof Po&&typeof r.pipe=="function"&&r.pipe!==vt.Writable.prototype.pipe,Z_=r=>!!r&&typeof r=="object"&&r instanceof Po&&typeof r.write=="function"&&typeof r.end=="function",Dr=Symbol("EOF"),Mr=Symbol("maybeEmitEnd"),Jr=Symbol("emittedEnd"),qo=Symbol("emittingEnd"),Hn=Symbol("emittedError"),$o=Symbol("closed"),Tg=Symbol("read"),Wo=Symbol("flush"),Rg=Symbol("flushChunk"),nr=Symbol("encoding"),en=Symbol("decoder"),dt=Symbol("flowing"),Yn=Symbol("paused"),tn=Symbol("resume"),yt=Symbol("buffer"),It=Symbol("pipes"),gt=Symbol("bufferLength"),ml=Symbol("bufferPush"),zo=Symbol("bufferShift"),_t=Symbol("objectMode"),ft=Symbol("destroyed"),vl=Symbol("error"),wl=Symbol("emitData"),xg=Symbol("emitEnd"),bl=Symbol("emitEnd2"),gr=Symbol("async"),Sl=Symbol("abort"),Vo=Symbol("aborted"),Kn=Symbol("signal"),Oi=Symbol("dataListeners"),Ut=Symbol("discarded"),Jn=r=>Promise.resolve().then(r),eO=r=>r(),tO=r=>r==="end"||r==="finish"||r==="prefinish",rO=r=>r instanceof ArrayBuffer||!!r&&typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,iO=r=>!Y.isBuffer(r)&&ArrayBuffer.isView(r),Go=class{src;dest;opts;ondrain;constructor(e,t,i){this.src=e,this.dest=t,this.opts=i,this.ondrain=()=>e[tn](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},El=class extends Go{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,i){super(e,t,i),this.proxyErrors=n=>t.emit("error",n),e.on("error",this.proxyErrors)}},nO=r=>!!r.objectMode,sO=r=>!r.objectMode&&!!r.encoding&&r.encoding!=="buffer",Qr=class extends Po{[dt]=!1;[Yn]=!1;[It]=[];[yt]=[];[_t];[nr];[gr];[en];[Dr]=!1;[Jr]=!1;[qo]=!1;[$o]=!1;[Hn]=null;[gt]=0;[ft]=!1;[Kn];[Vo]=!1;[Oi]=0;[Ut]=!1;writable=!0;readable=!0;constructor(...e){let t=e[0]||{};if(super(),t.objectMode&&typeof t.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");nO(t)?(this[_t]=!0,this[nr]=null):sO(t)?(this[nr]=t.encoding,this[_t]=!1):(this[_t]=!1,this[nr]=null),this[gr]=!!t.async,this[en]=this[nr]?new Og(this[nr]):null,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[yt]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[It]});let{signal:i}=t;i&&(this[Kn]=i,i.aborted?this[Sl]():i.addEventListener("abort",()=>this[Sl]()))}get bufferLength(){return this[gt]}get encoding(){return this[nr]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[_t]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[gr]}set async(e){this[gr]=this[gr]||!!e}[Sl](){this[Vo]=!0,this.emit("abort",this[Kn]?.reason),this.destroy(this[Kn]?.reason)}get aborted(){return this[Vo]}set aborted(e){}write(e,t,i){if(this[Vo])return!1;if(this[Dr])throw new Error("write after end");if(this[ft])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(i=t,t="utf8"),t||(t="utf8");let n=this[gr]?Jn:eO;if(!this[_t]&&!Y.isBuffer(e)){if(iO(e))e=Y.from(e.buffer,e.byteOffset,e.byteLength);else if(rO(e))e=Y.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[_t]?(this[dt]&&this[gt]!==0&&this[Wo](!0),this[dt]?this.emit("data",e):this[ml](e),this[gt]!==0&&this.emit("readable"),i&&n(i),this[dt]):e.length?(typeof e=="string"&&!(t===this[nr]&&!this[en]?.lastNeed)&&(e=Y.from(e,t)),Y.isBuffer(e)&&this[nr]&&(e=this[en].write(e)),this[dt]&&this[gt]!==0&&this[Wo](!0),this[dt]?this.emit("data",e):this[ml](e),this[gt]!==0&&this.emit("readable"),i&&n(i),this[dt]):(this[gt]!==0&&this.emit("readable"),i&&n(i),this[dt])}read(e){if(this[ft])return null;if(this[Ut]=!1,this[gt]===0||e===0||e&&e>this[gt])return this[Mr](),null;this[_t]&&(e=null),this[yt].length>1&&!this[_t]&&(this[yt]=[this[nr]?this[yt].join(""):Y.concat(this[yt],this[gt])]);let t=this[Tg](e||null,this[yt][0]);return this[Mr](),t}[Tg](e,t){if(this[_t])this[zo]();else{let i=t;e===i.length||e===null?this[zo]():typeof i=="string"?(this[yt][0]=i.slice(e),t=i.slice(0,e),this[gt]-=e):(this[yt][0]=i.subarray(e),t=i.subarray(0,e),this[gt]-=e)}return this.emit("data",t),!this[yt].length&&!this[Dr]&&this.emit("drain"),t}end(e,t,i){return typeof e=="function"&&(i=e,e=void 0),typeof t=="function"&&(i=t,t="utf8"),e!==void 0&&this.write(e,t),i&&this.once("end",i),this[Dr]=!0,this.writable=!1,(this[dt]||!this[Yn])&&this[Mr](),this}[tn](){this[ft]||(!this[Oi]&&!this[It].length&&(this[Ut]=!0),this[Yn]=!1,this[dt]=!0,this.emit("resume"),this[yt].length?this[Wo]():this[Dr]?this[Mr]():this.emit("drain"))}resume(){return this[tn]()}pause(){this[dt]=!1,this[Yn]=!0,this[Ut]=!1}get destroyed(){return this[ft]}get flowing(){return this[dt]}get paused(){return this[Yn]}[ml](e){this[_t]?this[gt]+=1:this[gt]+=e.length,this[yt].push(e)}[zo](){return this[_t]?this[gt]-=1:this[gt]-=this[yt][0].length,this[yt].shift()}[Wo](e=!1){do;while(this[Rg](this[zo]())&&this[yt].length);!e&&!this[yt].length&&!this[Dr]&&this.emit("drain")}[Rg](e){return this.emit("data",e),this[dt]}pipe(e,t){if(this[ft])return e;this[Ut]=!1;let i=this[Jr];return t=t||{},e===Ag.stdout||e===Ag.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,i?t.end&&e.end():(this[It].push(t.proxyErrors?new El(this,e,t):new Go(this,e,t)),this[gr]?Jn(()=>this[tn]()):this[tn]()),e}unpipe(e){let t=this[It].find(i=>i.dest===e);t&&(this[It].length===1?(this[dt]&&this[Oi]===0&&(this[dt]=!1),this[It]=[]):this[It].splice(this[It].indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){let i=super.on(e,t);if(e==="data")this[Ut]=!1,this[Oi]++,!this[It].length&&!this[dt]&&this[tn]();else if(e==="readable"&&this[gt]!==0)super.emit("readable");else if(tO(e)&&this[Jr])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[Hn]){let n=t;this[gr]?Jn(()=>n.call(this,this[Hn])):n.call(this,this[Hn])}return i}removeListener(e,t){return this.off(e,t)}off(e,t){let i=super.off(e,t);return e==="data"&&(this[Oi]=this.listeners("data").length,this[Oi]===0&&!this[Ut]&&!this[It].length&&(this[dt]=!1)),i}removeAllListeners(e){let t=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[Oi]=0,!this[Ut]&&!this[It].length&&(this[dt]=!1)),t}get emittedEnd(){return this[Jr]}[Mr](){!this[qo]&&!this[Jr]&&!this[ft]&&this[yt].length===0&&this[Dr]&&(this[qo]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[$o]&&this.emit("close"),this[qo]=!1)}emit(e,...t){let i=t[0];if(e!=="error"&&e!=="close"&&e!==ft&&this[ft])return!1;if(e==="data")return!this[_t]&&!i?!1:this[gr]?(Jn(()=>this[wl](i)),!0):this[wl](i);if(e==="end")return this[xg]();if(e==="close"){if(this[$o]=!0,!this[Jr]&&!this[ft])return!1;let o=super.emit("close");return this.removeAllListeners("close"),o}else if(e==="error"){this[Hn]=i,super.emit(vl,i);let o=!this[Kn]||this.listeners("error").length?super.emit("error",i):!1;return this[Mr](),o}else if(e==="resume"){let o=super.emit("resume");return this[Mr](),o}else if(e==="finish"||e==="prefinish"){let o=super.emit(e);return this.removeAllListeners(e),o}let n=super.emit(e,...t);return this[Mr](),n}[wl](e){for(let i of this[It])i.dest.write(e)===!1&&this.pause();let t=this[Ut]?!1:super.emit("data",e);return this[Mr](),t}[xg](){return this[Jr]?!1:(this[Jr]=!0,this.readable=!1,this[gr]?(Jn(()=>this[bl]()),!0):this[bl]())}[bl](){if(this[en]){let t=this[en].end();if(t){for(let i of this[It])i.dest.write(t);this[Ut]||super.emit("data",t)}}for(let t of this[It])t.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[_t]||(e.dataLength=0);let t=this.promise();return this.on("data",i=>{e.push(i),this[_t]||(e.dataLength+=i.length)}),await t,e}async concat(){if(this[_t])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[nr]?e.join(""):Y.concat(e,e.dataLength)}async promise(){return new Promise((e,t)=>{this.on(ft,()=>t(new Error("stream destroyed"))),this.on("error",i=>t(i)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[Ut]=!1;let e=!1,t=async()=>(this.pause(),e=!0,{value:void 0,done:!0});return{next:()=>{if(e)return t();let n=this.read();if(n!==null)return Promise.resolve({done:!1,value:n});if(this[Dr])return t();let o,s,u=d=>{this.off("data",f),this.off("end",c),this.off(ft,p),t(),s(d)},f=d=>{this.off("error",u),this.off("end",c),this.off(ft,p),this.pause(),o({value:d,done:!!this[Dr]})},c=()=>{this.off("error",u),this.off("data",f),this.off(ft,p),t(),o({done:!0,value:void 0})},p=()=>u(new Error("stream destroyed"));return new Promise((d,v)=>{s=v,o=d,this.once(ft,p),this.once("error",u),this.once("end",c),this.once("data",f)})},throw:t,return:t,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[Ut]=!1;let e=!1,t=()=>(this.pause(),this.off(vl,t),this.off(ft,t),this.off("end",t),e=!0,{done:!0,value:void 0}),i=()=>{if(e)return t();let n=this.read();return n===null?t():{done:!1,value:n}};return this.once("end",t),this.once(vl,t),this.once(ft,t),{next:i,throw:t,return:t,[Symbol.iterator](){return this}}}destroy(e){if(this[ft])return e?this.emit("error",e):this.emit(ft),this;this[ft]=!0,this[Ut]=!0,this[yt].length=0,this[gt]=0;let t=this;return typeof t.close=="function"&&!this[$o]&&t.close(),e?this.emit("error",e):this.emit(ft),this}static get isStream(){return Q_}};var oO=fl.native,Xn={lstatSync:sl,readdir:ol,readdirSync:al,readlinkSync:ll,realpathSync:oO,promises:{lstat:Eg,readdir:bg,readlink:Sg,realpath:_g}},Bg=r=>!r||r===Xn||r===$n?Xn:{...Xn,...r,promises:{...Xn.promises,...r.promises||{}}},Lg=/^\\\\\?\\([a-z]:)\\?$/i,aO=r=>r.replace(/\//g,"\\").replace(Lg,"$1\\"),uO=/[\\\/]/,Yt=0,Ng=1,Fg=2,mr=4,Dg=6,Mg=8,Ai=10,Ug=12,Ht=15,Qn=~Ht,_l=16,Ig=32,Zn=64,sr=128,Ho=256,Ko=512,kg=Zn|sr|Ko,lO=1023,Ol=r=>r.isFile()?Mg:r.isDirectory()?mr:r.isSymbolicLink()?Ai:r.isCharacterDevice()?Fg:r.isBlockDevice()?Dg:r.isSocket()?Ug:r.isFIFO()?Ng:Yt,Pg=new Map,es=r=>{let e=Pg.get(r);if(e)return e;let t=r.normalize("NFKD");return Pg.set(r,t),t},Cg=new Map,Yo=r=>{let e=Cg.get(r);if(e)return e;let t=es(r.toLowerCase());return Cg.set(r,t),t},Jo=class extends Gn{constructor(){super({max:256})}},Al=class extends Gn{constructor(e=16*1024){super({maxSize:e,sizeCalculation:t=>t.length+1})}},jg=Symbol("PathScurry setAsCwd"),Ot=class{name;root;roots;parent;nocase;isCWD=!1;#e;#t;get dev(){return this.#t}#s;get mode(){return this.#s}#i;get nlink(){return this.#i}#o;get uid(){return this.#o}#b;get gid(){return this.#b}#l;get rdev(){return this.#l}#c;get blksize(){return this.#c}#a;get ino(){return this.#a}#u;get size(){return this.#u}#n;get blocks(){return this.#n}#g;get atimeMs(){return this.#g}#m;get mtimeMs(){return this.#m}#p;get ctimeMs(){return this.#p}#h;get birthtimeMs(){return this.#h}#_;get atime(){return this.#_}#y;get mtime(){return this.#y}#O;get ctime(){return this.#O}#A;get birthtime(){return this.#A}#w;#S;#E;#d;#I;#T;#r;#C;#v;#k;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,t=Yt,i,n,o,s,u){this.name=e,this.#w=o?Yo(e):es(e),this.#r=t&lO,this.nocase=o,this.roots=n,this.root=i||this,this.#C=s,this.#E=u.fullpath,this.#I=u.relative,this.#T=u.relativePosix,this.parent=u.parent,this.parent?this.#e=this.parent.#e:this.#e=Bg(u.fs)}depth(){return this.#S!==void 0?this.#S:this.parent?this.#S=this.parent.depth()+1:this.#S=0}childrenCache(){return this.#C}resolve(e){if(!e)return this;let t=this.getRootString(e),n=e.substring(t.length).split(this.splitSep);return t?this.getRoot(t).#B(n):this.#B(n)}#B(e){let t=this;for(let i of e)t=t.child(i);return t}children(){let e=this.#C.get(this);if(e)return e;let t=Object.assign([],{provisional:0});return this.#C.set(this,t),this.#r&=~_l,t}child(e,t){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let i=this.children(),n=this.nocase?Yo(e):es(e);for(let f of i)if(f.#w===n)return f;let o=this.parent?this.sep:"",s=this.#E?this.#E+o+e:void 0,u=this.newChild(e,Yt,{...t,parent:this,fullpath:s});return this.canReaddir()||(u.#r|=sr),i.push(u),u}relative(){if(this.isCWD)return"";if(this.#I!==void 0)return this.#I;let e=this.name,t=this.parent;if(!t)return this.#I=this.name;let i=t.relative();return i+(!i||!t.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#T!==void 0)return this.#T;let e=this.name,t=this.parent;if(!t)return this.#T=this.fullpathPosix();let i=t.relativePosix();return i+(!i||!t.parent?"":"/")+e}fullpath(){if(this.#E!==void 0)return this.#E;let e=this.name,t=this.parent;if(!t)return this.#E=this.name;let n=t.fullpath()+(t.parent?this.sep:"")+e;return this.#E=n}fullpathPosix(){if(this.#d!==void 0)return this.#d;if(this.sep==="/")return this.#d=this.fullpath();if(!this.parent){let n=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(n)?this.#d=`//?/${n}`:this.#d=n}let e=this.parent,t=e.fullpathPosix(),i=t+(!t||!e.parent?"":"/")+this.name;return this.#d=i}isUnknown(){return(this.#r&Ht)===Yt}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#r&Ht)===Mg}isDirectory(){return(this.#r&Ht)===mr}isCharacterDevice(){return(this.#r&Ht)===Fg}isBlockDevice(){return(this.#r&Ht)===Dg}isFIFO(){return(this.#r&Ht)===Ng}isSocket(){return(this.#r&Ht)===Ug}isSymbolicLink(){return(this.#r&Ai)===Ai}lstatCached(){return this.#r&Ig?this:void 0}readlinkCached(){return this.#v}realpathCached(){return this.#k}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#v)return!0;if(!this.parent)return!1;let e=this.#r&Ht;return!(e!==Yt&&e!==Ai||this.#r&Ho||this.#r&sr)}calledReaddir(){return!!(this.#r&_l)}isENOENT(){return!!(this.#r&sr)}isNamed(e){return this.nocase?this.#w===Yo(e):this.#w===es(e)}async readlink(){let e=this.#v;if(e)return e;if(this.canReadlink()&&this.parent)try{let t=await this.#e.promises.readlink(this.fullpath()),i=(await this.parent.realpath())?.resolve(t);if(i)return this.#v=i}catch(t){this.#f(t.code);return}}readlinkSync(){let e=this.#v;if(e)return e;if(this.canReadlink()&&this.parent)try{let t=this.#e.readlinkSync(this.fullpath()),i=this.parent.realpathSync()?.resolve(t);if(i)return this.#v=i}catch(t){this.#f(t.code);return}}#L(e){this.#r|=_l;for(let t=e.provisional;t<e.length;t++){let i=e[t];i&&i.#N()}}#N(){this.#r&sr||(this.#r=(this.#r|sr)&Qn,this.#R())}#R(){let e=this.children();e.provisional=0;for(let t of e)t.#N()}#x(){this.#r|=Ko,this.#F()}#F(){if(this.#r&Zn)return;let e=this.#r;(e&Ht)===mr&&(e&=Qn),this.#r=e|Zn,this.#R()}#D(e=""){e==="ENOTDIR"||e==="EPERM"?this.#F():e==="ENOENT"?this.#N():this.children().provisional=0}#M(e=""){e==="ENOTDIR"?this.parent.#F():e==="ENOENT"&&this.#N()}#f(e=""){let t=this.#r;t|=Ho,e==="ENOENT"&&(t|=sr),(e==="EINVAL"||e==="UNKNOWN")&&(t&=Qn),this.#r=t,e==="ENOTDIR"&&this.parent&&this.parent.#F()}#U(e,t){return this.#P(e,t)||this.#j(e,t)}#j(e,t){let i=Ol(e),n=this.newChild(e.name,i,{parent:this}),o=n.#r&Ht;return o!==mr&&o!==Ai&&o!==Yt&&(n.#r|=Zn),t.unshift(n),t.provisional++,n}#P(e,t){for(let i=t.provisional;i<t.length;i++){let n=t[i];if((this.nocase?Yo(e.name):es(e.name))===n.#w)return this.#q(e,n,i,t)}}#q(e,t,i,n){let o=t.name;return t.#r=t.#r&Qn|Ol(e),o!==e.name&&(t.name=e.name),i!==n.provisional&&(i===n.length-1?n.pop():n.splice(i,1),n.unshift(t)),n.provisional++,t}async lstat(){if(!(this.#r&sr))try{return this.#V(await this.#e.promises.lstat(this.fullpath())),this}catch(e){this.#M(e.code)}}lstatSync(){if(!(this.#r&sr))try{return this.#V(this.#e.lstatSync(this.fullpath())),this}catch(e){this.#M(e.code)}}#V(e){let{atime:t,atimeMs:i,birthtime:n,birthtimeMs:o,blksize:s,blocks:u,ctime:f,ctimeMs:c,dev:p,gid:d,ino:v,mode:m,mtime:g,mtimeMs:b,nlink:E,rdev:A,size:x,uid:I}=e;this.#_=t,this.#g=i,this.#A=n,this.#h=o,this.#c=s,this.#n=u,this.#O=f,this.#p=c,this.#t=p,this.#b=d,this.#a=v,this.#s=m,this.#y=g,this.#m=b,this.#i=E,this.#l=A,this.#u=x,this.#o=I;let D=Ol(e);this.#r=this.#r&Qn|D|Ig,D!==Yt&&D!==mr&&D!==Ai&&(this.#r|=Zn)}#W=[];#z=!1;#G(e){this.#z=!1;let t=this.#W.slice();this.#W.length=0,t.forEach(i=>i(null,e))}readdirCB(e,t=!1){if(!this.canReaddir()){t?e(null,[]):queueMicrotask(()=>e(null,[]));return}let i=this.children();if(this.calledReaddir()){let o=i.slice(0,i.provisional);t?e(null,o):queueMicrotask(()=>e(null,o));return}if(this.#W.push(e),this.#z)return;this.#z=!0;let n=this.fullpath();this.#e.readdir(n,{withFileTypes:!0},(o,s)=>{if(o)this.#D(o.code),i.provisional=0;else{for(let u of s)this.#U(u,i);this.#L(i)}this.#G(i.slice(0,i.provisional))})}#$;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();if(this.#$)await this.#$;else{let i=()=>{};this.#$=new Promise(n=>i=n);try{for(let n of await this.#e.promises.readdir(t,{withFileTypes:!0}))this.#U(n,e);this.#L(e)}catch(n){this.#D(n.code),e.provisional=0}this.#$=void 0,i()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();try{for(let i of this.#e.readdirSync(t,{withFileTypes:!0}))this.#U(i,e);this.#L(e)}catch(i){this.#D(i.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#r&kg)return!1;let e=Ht&this.#r;return e===Yt||e===mr||e===Ai}shouldWalk(e,t){return(this.#r&mr)===mr&&!(this.#r&kg)&&!e.has(this)&&(!t||t(this))}async realpath(){if(this.#k)return this.#k;if(!((Ko|Ho|sr)&this.#r))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#k=this.resolve(e)}catch{this.#x()}}realpathSync(){if(this.#k)return this.#k;if(!((Ko|Ho|sr)&this.#r))try{let e=this.#e.realpathSync(this.fullpath());return this.#k=this.resolve(e)}catch{this.#x()}}[jg](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let t=new Set([]),i=[],n=this;for(;n&&n.parent;)t.add(n),n.#I=i.join(this.sep),n.#T=i.join("/"),n=n.parent,i.push("..");for(n=e;n&&n.parent&&!t.has(n);)n.#I=void 0,n.#T=void 0,n=n.parent}},Qo=class r extends Ot{sep="\\";splitSep=uO;constructor(e,t=Yt,i,n,o,s,u){super(e,t,i,n,o,s,u)}newChild(e,t=Yt,i={}){return new r(e,t,this.root,this.roots,this.nocase,this.childrenCache(),i)}getRootString(e){return En.parse(e).root}getRoot(e){if(e=aO(e.toUpperCase()),e===this.root.name)return this.root;for(let[t,i]of Object.entries(this.roots))if(this.sameRoot(e,t))return this.roots[e]=i;return this.roots[e]=new rn(e,this).root}sameRoot(e,t=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(Lg,"$1\\"),e===t}},Xo=class r extends Ot{splitSep="/";sep="/";constructor(e,t=Yt,i,n,o,s,u){super(e,t,i,n,o,s,u)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,t=Yt,i={}){return new r(e,t,this.root,this.roots,this.nocase,this.childrenCache(),i)}},Zo=class{root;rootPath;roots;cwd;#e;#t;#s;nocase;#i;constructor(e=z.cwd(),t,i,{nocase:n,childrenCacheSize:o=16*1024,fs:s=Xn}={}){this.#i=Bg(s),(e instanceof URL||e.startsWith("file://"))&&(e=Hr(e));let u=t.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(u),this.#e=new Jo,this.#t=new Jo,this.#s=new Al(o);let f=u.substring(this.rootPath.length).split(i);if(f.length===1&&!f[0]&&f.pop(),n===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=n,this.root=this.newRoot(this.#i),this.roots[this.rootPath]=this.root;let c=this.root,p=f.length-1,d=t.sep,v=this.rootPath,m=!1;for(let g of f){let b=p--;c=c.child(g,{relative:new Array(b).fill("..").join(d),relativePosix:new Array(b).fill("..").join("/"),fullpath:v+=(m?"":d)+g}),m=!0}this.cwd=c}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#s}resolve(...e){let t="";for(let o=e.length-1;o>=0;o--){let s=e[o];if(!(!s||s===".")&&(t=t?`${s}/${t}`:s,this.isAbsolute(s)))break}let i=this.#e.get(t);if(i!==void 0)return i;let n=this.cwd.resolve(t).fullpath();return this.#e.set(t,n),n}resolvePosix(...e){let t="";for(let o=e.length-1;o>=0;o--){let s=e[o];if(!(!s||s===".")&&(t=t?`${s}/${t}`:s,this.isAbsolute(s)))break}let i=this.#t.get(t);if(i!==void 0)return i;let n=this.cwd.resolve(t).fullpathPosix();return this.#t.set(t,n),n}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,t={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i}=t;if(e.canReaddir()){let n=await e.readdir();return i?n:n.map(o=>o.name)}else return[]}readdirSync(e=this.cwd,t={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0}=t;return e.canReaddir()?i?e.readdirSync():e.readdirSync().map(n=>n.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e.withFileTypes,e=this.cwd);let i=await e.readlink();return t?i:i?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e.withFileTypes,e=this.cwd);let i=e.readlinkSync();return t?i:i?.fullpath()}async realpath(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e.withFileTypes,e=this.cwd);let i=await e.realpath();return t?i:i?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e.withFileTypes,e=this.cwd);let i=e.realpathSync();return t?i:i?.fullpath()}async walk(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:n=!1,filter:o,walkFilter:s}=t,u=[];(!o||o(e))&&u.push(i?e:e.fullpath());let f=new Set,c=(d,v)=>{f.add(d),d.readdirCB((m,g)=>{if(m)return v(m);let b=g.length;if(!b)return v();let E=()=>{--b===0&&v()};for(let A of g)(!o||o(A))&&u.push(i?A:A.fullpath()),n&&A.isSymbolicLink()?A.realpath().then(x=>x?.isUnknown()?x.lstat():x).then(x=>x?.shouldWalk(f,s)?c(x,E):E()):A.shouldWalk(f,s)?c(A,E):E()},!0)},p=e;return new Promise((d,v)=>{c(p,m=>{if(m)return v(m);d(u)})})}walkSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:n=!1,filter:o,walkFilter:s}=t,u=[];(!o||o(e))&&u.push(i?e:e.fullpath());let f=new Set([e]);for(let c of f){let p=c.readdirSync();for(let d of p){(!o||o(d))&&u.push(i?d:d.fullpath());let v=d;if(d.isSymbolicLink()){if(!(n&&(v=d.realpathSync())))continue;v.isUnknown()&&v.lstatSync()}v.shouldWalk(f,s)&&f.add(v)}}return u}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,t={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd),this.stream(e,t)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:n=!1,filter:o,walkFilter:s}=t;(!o||o(e))&&(yield i?e:e.fullpath());let u=new Set([e]);for(let f of u){let c=f.readdirSync();for(let p of c){(!o||o(p))&&(yield i?p:p.fullpath());let d=p;if(p.isSymbolicLink()){if(!(n&&(d=p.realpathSync())))continue;d.isUnknown()&&d.lstatSync()}d.shouldWalk(u,s)&&u.add(d)}}}stream(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:n=!1,filter:o,walkFilter:s}=t,u=new Qr({objectMode:!0});(!o||o(e))&&u.write(i?e:e.fullpath());let f=new Set,c=[e],p=0,d=()=>{let v=!1;for(;!v;){let m=c.shift();if(!m){p===0&&u.end();return}p++,f.add(m);let g=(E,A,x=!1)=>{if(E)return u.emit("error",E);if(n&&!x){let I=[];for(let D of A)D.isSymbolicLink()&&I.push(D.realpath().then(j=>j?.isUnknown()?j.lstat():j));if(I.length){Promise.all(I).then(()=>g(null,A,!0));return}}for(let I of A)I&&(!o||o(I))&&(u.write(i?I:I.fullpath())||(v=!0));p--;for(let I of A){let D=I.realpathCached()||I;D.shouldWalk(f,s)&&c.push(D)}v&&!u.flowing?u.once("drain",d):b||d()},b=!0;m.readdirCB(g,!0),b=!1}};return d(),u}streamSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Ot||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:n=!1,filter:o,walkFilter:s}=t,u=new Qr({objectMode:!0}),f=new Set;(!o||o(e))&&u.write(i?e:e.fullpath());let c=[e],p=0,d=()=>{let v=!1;for(;!v;){let m=c.shift();if(!m){p===0&&u.end();return}p++,f.add(m);let g=m.readdirSync();for(let b of g)(!o||o(b))&&(u.write(i?b:b.fullpath())||(v=!0));p--;for(let b of g){let E=b;if(b.isSymbolicLink()){if(!(n&&(E=b.realpathSync())))continue;E.isUnknown()&&E.lstatSync()}E.shouldWalk(f,s)&&c.push(E)}}v&&!u.flowing&&u.once("drain",d)};return d(),u}chdir(e=this.cwd){let t=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[jg](t)}},rn=class extends Zo{sep="\\";constructor(e=z.cwd(),t={}){let{nocase:i=!0}=t;super(e,En,"\\",{...t,nocase:i}),this.nocase=i;for(let n=this.cwd;n;n=n.parent)n.nocase=this.nocase}parseRootPath(e){return En.parse(e).root.toUpperCase()}newRoot(e){return new Qo(this.rootPath,mr,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}},nn=class extends Zo{sep="/";constructor(e=z.cwd(),t={}){let{nocase:i=!1}=t;super(e,za,"/",{...t,nocase:i}),this.nocase=i}parseRootPath(e){return"/"}newRoot(e){return new Xo(this.rootPath,mr,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}},ts=class extends nn{constructor(e=z.cwd(),t={}){let{nocase:i=!0}=t;super(e,{...t,nocase:i})}},iN=z.platform==="win32"?Qo:Xo,qg=z.platform==="win32"?rn:z.platform==="darwin"?ts:nn;L();F();N();var fO=r=>r.length>=1,cO=r=>r.length>=1,sn=class r{#e;#t;#s;length;#i;#o;#b;#l;#c;#a;#u=!0;constructor(e,t,i,n){if(!fO(e))throw new TypeError("empty pattern list");if(!cO(t))throw new TypeError("empty glob list");if(t.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,i<0||i>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#t=t,this.#s=i,this.#i=n,this.#s===0){if(this.isUNC()){let[o,s,u,f,...c]=this.#e,[p,d,v,m,...g]=this.#t;c[0]===""&&(c.shift(),g.shift());let b=[o,s,u,f,""].join("/"),E=[p,d,v,m,""].join("/");this.#e=[b,...c],this.#t=[E,...g],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[o,...s]=this.#e,[u,...f]=this.#t;s[0]===""&&(s.shift(),f.shift());let c=o+"/",p=u+"/";this.#e=[c,...s],this.#t=[p,...f],this.length=this.#e.length}}}pattern(){return this.#e[this.#s]}isString(){return typeof this.#e[this.#s]=="string"}isGlobstar(){return this.#e[this.#s]===wt}isRegExp(){return this.#e[this.#s]instanceof RegExp}globString(){return this.#b=this.#b||(this.#s===0?this.isAbsolute()?this.#t[0]+this.#t.slice(1).join("/"):this.#t.join("/"):this.#t.slice(this.#s).join("/"))}hasMore(){return this.length>this.#s+1}rest(){return this.#o!==void 0?this.#o:this.hasMore()?(this.#o=new r(this.#e,this.#t,this.#s+1,this.#i),this.#o.#a=this.#a,this.#o.#c=this.#c,this.#o.#l=this.#l,this.#o):this.#o=null}isUNC(){let e=this.#e;return this.#c!==void 0?this.#c:this.#c=this.#i==="win32"&&this.#s===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#l!==void 0?this.#l:this.#l=this.#i==="win32"&&this.#s===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#a!==void 0?this.#a:this.#a=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#s===0?e:""}checkFollowGlobstar(){return!(this.#s===0||!this.isGlobstar()||!this.#u)}markFollowGlobstar(){return this.#s===0||!this.isGlobstar()||!this.#u?!1:(this.#u=!1,!0)}};L();F();N();L();F();N();var hO=typeof z=="object"&&z&&typeof z.platform=="string"?z.platform:"linux",on=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:t,nocase:i,noext:n,noglobstar:o,platform:s=hO}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=s,this.mmopts={dot:!0,nobrace:t,nocase:i,noext:n,noglobstar:o,optimizationLevel:2,platform:s,nocomment:!0,nonegate:!0};for(let u of e)this.add(u)}add(e){let t=new Mt(e,this.mmopts);for(let i=0;i<t.set.length;i++){let n=t.set[i],o=t.globParts[i];if(!n||!o)throw new Error("invalid pattern object");for(;n[0]==="."&&o[0]===".";)n.shift(),o.shift();let s=new sn(n,o,0,this.platform),u=new Mt(s.globString(),this.mmopts),f=o[o.length-1]==="**",c=s.isAbsolute();c?this.absolute.push(u):this.relative.push(u),f&&(c?this.absoluteChildren.push(u):this.relativeChildren.push(u))}}ignored(e){let t=e.fullpath(),i=`${t}/`,n=e.relative()||".",o=`${n}/`;for(let s of this.relative)if(s.match(n)||s.match(o))return!0;for(let s of this.absolute)if(s.match(t)||s.match(i))return!0;return!1}childrenIgnored(e){let t=e.fullpath()+"/",i=(e.relative()||".")+"/";for(let n of this.relativeChildren)if(n.match(i))return!0;for(let n of this.absoluteChildren)if(n.match(t))return!0;return!1}};L();F();N();var Tl=class r{store;constructor(e=new Map){this.store=e}copy(){return new r(new Map(this.store))}hasWalked(e,t){return this.store.get(e.fullpath())?.has(t.globString())}storeWalked(e,t){let i=e.fullpath(),n=this.store.get(i);n?n.add(t.globString()):this.store.set(i,new Set([t.globString()]))}},Rl=class{store=new Map;add(e,t,i){let n=(t?2:0)|(i?1:0),o=this.store.get(e);this.store.set(e,o===void 0?n:n&o)}entries(){return[...this.store.entries()].map(([e,t])=>[e,!!(t&2),!!(t&1)])}},xl=class{store=new Map;add(e,t){if(!e.canReaddir())return;let i=this.store.get(e);i?i.find(n=>n.globString()===t.globString())||i.push(t):this.store.set(e,[t])}get(e){let t=this.store.get(e);if(!t)throw new Error("attempting to walk unknown path");return t}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}},rs=class r{hasWalkedCache;matches=new Rl;subwalks=new xl;patterns;follow;dot;opts;constructor(e,t){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=t?t.copy():new Tl}processPatterns(e,t){this.patterns=t;let i=t.map(n=>[e,n]);for(let[n,o]of i){this.hasWalkedCache.storeWalked(n,o);let s=o.root(),u=o.isAbsolute()&&this.opts.absolute!==!1;if(s){n=n.resolve(s==="/"&&this.opts.root!==void 0?this.opts.root:s);let d=o.rest();if(d)o=d;else{this.matches.add(n,!0,!1);continue}}if(n.isENOENT())continue;let f,c,p=!1;for(;typeof(f=o.pattern())=="string"&&(c=o.rest());)n=n.resolve(f),o=c,p=!0;if(f=o.pattern(),c=o.rest(),p){if(this.hasWalkedCache.hasWalked(n,o))continue;this.hasWalkedCache.storeWalked(n,o)}if(typeof f=="string"){let d=f===".."||f===""||f===".";this.matches.add(n.resolve(f),u,d);continue}else if(f===wt){(!n.isSymbolicLink()||this.follow||o.checkFollowGlobstar())&&this.subwalks.add(n,o);let d=c?.pattern(),v=c?.rest();if(!c||(d===""||d===".")&&!v)this.matches.add(n,u,d===""||d===".");else if(d===".."){let m=n.parent||n;v?this.hasWalkedCache.hasWalked(m,v)||this.subwalks.add(m,v):this.matches.add(m,u,!0)}}else f instanceof RegExp&&this.subwalks.add(n,o)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new r(this.opts,this.hasWalkedCache)}filterEntries(e,t){let i=this.subwalks.get(e),n=this.child();for(let o of t)for(let s of i){let u=s.isAbsolute(),f=s.pattern(),c=s.rest();f===wt?n.testGlobstar(o,s,c,u):f instanceof RegExp?n.testRegExp(o,f,c,u):n.testString(o,f,c,u)}return n}testGlobstar(e,t,i,n){if((this.dot||!e.name.startsWith("."))&&(t.hasMore()||this.matches.add(e,n,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,t):e.isSymbolicLink()&&(i&&t.checkFollowGlobstar()?this.subwalks.add(e,i):t.markFollowGlobstar()&&this.subwalks.add(e,t)))),i){let o=i.pattern();if(typeof o=="string"&&o!==".."&&o!==""&&o!==".")this.testString(e,o,i.rest(),n);else if(o===".."){let s=e.parent||e;this.subwalks.add(s,i)}else o instanceof RegExp&&this.testRegExp(e,o,i.rest(),n)}}testRegExp(e,t,i,n){t.test(e.name)&&(i?this.subwalks.add(e,i):this.matches.add(e,n,!1))}testString(e,t,i,n){e.isNamed(t)&&(i?this.subwalks.add(e,i):this.matches.add(e,n,!1))}};var pO=(r,e)=>typeof r=="string"?new on([r],e):Array.isArray(r)?new on(r,e):r,ea=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#t;#s;signal;maxDepth;includeChildMatches;constructor(e,t,i){if(this.patterns=e,this.path=t,this.opts=i,this.#s=!i.posix&&i.platform==="win32"?"\\":"/",this.includeChildMatches=i.includeChildMatches!==!1,(i.ignore||!this.includeChildMatches)&&(this.#t=pO(i.ignore??[],i),!this.includeChildMatches&&typeof this.#t.add!="function")){let n="cannot ignore child matches, ignore lacks add() method.";throw new Error(n)}this.maxDepth=i.maxDepth||1/0,i.signal&&(this.signal=i.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#i(e){return this.seen.has(e)||!!this.#t?.ignored?.(e)}#o(e){return!!this.#t?.childrenIgnored?.(e)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){this.signal?.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,t){if(t&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=e.realpathCached()||await e.realpath(),!i)return;e=i}let o=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&o?.isSymbolicLink()){let s=await o.realpath();s&&(s.isUnknown()||this.opts.stat)&&await s.lstat()}return this.matchCheckTest(o,t)}matchCheckTest(e,t){return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!t||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#i(e)?e:void 0}matchCheckSync(e,t){if(t&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=e.realpathCached()||e.realpathSync(),!i)return;e=i}let o=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&o?.isSymbolicLink()){let s=o.realpathSync();s&&(s?.isUnknown()||this.opts.stat)&&s.lstatSync()}return this.matchCheckTest(o,t)}matchFinish(e,t){if(this.#i(e))return;if(!this.includeChildMatches&&this.#t?.add){let o=`${e.relativePosix()}/**`;this.#t.add(o)}let i=this.opts.absolute===void 0?t:this.opts.absolute;this.seen.add(e);let n=this.opts.mark&&e.isDirectory()?this.#s:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(i){let o=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(o+n)}else{let o=this.opts.posix?e.relativePosix():e.relative(),s=this.opts.dotRelative&&!o.startsWith(".."+this.#s)?"."+this.#s:"";this.matchEmit(o?s+o+n:"."+n)}}async match(e,t,i){let n=await this.matchCheck(e,i);n&&this.matchFinish(n,t)}matchSync(e,t,i){let n=this.matchCheckSync(e,i);n&&this.matchFinish(n,t)}walkCB(e,t,i){this.signal?.aborted&&i(),this.walkCB2(e,t,new rs(this.opts),i)}walkCB2(e,t,i,n){if(this.#o(e))return n();if(this.signal?.aborted&&n(),this.paused){this.onResume(()=>this.walkCB2(e,t,i,n));return}i.processPatterns(e,t);let o=1,s=()=>{--o===0&&n()};for(let[u,f,c]of i.matches.entries())this.#i(u)||(o++,this.match(u,f,c).then(()=>s()));for(let u of i.subwalkTargets()){if(this.maxDepth!==1/0&&u.depth()>=this.maxDepth)continue;o++;let f=u.readdirCached();u.calledReaddir()?this.walkCB3(u,f,i,s):u.readdirCB((c,p)=>this.walkCB3(u,p,i,s),!0)}s()}walkCB3(e,t,i,n){i=i.filterEntries(e,t);let o=1,s=()=>{--o===0&&n()};for(let[u,f,c]of i.matches.entries())this.#i(u)||(o++,this.match(u,f,c).then(()=>s()));for(let[u,f]of i.subwalks.entries())o++,this.walkCB2(u,f,i.child(),s);s()}walkCBSync(e,t,i){this.signal?.aborted&&i(),this.walkCB2Sync(e,t,new rs(this.opts),i)}walkCB2Sync(e,t,i,n){if(this.#o(e))return n();if(this.signal?.aborted&&n(),this.paused){this.onResume(()=>this.walkCB2Sync(e,t,i,n));return}i.processPatterns(e,t);let o=1,s=()=>{--o===0&&n()};for(let[u,f,c]of i.matches.entries())this.#i(u)||this.matchSync(u,f,c);for(let u of i.subwalkTargets()){if(this.maxDepth!==1/0&&u.depth()>=this.maxDepth)continue;o++;let f=u.readdirSync();this.walkCB3Sync(u,f,i,s)}s()}walkCB3Sync(e,t,i,n){i=i.filterEntries(e,t);let o=1,s=()=>{--o===0&&n()};for(let[u,f,c]of i.matches.entries())this.#i(u)||this.matchSync(u,f,c);for(let[u,f]of i.subwalks.entries())o++,this.walkCB2Sync(u,f,i.child(),s);s()}},is=class extends ea{matches=new Set;constructor(e,t,i){super(e,t,i)}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((e,t)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?t(this.signal.reason):e(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}},ns=class extends ea{results;constructor(e,t,i){super(e,t,i),this.results=new Qr({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};var dO=typeof z=="object"&&z&&typeof z.platform=="string"?z.platform:"linux",or=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,t){if(!t)throw new TypeError("glob options required");if(this.withFileTypes=!!t.withFileTypes,this.signal=t.signal,this.follow=!!t.follow,this.dot=!!t.dot,this.dotRelative=!!t.dotRelative,this.nodir=!!t.nodir,this.mark=!!t.mark,t.cwd?(t.cwd instanceof URL||t.cwd.startsWith("file://"))&&(t.cwd=Hr(t.cwd)):this.cwd="",this.cwd=t.cwd||"",this.root=t.root,this.magicalBraces=!!t.magicalBraces,this.nobrace=!!t.nobrace,this.noext=!!t.noext,this.realpath=!!t.realpath,this.absolute=t.absolute,this.includeChildMatches=t.includeChildMatches!==!1,this.noglobstar=!!t.noglobstar,this.matchBase=!!t.matchBase,this.maxDepth=typeof t.maxDepth=="number"?t.maxDepth:1/0,this.stat=!!t.stat,this.ignore=t.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(f=>f.replace(/\\/g,"/"))),this.matchBase){if(t.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(f=>f.includes("/")?f:`./**/${f}`)}if(this.pattern=e,this.platform=t.platform||dO,this.opts={...t,platform:this.platform},t.scurry){if(this.scurry=t.scurry,t.nocase!==void 0&&t.nocase!==t.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let f=t.platform==="win32"?rn:t.platform==="darwin"?ts:t.platform?nn:qg;this.scurry=new f(this.cwd,{nocase:t.nocase,fs:t.fs})}this.nocase=this.scurry.nocase;let i=this.platform==="darwin"||this.platform==="win32",n={...t,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:i,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},o=this.pattern.map(f=>new Mt(f,n)),[s,u]=o.reduce((f,c)=>(f[0].push(...c.set),f[1].push(...c.globParts),f),[[],[]]);this.patterns=s.map((f,c)=>{let p=u[c];if(!p)throw new Error("invalid pattern object");return new sn(f,p,0,this.platform)})}async walk(){return[...await new is(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new is(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new ns(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new ns(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};L();F();N();var Il=(r,e={})=>{Array.isArray(r)||(r=[r]);for(let t of r)if(new Mt(t,e).hasMagic())return!0;return!1};function ta(r,e={}){return new or(r,e).streamSync()}function zg(r,e={}){return new or(r,e).stream()}function Vg(r,e={}){return new or(r,e).walkSync()}async function $g(r,e={}){return new or(r,e).walk()}function ra(r,e={}){return new or(r,e).iterateSync()}function Gg(r,e={}){return new or(r,e).iterate()}var yO=ta,gO=Object.assign(zg,{sync:ta}),mO=ra,vO=Object.assign(Gg,{sync:ra}),ia=Object.assign(Vg,{stream:ta,iterate:ra}),Wg=Object.assign($g,{glob:$g,globSync:Vg,sync:ia,globStream:zg,stream:gO,globStreamSync:ta,streamSync:yO,globIterate:Gg,iterate:vO,globIterateSync:ra,iterateSync:mO,Glob:or,hasMagic:Il,escape:Qi,unescape:ir});Wg.glob=Wg;Or();L();F();N();var Ze=Ma(yv(),1);var SM=Ze.default.stringify,EM=Ze.default.fromJSON,_M=Ze.default.plugin,gv=Ze.default.parse,OM=Ze.default.list,AM=Ze.default.document,TM=Ze.default.comment,RM=Ze.default.atRule,xM=Ze.default.rule,IM=Ze.default.decl,mv=Ze.default.root,kM=Ze.default.CssSyntaxError,PM=Ze.default.Declaration,CM=Ze.default.Container,BM=Ze.default.Processor,LM=Ze.default.Document,NM=Ze.default.Comment,FM=Ze.default.Warning,DM=Ze.default.AtRule,MM=Ze.default.Result,UM=Ze.default.Input,jM=Ze.default.Rule,qM=Ze.default.Root,$M=Ze.default.Node;var kw=Ma(Ow());Nn();function jt(r,e){e&&e.forEach(r.add,r)}var yn=class r{constructor(e){this.undetermined=new Set,this.attrNames=new Set,this.attrValues=new Set,this.classes=new Set,this.ids=new Set,this.tags=new Set,this.merge(e)}merge(e){return Array.isArray(e)?jt(this.undetermined,e):e instanceof r?(jt(this.undetermined,e.undetermined),jt(this.attrNames,e.attrNames),jt(this.attrValues,e.attrValues),jt(this.classes,e.classes),jt(this.ids,e.ids),jt(this.tags,e.tags)):(jt(this.undetermined,e.undetermined),e.attributes&&(jt(this.attrNames,e.attributes.names),jt(this.attrValues,e.attributes.values)),jt(this.classes,e.classes),jt(this.ids,e.ids),jt(this.tags,e.tags)),this}hasAttrName(e){return this.attrNames.has(e)||this.undetermined.has(e)}someAttrValue(e){for(let t of this.attrValues)if(e(t))return!0;for(let t of this.undetermined)if(e(t))return!0;return!1}hasAttrPrefix(e){return this.someAttrValue(t=>t.startsWith(e))}hasAttrSuffix(e){return this.someAttrValue(t=>t.endsWith(e))}hasAttrSubstr(e){return e.trim().split(" ").every(t=>this.someAttrValue(i=>i.includes(t)))}hasAttrValue(e){return this.attrValues.has(e)||this.undetermined.has(e)}hasClass(e){return this.classes.has(e)||this.undetermined.has(e)}hasId(e){return this.ids.has(e)||this.undetermined.has(e)}hasTag(e){return this.tags.has(e)||this.undetermined.has(e)}},Aw=["*",":root",":after",":before"],ki={css:[],content:[],defaultExtractor:r=>r.match(/[A-Za-z0-9_-]+/g)||[],extractors:[],fontFace:!1,keyframes:!1,rejected:!1,rejectedCss:!1,sourceMap:!1,stdin:!1,stdout:!1,variables:!1,safelist:{standard:[],deep:[],greedy:[],variables:[],keyframes:[]},blocklist:[],skippedContentGlobs:[],dynamicAttributes:[]},Pa=class{constructor(e){this.nodes=[],this.isUsed=!1,this.value=e}},Qf=class{constructor(){this.nodes=new Map,this.usedVariables=new Set,this.safelist=[]}addVariable(e){let{prop:t}=e;if(this.nodes.has(t)){let i=new Pa(e),n=this.nodes.get(t)||[];this.nodes.set(t,[...n,i])}else{let i=new Pa(e);this.nodes.set(t,[i])}}addVariableUsage(e,t){let{prop:i}=e,n=this.nodes.get(i);for(let o of t){let s=o[1];if(this.nodes.has(s)){let u=this.nodes.get(s);n?.forEach(f=>{u?.forEach(c=>f.nodes.push(c))})}}}addVariableUsageInProperties(e){for(let t of e){let i=t[1];this.usedVariables.add(i)}}setAsUsed(e){let t=this.nodes.get(e);if(t){let i=[...t];for(;i.length!==0;){let n=i.pop();n&&!n.isUsed&&(n.isUsed=!0,i.push(...n.nodes))}}}removeUnused(){for(let e of this.usedVariables){let t=this.nodes.get(e);if(t)for(let i of t){let n=i.value.value.matchAll(/var\((.+?)[,)]/g);for(let o of n)this.usedVariables.has(o[1])||this.usedVariables.add(o[1])}}for(let e of this.usedVariables)this.setAsUsed(e);for(let[e,t]of this.nodes)for(let i of t)i.isUsed||this.isVariablesSafelisted(e)||i.value.remove()}isVariablesSafelisted(e){return this.safelist.some(t=>typeof t=="string"?t===e:t.test(e))}},Kf={access:zi(nl),readFile:zi(ul)};function Ba(r=[]){return Array.isArray(r)?{...ki.safelist,standard:r}:{...ki.safelist,...r}}async function Lx(r="purgecss.config.js"){let e;try{e=await import(Sn(z.cwd(),r))}catch(t){throw t instanceof Error?new Error(`Error loading the config file ${t.message}`):new Error}return{...ki,...e,safelist:Ba(e.safelist)}}async function Tw(r,e){return new yn(await e(r))}function Jf(r,e){switch(e){case"next":return r.text.includes("purgecss ignore");case"start":return r.text.includes("purgecss start ignore");case"end":return r.text.includes("purgecss end ignore")}}function Xf(...r){let e=new yn([]);return r.forEach(e.merge,e),e}function Rw(r){return r.replace(/(^["'])|(["']$)/g,"")}function Nx(r,e){if(!e.hasAttrName(r.attribute))return!1;if(r.value===void 0)return!0;switch(r.operator){case"$=":return e.hasAttrSuffix(r.value);case"~=":case"*=":return e.hasAttrSubstr(r.value);case"=":return e.hasAttrValue(r.value);case"|=":case"^=":return e.hasAttrPrefix(r.value);default:return!0}}function Fx(r,e){return e.hasId(r.value)}function Dx(r,e){return e.hasTag(r.value)}function xw(r){return r?.type==="atrule"}function Iw(r){return r?.type==="rule"}var Ca=class{constructor(){this.ignore=!1,this.atRules={fontFace:[],keyframes:[]},this.usedAnimations=new Set,this.usedFontFaces=new Set,this.selectorsRemoved=new Set,this.removedNodes=[],this.variablesStructure=new Qf,this.options=ki}collectDeclarationsData(e){let{prop:t,value:i}=e;if(this.options.variables){let n=i.matchAll(/var\((.+?)[,)]/g);t.startsWith("--")?(this.variablesStructure.addVariable(e),this.variablesStructure.addVariableUsage(e,n)):this.variablesStructure.addVariableUsageInProperties(n)}if(!this.options.keyframes||t!=="animation"&&t!=="animation-name"){if(this.options.fontFace&&t==="font-family")for(let n of i.split(",")){let o=Rw(n.trim());this.usedFontFaces.add(o)}}else for(let n of i.split(/[\s,]+/))this.usedAnimations.add(n)}getFileExtractor(e,t){let i=t.find(n=>n.extensions.find(o=>e.endsWith(o)));return i===void 0?this.options.defaultExtractor:i.extractor}async extractSelectorsFromFiles(e,t){let i=new yn([]),n=[];for(let o of e)try{await Kf.access(o,cl.F_OK),n.push(o)}catch{n.push(...ia(o,{nodir:!0,ignore:this.options.skippedContentGlobs.map(u=>u.replace(/^\.\//,""))}))}e.length>0&&n.length===0&&console.warn("No files found from the passed PurgeCSS option 'content'.");for(let o of n){let s=await Kf.readFile(o,"utf-8"),u=this.getFileExtractor(o,t),f=await Tw(s,u);i.merge(f)}return i}async extractSelectorsFromString(e,t){let i=new yn([]);for(let{raw:n,extension:o}of e){let s=this.getFileExtractor(`.${o}`,t),u=await Tw(n,s);i.merge(u)}return i}evaluateAtRule(e){if(this.options.keyframes&&e.name.endsWith("keyframes"))this.atRules.keyframes.push(e);else if(this.options.fontFace&&e.name==="font-face"&&e.nodes)for(let t of e.nodes)t.type==="decl"&&t.prop==="font-family"&&this.atRules.fontFace.push({name:Rw(t.value),node:e})}evaluateRule(e,t){if(this.ignore)return;let i=e.prev();if(function(s){return s?.type==="comment"}(i)&&Jf(i,"next"))return void i.remove();if(e.parent&&xw(e.parent)&&e.parent.name.endsWith("keyframes")||!Iw(e)||function(s){let u=!1;return s.walkComments(f=>{f&&f.type==="comment"&&f.text.includes("purgecss ignore current")&&(u=!0,f.remove())}),u}(e))return;let n=[];if(e.selector=(0,kw.default)(s=>{s.walk(u=>{u.type==="selector"&&(this.shouldKeepSelector(u,t)||(this.options.rejected&&this.selectorsRemoved.add(u.toString()),this.options.rejectedCss&&n.push(u.toString()),u.remove()))}),s.walk(u=>{u.type==="selector"&&u.toString()&&/(:where)|(:is)/.test(u.toString())&&u.walk(f=>{f.type==="pseudo"&&(f.value!==":where"&&f.value!==":is"||f.nodes.length===0&&u.remove())})})}).processSync(e.selector),e.selector&&e.nodes!==void 0)for(let s of e.nodes)s.type==="decl"&&this.collectDeclarationsData(s);let o=e.parent;if(e.selector||e.remove(),function(s){return!!(Iw(s)&&!s.selector||s?.nodes&&!s.nodes.length||xw(s)&&(!s.nodes&&!s.params||!s.params&&s.nodes&&!s.nodes.length))}(o)&&o?.remove(),this.options.rejectedCss&&n.length>0){let s=e.clone(),u=o?.clone().removeAll().append(s);s.selectors=n;let f=u||s;this.removedNodes.push(f)}}async getPurgedCSS(e,t){var i;let n=[],o=[];for(let s of e)typeof s=="string"?o.push(...ia(s,{nodir:!0,ignore:this.options.skippedContentGlobs})):o.push(s);for(let s of o){let u=typeof s=="string"?this.options.stdin?s:await Kf.readFile(s,"utf-8"):s.raw,f=typeof s=="string"&&!this.options.stdin,c=gv(u,{from:f?s:void 0});this.walkThroughCSS(c,t),this.options.fontFace&&this.removeUnusedFontFaces(),this.options.keyframes&&this.removeUnusedKeyframes(),this.options.variables&&this.removeUnusedCSSVariables();let p=c.toResult({map:this.options.sourceMap,to:typeof this.options.sourceMap=="object"?this.options.sourceMap.to:void 0}),d={css:p.toString(),file:typeof s=="string"?s:s.name};this.options.sourceMap&&(d.sourceMap=(i=p.map)===null||i===void 0?void 0:i.toString()),this.options.rejected&&(d.rejected=Array.from(this.selectorsRemoved),this.selectorsRemoved.clear()),this.options.rejectedCss&&(d.rejectedCss=mv({nodes:this.removedNodes}).toString()),n.push(d)}return n}isKeyframesSafelisted(e){return this.options.safelist.keyframes.some(t=>typeof t=="string"?t===e:t.test(e))}isSelectorBlocklisted(e){return this.options.blocklist.some(t=>typeof t=="string"?t===e:t.test(e))}isSelectorSafelisted(e){let t=this.options.safelist.standard.some(n=>typeof n=="string"?n===e:n.test(e)),i=/^::.*/.test(e);return Aw.includes(e)||i||t}isSelectorSafelistedDeep(e){return this.options.safelist.deep.some(t=>t.test(e))}isSelectorSafelistedGreedy(e){return this.options.safelist.greedy.some(t=>t.test(e))}async purge(e){this.options=typeof e!="object"?await Lx(e):{...ki,...e,safelist:Ba(e.safelist)};let{content:t,css:i,extractors:n,safelist:o}=this.options;this.options.variables&&(this.variablesStructure.safelist=o.variables||[]);let s=t.filter(p=>typeof p=="string"),u=t.filter(p=>typeof p=="object"),f=await this.extractSelectorsFromFiles(s,n),c=await this.extractSelectorsFromString(u,n);return this.getPurgedCSS(i,Xf(f,c))}removeUnusedCSSVariables(){this.variablesStructure.removeUnused()}removeUnusedFontFaces(){for(let{name:e,node:t}of this.atRules.fontFace)this.usedFontFaces.has(e)||t.remove()}removeUnusedKeyframes(){for(let e of this.atRules.keyframes)this.usedAnimations.has(e.params)||this.isKeyframesSafelisted(e.params)||e.remove()}getSelectorValue(e){return e.type==="attribute"&&e.attribute||e.value}shouldKeepSelector(e,t){if(function(o){return o.parent&&o.parent.type==="pseudo"&&o.parent.value.startsWith(":")||!1}(e)&&!function(o){return o.parent&&o.parent.type==="pseudo"&&(o.parent.value===":where"||o.parent.value===":is")||!1}(e)||this.options.safelist.greedy.length>0&&e.nodes.map(this.getSelectorValue).some(o=>o&&this.isSelectorSafelistedGreedy(o)))return!0;let i=!1;for(let o of e.nodes){let s=this.getSelectorValue(o);if(s&&this.isSelectorSafelistedDeep(s))return!0;if(s&&(Aw.includes(s)||this.isSelectorSafelisted(s)))i=!0;else{if(s&&this.isSelectorBlocklisted(s))return!1;switch(o.type){case"attribute":i=!![...this.options.dynamicAttributes,"value","checked","selected","open"].includes(o.attribute)||Nx(o,t);break;case"class":n=o,i=t.hasClass(n.value);break;case"id":i=Fx(o,t);break;case"tag":i=Dx(o,t);break;default:continue}if(!i)return!1}}var n;return i}walkThroughCSS(e,t){e.walk(i=>i.type==="rule"?this.evaluateRule(i,t):i.type==="atrule"?this.evaluateAtRule(i):void(i.type==="comment"&&(Jf(i,"start")?(this.ignore=!0,i.remove()):Jf(i,"end")&&(this.ignore=!1,i.remove()))))}};var Zf=function(r){if(r===void 0)throw new Error("PurgeCSS plugin does not have the correct options");return{postcssPlugin:"postcss-purgecss",OnceExit:(e,t)=>async function(i,n,{result:o}){let s=new Ca,u;try{u=await import(Sn(z.cwd(),"purgecss.config.js"))}catch{}let f={...ki,...u,...i,safelist:Ba(i?.safelist||u?.safelist)};i&&typeof i.contentFunction=="function"&&(f.content=i.contentFunction(n.source&&n.source.input.file||"")),s.options=f,f.variables&&(s.variablesStructure.safelist=f.safelist.variables||[]);let{content:c,extractors:p}=f,d=c.filter(E=>typeof E=="string"),v=c.filter(E=>typeof E=="object"),m=await s.extractSelectorsFromFiles(d,p),g=await s.extractSelectorsFromString(v,p),b=Xf(m,g);s.walkThroughCSS(n,b),s.options.fontFace&&s.removeUnusedFontFaces(),s.options.keyframes&&s.removeUnusedKeyframes(),s.options.variables&&s.removeUnusedCSSVariables(),s.options.rejected&&s.selectorsRemoved.size>0&&(o.messages.push({type:"purgecss",plugin:"postcss-purgecss",text:`purging ${s.selectorsRemoved.size} selectors:
|
|
95
95
|
${Array.from(s.selectorsRemoved).map(E=>E.trim()).join(`
|
|
96
96
|
`)}`}),s.selectorsRemoved.clear())}(r,e,t)}};Zf.postcss=!0;return ri(Mx);})();
|
|
97
97
|
/*! Bundled license information:
|