@frames.js/debugger
Version:
Debug your Frames.js applications
1 lines • 320 kB
JavaScript
exports.id=6409,exports.ids=[6409],exports.modules={19337:(p,e,d)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=d(64165);function m(p,e,d){return void 0===e&&(e=new Uint8Array(2)),void 0===d&&(d=0),e[d+0]=p>>>8,e[d+1]=p>>>0,e}function l(p,e,d){return void 0===e&&(e=new Uint8Array(2)),void 0===d&&(d=0),e[d+0]=p>>>0,e[d+1]=p>>>8,e}function i(p,e){return void 0===e&&(e=0),p[e]<<24|p[e+1]<<16|p[e+2]<<8|p[e+3]}function t(p,e){return void 0===e&&(e=0),(p[e]<<24|p[e+1]<<16|p[e+2]<<8|p[e+3])>>>0}function s(p,e){return void 0===e&&(e=0),p[e+3]<<24|p[e+2]<<16|p[e+1]<<8|p[e]}function r(p,e){return void 0===e&&(e=0),(p[e+3]<<24|p[e+2]<<16|p[e+1]<<8|p[e])>>>0}function o(p,e,d){return void 0===e&&(e=new Uint8Array(4)),void 0===d&&(d=0),e[d+0]=p>>>24,e[d+1]=p>>>16,e[d+2]=p>>>8,e[d+3]=p>>>0,e}function v(p,e,d){return void 0===e&&(e=new Uint8Array(4)),void 0===d&&(d=0),e[d+0]=p>>>0,e[d+1]=p>>>8,e[d+2]=p>>>16,e[d+3]=p>>>24,e}function n(p,e,d){return void 0===e&&(e=new Uint8Array(8)),void 0===d&&(d=0),o(p/4294967296>>>0,e,d),o(p>>>0,e,d+4),e}function u(p,e,d){return void 0===e&&(e=new Uint8Array(8)),void 0===d&&(d=0),v(p>>>0,e,d),v(p/4294967296>>>0,e,d+4),e}e.readInt16BE=function(p,e){return void 0===e&&(e=0),(p[e+0]<<8|p[e+1])<<16>>16},e.readUint16BE=function(p,e){return void 0===e&&(e=0),(p[e+0]<<8|p[e+1])>>>0},e.readInt16LE=function(p,e){return void 0===e&&(e=0),(p[e+1]<<8|p[e])<<16>>16},e.readUint16LE=function(p,e){return void 0===e&&(e=0),(p[e+1]<<8|p[e])>>>0},e.writeUint16BE=m,e.writeInt16BE=m,e.writeUint16LE=l,e.writeInt16LE=l,e.readInt32BE=i,e.readUint32BE=t,e.readInt32LE=s,e.readUint32LE=r,e.writeUint32BE=o,e.writeInt32BE=o,e.writeUint32LE=v,e.writeInt32LE=v,e.readInt64BE=function(p,e){void 0===e&&(e=0);var d=i(p,e),a=i(p,e+4);return 4294967296*d+a-(a>>31)*4294967296},e.readUint64BE=function(p,e){return void 0===e&&(e=0),4294967296*t(p,e)+t(p,e+4)},e.readInt64LE=function(p,e){void 0===e&&(e=0);var d=s(p,e);return 4294967296*s(p,e+4)+d-(d>>31)*4294967296},e.readUint64LE=function(p,e){void 0===e&&(e=0);var d=r(p,e);return 4294967296*r(p,e+4)+d},e.writeUint64BE=n,e.writeInt64BE=n,e.writeUint64LE=u,e.writeInt64LE=u,e.readUintBE=function(p,e,d){if(void 0===d&&(d=0),p%8!=0)throw Error("readUintBE supports only bitLengths divisible by 8");if(p/8>e.length-d)throw Error("readUintBE: array is too short for the given bitLength");for(var a=0,m=1,l=p/8+d-1;l>=d;l--)a+=e[l]*m,m*=256;return a},e.readUintLE=function(p,e,d){if(void 0===d&&(d=0),p%8!=0)throw Error("readUintLE supports only bitLengths divisible by 8");if(p/8>e.length-d)throw Error("readUintLE: array is too short for the given bitLength");for(var a=0,m=1,l=d;l<d+p/8;l++)a+=e[l]*m,m*=256;return a},e.writeUintBE=function(p,e,d,m){if(void 0===d&&(d=new Uint8Array(p/8)),void 0===m&&(m=0),p%8!=0)throw Error("writeUintBE supports only bitLengths divisible by 8");if(!a.isSafeInteger(e))throw Error("writeUintBE value must be an integer");for(var l=1,i=p/8+m-1;i>=m;i--)d[i]=e/l&255,l*=256;return d},e.writeUintLE=function(p,e,d,m){if(void 0===d&&(d=new Uint8Array(p/8)),void 0===m&&(m=0),p%8!=0)throw Error("writeUintLE supports only bitLengths divisible by 8");if(!a.isSafeInteger(e))throw Error("writeUintLE value must be an integer");for(var l=1,i=m;i<m+p/8;i++)d[i]=e/l&255,l*=256;return d},e.readFloat32BE=function(p,e){return void 0===e&&(e=0),new DataView(p.buffer,p.byteOffset,p.byteLength).getFloat32(e)},e.readFloat32LE=function(p,e){return void 0===e&&(e=0),new DataView(p.buffer,p.byteOffset,p.byteLength).getFloat32(e,!0)},e.readFloat64BE=function(p,e){return void 0===e&&(e=0),new DataView(p.buffer,p.byteOffset,p.byteLength).getFloat64(e)},e.readFloat64LE=function(p,e){return void 0===e&&(e=0),new DataView(p.buffer,p.byteOffset,p.byteLength).getFloat64(e,!0)},e.writeFloat32BE=function(p,e,d){return void 0===e&&(e=new Uint8Array(4)),void 0===d&&(d=0),new DataView(e.buffer,e.byteOffset,e.byteLength).setFloat32(d,p),e},e.writeFloat32LE=function(p,e,d){return void 0===e&&(e=new Uint8Array(4)),void 0===d&&(d=0),new DataView(e.buffer,e.byteOffset,e.byteLength).setFloat32(d,p,!0),e},e.writeFloat64BE=function(p,e,d){return void 0===e&&(e=new Uint8Array(8)),void 0===d&&(d=0),new DataView(e.buffer,e.byteOffset,e.byteLength).setFloat64(d,p),e},e.writeFloat64LE=function(p,e,d){return void 0===e&&(e=new Uint8Array(8)),void 0===d&&(d=0),new DataView(e.buffer,e.byteOffset,e.byteLength).setFloat64(d,p,!0),e}},64165:(p,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mul=Math.imul||function(p,e){var d=65535&p,a=65535&e;return d*a+((p>>>16&65535)*a+d*(e>>>16&65535)<<16>>>0)|0},e.add=function(p,e){return p+e|0},e.sub=function(p,e){return p-e|0},e.rotl=function(p,e){return p<<e|p>>>32-e},e.rotr=function(p,e){return p<<32-e|p>>>e},e.isInteger=Number.isInteger||function(p){return"number"==typeof p&&isFinite(p)&&Math.floor(p)===p},e.MAX_SAFE_INTEGER=9007199254740991,e.isSafeInteger=function(p){return e.isInteger(p)&&p>=-e.MAX_SAFE_INTEGER&&p<=e.MAX_SAFE_INTEGER}},80127:(p,e,d)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.randomStringForEntropy=e.randomString=e.randomUint32=e.randomBytes=e.defaultRandomSource=void 0;let a=d(35175),m=d(19337),l=d(79068);function i(p,d=e.defaultRandomSource){return d.randomBytes(p)}e.defaultRandomSource=new a.SystemRandomSource,e.randomBytes=i,e.randomUint32=function(p=e.defaultRandomSource){let d=i(4,p),a=(0,m.readUint32LE)(d);return(0,l.wipe)(d),a};let t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function s(p,d=t,a=e.defaultRandomSource){if(d.length<2)throw Error("randomString charset is too short");if(d.length>256)throw Error("randomString charset is too long");let m="",s=d.length,r=256-256%s;for(;p>0;){let e=i(Math.ceil(256*p/r),a);for(let a=0;a<e.length&&p>0;a++){let l=e[a];l<r&&(m+=d.charAt(l%s),p--)}(0,l.wipe)(e)}return m}e.randomString=s,e.randomStringForEntropy=function(p,d=t,a=e.defaultRandomSource){return s(Math.ceil(p/(Math.log(d.length)/Math.LN2)),d,a)}},25221:(p,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserRandomSource=void 0;class d{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let p="undefined"!=typeof self?self.crypto||self.msCrypto:null;p&&void 0!==p.getRandomValues&&(this._crypto=p,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(p){if(!this.isAvailable||!this._crypto)throw Error("Browser random byte generator is not available.");let e=new Uint8Array(p);for(let p=0;p<e.length;p+=65536)this._crypto.getRandomValues(e.subarray(p,p+Math.min(e.length-p,65536)));return e}}e.BrowserRandomSource=d},37460:(p,e,d)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NodeRandomSource=void 0;let a=d(79068);class m{constructor(){this.isAvailable=!1,this.isInstantiated=!1;{let p=d(6113);p&&p.randomBytes&&(this._crypto=p,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(p){if(!this.isAvailable||!this._crypto)throw Error("Node.js random byte generator is not available.");let e=this._crypto.randomBytes(p);if(e.length!==p)throw Error("NodeRandomSource: got fewer bytes than requested");let d=new Uint8Array(p);for(let p=0;p<d.length;p++)d[p]=e[p];return(0,a.wipe)(e),d}}e.NodeRandomSource=m},35175:(p,e,d)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SystemRandomSource=void 0;let a=d(25221),m=d(37460);class l{constructor(){if(this.isAvailable=!1,this.name="",this._source=new a.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new m.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(p){if(!this.isAvailable)throw Error("System random byte generator is not available.");return this._source.randomBytes(p)}}e.SystemRandomSource=l},79068:(p,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wipe=function(p){for(var e=0;e<p.length;e++)p[e]=0;return p}},33320:p=>{"use strict";p.exports={mask:(p,e,d,a,m)=>{for(var l=0;l<m;l++)d[a+l]=p[l]^e[3&l]},unmask:(p,e)=>{let d=p.length;for(var a=0;a<d;a++)p[a]^=e[3&a]}}},42906:(p,e,d)=>{"use strict";try{p.exports=d(4314)(__dirname)}catch(e){p.exports=d(33320)}},43996:(p,e,d)=>{let a=d(71435),m=a.default||a,l=function(p,e){return/^\/\//.test(p)&&(p="https:"+p),m.call(this,p,e)};l.ponyfill=!0,p.exports=e=l,e.fetch=l,e.Headers=a.Headers,e.Request=a.Request,e.Response=a.Response,e.default=l},4314:(p,e,d)=>{let a=require;"function"==typeof a.addon?p.exports=a.addon.bind(a):p.exports=d(5677)},5677:(p,e,d)=>{var a=d(57147),m=d(71017),l=d(22037),i=require,t=process.config&&process.config.variables||{},s=!!process.env.PREBUILDS_ONLY,r=process.versions.modules,o=process.versions&&process.versions.electron||process.env.ELECTRON_RUN_AS_NODE||"undefined"!=typeof window&&window.process&&"renderer"===window.process.type?"electron":process.versions&&process.versions.nw?"node-webkit":"node",v=process.env.npm_config_arch||l.arch(),n=process.env.npm_config_platform||l.platform(),u=process.env.LIBC||("linux"===n&&a.existsSync("/etc/alpine-release")?"musl":"glibc"),w=process.env.ARM_VERSION||("arm64"===v?"8":t.arm_version)||"",h=(process.versions.uv||"").split(".")[0];function f(p){return i(f.resolve(p))}function c(p){try{return a.readdirSync(p)}catch(p){return[]}}function _(p,e){var d=c(p).filter(e);return d[0]&&m.join(p,d[0])}function N(p){return/\.node$/.test(p)}function V(p){var e=p.split("-");if(2===e.length){var d=e[0],a=e[1].split("+");if(d&&a.length&&a.every(Boolean))return{name:p,platform:d,architectures:a}}}function D(p,e){return function(d){return null!=d&&d.platform===p&&d.architectures.includes(e)}}function b(p,e){return p.architectures.length-e.architectures.length}function g(p){var e=p.split("."),d=e.pop(),a={file:p,specificity:0};if("node"===d){for(var m=0;m<e.length;m++){var l=e[m];if("node"===l||"electron"===l||"node-webkit"===l)a.runtime=l;else if("napi"===l)a.napi=!0;else if("abi"===l.slice(0,3))a.abi=l.slice(3);else if("uv"===l.slice(0,2))a.uv=l.slice(2);else if("armv"===l.slice(0,4))a.armv=l.slice(4);else{if("glibc"!==l&&"musl"!==l)continue;a.libc=l}a.specificity++}return a}}function S(p,e){return function(d){return null!=d&&(!d.runtime||d.runtime===p||!!("node"===d.runtime&&d.napi))&&(!d.abi||d.abi===e||!!d.napi)&&(!d.uv||d.uv===h)&&(!d.armv||d.armv===w)&&(!d.libc||d.libc===u)}}function y(p){return function(e,d){return e.runtime!==d.runtime?e.runtime===p?-1:1:e.abi!==d.abi?e.abi?-1:1:e.specificity!==d.specificity?e.specificity>d.specificity?-1:1:0}}p.exports=f,f.resolve=f.path=function(p){p=m.resolve(p||".");try{var e=i(m.join(p,"package.json")).name.toUpperCase().replace(/-/g,"_");process.env[e+"_PREBUILD"]&&(p=process.env[e+"_PREBUILD"])}catch(p){}if(!s){var d=_(m.join(p,"build/Release"),N);if(d)return d;var a=_(m.join(p,"build/Debug"),N);if(a)return a}var l=f(p);if(l)return l;var t=f(m.dirname(process.execPath));if(t)return t;throw Error("No native build was found for "+["platform="+n,"arch="+v,"runtime="+o,"abi="+r,"uv="+h,w?"armv="+w:"","libc="+u,"node="+process.versions.node,process.versions.electron?"electron="+process.versions.electron:"","webpack=true"].filter(Boolean).join(" ")+"\n loaded from: "+p+"\n");function f(p){var e=c(m.join(p,"prebuilds")).map(V).filter(D(n,v)).sort(b)[0];if(e){var d=m.join(p,"prebuilds",e.name),a=c(d).map(g).filter(S(o,r)).sort(y(o))[0];if(a)return m.join(d,a.file)}}},f.parseTags=g,f.matchTags=S,f.compareTags=y,f.parseTuple=V,f.matchTuple=D,f.compareTuples=b},51120:(p,e,d)=>{"use strict";var a=d(85477),m=d(67533),l={TRANSITIONAL:0,NONTRANSITIONAL:1};function i(p){return p.split("\x00").map(function(p){return p.normalize("NFC")}).join("\x00")}function t(p){for(var e=0,d=m.length-1;e<=d;){var a=Math.floor((e+d)/2),l=m[a];if(l[0][0]<=p&&l[0][1]>=p)return l;l[0][0]>p?d=a-1:e=a+1}return null}var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function r(p){return p.replace(s,"_").length}var o=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function v(p,e,d){var m=function(p,e,d){for(var a=!1,m="",i=r(p),s=0;s<i;++s){var o=p.codePointAt(s),v=t(o);switch(v[1]){case"disallowed":a=!0,m+=String.fromCodePoint(o);break;case"ignored":break;case"mapped":m+=String.fromCodePoint.apply(String,v[2]);break;case"deviation":d===l.TRANSITIONAL?m+=String.fromCodePoint.apply(String,v[2]):m+=String.fromCodePoint(o);break;case"valid":m+=String.fromCodePoint(o);break;case"disallowed_STD3_mapped":e?(a=!0,m+=String.fromCodePoint(o)):m+=String.fromCodePoint.apply(String,v[2]);break;case"disallowed_STD3_valid":e&&(a=!0),m+=String.fromCodePoint(o)}}return{string:m,error:a}}(p,e,d);m.string=i(m.string);for(var s=m.string.split("."),n=0;n<s.length;++n)try{var u=function(p,e){"xn--"===p.substr(0,4)&&(p=a.toUnicode(p),l.NONTRANSITIONAL);var d=!1;(i(p)!==p||"-"===p[3]&&"-"===p[4]||"-"===p[0]||"-"===p[p.length-1]||-1!==p.indexOf(".")||0===p.search(o))&&(d=!0);for(var m=r(p),s=0;s<m;++s){var n=t(p.codePointAt(s));if(v===l.TRANSITIONAL&&"valid"!==n[1]||v===l.NONTRANSITIONAL&&"valid"!==n[1]&&"deviation"!==n[1]){d=!0;break}}return{label:p,error:d}}(s[n]);s[n]=u.label,m.error=m.error||u.error}catch(p){m.error=!0}return{string:s.join("."),error:m.error}}p.exports.toASCII=function(p,e,d,m){var l=v(p,e,d),i=l.string.split(".");if(i=i.map(function(p){try{return a.toASCII(p)}catch(e){return l.error=!0,p}}),m){var t=i.slice(0,i.length-1).join(".").length;(t.length>253||0===t.length)&&(l.error=!0);for(var s=0;s<i.length;++s)if(i.length>63||0===i.length){l.error=!0;break}}return l.error?null:i.join(".")},p.exports.toUnicode=function(p,e){var d=v(p,e,l.NONTRANSITIONAL);return{domain:d.string,error:d.error}},p.exports.PROCESSING_OPTIONS=l},99206:p=>{"use strict";p.exports=function(p){let e=p.length,d=0;for(;d<e;)if((128&p[d])==0)d++;else if((224&p[d])==192){if(d+1===e||(192&p[d+1])!=128||(254&p[d])==192)return!1;d+=2}else if((240&p[d])==224){if(d+2>=e||(192&p[d+1])!=128||(192&p[d+2])!=128||224===p[d]&&(224&p[d+1])==128||237===p[d]&&(224&p[d+1])==160)return!1;d+=3}else{if((248&p[d])!=240||d+3>=e||(192&p[d+1])!=128||(192&p[d+2])!=128||(192&p[d+3])!=128||240===p[d]&&(240&p[d+1])==128||244===p[d]&&p[d+1]>143||p[d]>244)return!1;d+=4}return!0}},87146:(p,e,d)=>{"use strict";try{p.exports=d(4314)(__dirname)}catch(e){p.exports=d(99206)}},50564:p=>{"use strict";var e={};function d(p,e){!e.unsigned&&--p;let d=e.unsigned?0:-Math.pow(2,p),a=Math.pow(2,p)-1,m=e.moduloBitLength?Math.pow(2,e.moduloBitLength):Math.pow(2,p),l=e.moduloBitLength?Math.pow(2,e.moduloBitLength-1):Math.pow(2,p-1);return function(p,i){i||(i={});let t=+p;if(i.enforceRange){if(!Number.isFinite(t))throw TypeError("Argument is not a finite number");if((t=(t<0?-1:1)*Math.floor(Math.abs(t)))<d||t>a)throw TypeError("Argument is not in byte range");return t}if(!isNaN(t)&&i.clamp){var s;return(t=(s=t)%1==.5&&(1&s)==0?Math.floor(s):Math.round(s))<d&&(t=d),t>a&&(t=a),t}if(!Number.isFinite(t)||0===t)return 0;if(t=(t<0?-1:1)*Math.floor(Math.abs(t))%m,!e.unsigned&&t>=l)return t-m;if(e.unsigned){if(t<0)t+=m;else if(-0===t)return 0}return t}}p.exports=e,e.void=function(){},e.boolean=function(p){return!!p},e.byte=d(8,{unsigned:!1}),e.octet=d(8,{unsigned:!0}),e.short=d(16,{unsigned:!1}),e["unsigned short"]=d(16,{unsigned:!0}),e.long=d(32,{unsigned:!1}),e["unsigned long"]=d(32,{unsigned:!0}),e["long long"]=d(32,{unsigned:!1,moduloBitLength:64}),e["unsigned long long"]=d(32,{unsigned:!0,moduloBitLength:64}),e.double=function(p){let e=+p;if(!Number.isFinite(e))throw TypeError("Argument is not a finite floating-point value");return e},e["unrestricted double"]=function(p){let e=+p;if(isNaN(e))throw TypeError("Argument is NaN");return e},e.float=e.double,e["unrestricted float"]=e["unrestricted double"],e.DOMString=function(p,e){return(e||(e={}),e.treatNullAsEmptyString&&null===p)?"":String(p)},e.ByteString=function(p,e){let d;let a=String(p);for(let p=0;void 0!==(d=a.codePointAt(p));++p)if(d>255)throw TypeError("Argument is not a valid bytestring");return a},e.USVString=function(p){let e=String(p),d=e.length,a=[];for(let p=0;p<d;++p){let m=e.charCodeAt(p);if(m<55296||m>57343)a.push(String.fromCodePoint(m));else if(56320<=m&&m<=57343)a.push(String.fromCodePoint(65533));else if(p===d-1)a.push(String.fromCodePoint(65533));else{let d=e.charCodeAt(p+1);if(56320<=d&&d<=57343){let e=1023&m,l=1023&d;a.push(String.fromCodePoint(65536+1024*e+l)),++p}else a.push(String.fromCodePoint(65533))}}return a.join("")},e.Date=function(p,e){if(!(p instanceof Date))throw TypeError("Argument is not a Date object");if(!isNaN(p))return p},e.RegExp=function(p,e){return p instanceof RegExp||(p=new RegExp(p)),p}},16665:(p,e,d)=>{"use strict";let a=d(74802);e.implementation=class{constructor(p){let e=p[0],d=p[1],m=null;if(void 0!==d&&"failure"===(m=a.basicURLParse(d)))throw TypeError("Invalid base URL");let l=a.basicURLParse(e,{baseURL:m});if("failure"===l)throw TypeError("Invalid URL");this._url=l}get href(){return a.serializeURL(this._url)}set href(p){let e=a.basicURLParse(p);if("failure"===e)throw TypeError("Invalid URL");this._url=e}get origin(){return a.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(p){a.basicURLParse(p+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(p){a.cannotHaveAUsernamePasswordPort(this._url)||a.setTheUsername(this._url,p)}get password(){return this._url.password}set password(p){a.cannotHaveAUsernamePasswordPort(this._url)||a.setThePassword(this._url,p)}get host(){let p=this._url;return null===p.host?"":null===p.port?a.serializeHost(p.host):a.serializeHost(p.host)+":"+a.serializeInteger(p.port)}set host(p){this._url.cannotBeABaseURL||a.basicURLParse(p,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":a.serializeHost(this._url.host)}set hostname(p){this._url.cannotBeABaseURL||a.basicURLParse(p,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":a.serializeInteger(this._url.port)}set port(p){a.cannotHaveAUsernamePasswordPort(this._url)||(""===p?this._url.port=null:a.basicURLParse(p,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:0===this._url.path.length?"":"/"+this._url.path.join("/")}set pathname(p){this._url.cannotBeABaseURL||(this._url.path=[],a.basicURLParse(p,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":"?"+this._url.query}set search(p){let e=this._url;if(""===p){e.query=null;return}let d="?"===p[0]?p.substring(1):p;e.query="",a.basicURLParse(d,{url:e,stateOverride:"query"})}get hash(){return null===this._url.fragment||""===this._url.fragment?"":"#"+this._url.fragment}set hash(p){if(""===p){this._url.fragment=null;return}let e="#"===p[0]?p.substring(1):p;this._url.fragment="",a.basicURLParse(e,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},4813:(p,e,d)=>{"use strict";let a=d(50564),m=d(45897),l=d(16665),i=m.implSymbol;function t(e){if(!this||this[i]||!(this instanceof t))throw TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");let d=[];for(let p=0;p<arguments.length&&p<2;++p)d[p]=arguments[p];d[0]=a.USVString(d[0]),void 0!==d[1]&&(d[1]=a.USVString(d[1])),p.exports.setup(this,d)}t.prototype.toJSON=function(){if(!this||!p.exports.is(this))throw TypeError("Illegal invocation");let e=[];for(let p=0;p<arguments.length&&p<0;++p)e[p]=arguments[p];return this[i].toJSON.apply(this[i],e)},Object.defineProperty(t.prototype,"href",{get(){return this[i].href},set(p){p=a.USVString(p),this[i].href=p},enumerable:!0,configurable:!0}),t.prototype.toString=function(){if(!this||!p.exports.is(this))throw TypeError("Illegal invocation");return this.href},Object.defineProperty(t.prototype,"origin",{get(){return this[i].origin},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"protocol",{get(){return this[i].protocol},set(p){p=a.USVString(p),this[i].protocol=p},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"username",{get(){return this[i].username},set(p){p=a.USVString(p),this[i].username=p},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"password",{get(){return this[i].password},set(p){p=a.USVString(p),this[i].password=p},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"host",{get(){return this[i].host},set(p){p=a.USVString(p),this[i].host=p},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostname",{get(){return this[i].hostname},set(p){p=a.USVString(p),this[i].hostname=p},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"port",{get(){return this[i].port},set(p){p=a.USVString(p),this[i].port=p},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathname",{get(){return this[i].pathname},set(p){p=a.USVString(p),this[i].pathname=p},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get(){return this[i].search},set(p){p=a.USVString(p),this[i].search=p},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get(){return this[i].hash},set(p){p=a.USVString(p),this[i].hash=p},enumerable:!0,configurable:!0}),p.exports={is:p=>!!p&&p[i]instanceof l.implementation,create(p,e){let d=Object.create(t.prototype);return this.setup(d,p,e),d},setup(p,e,d){d||(d={}),d.wrapper=p,p[i]=new l.implementation(e,d),p[i][m.wrapperSymbol]=p},interface:t,expose:{Window:{URL:t},Worker:{URL:t}}}},56369:(p,e,d)=>{"use strict";e.URL=d(4813).interface,d(74802).serializeURL,d(74802).serializeURLOrigin,d(74802).basicURLParse,d(74802).setTheUsername,d(74802).setThePassword,d(74802).serializeHost,d(74802).serializeInteger,d(74802).parseURL},74802:(p,e,d)=>{"use strict";let a=d(85477),m=d(51120),l={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},i=Symbol("failure");function t(p){return a.ucs2.decode(p).length}function s(p,e){let d=p[e];return isNaN(d)?void 0:String.fromCodePoint(d)}function r(p){return p>=48&&p<=57}function o(p){return p>=65&&p<=90||p>=97&&p<=122}function v(p){return r(p)||p>=65&&p<=70||p>=97&&p<=102}function n(p){return"."===p||"%2e"===p.toLowerCase()}function u(p){return 2===p.length&&o(p.codePointAt(0))&&(":"===p[1]||"|"===p[1])}function w(p){return void 0!==l[p]}function h(p){return w(p.scheme)}function f(p){let e=p.toString(16).toUpperCase();return 1===e.length&&(e="0"+e),"%"+e}function c(p){return p<=31||p>126}let _=new Set([32,34,35,60,62,63,96,123,125]);function N(p){return c(p)||_.has(p)}let V=new Set([47,58,59,61,64,91,92,93,94,124]);function D(p){return N(p)||V.has(p)}function b(p,e){let d=String.fromCodePoint(p);return e(p)?function(p){let e=new Buffer(p),d="";for(let p=0;p<e.length;++p)d+=f(e[p]);return d}(d):d}function g(p,e){if("["===p[0])return"]"!==p[p.length-1]?i:function(p){let e=[0,0,0,0,0,0,0,0],d=0,m=null,l=0;if(58===(p=a.ucs2.decode(p))[l]){if(58!==p[l+1])return i;l+=2,m=++d}for(;l<p.length;){if(8===d)return i;if(58===p[l]){if(null!==m)return i;++l,m=++d;continue}let a=0,t=0;for(;t<4&&v(p[l]);)a=16*a+parseInt(s(p,l),16),++l,++t;if(46===p[l]){if(0===t||(l-=t,d>6))return i;let a=0;for(;void 0!==p[l];){let m=null;if(a>0){if(46!==p[l]||!(a<4))return i;++l}if(!r(p[l]))return i;for(;r(p[l]);){let e=parseInt(s(p,l));if(null===m)m=e;else{if(0===m)return i;m=10*m+e}if(m>255)return i;++l}e[d]=256*e[d]+m,(2==++a||4===a)&&++d}if(4!==a)return i;break}if(58===p[l]){if(void 0===p[++l])return i}else if(void 0!==p[l])return i;e[d]=a,++d}if(null!==m){let p=d-m;for(d=7;0!==d&&p>0;){let a=e[m+p-1];e[m+p-1]=e[d],e[d]=a,--d,--p}}else if(null===m&&8!==d)return i;return e}(p.substring(1,p.length-1));if(!e)return function(p){if(-1!==p.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return i;let e="",d=a.ucs2.decode(p);for(let p=0;p<d.length;++p)e+=b(d[p],c);return e}(p);let d=function(p){let e=new Buffer(p),d=[];for(let p=0;p<e.length;++p)37!==e[p]?d.push(e[p]):37===e[p]&&v(e[p+1])&&v(e[p+2])?(d.push(parseInt(e.slice(p+1,p+3).toString(),16)),p+=2):d.push(e[p]);return new Buffer(d).toString()}(p),l=m.toASCII(d,!1,m.PROCESSING_OPTIONS.NONTRANSITIONAL,!1);if(null===l||-1!==l.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/))return i;let t=function(p){let e=p.split(".");if(""===e[e.length-1]&&e.length>1&&e.pop(),e.length>4)return p;let d=[];for(let a of e){if(""===a)return p;let e=function(p){let e=10;return(p.length>=2&&"0"===p.charAt(0)&&"x"===p.charAt(1).toLowerCase()?(p=p.substring(2),e=16):p.length>=2&&"0"===p.charAt(0)&&(p=p.substring(1),e=8),""===p)?0:(10===e?/[^0-9]/:16===e?/[^0-9A-Fa-f]/:/[^0-7]/).test(p)?i:parseInt(p,e)}(a);if(e===i)return p;d.push(e)}for(let p=0;p<d.length-1;++p)if(d[p]>255)return i;if(d[d.length-1]>=Math.pow(256,5-d.length))return i;let a=d.pop(),m=0;for(let p of d)a+=p*Math.pow(256,3-m),++m;return a}(l);return"number"==typeof t||t===i?t:l}function S(p){return"number"==typeof p?function(p){let e="",d=p;for(let p=1;p<=4;++p)e=String(d%256)+e,4!==p&&(e="."+e),d=Math.floor(d/256);return e}(p):p instanceof Array?"["+function(p){let e="",d=function(p){let e=null,d=1,a=null,m=0;for(let l=0;l<p.length;++l)0!==p[l]?(m>d&&(e=a,d=m),a=null,m=0):(null===a&&(a=l),++m);return m>d&&(e=a,d=m),{idx:e,len:d}}(p).idx,a=!1;for(let m=0;m<=7;++m)if(!a||0!==p[m]){if(a&&(a=!1),d===m){e+=0===m?"::":":",a=!0;continue}e+=p[m].toString(16),7!==m&&(e+=":")}return e}(p)+"]":p}function y(p){var e;let d=p.path;!(0===d.length||"file"===p.scheme&&1===d.length&&(e=d[0],/^[A-Za-z]:$/.test(e)))&&d.pop()}function T(p){return""!==p.username||""!==p.password}function E(p,e,d,m,l){if(this.pointer=0,this.input=p,this.base=e||null,this.encodingOverride=d||"utf-8",this.stateOverride=l,this.url=m,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};let p=this.input.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"");p!==this.input&&(this.parseError=!0),this.input=p}let t=this.input.replace(/\u0009|\u000A|\u000D/g,"");for(t!==this.input&&(this.parseError=!0),this.input=t,this.state=l||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=a.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){let p=this.input[this.pointer],e=isNaN(p)?void 0:String.fromCodePoint(p),d=this["parse "+this.state](p,e);if(d){if(d===i){this.failure=!0;break}}else break}}E.prototype["parse scheme start"]=function(p,e){if(o(p))this.buffer+=e.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,i;this.state="no scheme",--this.pointer}return!0},E.prototype["parse scheme"]=function(p,e){if(o(p)||r(p)||43===p||45===p||46===p)this.buffer+=e.toLowerCase();else if(58===p){if(this.stateOverride&&(h(this.url)&&!w(this.buffer)||!h(this.url)&&w(this.buffer)||(T(this.url)||null!==this.url.port)&&"file"===this.buffer||"file"===this.url.scheme&&(""===this.url.host||null===this.url.host))||(this.url.scheme=this.buffer,this.buffer="",this.stateOverride))return!1;"file"===this.url.scheme?((47!==this.input[this.pointer+1]||47!==this.input[this.pointer+2])&&(this.parseError=!0),this.state="file"):h(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":h(this.url)?this.state="special authority slashes":47===this.input[this.pointer+1]?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,i;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},E.prototype["parse no scheme"]=function(p){return null===this.base||this.base.cannotBeABaseURL&&35!==p?i:(this.base.cannotBeABaseURL&&35===p?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):("file"===this.base.scheme?this.state="file":this.state="relative",--this.pointer),!0)},E.prototype["parse special relative or authority"]=function(p){return 47===p&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},E.prototype["parse path or authority"]=function(p){return 47===p?this.state="authority":(this.state="path",--this.pointer),!0},E.prototype["parse relative"]=function(p){return this.url.scheme=this.base.scheme,isNaN(p)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):47===p?this.state="relative slash":63===p?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===p?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):h(this.url)&&92===p?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},E.prototype["parse relative slash"]=function(p){return h(this.url)&&(47===p||92===p)?(92===p&&(this.parseError=!0),this.state="special authority ignore slashes"):47===p?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer),!0},E.prototype["parse special authority slashes"]=function(p){return 47===p&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},E.prototype["parse special authority ignore slashes"]=function(p){return 47!==p&&92!==p?(this.state="authority",--this.pointer):this.parseError=!0,!0},E.prototype["parse authority"]=function(p,e){if(64===p){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;let p=t(this.buffer);for(let e=0;e<p;++e){let p=this.buffer.codePointAt(e);if(58===p&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}let d=b(p,D);this.passwordTokenSeenFlag?this.url.password+=d:this.url.username+=d}this.buffer=""}else if(isNaN(p)||47===p||63===p||35===p||h(this.url)&&92===p){if(this.atFlag&&""===this.buffer)return this.parseError=!0,i;this.pointer-=t(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=e;return!0},E.prototype["parse hostname"]=E.prototype["parse host"]=function(p,e){if(this.stateOverride&&"file"===this.url.scheme)--this.pointer,this.state="file host";else if(58!==p||this.arrFlag){if(isNaN(p)||47===p||63===p||35===p||h(this.url)&&92===p){if(--this.pointer,h(this.url)&&""===this.buffer)return this.parseError=!0,i;if(this.stateOverride&&""===this.buffer&&(T(this.url)||null!==this.url.port))return this.parseError=!0,!1;let p=g(this.buffer,h(this.url));if(p===i)return i;if(this.url.host=p,this.buffer="",this.state="path start",this.stateOverride)return!1}else 91===p?this.arrFlag=!0:93===p&&(this.arrFlag=!1),this.buffer+=e}else{if(""===this.buffer)return this.parseError=!0,i;let p=g(this.buffer,h(this.url));if(p===i)return i;if(this.url.host=p,this.buffer="",this.state="port","hostname"===this.stateOverride)return!1}return!0},E.prototype["parse port"]=function(p,e){if(r(p))this.buffer+=e;else{if(!(isNaN(p)||47===p||63===p||35===p||h(this.url)&&92===p)&&!this.stateOverride)return this.parseError=!0,i;if(""!==this.buffer){let p=parseInt(this.buffer);if(p>65535)return this.parseError=!0,i;this.url.port=p===l[this.url.scheme]?null:p,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};let A=new Set([47,92,63,35]);E.prototype["parse file"]=function(p){if(this.url.scheme="file",47===p||92===p)92===p&&(this.parseError=!0),this.state="file slash";else if(null!==this.base&&"file"===this.base.scheme){if(isNaN(p))this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query;else if(63===p)this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query";else if(35===p)this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment";else{var e;this.input.length-this.pointer-1!=0&&(e=this.input[this.pointer+1],o(p)&&(58===e||124===e))&&(!(this.input.length-this.pointer-1>=2)||A.has(this.input[this.pointer+2]))?this.parseError=!0:(this.url.host=this.base.host,this.url.path=this.base.path.slice(),y(this.url)),this.state="path",--this.pointer}}else this.state="path",--this.pointer;return!0},E.prototype["parse file slash"]=function(p){if(47===p||92===p)92===p&&(this.parseError=!0),this.state="file host";else{if(null!==this.base&&"file"===this.base.scheme){var e;2===(e=this.base.path[0]).length&&o(e.codePointAt(0))&&":"===e[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host}this.state="path",--this.pointer}return!0},E.prototype["parse file host"]=function(p,e){if(isNaN(p)||47===p||92===p||63===p||35===p){if(--this.pointer,!this.stateOverride&&u(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let p=g(this.buffer,h(this.url));if(p===i)return i;if("localhost"===p&&(p=""),this.url.host=p,this.stateOverride)return!1;this.buffer="",this.state="path start"}}else this.buffer+=e;return!0},E.prototype["parse path start"]=function(p){return h(this.url)?(92===p&&(this.parseError=!0),this.state="path",47!==p&&92!==p&&--this.pointer):this.stateOverride||63!==p?this.stateOverride||35!==p?void 0!==p&&(this.state="path",47!==p&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},E.prototype["parse path"]=function(p){if(isNaN(p)||47===p||h(this.url)&&92===p||!this.stateOverride&&(63===p||35===p)){var e;if((h(this.url)&&92===p&&(this.parseError=!0),".."===(e=(e=this.buffer).toLowerCase())||"%2e."===e||".%2e"===e||"%2e%2e"===e)?(y(this.url),47===p||h(this.url)&&92===p||this.url.path.push("")):n(this.buffer)&&47!==p&&!(h(this.url)&&92===p)?this.url.path.push(""):n(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&u(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)),this.buffer="","file"===this.url.scheme&&(void 0===p||63===p||35===p))for(;this.url.path.length>1&&""===this.url.path[0];)this.parseError=!0,this.url.path.shift();63===p&&(this.url.query="",this.state="query"),35===p&&(this.url.fragment="",this.state="fragment")}else 37!==p||v(this.input[this.pointer+1])&&v(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=b(p,N);return!0},E.prototype["parse cannot-be-a-base-URL path"]=function(p){return 63===p?(this.url.query="",this.state="query"):35===p?(this.url.fragment="",this.state="fragment"):(isNaN(p)||37===p||(this.parseError=!0),37!==p||v(this.input[this.pointer+1])&&v(this.input[this.pointer+2])||(this.parseError=!0),isNaN(p)||(this.url.path[0]=this.url.path[0]+b(p,c))),!0},E.prototype["parse query"]=function(p,e){if(isNaN(p)||!this.stateOverride&&35===p){h(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8");let e=new Buffer(this.buffer);for(let p=0;p<e.length;++p)e[p]<33||e[p]>126||34===e[p]||35===e[p]||60===e[p]||62===e[p]?this.url.query+=f(e[p]):this.url.query+=String.fromCodePoint(e[p]);this.buffer="",35===p&&(this.url.fragment="",this.state="fragment")}else 37!==p||v(this.input[this.pointer+1])&&v(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=e;return!0},E.prototype["parse fragment"]=function(p){return isNaN(p)||(0===p?this.parseError=!0:(37!==p||v(this.input[this.pointer+1])&&v(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=b(p,c))),!0},p.exports.serializeURL=function(p,e){let d=p.scheme+":";if(null!==p.host?(d+="//",(""!==p.username||""!==p.password)&&(d+=p.username,""!==p.password&&(d+=":"+p.password),d+="@"),d+=S(p.host),null!==p.port&&(d+=":"+p.port)):null===p.host&&"file"===p.scheme&&(d+="//"),p.cannotBeABaseURL)d+=p.path[0];else for(let e of p.path)d+="/"+e;return null!==p.query&&(d+="?"+p.query),e||null===p.fragment||(d+="#"+p.fragment),d},p.exports.serializeURLOrigin=function(e){switch(e.scheme){case"blob":try{return p.exports.serializeURLOrigin(p.exports.parseURL(e.path[0]))}catch(p){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":var d;let a;return a=(d={scheme:e.scheme,host:e.host,port:e.port}).scheme+"://"+S(d.host),null!==d.port&&(a+=":"+d.port),a;case"file":return"file://";default:return"null"}},p.exports.basicURLParse=function(p,e){void 0===e&&(e={});let d=new E(p,e.baseURL,e.encodingOverride,e.url,e.stateOverride);return d.failure?"failure":d.url},p.exports.setTheUsername=function(p,e){p.username="";let d=a.ucs2.decode(e);for(let e=0;e<d.length;++e)p.username+=b(d[e],D)},p.exports.setThePassword=function(p,e){p.password="";let d=a.ucs2.decode(e);for(let e=0;e<d.length;++e)p.password+=b(d[e],D)},p.exports.serializeHost=S,p.exports.cannotHaveAUsernamePasswordPort=function(p){return null===p.host||""===p.host||p.cannotBeABaseURL||"file"===p.scheme},p.exports.serializeInteger=function(p){return String(p)},p.exports.parseURL=function(e,d){return void 0===d&&(d={}),p.exports.basicURLParse(e,{baseURL:d.baseURL,encodingOverride:d.encodingOverride})}},45897:p=>{"use strict";p.exports.mixin=function(p,e){let d=Object.getOwnPropertyNames(e);for(let a=0;a<d.length;++a)Object.defineProperty(p,d[a],Object.getOwnPropertyDescriptor(e,d[a]))},p.exports.wrapperSymbol=Symbol("wrapper"),p.exports.implSymbol=Symbol("impl"),p.exports.wrapperForImpl=function(e){return e[p.exports.wrapperSymbol]},p.exports.implForWrapper=function(e){return e[p.exports.implSymbol]}},71435:(p,e,d)=>{"use strict";let a;d.r(e),d.d(e,{AbortError:()=>G,FetchError:()=>w,Headers:()=>C,Request:()=>H,Response:()=>x,default:()=>K});var m=d(12781),l=d(13685),i=d(57310),t=d(56369),s=d(95687),r=d(59796);let o=m.Readable,v=Symbol("buffer"),n=Symbol("type");class u{constructor(){this[n]="";let p=arguments[0],e=arguments[1],d=[];if(p){let e=Number(p.length);for(let a=0;a<e;a++){let e;let m=p[a];(e=m instanceof Buffer?m:ArrayBuffer.isView(m)?Buffer.from(m.buffer,m.byteOffset,m.byteLength):m instanceof ArrayBuffer?Buffer.from(m):m instanceof u?m[v]:Buffer.from("string"==typeof m?m:String(m))).length,d.push(e)}}this[v]=Buffer.concat(d);let a=e&&void 0!==e.type&&String(e.type).toLowerCase();a&&!/[^\u0020-\u007E]/.test(a)&&(this[n]=a)}get size(){return this[v].length}get type(){return this[n]}text(){return Promise.resolve(this[v].toString())}arrayBuffer(){let p=this[v];return Promise.resolve(p.buffer.slice(p.byteOffset,p.byteOffset+p.byteLength))}stream(){let p=new o;return p._read=function(){},p.push(this[v]),p.push(null),p}toString(){return"[object Blob]"}slice(){let p;let e=this.size,d=arguments[0],a=arguments[1];p=void 0===d?0:d<0?Math.max(e+d,0):Math.min(d,e);let m=Math.max((void 0===a?e:a<0?Math.max(e+a,0):Math.min(a,e))-p,0),l=this[v].slice(p,p+m),i=new u([],{type:arguments[2]});return i[v]=l,i}}function w(p,e,d){Error.call(this,p),this.message=p,this.type=e,d&&(this.code=this.errno=d.code),Error.captureStackTrace(this,this.constructor)}Object.defineProperties(u.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}}),Object.defineProperty(u.prototype,Symbol.toStringTag,{value:"Blob",writable:!1,enumerable:!1,configurable:!0}),w.prototype=Object.create(Error.prototype),w.prototype.constructor=w,w.prototype.name="FetchError";try{a=require("encoding").convert}catch(p){}let h=Symbol("Body internals"),f=m.PassThrough;function c(p){var e=this,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=d.size,l=d.timeout;null==p?p=null:N(p)?p=Buffer.from(p.toString()):V(p)||Buffer.isBuffer(p)||("[object ArrayBuffer]"===Object.prototype.toString.call(p)?p=Buffer.from(p):ArrayBuffer.isView(p)?p=Buffer.from(p.buffer,p.byteOffset,p.byteLength):p instanceof m||(p=Buffer.from(String(p)))),this[h]={body:p,disturbed:!1,error:null},this.size=void 0===a?0:a,this.timeout=void 0===l?0:l,p instanceof m&&p.on("error",function(p){let d="AbortError"===p.name?p:new w(`Invalid response body while trying to fetch ${e.url}: ${p.message}`,"system",p);e[h].error=d})}function _(){var p=this;if(this[h].disturbed)return c.Promise.reject(TypeError(`body used already for: ${this.url}`));if(this[h].disturbed=!0,this[h].error)return c.Promise.reject(this[h].error);let e=this.body;if(null===e)return c.Promise.resolve(Buffer.alloc(0));if(V(e)&&(e=e.stream()),Buffer.isBuffer(e))return c.Promise.resolve(e);if(!(e instanceof m))return c.Promise.resolve(Buffer.alloc(0));let d=[],a=0,l=!1;return new c.Promise(function(m,i){let t;p.timeout&&(t=setTimeout(function(){l=!0,i(new w(`Response timeout while trying to fetch ${p.url} (over ${p.timeout}ms)`,"body-timeout"))},p.timeout)),e.on("error",function(e){"AbortError"===e.name?(l=!0,i(e)):i(new w(`Invalid response body while trying to fetch ${p.url}: ${e.message}`,"system",e))}),e.on("data",function(e){if(!l&&null!==e){if(p.size&&a+e.length>p.size){l=!0,i(new w(`content size at ${p.url} over limit: ${p.size}`,"max-size"));return}a+=e.length,d.push(e)}}),e.on("end",function(){if(!l){clearTimeout(t);try{m(Buffer.concat(d,a))}catch(e){i(new w(`Could not create Buffer from response body for ${p.url}: ${e.message}`,"system",e))}}})})}function N(p){return"object"==typeof p&&"function"==typeof p.append&&"function"==typeof p.delete&&"function"==typeof p.get&&"function"==typeof p.getAll&&"function"==typeof p.has&&"function"==typeof p.set&&("URLSearchParams"===p.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(p)||"function"==typeof p.sort)}function V(p){return"object"==typeof p&&"function"==typeof p.arrayBuffer&&"string"==typeof p.type&&"function"==typeof p.stream&&"function"==typeof p.constructor&&"string"==typeof p.constructor.name&&/^(Blob|File)$/.test(p.constructor.name)&&/^(Blob|File)$/.test(p[Symbol.toStringTag])}function D(p){let e,d;let a=p.body;if(p.bodyUsed)throw Error("cannot clone body after it is used");return a instanceof m&&"function"!=typeof a.getBoundary&&(e=new f,d=new f,a.pipe(e),a.pipe(d),p[h].body=e,a=d),a}function b(p){if(null===p)return null;if("string"==typeof p)return"text/plain;charset=UTF-8";if(N(p))return"application/x-www-form-urlencoded;charset=UTF-8";if(V(p))return p.type||null;if(Buffer.isBuffer(p))return null;if("[object ArrayBuffer]"===Object.prototype.toString.call(p))return null;if(ArrayBuffer.isView(p))return null;else if("function"==typeof p.getBoundary)return`multipart/form-data;boundary=${p.getBoundary()}`;else if(p instanceof m)return null;else return"text/plain;charset=UTF-8"}function g(p){let e=p.body;return null===e?0:V(e)?e.size:Buffer.isBuffer(e)?e.length:e&&"function"==typeof e.getLengthSync&&(e._lengthRetrievers&&0==e._lengthRetrievers.length||e.hasKnownLength&&e.hasKnownLength())?e.getLengthSync():null}c.prototype={get body(){return this[h].body},get bodyUsed(){return this[h].disturbed},arrayBuffer(){return _.call(this).then(function(p){return p.buffer.slice(p.byteOffset,p.byteOffset+p.byteLength)})},blob(){let p=this.headers&&this.headers.get("content-type")||"";return _.call(this).then(function(e){return Object.assign(new u([],{type:p.toLowerCase()}),{[v]:e})})},json(){var p=this;return _.call(this).then(function(e){try{return JSON.parse(e.toString())}catch(e){return c.Promise.reject(new w(`invalid json response body at ${p.url} reason: ${e.message}`,"invalid-json"))}})},text(){return _.call(this).then(function(p){return p.toString()})},buffer(){return _.call(this)},textConverted(){var p=this;return _.call(this).then(function(e){return function(p,e){let d,m;if("function"!=typeof a)throw Error("The package `encoding` must be installed to use the textConverted() function");let l=e.get("content-type"),i="utf-8";return l&&(d=/charset=([^;]*)/i.exec(l)),m=p.slice(0,1024).toString(),!d&&m&&(d=/<meta.+?charset=(['"])(.+?)\1/i.exec(m)),!d&&m&&(!(d=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(m))&&(d=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(m))&&d.pop(),d&&(d=/charset=(.*)/i.exec(d.pop()))),!d&&m&&(d=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(m)),d&&("gb2312"===(i=d.pop())||"gbk"===i)&&(i="gb18030"),a(p,"UTF-8",i).toString()}(e,p.headers)})}},Object.defineProperties(c.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}}),c.mixIn=function(p){for(let e of Object.getOwnPropertyNames(c.prototype))if(!(e in p)){let d=Object.getOwnPropertyDescriptor(c.prototype,e);Object.defineProperty(p,e,d)}},c.Promise=global.Promise;let S=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,y=/[^\t\x20-\x7e\x80-\xff]/;function T(p){if(p=`${p}`,S.test(p)||""===p)throw TypeError(`${p} is not a legal HTTP header name`)}function E(p){if(p=`${p}`,y.test(p))throw TypeError(`${p} is not a legal HTTP header value`)}function A(p,e){for(let d in e=e.toLowerCase(),p)if(d.toLowerCase()===e)return d}let B=Symbol("map");class C{constructor(){let p=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[B]=Object.create(null),p instanceof C){let e=p.raw();for(let p of Object.keys(e))for(let d of e[p])this.append(p,d);return}if(null==p);else if("object"==typeof p){let e=p[Symbol.iterator];if(null!=e){if("function"!=typeof e)throw TypeError("Header pairs must be iterable");let d=[];for(let e of p){if("object"!=typeof e||"function"!=typeof e[Symbol.iterator])throw TypeError("Each header pair must be iterable");d.push(Array.from(e))}for(let p of d){if(2!==p.length)throw TypeError("Each header pair must be a name/value tuple");this.append(p[0],p[1])}}else for(let e of Object.keys(p)){let d=p[e];this.append(e,d)}}else throw TypeError("Provided initializer must be an object")}get(p){T(p=`${p}`);let e=A(this[B],p);return void 0===e?null:this[B][e].join(", ")}forEach(p){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,d=F(this),a=0;for(;a<d.length;){var m=d[a];let l=m[0],i=m[1];p.call(e,i,l,this),d=F(this),a++}}set(p,e){p=`${p}`,e=`${e}`,T(p),E(e);let d=A(this[B],p);this[B][void 0!==d?d:p]=[e]}append(p,e){p=`${p}`,e=`${e}`,T(p),E(e);let d=A(this[B],p);void 0!==d?this[B][d].push(e):this[B][p]=[e]}has(p){return T(p=`${p}`),void 0!==A(this[B],p)}delete(p){T(p=`${p}`);let e=A(this[B],p);void 0!==e&&delete this[B][e]}raw(){return this[B]}keys(){return L(this,"key")}values(){return L(this,"value")}[Symbol.iterator](){return L(this,"key+va