vare="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:{};functiont(e){returne&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}functionr(e,t){returne(t={exports:{}},t.exports),t.exports}for(varn=function(e){vart=f(e),r=t[0],n=t[1];return3*(r+n)/4-n},o=function(e){vart,r,n=f(e),o=n[0],i=n[1],a=newl(function(e,t,r){return3*(t+r)/4-r}(0,o,i)),u=0,c=i>0?o-4:o;for(r=0;r<c;r+=4)t=s[e.charCodeAt(r)]<<18|s[e.charCodeAt(r+1)]<<12|s[e.charCodeAt(r+2)]<<6|s[e.charCodeAt(r+3)],a[u++]=t>>16&255,a[u++]=t>>8&255,a[u++]=255&t;2===i&&(t=s[e.charCodeAt(r)]<<2|s[e.charCodeAt(r+1)]>>4,a[u++]=255&t);1===i&&(t=s[e.charCodeAt(r)]<<10|s[e.charCodeAt(r+1)]<<4|s[e.charCodeAt(r+2)]>>2,a[u++]=t>>8&255,a[u++]=255&t);returna},i=function(e){for(vart,r=e.length,n=r%3,o=[],i=16383,s=0,l=r-n;s<l;s+=i)o.push(d(e,s,s+i>l?l:s+i));1===n?(t=e[r-1],o.push(a[t>>2]+a[t<<4&63]+"==")):2===n&&(t=(e[r-2]<<8)+e[r-1],o.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+"="));returno.join("")},a=[],s=[],l="undefined"!=typeofUint8Array?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,h=u.length;c<h;++c)a[c]=u[c],s[u.charCodeAt(c)]=c;functionf(e){vart=e.length;if(t%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}functiond(e,t,r){for(varn,o,i=[],s=t;s<r;s+=3)n=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(a[(o=n)>>18&63]+a[o>>12&63]+a[o>>6&63]+a[63&o]);returni.join("")}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63;varp={byteLength:n,toByteArray:o,fromByteArray:i},g=function(e,t,r,n,o){vari,a,s=8*o-n-1,l=(1<<s)-1,u=l>>1,c=-7,h=r?o-1:0,f=r?-1:1,d=e[t+h];for(h+=f,i=d&(1<<-c)-1,d>>=-c,c+=s;c>0;i=256*i+e[t+h],h+=f,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+h],h+=f,c-=8);if(0===i)i=1-u;else{if(i===l)returna?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),i-=u}return(d?-1:1)*a*Math.pow(2,i-n)},m=function(e,t,r,n,o,i){vara,s,l,u=8*i-o-1,c=(1<<u)-1,h=c>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?f/l:f*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(t*l-1)*Math.pow(2,o),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,o),a=0));o>=8;e[r+d]=255&s,d+=p,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;e[r+d]=255&a,d+=p,a/=256,u-=8);e[r+d-p]|=128*g},v=r((function(e,t){varr="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=i,t.SlowBuffer=function(e){+e!=e&&(e=0);returni.alloc(+e)},t.INSPECT_MAX_BYTES=50;varn=2147483647;functiono(e){if(e>n)thrownewRangeError('The value "'+e+'" is invalid for option "size"');vart=newUint8Array(e);returnObject.setPrototypeOf(t,i.prototype),t}functioni(e,t,r){if("number"==typeofe){if("string"==typeoft)thrownewTypeError('The "string" argument must be of type string. Received type number');returnl(e)}returna(e,t,r)}functiona(e,t,r){if("string"==typeofe)returnfunction(e,t){"string"==typeoft&&""!==t||(t="utf8");if(!i.isEncoding(t))thrownewTypeError("Unknown encoding: "+t);varr=0|f(e,t),n=o(r),a=n.write(e,t);a!==r&&(n=n.slice(0,a));returnn}(e,t);if(ArrayBuffer.isView(e))returnu(e);if(null==e)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe);if(U(e,ArrayBuffer)||e&&U(e.buffer,ArrayBuffer))returnc(e,t,r);if("undefined"!=typeofSharedArrayBuffer&&(U(e,SharedArrayBuffer)||e&&U(e.buffer,SharedArrayBuffer)))returnc(e,t,r);if("number"==typeofe)thrownewTypeError('The "value" argument must not be of type number. Received type number');varn=e.valueOf&&e.valueOf();if(null!=n&&n!==e)returni.from(n,t,r);vara=function(e){if(i.isBuffer(e)){vart=0|h(e.length),r=o(t);return0===r.length||e.copy(r,0,0,t),r}if(void0!==e.length)return"number"!=typeofe.length||G(e.length