@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 ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Plasmo Corp. <foss@plasmo.com> (https://www.plasmo.com) and contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ var H=Object.create;var h=Object.defineProperty;var K=Object.getOwnPropertyDescriptor;var U=Object.getOwnPropertyNames;var X=Object.getPrototypeOf,q=Object.prototype.hasOwnProperty;var Q=(t,e)=>{for(var o in e)h(t,o,{get:e[o],enumerable:!0})},S=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of U(e))!q.call(t,s)&&s!==o&&h(t,s,{get:()=>e[s],enumerable:!(n=K(e,s))||n.enumerable});return t};var E=(t,e,o)=>(o=t!=null?H(X(t)):{},S(e||!t||!t.__esModule?h(o,"default",{value:t,enumerable:!0}):o,t)),Y=t=>S(h({},"__esModule",{value:!0}),t);var at={};Q(at,{default:()=>it});module.exports=Y(at);var G=require("@parcel/plugin");var c=require("path"),P=require("fs-extra");var L=require("fs"),a=require("path"),M=E(require("fast-glob")),C=require("fs-extra");var x=globalThis.process?.argv||[];var R=()=>globalThis.process?.env||{},Z=/\$([\w+]+)/gm,b=(t,e=R(),o=Z)=>t.replace(o,(n,s)=>e[s]||n);var tt=new Set(x),D=t=>tt.has(t),ft=x.filter(t=>t.startsWith("--")&&t.includes("=")).map(t=>t.split("=")).reduce((t,[e,o])=>(t[e]=o,t),{});var gt=D("--dry-run"),d=()=>D("--verbose")||R().VERBOSE==="true",yt=d();var et=(t="",...e)=>console.log(t.padEnd(9),"|",...e);var ot=0,g=(...t)=>d()&&et(`\u{1F7E1} ${ot++}`,...t);var m=require("path"),F=t=>t.replaceAll(m.win32.sep,m.posix.sep);var l=[".ts",".tsx",".svelte",".vue",".json"],A=new Set(["data-text","data-base64","data-env","data-text-env","raw","raw-env"]),O=new Set(l),r={got:null,dotPlasmoDirectory:null,remoteCacheDirectory:null,polyfillMap:null,aliasMap:null},_=async t=>{if(r.got===null&&(r.got=(await import("got")).default),r.dotPlasmoDirectory||(r.dotPlasmoDirectory=(0,a.resolve)(process.env.PLASMO_PROJECT_DIR,".plasmo")),r.remoteCacheDirectory||(r.remoteCacheDirectory=(0,a.resolve)(r.dotPlasmoDirectory,"cache","remote-code"),await t.options.inputFS.exists(r.remoteCacheDirectory)||(g("Reinitializing remote cache directory"),await t.options.inputFS.mkdirp(r.remoteCacheDirectory))),!r.polyfillMap){let e=(0,a.join)(__dirname,"polyfills"),o=await(0,M.default)("**/*.js",{cwd:e,onlyFiles:!0});r.polyfillMap=new Map(o.map(n=>[F(n.slice(0,-3)),(0,a.join)(e,n)]))}if(!r.aliasMap){let e=await(0,C.readJson)((0,a.resolve)(process.env.PLASMO_PROJECT_DIR,"package.json"));r.aliasMap=new Map(Object.entries(e.alias||{}))}},u=async(t,e=l,o={})=>{let n=e.flatMap(s=>[`${t}${s}`,(0,a.resolve)(t,`index${s}`)]);for(let s of n)try{if((0,L.statSync)(s).isFile())return{filePath:s,...o}}catch{}return null};async function $({specifier:t,dependency:e}){if(t[0]!=="/")return null;if((0,P.pathExistsSync)(t))return{filePath:t};let o=(0,c.resolve)((0,c.join)(process.env.PLASMO_PROJECT_DIR,t.slice(1)));if((0,c.extname)(o).length>0&&(0,P.pathExistsSync)(o))return{filePath:o};let s=(0,c.extname)(e.resolveFrom),i=[s,...l.filter(f=>f!==s)];return u(o,i)}var I=require("path");var T=require("fs"),y=require("fs/promises");async function rt(t,e){try{return await(0,y.access)(t,e),!0}catch{return!1}}async function k(t){return rt(t,T.constants.R_OK)}async function j({specifier:t}){if(!r.aliasMap.has(t))return null;let e=(0,I.resolve)(r.aliasMap.get(t));return await k(e)?{filePath:e,priority:"sync"}:null}var w=require("path");var st=(t="",e="",o="")=>{if(!t.startsWith(e))return null;let[n,s]=t.split(e);return u((0,w.resolve)(o,s))};async function W({specifier:t}){return st(t,"@plasmo-static-common/",(0,w.resolve)(r.dotPlasmoDirectory,"static","common"))}async function N({specifier:t}){return r.polyfillMap.has(t)?{filePath:r.polyfillMap.get(t),priority:"sync"}:null}var J=require("path"),z=require("@ohos-ports/parcel-hash");var nt=async(t,e)=>t.origin==="https://www.googletagmanager.com"?e.replace(/http:/g,"chrome-extension:"):e;async function V({specifier:t,dependency:e,options:o}){if(!t.startsWith("https://")||!l.some(i=>e.sourcePath.endsWith(i)))return null;let n=new URL(b(t)),s=n.searchParams.get("plasmo-ext")||"js";try{let i=(0,J.resolve)(r.remoteCacheDirectory,`${(0,z.hashString)(t)}.${s}`),f=await r.got(n.toString()).text(),v=await nt(n,f);return await o.inputFS.rimraf(i),await o.inputFS.writeFile(i,v,{mode:436}),g(`Caching HTTPS dependency: ${t}`),{priority:"lazy",sideEffects:!0,filePath:i}}catch(i){return{diagnostics:[{message:`Cannot download the resource from ${t}`,hints:[i.message]}]}}}var p=require("path");async function B({pipeline:t,specifier:e,dependency:o}){if(e[0]!=="~")return null;let n=(0,p.resolve)((0,p.join)(process.env.PLASMO_SRC_DIR,e.slice(1)));if(A.has(t))return{filePath:n};let s=(0,p.extname)(n);if(s.length>0&&O.has(s))return{filePath:n};let i=(0,p.extname)(o.resolveFrom),f=[i,...l.filter(v=>v!==i)];return u(n,f)}var it=new G.Resolver({async resolve(t){return await _(t),await j(t)||await W(t)||await N(t)||await V(t)||await B(t)||await $(t)||null}});
@@ -0,0 +1,11 @@
1
+ var xa=Object.create;var ze=Object.defineProperty;var Na=Object.getOwnPropertyDescriptor;var Ba=Object.getOwnPropertyNames;var Ua=Object.getPrototypeOf,Da=Object.prototype.hasOwnProperty;var p=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),_a=(r,e)=>{for(var t in e)ze(r,t,{get:e[t],enumerable:!0})},Ce=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Ba(e))!Da.call(r,o)&&o!==t&&ze(r,o,{get:()=>e[o],enumerable:!(n=Na(e,o))||n.enumerable});return r},ve=(r,e,t)=>(Ce(r,e,"default"),t&&Ce(t,e,"default")),kt=(r,e,t)=>(t=r!=null?xa(Ua(r)):{},Ce(e||!r||!r.__esModule?ze(t,"default",{value:r,enumerable:!0}):t,r)),Ma=r=>Ce(ze({},"__esModule",{value:!0}),r);var Je=p((Hs,Wt)=>{"use strict";Wt.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[t]=o;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,t);if(a.value!==o||a.enumerable!==!0)return!1}return!0}});var me=p((Ys,Lt)=>{"use strict";var $a=Je();Lt.exports=function(){return $a()&&!!Symbol.toStringTag}});var Ct=p((Xs,Vt)=>{"use strict";Vt.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[t]=o;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,t);if(u.value!==o||u.enumerable!==!0)return!1}return!0}});var Ht=p((Zs,Jt)=>{"use strict";var zt=typeof Symbol<"u"&&Symbol,Ga=Ct();Jt.exports=function(){return typeof zt!="function"||typeof Symbol!="function"||typeof zt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Ga()}});var $r=p((Qs,Xt)=>{"use strict";var Yt={foo:{}},ka=Object;Xt.exports=function(){return{__proto__:Yt}.foo===Yt.foo&&!({__proto__:null}instanceof ka)}});var Kt=p((Ks,Qt)=>{"use strict";var Wa="Function.prototype.bind called on incompatible ",La=Object.prototype.toString,Va=Math.max,Ca="[object Function]",Zt=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},za=function(e,t){for(var n=[],o=t||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},Ja=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};Qt.exports=function(e){var t=this;if(typeof t!="function"||La.apply(t)!==Ca)throw new TypeError(Wa+t);for(var n=za(arguments,1),o,i=function(){if(this instanceof o){var s=t.apply(this,Zt(n,arguments));return Object(s)===s?s:this}return t.apply(e,Zt(n,arguments))},a=Va(0,t.length-n.length),u=[],f=0;f<a;f++)u[f]="$"+f;if(o=Function("binder","return function ("+Ja(u,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var c=function(){};c.prototype=t.prototype,o.prototype=new c,c.prototype=null}return o}});var X=p((el,en)=>{"use strict";var Ha=Kt();en.exports=Function.prototype.bind||Ha});var tn=p((rl,rn)=>{"use strict";var Ya=X();rn.exports=Ya.call(Function.call,Object.prototype.hasOwnProperty)});var Xe=p((tl,fn)=>{"use strict";var d,ee=SyntaxError,un=Function,K=TypeError,Gr=function(r){try{return un('"use strict"; return ('+r+").constructor;")()}catch(e){}},W=Object.getOwnPropertyDescriptor;if(W)try{W({},"")}catch(r){W=null}var kr=function(){throw new K},Xa=W?function(){try{return arguments.callee,kr}catch(r){try{return W(arguments,"callee").get}catch(e){return kr}}}():kr,Z=Ht()(),Za=$r()(),O=Object.getPrototypeOf||(Za?function(r){return r.__proto__}:null),Q={},Qa=typeof Uint8Array>"u"||!O?d:O(Uint8Array),L={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":Z&&O?O([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":Q,"%AsyncGenerator%":Q,"%AsyncGeneratorFunction%":Q,"%AsyncIteratorPrototype%":Q,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":un,"%GeneratorFunction%":Q,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Z&&O?O(O([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Z||!O?d:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Z||!O?d:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Z&&O?O(""[Symbol.iterator]()):d,"%Symbol%":Z?Symbol:d,"%SyntaxError%":ee,"%ThrowTypeError%":Xa,"%TypedArray%":Qa,"%TypeError%":K,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};if(O)try{null.error}catch(r){nn=O(O(r)),L["%Error.prototype%"]=nn}var nn,Ka=function r(e){var t;if(e==="%AsyncFunction%")t=Gr("async function () {}");else if(e==="%GeneratorFunction%")t=Gr("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Gr("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&O&&(t=O(o.prototype))}return L[e]=t,t},on={"%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"]},Se=X(),He=tn(),eu=Se.call(Function.call,Array.prototype.concat),ru=Se.call(Function.apply,Array.prototype.splice),an=Se.call(Function.call,String.prototype.replace),Ye=Se.call(Function.call,String.prototype.slice),tu=Se.call(Function.call,RegExp.prototype.exec),nu=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ou=/\\(\\)?/g,iu=function(e){var t=Ye(e,0,1),n=Ye(e,-1);if(t==="%"&&n!=="%")throw new ee("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new ee("invalid intrinsic syntax, expected opening `%`");var o=[];return an(e,nu,function(i,a,u,f){o[o.length]=u?an(f,ou,"$1"):a||i}),o},au=function(e,t){var n=e,o;if(He(on,n)&&(o=on[n],n="%"+o[0]+"%"),He(L,n)){var i=L[n];if(i===Q&&(i=Ka(n)),typeof i>"u"&&!t)throw new K("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new ee("intrinsic "+e+" does not exist!")};fn.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new K("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new K('"allowMissing" argument must be a boolean');if(tu(/^%?[^%]*%?$/,e)===null)throw new ee("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=iu(e),o=n.length>0?n[0]:"",i=au("%"+o+"%",t),a=i.name,u=i.value,f=!1,c=i.alias;c&&(o=c[0],ru(n,eu([0,1],c)));for(var s=1,l=!0;s<n.length;s+=1){var y=n[s],m=Ye(y,0,1),v=Ye(y,-1);if((m==='"'||m==="'"||m==="`"||v==='"'||v==="'"||v==="`")&&m!==v)throw new ee("property names with quotes must have matching quotes");if((y==="constructor"||!l)&&(f=!0),o+="."+y,a="%"+o+"%",He(L,a))u=L[a];else if(u!=null){if(!(y in u)){if(!t)throw new K("base intrinsic for "+e+" exists, but the property is not available.");return}if(W&&s+1>=n.length){var S=W(u,y);l=!!S,l&&"get"in S&&!("originalValue"in S.get)?u=S.get:u=u[y]}else l=He(u,y),u=u[y];l&&!f&&(L[a]=u)}}return u}});var sn=p((nl,cn)=>{"use strict";var uu="Function.prototype.bind called on incompatible ",Wr=Array.prototype.slice,fu=Object.prototype.toString,cu="[object Function]";cn.exports=function(e){var t=this;if(typeof t!="function"||fu.call(t)!==cu)throw new TypeError(uu+t);for(var n=Wr.call(arguments,1),o,i=function(){if(this instanceof o){var s=t.apply(this,n.concat(Wr.call(arguments)));return Object(s)===s?s:this}else return t.apply(e,n.concat(Wr.call(arguments)))},a=Math.max(0,t.length-n.length),u=[],f=0;f<a;f++)u.push("$"+f);if(o=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var c=function(){};c.prototype=t.prototype,o.prototype=new c,c.prototype=null}return o}});var pn=p((ol,ln)=>{"use strict";var su=sn();ln.exports=Function.prototype.bind||su});var vn=p((il,Ze)=>{"use strict";var Lr=pn(),re=Xe(),bn=re("%Function.prototype.apply%"),dn=re("%Function.prototype.call%"),hn=re("%Reflect.apply%",!0)||Lr.call(dn,bn),yn=re("%Object.getOwnPropertyDescriptor%",!0),V=re("%Object.defineProperty%",!0),lu=re("%Math.max%");if(V)try{V({},"a",{value:1})}catch(r){V=null}Ze.exports=function(e){var t=hn(Lr,dn,arguments);if(yn&&V){var n=yn(t,"length");n.configurable&&V(t,"length",{value:1+lu(0,e.length-(arguments.length-1))})}return t};var gn=function(){return hn(Lr,bn,arguments)};V?V(Ze.exports,"apply",{value:gn}):Ze.exports.apply=gn});var Ae=p((al,An)=>{"use strict";var mn=Xe(),Sn=vn(),pu=Sn(mn("String.prototype.indexOf"));An.exports=function(e,t){var n=mn(e,!!t);return typeof n=="function"&&pu(e,".prototype.")>-1?Sn(n):n}});var En=p((ul,wn)=>{"use strict";var yu=me()(),gu=Ae(),Vr=gu("Object.prototype.toString"),Qe=function(e){return yu&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Vr(e)==="[object Arguments]"},On=function(e){return Qe(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Vr(e)!=="[object Array]"&&Vr(e.callee)==="[object Function]"},bu=function(){return Qe(arguments)}();Qe.isLegacyArguments=On;wn.exports=bu?Qe:On});var In=p((fl,jn)=>{"use strict";var du=Object.prototype.toString,hu=Function.prototype.toString,vu=/^\s*(?:function)?\*/,Pn=me()(),Cr=Object.getPrototypeOf,mu=function(){if(!Pn)return!1;try{return Function("return function*() {}")()}catch(r){}},zr;jn.exports=function(e){if(typeof e!="function")return!1;if(vu.test(hu.call(e)))return!0;if(!Pn){var t=du.call(e);return t==="[object GeneratorFunction]"}if(!Cr)return!1;if(typeof zr>"u"){var n=mu();zr=n?Cr(n):!1}return Cr(e)===zr}});var Fn=p((cl,Tn)=>{"use strict";var qn=Function.prototype.toString,te=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Hr,Ke;if(typeof te=="function"&&typeof Object.defineProperty=="function")try{Hr=Object.defineProperty({},"length",{get:function(){throw Ke}}),Ke={},te(function(){throw 42},null,Hr)}catch(r){r!==Ke&&(te=null)}else te=null;var Su=/^\s*class\b/,Yr=function(e){try{var t=qn.call(e);return Su.test(t)}catch(n){return!1}},Jr=function(e){try{return Yr(e)?!1:(qn.call(e),!0)}catch(t){return!1}},er=Object.prototype.toString,Au="[object Object]",Ou="[object Function]",wu="[object GeneratorFunction]",Eu="[object HTMLAllCollection]",Pu="[object HTML document.all class]",ju="[object HTMLCollection]",Iu=typeof Symbol=="function"&&!!Symbol.toStringTag,Ru=!(0 in[,]),Xr=function(){return!1};typeof document=="object"&&(Rn=document.all,er.call(Rn)===er.call(document.all)&&(Xr=function(e){if((Ru||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=er.call(e);return(t===Eu||t===Pu||t===ju||t===Au)&&e("")==null}catch(n){}return!1}));var Rn;Tn.exports=te?function(e){if(Xr(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{te(e,null,Hr)}catch(t){if(t!==Ke)return!1}return!Yr(e)&&Jr(e)}:function(e){if(Xr(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Iu)return Jr(e);if(Yr(e))return!1;var t=er.call(e);return t!==Ou&&t!==wu&&!/^\[object HTML/.test(t)?!1:Jr(e)}});var Zr=p((sl,Nn)=>{"use strict";var qu=Fn(),Tu=Object.prototype.toString,xn=Object.prototype.hasOwnProperty,Fu=function(e,t,n){for(var o=0,i=e.length;o<i;o++)xn.call(e,o)&&(n==null?t(e[o],o,e):t.call(n,e[o],o,e))},xu=function(e,t,n){for(var o=0,i=e.length;o<i;o++)n==null?t(e.charAt(o),o,e):t.call(n,e.charAt(o),o,e)},Nu=function(e,t,n){for(var o in e)xn.call(e,o)&&(n==null?t(e[o],o,e):t.call(n,e[o],o,e))},Bu=function(e,t,n){if(!qu(t))throw new TypeError("iterator must be a function");var o;arguments.length>=3&&(o=n),Tu.call(e)==="[object Array]"?Fu(e,t,o):typeof e=="string"?xu(e,t,o):Nu(e,t,o)};Nn.exports=Bu});var Kr=p((ll,Bn)=>{"use strict";var Qr=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],Uu=typeof globalThis>"u"?global:globalThis;Bn.exports=function(){for(var e=[],t=0;t<Qr.length;t++)typeof Uu[Qr[t]]=="function"&&(e[e.length]=Qr[t]);return e}});var Oe=p((pl,Un)=>{"use strict";var Du=Xe(),rr=Du("%Object.getOwnPropertyDescriptor%",!0);if(rr)try{rr([],"length")}catch(r){rr=null}Un.exports=rr});var tt=p((yl,Gn)=>{"use strict";var Dn=Zr(),_u=Kr(),rt=Ae(),Mu=rt("Object.prototype.toString"),_n=me()(),tr=Oe(),$u=typeof globalThis>"u"?global:globalThis,Mn=_u(),Gu=rt("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},ku=rt("String.prototype.slice"),$n={},et=Object.getPrototypeOf;_n&&tr&&et&&Dn(Mn,function(r){var e=new $u[r];if(Symbol.toStringTag in e){var t=et(e),n=tr(t,Symbol.toStringTag);if(!n){var o=et(t);n=tr(o,Symbol.toStringTag)}$n[r]=n.get}});var Wu=function(e){var t=!1;return Dn($n,function(n,o){if(!t)try{t=n.call(e)===o}catch(i){}}),t};Gn.exports=function(e){if(!e||typeof e!="object")return!1;if(!_n||!(Symbol.toStringTag in e)){var t=ku(Mu(e),8,-1);return Gu(Mn,t)>-1}return tr?Wu(e):!1}});var Jn=p((gl,zn)=>{"use strict";var Wn=Zr(),Lu=Kr(),Ln=Ae(),nt=Oe(),Vu=Ln("Object.prototype.toString"),Vn=me()(),kn=typeof globalThis>"u"?global:globalThis,Cu=Lu(),zu=Ln("String.prototype.slice"),Cn={},ot=Object.getPrototypeOf;Vn&&nt&&ot&&Wn(Cu,function(r){if(typeof kn[r]=="function"){var e=new kn[r];if(Symbol.toStringTag in e){var t=ot(e),n=nt(t,Symbol.toStringTag);if(!n){var o=ot(t);n=nt(o,Symbol.toStringTag)}Cn[r]=n.get}}});var Ju=function(e){var t=!1;return Wn(Cn,function(n,o){if(!t)try{var i=n.call(e);i===o&&(t=i)}catch(a){}}),t},Hu=tt();zn.exports=function(e){return Hu(e)?!Vn||!(Symbol.toStringTag in e)?zu(Vu(e),8,-1):Ju(e):!1}});var uo=p(g=>{"use strict";var Yu=En(),Xu=In(),F=Jn(),Hn=tt();function ne(r){return r.call.bind(r)}var Yn=typeof BigInt<"u",Xn=typeof Symbol<"u",I=ne(Object.prototype.toString),Zu=ne(Number.prototype.valueOf),Qu=ne(String.prototype.valueOf),Ku=ne(Boolean.prototype.valueOf);Yn&&(Zn=ne(BigInt.prototype.valueOf));var Zn;Xn&&(Qn=ne(Symbol.prototype.valueOf));var Qn;function Ee(r,e){if(typeof r!="object")return!1;try{return e(r),!0}catch(t){return!1}}g.isArgumentsObject=Yu;g.isGeneratorFunction=Xu;g.isTypedArray=Hn;function ef(r){return typeof Promise<"u"&&r instanceof Promise||r!==null&&typeof r=="object"&&typeof r.then=="function"&&typeof r.catch=="function"}g.isPromise=ef;function rf(r){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(r):Hn(r)||eo(r)}g.isArrayBufferView=rf;function tf(r){return F(r)==="Uint8Array"}g.isUint8Array=tf;function nf(r){return F(r)==="Uint8ClampedArray"}g.isUint8ClampedArray=nf;function of(r){return F(r)==="Uint16Array"}g.isUint16Array=of;function af(r){return F(r)==="Uint32Array"}g.isUint32Array=af;function uf(r){return F(r)==="Int8Array"}g.isInt8Array=uf;function ff(r){return F(r)==="Int16Array"}g.isInt16Array=ff;function cf(r){return F(r)==="Int32Array"}g.isInt32Array=cf;function sf(r){return F(r)==="Float32Array"}g.isFloat32Array=sf;function lf(r){return F(r)==="Float64Array"}g.isFloat64Array=lf;function pf(r){return F(r)==="BigInt64Array"}g.isBigInt64Array=pf;function yf(r){return F(r)==="BigUint64Array"}g.isBigUint64Array=yf;function nr(r){return I(r)==="[object Map]"}nr.working=typeof Map<"u"&&nr(new Map);function gf(r){return typeof Map>"u"?!1:nr.working?nr(r):r instanceof Map}g.isMap=gf;function or(r){return I(r)==="[object Set]"}or.working=typeof Set<"u"&&or(new Set);function bf(r){return typeof Set>"u"?!1:or.working?or(r):r instanceof Set}g.isSet=bf;function ir(r){return I(r)==="[object WeakMap]"}ir.working=typeof WeakMap<"u"&&ir(new WeakMap);function df(r){return typeof WeakMap>"u"?!1:ir.working?ir(r):r instanceof WeakMap}g.isWeakMap=df;function at(r){return I(r)==="[object WeakSet]"}at.working=typeof WeakSet<"u"&&at(new WeakSet);function hf(r){return at(r)}g.isWeakSet=hf;function ar(r){return I(r)==="[object ArrayBuffer]"}ar.working=typeof ArrayBuffer<"u"&&ar(new ArrayBuffer);function Kn(r){return typeof ArrayBuffer>"u"?!1:ar.working?ar(r):r instanceof ArrayBuffer}g.isArrayBuffer=Kn;function ur(r){return I(r)==="[object DataView]"}ur.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&ur(new DataView(new ArrayBuffer(1),0,1));function eo(r){return typeof DataView>"u"?!1:ur.working?ur(r):r instanceof DataView}g.isDataView=eo;var it=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function we(r){return I(r)==="[object SharedArrayBuffer]"}function ro(r){return typeof it>"u"?!1:(typeof we.working>"u"&&(we.working=we(new it)),we.working?we(r):r instanceof it)}g.isSharedArrayBuffer=ro;function vf(r){return I(r)==="[object AsyncFunction]"}g.isAsyncFunction=vf;function mf(r){return I(r)==="[object Map Iterator]"}g.isMapIterator=mf;function Sf(r){return I(r)==="[object Set Iterator]"}g.isSetIterator=Sf;function Af(r){return I(r)==="[object Generator]"}g.isGeneratorObject=Af;function Of(r){return I(r)==="[object WebAssembly.Module]"}g.isWebAssemblyCompiledModule=Of;function to(r){return Ee(r,Zu)}g.isNumberObject=to;function no(r){return Ee(r,Qu)}g.isStringObject=no;function oo(r){return Ee(r,Ku)}g.isBooleanObject=oo;function io(r){return Yn&&Ee(r,Zn)}g.isBigIntObject=io;function ao(r){return Xn&&Ee(r,Qn)}g.isSymbolObject=ao;function wf(r){return to(r)||no(r)||oo(r)||io(r)||ao(r)}g.isBoxedPrimitive=wf;function Ef(r){return typeof Uint8Array<"u"&&(Kn(r)||ro(r))}g.isAnyArrayBuffer=Ef;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(r){Object.defineProperty(g,r,{enumerable:!1,value:function(){throw new Error(r+" is not supported in userland")}})})});var co=p((dl,fo)=>{fo.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}});var so=p((hl,ut)=>{typeof Object.create=="function"?ut.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:ut.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}});var ie=p(b=>{var lo=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},o=0;o<t.length;o++)n[t[o]]=Object.getOwnPropertyDescriptor(e,t[o]);return n},Pf=/%[sdj%]/g;b.format=function(r){if(!gr(r)){for(var e=[],t=0;t<arguments.length;t++)e.push(D(arguments[t]));return e.join(" ")}for(var t=1,n=arguments,o=n.length,i=String(r).replace(Pf,function(u){if(u==="%%")return"%";if(t>=o)return u;switch(u){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(f){return"[Circular]"}default:return u}}),a=n[t];t<o;a=n[++t])yr(a)||!oe(a)?i+=" "+a:i+=" "+D(a);return i};b.deprecate=function(r,e){if(typeof process<"u"&&process.noDeprecation===!0)return r;if(typeof process>"u")return function(){return b.deprecate(r,e).apply(this,arguments)};var t=!1;function n(){if(!t){if(process.throwDeprecation)throw new Error(e);process.traceDeprecation?console.trace(e):console.error(e),t=!0}return r.apply(this,arguments)}return n};var fr={},po=/^$/;process.env.NODE_DEBUG&&(cr=process.env.NODE_DEBUG,cr=cr.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),po=new RegExp("^"+cr+"$","i"));var cr;b.debuglog=function(r){if(r=r.toUpperCase(),!fr[r])if(po.test(r)){var e=process.pid;fr[r]=function(){var t=b.format.apply(b,arguments);console.error("%s %d: %s",r,e,t)}}else fr[r]=function(){};return fr[r]};function D(r,e){var t={seen:[],stylize:If};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),lt(e)?t.showHidden=e:e&&b._extend(t,e),z(t.showHidden)&&(t.showHidden=!1),z(t.depth)&&(t.depth=2),z(t.colors)&&(t.colors=!1),z(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=jf),lr(t,r,t.depth)}b.inspect=D;D.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]};D.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function jf(r,e){var t=D.styles[e];return t?"\x1B["+D.colors[t][0]+"m"+r+"\x1B["+D.colors[t][1]+"m":r}function If(r,e){return r}function Rf(r){var e={};return r.forEach(function(t,n){e[t]=!0}),e}function lr(r,e,t){if(r.customInspect&&e&&sr(e.inspect)&&e.inspect!==b.inspect&&!(e.constructor&&e.constructor.prototype===e)){var n=e.inspect(t,r);return gr(n)||(n=lr(r,n,t)),n}var o=qf(r,e);if(o)return o;var i=Object.keys(e),a=Rf(i);if(r.showHidden&&(i=Object.getOwnPropertyNames(e)),je(e)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return ft(e);if(i.length===0){if(sr(e)){var u=e.name?": "+e.name:"";return r.stylize("[Function"+u+"]","special")}if(Pe(e))return r.stylize(RegExp.prototype.toString.call(e),"regexp");if(pr(e))return r.stylize(Date.prototype.toString.call(e),"date");if(je(e))return ft(e)}var f="",c=!1,s=["{","}"];if(yo(e)&&(c=!0,s=["[","]"]),sr(e)){var l=e.name?": "+e.name:"";f=" [Function"+l+"]"}if(Pe(e)&&(f=" "+RegExp.prototype.toString.call(e)),pr(e)&&(f=" "+Date.prototype.toUTCString.call(e)),je(e)&&(f=" "+ft(e)),i.length===0&&(!c||e.length==0))return s[0]+f+s[1];if(t<0)return Pe(e)?r.stylize(RegExp.prototype.toString.call(e),"regexp"):r.stylize("[Object]","special");r.seen.push(e);var y;return c?y=Tf(r,e,t,a,i):y=i.map(function(m){return st(r,e,t,a,m,c)}),r.seen.pop(),Ff(y,f,s)}function qf(r,e){if(z(e))return r.stylize("undefined","undefined");if(gr(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return r.stylize(t,"string")}if(go(e))return r.stylize(""+e,"number");if(lt(e))return r.stylize(""+e,"boolean");if(yr(e))return r.stylize("null","null")}function ft(r){return"["+Error.prototype.toString.call(r)+"]"}function Tf(r,e,t,n,o){for(var i=[],a=0,u=e.length;a<u;++a)bo(e,String(a))?i.push(st(r,e,t,n,String(a),!0)):i.push("");return o.forEach(function(f){f.match(/^\d+$/)||i.push(st(r,e,t,n,f,!0))}),i}function st(r,e,t,n,o,i){var a,u,f;if(f=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]},f.get?f.set?u=r.stylize("[Getter/Setter]","special"):u=r.stylize("[Getter]","special"):f.set&&(u=r.stylize("[Setter]","special")),bo(n,o)||(a="["+o+"]"),u||(r.seen.indexOf(f.value)<0?(yr(t)?u=lr(r,f.value,null):u=lr(r,f.value,t-1),u.indexOf("\n")>-1&&(i?u=u.split("\n").map(function(c){return" "+c}).join("\n").slice(2):u="\n"+u.split("\n").map(function(c){return" "+c}).join("\n"))):u=r.stylize("[Circular]","special")),z(a)){if(i&&o.match(/^\d+$/))return u;a=JSON.stringify(""+o),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=r.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=r.stylize(a,"string"))}return a+": "+u}function Ff(r,e,t){var n=0,o=r.reduce(function(i,a){return n++,a.indexOf("\n")>=0&&n++,i+a.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?t[0]+(e===""?"":e+"\n ")+" "+r.join(",\n ")+" "+t[1]:t[0]+e+" "+r.join(", ")+" "+t[1]}b.types=uo();function yo(r){return Array.isArray(r)}b.isArray=yo;function lt(r){return typeof r=="boolean"}b.isBoolean=lt;function yr(r){return r===null}b.isNull=yr;function xf(r){return r==null}b.isNullOrUndefined=xf;function go(r){return typeof r=="number"}b.isNumber=go;function gr(r){return typeof r=="string"}b.isString=gr;function Nf(r){return typeof r=="symbol"}b.isSymbol=Nf;function z(r){return r===void 0}b.isUndefined=z;function Pe(r){return oe(r)&&pt(r)==="[object RegExp]"}b.isRegExp=Pe;b.types.isRegExp=Pe;function oe(r){return typeof r=="object"&&r!==null}b.isObject=oe;function pr(r){return oe(r)&&pt(r)==="[object Date]"}b.isDate=pr;b.types.isDate=pr;function je(r){return oe(r)&&(pt(r)==="[object Error]"||r instanceof Error)}b.isError=je;b.types.isNativeError=je;function sr(r){return typeof r=="function"}b.isFunction=sr;function Bf(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||typeof r=="symbol"||typeof r>"u"}b.isPrimitive=Bf;b.isBuffer=co();function pt(r){return Object.prototype.toString.call(r)}function ct(r){return r<10?"0"+r.toString(10):r.toString(10)}var Uf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Df(){var r=new Date,e=[ct(r.getHours()),ct(r.getMinutes()),ct(r.getSeconds())].join(":");return[r.getDate(),Uf[r.getMonth()],e].join(" ")}b.log=function(){console.log("%s - %s",Df(),b.format.apply(b,arguments))};b.inherits=so();b._extend=function(r,e){if(!e||!oe(e))return r;for(var t=Object.keys(e),n=t.length;n--;)r[t[n]]=e[t[n]];return r};function bo(r,e){return Object.prototype.hasOwnProperty.call(r,e)}var C=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;b.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(C&&e[C]){var t=e[C];if(typeof t!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,C,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var n,o,i=new Promise(function(f,c){n=f,o=c}),a=[],u=0;u<arguments.length;u++)a.push(arguments[u]);a.push(function(f,c){f?o(f):n(c)});try{e.apply(this,a)}catch(f){o(f)}return i}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),C&&Object.defineProperty(t,C,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,lo(e))};b.promisify.custom=C;function _f(r,e){if(!r){var t=new Error("Promise was rejected with a falsy value");t.reason=r,r=t}return e(r)}function Mf(r){if(typeof r!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var o=t.pop();if(typeof o!="function")throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};r.apply(this,t).then(function(u){process.nextTick(a.bind(null,null,u))},function(u){process.nextTick(_f.bind(null,u,a))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(r)),Object.defineProperties(e,lo(r)),e}b.callbackify=Mf});var bt=p((ml,So)=>{"use strict";function _(r){"@babel/helpers - typeof";return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(r)}function ho(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,Gf(n.key),n)}}function $f(r,e,t){return e&&ho(r.prototype,e),t&&ho(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function Gf(r){var e=kf(r,"string");return _(e)==="symbol"?e:String(e)}function kf(r,e){if(_(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e||"default");if(_(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Wf(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Lf(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&gt(r,e)}function gt(r,e){return gt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},gt(r,e)}function Vf(r){var e=Jf();return function(){var n=br(r),o;if(e){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cf(this,o)}}function Cf(r,e){if(e&&(_(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return zf(r)}function zf(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Jf(){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(r){return!1}}function br(r){return br=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},br(r)}var mo={},ae,yt;function Ie(r,e,t){t||(t=Error);function n(i,a,u){return typeof e=="string"?e:e(i,a,u)}var o=function(i){Lf(u,i);var a=Vf(u);function u(f,c,s){var l;return Wf(this,u),l=a.call(this,n(f,c,s)),l.code=r,l}return $f(u)}(t);mo[r]=o}function vo(r,e){if(Array.isArray(r)){var t=r.length;return r=r.map(function(n){return String(n)}),t>2?"one of ".concat(e," ").concat(r.slice(0,t-1).join(", "),", or ")+r[t-1]:t===2?"one of ".concat(e," ").concat(r[0]," or ").concat(r[1]):"of ".concat(e," ").concat(r[0])}else return"of ".concat(e," ").concat(String(r))}function Hf(r,e,t){return r.substr(!t||t<0?0:+t,e.length)===e}function Yf(r,e,t){return(t===void 0||t>r.length)&&(t=r.length),r.substring(t-e.length,t)===e}function Xf(r,e,t){return typeof t!="number"&&(t=0),t+e.length>r.length?!1:r.indexOf(e,t)!==-1}Ie("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);Ie("ERR_INVALID_ARG_TYPE",function(r,e,t){ae===void 0&&(ae=Re()),ae(typeof r=="string","'name' must be a string");var n;typeof e=="string"&&Hf(e,"not ")?(n="must not be",e=e.replace(/^not /,"")):n="must be";var o;if(Yf(r," argument"))o="The ".concat(r," ").concat(n," ").concat(vo(e,"type"));else{var i=Xf(r,".")?"property":"argument";o='The "'.concat(r,'" ').concat(i," ").concat(n," ").concat(vo(e,"type"))}return o+=". Received type ".concat(_(t)),o},TypeError);Ie("ERR_INVALID_ARG_VALUE",function(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";yt===void 0&&(yt=ie());var n=yt.inspect(e);return n.length>128&&(n="".concat(n.slice(0,128),"...")),"The argument '".concat(r,"' ").concat(t,". Received ").concat(n)},TypeError,RangeError);Ie("ERR_INVALID_RETURN_VALUE",function(r,e,t){var n;return t&&t.constructor&&t.constructor.name?n="instance of ".concat(t.constructor.name):n="type ".concat(_(t)),"Expected ".concat(r,' to be returned from the "').concat(e,'"')+" function but got ".concat(n,".")},TypeError);Ie("ERR_MISSING_ARGS",function(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];ae===void 0&&(ae=Re()),ae(e.length>0,"At least one arg needs to be specified");var n="The ",o=e.length;switch(e=e.map(function(i){return'"'.concat(i,'"')}),o){case 1:n+="".concat(e[0]," argument");break;case 2:n+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:n+=e.slice(0,o-1).join(", "),n+=", and ".concat(e[o-1]," arguments");break}return"".concat(n," must be specified")},TypeError);So.exports.codes=mo});var To=p((Sl,qo)=>{"use strict";function Ao(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,n)}return t}function Oo(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ao(Object(t),!0).forEach(function(n){Zf(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Ao(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function Zf(r,e,t){return e=jo(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Qf(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function wo(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,jo(n.key),n)}}function Kf(r,e,t){return e&&wo(r.prototype,e),t&&wo(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function jo(r){var e=ec(r,"string");return j(e)==="symbol"?e:String(e)}function ec(r,e){if(j(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e||"default");if(j(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function rc(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&xe(r,e)}function tc(r){var e=Ro();return function(){var n=Ne(r),o;if(e){var i=Ne(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Io(this,o)}}function Io(r,e){if(e&&(j(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return dt(r)}function dt(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function ht(r){var e=typeof Map=="function"?new Map:void 0;return ht=function(n){if(n===null||!nc(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,o)}function o(){return dr(n,arguments,Ne(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),xe(o,n)},ht(r)}function dr(r,e,t){return Ro()?dr=Reflect.construct.bind():dr=function(o,i,a){var u=[null];u.push.apply(u,i);var f=Function.bind.apply(o,u),c=new f;return a&&xe(c,a.prototype),c},dr.apply(null,arguments)}function Ro(){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(r){return!1}}function nc(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function xe(r,e){return xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},xe(r,e)}function Ne(r){return Ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ne(r)}function j(r){"@babel/helpers - typeof";return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(r)}var oc=ie(),vt=oc.inspect,ic=bt(),ac=ic.codes.ERR_INVALID_ARG_TYPE;function Eo(r,e,t){return(t===void 0||t>r.length)&&(t=r.length),r.substring(t-e.length,t)===e}function uc(r,e){if(e=Math.floor(e),r.length==0||e==0)return"";var t=r.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)r+=r,e--;return r+=r.substring(0,t-r.length),r}var x="",qe="",Te="",E="",J={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:"},fc=10;function Po(r){var e=Object.keys(r),t=Object.create(Object.getPrototypeOf(r));return e.forEach(function(n){t[n]=r[n]}),Object.defineProperty(t,"message",{value:r.message}),t}function Fe(r){return vt(r,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function cc(r,e,t){var n="",o="",i=0,a="",u=!1,f=Fe(r),c=f.split("\n"),s=Fe(e).split("\n"),l=0,y="";if(t==="strictEqual"&&j(r)==="object"&&j(e)==="object"&&r!==null&&e!==null&&(t="strictEqualObject"),c.length===1&&s.length===1&&c[0]!==s[0]){var m=c[0].length+s[0].length;if(m<=fc){if((j(r)!=="object"||r===null)&&(j(e)!=="object"||e===null)&&(r!==0||e!==0))return"".concat(J[t],"\n\n")+"".concat(c[0]," !== ").concat(s[0],"\n")}else if(t!=="strictEqualObject"){var v=process.stderr&&process.stderr.isTTY?process.stderr.columns:80;if(m<v){for(;c[0][l]===s[0][l];)l++;l>2&&(y="\n ".concat(uc(" ",l),"^"),l=0)}}}for(var S=c[c.length-1],Ve=s[s.length-1];S===Ve&&(l++<2?a="\n ".concat(S).concat(a):n=S,c.pop(),s.pop(),!(c.length===0||s.length===0));)S=c[c.length-1],Ve=s[s.length-1];var _r=Math.max(c.length,s.length);if(_r===0){var de=f.split("\n");if(de.length>30)for(de[26]="".concat(x,"...").concat(E);de.length>27;)de.pop();return"".concat(J.notIdentical,"\n\n").concat(de.join("\n"),"\n")}l>3&&(a="\n".concat(x,"...").concat(E).concat(a),u=!0),n!==""&&(a="\n ".concat(n).concat(a),n="");var T=0,$t=J[t]+"\n".concat(qe,"+ actual").concat(E," ").concat(Te,"- expected").concat(E),Gt=" ".concat(x,"...").concat(E," Lines skipped");for(l=0;l<_r;l++){var U=l-i;if(c.length<l+1)U>1&&l>2&&(U>4?(o+="\n".concat(x,"...").concat(E),u=!0):U>3&&(o+="\n ".concat(s[l-2]),T++),o+="\n ".concat(s[l-1]),T++),i=l,n+="\n".concat(Te,"-").concat(E," ").concat(s[l]),T++;else if(s.length<l+1)U>1&&l>2&&(U>4?(o+="\n".concat(x,"...").concat(E),u=!0):U>3&&(o+="\n ".concat(c[l-2]),T++),o+="\n ".concat(c[l-1]),T++),i=l,o+="\n".concat(qe,"+").concat(E," ").concat(c[l]),T++;else{var he=s[l],k=c[l],Mr=k!==he&&(!Eo(k,",")||k.slice(0,-1)!==he);Mr&&Eo(he,",")&&he.slice(0,-1)===k&&(Mr=!1,k+=","),Mr?(U>1&&l>2&&(U>4?(o+="\n".concat(x,"...").concat(E),u=!0):U>3&&(o+="\n ".concat(c[l-2]),T++),o+="\n ".concat(c[l-1]),T++),i=l,o+="\n".concat(qe,"+").concat(E," ").concat(k),n+="\n".concat(Te,"-").concat(E," ").concat(he),T+=2):(o+=n,n="",(U===1||l===0)&&(o+="\n ".concat(k),T++))}if(T>20&&l<_r-2)return"".concat($t).concat(Gt,"\n").concat(o,"\n").concat(x,"...").concat(E).concat(n,"\n")+"".concat(x,"...").concat(E)}return"".concat($t).concat(u?Gt:"","\n").concat(o).concat(n).concat(a).concat(y)}var sc=function(r,e){rc(n,r);var t=tc(n);function n(o){var i;if(Qf(this,n),j(o)!=="object"||o===null)throw new ac("options","Object",o);var a=o.message,u=o.operator,f=o.stackStartFn,c=o.actual,s=o.expected,l=Error.stackTraceLimit;if(Error.stackTraceLimit=0,a!=null)i=t.call(this,String(a));else if(process.stderr&&process.stderr.isTTY&&(process.stderr&&process.stderr.getColorDepth&&process.stderr.getColorDepth()!==1?(x="\x1B[34m",qe="\x1B[32m",E="\x1B[39m",Te="\x1B[31m"):(x="",qe="",E="",Te="")),j(c)==="object"&&c!==null&&j(s)==="object"&&s!==null&&"stack"in c&&c instanceof Error&&"stack"in s&&s instanceof Error&&(c=Po(c),s=Po(s)),u==="deepStrictEqual"||u==="strictEqual")i=t.call(this,cc(c,s,u));else if(u==="notDeepStrictEqual"||u==="notStrictEqual"){var y=J[u],m=Fe(c).split("\n");if(u==="notStrictEqual"&&j(c)==="object"&&c!==null&&(y=J.notStrictEqualObject),m.length>30)for(m[26]="".concat(x,"...").concat(E);m.length>27;)m.pop();m.length===1?i=t.call(this,"".concat(y," ").concat(m[0])):i=t.call(this,"".concat(y,"\n\n").concat(m.join("\n"),"\n"))}else{var v=Fe(c),S="",Ve=J[u];u==="notDeepEqual"||u==="notEqual"?(v="".concat(J[u],"\n\n").concat(v),v.length>1024&&(v="".concat(v.slice(0,1021),"..."))):(S="".concat(Fe(s)),v.length>512&&(v="".concat(v.slice(0,509),"...")),S.length>512&&(S="".concat(S.slice(0,509),"...")),u==="deepEqual"||u==="equal"?v="".concat(Ve,"\n\n").concat(v,"\n\nshould equal\n\n"):S=" ".concat(u," ").concat(S)),i=t.call(this,"".concat(v).concat(S))}return Error.stackTraceLimit=l,i.generatedMessage=!a,Object.defineProperty(dt(i),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),i.code="ERR_ASSERTION",i.actual=c,i.expected=s,i.operator=u,Error.captureStackTrace&&Error.captureStackTrace(dt(i),f),i.stack,i.name="AssertionError",Io(i)}return Kf(n,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:e,value:function(i,a){return vt(this,Oo(Oo({},a),{},{customInspect:!1,depth:0}))}}]),n}(ht(Error),vt.custom);qo.exports=sc});var mt=p((Al,xo)=>{"use strict";var Fo=Object.prototype.toString;xo.exports=function(e){var t=Fo.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Fo.call(e.callee)==="[object Function]"),n}});var ko=p((Ol,Go)=>{"use strict";var $o;Object.keys||(Be=Object.prototype.hasOwnProperty,St=Object.prototype.toString,No=mt(),At=Object.prototype.propertyIsEnumerable,Bo=!At.call({toString:null},"toString"),Uo=At.call(function(){},"prototype"),Ue=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],hr=function(r){var e=r.constructor;return e&&e.prototype===r},Do={$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},_o=function(){if(typeof window>"u")return!1;for(var r in window)try{if(!Do["$"+r]&&Be.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{hr(window[r])}catch(e){return!0}}catch(e){return!0}return!1}(),Mo=function(r){if(typeof window>"u"||!_o)return hr(r);try{return hr(r)}catch(e){return!1}},$o=function(e){var t=e!==null&&typeof e=="object",n=St.call(e)==="[object Function]",o=No(e),i=t&&St.call(e)==="[object String]",a=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var u=Uo&&n;if(i&&e.length>0&&!Be.call(e,0))for(var f=0;f<e.length;++f)a.push(String(f));if(o&&e.length>0)for(var c=0;c<e.length;++c)a.push(String(c));else for(var s in e)!(u&&s==="prototype")&&Be.call(e,s)&&a.push(String(s));if(Bo)for(var l=Mo(e),y=0;y<Ue.length;++y)!(l&&Ue[y]==="constructor")&&Be.call(e,Ue[y])&&a.push(Ue[y]);return a});var Be,St,No,At,Bo,Uo,Ue,hr,Do,_o,Mo;Go.exports=$o});var Ot=p((wl,Vo)=>{"use strict";var lc=Array.prototype.slice,pc=mt(),Wo=Object.keys,vr=Wo?function(e){return Wo(e)}:ko(),Lo=Object.keys;vr.shim=function(){if(Object.keys){var e=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);e||(Object.keys=function(n){return pc(n)?Lo(lc.call(n)):Lo(n)})}else Object.keys=vr;return Object.keys||vr};Vo.exports=vr});var Xo=p((El,Yo)=>{"use strict";var yc=Ot(),Jo=Je()(),Ho=Ae(),Co=Object,gc=Ho("Array.prototype.push"),zo=Ho("Object.prototype.propertyIsEnumerable"),bc=Jo?Object.getOwnPropertySymbols:null;Yo.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=Co(e);if(arguments.length===1)return n;for(var o=1;o<arguments.length;++o){var i=Co(arguments[o]),a=yc(i),u=Jo&&(Object.getOwnPropertySymbols||bc);if(u)for(var f=u(i),c=0;c<f.length;++c){var s=f[c];zo(i,s)&&gc(a,s)}for(var l=0;l<a.length;++l){var y=a[l];if(zo(i,y)){var m=i[y];n[y]=m}}}return n}});var Qo=p((Pl,Zo)=>{"use strict";var wt=Xo(),dc=function(){if(!Object.assign)return!1;for(var r="abcdefghijklmnopqrst",e=r.split(""),t={},n=0;n<e.length;++n)t[e[n]]=e[n];var o=Object.assign({},t),i="";for(var a in o)i+=a;return r!==i},hc=function(){if(!Object.assign||!Object.preventExtensions)return!1;var r=Object.preventExtensions({1:2});try{Object.assign(r,"xy")}catch(e){return r[1]==="y"}return!1};Zo.exports=function(){return!Object.assign||dc()||hc()?wt:Object.assign}});var Et=p((jl,ei)=>{"use strict";var Ko=function(r){return r!==r};ei.exports=function(e,t){return e===0&&t===0?1/e===1/t:!!(e===t||Ko(e)&&Ko(t))}});var mr=p((Il,ri)=>{"use strict";var vc=Et();ri.exports=function(){return typeof Object.is=="function"?Object.is:vc}});var oi=p((Rl,ni)=>{"use strict";var ti=typeof Symbol<"u"&&Symbol,mc=Je();ni.exports=function(){return typeof ti!="function"||typeof Symbol!="function"||typeof ti("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:mc()}});var ai=p((ql,ii)=>{"use strict";var Sc=Function.prototype.call,Ac=Object.prototype.hasOwnProperty,Oc=X();ii.exports=Oc.call(Sc,Ac)});var le=p((Tl,li)=>{"use strict";var h,se=SyntaxError,si=Function,ce=TypeError,Pt=function(r){try{return si('"use strict"; return ('+r+").constructor;")()}catch(e){}},H=Object.getOwnPropertyDescriptor;if(H)try{H({},"")}catch(r){H=null}var jt=function(){throw new ce},wc=H?function(){try{return arguments.callee,jt}catch(r){try{return H(arguments,"callee").get}catch(e){return jt}}}():jt,ue=oi()(),Ec=$r()(),w=Object.getPrototypeOf||(Ec?function(r){return r.__proto__}:null),fe={},Pc=typeof Uint8Array>"u"||!w?h:w(Uint8Array),Y={"%AggregateError%":typeof AggregateError>"u"?h:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?h:ArrayBuffer,"%ArrayIteratorPrototype%":ue&&w?w([][Symbol.iterator]()):h,"%AsyncFromSyncIteratorPrototype%":h,"%AsyncFunction%":fe,"%AsyncGenerator%":fe,"%AsyncGeneratorFunction%":fe,"%AsyncIteratorPrototype%":fe,"%Atomics%":typeof Atomics>"u"?h:Atomics,"%BigInt%":typeof BigInt>"u"?h:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?h:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?h:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?h:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?h:Float32Array,"%Float64Array%":typeof Float64Array>"u"?h:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?h:FinalizationRegistry,"%Function%":si,"%GeneratorFunction%":fe,"%Int8Array%":typeof Int8Array>"u"?h:Int8Array,"%Int16Array%":typeof Int16Array>"u"?h:Int16Array,"%Int32Array%":typeof Int32Array>"u"?h:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ue&&w?w(w([][Symbol.iterator]())):h,"%JSON%":typeof JSON=="object"?JSON:h,"%Map%":typeof Map>"u"?h:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ue||!w?h:w(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?h:Promise,"%Proxy%":typeof Proxy>"u"?h:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?h:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?h:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ue||!w?h:w(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?h:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ue&&w?w(""[Symbol.iterator]()):h,"%Symbol%":ue?Symbol:h,"%SyntaxError%":se,"%ThrowTypeError%":wc,"%TypedArray%":Pc,"%TypeError%":ce,"%Uint8Array%":typeof Uint8Array>"u"?h:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?h:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?h:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?h:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?h:WeakMap,"%WeakRef%":typeof WeakRef>"u"?h:WeakRef,"%WeakSet%":typeof WeakSet>"u"?h:WeakSet};if(w)try{null.error}catch(r){ui=w(w(r)),Y["%Error.prototype%"]=ui}var ui,jc=function r(e){var t;if(e==="%AsyncFunction%")t=Pt("async function () {}");else if(e==="%GeneratorFunction%")t=Pt("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Pt("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&w&&(t=w(o.prototype))}return Y[e]=t,t},fi={"%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"]},De=X(),Sr=ai(),Ic=De.call(Function.call,Array.prototype.concat),Rc=De.call(Function.apply,Array.prototype.splice),ci=De.call(Function.call,String.prototype.replace),Ar=De.call(Function.call,String.prototype.slice),qc=De.call(Function.call,RegExp.prototype.exec),Tc=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Fc=/\\(\\)?/g,xc=function(e){var t=Ar(e,0,1),n=Ar(e,-1);if(t==="%"&&n!=="%")throw new se("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new se("invalid intrinsic syntax, expected opening `%`");var o=[];return ci(e,Tc,function(i,a,u,f){o[o.length]=u?ci(f,Fc,"$1"):a||i}),o},Nc=function(e,t){var n=e,o;if(Sr(fi,n)&&(o=fi[n],n="%"+o[0]+"%"),Sr(Y,n)){var i=Y[n];if(i===fe&&(i=jc(n)),typeof i>"u"&&!t)throw new ce("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new se("intrinsic "+e+" does not exist!")};li.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new ce("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new ce('"allowMissing" argument must be a boolean');if(qc(/^%?[^%]*%?$/,e)===null)throw new se("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=xc(e),o=n.length>0?n[0]:"",i=Nc("%"+o+"%",t),a=i.name,u=i.value,f=!1,c=i.alias;c&&(o=c[0],Rc(n,Ic([0,1],c)));for(var s=1,l=!0;s<n.length;s+=1){var y=n[s],m=Ar(y,0,1),v=Ar(y,-1);if((m==='"'||m==="'"||m==="`"||v==='"'||v==="'"||v==="`")&&m!==v)throw new se("property names with quotes must have matching quotes");if((y==="constructor"||!l)&&(f=!0),o+="."+y,a="%"+o+"%",Sr(Y,a))u=Y[a];else if(u!=null){if(!(y in u)){if(!t)throw new ce("base intrinsic for "+e+" exists, but the property is not available.");return}if(H&&s+1>=n.length){var S=H(u,y);l=!!S,l&&"get"in S&&!("originalValue"in S.get)?u=S.get:u=u[y]}else l=Sr(u,y),u=u[y];l&&!f&&(Y[a]=u)}}return u}});var Or=p((Fl,pi)=>{"use strict";var Bc=le(),It=Bc("%Object.defineProperty%",!0),Rt=function(){if(It)try{return It({},"a",{value:1}),!0}catch(e){return!1}return!1};Rt.hasArrayLengthDefineBug=function(){if(!Rt())return null;try{return It([],"length",{value:1}).length!==1}catch(e){return!0}};pi.exports=Rt});var Tt=p((xl,gi)=>{"use strict";var Uc=Or()(),qt=le(),_e=Uc&&qt("%Object.defineProperty%",!0);if(_e)try{_e({},"a",{value:1})}catch(r){_e=!1}var Dc=qt("%SyntaxError%"),pe=qt("%TypeError%"),yi=Oe();gi.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new pe("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new pe("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new pe("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new pe("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new pe("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new pe("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,f=!!yi&&yi(e,t);if(_e)_e(e,t,{configurable:a===null&&f?f.configurable:!a,enumerable:o===null&&f?f.enumerable:!o,value:n,writable:i===null&&f?f.writable:!i});else if(u||!o&&!i&&!a)e[t]=n;else throw new Dc("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Si=p((Nl,mi)=>{"use strict";var vi=le(),bi=Tt(),_c=Or()(),di=Oe(),hi=vi("%TypeError%"),Mc=vi("%Math.floor%");mi.exports=function(e,t){if(typeof e!="function")throw new hi("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Mc(t)!==t)throw new hi("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&di){var a=di(e,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!n)&&(_c?bi(e,"length",t,!0,!0):bi(e,"length",t)),e}});var Er=p((Bl,wr)=>{"use strict";var Ft=X(),ye=le(),$c=Si(),Gc=ye("%TypeError%"),Oi=ye("%Function.prototype.apply%"),wi=ye("%Function.prototype.call%"),Ei=ye("%Reflect.apply%",!0)||Ft.call(wi,Oi),Me=ye("%Object.defineProperty%",!0),kc=ye("%Math.max%");if(Me)try{Me({},"a",{value:1})}catch(r){Me=null}wr.exports=function(e){if(typeof e!="function")throw new Gc("a function is required");var t=Ei(Ft,wi,arguments);return $c(t,1+kc(0,e.length-(arguments.length-1)),!0)};var Ai=function(){return Ei(Ft,Oi,arguments)};Me?Me(wr.exports,"apply",{value:Ai}):wr.exports.apply=Ai});var Ri=p((Ul,Ii)=>{"use strict";var Pi=le(),ji=Er(),Wc=ji(Pi("String.prototype.indexOf"));Ii.exports=function(e,t){var n=Pi(e,!!t);return typeof n=="function"&&Wc(e,".prototype.")>-1?ji(n):n}});var $e=p((Dl,xi)=>{"use strict";var Lc=Ot(),Vc=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Cc=Object.prototype.toString,zc=Array.prototype.concat,qi=Tt(),Jc=function(r){return typeof r=="function"&&Cc.call(r)==="[object Function]"},Ti=Or()(),Hc=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!Jc(n)||!n())return}Ti?qi(r,e,t,!0):qi(r,e,t)},Fi=function(r,e){var t=arguments.length>2?arguments[2]:{},n=Lc(e);Vc&&(n=zc.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)Hc(r,n[o],e[n[o]],t[n[o]])};Fi.supportsDescriptors=!!Ti;xi.exports=Fi});var Bi=p((_l,Ni)=>{"use strict";var Yc=mr(),Xc=$e();Ni.exports=function(){var e=Yc();return Xc(Object,{is:e},{is:function(){return Object.is!==e}}),e}});var Mi=p((Ml,_i)=>{"use strict";var Zc=$e(),Qc=Er(),Kc=Et(),Ui=mr(),es=Bi(),Di=Qc(Ui(),Object);Zc(Di,{getPolyfill:Ui,implementation:Kc,shim:es});_i.exports=Di});var xt=p(($l,$i)=>{"use strict";$i.exports=function(e){return e!==e}});var Nt=p((Gl,Gi)=>{"use strict";var rs=xt();Gi.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:rs}});var Wi=p((kl,ki)=>{"use strict";var ts=$e(),ns=Nt();ki.exports=function(){var e=ns();return ts(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}});var zi=p((Wl,Ci)=>{"use strict";var os=Er(),is=$e(),as=xt(),Li=Nt(),us=Wi(),Vi=os(Li(),Number);is(Vi,{getPolyfill:Li,implementation:as,shim:us});Ci.exports=Vi});var pa=p((Ll,la)=>{"use strict";function Ji(r,e){return ls(r)||ss(r,e)||cs(r,e)||fs()}function fs(){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 cs(r,e){if(r){if(typeof r=="string")return Hi(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Hi(r,e)}}function Hi(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function ss(r,e){var t=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var n,o,i,a,u=[],f=!0,c=!1;try{if(i=(t=t.call(r)).next,e===0){if(Object(t)!==t)return;f=!1}else for(;!(f=(n=i.call(t)).done)&&(u.push(n.value),u.length!==e);f=!0);}catch(s){c=!0,o=s}finally{try{if(!f&&t.return!=null&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}function ls(r){if(Array.isArray(r))return r}function R(r){"@babel/helpers - typeof";return R=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(r)}var ps=/a/g.flags!==void 0,Fr=function(e){var t=[];return e.forEach(function(n){return t.push(n)}),t},Yi=function(e){var t=[];return e.forEach(function(n,o){return t.push([o,n])}),t},aa=Object.is?Object.is:Mi(),qr=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},Bt=Number.isNaN?Number.isNaN:zi();function Dt(r){return r.call.bind(r)}var ke=Dt(Object.prototype.hasOwnProperty),Tr=Dt(Object.prototype.propertyIsEnumerable),Xi=Dt(Object.prototype.toString),P=ie().types,ys=P.isAnyArrayBuffer,gs=P.isArrayBufferView,Zi=P.isDate,Pr=P.isMap,Qi=P.isRegExp,jr=P.isSet,bs=P.isNativeError,ds=P.isBoxedPrimitive,Ki=P.isNumberObject,ea=P.isStringObject,ra=P.isBooleanObject,ta=P.isBigIntObject,hs=P.isSymbolObject,vs=P.isFloat32Array,ms=P.isFloat64Array;function Ss(r){if(r.length===0||r.length>10)return!0;for(var e=0;e<r.length;e++){var t=r.charCodeAt(e);if(t<48||t>57)return!0}return r.length===10&&r>=Math.pow(2,32)}function Ir(r){return Object.keys(r).filter(Ss).concat(qr(r).filter(Object.prototype.propertyIsEnumerable.bind(r)))}function ua(r,e){if(r===e)return 0;for(var t=r.length,n=e.length,o=0,i=Math.min(t,n);o<i;++o)if(r[o]!==e[o]){t=r[o],n=e[o];break}return t<n?-1:n<t?1:0}var Rr=void 0,As=!0,Os=!1,Ut=0,_t=1,fa=2,ca=3;function ws(r,e){return ps?r.source===e.source&&r.flags===e.flags:RegExp.prototype.toString.call(r)===RegExp.prototype.toString.call(e)}function Es(r,e){if(r.byteLength!==e.byteLength)return!1;for(var t=0;t<r.byteLength;t++)if(r[t]!==e[t])return!1;return!0}function Ps(r,e){return r.byteLength!==e.byteLength?!1:ua(new Uint8Array(r.buffer,r.byteOffset,r.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))===0}function js(r,e){return r.byteLength===e.byteLength&&ua(new Uint8Array(r),new Uint8Array(e))===0}function Is(r,e){return Ki(r)?Ki(e)&&aa(Number.prototype.valueOf.call(r),Number.prototype.valueOf.call(e)):ea(r)?ea(e)&&String.prototype.valueOf.call(r)===String.prototype.valueOf.call(e):ra(r)?ra(e)&&Boolean.prototype.valueOf.call(r)===Boolean.prototype.valueOf.call(e):ta(r)?ta(e)&&BigInt.prototype.valueOf.call(r)===BigInt.prototype.valueOf.call(e):hs(e)&&Symbol.prototype.valueOf.call(r)===Symbol.prototype.valueOf.call(e)}function q(r,e,t,n){if(r===e)return r!==0?!0:t?aa(r,e):!0;if(t){if(R(r)!=="object")return typeof r=="number"&&Bt(r)&&Bt(e);if(R(e)!=="object"||r===null||e===null||Object.getPrototypeOf(r)!==Object.getPrototypeOf(e))return!1}else{if(r===null||R(r)!=="object")return e===null||R(e)!=="object"?r==e:!1;if(e===null||R(e)!=="object")return!1}var o=Xi(r),i=Xi(e);if(o!==i)return!1;if(Array.isArray(r)){if(r.length!==e.length)return!1;var a=Ir(r,Rr),u=Ir(e,Rr);return a.length!==u.length?!1:Ge(r,e,t,n,_t,a)}if(o==="[object Object]"&&(!Pr(r)&&Pr(e)||!jr(r)&&jr(e)))return!1;if(Zi(r)){if(!Zi(e)||Date.prototype.getTime.call(r)!==Date.prototype.getTime.call(e))return!1}else if(Qi(r)){if(!Qi(e)||!ws(r,e))return!1}else if(bs(r)||r instanceof Error){if(r.message!==e.message||r.name!==e.name)return!1}else if(gs(r)){if(!t&&(vs(r)||ms(r))){if(!Es(r,e))return!1}else if(!Ps(r,e))return!1;var f=Ir(r,Rr),c=Ir(e,Rr);return f.length!==c.length?!1:Ge(r,e,t,n,Ut,f)}else{if(jr(r))return!jr(e)||r.size!==e.size?!1:Ge(r,e,t,n,fa);if(Pr(r))return!Pr(e)||r.size!==e.size?!1:Ge(r,e,t,n,ca);if(ys(r)){if(!js(r,e))return!1}else if(ds(r)&&!Is(r,e))return!1}return Ge(r,e,t,n,Ut)}function na(r,e){return e.filter(function(t){return Tr(r,t)})}function Ge(r,e,t,n,o,i){if(arguments.length===5){i=Object.keys(r);var a=Object.keys(e);if(i.length!==a.length)return!1}for(var u=0;u<i.length;u++)if(!ke(e,i[u]))return!1;if(t&&arguments.length===5){var f=qr(r);if(f.length!==0){var c=0;for(u=0;u<f.length;u++){var s=f[u];if(Tr(r,s)){if(!Tr(e,s))return!1;i.push(s),c++}else if(Tr(e,s))return!1}var l=qr(e);if(f.length!==l.length&&na(e,l).length!==c)return!1}else{var y=qr(e);if(y.length!==0&&na(e,y).length!==0)return!1}}if(i.length===0&&(o===Ut||o===_t&&r.length===0||r.size===0))return!0;if(n===void 0)n={val1:new Map,val2:new Map,position:0};else{var m=n.val1.get(r);if(m!==void 0){var v=n.val2.get(e);if(v!==void 0)return m===v}n.position++}n.val1.set(r,n.position),n.val2.set(e,n.position);var S=xs(r,e,t,i,n,o);return n.val1.delete(r),n.val2.delete(e),S}function oa(r,e,t,n){for(var o=Fr(r),i=0;i<o.length;i++){var a=o[i];if(q(e,a,t,n))return r.delete(a),!0}return!1}function sa(r){switch(R(r)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":r=+r;case"number":if(Bt(r))return!1}return!0}function Rs(r,e,t){var n=sa(t);return n!=null?n:e.has(n)&&!r.has(n)}function qs(r,e,t,n,o){var i=sa(t);if(i!=null)return i;var a=e.get(i);return a===void 0&&!e.has(i)||!q(n,a,!1,o)?!1:!r.has(i)&&q(n,a,!1,o)}function Ts(r,e,t,n){for(var o=null,i=Fr(r),a=0;a<i.length;a++){var u=i[a];if(R(u)==="object"&&u!==null)o===null&&(o=new Set),o.add(u);else if(!e.has(u)){if(t||!Rs(r,e,u))return!1;o===null&&(o=new Set),o.add(u)}}if(o!==null){for(var f=Fr(e),c=0;c<f.length;c++){var s=f[c];if(R(s)==="object"&&s!==null){if(!oa(o,s,t,n))return!1}else if(!t&&!r.has(s)&&!oa(o,s,t,n))return!1}return o.size===0}return!0}function ia(r,e,t,n,o,i){for(var a=Fr(r),u=0;u<a.length;u++){var f=a[u];if(q(t,f,o,i)&&q(n,e.get(f),o,i))return r.delete(f),!0}return!1}function Fs(r,e,t,n){for(var o=null,i=Yi(r),a=0;a<i.length;a++){var u=Ji(i[a],2),f=u[0],c=u[1];if(R(f)==="object"&&f!==null)o===null&&(o=new Set),o.add(f);else{var s=e.get(f);if(s===void 0&&!e.has(f)||!q(c,s,t,n)){if(t||!qs(r,e,f,c,n))return!1;o===null&&(o=new Set),o.add(f)}}}if(o!==null){for(var l=Yi(e),y=0;y<l.length;y++){var m=Ji(l[y],2),v=m[0],S=m[1];if(R(v)==="object"&&v!==null){if(!ia(o,r,v,S,t,n))return!1}else if(!t&&(!r.has(v)||!q(r.get(v),S,!1,n))&&!ia(o,r,v,S,!1,n))return!1}return o.size===0}return!0}function xs(r,e,t,n,o,i){var a=0;if(i===fa){if(!Ts(r,e,t,o))return!1}else if(i===ca){if(!Fs(r,e,t,o))return!1}else if(i===_t)for(;a<r.length;a++)if(ke(r,a)){if(!ke(e,a)||!q(r[a],e[a],t,o))return!1}else{if(ke(e,a))return!1;for(var u=Object.keys(r);a<u.length;a++){var f=u[a];if(!ke(e,f)||!q(r[f],e[f],t,o))return!1}return u.length===Object.keys(e).length}for(a=0;a<n.length;a++){var c=n[a];if(!q(r[c],e[c],t,o))return!1}return!0}function Ns(r,e){return q(r,e,Os)}function Bs(r,e){return q(r,e,As)}la.exports={isDeepEqual:Ns,isDeepStrictEqual:Bs}});var Re=p((Vl,Ta)=>{"use strict";function N(r){"@babel/helpers - typeof";return N=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(r)}function ya(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,Ds(n.key),n)}}function Us(r,e,t){return e&&ya(r.prototype,e),t&&ya(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function Ds(r){var e=_s(r,"string");return N(e)==="symbol"?e:String(e)}function _s(r,e){if(N(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e||"default");if(N(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Ms(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}var $s=bt(),We=$s.codes,ga=We.ERR_AMBIGUOUS_ARGUMENT,ge=We.ERR_INVALID_ARG_TYPE,Gs=We.ERR_INVALID_ARG_VALUE,ks=We.ERR_INVALID_RETURN_VALUE,$=We.ERR_MISSING_ARGS,G=To(),Ws=ie(),xr=Ws.inspect,va=ie().types,Ls=va.isPromise,Nr=va.isRegExp,Vs=Qo()(),ma=mr()(),Br=Ri()("RegExp.prototype.test"),M,Ur;function Le(){var r=pa();M=r.isDeepEqual,Ur=r.isDeepStrictEqual}var ba=!1,A=Ta.exports=Mt,Dr={};function B(r){throw r.message instanceof Error?r.message:new G(r)}function Sa(r,e,t,n,o){var i=arguments.length,a;if(i===0)a="Failed";else if(i===1)t=r,r=void 0;else{if(ba===!1){ba=!0;var u=process.emitWarning?process.emitWarning:console.warn.bind(console);u("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}i===2&&(n="!=")}if(t instanceof Error)throw t;var f={actual:r,expected:e,operator:n===void 0?"fail":n,stackStartFn:o||Sa};t!==void 0&&(f.message=t);var c=new G(f);throw a&&(c.message=a,c.generatedMessage=!0),c}A.fail=Sa;A.AssertionError=G;function Aa(r,e,t,n){if(!t){var o=!1;if(e===0)o=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var i=new G({actual:t,expected:!0,message:n,operator:"==",stackStartFn:r});throw i.generatedMessage=o,i}}function Mt(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];Aa.apply(void 0,[Mt,e.length].concat(e))}A.ok=Mt;A.equal=function r(e,t,n){if(arguments.length<2)throw new $("actual","expected");e!=t&&B({actual:e,expected:t,message:n,operator:"==",stackStartFn:r})};A.notEqual=function r(e,t,n){if(arguments.length<2)throw new $("actual","expected");e==t&&B({actual:e,expected:t,message:n,operator:"!=",stackStartFn:r})};A.deepEqual=function r(e,t,n){if(arguments.length<2)throw new $("actual","expected");M===void 0&&Le(),M(e,t)||B({actual:e,expected:t,message:n,operator:"deepEqual",stackStartFn:r})};A.notDeepEqual=function r(e,t,n){if(arguments.length<2)throw new $("actual","expected");M===void 0&&Le(),M(e,t)&&B({actual:e,expected:t,message:n,operator:"notDeepEqual",stackStartFn:r})};A.deepStrictEqual=function r(e,t,n){if(arguments.length<2)throw new $("actual","expected");M===void 0&&Le(),Ur(e,t)||B({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:r})};A.notDeepStrictEqual=Oa;function Oa(r,e,t){if(arguments.length<2)throw new $("actual","expected");M===void 0&&Le(),Ur(r,e)&&B({actual:r,expected:e,message:t,operator:"notDeepStrictEqual",stackStartFn:Oa})}A.strictEqual=function r(e,t,n){if(arguments.length<2)throw new $("actual","expected");ma(e,t)||B({actual:e,expected:t,message:n,operator:"strictEqual",stackStartFn:r})};A.notStrictEqual=function r(e,t,n){if(arguments.length<2)throw new $("actual","expected");ma(e,t)&&B({actual:e,expected:t,message:n,operator:"notStrictEqual",stackStartFn:r})};var da=Us(function r(e,t,n){var o=this;Ms(this,r),t.forEach(function(i){i in e&&(n!==void 0&&typeof n[i]=="string"&&Nr(e[i])&&Br(e[i],n[i])?o[i]=n[i]:o[i]=e[i])})});function Cs(r,e,t,n,o,i){if(!(t in r)||!Ur(r[t],e[t])){if(!n){var a=new da(r,o),u=new da(e,o,r),f=new G({actual:a,expected:u,operator:"deepStrictEqual",stackStartFn:i});throw f.actual=r,f.expected=e,f.operator=i.name,f}B({actual:r,expected:e,message:n,operator:i.name,stackStartFn:i})}}function wa(r,e,t,n){if(typeof e!="function"){if(Nr(e))return Br(e,r);if(arguments.length===2)throw new ge("expected",["Function","RegExp"],e);if(N(r)!=="object"||r===null){var o=new G({actual:r,expected:e,message:t,operator:"deepStrictEqual",stackStartFn:n});throw o.operator=n.name,o}var i=Object.keys(e);if(e instanceof Error)i.push("name","message");else if(i.length===0)throw new Gs("error",e,"may not be an empty object");return M===void 0&&Le(),i.forEach(function(a){typeof r[a]=="string"&&Nr(e[a])&&Br(e[a],r[a])||Cs(r,e,a,t,i,n)}),!0}return e.prototype!==void 0&&r instanceof e?!0:Error.isPrototypeOf(e)?!1:e.call({},r)===!0}function Ea(r){if(typeof r!="function")throw new ge("fn","Function",r);try{r()}catch(e){return e}return Dr}function ha(r){return Ls(r)||r!==null&&N(r)==="object"&&typeof r.then=="function"&&typeof r.catch=="function"}function Pa(r){return Promise.resolve().then(function(){var e;if(typeof r=="function"){if(e=r(),!ha(e))throw new ks("instance of Promise","promiseFn",e)}else if(ha(r))e=r;else throw new ge("promiseFn",["Function","Promise"],r);return Promise.resolve().then(function(){return e}).then(function(){return Dr}).catch(function(t){return t})})}function ja(r,e,t,n){if(typeof t=="string"){if(arguments.length===4)throw new ge("error",["Object","Error","Function","RegExp"],t);if(N(e)==="object"&&e!==null){if(e.message===t)throw new ga("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===t)throw new ga("error/message",'The error "'.concat(e,'" is identical to the message.'));n=t,t=void 0}else if(t!=null&&N(t)!=="object"&&typeof t!="function")throw new ge("error",["Object","Error","Function","RegExp"],t);if(e===Dr){var o="";t&&t.name&&(o+=" (".concat(t.name,")")),o+=n?": ".concat(n):".";var i=r.name==="rejects"?"rejection":"exception";B({actual:void 0,expected:t,operator:r.name,message:"Missing expected ".concat(i).concat(o),stackStartFn:r})}if(t&&!wa(e,t,n,r))throw e}function Ia(r,e,t,n){if(e!==Dr){if(typeof t=="string"&&(n=t,t=void 0),!t||wa(e,t)){var o=n?": ".concat(n):".",i=r.name==="doesNotReject"?"rejection":"exception";B({actual:e,expected:t,operator:r.name,message:"Got unwanted ".concat(i).concat(o,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:r})}throw e}}A.throws=function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];ja.apply(void 0,[r,Ea(e)].concat(n))};A.rejects=function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return Pa(e).then(function(i){return ja.apply(void 0,[r,i].concat(n))})};A.doesNotThrow=function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];Ia.apply(void 0,[r,Ea(e)].concat(n))};A.doesNotReject=function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return Pa(e).then(function(i){return Ia.apply(void 0,[r,i].concat(n))})};A.ifError=function r(e){if(e!=null){var t="ifError got unwanted exception: ";N(e)==="object"&&typeof e.message=="string"?e.message.length===0&&e.constructor?t+=e.constructor.name:t+=e.message:t+=xr(e);var n=new G({actual:e,expected:null,operator:"ifError",message:t,stackStartFn:r}),o=e.stack;if(typeof o=="string"){var i=o.split("\n");i.shift();for(var a=n.stack.split("\n"),u=0;u<i.length;u++){var f=a.indexOf(i[u]);if(f!==-1){a=a.slice(0,f);break}}n.stack="".concat(a.join("\n"),"\n").concat(i.join("\n"))}throw n}};function Ra(r,e,t,n,o){if(!Nr(e))throw new ge("regexp","RegExp",e);var i=o==="match";if(typeof r!="string"||Br(e,r)!==i){if(t instanceof Error)throw t;var a=!t;t=t||(typeof r!="string"?'The "string" argument must be of type string. Received type '+"".concat(N(r)," (").concat(xr(r),")"):(i?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(xr(e),". Input:\n\n").concat(xr(r),"\n"));var u=new G({actual:r,expected:e,message:t,operator:o,stackStartFn:n});throw u.generatedMessage=a,u}}A.match=function r(e,t,n){Ra(e,t,n,r,"match")};A.doesNotMatch=function r(e,t,n){Ra(e,t,n,r,"doesNotMatch")};function qa(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];Aa.apply(void 0,[qa,e.length].concat(e))}A.strict=Vs(qa,A,{equal:A.strictEqual,deepEqual:A.deepStrictEqual,notEqual:A.notStrictEqual,notDeepEqual:A.notDeepStrictEqual});A.strict.strict=A.strict});var be={};_a(be,{default:()=>zs});module.exports=Ma(be);var Fa=kt(Re());ve(be,kt(Re()),module.exports);var zs=Fa.default;
2
+ /*! Bundled license information:
3
+
4
+ assert/build/internal/util/comparisons.js:
5
+ (*!
6
+ * The buffer module from node.js, for the browser.
7
+ *
8
+ * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
9
+ * @license MIT
10
+ *)
11
+ */
@@ -0,0 +1,14 @@
1
+ var Er=Object.create;var N=Object.defineProperty;var dr=Object.getOwnPropertyDescriptor;var gr=Object.getOwnPropertyNames;var mr=Object.getPrototypeOf,Ir=Object.prototype.hasOwnProperty;var $=(i,r)=>()=>(r||i((r={exports:{}}).exports,r),r.exports),Fr=(i,r)=>{for(var t in r)N(i,t,{get:r[t],enumerable:!0})},L=(i,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of gr(r))!Ir.call(i,e)&&e!==t&&N(i,e,{get:()=>r[e],enumerable:!(n=dr(r,e))||n.enumerable});return i},S=(i,r,t)=>(L(i,r,"default"),t&&L(t,r,"default")),J=(i,r,t)=>(t=i!=null?Er(mr(i)):{},L(r||!i||!i.__esModule?N(t,"default",{value:i,enumerable:!0}):t,i)),Ar=i=>L(N({},"__esModule",{value:!0}),i);var Q=$(M=>{"use strict";M.byteLength=Rr;M.toByteArray=Cr;M.fromByteArray=Lr;var B=[],w=[],Ur=typeof Uint8Array<"u"?Uint8Array:Array,P="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(m=0,K=P.length;m<K;++m)B[m]=P[m],w[P.charCodeAt(m)]=m;var m,K;w[45]=62;w[95]=63;function Z(i){var r=i.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=i.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]}function Rr(i){var r=Z(i),t=r[0],n=r[1];return(t+n)*3/4-n}function Tr(i,r,t){return(r+t)*3/4-t}function Cr(i){var r,t=Z(i),n=t[0],e=t[1],o=new Ur(Tr(i,n,e)),u=0,f=e>0?n-4:n,c;for(c=0;c<f;c+=4)r=w[i.charCodeAt(c)]<<18|w[i.charCodeAt(c+1)]<<12|w[i.charCodeAt(c+2)]<<6|w[i.charCodeAt(c+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return e===2&&(r=w[i.charCodeAt(c)]<<2|w[i.charCodeAt(c+1)]>>4,o[u++]=r&255),e===1&&(r=w[i.charCodeAt(c)]<<10|w[i.charCodeAt(c+1)]<<4|w[i.charCodeAt(c+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Sr(i){return B[i>>18&63]+B[i>>12&63]+B[i>>6&63]+B[i&63]}function _r(i,r,t){for(var n,e=[],o=r;o<t;o+=3)n=(i[o]<<16&16711680)+(i[o+1]<<8&65280)+(i[o+2]&255),e.push(Sr(n));return e.join("")}function Lr(i){for(var r,t=i.length,n=t%3,e=[],o=16383,u=0,f=t-n;u<f;u+=o)e.push(_r(i,u,u+o>f?f:u+o));return n===1?(r=i[t-1],e.push(B[r>>2]+B[r<<4&63]+"==")):n===2&&(r=(i[t-2]<<8)+i[t-1],e.push(B[r>>10]+B[r>>4&63]+B[r<<2&63]+"=")),e.join("")}});var v=$(O=>{O.read=function(i,r,t,n,e){var o,u,f=e*8-n-1,c=(1<<f)-1,l=c>>1,s=-7,p=t?e-1:0,F=t?-1:1,x=i[r+p];for(p+=F,o=x&(1<<-s)-1,x>>=-s,s+=f;s>0;o=o*256+i[r+p],p+=F,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=n;s>0;u=u*256+i[r+p],p+=F,s-=8);if(o===0)o=1-l;else{if(o===c)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-l}return(x?-1:1)*u*Math.pow(2,o-n)};O.write=function(i,r,t,n,e,o){var u,f,c,l=o*8-e-1,s=(1<<l)-1,p=s>>1,F=e===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,b=n?1:-1,Br=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=s):(u=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-u))<1&&(u--,c*=2),u+p>=1?r+=F/c:r+=F*Math.pow(2,1-p),r*c>=2&&(u++,c/=2),u+p>=s?(f=0,u=s):u+p>=1?(f=(r*c-1)*Math.pow(2,e),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,e),u=0));e>=8;i[t+x]=f&255,x+=b,f/=256,e-=8);for(u=u<<e|f,l+=e;l>0;i[t+x]=u&255,x+=b,u/=256,l-=8);i[t+x-b]|=Br*128}});var z=$(T=>{"use strict";var G=Q(),U=v(),rr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;T.Buffer=h;T.SlowBuffer=$r;T.INSPECT_MAX_BYTES=50;var k=2147483647;T.kMaxLength=k;h.TYPED_ARRAY_SUPPORT=Nr();!h.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 Nr(){try{let i=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(i,r),i.foo()===42}catch(i){return!1}}Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}});Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}});function d(i){if(i>k)throw new RangeError('The value "'+i+'" is invalid for option "size"');let r=new Uint8Array(i);return Object.setPrototypeOf(r,h.prototype),r}function h(i,r,t){if(typeof i=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(i)}return er(i,r,t)}h.poolSize=8192;function er(i,r,t){if(typeof i=="string")return kr(i,r);if(ArrayBuffer.isView(i))return Dr(i);if(i==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);if(E(i,ArrayBuffer)||i&&E(i.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(E(i,SharedArrayBuffer)||i&&E(i.buffer,SharedArrayBuffer)))return q(i,r,t);if(typeof i=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=i.valueOf&&i.valueOf();if(n!=null&&n!==i)return h.from(n,r,t);let e=br(i);if(e)return e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof i[Symbol.toPrimitive]=="function")return h.from(i[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i)}h.from=function(i,r,t){return er(i,r,t)};Object.setPrototypeOf(h.prototype,Uint8Array.prototype);Object.setPrototypeOf(h,Uint8Array);function or(i){if(typeof i!="number")throw new TypeError('"size" argument must be of type number');if(i<0)throw new RangeError('The value "'+i+'" is invalid for option "size"')}function Mr(i,r,t){return or(i),i<=0?d(i):r!==void 0?typeof t=="string"?d(i).fill(r,t):d(i).fill(r):d(i)}h.alloc=function(i,r,t){return Mr(i,r,t)};function j(i){return or(i),d(i<0?0:H(i)|0)}h.allocUnsafe=function(i){return j(i)};h.allocUnsafeSlow=function(i){return j(i)};function kr(i,r){if((typeof r!="string"||r==="")&&(r="utf8"),!h.isEncoding(r))throw new TypeError("Unknown encoding: "+r);let t=ur(i,r)|0,n=d(t),e=n.write(i,r);return e!==t&&(n=n.slice(0,e)),n}function Y(i){let r=i.length<0?0:H(i.length)|0,t=d(r);for(let n=0;n<r;n+=1)t[n]=i[n]&255;return t}function Dr(i){if(E(i,Uint8Array)){let r=new Uint8Array(i);return q(r.buffer,r.byteOffset,r.byteLength)}return Y(i)}function q(i,r,t){if(r<0||i.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(i.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');let n;return r===void 0&&t===void 0?n=new Uint8Array(i):t===void 0?n=new Uint8Array(i,r):n=new Uint8Array(i,r,t),Object.setPrototypeOf(n,h.prototype),n}function br(i){if(h.isBuffer(i)){let r=H(i.length)|0,t=d(r);return t.length===0||i.copy(t,0,0,r),t}if(i.length!==void 0)return typeof i.length!="number"||X(i.length)?d(0):Y(i);if(i.type==="Buffer"&&Array.isArray(i.data))return Y(i.data)}function H(i){if(i>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return i|0}function $r(i){return+i!=i&&(i=0),h.alloc(+i)}h.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==h.prototype};h.compare=function(r,t){if(E(r,Uint8Array)&&(r=h.from(r,r.offset,r.byteLength)),E(t,Uint8Array)&&(t=h.from(t,t.offset,t.byteLength)),!h.isBuffer(r)||!h.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;let n=r.length,e=t.length;for(let o=0,u=Math.min(n,e);o<u;++o)if(r[o]!==t[o]){n=r[o],e=t[o];break}return n<e?-1:e<n?1:0};h.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};h.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return h.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;let e=h.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){let u=r[n];if(E(u,Uint8Array))o+u.length>e.length?(h.isBuffer(u)||(u=h.from(u)),u.copy(e,o)):Uint8Array.prototype.set.call(e,u,o);else if(h.isBuffer(u))u.copy(e,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return e};function ur(i,r){if(h.isBuffer(i))return i.length;if(ArrayBuffer.isView(i)||E(i,ArrayBuffer))return i.byteLength;if(typeof i!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof i);let t=i.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;let e=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return W(i).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return wr(i).length;default:if(e)return n?-1:W(i).length;r=(""+r).toLowerCase(),e=!0}}h.byteLength=ur;function Pr(i,r,t){let n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(i||(i="utf8");;)switch(i){case"hex":return zr(this,r,t);case"utf8":case"utf-8":return fr(this,r,t);case"ascii":return Vr(this,r,t);case"latin1":case"binary":return Xr(this,r,t);case"base64":return jr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Jr(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+i);i=(i+"").toLowerCase(),n=!0}}h.prototype._isBuffer=!0;function I(i,r,t){let n=i[r];i[r]=i[t],i[t]=n}h.prototype.swap16=function(){let r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<r;t+=2)I(this,t,t+1);return this};h.prototype.swap32=function(){let r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<r;t+=4)I(this,t,t+3),I(this,t+1,t+2);return this};h.prototype.swap64=function(){let r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<r;t+=8)I(this,t,t+7),I(this,t+1,t+6),I(this,t+2,t+5),I(this,t+3,t+4);return this};h.prototype.toString=function(){let r=this.length;return r===0?"":arguments.length===0?fr(this,0,r):Pr.apply(this,arguments)};h.prototype.toLocaleString=h.prototype.toString;h.prototype.equals=function(r){if(!h.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:h.compare(this,r)===0};h.prototype.inspect=function(){let r="",t=T.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};rr&&(h.prototype[rr]=h.prototype.inspect);h.prototype.compare=function(r,t,n,e,o){if(E(r,Uint8Array)&&(r=h.from(r,r.offset,r.byteLength)),!h.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),e===void 0&&(e=0),o===void 0&&(o=this.length),t<0||n>r.length||e<0||o>this.length)throw new RangeError("out of range index");if(e>=o&&t>=n)return 0;if(e>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,e>>>=0,o>>>=0,this===r)return 0;let u=o-e,f=n-t,c=Math.min(u,f),l=this.slice(e,o),s=r.slice(t,n);for(let p=0;p<c;++p)if(l[p]!==s[p]){u=l[p],f=s[p];break}return u<f?-1:f<u?1:0};function hr(i,r,t,n,e){if(i.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,X(t)&&(t=e?0:i.length-1),t<0&&(t=i.length+t),t>=i.length){if(e)return-1;t=i.length-1}else if(t<0)if(e)t=0;else return-1;if(typeof r=="string"&&(r=h.from(r,n)),h.isBuffer(r))return r.length===0?-1:tr(i,r,t,n,e);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?e?Uint8Array.prototype.indexOf.call(i,r,t):Uint8Array.prototype.lastIndexOf.call(i,r,t):tr(i,[r],t,n,e);throw new TypeError("val must be string, number or Buffer")}function tr(i,r,t,n,e){let o=1,u=i.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(i.length<2||r.length<2)return-1;o=2,u/=2,f/=2,t/=2}function c(s,p){return o===1?s[p]:s.readUInt16BE(p*o)}let l;if(e){let s=-1;for(l=t;l<u;l++)if(c(i,l)===c(r,s===-1?0:l-s)){if(s===-1&&(s=l),l-s+1===f)return s*o}else s!==-1&&(l-=l-s),s=-1}else for(t+f>u&&(t=u-f),l=t;l>=0;l--){let s=!0;for(let p=0;p<f;p++)if(c(i,l+p)!==c(r,p)){s=!1;break}if(s)return l}return-1}h.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};h.prototype.indexOf=function(r,t,n){return hr(this,r,t,n,!0)};h.prototype.lastIndexOf=function(r,t,n){return hr(this,r,t,n,!1)};function Or(i,r,t,n){t=Number(t)||0;let e=i.length-t;n?(n=Number(n),n>e&&(n=e)):n=e;let o=r.length;n>o/2&&(n=o/2);let u;for(u=0;u<n;++u){let f=parseInt(r.substr(u*2,2),16);if(X(f))return u;i[t+u]=f}return u}function Gr(i,r,t,n){return D(W(r,i.length-t),i,t,n)}function Yr(i,r,t,n){return D(vr(r),i,t,n)}function qr(i,r,t,n){return D(wr(r),i,t,n)}function Wr(i,r,t,n){return D(rt(r,i.length-t),i,t,n)}h.prototype.write=function(r,t,n,e){if(t===void 0)e="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")e=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,e===void 0&&(e="utf8")):(e=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-t;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");let u=!1;for(;;)switch(e){case"hex":return Or(this,r,t,n);case"utf8":case"utf-8":return Gr(this,r,t,n);case"ascii":case"latin1":case"binary":return Yr(this,r,t,n);case"base64":return qr(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Wr(this,r,t,n);default:if(u)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),u=!0}};h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function jr(i,r,t){return r===0&&t===i.length?G.fromByteArray(i):G.fromByteArray(i.slice(r,t))}function fr(i,r,t){t=Math.min(i.length,t);let n=[],e=r;for(;e<t;){let o=i[e],u=null,f=o>239?4:o>223?3:o>191?2:1;if(e+f<=t){let c,l,s,p;switch(f){case 1:o<128&&(u=o);break;case 2:c=i[e+1],(c&192)===128&&(p=(o&31)<<6|c&63,p>127&&(u=p));break;case 3:c=i[e+1],l=i[e+2],(c&192)===128&&(l&192)===128&&(p=(o&15)<<12|(c&63)<<6|l&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:c=i[e+1],l=i[e+2],s=i[e+3],(c&192)===128&&(l&192)===128&&(s&192)===128&&(p=(o&15)<<18|(c&63)<<12|(l&63)<<6|s&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),e+=f}return Hr(n)}var ir=4096;function Hr(i){let r=i.length;if(r<=ir)return String.fromCharCode.apply(String,i);let t="",n=0;for(;n<r;)t+=String.fromCharCode.apply(String,i.slice(n,n+=ir));return t}function Vr(i,r,t){let n="";t=Math.min(i.length,t);for(let e=r;e<t;++e)n+=String.fromCharCode(i[e]&127);return n}function Xr(i,r,t){let n="";t=Math.min(i.length,t);for(let e=r;e<t;++e)n+=String.fromCharCode(i[e]);return n}function zr(i,r,t){let n=i.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);let e="";for(let o=r;o<t;++o)e+=tt[i[o]];return e}function Jr(i,r,t){let n=i.slice(r,t),e="";for(let o=0;o<n.length-1;o+=2)e+=String.fromCharCode(n[o]+n[o+1]*256);return e}h.prototype.slice=function(r,t){let n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);let e=this.subarray(r,t);return Object.setPrototypeOf(e,h.prototype),e};function a(i,r,t){if(i%1!==0||i<0)throw new RangeError("offset is not uint");if(i+r>t)throw new RangeError("Trying to access beyond buffer length")}h.prototype.readUintLE=h.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||a(r,t,this.length);let e=this[r],o=1,u=0;for(;++u<t&&(o*=256);)e+=this[r+u]*o;return e};h.prototype.readUintBE=h.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||a(r,t,this.length);let e=this[r+--t],o=1;for(;t>0&&(o*=256);)e+=this[r+--t]*o;return e};h.prototype.readUint8=h.prototype.readUInt8=function(r,t){return r=r>>>0,t||a(r,1,this.length),this[r]};h.prototype.readUint16LE=h.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||a(r,2,this.length),this[r]|this[r+1]<<8};h.prototype.readUint16BE=h.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||a(r,2,this.length),this[r]<<8|this[r+1]};h.prototype.readUint32LE=h.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||a(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};h.prototype.readUint32BE=h.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||a(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};h.prototype.readBigUInt64LE=g(function(r){r=r>>>0,R(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&_(r,this.length-8);let e=t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,o=this[++r]+this[++r]*2**8+this[++r]*2**16+n*2**24;return BigInt(e)+(BigInt(o)<<BigInt(32))});h.prototype.readBigUInt64BE=g(function(r){r=r>>>0,R(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&_(r,this.length-8);let e=t*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],o=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n;return(BigInt(e)<<BigInt(32))+BigInt(o)});h.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||a(r,t,this.length);let e=this[r],o=1,u=0;for(;++u<t&&(o*=256);)e+=this[r+u]*o;return o*=128,e>=o&&(e-=Math.pow(2,8*t)),e};h.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||a(r,t,this.length);let e=t,o=1,u=this[r+--e];for(;e>0&&(o*=256);)u+=this[r+--e]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};h.prototype.readInt8=function(r,t){return r=r>>>0,t||a(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};h.prototype.readInt16LE=function(r,t){r=r>>>0,t||a(r,2,this.length);let n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};h.prototype.readInt16BE=function(r,t){r=r>>>0,t||a(r,2,this.length);let n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};h.prototype.readInt32LE=function(r,t){return r=r>>>0,t||a(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};h.prototype.readInt32BE=function(r,t){return r=r>>>0,t||a(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};h.prototype.readBigInt64LE=g(function(r){r=r>>>0,R(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&_(r,this.length-8);let e=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(n<<24);return(BigInt(e)<<BigInt(32))+BigInt(t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)});h.prototype.readBigInt64BE=g(function(r){r=r>>>0,R(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&_(r,this.length-8);let e=(t<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return(BigInt(e)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n)});h.prototype.readFloatLE=function(r,t){return r=r>>>0,t||a(r,4,this.length),U.read(this,r,!0,23,4)};h.prototype.readFloatBE=function(r,t){return r=r>>>0,t||a(r,4,this.length),U.read(this,r,!1,23,4)};h.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||a(r,8,this.length),U.read(this,r,!0,52,8)};h.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||a(r,8,this.length),U.read(this,r,!1,52,8)};function y(i,r,t,n,e,o){if(!h.isBuffer(i))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>e||r<o)throw new RangeError('"value" argument is out of bounds');if(t+n>i.length)throw new RangeError("Index out of range")}h.prototype.writeUintLE=h.prototype.writeUIntLE=function(r,t,n,e){if(r=+r,t=t>>>0,n=n>>>0,!e){let f=Math.pow(2,8*n)-1;y(this,r,t,n,f,0)}let o=1,u=0;for(this[t]=r&255;++u<n&&(o*=256);)this[t+u]=r/o&255;return t+n};h.prototype.writeUintBE=h.prototype.writeUIntBE=function(r,t,n,e){if(r=+r,t=t>>>0,n=n>>>0,!e){let f=Math.pow(2,8*n)-1;y(this,r,t,n,f,0)}let o=n-1,u=1;for(this[t+o]=r&255;--o>=0&&(u*=256);)this[t+o]=r/u&255;return t+n};h.prototype.writeUint8=h.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,1,255,0),this[t]=r&255,t+1};h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function cr(i,r,t,n,e){yr(r,n,e,i,t,7);let o=Number(r&BigInt(4294967295));i[t++]=o,o=o>>8,i[t++]=o,o=o>>8,i[t++]=o,o=o>>8,i[t++]=o;let u=Number(r>>BigInt(32)&BigInt(4294967295));return i[t++]=u,u=u>>8,i[t++]=u,u=u>>8,i[t++]=u,u=u>>8,i[t++]=u,t}function pr(i,r,t,n,e){yr(r,n,e,i,t,7);let o=Number(r&BigInt(4294967295));i[t+7]=o,o=o>>8,i[t+6]=o,o=o>>8,i[t+5]=o,o=o>>8,i[t+4]=o;let u=Number(r>>BigInt(32)&BigInt(4294967295));return i[t+3]=u,u=u>>8,i[t+2]=u,u=u>>8,i[t+1]=u,u=u>>8,i[t]=u,t+8}h.prototype.writeBigUInt64LE=g(function(r,t=0){return cr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))});h.prototype.writeBigUInt64BE=g(function(r,t=0){return pr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))});h.prototype.writeIntLE=function(r,t,n,e){if(r=+r,t=t>>>0,!e){let c=Math.pow(2,8*n-1);y(this,r,t,n,c-1,-c)}let o=0,u=1,f=0;for(this[t]=r&255;++o<n&&(u*=256);)r<0&&f===0&&this[t+o-1]!==0&&(f=1),this[t+o]=(r/u>>0)-f&255;return t+n};h.prototype.writeIntBE=function(r,t,n,e){if(r=+r,t=t>>>0,!e){let c=Math.pow(2,8*n-1);y(this,r,t,n,c-1,-c)}let o=n-1,u=1,f=0;for(this[t+o]=r&255;--o>=0&&(u*=256);)r<0&&f===0&&this[t+o+1]!==0&&(f=1),this[t+o]=(r/u>>0)-f&255;return t+n};h.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};h.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};h.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};h.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};h.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||y(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};h.prototype.writeBigInt64LE=g(function(r,t=0){return cr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});h.prototype.writeBigInt64BE=g(function(r,t=0){return pr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function sr(i,r,t,n,e,o){if(t+n>i.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function lr(i,r,t,n,e){return r=+r,t=t>>>0,e||sr(i,r,t,4,34028234663852886e22,-34028234663852886e22),U.write(i,r,t,n,23,4),t+4}h.prototype.writeFloatLE=function(r,t,n){return lr(this,r,t,!0,n)};h.prototype.writeFloatBE=function(r,t,n){return lr(this,r,t,!1,n)};function ar(i,r,t,n,e){return r=+r,t=t>>>0,e||sr(i,r,t,8,17976931348623157e292,-17976931348623157e292),U.write(i,r,t,n,52,8),t+8}h.prototype.writeDoubleLE=function(r,t,n){return ar(this,r,t,!0,n)};h.prototype.writeDoubleBE=function(r,t,n){return ar(this,r,t,!1,n)};h.prototype.copy=function(r,t,n,e){if(!h.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!e&&e!==0&&(e=this.length),t>=r.length&&(t=r.length),t||(t=0),e>0&&e<n&&(e=n),e===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),r.length-t<e-n&&(e=r.length-t+n);let o=e-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,e):Uint8Array.prototype.set.call(r,this.subarray(n,e),t),o};h.prototype.fill=function(r,t,n,e){if(typeof r=="string"){if(typeof t=="string"?(e=t,t=0,n=this.length):typeof n=="string"&&(e=n,n=this.length),e!==void 0&&typeof e!="string")throw new TypeError("encoding must be a string");if(typeof e=="string"&&!h.isEncoding(e))throw new TypeError("Unknown encoding: "+e);if(r.length===1){let u=r.charCodeAt(0);(e==="utf8"&&u<128||e==="latin1")&&(r=u)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);let o;if(typeof r=="number")for(o=t;o<n;++o)this[o]=r;else{let u=h.isBuffer(r)?r:h.from(r,e),f=u.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=u[o%f]}return this};var A={};function V(i,r,t){A[i]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(i,"]"),this.stack,delete this.name}get code(){return i}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return"".concat(this.name," [").concat(i,"]: ").concat(this.message)}}}V("ERR_BUFFER_OUT_OF_BOUNDS",function(i){return i?"".concat(i," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError);V("ERR_INVALID_ARG_TYPE",function(i,r){return'The "'.concat(i,'" argument must be of type number. Received type ').concat(typeof r)},TypeError);V("ERR_OUT_OF_RANGE",function(i,r,t){let n='The value of "'.concat(i,'" is out of range.'),e=t;return Number.isInteger(t)&&Math.abs(t)>2**32?e=nr(String(t)):typeof t=="bigint"&&(e=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(e=nr(e)),e+="n"),n+=" It must be ".concat(r,". Received ").concat(e),n},RangeError);function nr(i){let r="",t=i.length,n=i[0]==="-"?1:0;for(;t>=n+4;t-=3)r="_".concat(i.slice(t-3,t)).concat(r);return"".concat(i.slice(0,t)).concat(r)}function Kr(i,r,t){R(r,"offset"),(i[r]===void 0||i[r+t]===void 0)&&_(r,i.length-(t+1))}function yr(i,r,t,n,e,o){if(i>t||i<r){let u=typeof r=="bigint"?"n":"",f;throw o>3?r===0||r===BigInt(0)?f=">= 0".concat(u," and < 2").concat(u," ** ").concat((o+1)*8).concat(u):f=">= -(2".concat(u," ** ").concat((o+1)*8-1).concat(u,") and < 2 ** ")+"".concat((o+1)*8-1).concat(u):f=">= ".concat(r).concat(u," and <= ").concat(t).concat(u),new A.ERR_OUT_OF_RANGE("value",f,i)}Kr(n,e,o)}function R(i,r){if(typeof i!="number")throw new A.ERR_INVALID_ARG_TYPE(r,"number",i)}function _(i,r,t){throw Math.floor(i)!==i?(R(i,t),new A.ERR_OUT_OF_RANGE(t||"offset","an integer",i)):r<0?new A.ERR_BUFFER_OUT_OF_BOUNDS:new A.ERR_OUT_OF_RANGE(t||"offset",">= ".concat(t?1:0," and <= ").concat(r),i)}var Zr=/[^+/0-9A-Za-z-_]/g;function Qr(i){if(i=i.split("=")[0],i=i.trim().replace(Zr,""),i.length<2)return"";for(;i.length%4!==0;)i=i+"=";return i}function W(i,r){r=r||1/0;let t,n=i.length,e=null,o=[];for(let u=0;u<n;++u){if(t=i.charCodeAt(u),t>55295&&t<57344){if(!e){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}e=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),e=t;continue}t=(e-55296<<10|t-56320)+65536}else e&&(r-=3)>-1&&o.push(239,191,189);if(e=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function vr(i){let r=[];for(let t=0;t<i.length;++t)r.push(i.charCodeAt(t)&255);return r}function rt(i,r){let t,n,e,o=[];for(let u=0;u<i.length&&!((r-=2)<0);++u)t=i.charCodeAt(u),n=t>>8,e=t%256,o.push(e),o.push(n);return o}function wr(i){return G.toByteArray(Qr(i))}function D(i,r,t,n){let e;for(e=0;e<n&&!(e+t>=r.length||e>=i.length);++e)r[e+t]=i[e];return e}function E(i,r){return i instanceof r||i!=null&&i.constructor!=null&&i.constructor.name!=null&&i.constructor.name===r.name}function X(i){return i!==i}var tt=function(){let i="0123456789abcdef",r=new Array(256);for(let t=0;t<16;++t){let n=t*16;for(let e=0;e<16;++e)r[n+e]=i[t]+i[e]}return r}();function g(i){return typeof BigInt>"u"?it:i}function it(){throw new Error("BigInt not supported")}});var C={};Fr(C,{default:()=>nt});module.exports=Ar(C);var xr=J(z());S(C,J(z()),module.exports);var nt=xr.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
+ */