@ohos-ports/parcel-resolver 0.0.0-stage → 0.14.2-beta.1
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/LICENSE +21 -0
- package/dist/index.js +1 -0
- package/dist/polyfills/assert.js +11 -0
- package/dist/polyfills/buffer.js +14 -0
- package/dist/polyfills/console.js +11 -0
- package/dist/polyfills/constants.js +1 -0
- package/dist/polyfills/crc-32/crc32c.js +6 -0
- package/dist/polyfills/crc-32.js +6 -0
- package/dist/polyfills/crypto.js +17 -0
- package/dist/polyfills/domain.js +1 -0
- package/dist/polyfills/events.js +1 -0
- package/dist/polyfills/http.js +20 -0
- package/dist/polyfills/https.js +20 -0
- package/dist/polyfills/os.js +1 -0
- package/dist/polyfills/path.js +1 -0
- package/dist/polyfills/process.js +1 -0
- package/dist/polyfills/punycode.js +1 -0
- package/dist/polyfills/querystring.js +1 -0
- package/dist/polyfills/react-refresh/runtime.js +14 -0
- package/dist/polyfills/react-refresh.js +14 -0
- package/dist/polyfills/stream.js +17 -0
- package/dist/polyfills/string_decoder.js +17 -0
- package/dist/polyfills/sys.js +1 -0
- package/dist/polyfills/timers.js +1 -0
- package/dist/polyfills/tty.js +1 -0
- package/dist/polyfills/url.js +6 -0
- package/dist/polyfills/util.js +1 -0
- package/dist/polyfills/vm.js +1 -0
- package/dist/polyfills/zlib.js +25 -0
- package/package.json +68 -4
- package/README.md +0 -3
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var yd=Object.create;var yn=Object.defineProperty;var gd=Object.getOwnPropertyDescriptor;var _d=Object.getOwnPropertyNames;var vd=Object.getPrototypeOf,bd=Object.prototype.hasOwnProperty;var _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wd=(e,t)=>{for(var r in t)yn(e,r,{get:t[r],enumerable:!0})},dn=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of _d(t))!bd.call(e,i)&&i!==r&&yn(e,i,{get:()=>t[i],enumerable:!(n=gd(t,i))||n.enumerable});return e},gr=(e,t,r)=>(dn(e,t,"default"),r&&dn(r,t,"default")),cf=(e,t,r)=>(r=e!=null?yd(vd(e)):{},dn(t||!e||!e.__esModule?yn(r,"default",{value:e,enumerable:!0}):r,e)),Ed=e=>dn(yn({},"__esModule",{value:!0}),e);var df=_(gn=>{"use strict";gn.byteLength=Sd;gn.toByteArray=xd;gn.fromByteArray=Td;var Se=[],fe=[],md=typeof Uint8Array<"u"?Uint8Array:Array,Gi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(tt=0,hf=Gi.length;tt<hf;++tt)Se[tt]=Gi[tt],fe[Gi.charCodeAt(tt)]=tt;var tt,hf;fe[45]=62;fe[95]=63;function pf(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function Sd(e){var t=pf(e),r=t[0],n=t[1];return(r+n)*3/4-n}function Ad(e,t,r){return(t+r)*3/4-r}function xd(e){var t,r=pf(e),n=r[0],i=r[1],a=new md(Ad(e,n,i)),o=0,f=i>0?n-4:n,s;for(s=0;s<f;s+=4)t=fe[e.charCodeAt(s)]<<18|fe[e.charCodeAt(s+1)]<<12|fe[e.charCodeAt(s+2)]<<6|fe[e.charCodeAt(s+3)],a[o++]=t>>16&255,a[o++]=t>>8&255,a[o++]=t&255;return i===2&&(t=fe[e.charCodeAt(s)]<<2|fe[e.charCodeAt(s+1)]>>4,a[o++]=t&255),i===1&&(t=fe[e.charCodeAt(s)]<<10|fe[e.charCodeAt(s+1)]<<4|fe[e.charCodeAt(s+2)]>>2,a[o++]=t>>8&255,a[o++]=t&255),a}function Rd(e){return Se[e>>18&63]+Se[e>>12&63]+Se[e>>6&63]+Se[e&63]}function Od(e,t,r){for(var n,i=[],a=t;a<r;a+=3)n=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(Rd(n));return i.join("")}function Td(e){for(var t,r=e.length,n=r%3,i=[],a=16383,o=0,f=r-n;o<f;o+=a)i.push(Od(e,o,o+a>f?f:o+a));return n===1?(t=e[r-1],i.push(Se[t>>2]+Se[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Se[t>>10]+Se[t>>4&63]+Se[t<<2&63]+"=")),i.join("")}});var yf=_($i=>{$i.read=function(e,t,r,n,i){var a,o,f=i*8-n-1,s=(1<<f)-1,u=s>>1,l=-7,c=r?i-1:0,p=r?-1:1,h=e[t+c];for(c+=p,a=h&(1<<-l)-1,h>>=-l,l+=f;l>0;a=a*256+e[t+c],c+=p,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=n;l>0;o=o*256+e[t+c],c+=p,l-=8);if(a===0)a=1-u;else{if(a===s)return o?NaN:(h?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-u}return(h?-1:1)*o*Math.pow(2,a-n)};$i.write=function(e,t,r,n,i,a){var o,f,s,u=a*8-i-1,l=(1<<u)-1,c=l>>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:a-1,y=n?1:-1,g=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),o+c>=1?t+=p/s:t+=p*Math.pow(2,1-c),t*s>=2&&(o++,s/=2),o+c>=l?(f=0,o=l):o+c>=1?(f=(t*s-1)*Math.pow(2,i),o=o+c):(f=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+h]=f&255,h+=y,f/=256,i-=8);for(o=o<<i|f,u+=i;u>0;e[r+h]=o&255,h+=y,o/=256,u-=8);e[r+h-y]|=g*128}});var nt=_(Mt=>{"use strict";var Hi=df(),jt=yf(),gf=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Mt.Buffer=d;Mt.SlowBuffer=Ld;Mt.INSPECT_MAX_BYTES=50;var _n=2147483647;Mt.kMaxLength=_n;d.TYPED_ARRAY_SUPPORT=Id();!d.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 Id(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(e){return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}});Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}});function Be(e){if(e>_n)throw new RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,d.prototype),t}function d(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Xi(e)}return wf(e,t,r)}d.poolSize=8192;function wf(e,t,r){if(typeof e=="string")return Nd(e,t);if(ArrayBuffer.isView(e))return Fd(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Ae(e,ArrayBuffer)||e&&Ae(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ae(e,SharedArrayBuffer)||e&&Ae(e.buffer,SharedArrayBuffer)))return Yi(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return d.from(n,t,r);let i=Bd(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return d.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}d.from=function(e,t,r){return wf(e,t,r)};Object.setPrototypeOf(d.prototype,Uint8Array.prototype);Object.setPrototypeOf(d,Uint8Array);function Ef(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Pd(e,t,r){return Ef(e),e<=0?Be(e):t!==void 0?typeof r=="string"?Be(e).fill(t,r):Be(e).fill(t):Be(e)}d.alloc=function(e,t,r){return Pd(e,t,r)};function Xi(e){return Ef(e),Be(e<0?0:Ji(e)|0)}d.allocUnsafe=function(e){return Xi(e)};d.allocUnsafeSlow=function(e){return Xi(e)};function Nd(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!d.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let r=mf(e,t)|0,n=Be(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function Vi(e){let t=e.length<0?0:Ji(e.length)|0,r=Be(t);for(let n=0;n<t;n+=1)r[n]=e[n]&255;return r}function Fd(e){if(Ae(e,Uint8Array)){let t=new Uint8Array(e);return Yi(t.buffer,t.byteOffset,t.byteLength)}return Vi(e)}function Yi(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,d.prototype),n}function Bd(e){if(d.isBuffer(e)){let t=Ji(e.length)|0,r=Be(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||ea(e.length)?Be(0):Vi(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Vi(e.data)}function Ji(e){if(e>=_n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+_n.toString(16)+" bytes");return e|0}function Ld(e){return+e!=e&&(e=0),d.alloc(+e)}d.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==d.prototype};d.compare=function(t,r){if(Ae(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),Ae(r,Uint8Array)&&(r=d.from(r,r.offset,r.byteLength)),!d.isBuffer(t)||!d.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;let n=t.length,i=r.length;for(let a=0,o=Math.min(n,i);a<o;++a)if(t[a]!==r[a]){n=t[a],i=r[a];break}return n<i?-1:i<n?1:0};d.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};d.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return d.alloc(0);let n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;let i=d.allocUnsafe(r),a=0;for(n=0;n<t.length;++n){let o=t[n];if(Ae(o,Uint8Array))a+o.length>i.length?(d.isBuffer(o)||(o=d.from(o)),o.copy(i,a)):Uint8Array.prototype.set.call(i,o,a);else if(d.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function mf(e,t){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Ae(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Ki(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Nf(e).length;default:if(i)return n?-1:Ki(e).length;t=(""+t).toLowerCase(),i=!0}}d.byteLength=mf;function kd(e,t,r){let n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Gd(this,t,r);case"utf8":case"utf-8":return Af(this,t,r);case"ascii":return Zd(this,t,r);case"latin1":case"binary":return Wd(this,t,r);case"base64":return Cd(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $d(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}d.prototype._isBuffer=!0;function rt(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}d.prototype.swap16=function(){let t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;r<t;r+=2)rt(this,r,r+1);return this};d.prototype.swap32=function(){let t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let r=0;r<t;r+=4)rt(this,r,r+3),rt(this,r+1,r+2);return this};d.prototype.swap64=function(){let t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let r=0;r<t;r+=8)rt(this,r,r+7),rt(this,r+1,r+6),rt(this,r+2,r+5),rt(this,r+3,r+4);return this};d.prototype.toString=function(){let t=this.length;return t===0?"":arguments.length===0?Af(this,0,t):kd.apply(this,arguments)};d.prototype.toLocaleString=d.prototype.toString;d.prototype.equals=function(t){if(!d.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:d.compare(this,t)===0};d.prototype.inspect=function(){let t="",r=Mt.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};gf&&(d.prototype[gf]=d.prototype.inspect);d.prototype.compare=function(t,r,n,i,a){if(Ae(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>t.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===t)return 0;let o=a-i,f=n-r,s=Math.min(o,f),u=this.slice(i,a),l=t.slice(r,n);for(let c=0;c<s;++c)if(u[c]!==l[c]){o=u[c],f=l[c];break}return o<f?-1:f<o?1:0};function Sf(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ea(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=d.from(t,n)),d.isBuffer(t))return t.length===0?-1:_f(e,t,r,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):_f(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function _f(e,t,r,n,i){let a=1,o=e.length,f=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,o/=2,f/=2,r/=2}function s(l,c){return a===1?l[c]:l.readUInt16BE(c*a)}let u;if(i){let l=-1;for(u=r;u<o;u++)if(s(e,u)===s(t,l===-1?0:u-l)){if(l===-1&&(l=u),u-l+1===f)return l*a}else l!==-1&&(u-=u-l),l=-1}else for(r+f>o&&(r=o-f),u=r;u>=0;u--){let l=!0;for(let c=0;c<f;c++)if(s(e,u+c)!==s(t,c)){l=!1;break}if(l)return u}return-1}d.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};d.prototype.indexOf=function(t,r,n){return Sf(this,t,r,n,!0)};d.prototype.lastIndexOf=function(t,r,n){return Sf(this,t,r,n,!1)};function jd(e,t,r,n){r=Number(r)||0;let i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;let a=t.length;n>a/2&&(n=a/2);let o;for(o=0;o<n;++o){let f=parseInt(t.substr(o*2,2),16);if(ea(f))return o;e[r+o]=f}return o}function Dd(e,t,r,n){return vn(Ki(t,e.length-r),e,r,n)}function Md(e,t,r,n){return vn(Kd(t),e,r,n)}function Ud(e,t,r,n){return vn(Nf(t),e,r,n)}function qd(e,t,r,n){return vn(Xd(t,e.length-r),e,r,n)}d.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let a=this.length-r;if((n===void 0||n>a)&&(n=a),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let o=!1;for(;;)switch(i){case"hex":return jd(this,t,r,n);case"utf8":case"utf-8":return Dd(this,t,r,n);case"ascii":case"latin1":case"binary":return Md(this,t,r,n);case"base64":return Ud(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qd(this,t,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Cd(e,t,r){return t===0&&r===e.length?Hi.fromByteArray(e):Hi.fromByteArray(e.slice(t,r))}function Af(e,t,r){r=Math.min(e.length,r);let n=[],i=t;for(;i<r;){let a=e[i],o=null,f=a>239?4:a>223?3:a>191?2:1;if(i+f<=r){let s,u,l,c;switch(f){case 1:a<128&&(o=a);break;case 2:s=e[i+1],(s&192)===128&&(c=(a&31)<<6|s&63,c>127&&(o=c));break;case 3:s=e[i+1],u=e[i+2],(s&192)===128&&(u&192)===128&&(c=(a&15)<<12|(s&63)<<6|u&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:s=e[i+1],u=e[i+2],l=e[i+3],(s&192)===128&&(u&192)===128&&(l&192)===128&&(c=(a&15)<<18|(s&63)<<12|(u&63)<<6|l&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,f=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=f}return zd(n)}var vf=4096;function zd(e){let t=e.length;if(t<=vf)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=vf));return r}function Zd(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function Wd(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function Gd(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let a=t;a<r;++a)i+=Jd[e[a]];return i}function $d(e,t,r){let n=e.slice(t,r),i="";for(let a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}d.prototype.slice=function(t,r){let n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);let i=this.subarray(t,r);return Object.setPrototypeOf(i,d.prototype),i};function H(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||H(t,r,this.length);let i=this[t],a=1,o=0;for(;++o<r&&(a*=256);)i+=this[t+o]*a;return i};d.prototype.readUintBE=d.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||H(t,r,this.length);let i=this[t+--r],a=1;for(;r>0&&(a*=256);)i+=this[t+--r]*a;return i};d.prototype.readUint8=d.prototype.readUInt8=function(t,r){return t=t>>>0,r||H(t,1,this.length),this[t]};d.prototype.readUint16LE=d.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||H(t,2,this.length),this[t]|this[t+1]<<8};d.prototype.readUint16BE=d.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||H(t,2,this.length),this[t]<<8|this[t+1]};d.prototype.readUint32LE=d.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||H(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};d.prototype.readUint32BE=d.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||H(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};d.prototype.readBigUInt64LE=De(function(t){t=t>>>0,Dt(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&_r(t,this.length-8);let i=r+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,a=this[++t]+this[++t]*2**8+this[++t]*2**16+n*2**24;return BigInt(i)+(BigInt(a)<<BigInt(32))});d.prototype.readBigUInt64BE=De(function(t){t=t>>>0,Dt(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&_r(t,this.length-8);let i=r*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],a=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+n;return(BigInt(i)<<BigInt(32))+BigInt(a)});d.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||H(t,r,this.length);let i=this[t],a=1,o=0;for(;++o<r&&(a*=256);)i+=this[t+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};d.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||H(t,r,this.length);let i=r,a=1,o=this[t+--i];for(;i>0&&(a*=256);)o+=this[t+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};d.prototype.readInt8=function(t,r){return t=t>>>0,r||H(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};d.prototype.readInt16LE=function(t,r){t=t>>>0,r||H(t,2,this.length);let n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};d.prototype.readInt16BE=function(t,r){t=t>>>0,r||H(t,2,this.length);let n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};d.prototype.readInt32LE=function(t,r){return t=t>>>0,r||H(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};d.prototype.readInt32BE=function(t,r){return t=t>>>0,r||H(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};d.prototype.readBigInt64LE=De(function(t){t=t>>>0,Dt(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&_r(t,this.length-8);let i=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(n<<24);return(BigInt(i)<<BigInt(32))+BigInt(r+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24)});d.prototype.readBigInt64BE=De(function(t){t=t>>>0,Dt(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&_r(t,this.length-8);let i=(r<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(i)<<BigInt(32))+BigInt(this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+n)});d.prototype.readFloatLE=function(t,r){return t=t>>>0,r||H(t,4,this.length),jt.read(this,t,!0,23,4)};d.prototype.readFloatBE=function(t,r){return t=t>>>0,r||H(t,4,this.length),jt.read(this,t,!1,23,4)};d.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||H(t,8,this.length),jt.read(this,t,!0,52,8)};d.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||H(t,8,this.length),jt.read(this,t,!1,52,8)};function re(e,t,r,n,i,a){if(!d.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){let f=Math.pow(2,8*n)-1;re(this,t,r,n,f,0)}let a=1,o=0;for(this[r]=t&255;++o<n&&(a*=256);)this[r+o]=t/a&255;return r+n};d.prototype.writeUintBE=d.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){let f=Math.pow(2,8*n)-1;re(this,t,r,n,f,0)}let a=n-1,o=1;for(this[r+a]=t&255;--a>=0&&(o*=256);)this[r+a]=t/o&255;return r+n};d.prototype.writeUint8=d.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||re(this,t,r,1,255,0),this[r]=t&255,r+1};d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||re(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||re(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||re(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||re(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function xf(e,t,r,n,i){Pf(t,n,i,e,r,7);let a=Number(t&BigInt(4294967295));e[r++]=a,a=a>>8,e[r++]=a,a=a>>8,e[r++]=a,a=a>>8,e[r++]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=o,o=o>>8,e[r++]=o,o=o>>8,e[r++]=o,o=o>>8,e[r++]=o,r}function Rf(e,t,r,n,i){Pf(t,n,i,e,r,7);let a=Number(t&BigInt(4294967295));e[r+7]=a,a=a>>8,e[r+6]=a,a=a>>8,e[r+5]=a,a=a>>8,e[r+4]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=o,o=o>>8,e[r+2]=o,o=o>>8,e[r+1]=o,o=o>>8,e[r]=o,r+8}d.prototype.writeBigUInt64LE=De(function(t,r=0){return xf(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))});d.prototype.writeBigUInt64BE=De(function(t,r=0){return Rf(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))});d.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){let s=Math.pow(2,8*n-1);re(this,t,r,n,s-1,-s)}let a=0,o=1,f=0;for(this[r]=t&255;++a<n&&(o*=256);)t<0&&f===0&&this[r+a-1]!==0&&(f=1),this[r+a]=(t/o>>0)-f&255;return r+n};d.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){let s=Math.pow(2,8*n-1);re(this,t,r,n,s-1,-s)}let a=n-1,o=1,f=0;for(this[r+a]=t&255;--a>=0&&(o*=256);)t<0&&f===0&&this[r+a+1]!==0&&(f=1),this[r+a]=(t/o>>0)-f&255;return r+n};d.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||re(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};d.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||re(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};d.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||re(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};d.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||re(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};d.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||re(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};d.prototype.writeBigInt64LE=De(function(t,r=0){return xf(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});d.prototype.writeBigInt64BE=De(function(t,r=0){return Rf(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Of(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Tf(e,t,r,n,i){return t=+t,r=r>>>0,i||Of(e,t,r,4,34028234663852886e22,-34028234663852886e22),jt.write(e,t,r,n,23,4),r+4}d.prototype.writeFloatLE=function(t,r,n){return Tf(this,t,r,!0,n)};d.prototype.writeFloatBE=function(t,r,n){return Tf(this,t,r,!1,n)};function If(e,t,r,n,i){return t=+t,r=r>>>0,i||Of(e,t,r,8,17976931348623157e292,-17976931348623157e292),jt.write(e,t,r,n,52,8),r+8}d.prototype.writeDoubleLE=function(t,r,n){return If(this,t,r,!0,n)};d.prototype.writeDoubleBE=function(t,r,n){return If(this,t,r,!1,n)};d.prototype.copy=function(t,r,n,i){if(!d.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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),t.length-r<i-n&&(i=t.length-r+n);let a=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),a};d.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!d.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){let o=t.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(t=o)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);let a;if(typeof t=="number")for(a=r;a<n;++a)this[a]=t;else{let o=d.isBuffer(t)?t:d.from(t,i),f=o.length;if(f===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=o[a%f]}return this};var kt={};function Qi(e,t,r){kt[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(e,"]"),this.stack,delete this.name}get code(){return e}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0})}toString(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}}Qi("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError);Qi("ERR_INVALID_ARG_TYPE",function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)},TypeError);Qi("ERR_OUT_OF_RANGE",function(e,t,r){let n='The value of "'.concat(e,'" is out of range.'),i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=bf(String(r)):typeof r=="bigint"&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=bf(i)),i+="n"),n+=" It must be ".concat(t,". Received ").concat(i),n},RangeError);function bf(e){let t="",r=e.length,n=e[0]==="-"?1:0;for(;r>=n+4;r-=3)t="_".concat(e.slice(r-3,r)).concat(t);return"".concat(e.slice(0,r)).concat(t)}function Hd(e,t,r){Dt(t,"offset"),(e[t]===void 0||e[t+r]===void 0)&&_r(t,e.length-(r+1))}function Pf(e,t,r,n,i,a){if(e>r||e<t){let o=typeof t=="bigint"?"n":"",f;throw a>3?t===0||t===BigInt(0)?f=">= 0".concat(o," and < 2").concat(o," ** ").concat((a+1)*8).concat(o):f=">= -(2".concat(o," ** ").concat((a+1)*8-1).concat(o,") and < 2 ** ")+"".concat((a+1)*8-1).concat(o):f=">= ".concat(t).concat(o," and <= ").concat(r).concat(o),new kt.ERR_OUT_OF_RANGE("value",f,e)}Hd(n,i,a)}function Dt(e,t){if(typeof e!="number")throw new kt.ERR_INVALID_ARG_TYPE(t,"number",e)}function _r(e,t,r){throw Math.floor(e)!==e?(Dt(e,r),new kt.ERR_OUT_OF_RANGE(r||"offset","an integer",e)):t<0?new kt.ERR_BUFFER_OUT_OF_BOUNDS:new kt.ERR_OUT_OF_RANGE(r||"offset",">= ".concat(r?1:0," and <= ").concat(t),e)}var Vd=/[^+/0-9A-Za-z-_]/g;function Yd(e){if(e=e.split("=")[0],e=e.trim().replace(Vd,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ki(e,t){t=t||1/0;let r,n=e.length,i=null,a=[];for(let o=0;o<n;++o){if(r=e.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function Kd(e){let t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Xd(e,t){let r,n,i,a=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Nf(e){return Hi.toByteArray(Yd(e))}function vn(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Ae(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function ea(e){return e!==e}var Jd=function(){let e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){let n=r*16;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function De(e){return typeof BigInt>"u"?Qd:e}function Qd(){throw new Error("BigInt not supported")}});var En=_((em,ta)=>{"use strict";var Ut=typeof Reflect=="object"?Reflect:null,Ff=Ut&&typeof Ut.apply=="function"?Ut.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},bn;Ut&&typeof Ut.ownKeys=="function"?bn=Ut.ownKeys:Object.getOwnPropertySymbols?bn=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:bn=function(t){return Object.getOwnPropertyNames(t)};function ey(e){console&&console.warn&&console.warn(e)}var Lf=Number.isNaN||function(t){return t!==t};function q(){q.init.call(this)}ta.exports=q;ta.exports.once=iy;q.EventEmitter=q;q.prototype._events=void 0;q.prototype._eventsCount=0;q.prototype._maxListeners=void 0;var Bf=10;function wn(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(q,"defaultMaxListeners",{enumerable:!0,get:function(){return Bf},set:function(e){if(typeof e!="number"||e<0||Lf(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");Bf=e}});q.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};q.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||Lf(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function kf(e){return e._maxListeners===void 0?q.defaultMaxListeners:e._maxListeners}q.prototype.getMaxListeners=function(){return kf(this)};q.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var i=t==="error",a=this._events;if(a!==void 0)i=i&&a.error===void 0;else if(!i)return!1;if(i){var o;if(r.length>0&&(o=r[0]),o instanceof Error)throw o;var f=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw f.context=o,f}var s=a[t];if(s===void 0)return!1;if(typeof s=="function")Ff(s,this,r);else for(var u=s.length,l=qf(s,u),n=0;n<u;++n)Ff(l[n],this,r);return!0};function jf(e,t,r,n){var i,a,o;if(wn(r),a=e._events,a===void 0?(a=e._events=Object.create(null),e._eventsCount=0):(a.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),o=a[t]),o===void 0)o=a[t]=r,++e._eventsCount;else if(typeof o=="function"?o=a[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),i=kf(e),i>0&&o.length>i&&!o.warned){o.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=e,f.type=t,f.count=o.length,ey(f)}return e}q.prototype.addListener=function(t,r){return jf(this,t,r,!1)};q.prototype.on=q.prototype.addListener;q.prototype.prependListener=function(t,r){return jf(this,t,r,!0)};function ty(){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 Df(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=ty.bind(n);return i.listener=r,n.wrapFn=i,i}q.prototype.once=function(t,r){return wn(r),this.on(t,Df(this,t,r)),this};q.prototype.prependOnceListener=function(t,r){return wn(r),this.prependListener(t,Df(this,t,r)),this};q.prototype.removeListener=function(t,r){var n,i,a,o,f;if(wn(r),i=this._events,i===void 0)return this;if(n=i[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===r||n[o].listener===r){f=n[o].listener,a=o;break}if(a<0)return this;a===0?n.shift():ry(n,a),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,f||r)}return this};q.prototype.off=q.prototype.removeListener;q.prototype.removeAllListeners=function(t){var r,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var a=Object.keys(n),o;for(i=0;i<a.length;++i)o=a[i],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(i=r.length-1;i>=0;i--)this.removeListener(t,r[i]);return this};function Mf(e,t,r){var n=e._events;if(n===void 0)return[];var i=n[t];return i===void 0?[]:typeof i=="function"?r?[i.listener||i]:[i]:r?ny(i):qf(i,i.length)}q.prototype.listeners=function(t){return Mf(this,t,!0)};q.prototype.rawListeners=function(t){return Mf(this,t,!1)};q.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Uf.call(e,t)};q.prototype.listenerCount=Uf;function Uf(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}q.prototype.eventNames=function(){return this._eventsCount>0?bn(this._events):[]};function qf(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function ry(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function ny(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function iy(e,t){return new Promise(function(r,n){function i(o){e.removeListener(t,a),n(o)}function a(){typeof e.removeListener=="function"&&e.removeListener("error",i),r([].slice.call(arguments))}Cf(e,t,a,{once:!0}),t!=="error"&&ay(e,i,{once:!0})})}function ay(e,t,r){typeof e.on=="function"&&Cf(e,"error",t,r)}function Cf(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function i(a){n.once&&e.removeEventListener(t,i),r(a)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}});var Me=_((tm,ra)=>{typeof Object.create=="function"?ra.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:ra.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var na=_((rm,zf)=>{zf.exports=En().EventEmitter});var ia=_(()=>{});var Vf=_((am,Hf)=>{"use strict";function Zf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Wf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Zf(Object(r),!0).forEach(function(n){oy(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oy(e,t,r){return t=$f(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,$f(n.key),n)}}function uy(e,t,r){return t&&Gf(e.prototype,t),r&&Gf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function $f(e){var t=ly(e,"string");return typeof t=="symbol"?t:String(t)}function ly(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var sy=nt(),mn=sy.Buffer,cy=ia(),aa=cy.inspect,hy=aa&&aa.custom||"inspect";function py(e,t,r){mn.prototype.copy.call(e,t,r)}Hf.exports=function(){function e(){fy(this,e),this.head=null,this.tail=null,this.length=0}return uy(e,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return mn.alloc(0);for(var n=mn.allocUnsafe(r>>>0),i=this.head,a=0;i;)py(i.data,n,a),a+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,a=n.data;for(r-=a.length;n=n.next;){var o=n.data,f=r>o.length?o.length:r;if(f===o.length?a+=o:a+=o.slice(0,r),r-=f,r===0){f===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(f));break}++i}return this.length-=i,a}},{key:"_getBuffer",value:function(r){var n=mn.allocUnsafe(r),i=this.head,a=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var o=i.data,f=r>o.length?o.length:r;if(o.copy(n,n.length-r,0,f),r-=f,r===0){f===o.length?(++a,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(f));break}++a}return this.length-=a,n}},{key:hy,value:function(r,n){return aa(this,Wf(Wf({},n),{},{depth:0,customInspect:!1}))}}]),e}()});var fa=_((om,Kf)=>{"use strict";function dy(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(oa,this,e)):process.nextTick(oa,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?r._writableState?r._writableState.errorEmitted?process.nextTick(Sn,r):(r._writableState.errorEmitted=!0,process.nextTick(Yf,r,a)):process.nextTick(Yf,r,a):t?(process.nextTick(Sn,r),t(a)):process.nextTick(Sn,r)}),this)}function Yf(e,t){oa(e,t),Sn(e)}function Sn(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function yy(){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 oa(e,t){e.emit("error",t)}function gy(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}Kf.exports={destroy:dy,undestroy:yy,errorOrDestroy:gy}});var it=_((fm,Qf)=>{"use strict";function _y(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Jf={};function ue(e,t,r){r||(r=Error);function n(a,o,f){return typeof t=="string"?t:t(a,o,f)}var i=function(a){_y(o,a);function o(f,s,u){return a.call(this,n(f,s,u))||this}return o}(r);i.prototype.name=r.name,i.prototype.code=e,Jf[e]=i}function Xf(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(n){return String(n)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:r===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function vy(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function by(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function wy(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}ue("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);ue("ERR_INVALID_ARG_TYPE",function(e,t,r){var n;typeof t=="string"&&vy(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var i;if(by(e," argument"))i="The ".concat(e," ").concat(n," ").concat(Xf(t,"type"));else{var a=wy(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(a," ").concat(n," ").concat(Xf(t,"type"))}return i+=". Received type ".concat(typeof r),i},TypeError);ue("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");ue("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});ue("ERR_STREAM_PREMATURE_CLOSE","Premature close");ue("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});ue("ERR_MULTIPLE_CALLBACK","Callback called multiple times");ue("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");ue("ERR_STREAM_WRITE_AFTER_END","write after end");ue("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);ue("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);ue("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Qf.exports.codes=Jf});var ua=_((um,eu)=>{"use strict";var Ey=it().codes.ERR_INVALID_OPT_VALUE;function my(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function Sy(e,t,r,n){var i=my(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var a=n?r:"highWaterMark";throw new Ey(a,i)}return Math.floor(i)}return e.objectMode?16:16*1024}eu.exports={getHighWaterMark:Sy}});var ru=_((lm,tu)=>{tu.exports=Ay;function Ay(e,t){if(la("noDeprecation"))return e;var r=!1;function n(){if(!r){if(la("throwDeprecation"))throw new Error(t);la("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function la(e){try{if(!global.localStorage)return!1}catch(r){return!1}var t=global.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}});var ha=_((sm,uu)=>{"use strict";uu.exports=Z;function iu(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Xy(t,e)}}var qt;Z.WritableState=br;var xy={deprecate:ru()},au=na(),xn=nt().Buffer,Ry=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Oy(e){return xn.from(e)}function Ty(e){return xn.isBuffer(e)||e instanceof Ry}var ca=fa(),Iy=ua(),Py=Iy.getHighWaterMark,Ue=it().codes,Ny=Ue.ERR_INVALID_ARG_TYPE,Fy=Ue.ERR_METHOD_NOT_IMPLEMENTED,By=Ue.ERR_MULTIPLE_CALLBACK,Ly=Ue.ERR_STREAM_CANNOT_PIPE,ky=Ue.ERR_STREAM_DESTROYED,jy=Ue.ERR_STREAM_NULL_VALUES,Dy=Ue.ERR_STREAM_WRITE_AFTER_END,My=Ue.ERR_UNKNOWN_ENCODING,Ct=ca.errorOrDestroy;Me()(Z,au);function Uy(){}function br(e,t,r){qt=qt||at(),e=e||{},typeof r!="boolean"&&(r=t instanceof qt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Py(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){$y(t,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new iu(this)}br.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(br.prototype,"buffer",{get:xy.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}})();var An;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(An=Function.prototype[Symbol.hasInstance],Object.defineProperty(Z,Symbol.hasInstance,{value:function(t){return An.call(this,t)?!0:this!==Z?!1:t&&t._writableState instanceof br}})):An=function(t){return t instanceof this};function Z(e){qt=qt||at();var t=this instanceof qt;if(!t&&!An.call(Z,this))return new Z(e);this._writableState=new br(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),au.call(this)}Z.prototype.pipe=function(){Ct(this,new Ly)};function qy(e,t){var r=new Dy;Ct(e,r),process.nextTick(t,r)}function Cy(e,t,r,n){var i;return r===null?i=new jy:typeof r!="string"&&!t.objectMode&&(i=new Ny("chunk",["string","Buffer"],r)),i?(Ct(e,i),process.nextTick(n,i),!1):!0}Z.prototype.write=function(e,t,r){var n=this._writableState,i=!1,a=!n.objectMode&&Ty(e);return a&&!xn.isBuffer(e)&&(e=Oy(e)),typeof t=="function"&&(r=t,t=null),a?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=Uy),n.ending?qy(this,r):(a||Cy(this,n,e,r))&&(n.pendingcb++,i=Zy(this,n,a,e,t,r)),i};Z.prototype.cork=function(){this._writableState.corked++};Z.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&ou(this,e))};Z.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new My(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(Z.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function zy(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=xn.from(t,r)),t}Object.defineProperty(Z.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Zy(e,t,r,n,i,a){if(!r){var o=zy(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var f=t.objectMode?1:n.length;t.length+=f;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else sa(e,t,!1,f,n,i,a);return s}function sa(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new ky("write")):r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function Wy(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(vr,e,t),e._writableState.errorEmitted=!0,Ct(e,n)):(i(n),e._writableState.errorEmitted=!0,Ct(e,n),vr(e,t))}function Gy(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function $y(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new By;if(Gy(r),t)Wy(e,r,n,t,i);else{var a=fu(r)||e.destroyed;!a&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&ou(e,r),n?process.nextTick(nu,e,r,a,i):nu(e,r,a,i)}}function nu(e,t,r,n){r||Hy(e,t),t.pendingcb--,n(),vr(e,t)}function Hy(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function ou(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var o=0,f=!0;r;)i[o]=r,r.isBuf||(f=!1),r=r.next,o+=1;i.allBuffers=f,sa(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new iu(t),t.bufferedRequestCount=0}else{for(;r;){var s=r.chunk,u=r.encoding,l=r.callback,c=t.objectMode?1:s.length;if(sa(e,t,!1,c,s,u,l),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}Z.prototype._write=function(e,t,r){r(new Fy("_write()"))};Z.prototype._writev=null;Z.prototype.end=function(e,t,r){var n=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||Ky(this,n,r),this};Object.defineProperty(Z.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function fu(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Vy(e,t){e._final(function(r){t.pendingcb--,r&&Ct(e,r),t.prefinished=!0,e.emit("prefinish"),vr(e,t)})}function Yy(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(Vy,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function vr(e,t){var r=fu(t);if(r&&(Yy(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}function Ky(e,t,r){t.ending=!0,vr(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function Xy(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(Z.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}});Z.prototype.destroy=ca.destroy;Z.prototype._undestroy=ca.undestroy;Z.prototype._destroy=function(e,t){t(e)}});var at=_((cm,su)=>{"use strict";var Jy=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};su.exports=xe;var lu=ya(),da=ha();Me()(xe,lu);for(pa=Jy(da.prototype),Rn=0;Rn<pa.length;Rn++)On=pa[Rn],xe.prototype[On]||(xe.prototype[On]=da.prototype[On]);var pa,On,Rn;function xe(e){if(!(this instanceof xe))return new xe(e);lu.call(this,e),da.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",Qy)))}Object.defineProperty(xe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(xe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(xe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Qy(){this._writableState.ended||process.nextTick(e0,this)}function e0(e){e.end()}Object.defineProperty(xe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var pu=_((ga,hu)=>{var Tn=nt(),Re=Tn.Buffer;function cu(e,t){for(var r in e)t[r]=e[r]}Re.from&&Re.alloc&&Re.allocUnsafe&&Re.allocUnsafeSlow?hu.exports=Tn:(cu(Tn,ga),ga.Buffer=ot);function ot(e,t,r){return Re(e,t,r)}ot.prototype=Object.create(Re.prototype);cu(Re,ot);ot.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Re(e,t,r)};ot.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Re(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};ot.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Re(e)};ot.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Tn.SlowBuffer(e)}});var ba=_(yu=>{"use strict";var va=pu().Buffer,du=va.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function t0(e){if(!e)return"utf8";for(var t;;)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function r0(e){var t=t0(e);if(typeof t!="string"&&(va.isEncoding===du||!du(e)))throw new Error("Unknown encoding: "+e);return t||e}yu.StringDecoder=wr;function wr(e){this.encoding=r0(e);var t;switch(this.encoding){case"utf16le":this.text=u0,this.end=l0,t=4;break;case"utf8":this.fillLast=a0,t=4;break;case"base64":this.text=s0,this.end=c0,t=3;break;default:this.write=h0,this.end=p0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=va.allocUnsafe(t)}wr.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};wr.prototype.end=f0;wr.prototype.text=o0;wr.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function _a(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function n0(e,t,r){var n=t.length-1;if(n<r)return 0;var i=_a(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=_a(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=_a(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function i0(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function a0(e){var t=this.lastTotal-this.lastNeed,r=i0(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function o0(e,t){var r=n0(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function f0(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function u0(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l0(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function s0(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function c0(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h0(e){return e.toString(this.encoding)}function p0(e){return e&&e.length?this.write(e):""}});var In=_((pm,vu)=>{"use strict";var gu=it().codes.ERR_STREAM_PREMATURE_CLOSE;function d0(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}function y0(){}function g0(e){return e.setHeader&&typeof e.abort=="function"}function _u(e,t,r){if(typeof t=="function")return _u(e,null,t);t||(t={}),r=d0(r||y0);var n=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,a=function(){e.writable||f()},o=e._writableState&&e._writableState.finished,f=function(){i=!1,o=!0,n||r.call(e)},s=e._readableState&&e._readableState.endEmitted,u=function(){n=!1,s=!0,i||r.call(e)},l=function(y){r.call(e,y)},c=function(){var y;if(n&&!s)return(!e._readableState||!e._readableState.ended)&&(y=new gu),r.call(e,y);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(y=new gu),r.call(e,y)},p=function(){e.req.on("finish",f)};return g0(e)?(e.on("complete",f),e.on("abort",c),e.req?p():e.on("request",p)):i&&!e._writableState&&(e.on("end",a),e.on("close",a)),e.on("end",u),e.on("finish",f),t.error!==!1&&e.on("error",l),e.on("close",c),function(){e.removeListener("complete",f),e.removeListener("abort",c),e.removeListener("request",p),e.req&&e.req.removeListener("finish",f),e.removeListener("end",a),e.removeListener("close",a),e.removeListener("finish",f),e.removeListener("end",u),e.removeListener("error",l),e.removeListener("close",c)}}vu.exports=_u});var wu=_((dm,bu)=>{"use strict";var Pn;function qe(e,t,r){return t=_0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _0(e){var t=v0(e,"string");return typeof t=="symbol"?t:String(t)}function v0(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var b0=In(),Ce=Symbol("lastResolve"),ft=Symbol("lastReject"),Er=Symbol("error"),Nn=Symbol("ended"),ut=Symbol("lastPromise"),wa=Symbol("handlePromise"),lt=Symbol("stream");function ze(e,t){return{value:e,done:t}}function w0(e){var t=e[Ce];if(t!==null){var r=e[lt].read();r!==null&&(e[ut]=null,e[Ce]=null,e[ft]=null,t(ze(r,!1)))}}function E0(e){process.nextTick(w0,e)}function m0(e,t){return function(r,n){e.then(function(){if(t[Nn]){r(ze(void 0,!0));return}t[wa](r,n)},n)}}var S0=Object.getPrototypeOf(function(){}),A0=Object.setPrototypeOf((Pn={get stream(){return this[lt]},next:function(){var t=this,r=this[Er];if(r!==null)return Promise.reject(r);if(this[Nn])return Promise.resolve(ze(void 0,!0));if(this[lt].destroyed)return new Promise(function(o,f){process.nextTick(function(){t[Er]?f(t[Er]):o(ze(void 0,!0))})});var n=this[ut],i;if(n)i=new Promise(m0(n,this));else{var a=this[lt].read();if(a!==null)return Promise.resolve(ze(a,!1));i=new Promise(this[wa])}return this[ut]=i,i}},qe(Pn,Symbol.asyncIterator,function(){return this}),qe(Pn,"return",function(){var t=this;return new Promise(function(r,n){t[lt].destroy(null,function(i){if(i){n(i);return}r(ze(void 0,!0))})})}),Pn),S0),x0=function(t){var r,n=Object.create(A0,(r={},qe(r,lt,{value:t,writable:!0}),qe(r,Ce,{value:null,writable:!0}),qe(r,ft,{value:null,writable:!0}),qe(r,Er,{value:null,writable:!0}),qe(r,Nn,{value:t._readableState.endEmitted,writable:!0}),qe(r,wa,{value:function(a,o){var f=n[lt].read();f?(n[ut]=null,n[Ce]=null,n[ft]=null,a(ze(f,!1))):(n[Ce]=a,n[ft]=o)},writable:!0}),r));return n[ut]=null,b0(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var a=n[ft];a!==null&&(n[ut]=null,n[Ce]=null,n[ft]=null,a(i)),n[Er]=i;return}var o=n[Ce];o!==null&&(n[ut]=null,n[Ce]=null,n[ft]=null,o(ze(void 0,!0))),n[Nn]=!0}),t.on("readable",E0.bind(null,n)),n};bu.exports=x0});var mu=_((ym,Eu)=>{Eu.exports=function(){throw new Error("Readable.from is not available in the browser")}});var ya=_((_m,Fu)=>{"use strict";Fu.exports=M;var zt;M.ReadableState=Ru;var gm=En().EventEmitter,xu=function(t,r){return t.listeners(r).length},Sr=na(),Fn=nt().Buffer,R0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function O0(e){return Fn.from(e)}function T0(e){return Fn.isBuffer(e)||e instanceof R0}var Ea=ia(),P;Ea&&Ea.debuglog?P=Ea.debuglog("stream"):P=function(){};var I0=Vf(),Ta=fa(),P0=ua(),N0=P0.getHighWaterMark,Bn=it().codes,F0=Bn.ERR_INVALID_ARG_TYPE,B0=Bn.ERR_STREAM_PUSH_AFTER_EOF,L0=Bn.ERR_METHOD_NOT_IMPLEMENTED,k0=Bn.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Zt,ma,Sa;Me()(M,Sr);var mr=Ta.errorOrDestroy,Aa=["error","close","destroy","pause","resume"];function j0(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function Ru(e,t,r){zt=zt||at(),e=e||{},typeof r!="boolean"&&(r=t instanceof zt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=N0(this,e,"readableHighWaterMark",r),this.buffer=new I0,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=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(Zt||(Zt=ba().StringDecoder),this.decoder=new Zt(e.encoding),this.encoding=e.encoding)}function M(e){if(zt=zt||at(),!(this instanceof M))return new M(e);var t=this instanceof zt;this._readableState=new Ru(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Sr.call(this)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});M.prototype.destroy=Ta.destroy;M.prototype._undestroy=Ta.undestroy;M.prototype._destroy=function(e,t){t(e)};M.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=Fn.from(e,t),t=""),n=!0),Ou(this,e,t,!1,n)};M.prototype.unshift=function(e){return Ou(this,e,null,!0,!1)};function Ou(e,t,r,n,i){P("readableAddChunk",t);var a=e._readableState;if(t===null)a.reading=!1,U0(e,a);else{var o;if(i||(o=D0(a,t)),o)mr(e,o);else if(a.objectMode||t&&t.length>0)if(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==Fn.prototype&&(t=O0(t)),n)a.endEmitted?mr(e,new k0):xa(e,a,t,!0);else if(a.ended)mr(e,new B0);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||t.length!==0?xa(e,a,t,!1):Oa(e,a)):xa(e,a,t,!1)}else n||(a.reading=!1,Oa(e,a))}return!a.ended&&(a.length<a.highWaterMark||a.length===0)}function xa(e,t,r,n){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&Ln(e)),Oa(e,t)}function D0(e,t){var r;return!T0(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new F0("chunk",["string","Buffer","Uint8Array"],t)),r}M.prototype.isPaused=function(){return this._readableState.flowing===!1};M.prototype.setEncoding=function(e){Zt||(Zt=ba().StringDecoder);var t=new Zt(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var Su=1073741824;function M0(e){return e>=Su?e=Su:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Au(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=M0(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}M.prototype.read=function(e){P("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return P("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Ra(this):Ln(this),null;if(e=Au(e,t),e===0&&t.ended)return t.length===0&&Ra(this),null;var n=t.needReadable;P("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,P("length less than watermark",n)),t.ended||t.reading?(n=!1,P("reading or ended",n)):n&&(P("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Au(r,t)));var i;return e>0?i=Pu(e,t):i=null,i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&Ra(this)),i!==null&&this.emit("data",i),i};function U0(e,t){if(P("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?Ln(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Tu(e)))}}function Ln(e){var t=e._readableState;P("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(P("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Tu,e))}function Tu(e){var t=e._readableState;P("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,Ia(e)}function Oa(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(q0,e,t))}function q0(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(P("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}M.prototype._read=function(e){mr(this,new L0("_read()"))};M.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,P("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=i?f:g;n.endEmitted?process.nextTick(a):r.once("end",a),e.on("unpipe",o);function o(m,w){P("onunpipe"),m===r&&w&&w.hasUnpiped===!1&&(w.hasUnpiped=!0,l())}function f(){P("onend"),e.end()}var s=C0(r);e.on("drain",s);var u=!1;function l(){P("cleanup"),e.removeListener("close",h),e.removeListener("finish",y),e.removeListener("drain",s),e.removeListener("error",p),e.removeListener("unpipe",o),r.removeListener("end",f),r.removeListener("end",g),r.removeListener("data",c),u=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&s()}r.on("data",c);function c(m){P("ondata");var w=e.write(m);P("dest.write",w),w===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&Nu(n.pipes,e)!==-1)&&!u&&(P("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function p(m){P("onerror",m),g(),e.removeListener("error",p),xu(e,"error")===0&&mr(e,m)}j0(e,"error",p);function h(){e.removeListener("finish",y),g()}e.once("close",h);function y(){P("onfinish"),e.removeListener("close",h),g()}e.once("finish",y);function g(){P("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(P("pipe resume"),r.resume()),e};function C0(e){return function(){var r=e._readableState;P("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&xu(e,"data")&&(r.flowing=!0,Ia(e))}}M.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Nu(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};M.prototype.on=function(e,t){var r=Sr.prototype.on.call(this,e,t),n=this._readableState;return e==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):e==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,P("on readable",n.length,n.reading),n.length?Ln(this):n.reading||process.nextTick(z0,this)),r};M.prototype.addListener=M.prototype.on;M.prototype.removeListener=function(e,t){var r=Sr.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Iu,this),r};M.prototype.removeAllListeners=function(e){var t=Sr.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Iu,this),t};function Iu(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function z0(e){P("readable nexttick read 0"),e.read(0)}M.prototype.resume=function(){var e=this._readableState;return e.flowing||(P("resume"),e.flowing=!e.readableListening,Z0(this,e)),e.paused=!1,this};function Z0(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(W0,e,t))}function W0(e,t){P("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Ia(e),t.flowing&&!t.reading&&e.read(0)}M.prototype.pause=function(){return P("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(P("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Ia(e){var t=e._readableState;for(P("flow",t.flowing);t.flowing&&e.read()!==null;);}M.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(P("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(P("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var f=t.push(o);f||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(f){return function(){return e[f].apply(e,arguments)}}(i));for(var a=0;a<Aa.length;a++)e.on(Aa[a],this.emit.bind(this,Aa[a]));return this._read=function(o){P("wrapped _read",o),n&&(n=!1,e.resume())},this};typeof Symbol=="function"&&(M.prototype[Symbol.asyncIterator]=function(){return ma===void 0&&(ma=wu()),ma(this)});Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});M._fromList=Pu;Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Pu(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function Ra(e){var t=e._readableState;P("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(G0,t,e))}function G0(e,t){if(P("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(M.from=function(e,t){return Sa===void 0&&(Sa=mu()),Sa(M,e,t)});function Nu(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var Pa=_((vm,Lu)=>{"use strict";Lu.exports=Le;var kn=it().codes,$0=kn.ERR_METHOD_NOT_IMPLEMENTED,H0=kn.ERR_MULTIPLE_CALLBACK,V0=kn.ERR_TRANSFORM_ALREADY_TRANSFORMING,Y0=kn.ERR_TRANSFORM_WITH_LENGTH_0,jn=at();Me()(Le,jn);function K0(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new H0);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Le(e){if(!(this instanceof Le))return new Le(e);jn.call(this,e),this._transformState={afterTransform:K0.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",X0)}function X0(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Bu(e,t,r)}):Bu(this,null,null)}Le.prototype.push=function(e,t){return this._transformState.needTransform=!1,jn.prototype.push.call(this,e,t)};Le.prototype._transform=function(e,t,r){r(new $0("_transform()"))};Le.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Le.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Le.prototype._destroy=function(e,t){jn.prototype._destroy.call(this,e,function(r){t(r)})};function Bu(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Y0;if(e._transformState.transforming)throw new V0;return e.push(null)}});var Du=_((bm,ju)=>{"use strict";ju.exports=Ar;var ku=Pa();Me()(Ar,ku);function Ar(e){if(!(this instanceof Ar))return new Ar(e);ku.call(this,e)}Ar.prototype._transform=function(e,t,r){r(null,e)}});var zu=_((wm,Cu)=>{"use strict";var Na;function J0(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var qu=it().codes,Q0=qu.ERR_MISSING_ARGS,eg=qu.ERR_STREAM_DESTROYED;function Mu(e){if(e)throw e}function tg(e){return e.setHeader&&typeof e.abort=="function"}function rg(e,t,r,n){n=J0(n);var i=!1;e.on("close",function(){i=!0}),Na===void 0&&(Na=In()),Na(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var a=!1;return function(o){if(!i&&!a){if(a=!0,tg(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new eg("pipe"))}}}function Uu(e){e()}function ng(e,t){return e.pipe(t)}function ig(e){return!e.length||typeof e[e.length-1]!="function"?Mu:e.pop()}function ag(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=ig(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Q0("streams");var i,a=t.map(function(o,f){var s=f<t.length-1,u=f>0;return rg(o,s,u,function(l){i||(i=l),l&&a.forEach(Uu),!s&&(a.forEach(Uu),n(i))})});return t.reduce(ng)}Cu.exports=ag});var Wu=_((Em,Zu)=>{Zu.exports=le;var Fa=En().EventEmitter,og=Me();og(le,Fa);le.Readable=ya();le.Writable=ha();le.Duplex=at();le.Transform=Pa();le.PassThrough=Du();le.finished=In();le.pipeline=zu();le.Stream=le;function le(){Fa.call(this)}le.prototype.pipe=function(e,t){var r=this;function n(l){e.writable&&e.write(l)===!1&&r.pause&&r.pause()}r.on("data",n);function i(){r.readable&&r.resume&&r.resume()}e.on("drain",i),!e._isStdio&&(!t||t.end!==!1)&&(r.on("end",o),r.on("close",f));var a=!1;function o(){a||(a=!0,e.end())}function f(){a||(a=!0,typeof e.destroy=="function"&&e.destroy())}function s(l){if(u(),Fa.listenerCount(this,"error")===0)throw l}r.on("error",s),e.on("error",s);function u(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",f),r.removeListener("error",s),e.removeListener("error",s),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e}});var Dn=_((mm,Gu)=>{"use strict";Gu.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0}});var xr=_((Sm,$u)=>{"use strict";var fg=Dn();$u.exports=function(){return fg()&&!!Symbol.toStringTag}});var Vu=_((Am,Hu)=>{"use strict";Hu.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(t,r);if(f.value!==i||f.enumerable!==!0)return!1}return!0}});var Xu=_((xm,Ku)=>{"use strict";var Yu=typeof Symbol<"u"&&Symbol,ug=Vu();Ku.exports=function(){return typeof Yu!="function"||typeof Symbol!="function"||typeof Yu("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ug()}});var Ba=_((Rm,Qu)=>{"use strict";var Ju={foo:{}},lg=Object;Qu.exports=function(){return{__proto__:Ju}.foo===Ju.foo&&!({__proto__:null}instanceof lg)}});var rl=_((Om,tl)=>{"use strict";var sg="Function.prototype.bind called on incompatible ",cg=Object.prototype.toString,hg=Math.max,pg="[object Function]",el=function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var a=0;a<r.length;a+=1)n[a+t.length]=r[a];return n},dg=function(t,r){for(var n=[],i=r||0,a=0;i<t.length;i+=1,a+=1)n[a]=t[i];return n},yg=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};tl.exports=function(t){var r=this;if(typeof r!="function"||cg.apply(r)!==pg)throw new TypeError(sg+r);for(var n=dg(arguments,1),i,a=function(){if(this instanceof i){var l=r.apply(this,el(n,arguments));return Object(l)===l?l:this}return r.apply(t,el(n,arguments))},o=hg(0,r.length-n.length),f=[],s=0;s<o;s++)f[s]="$"+s;if(i=Function("binder","return function ("+yg(f,",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i}});var Wt=_((Tm,nl)=>{"use strict";var gg=rl();nl.exports=Function.prototype.bind||gg});var al=_((Im,il)=>{"use strict";var _g=Wt();il.exports=_g.call(Function.call,Object.prototype.hasOwnProperty)});var qn=_((Pm,sl)=>{"use strict";var k,Vt=SyntaxError,ll=Function,Ht=TypeError,La=function(e){try{return ll('"use strict"; return ('+e+").constructor;")()}catch(t){}},st=Object.getOwnPropertyDescriptor;if(st)try{st({},"")}catch(e){st=null}var ka=function(){throw new Ht},vg=st?function(){try{return arguments.callee,ka}catch(e){try{return st(arguments,"callee").get}catch(t){return ka}}}():ka,Gt=Xu()(),bg=Ba()(),V=Object.getPrototypeOf||(bg?function(e){return e.__proto__}:null),$t={},wg=typeof Uint8Array>"u"||!V?k:V(Uint8Array),ct={"%AggregateError%":typeof AggregateError>"u"?k:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?k:ArrayBuffer,"%ArrayIteratorPrototype%":Gt&&V?V([][Symbol.iterator]()):k,"%AsyncFromSyncIteratorPrototype%":k,"%AsyncFunction%":$t,"%AsyncGenerator%":$t,"%AsyncGeneratorFunction%":$t,"%AsyncIteratorPrototype%":$t,"%Atomics%":typeof Atomics>"u"?k:Atomics,"%BigInt%":typeof BigInt>"u"?k:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?k:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?k:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?k:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?k:Float32Array,"%Float64Array%":typeof Float64Array>"u"?k:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?k:FinalizationRegistry,"%Function%":ll,"%GeneratorFunction%":$t,"%Int8Array%":typeof Int8Array>"u"?k:Int8Array,"%Int16Array%":typeof Int16Array>"u"?k:Int16Array,"%Int32Array%":typeof Int32Array>"u"?k:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Gt&&V?V(V([][Symbol.iterator]())):k,"%JSON%":typeof JSON=="object"?JSON:k,"%Map%":typeof Map>"u"?k:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Gt||!V?k:V(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?k:Promise,"%Proxy%":typeof Proxy>"u"?k:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?k:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?k:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Gt||!V?k:V(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?k:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Gt&&V?V(""[Symbol.iterator]()):k,"%Symbol%":Gt?Symbol:k,"%SyntaxError%":Vt,"%ThrowTypeError%":vg,"%TypedArray%":wg,"%TypeError%":Ht,"%Uint8Array%":typeof Uint8Array>"u"?k:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?k:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?k:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?k:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?k:WeakMap,"%WeakRef%":typeof WeakRef>"u"?k:WeakRef,"%WeakSet%":typeof WeakSet>"u"?k:WeakSet};if(V)try{null.error}catch(e){ol=V(V(e)),ct["%Error.prototype%"]=ol}var ol,Eg=function e(t){var r;if(t==="%AsyncFunction%")r=La("async function () {}");else if(t==="%GeneratorFunction%")r=La("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=La("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&V&&(r=V(i.prototype))}return ct[t]=r,r},fl={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Rr=Wt(),Mn=al(),mg=Rr.call(Function.call,Array.prototype.concat),Sg=Rr.call(Function.apply,Array.prototype.splice),ul=Rr.call(Function.call,String.prototype.replace),Un=Rr.call(Function.call,String.prototype.slice),Ag=Rr.call(Function.call,RegExp.prototype.exec),xg=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rg=/\\(\\)?/g,Og=function(t){var r=Un(t,0,1),n=Un(t,-1);if(r==="%"&&n!=="%")throw new Vt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Vt("invalid intrinsic syntax, expected opening `%`");var i=[];return ul(t,xg,function(a,o,f,s){i[i.length]=f?ul(s,Rg,"$1"):o||a}),i},Tg=function(t,r){var n=t,i;if(Mn(fl,n)&&(i=fl[n],n="%"+i[0]+"%"),Mn(ct,n)){var a=ct[n];if(a===$t&&(a=Eg(n)),typeof a>"u"&&!r)throw new Ht("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new Vt("intrinsic "+t+" does not exist!")};sl.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Ht("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Ht('"allowMissing" argument must be a boolean');if(Ag(/^%?[^%]*%?$/,t)===null)throw new Vt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Og(t),i=n.length>0?n[0]:"",a=Tg("%"+i+"%",r),o=a.name,f=a.value,s=!1,u=a.alias;u&&(i=u[0],Sg(n,mg([0,1],u)));for(var l=1,c=!0;l<n.length;l+=1){var p=n[l],h=Un(p,0,1),y=Un(p,-1);if((h==='"'||h==="'"||h==="`"||y==='"'||y==="'"||y==="`")&&h!==y)throw new Vt("property names with quotes must have matching quotes");if((p==="constructor"||!c)&&(s=!0),i+="."+p,o="%"+i+"%",Mn(ct,o))f=ct[o];else if(f!=null){if(!(p in f)){if(!r)throw new Ht("base intrinsic for "+t+" exists, but the property is not available.");return}if(st&&l+1>=n.length){var g=st(f,p);c=!!g,c&&"get"in g&&!("originalValue"in g.get)?f=g.get:f=f[p]}else c=Mn(f,p),f=f[p];c&&!s&&(ct[o]=f)}}return f}});var hl=_((Nm,cl)=>{"use strict";var Ig="Function.prototype.bind called on incompatible ",ja=Array.prototype.slice,Pg=Object.prototype.toString,Ng="[object Function]";cl.exports=function(t){var r=this;if(typeof r!="function"||Pg.call(r)!==Ng)throw new TypeError(Ig+r);for(var n=ja.call(arguments,1),i,a=function(){if(this instanceof i){var l=r.apply(this,n.concat(ja.call(arguments)));return Object(l)===l?l:this}else return r.apply(t,n.concat(ja.call(arguments)))},o=Math.max(0,r.length-n.length),f=[],s=0;s<o;s++)f.push("$"+s);if(i=Function("binder","return function ("+f.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i}});var dl=_((Fm,pl)=>{"use strict";var Fg=hl();pl.exports=Function.prototype.bind||Fg});var wl=_((Bm,Cn)=>{"use strict";var Da=dl(),Yt=qn(),_l=Yt("%Function.prototype.apply%"),vl=Yt("%Function.prototype.call%"),bl=Yt("%Reflect.apply%",!0)||Da.call(vl,_l),yl=Yt("%Object.getOwnPropertyDescriptor%",!0),ht=Yt("%Object.defineProperty%",!0),Bg=Yt("%Math.max%");if(ht)try{ht({},"a",{value:1})}catch(e){ht=null}Cn.exports=function(t){var r=bl(Da,vl,arguments);if(yl&&ht){var n=yl(r,"length");n.configurable&&ht(r,"length",{value:1+Bg(0,t.length-(arguments.length-1))})}return r};var gl=function(){return bl(Da,_l,arguments)};ht?ht(Cn.exports,"apply",{value:gl}):Cn.exports.apply=gl});var Or=_((Lm,Sl)=>{"use strict";var El=qn(),ml=wl(),Lg=ml(El("String.prototype.indexOf"));Sl.exports=function(t,r){var n=El(t,!!r);return typeof n=="function"&&Lg(t,".prototype.")>-1?ml(n):n}});var Rl=_((km,xl)=>{"use strict";var kg=xr()(),jg=Or(),Ma=jg("Object.prototype.toString"),zn=function(t){return kg&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Ma(t)==="[object Arguments]"},Al=function(t){return zn(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Ma(t)!=="[object Array]"&&Ma(t.callee)==="[object Function]"},Dg=function(){return zn(arguments)}();zn.isLegacyArguments=Al;xl.exports=Dg?zn:Al});var Il=_((jm,Tl)=>{"use strict";var Mg=Object.prototype.toString,Ug=Function.prototype.toString,qg=/^\s*(?:function)?\*/,Ol=xr()(),Ua=Object.getPrototypeOf,Cg=function(){if(!Ol)return!1;try{return Function("return function*() {}")()}catch(e){}},qa;Tl.exports=function(t){if(typeof t!="function")return!1;if(qg.test(Ug.call(t)))return!0;if(!Ol){var r=Mg.call(t);return r==="[object GeneratorFunction]"}if(!Ua)return!1;if(typeof qa>"u"){var n=Cg();qa=n?Ua(n):!1}return Ua(t)===qa}});var Bl=_((Dm,Fl)=>{"use strict";var Nl=Function.prototype.toString,Kt=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,za,Zn;if(typeof Kt=="function"&&typeof Object.defineProperty=="function")try{za=Object.defineProperty({},"length",{get:function(){throw Zn}}),Zn={},Kt(function(){throw 42},null,za)}catch(e){e!==Zn&&(Kt=null)}else Kt=null;var zg=/^\s*class\b/,Za=function(t){try{var r=Nl.call(t);return zg.test(r)}catch(n){return!1}},Ca=function(t){try{return Za(t)?!1:(Nl.call(t),!0)}catch(r){return!1}},Wn=Object.prototype.toString,Zg="[object Object]",Wg="[object Function]",Gg="[object GeneratorFunction]",$g="[object HTMLAllCollection]",Hg="[object HTML document.all class]",Vg="[object HTMLCollection]",Yg=typeof Symbol=="function"&&!!Symbol.toStringTag,Kg=!(0 in[,]),Wa=function(){return!1};typeof document=="object"&&(Pl=document.all,Wn.call(Pl)===Wn.call(document.all)&&(Wa=function(t){if((Kg||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Wn.call(t);return(r===$g||r===Hg||r===Vg||r===Zg)&&t("")==null}catch(n){}return!1}));var Pl;Fl.exports=Kt?function(t){if(Wa(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{Kt(t,null,za)}catch(r){if(r!==Zn)return!1}return!Za(t)&&Ca(t)}:function(t){if(Wa(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(Yg)return Ca(t);if(Za(t))return!1;var r=Wn.call(t);return r!==Wg&&r!==Gg&&!/^\[object HTML/.test(r)?!1:Ca(t)}});var Ga=_((Mm,kl)=>{"use strict";var Xg=Bl(),Jg=Object.prototype.toString,Ll=Object.prototype.hasOwnProperty,Qg=function(t,r,n){for(var i=0,a=t.length;i<a;i++)Ll.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},e_=function(t,r,n){for(var i=0,a=t.length;i<a;i++)n==null?r(t.charAt(i),i,t):r.call(n,t.charAt(i),i,t)},t_=function(t,r,n){for(var i in t)Ll.call(t,i)&&(n==null?r(t[i],i,t):r.call(n,t[i],i,t))},r_=function(t,r,n){if(!Xg(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Jg.call(t)==="[object Array]"?Qg(t,r,i):typeof t=="string"?e_(t,r,i):t_(t,r,i)};kl.exports=r_});var Ha=_((Um,jl)=>{"use strict";var $a=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],n_=typeof globalThis>"u"?global:globalThis;jl.exports=function(){for(var t=[],r=0;r<$a.length;r++)typeof n_[$a[r]]=="function"&&(t[t.length]=$a[r]);return t}});var Tr=_((qm,Dl)=>{"use strict";var i_=qn(),Gn=i_("%Object.getOwnPropertyDescriptor%",!0);if(Gn)try{Gn([],"length")}catch(e){Gn=null}Dl.exports=Gn});var Ka=_((Cm,zl)=>{"use strict";var Ml=Ga(),a_=Ha(),Ya=Or(),o_=Ya("Object.prototype.toString"),Ul=xr()(),$n=Tr(),f_=typeof globalThis>"u"?global:globalThis,ql=a_(),u_=Ya("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},l_=Ya("String.prototype.slice"),Cl={},Va=Object.getPrototypeOf;Ul&&$n&&Va&&Ml(ql,function(e){var t=new f_[e];if(Symbol.toStringTag in t){var r=Va(t),n=$n(r,Symbol.toStringTag);if(!n){var i=Va(r);n=$n(i,Symbol.toStringTag)}Cl[e]=n.get}});var s_=function(t){var r=!1;return Ml(Cl,function(n,i){if(!r)try{r=n.call(t)===i}catch(a){}}),r};zl.exports=function(t){if(!t||typeof t!="object")return!1;if(!Ul||!(Symbol.toStringTag in t)){var r=l_(o_(t),8,-1);return u_(ql,r)>-1}return $n?s_(t):!1}});var Yl=_((zm,Vl)=>{"use strict";var Wl=Ga(),c_=Ha(),Gl=Or(),Xa=Tr(),h_=Gl("Object.prototype.toString"),$l=xr()(),Zl=typeof globalThis>"u"?global:globalThis,p_=c_(),d_=Gl("String.prototype.slice"),Hl={},Ja=Object.getPrototypeOf;$l&&Xa&&Ja&&Wl(p_,function(e){if(typeof Zl[e]=="function"){var t=new Zl[e];if(Symbol.toStringTag in t){var r=Ja(t),n=Xa(r,Symbol.toStringTag);if(!n){var i=Ja(r);n=Xa(i,Symbol.toStringTag)}Hl[e]=n.get}}});var y_=function(t){var r=!1;return Wl(Hl,function(n,i){if(!r)try{var a=n.call(t);a===i&&(r=a)}catch(o){}}),r},g_=Ka();Vl.exports=function(t){return g_(t)?!$l||!(Symbol.toStringTag in t)?d_(h_(t),8,-1):y_(t):!1}});var ls=_(F=>{"use strict";var __=Rl(),v_=Il(),_e=Yl(),Kl=Ka();function Xt(e){return e.call.bind(e)}var Xl=typeof BigInt<"u",Jl=typeof Symbol<"u",se=Xt(Object.prototype.toString),b_=Xt(Number.prototype.valueOf),w_=Xt(String.prototype.valueOf),E_=Xt(Boolean.prototype.valueOf);Xl&&(Ql=Xt(BigInt.prototype.valueOf));var Ql;Jl&&(es=Xt(Symbol.prototype.valueOf));var es;function Pr(e,t){if(typeof e!="object")return!1;try{return t(e),!0}catch(r){return!1}}F.isArgumentsObject=__;F.isGeneratorFunction=v_;F.isTypedArray=Kl;function m_(e){return typeof Promise<"u"&&e instanceof Promise||e!==null&&typeof e=="object"&&typeof e.then=="function"&&typeof e.catch=="function"}F.isPromise=m_;function S_(e){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):Kl(e)||rs(e)}F.isArrayBufferView=S_;function A_(e){return _e(e)==="Uint8Array"}F.isUint8Array=A_;function x_(e){return _e(e)==="Uint8ClampedArray"}F.isUint8ClampedArray=x_;function R_(e){return _e(e)==="Uint16Array"}F.isUint16Array=R_;function O_(e){return _e(e)==="Uint32Array"}F.isUint32Array=O_;function T_(e){return _e(e)==="Int8Array"}F.isInt8Array=T_;function I_(e){return _e(e)==="Int16Array"}F.isInt16Array=I_;function P_(e){return _e(e)==="Int32Array"}F.isInt32Array=P_;function N_(e){return _e(e)==="Float32Array"}F.isFloat32Array=N_;function F_(e){return _e(e)==="Float64Array"}F.isFloat64Array=F_;function B_(e){return _e(e)==="BigInt64Array"}F.isBigInt64Array=B_;function L_(e){return _e(e)==="BigUint64Array"}F.isBigUint64Array=L_;function Hn(e){return se(e)==="[object Map]"}Hn.working=typeof Map<"u"&&Hn(new Map);function k_(e){return typeof Map>"u"?!1:Hn.working?Hn(e):e instanceof Map}F.isMap=k_;function Vn(e){return se(e)==="[object Set]"}Vn.working=typeof Set<"u"&&Vn(new Set);function j_(e){return typeof Set>"u"?!1:Vn.working?Vn(e):e instanceof Set}F.isSet=j_;function Yn(e){return se(e)==="[object WeakMap]"}Yn.working=typeof WeakMap<"u"&&Yn(new WeakMap);function D_(e){return typeof WeakMap>"u"?!1:Yn.working?Yn(e):e instanceof WeakMap}F.isWeakMap=D_;function eo(e){return se(e)==="[object WeakSet]"}eo.working=typeof WeakSet<"u"&&eo(new WeakSet);function M_(e){return eo(e)}F.isWeakSet=M_;function Kn(e){return se(e)==="[object ArrayBuffer]"}Kn.working=typeof ArrayBuffer<"u"&&Kn(new ArrayBuffer);function ts(e){return typeof ArrayBuffer>"u"?!1:Kn.working?Kn(e):e instanceof ArrayBuffer}F.isArrayBuffer=ts;function Xn(e){return se(e)==="[object DataView]"}Xn.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Xn(new DataView(new ArrayBuffer(1),0,1));function rs(e){return typeof DataView>"u"?!1:Xn.working?Xn(e):e instanceof DataView}F.isDataView=rs;var Qa=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Ir(e){return se(e)==="[object SharedArrayBuffer]"}function ns(e){return typeof Qa>"u"?!1:(typeof Ir.working>"u"&&(Ir.working=Ir(new Qa)),Ir.working?Ir(e):e instanceof Qa)}F.isSharedArrayBuffer=ns;function U_(e){return se(e)==="[object AsyncFunction]"}F.isAsyncFunction=U_;function q_(e){return se(e)==="[object Map Iterator]"}F.isMapIterator=q_;function C_(e){return se(e)==="[object Set Iterator]"}F.isSetIterator=C_;function z_(e){return se(e)==="[object Generator]"}F.isGeneratorObject=z_;function Z_(e){return se(e)==="[object WebAssembly.Module]"}F.isWebAssemblyCompiledModule=Z_;function is(e){return Pr(e,b_)}F.isNumberObject=is;function as(e){return Pr(e,w_)}F.isStringObject=as;function os(e){return Pr(e,E_)}F.isBooleanObject=os;function fs(e){return Xl&&Pr(e,Ql)}F.isBigIntObject=fs;function us(e){return Jl&&Pr(e,es)}F.isSymbolObject=us;function W_(e){return is(e)||as(e)||os(e)||fs(e)||us(e)}F.isBoxedPrimitive=W_;function G_(e){return typeof Uint8Array<"u"&&(ts(e)||ns(e))}F.isAnyArrayBuffer=G_;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(F,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})});var cs=_((Wm,ss)=>{ss.exports=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"}});var yt=_(B=>{var hs=Object.getOwnPropertyDescriptors||function(t){for(var r=Object.keys(t),n={},i=0;i<r.length;i++)n[r[i]]=Object.getOwnPropertyDescriptor(t,r[i]);return n},$_=/%[sdj%]/g;B.format=function(e){if(!ii(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Ze(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,a=String(e).replace($_,function(f){if(f==="%%")return"%";if(r>=i)return f;switch(f){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(s){return"[Circular]"}default:return f}}),o=n[r];r<i;o=n[++r])ni(o)||!Jt(o)?a+=" "+o:a+=" "+Ze(o);return a};B.deprecate=function(e,t){if(typeof process<"u"&&process.noDeprecation===!0)return e;if(typeof process>"u")return function(){return B.deprecate(e,t).apply(this,arguments)};var r=!1;function n(){if(!r){if(process.throwDeprecation)throw new Error(t);process.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return n};var Jn={},ps=/^$/;process.env.NODE_DEBUG&&(Qn=process.env.NODE_DEBUG,Qn=Qn.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ps=new RegExp("^"+Qn+"$","i"));var Qn;B.debuglog=function(e){if(e=e.toUpperCase(),!Jn[e])if(ps.test(e)){var t=process.pid;Jn[e]=function(){var r=B.format.apply(B,arguments);console.error("%s %d: %s",e,t,r)}}else Jn[e]=function(){};return Jn[e]};function Ze(e,t){var r={seen:[],stylize:V_};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),io(t)?r.showHidden=t:t&&B._extend(r,t),dt(r.showHidden)&&(r.showHidden=!1),dt(r.depth)&&(r.depth=2),dt(r.colors)&&(r.colors=!1),dt(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=H_),ti(r,e,r.depth)}B.inspect=Ze;Ze.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]};Ze.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function H_(e,t){var r=Ze.styles[t];return r?"\x1B["+Ze.colors[r][0]+"m"+e+"\x1B["+Ze.colors[r][1]+"m":e}function V_(e,t){return e}function Y_(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}function ti(e,t,r){if(e.customInspect&&t&&ei(t.inspect)&&t.inspect!==B.inspect&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return ii(n)||(n=ti(e,n,r)),n}var i=K_(e,t);if(i)return i;var a=Object.keys(t),o=Y_(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),Fr(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return to(t);if(a.length===0){if(ei(t)){var f=t.name?": "+t.name:"";return e.stylize("[Function"+f+"]","special")}if(Nr(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(ri(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Fr(t))return to(t)}var s="",u=!1,l=["{","}"];if(ds(t)&&(u=!0,l=["[","]"]),ei(t)){var c=t.name?": "+t.name:"";s=" [Function"+c+"]"}if(Nr(t)&&(s=" "+RegExp.prototype.toString.call(t)),ri(t)&&(s=" "+Date.prototype.toUTCString.call(t)),Fr(t)&&(s=" "+to(t)),a.length===0&&(!u||t.length==0))return l[0]+s+l[1];if(r<0)return Nr(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var p;return u?p=X_(e,t,r,o,a):p=a.map(function(h){return no(e,t,r,o,h,u)}),e.seen.pop(),J_(p,s,l)}function K_(e,t){if(dt(t))return e.stylize("undefined","undefined");if(ii(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(ys(t))return e.stylize(""+t,"number");if(io(t))return e.stylize(""+t,"boolean");if(ni(t))return e.stylize("null","null")}function to(e){return"["+Error.prototype.toString.call(e)+"]"}function X_(e,t,r,n,i){for(var a=[],o=0,f=t.length;o<f;++o)gs(t,String(o))?a.push(no(e,t,r,n,String(o),!0)):a.push("");return i.forEach(function(s){s.match(/^\d+$/)||a.push(no(e,t,r,n,s,!0))}),a}function no(e,t,r,n,i,a){var o,f,s;if(s=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},s.get?s.set?f=e.stylize("[Getter/Setter]","special"):f=e.stylize("[Getter]","special"):s.set&&(f=e.stylize("[Setter]","special")),gs(n,i)||(o="["+i+"]"),f||(e.seen.indexOf(s.value)<0?(ni(r)?f=ti(e,s.value,null):f=ti(e,s.value,r-1),f.indexOf("\n")>-1&&(a?f=f.split("\n").map(function(u){return" "+u}).join("\n").slice(2):f="\n"+f.split("\n").map(function(u){return" "+u}).join("\n"))):f=e.stylize("[Circular]","special")),dt(o)){if(a&&i.match(/^\d+$/))return f;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+f}function J_(e,t,r){var n=0,i=e.reduce(function(a,o){return n++,o.indexOf("\n")>=0&&n++,a+o.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(t===""?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}B.types=ls();function ds(e){return Array.isArray(e)}B.isArray=ds;function io(e){return typeof e=="boolean"}B.isBoolean=io;function ni(e){return e===null}B.isNull=ni;function Q_(e){return e==null}B.isNullOrUndefined=Q_;function ys(e){return typeof e=="number"}B.isNumber=ys;function ii(e){return typeof e=="string"}B.isString=ii;function ev(e){return typeof e=="symbol"}B.isSymbol=ev;function dt(e){return e===void 0}B.isUndefined=dt;function Nr(e){return Jt(e)&&ao(e)==="[object RegExp]"}B.isRegExp=Nr;B.types.isRegExp=Nr;function Jt(e){return typeof e=="object"&&e!==null}B.isObject=Jt;function ri(e){return Jt(e)&&ao(e)==="[object Date]"}B.isDate=ri;B.types.isDate=ri;function Fr(e){return Jt(e)&&(ao(e)==="[object Error]"||e instanceof Error)}B.isError=Fr;B.types.isNativeError=Fr;function ei(e){return typeof e=="function"}B.isFunction=ei;function tv(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}B.isPrimitive=tv;B.isBuffer=cs();function ao(e){return Object.prototype.toString.call(e)}function ro(e){return e<10?"0"+e.toString(10):e.toString(10)}var rv=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nv(){var e=new Date,t=[ro(e.getHours()),ro(e.getMinutes()),ro(e.getSeconds())].join(":");return[e.getDate(),rv[e.getMonth()],t].join(" ")}B.log=function(){console.log("%s - %s",nv(),B.format.apply(B,arguments))};B.inherits=Me();B._extend=function(e,t){if(!t||!Jt(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};function gs(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var pt=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;B.promisify=function(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(pt&&t[pt]){var r=t[pt];if(typeof r!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,pt,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var n,i,a=new Promise(function(s,u){n=s,i=u}),o=[],f=0;f<arguments.length;f++)o.push(arguments[f]);o.push(function(s,u){s?i(s):n(u)});try{t.apply(this,o)}catch(s){i(s)}return a}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),pt&&Object.defineProperty(r,pt,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,hs(t))};B.promisify.custom=pt;function iv(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function av(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');function t(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if(typeof i!="function")throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};e.apply(this,r).then(function(f){process.nextTick(o.bind(null,null,f))},function(f){process.nextTick(iv.bind(null,f,o))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,hs(e)),t}B.callbackify=av});var uo=_(($m,ws)=>{"use strict";function We(e){"@babel/helpers - typeof";return We=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},We(e)}function _s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,fv(n.key),n)}}function ov(e,t,r){return t&&_s(e.prototype,t),r&&_s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function fv(e){var t=uv(e,"string");return We(t)==="symbol"?t:String(t)}function uv(e,t){if(We(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(We(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function lv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fo(e,t)}function fo(e,t){return fo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},fo(e,t)}function cv(e){var t=dv();return function(){var n=ai(e),i;if(t){var a=ai(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return hv(this,i)}}function hv(e,t){if(t&&(We(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return pv(e)}function pv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dv(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}var bs={},Qt,oo;function Br(e,t,r){r||(r=Error);function n(a,o,f){return typeof t=="string"?t:t(a,o,f)}var i=function(a){sv(f,a);var o=cv(f);function f(s,u,l){var c;return lv(this,f),c=o.call(this,n(s,u,l)),c.code=e,c}return ov(f)}(r);bs[e]=i}function vs(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(n){return String(n)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:r===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function yv(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function gv(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function _v(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}Br("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);Br("ERR_INVALID_ARG_TYPE",function(e,t,r){Qt===void 0&&(Qt=Lr()),Qt(typeof e=="string","'name' must be a string");var n;typeof t=="string"&&yv(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var i;if(gv(e," argument"))i="The ".concat(e," ").concat(n," ").concat(vs(t,"type"));else{var a=_v(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(a," ").concat(n," ").concat(vs(t,"type"))}return i+=". Received type ".concat(We(r)),i},TypeError);Br("ERR_INVALID_ARG_VALUE",function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";oo===void 0&&(oo=yt());var n=oo.inspect(t);return n.length>128&&(n="".concat(n.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(n)},TypeError,RangeError);Br("ERR_INVALID_RETURN_VALUE",function(e,t,r){var n;return r&&r.constructor&&r.constructor.name?n="instance of ".concat(r.constructor.name):n="type ".concat(We(r)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(n,".")},TypeError);Br("ERR_MISSING_ARGS",function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Qt===void 0&&(Qt=Lr()),Qt(t.length>0,"At least one arg needs to be specified");var n="The ",i=t.length;switch(t=t.map(function(a){return'"'.concat(a,'"')}),i){case 1:n+="".concat(t[0]," argument");break;case 2:n+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:n+=t.slice(0,i-1).join(", "),n+=", and ".concat(t[i-1]," arguments");break}return"".concat(n," must be specified")},TypeError);ws.exports.codes=bs});var Ps=_((Hm,Is)=>{"use strict";function Es(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ms(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Es(Object(r),!0).forEach(function(n){vv(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Es(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function vv(e,t,r){return t=Rs(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ss(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Rs(n.key),n)}}function wv(e,t,r){return t&&Ss(e.prototype,t),r&&Ss(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Rs(e){var t=Ev(e,"string");return ne(t)==="symbol"?t:String(t)}function Ev(e,t){if(ne(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ne(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mr(e,t)}function Sv(e){var t=Ts();return function(){var n=Ur(e),i;if(t){var a=Ur(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return Os(this,i)}}function Os(e,t){if(t&&(ne(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lo(e)}function lo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function so(e){var t=typeof Map=="function"?new Map:void 0;return so=function(n){if(n===null||!Av(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return oi(n,arguments,Ur(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Mr(i,n)},so(e)}function oi(e,t,r){return Ts()?oi=Reflect.construct.bind():oi=function(i,a,o){var f=[null];f.push.apply(f,a);var s=Function.bind.apply(i,f),u=new s;return o&&Mr(u,o.prototype),u},oi.apply(null,arguments)}function Ts(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Av(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Mr(e,t){return Mr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Mr(e,t)}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function ne(e){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(e)}var xv=yt(),co=xv.inspect,Rv=uo(),Ov=Rv.codes.ERR_INVALID_ARG_TYPE;function As(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Tv(e,t){if(t=Math.floor(t),e.length==0||t==0)return"";var r=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+=e.substring(0,r-e.length),e}var ve="",kr="",jr="",K="",gt={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:"},Iv=10;function xs(e){var t=Object.keys(e),r=Object.create(Object.getPrototypeOf(e));return t.forEach(function(n){r[n]=e[n]}),Object.defineProperty(r,"message",{value:e.message}),r}function Dr(e){return co(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Pv(e,t,r){var n="",i="",a=0,o="",f=!1,s=Dr(e),u=s.split("\n"),l=Dr(t).split("\n"),c=0,p="";if(r==="strictEqual"&&ne(e)==="object"&&ne(t)==="object"&&e!==null&&t!==null&&(r="strictEqualObject"),u.length===1&&l.length===1&&u[0]!==l[0]){var h=u[0].length+l[0].length;if(h<=Iv){if((ne(e)!=="object"||e===null)&&(ne(t)!=="object"||t===null)&&(e!==0||t!==0))return"".concat(gt[r],"\n\n")+"".concat(u[0]," !== ").concat(l[0],"\n")}else if(r!=="strictEqualObject"){var y=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(h<y){for(;u[0][c]===l[0][c];)c++;c>2&&(p="\n ".concat(Tv(" ",c),"^"),c=0)}}}for(var g=u[u.length-1],m=l[l.length-1];g===m&&(c++<2?o="\n ".concat(g).concat(o):n=g,u.pop(),l.pop(),!(u.length===0||l.length===0));)g=u[u.length-1],m=l[l.length-1];var w=Math.max(u.length,l.length);if(w===0){var N=s.split("\n");if(N.length>30)for(N[26]="".concat(ve,"...").concat(K);N.length>27;)N.pop();return"".concat(gt.notIdentical,"\n\n").concat(N.join("\n"),"\n")}c>3&&(o="\n".concat(ve,"...").concat(K).concat(o),f=!0),n!==""&&(o="\n ".concat(n).concat(o),n="");var x=0,T=gt[r]+"\n".concat(kr,"+ actual").concat(K," ").concat(jr,"- expected").concat(K),b=" ".concat(ve,"...").concat(K," Lines skipped");for(c=0;c<w;c++){var R=c-a;if(u.length<c+1)R>1&&c>2&&(R>4?(i+="\n".concat(ve,"...").concat(K),f=!0):R>3&&(i+="\n ".concat(l[c-2]),x++),i+="\n ".concat(l[c-1]),x++),a=c,n+="\n".concat(jr,"-").concat(K," ").concat(l[c]),x++;else if(l.length<c+1)R>1&&c>2&&(R>4?(i+="\n".concat(ve,"...").concat(K),f=!0):R>3&&(i+="\n ".concat(u[c-2]),x++),i+="\n ".concat(u[c-1]),x++),a=c,i+="\n".concat(kr,"+").concat(K," ").concat(u[c]),x++;else{var I=l[c],S=u[c],L=S!==I&&(!As(S,",")||S.slice(0,-1)!==I);L&&As(I,",")&&I.slice(0,-1)===S&&(L=!1,S+=","),L?(R>1&&c>2&&(R>4?(i+="\n".concat(ve,"...").concat(K),f=!0):R>3&&(i+="\n ".concat(u[c-2]),x++),i+="\n ".concat(u[c-1]),x++),a=c,i+="\n".concat(kr,"+").concat(K," ").concat(S),n+="\n".concat(jr,"-").concat(K," ").concat(I),x+=2):(i+=n,n="",(R===1||c===0)&&(i+="\n ".concat(S),x++))}if(x>20&&c<w-2)return"".concat(T).concat(b,"\n").concat(i,"\n").concat(ve,"...").concat(K).concat(n,"\n")+"".concat(ve,"...").concat(K)}return"".concat(T).concat(f?b:"","\n").concat(i).concat(n).concat(o).concat(p)}var Nv=function(e,t){mv(n,e);var r=Sv(n);function n(i){var a;if(bv(this,n),ne(i)!=="object"||i===null)throw new Ov("options","Object",i);var o=i.message,f=i.operator,s=i.stackStartFn,u=i.actual,l=i.expected,c=Error.stackTraceLimit;if(Error.stackTraceLimit=0,o!=null)a=r.call(this,String(o));else if(process.stderr&&process.stderr.isTTY&&(process.stderr&&process.stderr.getColorDepth&&process.stderr.getColorDepth()!==1?(ve="\x1B[34m",kr="\x1B[32m",K="\x1B[39m",jr="\x1B[31m"):(ve="",kr="",K="",jr="")),ne(u)==="object"&&u!==null&&ne(l)==="object"&&l!==null&&"stack"in u&&u instanceof Error&&"stack"in l&&l instanceof Error&&(u=xs(u),l=xs(l)),f==="deepStrictEqual"||f==="strictEqual")a=r.call(this,Pv(u,l,f));else if(f==="notDeepStrictEqual"||f==="notStrictEqual"){var p=gt[f],h=Dr(u).split("\n");if(f==="notStrictEqual"&&ne(u)==="object"&&u!==null&&(p=gt.notStrictEqualObject),h.length>30)for(h[26]="".concat(ve,"...").concat(K);h.length>27;)h.pop();h.length===1?a=r.call(this,"".concat(p," ").concat(h[0])):a=r.call(this,"".concat(p,"\n\n").concat(h.join("\n"),"\n"))}else{var y=Dr(u),g="",m=gt[f];f==="notDeepEqual"||f==="notEqual"?(y="".concat(gt[f],"\n\n").concat(y),y.length>1024&&(y="".concat(y.slice(0,1021),"..."))):(g="".concat(Dr(l)),y.length>512&&(y="".concat(y.slice(0,509),"...")),g.length>512&&(g="".concat(g.slice(0,509),"...")),f==="deepEqual"||f==="equal"?y="".concat(m,"\n\n").concat(y,"\n\nshould equal\n\n"):g=" ".concat(f," ").concat(g)),a=r.call(this,"".concat(y).concat(g))}return Error.stackTraceLimit=c,a.generatedMessage=!o,Object.defineProperty(lo(a),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),a.code="ERR_ASSERTION",a.actual=u,a.expected=l,a.operator=f,Error.captureStackTrace&&Error.captureStackTrace(lo(a),s),a.stack,a.name="AssertionError",Os(a)}return wv(n,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(a,o){return co(this,ms(ms({},o),{},{customInspect:!1,depth:0}))}}]),n}(so(Error),co.custom);Is.exports=Nv});var ho=_((Vm,Fs)=>{"use strict";var Ns=Object.prototype.toString;Fs.exports=function(t){var r=Ns.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Ns.call(t.callee)==="[object Function]"),n}});var Cs=_((Ym,qs)=>{"use strict";var Us;Object.keys||(qr=Object.prototype.hasOwnProperty,po=Object.prototype.toString,Bs=ho(),yo=Object.prototype.propertyIsEnumerable,Ls=!yo.call({toString:null},"toString"),ks=yo.call(function(){},"prototype"),Cr=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],fi=function(e){var t=e.constructor;return t&&t.prototype===e},js={$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},Ds=function(){if(typeof window>"u")return!1;for(var e in window)try{if(!js["$"+e]&&qr.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{fi(window[e])}catch(t){return!0}}catch(t){return!0}return!1}(),Ms=function(e){if(typeof window>"u"||!Ds)return fi(e);try{return fi(e)}catch(t){return!1}},Us=function(t){var r=t!==null&&typeof t=="object",n=po.call(t)==="[object Function]",i=Bs(t),a=r&&po.call(t)==="[object String]",o=[];if(!r&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var f=ks&&n;if(a&&t.length>0&&!qr.call(t,0))for(var s=0;s<t.length;++s)o.push(String(s));if(i&&t.length>0)for(var u=0;u<t.length;++u)o.push(String(u));else for(var l in t)!(f&&l==="prototype")&&qr.call(t,l)&&o.push(String(l));if(Ls)for(var c=Ms(t),p=0;p<Cr.length;++p)!(c&&Cr[p]==="constructor")&&qr.call(t,Cr[p])&&o.push(Cr[p]);return o});var qr,po,Bs,yo,Ls,ks,Cr,fi,js,Ds,Ms;qs.exports=Us});var go=_((Km,Ws)=>{"use strict";var Fv=Array.prototype.slice,Bv=ho(),zs=Object.keys,ui=zs?function(t){return zs(t)}:Cs(),Zs=Object.keys;ui.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return Bv(n)?Zs(Fv.call(n)):Zs(n)})}else Object.keys=ui;return Object.keys||ui};Ws.exports=ui});var Ks=_((Xm,Ys)=>{"use strict";var Lv=go(),Hs=Dn()(),Vs=Or(),Gs=Object,kv=Vs("Array.prototype.push"),$s=Vs("Object.prototype.propertyIsEnumerable"),jv=Hs?Object.getOwnPropertySymbols:null;Ys.exports=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=Gs(t);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var a=Gs(arguments[i]),o=Lv(a),f=Hs&&(Object.getOwnPropertySymbols||jv);if(f)for(var s=f(a),u=0;u<s.length;++u){var l=s[u];$s(a,l)&&kv(o,l)}for(var c=0;c<o.length;++c){var p=o[c];if($s(a,p)){var h=a[p];n[p]=h}}}return n}});var Js=_((Jm,Xs)=>{"use strict";var _o=Ks(),Dv=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var i=Object.assign({},r),a="";for(var o in i)a+=o;return e!==a},Mv=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return e[1]==="y"}return!1};Xs.exports=function(){return!Object.assign||Dv()||Mv()?_o:Object.assign}});var vo=_((Qm,ec)=>{"use strict";var Qs=function(e){return e!==e};ec.exports=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||Qs(t)&&Qs(r))}});var li=_((e1,tc)=>{"use strict";var Uv=vo();tc.exports=function(){return typeof Object.is=="function"?Object.is:Uv}});var ic=_((t1,nc)=>{"use strict";var rc=typeof Symbol<"u"&&Symbol,qv=Dn();nc.exports=function(){return typeof rc!="function"||typeof Symbol!="function"||typeof rc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:qv()}});var oc=_((r1,ac)=>{"use strict";var Cv=Function.prototype.call,zv=Object.prototype.hasOwnProperty,Zv=Wt();ac.exports=Zv.call(Cv,zv)});var ir=_((n1,cc)=>{"use strict";var j,nr=SyntaxError,sc=Function,rr=TypeError,bo=function(e){try{return sc('"use strict"; return ('+e+").constructor;")()}catch(t){}},_t=Object.getOwnPropertyDescriptor;if(_t)try{_t({},"")}catch(e){_t=null}var wo=function(){throw new rr},Wv=_t?function(){try{return arguments.callee,wo}catch(e){try{return _t(arguments,"callee").get}catch(t){return wo}}}():wo,er=ic()(),Gv=Ba()(),Y=Object.getPrototypeOf||(Gv?function(e){return e.__proto__}:null),tr={},$v=typeof Uint8Array>"u"||!Y?j:Y(Uint8Array),vt={"%AggregateError%":typeof AggregateError>"u"?j:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?j:ArrayBuffer,"%ArrayIteratorPrototype%":er&&Y?Y([][Symbol.iterator]()):j,"%AsyncFromSyncIteratorPrototype%":j,"%AsyncFunction%":tr,"%AsyncGenerator%":tr,"%AsyncGeneratorFunction%":tr,"%AsyncIteratorPrototype%":tr,"%Atomics%":typeof Atomics>"u"?j:Atomics,"%BigInt%":typeof BigInt>"u"?j:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?j:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?j:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?j:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?j:Float32Array,"%Float64Array%":typeof Float64Array>"u"?j:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?j:FinalizationRegistry,"%Function%":sc,"%GeneratorFunction%":tr,"%Int8Array%":typeof Int8Array>"u"?j:Int8Array,"%Int16Array%":typeof Int16Array>"u"?j:Int16Array,"%Int32Array%":typeof Int32Array>"u"?j:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":er&&Y?Y(Y([][Symbol.iterator]())):j,"%JSON%":typeof JSON=="object"?JSON:j,"%Map%":typeof Map>"u"?j:Map,"%MapIteratorPrototype%":typeof Map>"u"||!er||!Y?j:Y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?j:Promise,"%Proxy%":typeof Proxy>"u"?j:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?j:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?j:Set,"%SetIteratorPrototype%":typeof Set>"u"||!er||!Y?j:Y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?j:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":er&&Y?Y(""[Symbol.iterator]()):j,"%Symbol%":er?Symbol:j,"%SyntaxError%":nr,"%ThrowTypeError%":Wv,"%TypedArray%":$v,"%TypeError%":rr,"%Uint8Array%":typeof Uint8Array>"u"?j:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?j:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?j:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?j:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?j:WeakMap,"%WeakRef%":typeof WeakRef>"u"?j:WeakRef,"%WeakSet%":typeof WeakSet>"u"?j:WeakSet};if(Y)try{null.error}catch(e){fc=Y(Y(e)),vt["%Error.prototype%"]=fc}var fc,Hv=function e(t){var r;if(t==="%AsyncFunction%")r=bo("async function () {}");else if(t==="%GeneratorFunction%")r=bo("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=bo("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Y&&(r=Y(i.prototype))}return vt[t]=r,r},uc={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},zr=Wt(),si=oc(),Vv=zr.call(Function.call,Array.prototype.concat),Yv=zr.call(Function.apply,Array.prototype.splice),lc=zr.call(Function.call,String.prototype.replace),ci=zr.call(Function.call,String.prototype.slice),Kv=zr.call(Function.call,RegExp.prototype.exec),Xv=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Jv=/\\(\\)?/g,Qv=function(t){var r=ci(t,0,1),n=ci(t,-1);if(r==="%"&&n!=="%")throw new nr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new nr("invalid intrinsic syntax, expected opening `%`");var i=[];return lc(t,Xv,function(a,o,f,s){i[i.length]=f?lc(s,Jv,"$1"):o||a}),i},eb=function(t,r){var n=t,i;if(si(uc,n)&&(i=uc[n],n="%"+i[0]+"%"),si(vt,n)){var a=vt[n];if(a===tr&&(a=Hv(n)),typeof a>"u"&&!r)throw new rr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new nr("intrinsic "+t+" does not exist!")};cc.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new rr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new rr('"allowMissing" argument must be a boolean');if(Kv(/^%?[^%]*%?$/,t)===null)throw new nr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Qv(t),i=n.length>0?n[0]:"",a=eb("%"+i+"%",r),o=a.name,f=a.value,s=!1,u=a.alias;u&&(i=u[0],Yv(n,Vv([0,1],u)));for(var l=1,c=!0;l<n.length;l+=1){var p=n[l],h=ci(p,0,1),y=ci(p,-1);if((h==='"'||h==="'"||h==="`"||y==='"'||y==="'"||y==="`")&&h!==y)throw new nr("property names with quotes must have matching quotes");if((p==="constructor"||!c)&&(s=!0),i+="."+p,o="%"+i+"%",si(vt,o))f=vt[o];else if(f!=null){if(!(p in f)){if(!r)throw new rr("base intrinsic for "+t+" exists, but the property is not available.");return}if(_t&&l+1>=n.length){var g=_t(f,p);c=!!g,c&&"get"in g&&!("originalValue"in g.get)?f=g.get:f=f[p]}else c=si(f,p),f=f[p];c&&!s&&(vt[o]=f)}}return f}});var hi=_((i1,hc)=>{"use strict";var tb=ir(),Eo=tb("%Object.defineProperty%",!0),mo=function(){if(Eo)try{return Eo({},"a",{value:1}),!0}catch(t){return!1}return!1};mo.hasArrayLengthDefineBug=function(){if(!mo())return null;try{return Eo([],"length",{value:1}).length!==1}catch(t){return!0}};hc.exports=mo});var Ao=_((a1,dc)=>{"use strict";var rb=hi()(),So=ir(),Zr=rb&&So("%Object.defineProperty%",!0);if(Zr)try{Zr({},"a",{value:1})}catch(e){Zr=!1}var nb=So("%SyntaxError%"),ar=So("%TypeError%"),pc=Tr();dc.exports=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new ar("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new ar("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new ar("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new ar("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new ar("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new ar("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,s=!!pc&&pc(t,r);if(Zr)Zr(t,r,{configurable:o===null&&s?s.configurable:!o,enumerable:i===null&&s?s.enumerable:!i,value:n,writable:a===null&&s?s.writable:!a});else if(f||!i&&!a&&!o)t[r]=n;else throw new nb("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var wc=_((o1,bc)=>{"use strict";var vc=ir(),yc=Ao(),ib=hi()(),gc=Tr(),_c=vc("%TypeError%"),ab=vc("%Math.floor%");bc.exports=function(t,r){if(typeof t!="function")throw new _c("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||ab(r)!==r)throw new _c("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&gc){var o=gc(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!n)&&(ib?yc(t,"length",r,!0,!0):yc(t,"length",r)),t}});var di=_((f1,pi)=>{"use strict";var xo=Wt(),or=ir(),ob=wc(),fb=or("%TypeError%"),mc=or("%Function.prototype.apply%"),Sc=or("%Function.prototype.call%"),Ac=or("%Reflect.apply%",!0)||xo.call(Sc,mc),Wr=or("%Object.defineProperty%",!0),ub=or("%Math.max%");if(Wr)try{Wr({},"a",{value:1})}catch(e){Wr=null}pi.exports=function(t){if(typeof t!="function")throw new fb("a function is required");var r=Ac(xo,Sc,arguments);return ob(r,1+ub(0,t.length-(arguments.length-1)),!0)};var Ec=function(){return Ac(xo,mc,arguments)};Wr?Wr(pi.exports,"apply",{value:Ec}):pi.exports.apply=Ec});var Tc=_((u1,Oc)=>{"use strict";var xc=ir(),Rc=di(),lb=Rc(xc("String.prototype.indexOf"));Oc.exports=function(t,r){var n=xc(t,!!r);return typeof n=="function"&&lb(t,".prototype.")>-1?Rc(n):n}});var Gr=_((l1,Fc)=>{"use strict";var sb=go(),cb=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",hb=Object.prototype.toString,pb=Array.prototype.concat,Ic=Ao(),db=function(e){return typeof e=="function"&&hb.call(e)==="[object Function]"},Pc=hi()(),yb=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!db(n)||!n())return}Pc?Ic(e,t,r,!0):Ic(e,t,r)},Nc=function(e,t){var r=arguments.length>2?arguments[2]:{},n=sb(t);cb&&(n=pb.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)yb(e,n[i],t[n[i]],r[n[i]])};Nc.supportsDescriptors=!!Pc;Fc.exports=Nc});var Lc=_((s1,Bc)=>{"use strict";var gb=li(),_b=Gr();Bc.exports=function(){var t=gb();return _b(Object,{is:t},{is:function(){return Object.is!==t}}),t}});var Mc=_((c1,Dc)=>{"use strict";var vb=Gr(),bb=di(),wb=vo(),kc=li(),Eb=Lc(),jc=bb(kc(),Object);vb(jc,{getPolyfill:kc,implementation:wb,shim:Eb});Dc.exports=jc});var Ro=_((h1,Uc)=>{"use strict";Uc.exports=function(t){return t!==t}});var Oo=_((p1,qc)=>{"use strict";var mb=Ro();qc.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:mb}});var zc=_((d1,Cc)=>{"use strict";var Sb=Gr(),Ab=Oo();Cc.exports=function(){var t=Ab();return Sb(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}});var $c=_((y1,Gc)=>{"use strict";var xb=di(),Rb=Gr(),Ob=Ro(),Zc=Oo(),Tb=zc(),Wc=xb(Zc(),Number);Rb(Wc,{getPolyfill:Zc,implementation:Ob,shim:Tb});Gc.exports=Wc});var hh=_((g1,ch)=>{"use strict";function Hc(e,t){return Fb(e)||Nb(e,t)||Pb(e,t)||Ib()}function Ib(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pb(e,t){if(e){if(typeof e=="string")return Vc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vc(e,t)}}function Vc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Nb(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,f=[],s=!0,u=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(f.push(n.value),f.length!==t);s=!0);}catch(l){u=!0,i=l}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw i}}return f}}function Fb(e){if(Array.isArray(e))return e}function ce(e){"@babel/helpers - typeof";return ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ce(e)}var Bb=/a/g.flags!==void 0,Ei=function(t){var r=[];return t.forEach(function(n){return r.push(n)}),r},Yc=function(t){var r=[];return t.forEach(function(n,i){return r.push([i,n])}),r},oh=Object.is?Object.is:Mc(),bi=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},To=Number.isNaN?Number.isNaN:$c();function Po(e){return e.call.bind(e)}var Hr=Po(Object.prototype.hasOwnProperty),wi=Po(Object.prototype.propertyIsEnumerable),Kc=Po(Object.prototype.toString),Q=yt().types,Lb=Q.isAnyArrayBuffer,kb=Q.isArrayBufferView,Xc=Q.isDate,yi=Q.isMap,Jc=Q.isRegExp,gi=Q.isSet,jb=Q.isNativeError,Db=Q.isBoxedPrimitive,Qc=Q.isNumberObject,eh=Q.isStringObject,th=Q.isBooleanObject,rh=Q.isBigIntObject,Mb=Q.isSymbolObject,Ub=Q.isFloat32Array,qb=Q.isFloat64Array;function Cb(e){if(e.length===0||e.length>10)return!0;for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r<48||r>57)return!0}return e.length===10&&e>=Math.pow(2,32)}function _i(e){return Object.keys(e).filter(Cb).concat(bi(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function fh(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}var vi=void 0,zb=!0,Zb=!1,Io=0,No=1,uh=2,lh=3;function Wb(e,t){return Bb?e.source===t.source&&e.flags===t.flags:RegExp.prototype.toString.call(e)===RegExp.prototype.toString.call(t)}function Gb(e,t){if(e.byteLength!==t.byteLength)return!1;for(var r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0}function $b(e,t){return e.byteLength!==t.byteLength?!1:fh(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))===0}function Hb(e,t){return e.byteLength===t.byteLength&&fh(new Uint8Array(e),new Uint8Array(t))===0}function Vb(e,t){return Qc(e)?Qc(t)&&oh(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):eh(e)?eh(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):th(e)?th(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):rh(e)?rh(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):Mb(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}function he(e,t,r,n){if(e===t)return e!==0?!0:r?oh(e,t):!0;if(r){if(ce(e)!=="object")return typeof e=="number"&&To(e)&&To(t);if(ce(t)!=="object"||e===null||t===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(e===null||ce(e)!=="object")return t===null||ce(t)!=="object"?e==t:!1;if(t===null||ce(t)!=="object")return!1}var i=Kc(e),a=Kc(t);if(i!==a)return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var o=_i(e,vi),f=_i(t,vi);return o.length!==f.length?!1:$r(e,t,r,n,No,o)}if(i==="[object Object]"&&(!yi(e)&&yi(t)||!gi(e)&&gi(t)))return!1;if(Xc(e)){if(!Xc(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(Jc(e)){if(!Jc(t)||!Wb(e,t))return!1}else if(jb(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else if(kb(e)){if(!r&&(Ub(e)||qb(e))){if(!Gb(e,t))return!1}else if(!$b(e,t))return!1;var s=_i(e,vi),u=_i(t,vi);return s.length!==u.length?!1:$r(e,t,r,n,Io,s)}else{if(gi(e))return!gi(t)||e.size!==t.size?!1:$r(e,t,r,n,uh);if(yi(e))return!yi(t)||e.size!==t.size?!1:$r(e,t,r,n,lh);if(Lb(e)){if(!Hb(e,t))return!1}else if(Db(e)&&!Vb(e,t))return!1}return $r(e,t,r,n,Io)}function nh(e,t){return t.filter(function(r){return wi(e,r)})}function $r(e,t,r,n,i,a){if(arguments.length===5){a=Object.keys(e);var o=Object.keys(t);if(a.length!==o.length)return!1}for(var f=0;f<a.length;f++)if(!Hr(t,a[f]))return!1;if(r&&arguments.length===5){var s=bi(e);if(s.length!==0){var u=0;for(f=0;f<s.length;f++){var l=s[f];if(wi(e,l)){if(!wi(t,l))return!1;a.push(l),u++}else if(wi(t,l))return!1}var c=bi(t);if(s.length!==c.length&&nh(t,c).length!==u)return!1}else{var p=bi(t);if(p.length!==0&&nh(t,p).length!==0)return!1}}if(a.length===0&&(i===Io||i===No&&e.length===0||e.size===0))return!0;if(n===void 0)n={val1:new Map,val2:new Map,position:0};else{var h=n.val1.get(e);if(h!==void 0){var y=n.val2.get(t);if(y!==void 0)return h===y}n.position++}n.val1.set(e,n.position),n.val2.set(t,n.position);var g=Qb(e,t,r,a,n,i);return n.val1.delete(e),n.val2.delete(t),g}function ih(e,t,r,n){for(var i=Ei(e),a=0;a<i.length;a++){var o=i[a];if(he(t,o,r,n))return e.delete(o),!0}return!1}function sh(e){switch(ce(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(To(e))return!1}return!0}function Yb(e,t,r){var n=sh(r);return n!=null?n:t.has(n)&&!e.has(n)}function Kb(e,t,r,n,i){var a=sh(r);if(a!=null)return a;var o=t.get(a);return o===void 0&&!t.has(a)||!he(n,o,!1,i)?!1:!e.has(a)&&he(n,o,!1,i)}function Xb(e,t,r,n){for(var i=null,a=Ei(e),o=0;o<a.length;o++){var f=a[o];if(ce(f)==="object"&&f!==null)i===null&&(i=new Set),i.add(f);else if(!t.has(f)){if(r||!Yb(e,t,f))return!1;i===null&&(i=new Set),i.add(f)}}if(i!==null){for(var s=Ei(t),u=0;u<s.length;u++){var l=s[u];if(ce(l)==="object"&&l!==null){if(!ih(i,l,r,n))return!1}else if(!r&&!e.has(l)&&!ih(i,l,r,n))return!1}return i.size===0}return!0}function ah(e,t,r,n,i,a){for(var o=Ei(e),f=0;f<o.length;f++){var s=o[f];if(he(r,s,i,a)&&he(n,t.get(s),i,a))return e.delete(s),!0}return!1}function Jb(e,t,r,n){for(var i=null,a=Yc(e),o=0;o<a.length;o++){var f=Hc(a[o],2),s=f[0],u=f[1];if(ce(s)==="object"&&s!==null)i===null&&(i=new Set),i.add(s);else{var l=t.get(s);if(l===void 0&&!t.has(s)||!he(u,l,r,n)){if(r||!Kb(e,t,s,u,n))return!1;i===null&&(i=new Set),i.add(s)}}}if(i!==null){for(var c=Yc(t),p=0;p<c.length;p++){var h=Hc(c[p],2),y=h[0],g=h[1];if(ce(y)==="object"&&y!==null){if(!ah(i,e,y,g,r,n))return!1}else if(!r&&(!e.has(y)||!he(e.get(y),g,!1,n))&&!ah(i,e,y,g,!1,n))return!1}return i.size===0}return!0}function Qb(e,t,r,n,i,a){var o=0;if(a===uh){if(!Xb(e,t,r,i))return!1}else if(a===lh){if(!Jb(e,t,r,i))return!1}else if(a===No)for(;o<e.length;o++)if(Hr(e,o)){if(!Hr(t,o)||!he(e[o],t[o],r,i))return!1}else{if(Hr(t,o))return!1;for(var f=Object.keys(e);o<f.length;o++){var s=f[o];if(!Hr(t,s)||!he(e[s],t[s],r,i))return!1}return f.length===Object.keys(t).length}for(o=0;o<n.length;o++){var u=n[o];if(!he(e[u],t[u],r,i))return!1}return!0}function ew(e,t){return he(e,t,Zb)}function tw(e,t){return he(e,t,zb)}ch.exports={isDeepEqual:ew,isDeepStrictEqual:tw}});var Lr=_((_1,Ph)=>{"use strict";function be(e){"@babel/helpers - typeof";return be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},be(e)}function ph(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,nw(n.key),n)}}function rw(e,t,r){return t&&ph(e.prototype,t),r&&ph(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function nw(e){var t=iw(e,"string");return be(t)==="symbol"?t:String(t)}function iw(e,t){if(be(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(be(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function aw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var ow=uo(),Vr=ow.codes,dh=Vr.ERR_AMBIGUOUS_ARGUMENT,fr=Vr.ERR_INVALID_ARG_TYPE,fw=Vr.ERR_INVALID_ARG_VALUE,uw=Vr.ERR_INVALID_RETURN_VALUE,$e=Vr.ERR_MISSING_ARGS,He=Ps(),lw=yt(),mi=lw.inspect,vh=yt().types,sw=vh.isPromise,Si=vh.isRegExp,cw=Js()(),bh=li()(),Ai=Tc()("RegExp.prototype.test"),Ge,xi;function Yr(){var e=hh();Ge=e.isDeepEqual,xi=e.isDeepStrictEqual}var yh=!1,C=Ph.exports=Fo,Ri={};function we(e){throw e.message instanceof Error?e.message:new He(e)}function wh(e,t,r,n,i){var a=arguments.length,o;if(a===0)o="Failed";else if(a===1)r=e,e=void 0;else{if(yh===!1){yh=!0;var f=process.emitWarning?process.emitWarning:console.warn.bind(console);f("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}a===2&&(n="!=")}if(r instanceof Error)throw r;var s={actual:e,expected:t,operator:n===void 0?"fail":n,stackStartFn:i||wh};r!==void 0&&(s.message=r);var u=new He(s);throw o&&(u.message=o,u.generatedMessage=!0),u}C.fail=wh;C.AssertionError=He;function Eh(e,t,r,n){if(!r){var i=!1;if(t===0)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var a=new He({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw a.generatedMessage=i,a}}function Fo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Eh.apply(void 0,[Fo,t.length].concat(t))}C.ok=Fo;C.equal=function e(t,r,n){if(arguments.length<2)throw new $e("actual","expected");t!=r&&we({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})};C.notEqual=function e(t,r,n){if(arguments.length<2)throw new $e("actual","expected");t==r&&we({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})};C.deepEqual=function e(t,r,n){if(arguments.length<2)throw new $e("actual","expected");Ge===void 0&&Yr(),Ge(t,r)||we({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})};C.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new $e("actual","expected");Ge===void 0&&Yr(),Ge(t,r)&&we({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})};C.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new $e("actual","expected");Ge===void 0&&Yr(),xi(t,r)||we({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})};C.notDeepStrictEqual=mh;function mh(e,t,r){if(arguments.length<2)throw new $e("actual","expected");Ge===void 0&&Yr(),xi(e,t)&&we({actual:e,expected:t,message:r,operator:"notDeepStrictEqual",stackStartFn:mh})}C.strictEqual=function e(t,r,n){if(arguments.length<2)throw new $e("actual","expected");bh(t,r)||we({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})};C.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new $e("actual","expected");bh(t,r)&&we({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var gh=rw(function e(t,r,n){var i=this;aw(this,e),r.forEach(function(a){a in t&&(n!==void 0&&typeof n[a]=="string"&&Si(t[a])&&Ai(t[a],n[a])?i[a]=n[a]:i[a]=t[a])})});function hw(e,t,r,n,i,a){if(!(r in e)||!xi(e[r],t[r])){if(!n){var o=new gh(e,i),f=new gh(t,i,e),s=new He({actual:o,expected:f,operator:"deepStrictEqual",stackStartFn:a});throw s.actual=e,s.expected=t,s.operator=a.name,s}we({actual:e,expected:t,message:n,operator:a.name,stackStartFn:a})}}function Sh(e,t,r,n){if(typeof t!="function"){if(Si(t))return Ai(t,e);if(arguments.length===2)throw new fr("expected",["Function","RegExp"],t);if(be(e)!=="object"||e===null){var i=new He({actual:e,expected:t,message:r,operator:"deepStrictEqual",stackStartFn:n});throw i.operator=n.name,i}var a=Object.keys(t);if(t instanceof Error)a.push("name","message");else if(a.length===0)throw new fw("error",t,"may not be an empty object");return Ge===void 0&&Yr(),a.forEach(function(o){typeof e[o]=="string"&&Si(t[o])&&Ai(t[o],e[o])||hw(e,t,o,r,a,n)}),!0}return t.prototype!==void 0&&e instanceof t?!0:Error.isPrototypeOf(t)?!1:t.call({},e)===!0}function Ah(e){if(typeof e!="function")throw new fr("fn","Function",e);try{e()}catch(t){return t}return Ri}function _h(e){return sw(e)||e!==null&&be(e)==="object"&&typeof e.then=="function"&&typeof e.catch=="function"}function xh(e){return Promise.resolve().then(function(){var t;if(typeof e=="function"){if(t=e(),!_h(t))throw new uw("instance of Promise","promiseFn",t)}else if(_h(e))t=e;else throw new fr("promiseFn",["Function","Promise"],e);return Promise.resolve().then(function(){return t}).then(function(){return Ri}).catch(function(r){return r})})}function Rh(e,t,r,n){if(typeof r=="string"){if(arguments.length===4)throw new fr("error",["Object","Error","Function","RegExp"],r);if(be(t)==="object"&&t!==null){if(t.message===r)throw new dh("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===r)throw new dh("error/message",'The error "'.concat(t,'" is identical to the message.'));n=r,r=void 0}else if(r!=null&&be(r)!=="object"&&typeof r!="function")throw new fr("error",["Object","Error","Function","RegExp"],r);if(t===Ri){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=n?": ".concat(n):".";var a=e.name==="rejects"?"rejection":"exception";we({actual:void 0,expected:r,operator:e.name,message:"Missing expected ".concat(a).concat(i),stackStartFn:e})}if(r&&!Sh(t,r,n,e))throw t}function Oh(e,t,r,n){if(t!==Ri){if(typeof r=="string"&&(n=r,r=void 0),!r||Sh(t,r)){var i=n?": ".concat(n):".",a=e.name==="doesNotReject"?"rejection":"exception";we({actual:t,expected:r,operator:e.name,message:"Got unwanted ".concat(a).concat(i,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}C.throws=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];Rh.apply(void 0,[e,Ah(t)].concat(n))};C.rejects=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return xh(t).then(function(a){return Rh.apply(void 0,[e,a].concat(n))})};C.doesNotThrow=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];Oh.apply(void 0,[e,Ah(t)].concat(n))};C.doesNotReject=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return xh(t).then(function(a){return Oh.apply(void 0,[e,a].concat(n))})};C.ifError=function e(t){if(t!=null){var r="ifError got unwanted exception: ";be(t)==="object"&&typeof t.message=="string"?t.message.length===0&&t.constructor?r+=t.constructor.name:r+=t.message:r+=mi(t);var n=new He({actual:t,expected:null,operator:"ifError",message:r,stackStartFn:e}),i=t.stack;if(typeof i=="string"){var a=i.split("\n");a.shift();for(var o=n.stack.split("\n"),f=0;f<a.length;f++){var s=o.indexOf(a[f]);if(s!==-1){o=o.slice(0,s);break}}n.stack="".concat(o.join("\n"),"\n").concat(a.join("\n"))}throw n}};function Th(e,t,r,n,i){if(!Si(t))throw new fr("regexp","RegExp",t);var a=i==="match";if(typeof e!="string"||Ai(t,e)!==a){if(r instanceof Error)throw r;var o=!r;r=r||(typeof e!="string"?'The "string" argument must be of type string. Received type '+"".concat(be(e)," (").concat(mi(e),")"):(a?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(mi(t),". Input:\n\n").concat(mi(e),"\n"));var f=new He({actual:e,expected:t,message:r,operator:i,stackStartFn:n});throw f.generatedMessage=o,f}}C.match=function e(t,r,n){Th(t,r,n,e,"match")};C.doesNotMatch=function e(t,r,n){Th(t,r,n,e,"doesNotMatch")};function Ih(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Eh.apply(void 0,[Ih,t.length].concat(t))}C.strict=cw(Ih,C,{equal:C.strictEqual,deepEqual:C.deepStrictEqual,notEqual:C.notStrictEqual,notDeepEqual:C.notDeepStrictEqual});C.strict.strict=C.strict});var Fh=_((v1,Nh)=>{"use strict";function pw(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}Nh.exports=pw});var Kr=_(ee=>{"use strict";var dw=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function yw(e,t){return Object.prototype.hasOwnProperty.call(e,t)}ee.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if(typeof r!="object")throw new TypeError(r+"must be non-object");for(var n in r)yw(r,n)&&(e[n]=r[n])}}return e};ee.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var gw={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray){e.set(t.subarray(r,r+n),i);return}for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},_w={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};ee.setTyped=function(e){e?(ee.Buf8=Uint8Array,ee.Buf16=Uint16Array,ee.Buf32=Int32Array,ee.assign(ee,gw)):(ee.Buf8=Array,ee.Buf16=Array,ee.Buf32=Array,ee.assign(ee,_w))};ee.setTyped(dw)});var tp=_(sr=>{"use strict";var vw=Kr(),bw=4,Bh=0,Lh=1,ww=2;function lr(e){for(var t=e.length;--t>=0;)e[t]=0}var Ew=0,qh=1,mw=2,Sw=3,Aw=258,Uo=29,rn=256,Jr=rn+1+Uo,ur=30,qo=19,Ch=2*Jr+1,bt=15,Bo=16,xw=7,Co=256,zh=16,Zh=17,Wh=18,Do=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Oi=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Rw=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Gh=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ow=512,ke=new Array((Jr+2)*2);lr(ke);var Xr=new Array(ur*2);lr(Xr);var Qr=new Array(Ow);lr(Qr);var en=new Array(Aw-Sw+1);lr(en);var zo=new Array(Uo);lr(zo);var Ti=new Array(ur);lr(Ti);function Lo(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}var $h,Hh,Vh;function ko(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Yh(e){return e<256?Qr[e]:Qr[256+(e>>>7)]}function tn(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function ie(e,t,r){e.bi_valid>Bo-r?(e.bi_buf|=t<<e.bi_valid&65535,tn(e,e.bi_buf),e.bi_buf=t>>Bo-e.bi_valid,e.bi_valid+=r-Bo):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function Oe(e,t,r){ie(e,r[t*2],r[t*2+1])}function Kh(e,t){var r=0;do r|=e&1,e>>>=1,r<<=1;while(--t>0);return r>>>1}function Tw(e){e.bi_valid===16?(tn(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function Iw(e,t){var r=t.dyn_tree,n=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,s=t.stat_desc.max_length,u,l,c,p,h,y,g=0;for(p=0;p<=bt;p++)e.bl_count[p]=0;for(r[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<Ch;u++)l=e.heap[u],p=r[r[l*2+1]*2+1]+1,p>s&&(p=s,g++),r[l*2+1]=p,!(l>n)&&(e.bl_count[p]++,h=0,l>=f&&(h=o[l-f]),y=r[l*2],e.opt_len+=y*(p+h),a&&(e.static_len+=y*(i[l*2+1]+h)));if(g!==0){do{for(p=s-1;e.bl_count[p]===0;)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[s]--,g-=2}while(g>0);for(p=s;p!==0;p--)for(l=e.bl_count[p];l!==0;)c=e.heap[--u],!(c>n)&&(r[c*2+1]!==p&&(e.opt_len+=(p-r[c*2+1])*r[c*2],r[c*2+1]=p),l--)}}function Xh(e,t,r){var n=new Array(bt+1),i=0,a,o;for(a=1;a<=bt;a++)n[a]=i=i+r[a-1]<<1;for(o=0;o<=t;o++){var f=e[o*2+1];f!==0&&(e[o*2]=Kh(n[f]++,f))}}function Pw(){var e,t,r,n,i,a=new Array(bt+1);for(r=0,n=0;n<Uo-1;n++)for(zo[n]=r,e=0;e<1<<Do[n];e++)en[r++]=n;for(en[r-1]=n,i=0,n=0;n<16;n++)for(Ti[n]=i,e=0;e<1<<Oi[n];e++)Qr[i++]=n;for(i>>=7;n<ur;n++)for(Ti[n]=i<<7,e=0;e<1<<Oi[n]-7;e++)Qr[256+i++]=n;for(t=0;t<=bt;t++)a[t]=0;for(e=0;e<=143;)ke[e*2+1]=8,e++,a[8]++;for(;e<=255;)ke[e*2+1]=9,e++,a[9]++;for(;e<=279;)ke[e*2+1]=7,e++,a[7]++;for(;e<=287;)ke[e*2+1]=8,e++,a[8]++;for(Xh(ke,Jr+1,a),e=0;e<ur;e++)Xr[e*2+1]=5,Xr[e*2]=Kh(e,5);$h=new Lo(ke,Do,rn+1,Jr,bt),Hh=new Lo(Xr,Oi,0,ur,bt),Vh=new Lo(new Array(0),Rw,0,qo,xw)}function Jh(e){var t;for(t=0;t<Jr;t++)e.dyn_ltree[t*2]=0;for(t=0;t<ur;t++)e.dyn_dtree[t*2]=0;for(t=0;t<qo;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Co*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Qh(e){e.bi_valid>8?tn(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Nw(e,t,r,n){Qh(e),n&&(tn(e,r),tn(e,~r)),vw.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function kh(e,t,r,n){var i=t*2,a=r*2;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function jo(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&kh(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!kh(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function jh(e,t,r){var n,i,a=0,o,f;if(e.last_lit!==0)do n=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],i=e.pending_buf[e.l_buf+a],a++,n===0?Oe(e,i,t):(o=en[i],Oe(e,o+rn+1,t),f=Do[o],f!==0&&(i-=zo[o],ie(e,i,f)),n--,o=Yh(n),Oe(e,o,r),f=Oi[o],f!==0&&(n-=Ti[o],ie(e,n,f)));while(a<e.last_lit);Oe(e,Co,t)}function Mo(e,t){var r=t.dyn_tree,n=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,o,f,s=-1,u;for(e.heap_len=0,e.heap_max=Ch,o=0;o<a;o++)r[o*2]!==0?(e.heap[++e.heap_len]=s=o,e.depth[o]=0):r[o*2+1]=0;for(;e.heap_len<2;)u=e.heap[++e.heap_len]=s<2?++s:0,r[u*2]=1,e.depth[u]=0,e.opt_len--,i&&(e.static_len-=n[u*2+1]);for(t.max_code=s,o=e.heap_len>>1;o>=1;o--)jo(e,r,o);u=a;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],jo(e,r,1),f=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=f,r[u*2]=r[o*2]+r[f*2],e.depth[u]=(e.depth[o]>=e.depth[f]?e.depth[o]:e.depth[f])+1,r[o*2+1]=r[f*2+1]=u,e.heap[1]=u++,jo(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Iw(e,t),Xh(r,s,e.bl_count)}function Dh(e,t,r){var n,i=-1,a,o=t[0*2+1],f=0,s=7,u=4;for(o===0&&(s=138,u=3),t[(r+1)*2+1]=65535,n=0;n<=r;n++)a=o,o=t[(n+1)*2+1],!(++f<s&&a===o)&&(f<u?e.bl_tree[a*2]+=f:a!==0?(a!==i&&e.bl_tree[a*2]++,e.bl_tree[zh*2]++):f<=10?e.bl_tree[Zh*2]++:e.bl_tree[Wh*2]++,f=0,i=a,o===0?(s=138,u=3):a===o?(s=6,u=3):(s=7,u=4))}function Mh(e,t,r){var n,i=-1,a,o=t[0*2+1],f=0,s=7,u=4;for(o===0&&(s=138,u=3),n=0;n<=r;n++)if(a=o,o=t[(n+1)*2+1],!(++f<s&&a===o)){if(f<u)do Oe(e,a,e.bl_tree);while(--f!==0);else a!==0?(a!==i&&(Oe(e,a,e.bl_tree),f--),Oe(e,zh,e.bl_tree),ie(e,f-3,2)):f<=10?(Oe(e,Zh,e.bl_tree),ie(e,f-3,3)):(Oe(e,Wh,e.bl_tree),ie(e,f-11,7));f=0,i=a,o===0?(s=138,u=3):a===o?(s=6,u=3):(s=7,u=4)}}function Fw(e){var t;for(Dh(e,e.dyn_ltree,e.l_desc.max_code),Dh(e,e.dyn_dtree,e.d_desc.max_code),Mo(e,e.bl_desc),t=qo-1;t>=3&&e.bl_tree[Gh[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Bw(e,t,r,n){var i;for(ie(e,t-257,5),ie(e,r-1,5),ie(e,n-4,4),i=0;i<n;i++)ie(e,e.bl_tree[Gh[i]*2+1],3);Mh(e,e.dyn_ltree,t-1),Mh(e,e.dyn_dtree,r-1)}function Lw(e){var t=4093624447,r;for(r=0;r<=31;r++,t>>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return Bh;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Lh;for(r=32;r<rn;r++)if(e.dyn_ltree[r*2]!==0)return Lh;return Bh}var Uh=!1;function kw(e){Uh||(Pw(),Uh=!0),e.l_desc=new ko(e.dyn_ltree,$h),e.d_desc=new ko(e.dyn_dtree,Hh),e.bl_desc=new ko(e.bl_tree,Vh),e.bi_buf=0,e.bi_valid=0,Jh(e)}function ep(e,t,r,n){ie(e,(Ew<<1)+(n?1:0),3),Nw(e,t,r,!0)}function jw(e){ie(e,qh<<1,3),Oe(e,Co,ke),Tw(e)}function Dw(e,t,r,n){var i,a,o=0;e.level>0?(e.strm.data_type===ww&&(e.strm.data_type=Lw(e)),Mo(e,e.l_desc),Mo(e,e.d_desc),o=Fw(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=i&&(i=a)):i=a=r+5,r+4<=i&&t!==-1?ep(e,t,r,n):e.strategy===bw||a===i?(ie(e,(qh<<1)+(n?1:0),3),jh(e,ke,Xr)):(ie(e,(mw<<1)+(n?1:0),3),Bw(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),jh(e,e.dyn_ltree,e.dyn_dtree)),Jh(e),n&&Qh(e)}function Mw(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(en[r]+rn+1)*2]++,e.dyn_dtree[Yh(t)*2]++),e.last_lit===e.lit_bufsize-1}sr._tr_init=kw;sr._tr_stored_block=ep;sr._tr_flush_block=Dw;sr._tr_tally=Mw;sr._tr_align=jw});var Zo=_((E1,rp)=>{"use strict";function Uw(e,t,r,n){for(var i=e&65535|0,a=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do i=i+t[n++]|0,a=a+i|0;while(--o);i%=65521,a%=65521}return i|a<<16|0}rp.exports=Uw});var Wo=_((m1,np)=>{"use strict";function qw(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var Cw=qw();function zw(e,t,r,n){var i=Cw,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[(e^t[o])&255];return e^-1}np.exports=zw});var ap=_((S1,ip)=>{"use strict";ip.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var dp=_(Pe=>{"use strict";var te=Kr(),pe=tp(),lp=Zo(),Ve=Wo(),Zw=ap(),St=0,Ww=1,Gw=3,Qe=4,op=5,Ie=0,fp=1,de=-2,$w=-3,Go=-5,Hw=-1,Vw=1,Ii=2,Yw=3,Kw=4,Xw=0,Jw=2,Bi=8,Qw=9,eE=15,tE=8,rE=29,nE=256,Ho=nE+1+rE,iE=30,aE=19,oE=2*Ho+1,fE=15,D=3,Xe=258,Ee=Xe+D+1,uE=32,Li=42,Vo=69,Pi=73,Ni=91,Fi=103,wt=113,an=666,$=1,on=2,Et=3,pr=4,lE=3;function Je(e,t){return e.msg=Zw[t],t}function up(e){return(e<<1)-(e>4?9:0)}function Ke(e){for(var t=e.length;--t>=0;)e[t]=0}function Ye(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(te.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function X(e,t){pe._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ye(e.strm)}function U(e,t){e.pending_buf[e.pending++]=t}function nn(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function sE(e,t,r,n){var i=e.avail_in;return i>n&&(i=n),i===0?0:(e.avail_in-=i,te.arraySet(t,e.input,e.next_in,i,r),e.state.wrap===1?e.adler=lp(e.adler,t,i,r):e.state.wrap===2&&(e.adler=Ve(e.adler,t,i,r)),e.next_in+=i,e.total_in+=i,i)}function sp(e,t){var r=e.max_chain_length,n=e.strstart,i,a,o=e.prev_length,f=e.nice_match,s=e.strstart>e.w_size-Ee?e.strstart-(e.w_size-Ee):0,u=e.window,l=e.w_mask,c=e.prev,p=e.strstart+Xe,h=u[n+o-1],y=u[n+o];e.prev_length>=e.good_match&&(r>>=2),f>e.lookahead&&(f=e.lookahead);do if(i=t,!(u[i+o]!==y||u[i+o-1]!==h||u[i]!==u[n]||u[++i]!==u[n+1])){n+=2,i++;do;while(u[++n]===u[++i]&&u[++n]===u[++i]&&u[++n]===u[++i]&&u[++n]===u[++i]&&u[++n]===u[++i]&&u[++n]===u[++i]&&u[++n]===u[++i]&&u[++n]===u[++i]&&n<p);if(a=Xe-(p-n),n=p-Xe,a>o){if(e.match_start=t,o=a,a>=f)break;h=u[n+o-1],y=u[n+o]}}while((t=c[t&l])>s&&--r!==0);return o<=e.lookahead?o:e.lookahead}function mt(e){var t=e.w_size,r,n,i,a,o;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Ee)){te.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,n=e.hash_size,r=n;do i=e.head[--r],e.head[r]=i>=t?i-t:0;while(--n);n=t,r=n;do i=e.prev[--r],e.prev[r]=i>=t?i-t:0;while(--n);a+=t}if(e.strm.avail_in===0)break;if(n=sE(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=n,e.lookahead+e.insert>=D)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+D-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<D)););}while(e.lookahead<Ee&&e.strm.avail_in!==0)}function cE(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(mt(e),e.lookahead===0&&t===St)return $;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((e.strstart===0||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,X(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Ee&&(X(e,!1),e.strm.avail_out===0))return $}return e.insert=0,t===Qe?(X(e,!0),e.strm.avail_out===0?Et:pr):(e.strstart>e.block_start&&(X(e,!1),e.strm.avail_out===0),$)}function $o(e,t){for(var r,n;;){if(e.lookahead<Ee){if(mt(e),e.lookahead<Ee&&t===St)return $;if(e.lookahead===0)break}if(r=0,e.lookahead>=D&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+D-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-Ee&&(e.match_length=sp(e,r)),e.match_length>=D)if(n=pe._tr_tally(e,e.strstart-e.match_start,e.match_length-D),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=D){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+D-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=pe._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(X(e,!1),e.strm.avail_out===0))return $}return e.insert=e.strstart<D-1?e.strstart:D-1,t===Qe?(X(e,!0),e.strm.avail_out===0?Et:pr):e.last_lit&&(X(e,!1),e.strm.avail_out===0)?$:on}function cr(e,t){for(var r,n,i;;){if(e.lookahead<Ee){if(mt(e),e.lookahead<Ee&&t===St)return $;if(e.lookahead===0)break}if(r=0,e.lookahead>=D&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+D-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=D-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-Ee&&(e.match_length=sp(e,r),e.match_length<=5&&(e.strategy===Vw||e.match_length===D&&e.strstart-e.match_start>4096)&&(e.match_length=D-1)),e.prev_length>=D&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-D,n=pe._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-D),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+D-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=D-1,e.strstart++,n&&(X(e,!1),e.strm.avail_out===0))return $}else if(e.match_available){if(n=pe._tr_tally(e,0,e.window[e.strstart-1]),n&&X(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return $}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=pe._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<D-1?e.strstart:D-1,t===Qe?(X(e,!0),e.strm.avail_out===0?Et:pr):e.last_lit&&(X(e,!1),e.strm.avail_out===0)?$:on}function hE(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=Xe){if(mt(e),e.lookahead<=Xe&&t===St)return $;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=D&&e.strstart>0&&(i=e.strstart-1,n=o[i],n===o[++i]&&n===o[++i]&&n===o[++i])){a=e.strstart+Xe;do;while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);e.match_length=Xe-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=D?(r=pe._tr_tally(e,1,e.match_length-D),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=pe._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(X(e,!1),e.strm.avail_out===0))return $}return e.insert=0,t===Qe?(X(e,!0),e.strm.avail_out===0?Et:pr):e.last_lit&&(X(e,!1),e.strm.avail_out===0)?$:on}function pE(e,t){for(var r;;){if(e.lookahead===0&&(mt(e),e.lookahead===0)){if(t===St)return $;break}if(e.match_length=0,r=pe._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(X(e,!1),e.strm.avail_out===0))return $}return e.insert=0,t===Qe?(X(e,!0),e.strm.avail_out===0?Et:pr):e.last_lit&&(X(e,!1),e.strm.avail_out===0)?$:on}function Te(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}var hr;hr=[new Te(0,0,0,0,cE),new Te(4,4,8,4,$o),new Te(4,5,16,8,$o),new Te(4,6,32,32,$o),new Te(4,4,16,16,cr),new Te(8,16,32,32,cr),new Te(8,16,128,128,cr),new Te(8,32,128,256,cr),new Te(32,128,258,1024,cr),new Te(32,258,258,4096,cr)];function dE(e){e.window_size=2*e.w_size,Ke(e.head),e.max_lazy_match=hr[e.level].max_lazy,e.good_match=hr[e.level].good_length,e.nice_match=hr[e.level].nice_length,e.max_chain_length=hr[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=D-1,e.match_available=0,e.ins_h=0}function yE(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Bi,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new te.Buf16(oE*2),this.dyn_dtree=new te.Buf16((2*iE+1)*2),this.bl_tree=new te.Buf16((2*aE+1)*2),Ke(this.dyn_ltree),Ke(this.dyn_dtree),Ke(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new te.Buf16(fE+1),this.heap=new te.Buf16(2*Ho+1),Ke(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new te.Buf16(2*Ho+1),Ke(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function cp(e){var t;return!e||!e.state?Je(e,de):(e.total_in=e.total_out=0,e.data_type=Jw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Li:wt,e.adler=t.wrap===2?0:1,t.last_flush=St,pe._tr_init(t),Ie)}function hp(e){var t=cp(e);return t===Ie&&dE(e.state),t}function gE(e,t){return!e||!e.state||e.state.wrap!==2?de:(e.state.gzhead=t,Ie)}function pp(e,t,r,n,i,a){if(!e)return de;var o=1;if(t===Hw&&(t=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),i<1||i>Qw||r!==Bi||n<8||n>15||t<0||t>9||a<0||a>Kw)return Je(e,de);n===8&&(n=9);var f=new yE;return e.state=f,f.strm=e,f.wrap=o,f.gzhead=null,f.w_bits=n,f.w_size=1<<f.w_bits,f.w_mask=f.w_size-1,f.hash_bits=i+7,f.hash_size=1<<f.hash_bits,f.hash_mask=f.hash_size-1,f.hash_shift=~~((f.hash_bits+D-1)/D),f.window=new te.Buf8(f.w_size*2),f.head=new te.Buf16(f.hash_size),f.prev=new te.Buf16(f.w_size),f.lit_bufsize=1<<i+6,f.pending_buf_size=f.lit_bufsize*4,f.pending_buf=new te.Buf8(f.pending_buf_size),f.d_buf=1*f.lit_bufsize,f.l_buf=3*f.lit_bufsize,f.level=t,f.strategy=a,f.method=r,hp(e)}function _E(e,t){return pp(e,t,Bi,eE,tE,Xw)}function vE(e,t){var r,n,i,a;if(!e||!e.state||t>op||t<0)return e?Je(e,de):de;if(n=e.state,!e.output||!e.input&&e.avail_in!==0||n.status===an&&t!==Qe)return Je(e,e.avail_out===0?Go:de);if(n.strm=e,r=n.last_flush,n.last_flush=t,n.status===Li)if(n.wrap===2)e.adler=0,U(n,31),U(n,139),U(n,8),n.gzhead?(U(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),U(n,n.gzhead.time&255),U(n,n.gzhead.time>>8&255),U(n,n.gzhead.time>>16&255),U(n,n.gzhead.time>>24&255),U(n,n.level===9?2:n.strategy>=Ii||n.level<2?4:0),U(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(U(n,n.gzhead.extra.length&255),U(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Ve(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=Vo):(U(n,0),U(n,0),U(n,0),U(n,0),U(n,0),U(n,n.level===9?2:n.strategy>=Ii||n.level<2?4:0),U(n,lE),n.status=wt);else{var o=Bi+(n.w_bits-8<<4)<<8,f=-1;n.strategy>=Ii||n.level<2?f=0:n.level<6?f=1:n.level===6?f=2:f=3,o|=f<<6,n.strstart!==0&&(o|=uE),o+=31-o%31,n.status=wt,nn(n,o),n.strstart!==0&&(nn(n,e.adler>>>16),nn(n,e.adler&65535)),e.adler=1}if(n.status===Vo)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(n.gzhead.extra.length&65535)&&!(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Ve(e.adler,n.pending_buf,n.pending-i,i)),Ye(e),i=n.pending,n.pending===n.pending_buf_size));)U(n,n.gzhead.extra[n.gzindex]&255),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=Ve(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=Pi)}else n.status=Pi;if(n.status===Pi)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Ve(e.adler,n.pending_buf,n.pending-i,i)),Ye(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}n.gzindex<n.gzhead.name.length?a=n.gzhead.name.charCodeAt(n.gzindex++)&255:a=0,U(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=Ve(e.adler,n.pending_buf,n.pending-i,i)),a===0&&(n.gzindex=0,n.status=Ni)}else n.status=Ni;if(n.status===Ni)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Ve(e.adler,n.pending_buf,n.pending-i,i)),Ye(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}n.gzindex<n.gzhead.comment.length?a=n.gzhead.comment.charCodeAt(n.gzindex++)&255:a=0,U(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=Ve(e.adler,n.pending_buf,n.pending-i,i)),a===0&&(n.status=Fi)}else n.status=Fi;if(n.status===Fi&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Ye(e),n.pending+2<=n.pending_buf_size&&(U(n,e.adler&255),U(n,e.adler>>8&255),e.adler=0,n.status=wt)):n.status=wt),n.pending!==0){if(Ye(e),e.avail_out===0)return n.last_flush=-1,Ie}else if(e.avail_in===0&&up(t)<=up(r)&&t!==Qe)return Je(e,Go);if(n.status===an&&e.avail_in!==0)return Je(e,Go);if(e.avail_in!==0||n.lookahead!==0||t!==St&&n.status!==an){var s=n.strategy===Ii?pE(n,t):n.strategy===Yw?hE(n,t):hr[n.level].func(n,t);if((s===Et||s===pr)&&(n.status=an),s===$||s===Et)return e.avail_out===0&&(n.last_flush=-1),Ie;if(s===on&&(t===Ww?pe._tr_align(n):t!==op&&(pe._tr_stored_block(n,0,0,!1),t===Gw&&(Ke(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),Ye(e),e.avail_out===0))return n.last_flush=-1,Ie}return t!==Qe?Ie:n.wrap<=0?fp:(n.wrap===2?(U(n,e.adler&255),U(n,e.adler>>8&255),U(n,e.adler>>16&255),U(n,e.adler>>24&255),U(n,e.total_in&255),U(n,e.total_in>>8&255),U(n,e.total_in>>16&255),U(n,e.total_in>>24&255)):(nn(n,e.adler>>>16),nn(n,e.adler&65535)),Ye(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?Ie:fp)}function bE(e){var t;return!e||!e.state?de:(t=e.state.status,t!==Li&&t!==Vo&&t!==Pi&&t!==Ni&&t!==Fi&&t!==wt&&t!==an?Je(e,de):(e.state=null,t===wt?Je(e,$w):Ie))}function wE(e,t){var r=t.length,n,i,a,o,f,s,u,l;if(!e||!e.state||(n=e.state,o=n.wrap,o===2||o===1&&n.status!==Li||n.lookahead))return de;for(o===1&&(e.adler=lp(e.adler,t,r,0)),n.wrap=0,r>=n.w_size&&(o===0&&(Ke(n.head),n.strstart=0,n.block_start=0,n.insert=0),l=new te.Buf8(n.w_size),te.arraySet(l,t,r-n.w_size,n.w_size,0),t=l,r=n.w_size),f=e.avail_in,s=e.next_in,u=e.input,e.avail_in=r,e.next_in=0,e.input=t,mt(n);n.lookahead>=D;){i=n.strstart,a=n.lookahead-(D-1);do n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+D-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++;while(--a);n.strstart=i,n.lookahead=D-1,mt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=D-1,n.match_available=0,e.next_in=s,e.input=u,e.avail_in=f,n.wrap=o,Ie}Pe.deflateInit=_E;Pe.deflateInit2=pp;Pe.deflateReset=hp;Pe.deflateResetKeep=cp;Pe.deflateSetHeader=gE;Pe.deflate=vE;Pe.deflateEnd=bE;Pe.deflateSetDictionary=wE;Pe.deflateInfo="pako deflate (from Nodeca project)"});var gp=_((x1,yp)=>{"use strict";var ki=30,EE=12;yp.exports=function(t,r){var n,i,a,o,f,s,u,l,c,p,h,y,g,m,w,N,x,T,b,R,I,S,L,G,O;n=t.state,i=t.next_in,G=t.input,a=i+(t.avail_in-5),o=t.next_out,O=t.output,f=o-(r-t.avail_out),s=o+(t.avail_out-257),u=n.dmax,l=n.wsize,c=n.whave,p=n.wnext,h=n.window,y=n.hold,g=n.bits,m=n.lencode,w=n.distcode,N=(1<<n.lenbits)-1,x=(1<<n.distbits)-1;e:do{g<15&&(y+=G[i++]<<g,g+=8,y+=G[i++]<<g,g+=8),T=m[y&N];t:for(;;){if(b=T>>>24,y>>>=b,g-=b,b=T>>>16&255,b===0)O[o++]=T&65535;else if(b&16){R=T&65535,b&=15,b&&(g<b&&(y+=G[i++]<<g,g+=8),R+=y&(1<<b)-1,y>>>=b,g-=b),g<15&&(y+=G[i++]<<g,g+=8,y+=G[i++]<<g,g+=8),T=w[y&x];r:for(;;){if(b=T>>>24,y>>>=b,g-=b,b=T>>>16&255,b&16){if(I=T&65535,b&=15,g<b&&(y+=G[i++]<<g,g+=8,g<b&&(y+=G[i++]<<g,g+=8)),I+=y&(1<<b)-1,I>u){t.msg="invalid distance too far back",n.mode=ki;break e}if(y>>>=b,g-=b,b=o-f,I>b){if(b=I-b,b>c&&n.sane){t.msg="invalid distance too far back",n.mode=ki;break e}if(S=0,L=h,p===0){if(S+=l-b,b<R){R-=b;do O[o++]=h[S++];while(--b);S=o-I,L=O}}else if(p<b){if(S+=l+p-b,b-=p,b<R){R-=b;do O[o++]=h[S++];while(--b);if(S=0,p<R){b=p,R-=b;do O[o++]=h[S++];while(--b);S=o-I,L=O}}}else if(S+=p-b,b<R){R-=b;do O[o++]=h[S++];while(--b);S=o-I,L=O}for(;R>2;)O[o++]=L[S++],O[o++]=L[S++],O[o++]=L[S++],R-=3;R&&(O[o++]=L[S++],R>1&&(O[o++]=L[S++]))}else{S=o-I;do O[o++]=O[S++],O[o++]=O[S++],O[o++]=O[S++],R-=3;while(R>2);R&&(O[o++]=O[S++],R>1&&(O[o++]=O[S++]))}}else if((b&64)===0){T=w[(T&65535)+(y&(1<<b)-1)];continue r}else{t.msg="invalid distance code",n.mode=ki;break e}break}}else if((b&64)===0){T=m[(T&65535)+(y&(1<<b)-1)];continue t}else if(b&32){n.mode=EE;break e}else{t.msg="invalid literal/length code",n.mode=ki;break e}break}}while(i<a&&o<s);R=g>>3,i-=R,g-=R<<3,y&=(1<<g)-1,t.next_in=i,t.next_out=o,t.avail_in=i<a?5+(a-i):5-(i-a),t.avail_out=o<s?257+(s-o):257-(o-s),n.hold=y,n.bits=g}});var Sp=_((R1,mp)=>{"use strict";var _p=Kr(),dr=15,vp=852,bp=592,wp=0,Yo=1,Ep=2,mE=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],SE=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],AE=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],xE=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];mp.exports=function(t,r,n,i,a,o,f,s){var u=s.bits,l=0,c=0,p=0,h=0,y=0,g=0,m=0,w=0,N=0,x=0,T,b,R,I,S,L=null,G=0,O,ge=new _p.Buf16(dr+1),sn=new _p.Buf16(dr+1),cn=null,lf=0,sf,hn,pn;for(l=0;l<=dr;l++)ge[l]=0;for(c=0;c<i;c++)ge[r[n+c]]++;for(y=u,h=dr;h>=1&&ge[h]===0;h--);if(y>h&&(y=h),h===0)return a[o++]=1<<24|64<<16|0,a[o++]=1<<24|64<<16|0,s.bits=1,0;for(p=1;p<h&&ge[p]===0;p++);for(y<p&&(y=p),w=1,l=1;l<=dr;l++)if(w<<=1,w-=ge[l],w<0)return-1;if(w>0&&(t===wp||h!==1))return-1;for(sn[1]=0,l=1;l<dr;l++)sn[l+1]=sn[l]+ge[l];for(c=0;c<i;c++)r[n+c]!==0&&(f[sn[r[n+c]]++]=c);if(t===wp?(L=cn=f,O=19):t===Yo?(L=mE,G-=257,cn=SE,lf-=257,O=256):(L=AE,cn=xE,O=-1),x=0,c=0,l=p,S=o,g=y,m=0,R=-1,N=1<<y,I=N-1,t===Yo&&N>vp||t===Ep&&N>bp)return 1;for(;;){sf=l-m,f[c]<O?(hn=0,pn=f[c]):f[c]>O?(hn=cn[lf+f[c]],pn=L[G+f[c]]):(hn=96,pn=0),T=1<<l-m,b=1<<g,p=b;do b-=T,a[S+(x>>m)+b]=sf<<24|hn<<16|pn|0;while(b!==0);for(T=1<<l-1;x&T;)T>>=1;if(T!==0?(x&=T-1,x+=T):x=0,c++,--ge[l]===0){if(l===h)break;l=r[n+f[c]]}if(l>y&&(x&I)!==R){for(m===0&&(m=y),S+=p,g=l-m,w=1<<g;g+m<h&&(w-=ge[g+m],!(w<=0));)g++,w<<=1;if(N+=1<<g,t===Yo&&N>vp||t===Ep&&N>bp)return 1;R=x&I,a[R]=y<<24|g<<16|S-o|0}}return x!==0&&(a[S+x]=l-m<<24|64<<16|0),s.bits=y,0}});var id=_(me=>{"use strict";var ae=Kr(),tf=Zo(),Ne=Wo(),RE=gp(),fn=Sp(),OE=0,Yp=1,Kp=2,Ap=4,TE=5,ji=6,At=0,IE=1,PE=2,ye=-2,Xp=-3,rf=-4,NE=-5,xp=8,Jp=1,Rp=2,Op=3,Tp=4,Ip=5,Pp=6,Np=7,Fp=8,Bp=9,Lp=10,Ui=11,je=12,Ko=13,kp=14,Xo=15,jp=16,Dp=17,Mp=18,Up=19,Di=20,Mi=21,qp=22,Cp=23,zp=24,Zp=25,Wp=26,Jo=27,Gp=28,$p=29,z=30,nf=31,FE=32,BE=852,LE=592,kE=15,jE=kE;function Hp(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function DE(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new ae.Buf16(320),this.work=new ae.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Qp(e){var t;return!e||!e.state?ye:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Jp,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new ae.Buf32(BE),t.distcode=t.distdyn=new ae.Buf32(LE),t.sane=1,t.back=-1,At)}function ed(e){var t;return!e||!e.state?ye:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Qp(e))}function td(e,t){var r,n;return!e||!e.state||(n=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?ye:(n.window!==null&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,ed(e))}function rd(e,t){var r,n;return e?(n=new DE,e.state=n,n.window=null,r=td(e,t),r!==At&&(e.state=null),r):ye}function ME(e){return rd(e,jE)}var Vp=!0,Qo,ef;function UE(e){if(Vp){var t;for(Qo=new ae.Buf32(512),ef=new ae.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(fn(Yp,e.lens,0,288,Qo,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;fn(Kp,e.lens,0,32,ef,0,e.work,{bits:5}),Vp=!1}e.lencode=Qo,e.lenbits=9,e.distcode=ef,e.distbits=5}function nd(e,t,r,n){var i,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new ae.Buf8(a.wsize)),n>=a.wsize?(ae.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>n&&(i=n),ae.arraySet(a.window,t,r-n,i,a.wnext),n-=i,n?(ae.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}function qE(e,t){var r,n,i,a,o,f,s,u,l,c,p,h,y,g,m=0,w,N,x,T,b,R,I,S,L=new ae.Buf8(4),G,O,ge=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return ye;r=e.state,r.mode===je&&(r.mode=Ko),o=e.next_out,i=e.output,s=e.avail_out,a=e.next_in,n=e.input,f=e.avail_in,u=r.hold,l=r.bits,c=f,p=s,S=At;e:for(;;)switch(r.mode){case Jp:if(r.wrap===0){r.mode=Ko;break}for(;l<16;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}if(r.wrap&2&&u===35615){r.check=0,L[0]=u&255,L[1]=u>>>8&255,r.check=Ne(r.check,L,2,0),u=0,l=0,r.mode=Rp;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=z;break}if((u&15)!==xp){e.msg="unknown compression method",r.mode=z;break}if(u>>>=4,l-=4,I=(u&15)+8,r.wbits===0)r.wbits=I;else if(I>r.wbits){e.msg="invalid window size",r.mode=z;break}r.dmax=1<<I,e.adler=r.check=1,r.mode=u&512?Lp:je,u=0,l=0;break;case Rp:for(;l<16;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}if(r.flags=u,(r.flags&255)!==xp){e.msg="unknown compression method",r.mode=z;break}if(r.flags&57344){e.msg="unknown header flags set",r.mode=z;break}r.head&&(r.head.text=u>>8&1),r.flags&512&&(L[0]=u&255,L[1]=u>>>8&255,r.check=Ne(r.check,L,2,0)),u=0,l=0,r.mode=Op;case Op:for(;l<32;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}r.head&&(r.head.time=u),r.flags&512&&(L[0]=u&255,L[1]=u>>>8&255,L[2]=u>>>16&255,L[3]=u>>>24&255,r.check=Ne(r.check,L,4,0)),u=0,l=0,r.mode=Tp;case Tp:for(;l<16;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}r.head&&(r.head.xflags=u&255,r.head.os=u>>8),r.flags&512&&(L[0]=u&255,L[1]=u>>>8&255,r.check=Ne(r.check,L,2,0)),u=0,l=0,r.mode=Ip;case Ip:if(r.flags&1024){for(;l<16;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}r.length=u,r.head&&(r.head.extra_len=u),r.flags&512&&(L[0]=u&255,L[1]=u>>>8&255,r.check=Ne(r.check,L,2,0)),u=0,l=0}else r.head&&(r.head.extra=null);r.mode=Pp;case Pp:if(r.flags&1024&&(h=r.length,h>f&&(h=f),h&&(r.head&&(I=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),ae.arraySet(r.head.extra,n,a,h,I)),r.flags&512&&(r.check=Ne(r.check,n,h,a)),f-=h,a+=h,r.length-=h),r.length))break e;r.length=0,r.mode=Np;case Np:if(r.flags&2048){if(f===0)break e;h=0;do I=n[a+h++],r.head&&I&&r.length<65536&&(r.head.name+=String.fromCharCode(I));while(I&&h<f);if(r.flags&512&&(r.check=Ne(r.check,n,h,a)),f-=h,a+=h,I)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=Fp;case Fp:if(r.flags&4096){if(f===0)break e;h=0;do I=n[a+h++],r.head&&I&&r.length<65536&&(r.head.comment+=String.fromCharCode(I));while(I&&h<f);if(r.flags&512&&(r.check=Ne(r.check,n,h,a)),f-=h,a+=h,I)break e}else r.head&&(r.head.comment=null);r.mode=Bp;case Bp:if(r.flags&512){for(;l<16;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}if(u!==(r.check&65535)){e.msg="header crc mismatch",r.mode=z;break}u=0,l=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=je;break;case Lp:for(;l<32;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}e.adler=r.check=Hp(u),u=0,l=0,r.mode=Ui;case Ui:if(r.havedict===0)return e.next_out=o,e.avail_out=s,e.next_in=a,e.avail_in=f,r.hold=u,r.bits=l,PE;e.adler=r.check=1,r.mode=je;case je:if(t===TE||t===ji)break e;case Ko:if(r.last){u>>>=l&7,l-=l&7,r.mode=Jo;break}for(;l<3;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}switch(r.last=u&1,u>>>=1,l-=1,u&3){case 0:r.mode=kp;break;case 1:if(UE(r),r.mode=Di,t===ji){u>>>=2,l-=2;break e}break;case 2:r.mode=Dp;break;case 3:e.msg="invalid block type",r.mode=z}u>>>=2,l-=2;break;case kp:for(u>>>=l&7,l-=l&7;l<32;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",r.mode=z;break}if(r.length=u&65535,u=0,l=0,r.mode=Xo,t===ji)break e;case Xo:r.mode=jp;case jp:if(h=r.length,h){if(h>f&&(h=f),h>s&&(h=s),h===0)break e;ae.arraySet(i,n,a,h,o),f-=h,a+=h,s-=h,o+=h,r.length-=h;break}r.mode=je;break;case Dp:for(;l<14;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}if(r.nlen=(u&31)+257,u>>>=5,l-=5,r.ndist=(u&31)+1,u>>>=5,l-=5,r.ncode=(u&15)+4,u>>>=4,l-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=z;break}r.have=0,r.mode=Mp;case Mp:for(;r.have<r.ncode;){for(;l<3;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}r.lens[ge[r.have++]]=u&7,u>>>=3,l-=3}for(;r.have<19;)r.lens[ge[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,G={bits:r.lenbits},S=fn(OE,r.lens,0,19,r.lencode,0,r.work,G),r.lenbits=G.bits,S){e.msg="invalid code lengths set",r.mode=z;break}r.have=0,r.mode=Up;case Up:for(;r.have<r.nlen+r.ndist;){for(;m=r.lencode[u&(1<<r.lenbits)-1],w=m>>>24,N=m>>>16&255,x=m&65535,!(w<=l);){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}if(x<16)u>>>=w,l-=w,r.lens[r.have++]=x;else{if(x===16){for(O=w+2;l<O;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}if(u>>>=w,l-=w,r.have===0){e.msg="invalid bit length repeat",r.mode=z;break}I=r.lens[r.have-1],h=3+(u&3),u>>>=2,l-=2}else if(x===17){for(O=w+3;l<O;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}u>>>=w,l-=w,I=0,h=3+(u&7),u>>>=3,l-=3}else{for(O=w+7;l<O;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}u>>>=w,l-=w,I=0,h=11+(u&127),u>>>=7,l-=7}if(r.have+h>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=z;break}for(;h--;)r.lens[r.have++]=I}}if(r.mode===z)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=z;break}if(r.lenbits=9,G={bits:r.lenbits},S=fn(Yp,r.lens,0,r.nlen,r.lencode,0,r.work,G),r.lenbits=G.bits,S){e.msg="invalid literal/lengths set",r.mode=z;break}if(r.distbits=6,r.distcode=r.distdyn,G={bits:r.distbits},S=fn(Kp,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,G),r.distbits=G.bits,S){e.msg="invalid distances set",r.mode=z;break}if(r.mode=Di,t===ji)break e;case Di:r.mode=Mi;case Mi:if(f>=6&&s>=258){e.next_out=o,e.avail_out=s,e.next_in=a,e.avail_in=f,r.hold=u,r.bits=l,RE(e,p),o=e.next_out,i=e.output,s=e.avail_out,a=e.next_in,n=e.input,f=e.avail_in,u=r.hold,l=r.bits,r.mode===je&&(r.back=-1);break}for(r.back=0;m=r.lencode[u&(1<<r.lenbits)-1],w=m>>>24,N=m>>>16&255,x=m&65535,!(w<=l);){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}if(N&&(N&240)===0){for(T=w,b=N,R=x;m=r.lencode[R+((u&(1<<T+b)-1)>>T)],w=m>>>24,N=m>>>16&255,x=m&65535,!(T+w<=l);){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}u>>>=T,l-=T,r.back+=T}if(u>>>=w,l-=w,r.back+=w,r.length=x,N===0){r.mode=Wp;break}if(N&32){r.back=-1,r.mode=je;break}if(N&64){e.msg="invalid literal/length code",r.mode=z;break}r.extra=N&15,r.mode=qp;case qp:if(r.extra){for(O=r.extra;l<O;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}r.length+=u&(1<<r.extra)-1,u>>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Cp;case Cp:for(;m=r.distcode[u&(1<<r.distbits)-1],w=m>>>24,N=m>>>16&255,x=m&65535,!(w<=l);){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}if((N&240)===0){for(T=w,b=N,R=x;m=r.distcode[R+((u&(1<<T+b)-1)>>T)],w=m>>>24,N=m>>>16&255,x=m&65535,!(T+w<=l);){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}u>>>=T,l-=T,r.back+=T}if(u>>>=w,l-=w,r.back+=w,N&64){e.msg="invalid distance code",r.mode=z;break}r.offset=x,r.extra=N&15,r.mode=zp;case zp:if(r.extra){for(O=r.extra;l<O;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}r.offset+=u&(1<<r.extra)-1,u>>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=z;break}r.mode=Zp;case Zp:if(s===0)break e;if(h=p-s,r.offset>h){if(h=r.offset-h,h>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=z;break}h>r.wnext?(h-=r.wnext,y=r.wsize-h):y=r.wnext-h,h>r.length&&(h=r.length),g=r.window}else g=i,y=o-r.offset,h=r.length;h>s&&(h=s),s-=h,r.length-=h;do i[o++]=g[y++];while(--h);r.length===0&&(r.mode=Mi);break;case Wp:if(s===0)break e;i[o++]=r.length,s--,r.mode=Mi;break;case Jo:if(r.wrap){for(;l<32;){if(f===0)break e;f--,u|=n[a++]<<l,l+=8}if(p-=s,e.total_out+=p,r.total+=p,p&&(e.adler=r.check=r.flags?Ne(r.check,i,p,o-p):tf(r.check,i,p,o-p)),p=s,(r.flags?u:Hp(u))!==r.check){e.msg="incorrect data check",r.mode=z;break}u=0,l=0}r.mode=Gp;case Gp:if(r.wrap&&r.flags){for(;l<32;){if(f===0)break e;f--,u+=n[a++]<<l,l+=8}if(u!==(r.total&4294967295)){e.msg="incorrect length check",r.mode=z;break}u=0,l=0}r.mode=$p;case $p:S=IE;break e;case z:S=Xp;break e;case nf:return rf;case FE:default:return ye}return e.next_out=o,e.avail_out=s,e.next_in=a,e.avail_in=f,r.hold=u,r.bits=l,(r.wsize||p!==e.avail_out&&r.mode<z&&(r.mode<Jo||t!==Ap))&&nd(e,e.output,e.next_out,p-e.avail_out)?(r.mode=nf,rf):(c-=e.avail_in,p-=e.avail_out,e.total_in+=c,e.total_out+=p,r.total+=p,r.wrap&&p&&(e.adler=r.check=r.flags?Ne(r.check,i,p,e.next_out-p):tf(r.check,i,p,e.next_out-p)),e.data_type=r.bits+(r.last?64:0)+(r.mode===je?128:0)+(r.mode===Di||r.mode===Xo?256:0),(c===0&&p===0||t===Ap)&&S===At&&(S=NE),S)}function CE(e){if(!e||!e.state)return ye;var t=e.state;return t.window&&(t.window=null),e.state=null,At}function zE(e,t){var r;return!e||!e.state||(r=e.state,(r.wrap&2)===0)?ye:(r.head=t,t.done=!1,At)}function ZE(e,t){var r=t.length,n,i,a;return!e||!e.state||(n=e.state,n.wrap!==0&&n.mode!==Ui)?ye:n.mode===Ui&&(i=1,i=tf(i,t,r,0),i!==n.check)?Xp:(a=nd(e,t,r,r),a?(n.mode=nf,rf):(n.havedict=1,At))}me.inflateReset=ed;me.inflateReset2=td;me.inflateResetKeep=Qp;me.inflateInit=ME;me.inflateInit2=rd;me.inflate=qE;me.inflateEnd=CE;me.inflateGetHeader=zE;me.inflateSetDictionary=ZE;me.inflateInfo="pako inflate (from Nodeca project)"});var od=_((T1,ad)=>{"use strict";ad.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var ud=_(v=>{"use strict";var oe=Lr(),WE=Fh(),un=dp(),xt=id(),fd=od();for(af in fd)v[af]=fd[af];var af;v.NONE=0;v.DEFLATE=1;v.INFLATE=2;v.GZIP=3;v.GUNZIP=4;v.DEFLATERAW=5;v.INFLATERAW=6;v.UNZIP=7;var GE=31,$E=139;function J(e){if(typeof e!="number"||e<v.DEFLATE||e>v.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}J.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,oe(this.init_done,"close before init"),oe(this.mode<=v.UNZIP),this.mode===v.DEFLATE||this.mode===v.GZIP||this.mode===v.DEFLATERAW?un.deflateEnd(this.strm):(this.mode===v.INFLATE||this.mode===v.GUNZIP||this.mode===v.INFLATERAW||this.mode===v.UNZIP)&&xt.inflateEnd(this.strm),this.mode=v.NONE,this.dictionary=null};J.prototype.write=function(e,t,r,n,i,a,o){return this._write(!0,e,t,r,n,i,a,o)};J.prototype.writeSync=function(e,t,r,n,i,a,o){return this._write(!1,e,t,r,n,i,a,o)};J.prototype._write=function(e,t,r,n,i,a,o,f){if(oe.equal(arguments.length,8),oe(this.init_done,"write before init"),oe(this.mode!==v.NONE,"already finalized"),oe.equal(!1,this.write_in_progress,"write already in progress"),oe.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,oe.equal(!1,t===void 0,"must provide flush value"),this.write_in_progress=!0,t!==v.Z_NO_FLUSH&&t!==v.Z_PARTIAL_FLUSH&&t!==v.Z_SYNC_FLUSH&&t!==v.Z_FULL_FLUSH&&t!==v.Z_FINISH&&t!==v.Z_BLOCK)throw new Error("Invalid flush value");if(r==null&&(r=Buffer.alloc(0),i=0,n=0),this.strm.avail_in=i,this.strm.input=r,this.strm.next_in=n,this.strm.avail_out=f,this.strm.output=a,this.strm.next_out=o,this.flush=t,!e)return this._process(),this._checkError()?this._afterSync():void 0;var s=this;return process.nextTick(function(){s._process(),s._after()}),this};J.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]};J.prototype._process=function(){var e=null;switch(this.mode){case v.DEFLATE:case v.GZIP:case v.DEFLATERAW:this.err=un.deflate(this.strm,this.flush);break;case v.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(e===null)break;if(this.strm.input[e]===GE){if(this.gzip_id_bytes_read=1,e++,this.strm.avail_in===1)break}else{this.mode=v.INFLATE;break}case 1:if(e===null)break;this.strm.input[e]===$E?(this.gzip_id_bytes_read=2,this.mode=v.GUNZIP):this.mode=v.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case v.INFLATE:case v.GUNZIP:case v.INFLATERAW:for(this.err=xt.inflate(this.strm,this.flush),this.err===v.Z_NEED_DICT&&this.dictionary&&(this.err=xt.inflateSetDictionary(this.strm,this.dictionary),this.err===v.Z_OK?this.err=xt.inflate(this.strm,this.flush):this.err===v.Z_DATA_ERROR&&(this.err=v.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===v.GUNZIP&&this.err===v.Z_STREAM_END&&this.strm.next_in[0]!==0;)this.reset(),this.err=xt.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}};J.prototype._checkError=function(){switch(this.err){case v.Z_OK:case v.Z_BUF_ERROR:if(this.strm.avail_out!==0&&this.flush===v.Z_FINISH)return this._error("unexpected end of file"),!1;break;case v.Z_STREAM_END:break;case v.Z_NEED_DICT:return this.dictionary==null?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0};J.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}};J.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()};J.prototype.init=function(e,t,r,n,i){oe(arguments.length===4||arguments.length===5,"init(windowBits, level, memLevel, strategy, [dictionary])"),oe(e>=8&&e<=15,"invalid windowBits"),oe(t>=-1&&t<=9,"invalid compression level"),oe(r>=1&&r<=9,"invalid memlevel"),oe(n===v.Z_FILTERED||n===v.Z_HUFFMAN_ONLY||n===v.Z_RLE||n===v.Z_FIXED||n===v.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(t,e,r,n,i),this._setDictionary()};J.prototype.params=function(){throw new Error("deflateParams Not supported")};J.prototype.reset=function(){this._reset(),this._setDictionary()};J.prototype._init=function(e,t,r,n,i){switch(this.level=e,this.windowBits=t,this.memLevel=r,this.strategy=n,this.flush=v.Z_NO_FLUSH,this.err=v.Z_OK,(this.mode===v.GZIP||this.mode===v.GUNZIP)&&(this.windowBits+=16),this.mode===v.UNZIP&&(this.windowBits+=32),(this.mode===v.DEFLATERAW||this.mode===v.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new WE,this.mode){case v.DEFLATE:case v.GZIP:case v.DEFLATERAW:this.err=un.deflateInit2(this.strm,this.level,v.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case v.INFLATE:case v.GUNZIP:case v.INFLATERAW:case v.UNZIP:this.err=xt.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==v.Z_OK&&this._error("Init error"),this.dictionary=i,this.write_in_progress=!1,this.init_done=!0};J.prototype._setDictionary=function(){if(this.dictionary!=null){switch(this.err=v.Z_OK,this.mode){case v.DEFLATE:case v.DEFLATERAW:this.err=un.deflateSetDictionary(this.strm,this.dictionary);break;default:break}this.err!==v.Z_OK&&this._error("Failed to set dictionary")}};J.prototype._reset=function(){switch(this.err=v.Z_OK,this.mode){case v.DEFLATE:case v.DEFLATERAW:case v.GZIP:this.err=un.deflateReset(this.strm);break;case v.INFLATE:case v.INFLATERAW:case v.GUNZIP:this.err=xt.inflateReset(this.strm);break;default:break}this.err!==v.Z_OK&&this._error("Failed to reset stream")};v.Zlib=J});var uf=_(E=>{"use strict";var Fe=nt().Buffer,hd=Wu().Transform,A=ud(),et=yt(),ln=Lr().ok,ff=nt().kMaxLength,pd="Cannot create final Buffer. It would be larger than 0x"+ff.toString(16)+" bytes";A.Z_MIN_WINDOWBITS=8;A.Z_MAX_WINDOWBITS=15;A.Z_DEFAULT_WINDOWBITS=15;A.Z_MIN_CHUNK=64;A.Z_MAX_CHUNK=1/0;A.Z_DEFAULT_CHUNK=16*1024;A.Z_MIN_MEMLEVEL=1;A.Z_MAX_MEMLEVEL=9;A.Z_DEFAULT_MEMLEVEL=8;A.Z_MIN_LEVEL=-1;A.Z_MAX_LEVEL=9;A.Z_DEFAULT_LEVEL=A.Z_DEFAULT_COMPRESSION;var ld=Object.keys(A);for(qi=0;qi<ld.length;qi++)Ci=ld[qi],Ci.match(/^Z/)&&Object.defineProperty(E,Ci,{enumerable:!0,value:A[Ci],writable:!1});var Ci,qi,Zi={Z_OK:A.Z_OK,Z_STREAM_END:A.Z_STREAM_END,Z_NEED_DICT:A.Z_NEED_DICT,Z_ERRNO:A.Z_ERRNO,Z_STREAM_ERROR:A.Z_STREAM_ERROR,Z_DATA_ERROR:A.Z_DATA_ERROR,Z_MEM_ERROR:A.Z_MEM_ERROR,Z_BUF_ERROR:A.Z_BUF_ERROR,Z_VERSION_ERROR:A.Z_VERSION_ERROR},sd=Object.keys(Zi);for(zi=0;zi<sd.length;zi++)of=sd[zi],Zi[Zi[of]]=of;var of,zi;Object.defineProperty(E,"codes",{enumerable:!0,value:Object.freeze(Zi),writable:!1});E.Deflate=Rt;E.Inflate=Ot;E.Gzip=Tt;E.Gunzip=It;E.DeflateRaw=Pt;E.InflateRaw=Nt;E.Unzip=Ft;E.createDeflate=function(e){return new Rt(e)};E.createInflate=function(e){return new Ot(e)};E.createDeflateRaw=function(e){return new Pt(e)};E.createInflateRaw=function(e){return new Nt(e)};E.createGzip=function(e){return new Tt(e)};E.createGunzip=function(e){return new It(e)};E.createUnzip=function(e){return new Ft(e)};E.deflate=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Bt(new Rt(t),e,r)};E.deflateSync=function(e,t){return Lt(new Rt(t),e)};E.gzip=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Bt(new Tt(t),e,r)};E.gzipSync=function(e,t){return Lt(new Tt(t),e)};E.deflateRaw=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Bt(new Pt(t),e,r)};E.deflateRawSync=function(e,t){return Lt(new Pt(t),e)};E.unzip=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Bt(new Ft(t),e,r)};E.unzipSync=function(e,t){return Lt(new Ft(t),e)};E.inflate=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Bt(new Ot(t),e,r)};E.inflateSync=function(e,t){return Lt(new Ot(t),e)};E.gunzip=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Bt(new It(t),e,r)};E.gunzipSync=function(e,t){return Lt(new It(t),e)};E.inflateRaw=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Bt(new Nt(t),e,r)};E.inflateRawSync=function(e,t){return Lt(new Nt(t),e)};function Bt(e,t,r){var n=[],i=0;e.on("error",o),e.on("end",f),e.end(t),a();function a(){for(var s;(s=e.read())!==null;)n.push(s),i+=s.length;e.once("readable",a)}function o(s){e.removeListener("end",f),e.removeListener("readable",a),r(s)}function f(){var s,u=null;i>=ff?u=new RangeError(pd):s=Fe.concat(n,i),n=[],e.close(),r(u,s)}}function Lt(e,t){if(typeof t=="string"&&(t=Fe.from(t)),!Fe.isBuffer(t))throw new TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(t,r)}function Rt(e){if(!(this instanceof Rt))return new Rt(e);W.call(this,e,A.DEFLATE)}function Ot(e){if(!(this instanceof Ot))return new Ot(e);W.call(this,e,A.INFLATE)}function Tt(e){if(!(this instanceof Tt))return new Tt(e);W.call(this,e,A.GZIP)}function It(e){if(!(this instanceof It))return new It(e);W.call(this,e,A.GUNZIP)}function Pt(e){if(!(this instanceof Pt))return new Pt(e);W.call(this,e,A.DEFLATERAW)}function Nt(e){if(!(this instanceof Nt))return new Nt(e);W.call(this,e,A.INFLATERAW)}function Ft(e){if(!(this instanceof Ft))return new Ft(e);W.call(this,e,A.UNZIP)}function cd(e){return e===A.Z_NO_FLUSH||e===A.Z_PARTIAL_FLUSH||e===A.Z_SYNC_FLUSH||e===A.Z_FULL_FLUSH||e===A.Z_FINISH||e===A.Z_BLOCK}function W(e,t){var r=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||E.Z_DEFAULT_CHUNK,hd.call(this,e),e.flush&&!cd(e.flush))throw new Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!cd(e.finishFlush))throw new Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||A.Z_NO_FLUSH,this._finishFlushFlag=typeof e.finishFlush<"u"?e.finishFlush:A.Z_FINISH,e.chunkSize&&(e.chunkSize<E.Z_MIN_CHUNK||e.chunkSize>E.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBits<E.Z_MIN_WINDOWBITS||e.windowBits>E.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.level<E.Z_MIN_LEVEL||e.level>E.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevel<E.Z_MIN_MEMLEVEL||e.memLevel>E.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=E.Z_FILTERED&&e.strategy!=E.Z_HUFFMAN_ONLY&&e.strategy!=E.Z_RLE&&e.strategy!=E.Z_FIXED&&e.strategy!=E.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!Fe.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new A.Zlib(t);var n=this;this._hadError=!1,this._handle.onerror=function(o,f){Wi(n),n._hadError=!0;var s=new Error(o);s.errno=f,s.code=E.codes[f],n.emit("error",s)};var i=E.Z_DEFAULT_COMPRESSION;typeof e.level=="number"&&(i=e.level);var a=E.Z_DEFAULT_STRATEGY;typeof e.strategy=="number"&&(a=e.strategy),this._handle.init(e.windowBits||E.Z_DEFAULT_WINDOWBITS,i,e.memLevel||E.Z_DEFAULT_MEMLEVEL,a,e.dictionary),this._buffer=Fe.allocUnsafe(this._chunkSize),this._offset=0,this._level=i,this._strategy=a,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!r._handle},configurable:!0,enumerable:!0})}et.inherits(W,hd);W.prototype.params=function(e,t,r){if(e<E.Z_MIN_LEVEL||e>E.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(t!=E.Z_FILTERED&&t!=E.Z_HUFFMAN_ONLY&&t!=E.Z_RLE&&t!=E.Z_FIXED&&t!=E.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+t);if(this._level!==e||this._strategy!==t){var n=this;this.flush(A.Z_SYNC_FLUSH,function(){ln(n._handle,"zlib binding closed"),n._handle.params(e,t),n._hadError||(n._level=e,n._strategy=t,r&&r())})}else process.nextTick(r)};W.prototype.reset=function(){return ln(this._handle,"zlib binding closed"),this._handle.reset()};W.prototype._flush=function(e){this._transform(Fe.alloc(0),"",e)};W.prototype.flush=function(e,t){var r=this,n=this._writableState;(typeof e=="function"||e===void 0&&!t)&&(t=e,e=A.Z_FULL_FLUSH),n.ended?t&&process.nextTick(t):n.ending?t&&this.once("end",t):n.needDrain?t&&this.once("drain",function(){return r.flush(e,t)}):(this._flushFlag=e,this.write(Fe.alloc(0),"",t))};W.prototype.close=function(e){Wi(this,e),process.nextTick(HE,this)};function Wi(e,t){t&&process.nextTick(t),e._handle&&(e._handle.close(),e._handle=null)}function HE(e){e.emit("close")}W.prototype._transform=function(e,t,r){var n,i=this._writableState,a=i.ending||i.ended,o=a&&(!e||i.length===e.length);if(e!==null&&!Fe.isBuffer(e))return r(new Error("invalid input"));if(!this._handle)return r(new Error("zlib binding closed"));o?n=this._finishFlushFlag:(n=this._flushFlag,e.length>=i.length&&(this._flushFlag=this._opts.flush||A.Z_NO_FLUSH)),this._processChunk(e,n,r)};W.prototype._processChunk=function(e,t,r){var n=e&&e.length,i=this._chunkSize-this._offset,a=0,o=this,f=typeof r=="function";if(!f){var s=[],u=0,l;this.on("error",function(g){l=g}),ln(this._handle,"zlib binding closed");do var c=this._handle.writeSync(t,e,a,n,this._buffer,this._offset,i);while(!this._hadError&&y(c[0],c[1]));if(this._hadError)throw l;if(u>=ff)throw Wi(this),new RangeError(pd);var p=Fe.concat(s,u);return Wi(this),p}ln(this._handle,"zlib binding closed");var h=this._handle.write(t,e,a,n,this._buffer,this._offset,i);h.buffer=e,h.callback=y;function y(g,m){if(this&&(this.buffer=null,this.callback=null),!o._hadError){var w=i-m;if(ln(w>=0,"have should not go down"),w>0){var N=o._buffer.slice(o._offset,o._offset+w);o._offset+=w,f?o.push(N):(s.push(N),u+=N.length)}if((m===0||o._offset>=o._chunkSize)&&(i=o._chunkSize,o._offset=0,o._buffer=Fe.allocUnsafe(o._chunkSize)),m===0){if(a+=n-g,n=g,!f)return!0;var x=o._handle.write(t,e,a,n,o._buffer,o._offset,o._chunkSize);x.callback=y,x.buffer=e;return}if(!f)return!1;r()}}};et.inherits(Rt,W);et.inherits(Ot,W);et.inherits(Tt,W);et.inherits(It,W);et.inherits(Pt,W);et.inherits(Nt,W);et.inherits(Ft,W)});var yr={};wd(yr,{default:()=>VE});module.exports=Ed(yr);var dd=cf(uf());gr(yr,cf(uf()),module.exports);var VE=dd.default;
|
|
2
|
+
/*! Bundled license information:
|
|
3
|
+
|
|
4
|
+
ieee754/index.js:
|
|
5
|
+
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
6
|
+
|
|
7
|
+
buffer/index.js:
|
|
8
|
+
(*!
|
|
9
|
+
* The buffer module from node.js, for the browser.
|
|
10
|
+
*
|
|
11
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
12
|
+
* @license MIT
|
|
13
|
+
*)
|
|
14
|
+
|
|
15
|
+
safe-buffer/index.js:
|
|
16
|
+
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
17
|
+
|
|
18
|
+
assert/build/internal/util/comparisons.js:
|
|
19
|
+
(*!
|
|
20
|
+
* The buffer module from node.js, for the browser.
|
|
21
|
+
*
|
|
22
|
+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
23
|
+
* @license MIT
|
|
24
|
+
*)
|
|
25
|
+
*/
|