UNPKG

@enbox/api

Version:

SDK for accessing the features and capabilities of Web5

1 lines 2.09 MB
var fve=Object.create;var Tk=Object.defineProperty;var hve=Object.getOwnPropertyDescriptor;var pve=Object.getOwnPropertyNames;var mve=Object.getPrototypeOf,yve=Object.prototype.hasOwnProperty;var gve=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var vve=(t,e)=>()=>(t&&(e=t(t=0)),e);var W=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Br=(t,e)=>{for(var r in e)Tk(t,r,{get:e[r],enumerable:!0})},bve=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pve(e))!yve.call(t,i)&&i!==r&&Tk(t,i,{get:()=>e[i],enumerable:!(n=hve(e,i))||n.enumerable});return t};var Zt=(t,e,r)=>(r=t!=null?fve(mve(t)):{},bve(e||!t||!t.__esModule?Tk(r,"default",{value:t,enumerable:!0}):r,t));var kk=W(Q3=>{"use strict";f();Q3.byteLength=_ve;Q3.toByteArray=Eve;Q3.fromByteArray=Pve;var qu=[],Kc=[],wve=typeof Uint8Array<"u"?Uint8Array:Array,Ik="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E0=0,JL=Ik.length;E0<JL;++E0)qu[E0]=Ik[E0],Kc[Ik.charCodeAt(E0)]=E0;var E0,JL;Kc[45]=62;Kc[95]=63;function ZL(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function _ve(t){var e=ZL(t),r=e[0],n=e[1];return(r+n)*3/4-n}function xve(t,e,r){return(e+r)*3/4-r}function Eve(t){var e,r=ZL(t),n=r[0],i=r[1],o=new wve(xve(t,n,i)),s=0,a=i>0?n-4:n,d;for(d=0;d<a;d+=4)e=Kc[t.charCodeAt(d)]<<18|Kc[t.charCodeAt(d+1)]<<12|Kc[t.charCodeAt(d+2)]<<6|Kc[t.charCodeAt(d+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=Kc[t.charCodeAt(d)]<<2|Kc[t.charCodeAt(d+1)]>>4,o[s++]=e&255),i===1&&(e=Kc[t.charCodeAt(d)]<<10|Kc[t.charCodeAt(d+1)]<<4|Kc[t.charCodeAt(d+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Sve(t){return qu[t>>18&63]+qu[t>>12&63]+qu[t>>6&63]+qu[t&63]}function Ave(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Sve(n));return i.join("")}function Pve(t){for(var e,r=t.length,n=r%3,i=[],o=16383,s=0,a=r-n;s<a;s+=o)i.push(Ave(t,s,s+o>a?a:s+o));return n===1?(e=t[r-1],i.push(qu[e>>2]+qu[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(qu[e>>10]+qu[e>>4&63]+qu[e<<2&63]+"=")),i.join("")}});var Dk=W(Rk=>{f();Rk.read=function(t,e,r,n,i){var o,s,a=i*8-n-1,d=(1<<a)-1,u=d>>1,c=-7,l=r?i-1:0,p=r?-1:1,h=t[e+l];for(l+=p,o=h&(1<<-c)-1,h>>=-c,c+=a;c>0;o=o*256+t[e+l],l+=p,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=s*256+t[e+l],l+=p,c-=8);if(o===0)o=1-u;else{if(o===d)return s?NaN:(h?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-u}return(h?-1:1)*s*Math.pow(2,o-n)};Rk.write=function(t,e,r,n,i,o){var s,a,d,u=o*8-i-1,c=(1<<u)-1,l=c>>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,g=n?1:-1,v=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-s))<1&&(s--,d*=2),s+l>=1?e+=p/d:e+=p*Math.pow(2,1-l),e*d>=2&&(s++,d/=2),s+l>=c?(a=0,s=c):s+l>=1?(a=(e*d-1)*Math.pow(2,i),s=s+l):(a=e*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;t[r+h]=a&255,h+=g,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;t[r+h]=s&255,h+=g,s/=256,u-=8);t[r+h-g]|=v*128}});var dK=W(_v=>{"use strict";f();var Bk=kk(),wv=Dk(),YL=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_v.Buffer=we;_v.SlowBuffer=Bve;_v.INSPECT_MAX_BYTES=50;var e8=2147483647;_v.kMaxLength=e8;we.TYPED_ARRAY_SUPPORT=Tve();!we.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 Tve(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(we.prototype,"parent",{enumerable:!0,get:function(){if(we.isBuffer(this))return this.buffer}});Object.defineProperty(we.prototype,"offset",{enumerable:!0,get:function(){if(we.isBuffer(this))return this.byteOffset}});function sf(t){if(t>e8)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,we.prototype),e}function we(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return jk(t)}return eK(t,e,r)}we.poolSize=8192;function eK(t,e,r){if(typeof t=="string")return kve(t,e);if(ArrayBuffer.isView(t))return Rve(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(Uu(t,ArrayBuffer)||t&&Uu(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Uu(t,SharedArrayBuffer)||t&&Uu(t.buffer,SharedArrayBuffer)))return Ck(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return we.from(n,e,r);var i=Dve(t);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return we.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}we.from=function(t,e,r){return eK(t,e,r)};Object.setPrototypeOf(we.prototype,Uint8Array.prototype);Object.setPrototypeOf(we,Uint8Array);function tK(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Ive(t,e,r){return tK(t),t<=0?sf(t):e!==void 0?typeof r=="string"?sf(t).fill(e,r):sf(t).fill(e):sf(t)}we.alloc=function(t,e,r){return Ive(t,e,r)};function jk(t){return tK(t),sf(t<0?0:$k(t)|0)}we.allocUnsafe=function(t){return jk(t)};we.allocUnsafeSlow=function(t){return jk(t)};function kve(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!we.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=rK(t,e)|0,n=sf(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Mk(t){for(var e=t.length<0?0:$k(t.length)|0,r=sf(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Rve(t){if(Uu(t,Uint8Array)){var e=new Uint8Array(t);return Ck(e.buffer,e.byteOffset,e.byteLength)}return Mk(t)}function Ck(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,we.prototype),n}function Dve(t){if(we.isBuffer(t)){var e=$k(t.length)|0,r=sf(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Nk(t.length)?sf(0):Mk(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Mk(t.data)}function $k(t){if(t>=e8)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e8.toString(16)+" bytes");return t|0}function Bve(t){return+t!=t&&(t=0),we.alloc(+t)}we.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==we.prototype};we.compare=function(e,r){if(Uu(e,Uint8Array)&&(e=we.from(e,e.offset,e.byteLength)),Uu(r,Uint8Array)&&(r=we.from(r,r.offset,r.byteLength)),!we.isBuffer(e)||!we.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};we.isEncoding=function(e){switch(String(e).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}};we.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return we.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=we.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var s=e[n];if(Uu(s,Uint8Array))o+s.length>i.length?we.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else if(we.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=s.length}return i};function rK(t,e){if(we.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||Uu(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Ok(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return cK(t).length;default:if(i)return n?-1:Ok(t).length;e=(""+e).toLowerCase(),i=!0}}we.byteLength=rK;function Mve(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return zve(this,e,r);case"utf8":case"utf-8":return iK(this,e,r);case"ascii":return Lve(this,e,r);case"latin1":case"binary":return Kve(this,e,r);case"base64":return qve(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fve(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}we.prototype._isBuffer=!0;function S0(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}we.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)S0(this,r,r+1);return this};we.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)S0(this,r,r+3),S0(this,r+1,r+2);return this};we.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)S0(this,r,r+7),S0(this,r+1,r+6),S0(this,r+2,r+5),S0(this,r+3,r+4);return this};we.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?iK(this,0,e):Mve.apply(this,arguments)};we.prototype.toLocaleString=we.prototype.toString;we.prototype.equals=function(e){if(!we.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:we.compare(this,e)===0};we.prototype.inspect=function(){var e="",r=_v.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};YL&&(we.prototype[YL]=we.prototype.inspect);we.prototype.compare=function(e,r,n,i,o){if(Uu(e,Uint8Array)&&(e=we.from(e,e.offset,e.byteLength)),!we.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,a=n-r,d=Math.min(s,a),u=this.slice(i,o),c=e.slice(r,n),l=0;l<d;++l)if(u[l]!==c[l]){s=u[l],a=c[l];break}return s<a?-1:a<s?1:0};function nK(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Nk(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=we.from(e,n)),we.isBuffer(e))return e.length===0?-1:XL(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):XL(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function XL(t,e,r,n,i){var o=1,s=t.length,a=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,s/=2,a/=2,r/=2}function d(h,g){return o===1?h[g]:h.readUInt16BE(g*o)}var u;if(i){var c=-1;for(u=r;u<s;u++)if(d(t,u)===d(e,c===-1?0:u-c)){if(c===-1&&(c=u),u-c+1===a)return c*o}else c!==-1&&(u-=u-c),c=-1}else for(r+a>s&&(r=s-a),u=r;u>=0;u--){for(var l=!0,p=0;p<a;p++)if(d(t,u+p)!==d(e,p)){l=!1;break}if(l)return u}return-1}we.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};we.prototype.indexOf=function(e,r,n){return nK(this,e,r,n,!0)};we.prototype.lastIndexOf=function(e,r,n){return nK(this,e,r,n,!1)};function Cve(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(e.substr(s*2,2),16);if(Nk(a))return s;t[r+s]=a}return s}function Ove(t,e,r,n){return t8(Ok(e,t.length-r),t,r,n)}function jve(t,e,r,n){return t8(Vve(e),t,r,n)}function $ve(t,e,r,n){return t8(cK(e),t,r,n)}function Nve(t,e,r,n){return t8(Hve(e,t.length-r),t,r,n)}we.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return Cve(this,e,r,n);case"utf8":case"utf-8":return Ove(this,e,r,n);case"ascii":case"latin1":case"binary":return jve(this,e,r,n);case"base64":return $ve(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nve(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};we.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function qve(t,e,r){return e===0&&r===t.length?Bk.fromByteArray(t):Bk.fromByteArray(t.slice(e,r))}function iK(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=r){var d,u,c,l;switch(a){case 1:o<128&&(s=o);break;case 2:d=t[i+1],(d&192)===128&&(l=(o&31)<<6|d&63,l>127&&(s=l));break;case 3:d=t[i+1],u=t[i+2],(d&192)===128&&(u&192)===128&&(l=(o&15)<<12|(d&63)<<6|u&63,l>2047&&(l<55296||l>57343)&&(s=l));break;case 4:d=t[i+1],u=t[i+2],c=t[i+3],(d&192)===128&&(u&192)===128&&(c&192)===128&&(l=(o&15)<<18|(d&63)<<12|(u&63)<<6|c&63,l>65535&&l<1114112&&(s=l))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=a}return Uve(n)}var QL=4096;function Uve(t){var e=t.length;if(e<=QL)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=QL));return r}function Lve(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Kve(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function zve(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Jve[t[o]];return i}function Fve(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}we.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,we.prototype),i};function so(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}we.prototype.readUintLE=we.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||so(e,r,this.length);for(var i=this[e],o=1,s=0;++s<r&&(o*=256);)i+=this[e+s]*o;return i};we.prototype.readUintBE=we.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||so(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};we.prototype.readUint8=we.prototype.readUInt8=function(e,r){return e=e>>>0,r||so(e,1,this.length),this[e]};we.prototype.readUint16LE=we.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||so(e,2,this.length),this[e]|this[e+1]<<8};we.prototype.readUint16BE=we.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||so(e,2,this.length),this[e]<<8|this[e+1]};we.prototype.readUint32LE=we.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||so(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};we.prototype.readUint32BE=we.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||so(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};we.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||so(e,r,this.length);for(var i=this[e],o=1,s=0;++s<r&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};we.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||so(e,r,this.length);for(var i=r,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*r)),s};we.prototype.readInt8=function(e,r){return e=e>>>0,r||so(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};we.prototype.readInt16LE=function(e,r){e=e>>>0,r||so(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};we.prototype.readInt16BE=function(e,r){e=e>>>0,r||so(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};we.prototype.readInt32LE=function(e,r){return e=e>>>0,r||so(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};we.prototype.readInt32BE=function(e,r){return e=e>>>0,r||so(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};we.prototype.readFloatLE=function(e,r){return e=e>>>0,r||so(e,4,this.length),wv.read(this,e,!0,23,4)};we.prototype.readFloatBE=function(e,r){return e=e>>>0,r||so(e,4,this.length),wv.read(this,e,!1,23,4)};we.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||so(e,8,this.length),wv.read(this,e,!0,52,8)};we.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||so(e,8,this.length),wv.read(this,e,!1,52,8)};function xa(t,e,r,n,i,o){if(!we.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}we.prototype.writeUintLE=we.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;xa(this,e,r,n,o,0)}var s=1,a=0;for(this[r]=e&255;++a<n&&(s*=256);)this[r+a]=e/s&255;return r+n};we.prototype.writeUintBE=we.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;xa(this,e,r,n,o,0)}var s=n-1,a=1;for(this[r+s]=e&255;--s>=0&&(a*=256);)this[r+s]=e/a&255;return r+n};we.prototype.writeUint8=we.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||xa(this,e,r,1,255,0),this[r]=e&255,r+1};we.prototype.writeUint16LE=we.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||xa(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};we.prototype.writeUint16BE=we.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||xa(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};we.prototype.writeUint32LE=we.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||xa(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};we.prototype.writeUint32BE=we.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||xa(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};we.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);xa(this,e,r,n,o-1,-o)}var s=0,a=1,d=0;for(this[r]=e&255;++s<n&&(a*=256);)e<0&&d===0&&this[r+s-1]!==0&&(d=1),this[r+s]=(e/a>>0)-d&255;return r+n};we.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);xa(this,e,r,n,o-1,-o)}var s=n-1,a=1,d=0;for(this[r+s]=e&255;--s>=0&&(a*=256);)e<0&&d===0&&this[r+s+1]!==0&&(d=1),this[r+s]=(e/a>>0)-d&255;return r+n};we.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||xa(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};we.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||xa(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};we.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||xa(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};we.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||xa(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};we.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||xa(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function oK(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function sK(t,e,r,n,i){return e=+e,r=r>>>0,i||oK(t,e,r,4,34028234663852886e22,-34028234663852886e22),wv.write(t,e,r,n,23,4),r+4}we.prototype.writeFloatLE=function(e,r,n){return sK(this,e,r,!0,n)};we.prototype.writeFloatBE=function(e,r,n){return sK(this,e,r,!1,n)};function aK(t,e,r,n,i){return e=+e,r=r>>>0,i||oK(t,e,r,8,17976931348623157e292,-17976931348623157e292),wv.write(t,e,r,n,52,8),r+8}we.prototype.writeDoubleLE=function(e,r,n){return aK(this,e,r,!0,n)};we.prototype.writeDoubleBE=function(e,r,n){return aK(this,e,r,!1,n)};we.prototype.copy=function(e,r,n,i){if(!we.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};we.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!we.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var a=we.isBuffer(e)?e:we.from(e,i),d=a.length;if(d===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=a[s%d]}return this};var Wve=/[^+/0-9A-Za-z-_]/g;function Gve(t){if(t=t.split("=")[0],t=t.trim().replace(Wve,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Ok(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Vve(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Hve(t,e){for(var r,n,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function cK(t){return Bk.toByteArray(Gve(t))}function t8(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function Uu(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Nk(t){return t!==t}var Jve=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var df=W((CYe,hK)=>{f();var wi=hK.exports={},Lu,Ku;function qk(){throw new Error("setTimeout has not been defined")}function Uk(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Lu=setTimeout:Lu=qk}catch{Lu=qk}try{typeof clearTimeout=="function"?Ku=clearTimeout:Ku=Uk}catch{Ku=Uk}})();function uK(t){if(Lu===setTimeout)return setTimeout(t,0);if((Lu===qk||!Lu)&&setTimeout)return Lu=setTimeout,setTimeout(t,0);try{return Lu(t,0)}catch{try{return Lu.call(null,t,0)}catch{return Lu.call(this,t,0)}}}function Zve(t){if(Ku===clearTimeout)return clearTimeout(t);if((Ku===Uk||!Ku)&&clearTimeout)return Ku=clearTimeout,clearTimeout(t);try{return Ku(t)}catch{try{return Ku.call(null,t)}catch{return Ku.call(this,t)}}}var af=[],xv=!1,A0,r8=-1;function Yve(){!xv||!A0||(xv=!1,A0.length?af=A0.concat(af):r8=-1,af.length&&lK())}function lK(){if(!xv){var t=uK(Yve);xv=!0;for(var e=af.length;e;){for(A0=af,af=[];++r8<e;)A0&&A0[r8].run();r8=-1,e=af.length}A0=null,xv=!1,Zve(t)}}wi.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];af.push(new fK(t,e)),af.length===1&&!xv&&uK(lK)};function fK(t,e){this.fun=t,this.array=e}fK.prototype.run=function(){this.fun.apply(null,this.array)};wi.title="browser";wi.browser=!0;wi.env={};wi.argv=[];wi.version="";wi.versions={};function cf(){}wi.on=cf;wi.addListener=cf;wi.once=cf;wi.off=cf;wi.removeListener=cf;wi.removeAllListeners=cf;wi.emit=cf;wi.prependListener=cf;wi.prependOnceListener=cf;wi.listeners=function(t){return[]};wi.binding=function(t){throw new Error("process.binding is not supported")};wi.cwd=function(){return"/"};wi.chdir=function(t){throw new Error("process.chdir is not supported")};wi.umask=function(){return 0}});var C,k,jYe,f=vve(()=>{C=Zt(dK()),k=Zt(df()),jYe=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var mK=W((NYe,pK)=>{f();var Xve=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;pK.exports=Xve});var gK=W((UYe,yK)=>{f();var Qve=mK(),ebe=typeof self=="object"&&self&&self.Object===Object&&self,tbe=Qve||ebe||Function("return this")();yK.exports=tbe});var Lk=W((KYe,vK)=>{f();var rbe=gK(),nbe=rbe.Symbol;vK.exports=nbe});var xK=W((FYe,_K)=>{f();var bK=Lk(),wK=Object.prototype,ibe=wK.hasOwnProperty,obe=wK.toString,p2=bK?bK.toStringTag:void 0;function sbe(t){var e=ibe.call(t,p2),r=t[p2];try{t[p2]=void 0;var n=!0}catch{}var i=obe.call(t);return n&&(e?t[p2]=r:delete t[p2]),i}_K.exports=sbe});var SK=W((GYe,EK)=>{f();var abe=Object.prototype,cbe=abe.toString;function dbe(t){return cbe.call(t)}EK.exports=dbe});var IK=W((HYe,TK)=>{f();var AK=Lk(),ube=xK(),lbe=SK(),fbe="[object Null]",hbe="[object Undefined]",PK=AK?AK.toStringTag:void 0;function pbe(t){return t==null?t===void 0?hbe:fbe:PK&&PK in Object(t)?ube(t):lbe(t)}TK.exports=pbe});var RK=W((ZYe,kK)=>{f();function mbe(t,e){return function(r){return t(e(r))}}kK.exports=mbe});var BK=W((XYe,DK)=>{f();var ybe=RK(),gbe=ybe(Object.getPrototypeOf,Object);DK.exports=gbe});var CK=W((eXe,MK)=>{f();function vbe(t){return t!=null&&typeof t=="object"}MK.exports=vbe});var $K=W((rXe,jK)=>{f();var bbe=IK(),wbe=BK(),_be=CK(),xbe="[object Object]",Ebe=Function.prototype,Sbe=Object.prototype,OK=Ebe.toString,Abe=Sbe.hasOwnProperty,Pbe=OK.call(Object);function Tbe(t){if(!_be(t)||bbe(t)!=xbe)return!1;var e=wbe(t);if(e===null)return!0;var r=Abe.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&OK.call(r)==Pbe}jK.exports=Tbe});var Vc=W((Wit,nG)=>{"use strict";f();function rG(t,e){for(let r in e)Object.defineProperty(t,r,{value:e[r],enumerable:!0,configurable:!0});return t}function yxe(t,e,r){if(!t||typeof t=="string")throw new TypeError("Please pass an Error to err-code");r||(r={}),typeof e=="object"&&(r=e,e=""),e&&(r.code=e);try{return rG(t,r)}catch{r.message=t.message,r.stack=t.stack;let i=function(){};return i.prototype=Object.create(Object.getPrototypeOf(t)),rG(new i,r)}}nG.exports=yxe});var QG=W((l_,X8)=>{f();(function(t,e){"use strict";var r={version:"3.0.0",x86:{},x64:{},inputValidation:!0};function n(h){if(!Array.isArray(h)&&!ArrayBuffer.isView(h))return!1;for(var g=0;g<h.length;g++)if(!Number.isInteger(h[g])||h[g]<0||h[g]>255)return!1;return!0}function i(h,g){return(h&65535)*g+(((h>>>16)*g&65535)<<16)}function o(h,g){return h<<g|h>>>32-g}function s(h){return h^=h>>>16,h=i(h,2246822507),h^=h>>>13,h=i(h,3266489909),h^=h>>>16,h}function a(h,g){h=[h[0]>>>16,h[0]&65535,h[1]>>>16,h[1]&65535],g=[g[0]>>>16,g[0]&65535,g[1]>>>16,g[1]&65535];var v=[0,0,0,0];return v[3]+=h[3]+g[3],v[2]+=v[3]>>>16,v[3]&=65535,v[2]+=h[2]+g[2],v[1]+=v[2]>>>16,v[2]&=65535,v[1]+=h[1]+g[1],v[0]+=v[1]>>>16,v[1]&=65535,v[0]+=h[0]+g[0],v[0]&=65535,[v[0]<<16|v[1],v[2]<<16|v[3]]}function d(h,g){h=[h[0]>>>16,h[0]&65535,h[1]>>>16,h[1]&65535],g=[g[0]>>>16,g[0]&65535,g[1]>>>16,g[1]&65535];var v=[0,0,0,0];return v[3]+=h[3]*g[3],v[2]+=v[3]>>>16,v[3]&=65535,v[2]+=h[2]*g[3],v[1]+=v[2]>>>16,v[2]&=65535,v[2]+=h[3]*g[2],v[1]+=v[2]>>>16,v[2]&=65535,v[1]+=h[1]*g[3],v[0]+=v[1]>>>16,v[1]&=65535,v[1]+=h[2]*g[2],v[0]+=v[1]>>>16,v[1]&=65535,v[1]+=h[3]*g[1],v[0]+=v[1]>>>16,v[1]&=65535,v[0]+=h[0]*g[3]+h[1]*g[2]+h[2]*g[1]+h[3]*g[0],v[0]&=65535,[v[0]<<16|v[1],v[2]<<16|v[3]]}function u(h,g){return g%=64,g===32?[h[1],h[0]]:g<32?[h[0]<<g|h[1]>>>32-g,h[1]<<g|h[0]>>>32-g]:(g-=32,[h[1]<<g|h[0]>>>32-g,h[0]<<g|h[1]>>>32-g])}function c(h,g){return g%=64,g===0?h:g<32?[h[0]<<g|h[1]>>>32-g,h[1]<<g]:[h[1]<<g-32,0]}function l(h,g){return[h[0]^g[0],h[1]^g[1]]}function p(h){return h=l(h,[0,h[0]>>>1]),h=d(h,[4283543511,3981806797]),h=l(h,[0,h[0]>>>1]),h=d(h,[3301882366,444984403]),h=l(h,[0,h[0]>>>1]),h}r.x86.hash32=function(h,g){if(r.inputValidation&&!n(h))return e;g=g||0;for(var v=h.length%4,E=h.length-v,S=g,R=0,T=3432918353,$=461845907,N=0;N<E;N=N+4)R=h[N]|h[N+1]<<8|h[N+2]<<16|h[N+3]<<24,R=i(R,T),R=o(R,15),R=i(R,$),S^=R,S=o(S,13),S=i(S,5)+3864292196;switch(R=0,v){case 3:R^=h[N+2]<<16;case 2:R^=h[N+1]<<8;case 1:R^=h[N],R=i(R,T),R=o(R,15),R=i(R,$),S^=R}return S^=h.length,S=s(S),S>>>0},r.x86.hash128=function(h,g){if(r.inputValidation&&!n(h))return e;g=g||0;for(var v=h.length%16,E=h.length-v,S=g,R=g,T=g,$=g,N=0,L=0,K=0,F=0,V=597399067,U=2869860233,A=951274213,O=2716044179,D=0;D<E;D=D+16)N=h[D]|h[D+1]<<8|h[D+2]<<16|h[D+3]<<24,L=h[D+4]|h[D+5]<<8|h[D+6]<<16|h[D+7]<<24,K=h[D+8]|h[D+9]<<8|h[D+10]<<16|h[D+11]<<24,F=h[D+12]|h[D+13]<<8|h[D+14]<<16|h[D+15]<<24,N=i(N,V),N=o(N,15),N=i(N,U),S^=N,S=o(S,19),S+=R,S=i(S,5)+1444728091,L=i(L,U),L=o(L,16),L=i(L,A),R^=L,R=o(R,17),R+=T,R=i(R,5)+197830471,K=i(K,A),K=o(K,17),K=i(K,O),T^=K,T=o(T,15),T+=$,T=i(T,5)+2530024501,F=i(F,O),F=o(F,18),F=i(F,V),$^=F,$=o($,13),$+=S,$=i($,5)+850148119;switch(N=0,L=0,K=0,F=0,v){case 15:F^=h[D+14]<<16;case 14:F^=h[D+13]<<8;case 13:F^=h[D+12],F=i(F,O),F=o(F,18),F=i(F,V),$^=F;case 12:K^=h[D+11]<<24;case 11:K^=h[D+10]<<16;case 10:K^=h[D+9]<<8;case 9:K^=h[D+8],K=i(K,A),K=o(K,17),K=i(K,O),T^=K;case 8:L^=h[D+7]<<24;case 7:L^=h[D+6]<<16;case 6:L^=h[D+5]<<8;case 5:L^=h[D+4],L=i(L,U),L=o(L,16),L=i(L,A),R^=L;case 4:N^=h[D+3]<<24;case 3:N^=h[D+2]<<16;case 2:N^=h[D+1]<<8;case 1:N^=h[D],N=i(N,V),N=o(N,15),N=i(N,U),S^=N}return S^=h.length,R^=h.length,T^=h.length,$^=h.length,S+=R,S+=T,S+=$,R+=S,T+=S,$+=S,S=s(S),R=s(R),T=s(T),$=s($),S+=R,S+=T,S+=$,R+=S,T+=S,$+=S,("00000000"+(S>>>0).toString(16)).slice(-8)+("00000000"+(R>>>0).toString(16)).slice(-8)+("00000000"+(T>>>0).toString(16)).slice(-8)+("00000000"+($>>>0).toString(16)).slice(-8)},r.x64.hash128=function(h,g){if(r.inputValidation&&!n(h))return e;g=g||0;for(var v=h.length%16,E=h.length-v,S=[0,g],R=[0,g],T=[0,0],$=[0,0],N=[2277735313,289559509],L=[1291169091,658871167],K=0;K<E;K=K+16)T=[h[K+4]|h[K+5]<<8|h[K+6]<<16|h[K+7]<<24,h[K]|h[K+1]<<8|h[K+2]<<16|h[K+3]<<24],$=[h[K+12]|h[K+13]<<8|h[K+14]<<16|h[K+15]<<24,h[K+8]|h[K+9]<<8|h[K+10]<<16|h[K+11]<<24],T=d(T,N),T=u(T,31),T=d(T,L),S=l(S,T),S=u(S,27),S=a(S,R),S=a(d(S,[0,5]),[0,1390208809]),$=d($,L),$=u($,33),$=d($,N),R=l(R,$),R=u(R,31),R=a(R,S),R=a(d(R,[0,5]),[0,944331445]);switch(T=[0,0],$=[0,0],v){case 15:$=l($,c([0,h[K+14]],48));case 14:$=l($,c([0,h[K+13]],40));case 13:$=l($,c([0,h[K+12]],32));case 12:$=l($,c([0,h[K+11]],24));case 11:$=l($,c([0,h[K+10]],16));case 10:$=l($,c([0,h[K+9]],8));case 9:$=l($,[0,h[K+8]]),$=d($,L),$=u($,33),$=d($,N),R=l(R,$);case 8:T=l(T,c([0,h[K+7]],56));case 7:T=l(T,c([0,h[K+6]],48));case 6:T=l(T,c([0,h[K+5]],40));case 5:T=l(T,c([0,h[K+4]],32));case 4:T=l(T,c([0,h[K+3]],24));case 3:T=l(T,c([0,h[K+2]],16));case 2:T=l(T,c([0,h[K+1]],8));case 1:T=l(T,[0,h[K]]),T=d(T,N),T=u(T,31),T=d(T,L),S=l(S,T)}return S=l(S,[0,h.length]),R=l(R,[0,h.length]),S=a(S,R),R=a(R,S),S=p(S),R=p(R),S=a(S,R),R=a(R,S),("00000000"+(S[0]>>>0).toString(16)).slice(-8)+("00000000"+(S[1]>>>0).toString(16)).slice(-8)+("00000000"+(R[0]>>>0).toString(16)).slice(-8)+("00000000"+(R[1]>>>0).toString(16)).slice(-8)},typeof l_<"u"?(typeof X8<"u"&&X8.exports&&(l_=X8.exports=r),l_.murmurHash3=r):typeof define=="function"&&define.amd?define([],function(){return r}):(r._murmurHash3=t.murmurHash3,r.noConflict=function(){return t.murmurHash3=r._murmurHash3,r._murmurHash3=e,r.noConflict=e,r},t.murmurHash3=r)})(l_)});var tV=W((Act,eV)=>{f();eV.exports=QG()});var iV=W((Cct,nV)=>{"use strict";f();nV.exports=class{constructor(){this._bitArrays=[],this._data=[],this._length=0,this._changedLength=!1,this._changedData=!1}set(e,r){let n=this._internalPositionFor(e,!1);if(r===void 0)n!==-1&&(this._unsetInternalPos(n),this._unsetBit(e),this._changedLength=!0,this._changedData=!0);else{let i=!1;n===-1?(n=this._data.length,this._setBit(e),this._changedData=!0):i=!0,this._setInternalPos(n,e,r,i),this._changedLength=!0}}unset(e){this.set(e,void 0)}get(e){this._sortData();let r=this._internalPositionFor(e,!0);if(r!==-1)return this._data[r][1]}push(e){return this.set(this.length,e),this.length}get length(){if(this._sortData(),this._changedLength){let e=this._data[this._data.length-1];this._length=e?e[0]+1:0,this._changedLength=!1}return this._length}forEach(e){let r=0;for(;r<this.length;)e(this.get(r),r,this),r++}map(e){let r=0,n=new Array(this.length);for(;r<this.length;)n[r]=e(this.get(r),r,this),r++;return n}reduce(e,r){let n=0,i=r;for(;n<this.length;){let o=this.get(n);i=e(i,o,n),n++}return i}find(e){let r=0,n,i;for(;r<this.length&&!n;)i=this.get(r),n=e(i),r++;return n?i:void 0}_internalPositionFor(e,r){let n=this._bytePosFor(e,r);if(n>=this._bitArrays.length)return-1;let i=this._bitArrays[n],o=e-n*7;if(!((i&1<<o)>0))return-1;let a=this._bitArrays.slice(0,n).reduce(AEe,0),d=~(4294967295<<o+1),u=rV(i&d);return a+u-1}_bytePosFor(e,r){let n=Math.floor(e/7),i=n+1;for(;!r&&this._bitArrays.length<i;)this._bitArrays.push(0);return n}_setBit(e){let r=this._bytePosFor(e,!1);this._bitArrays[r]|=1<<e-r*7}_unsetBit(e){let r=this._bytePosFor(e,!1);this._bitArrays[r]&=~(1<<e-r*7)}_setInternalPos(e,r,n,i){let o=this._data,s=[r,n];if(i)this._sortData(),o[e]=s;else{if(o.length)if(o[o.length-1][0]>=r)o.push(s);else if(o[0][0]<=r)o.unshift(s);else{let a=Math.round(o.length/2);this._data=o.slice(0,a).concat(s).concat(o.slice(a))}else this._data.push(s);this._changedData=!0,this._changedLength=!0}}_unsetInternalPos(e){this._data.splice(e,1)}_sortData(){this._changedData&&this._data.sort(PEe),this._changedData=!1}bitField(){let e=[],r=8,n=0,i=0,o,s=this._bitArrays.slice();for(;s.length||n;){n===0&&(o=s.shift(),n=7);let d=Math.min(n,r),u=~(255<<d),c=o&u;i|=c<<8-r,o=o>>>d,n-=d,r-=d,(!r||!n&&!s.length)&&(e.push(i),i=0,r=8)}for(var a=e.length-1;a>0&&e[a]===0;a--)e.pop();return e}compactArray(){return this._sortData(),this._data.map(TEe)}};function AEe(t,e){return t+rV(e)}function rV(t){let e=t;return e=e-(e>>1&1431655765),e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>24}function PEe(t,e){return t[0]-e[0]}function TEe(t){return t[1]}});var xi=W(db=>{"use strict";f();var aD=kk(),ab=Dk(),vV=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;db.Buffer=ve;db.SlowBuffer=WEe;db.INSPECT_MAX_BYTES=50;var i5=2147483647;db.kMaxLength=i5;ve.TYPED_ARRAY_SUPPORT=UEe();!ve.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 UEe(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(ve.prototype,"parent",{enumerable:!0,get:function(){if(ve.isBuffer(this))return this.buffer}});Object.defineProperty(ve.prototype,"offset",{enumerable:!0,get:function(){if(ve.isBuffer(this))return this.byteOffset}});function Ef(t){if(t>i5)throw new RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,ve.prototype),e}function ve(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return lD(t)}return xV(t,e,r)}ve.poolSize=8192;function xV(t,e,r){if(typeof t=="string")return KEe(t,e);if(ArrayBuffer.isView(t))return zEe(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(el(t,ArrayBuffer)||t&&el(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(el(t,SharedArrayBuffer)||t&&el(t.buffer,SharedArrayBuffer)))return dD(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return ve.from(n,e,r);let i=FEe(t);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return ve.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}ve.from=function(t,e,r){return xV(t,e,r)};Object.setPrototypeOf(ve.prototype,Uint8Array.prototype);Object.setPrototypeOf(ve,Uint8Array);function EV(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function LEe(t,e,r){return EV(t),t<=0?Ef(t):e!==void 0?typeof r=="string"?Ef(t).fill(e,r):Ef(t).fill(e):Ef(t)}ve.alloc=function(t,e,r){return LEe(t,e,r)};function lD(t){return EV(t),Ef(t<0?0:fD(t)|0)}ve.allocUnsafe=function(t){return lD(t)};ve.allocUnsafeSlow=function(t){return lD(t)};function KEe(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!ve.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let r=SV(t,e)|0,n=Ef(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function cD(t){let e=t.length<0?0:fD(t.length)|0,r=Ef(e);for(let n=0;n<e;n+=1)r[n]=t[n]&255;return r}function zEe(t){if(el(t,Uint8Array)){let e=new Uint8Array(t);return dD(e.buffer,e.byteOffset,e.byteLength)}return cD(t)}function dD(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,ve.prototype),n}function FEe(t){if(ve.isBuffer(t)){let e=fD(t.length)|0,r=Ef(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||pD(t.length)?Ef(0):cD(t);if(t.type==="Buffer"&&Array.isArray(t.data))return cD(t.data)}function fD(t){if(t>=i5)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i5.toString(16)+" bytes");return t|0}function WEe(t){return+t!=t&&(t=0),ve.alloc(+t)}ve.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==ve.prototype};ve.compare=function(e,r){if(el(e,Uint8Array)&&(e=ve.from(e,e.offset,e.byteLength)),el(r,Uint8Array)&&(r=ve.from(r,r.offset,r.byteLength)),!ve.isBuffer(e)||!ve.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;let n=e.length,i=r.length;for(let o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};ve.isEncoding=function(e){switch(String(e).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}};ve.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return ve.alloc(0);let n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;let i=ve.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){let s=e[n];if(el(s,Uint8Array))o+s.length>i.length?(ve.isBuffer(s)||(s=ve.from(s)),s.copy(i,o)):Uint8Array.prototype.set.call(i,s,o);else if(ve.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=s.length}return i};function SV(t,e){if(ve.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||el(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return uD(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return MV(t).length;default:if(i)return n?-1:uD(t).length;e=(""+e).toLowerCase(),i=!0}}ve.byteLength=SV;function GEe(t,e,r){let n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return r6e(this,e,r);case"utf8":case"utf-8":return PV(this,e,r);case"ascii":return e6e(this,e,r);case"latin1":case"binary":return t6e(this,e,r);case"base64":return XEe(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n6e(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}ve.prototype._isBuffer=!0;function Y0(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}ve.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;r<e;r+=2)Y0(this,r,r+1);return this};ve.prototype.swap32=function(){let e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let r=0;r<e;r+=4)Y0(this,r,r+3),Y0(this,r+1,r+2);return this};ve.prototype.swap64=function(){let e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let r=0;r<e;r+=8)Y0(this,r,r+7),Y0(this,r+1,r+6),Y0(this,r+2,r+5),Y0(this,r+3,r+4);return this};ve.prototype.toString=function(){let e=this.length;return e===0?"":arguments.length===0?PV(this,0,e):GEe.apply(this,arguments)};ve.prototype.toLocaleString=ve.prototype.toString;ve.prototype.equals=function(e){if(!ve.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:ve.compare(this,e)===0};ve.prototype.inspect=function(){let e="",r=db.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};vV&&(ve.prototype[vV]=ve.prototype.inspect);ve.prototype.compare=function(e,r,n,i,o){if(el(e,Uint8Array)&&(e=ve.from(e,e.offset,e.byteLength)),!ve.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;let s=o-i,a=n-r,d=Math.min(s,a),u=this.slice(i,o),c=e.slice(r,n);for(let l=0;l<d;++l)if(u[l]!==c[l]){s=u[l],a=c[l];break}return s<a?-1:a<s?1:0};function AV(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,pD(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=ve.from(e,n)),ve.isBuffer(e))return e.length===0?-1:bV(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):bV(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function bV(t,e,r,n,i){let o=1,s=t.length,a=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,s/=2,a/=2,r/=2}function d(c,l){return o===1?c[l]:c.readUInt16BE(l*o)}let u;if(i){let c=-1;for(u=r;u<s;u++)if(d(t,u)===d(e,c===-1?0:u-c)){if(c===-1&&(c=u),u-c+1===a)return c*o}else c!==-1&&(u-=u-c),c=-1}else for(r+a>s&&(r=s-a),u=r;u>=0;u--){let c=!0;for(let l=0;l<a;l++)if(d(t,u+l)!==d(e,l)){c=!1;break}if(c)return u}return-1}ve.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};ve.prototype.indexOf=function(e,r,n){return AV(this,e,r,n,!0)};ve.prototype.lastIndexOf=function(e,r,n){return AV(this,e,r,n,!1)};function VEe(t,e,r,n){r=Number(r)||0;let i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;let o=e.length;n>o/2&&(n=o/2);let s;for(s=0;s<n;++s){let a=parseInt(e.substr(s*2,2),16);if(pD(a))return s;t[r+s]=a}return s}function HEe(t,e,r,n){return o5(uD(e,t.length-r),t,r,n)}function JEe(t,e,r,n){return o5(a6e(e),t,r,n)}function ZEe(t,e,r,n){return o5(MV(e),t,r,n)}function YEe(t,e,r,n){return o5(c6e(e,t.length-r),t,r,n)}ve.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let s=!1;for(;;)switch(i){case"hex":return VEe(this,e,r,n);case"utf8":case"utf-8":return HEe(this,e,r,n);case"ascii":case"latin1":case"binary":return JEe(this,e,r,n);case"base64":return ZEe(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return YEe(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};ve.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function XEe(t,e,r){return e===0&&r===t.length?aD.fromByteArray(t):aD.fromByteArray(t.slice(e,r))}function PV(t,e,r){r=Math.min(t.length,r);let n=[],i=e;for(;i<r;){let o=t[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=r){let d,u,c,l;switch(a){case 1:o<128&&(s=o);break;case 2:d=t[i+1],(d&192)===128&&(l=(o&31)<<6|d&63,l>127&&(s=l));break;case 3:d=t[i+1],u=t[i+2],(d&192)===128&&(u&192)===128&&(l=(o&15)<<12|(d&63)<<6|u&63,l>2047&&(l<55296||l>57343)&&(s=l));break;case 4:d=t[i+1],u=t[i+2],c=t[i+3],(d&192)===128&&(u&192)===128&&(c&192)===128&&(l=(o&15)<<18|(d&63)<<12|(u&63)<<6|c&63,l>65535&&l<1114112&&(s=l))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=a}return QEe(n)}var wV=4096;function QEe(t){let e=t.length;if(e<=wV)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=wV));return r}function e6e(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function t6e(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function r6e(t,e,r){let n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let o=e;o<r;++o)i+=d6e[t[o]];return i}function n6e(t,e,r){let n=t.slice(e,r),i="";for(let o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}ve.prototype.slice=function(e,r){let n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);let i=this.subarray(e,r);return Object.setPrototypeOf(i,ve.prototype),i};function po(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}ve.prototype.readUintLE=ve.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||po(e,r,this.length);let i=this[e],o=1,s=0;for(;++s<r&&(o*=256);)i+=this[e+s]*o;return i};ve.prototype.readUintBE=ve.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||po(e,r,this.length);let i=this[e+--r],o=1;for(;r>0&&(o*=256);)i+=this[e+--r]*o;return i};ve.prototype.readUint8=ve.prototype.readUInt8=function(e,r){return e=e>>>0,r||po(e,1,this.length),this[e]};ve.prototype.readUint16LE=ve.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||po(e,2,this.length),this[e]|this[e+1]<<8};ve.proto