Files
nextcloud-server-mirror/dist/util-Da-EotHR.chunk.mjs
2026-09-09 17:47:45 +00:00

12 lines
59 KiB
JavaScript

import{y as Gr,t as dt}from"./public-CbgMFeCH.chunk.mjs";var Wr={},Rt={};Rt.byteLength=un,Rt.toByteArray=an,Rt.fromByteArray=sn;for(var lt=[],it=[],nn=typeof Uint8Array<"u"?Uint8Array:Array,_t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Bt=0,on=_t.length;Bt<on;++Bt)lt[Bt]=_t[Bt],it[_t.charCodeAt(Bt)]=Bt;it[45]=62,it[95]=63;function Vr(n){var a=n.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var b=n.indexOf("=");b===-1&&(b=a);var g=b===a?0:4-b%4;return[b,g]}function un(n){var a=Vr(n),b=a[0],g=a[1];return(b+g)*3/4-g}function fn(n,a,b){return(a+b)*3/4-b}function an(n){var a,b=Vr(n),g=b[0],d=b[1],h=new nn(fn(n,g,d)),s=0,y=d>0?g-4:g,w;for(w=0;w<y;w+=4)a=it[n.charCodeAt(w)]<<18|it[n.charCodeAt(w+1)]<<12|it[n.charCodeAt(w+2)]<<6|it[n.charCodeAt(w+3)],h[s++]=a>>16&255,h[s++]=a>>8&255,h[s++]=a&255;return d===2&&(a=it[n.charCodeAt(w)]<<2|it[n.charCodeAt(w+1)]>>4,h[s++]=a&255),d===1&&(a=it[n.charCodeAt(w)]<<10|it[n.charCodeAt(w+1)]<<4|it[n.charCodeAt(w+2)]>>2,h[s++]=a>>8&255,h[s++]=a&255),h}function cn(n){return lt[n>>18&63]+lt[n>>12&63]+lt[n>>6&63]+lt[n&63]}function pn(n,a,b){for(var g,d=[],h=a;h<b;h+=3)g=(n[h]<<16&16711680)+(n[h+1]<<8&65280)+(n[h+2]&255),d.push(cn(g));return d.join("")}function sn(n){for(var a,b=n.length,g=b%3,d=[],h=16383,s=0,y=b-g;s<y;s+=h)d.push(pn(n,s,s+h>y?y:s+h));return g===1?(a=n[b-1],d.push(lt[a>>2]+lt[a<<4&63]+"==")):g===2&&(a=(n[b-2]<<8)+n[b-1],d.push(lt[a>>10]+lt[a>>4&63]+lt[a<<2&63]+"=")),d.join("")}var pe={};pe.read=function(n,a,b,g,d){var h,s,y=d*8-g-1,w=(1<<y)-1,A=w>>1,o=-7,E=b?d-1:0,k=b?-1:1,M=n[a+E];for(E+=k,h=M&(1<<-o)-1,M>>=-o,o+=y;o>0;h=h*256+n[a+E],E+=k,o-=8);for(s=h&(1<<-o)-1,h>>=-o,o+=g;o>0;s=s*256+n[a+E],E+=k,o-=8);if(h===0)h=1-A;else{if(h===w)return s?NaN:(M?-1:1)*(1/0);s=s+Math.pow(2,g),h=h-A}return(M?-1:1)*s*Math.pow(2,h-g)},pe.write=function(n,a,b,g,d,h){var s,y,w,A=h*8-d-1,o=(1<<A)-1,E=o>>1,k=d===23?Math.pow(2,-24)-Math.pow(2,-77):0,M=g?0:h-1,_=g?1:-1,R=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(y=isNaN(a)?1:0,s=o):(s=Math.floor(Math.log(a)/Math.LN2),a*(w=Math.pow(2,-s))<1&&(s--,w*=2),s+E>=1?a+=k/w:a+=k*Math.pow(2,1-E),a*w>=2&&(s++,w/=2),s+E>=o?(y=0,s=o):s+E>=1?(y=(a*w-1)*Math.pow(2,d),s=s+E):(y=a*Math.pow(2,E-1)*Math.pow(2,d),s=0));d>=8;n[b+M]=y&255,M+=_,y/=256,d-=8);for(s=s<<d|y,A+=d;A>0;n[b+M]=s&255,M+=_,s/=256,A-=8);n[b+M-_]|=R*128};(function(n){const a=Rt,b=pe,g=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=o,n.SlowBuffer=gt,n.INSPECT_MAX_BYTES=50;const d=2147483647;n.kMaxLength=d;const{Uint8Array:h,ArrayBuffer:s,SharedArrayBuffer:y}=globalThis;o.TYPED_ARRAY_SUPPORT=w(),!o.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 w(){try{const t=new h(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,h.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function A(t){if(t>d)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new h(t);return Object.setPrototypeOf(e,o.prototype),e}function o(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 _(t)}return E(t,e,r)}o.poolSize=8192;function E(t,e,r){if(typeof t=="string")return R(t,e);if(s.isView(t))return F(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(st(t,s)||t&&st(t.buffer,s)||typeof y<"u"&&(st(t,y)||t&&st(t.buffer,y)))return S(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const i=t.valueOf&&t.valueOf();if(i!=null&&i!==t)return o.from(i,e,r);const u=L(t);if(u)return u;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return o.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)}o.from=function(t,e,r){return E(t,e,r)},Object.setPrototypeOf(o.prototype,h.prototype),Object.setPrototypeOf(o,h);function k(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 M(t,e,r){return k(t),t<=0?A(t):e!==void 0?typeof r=="string"?A(t).fill(e,r):A(t).fill(e):A(t)}o.alloc=function(t,e,r){return M(t,e,r)};function _(t){return k(t),A(t<0?0:ut(t)|0)}o.allocUnsafe=function(t){return _(t)},o.allocUnsafeSlow=function(t){return _(t)};function R(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!o.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=Y(t,e)|0;let i=A(r);const u=i.write(t,e);return u!==r&&(i=i.slice(0,u)),i}function P(t){const e=t.length<0?0:ut(t.length)|0,r=A(e);for(let i=0;i<e;i+=1)r[i]=t[i]&255;return r}function F(t){if(st(t,h)){const e=new h(t);return S(e.buffer,e.byteOffset,e.byteLength)}return P(t)}function S(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 i;return e===void 0&&r===void 0?i=new h(t):r===void 0?i=new h(t,e):i=new h(t,e,r),Object.setPrototypeOf(i,o.prototype),i}function L(t){if(o.isBuffer(t)){const e=ut(t.length)|0,r=A(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Mt(t.length)?A(0):P(t);if(t.type==="Buffer"&&Array.isArray(t.data))return P(t.data)}function ut(t){if(t>=d)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d.toString(16)+" bytes");return t|0}function gt(t){return+t!=t&&(t=0),o.alloc(+t)}o.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==o.prototype},o.compare=function(t,e){if(st(t,h)&&(t=o.from(t,t.offset,t.byteLength)),st(e,h)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,i=e.length;for(let u=0,p=Math.min(r,i);u<p;++u)if(t[u]!==e[u]){r=t[u],i=e[u];break}return r<i?-1:i<r?1:0},o.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return o.alloc(0);let r;if(e===void 0)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const i=o.allocUnsafe(e);let u=0;for(r=0;r<t.length;++r){let p=t[r];if(st(p,h))u+p.length>i.length?(o.isBuffer(p)||(p=o.from(p)),p.copy(i,u)):h.prototype.set.call(i,p,u);else if(o.isBuffer(p))p.copy(i,u);else throw new TypeError('"list" argument must be an Array of Buffers');u+=p.length}return i};function Y(t,e){if(o.isBuffer(t))return t.length;if(s.isView(t)||st(t,s))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);const r=t.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&r===0)return 0;let u=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return vt(t).length;default:if(u)return i?-1:Q(t).length;e=(""+e).toLowerCase(),u=!0}}o.byteLength=Y;function D(t,e,r){let i=!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 at(this,e,r);case"utf8":case"utf-8":return ht(this,e,r);case"ascii":return X(this,e,r);case"latin1":case"binary":return bt(this,e,r);case"base64":return ot(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}o.prototype._isBuffer=!0;function V(t,e,r){const i=t[e];t[e]=t[r],t[r]=i}o.prototype.swap16=function(){const t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)V(this,e,e+1);return this},o.prototype.swap32=function(){const t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)V(this,e,e+3),V(this,e+1,e+2);return this},o.prototype.swap64=function(){const t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)V(this,e,e+7),V(this,e+1,e+6),V(this,e+2,e+5),V(this,e+3,e+4);return this},o.prototype.toString=function(){const t=this.length;return t===0?"":arguments.length===0?ht(this,0,t):D.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(t){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:o.compare(this,t)===0},o.prototype.inspect=function(){let t="";const e=n.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},g&&(o.prototype[g]=o.prototype.inspect),o.prototype.compare=function(t,e,r,i,u){if(st(t,h)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),r===void 0&&(r=t?t.length:0),i===void 0&&(i=0),u===void 0&&(u=this.length),e<0||r>t.length||i<0||u>this.length)throw new RangeError("out of range index");if(i>=u&&e>=r)return 0;if(i>=u)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,i>>>=0,u>>>=0,this===t)return 0;let p=u-i,v=r-e;const C=Math.min(p,v),H=this.slice(i,u),G=t.slice(e,r);for(let N=0;N<C;++N)if(H[N]!==G[N]){p=H[N],v=G[N];break}return p<v?-1:v<p?1:0};function nt(t,e,r,i,u){if(t.length===0)return-1;if(typeof r=="string"?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Mt(r)&&(r=u?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(u)return-1;r=t.length-1}else if(r<0)if(u)r=0;else return-1;if(typeof e=="string"&&(e=o.from(e,i)),o.isBuffer(e))return e.length===0?-1:q(t,e,r,i,u);if(typeof e=="number")return e=e&255,typeof h.prototype.indexOf=="function"?u?h.prototype.indexOf.call(t,e,r):h.prototype.lastIndexOf.call(t,e,r):q(t,[e],r,i,u);throw new TypeError("val must be string, number or Buffer")}function q(t,e,r,i,u){let p=1,v=t.length,C=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||e.length<2)return-1;p=2,v/=2,C/=2,r/=2}function H(N,W){return p===1?N[W]:N.readUInt16BE(W*p)}let G;if(u){let N=-1;for(G=r;G<v;G++)if(H(t,G)===H(e,N===-1?0:G-N)){if(N===-1&&(N=G),G-N+1===C)return N*p}else N!==-1&&(G-=G-N),N=-1}else for(r+C>v&&(r=v-C),G=r;G>=0;G--){let N=!0;for(let W=0;W<C;W++)if(H(t,G+W)!==H(e,W)){N=!1;break}if(N)return G}return-1}o.prototype.includes=function(t,e,r){return this.indexOf(t,e,r)!==-1},o.prototype.indexOf=function(t,e,r){return nt(this,t,e,r,!0)},o.prototype.lastIndexOf=function(t,e,r){return nt(this,t,e,r,!1)};function tt(t,e,r,i){r=Number(r)||0;const u=t.length-r;i?(i=Number(i),i>u&&(i=u)):i=u;const p=e.length;i>p/2&&(i=p/2);let v;for(v=0;v<i;++v){const C=parseInt(e.substr(v*2,2),16);if(Mt(C))return v;t[r+v]=C}return v}function J(t,e,r,i){return Pt(Q(e,t.length-r),t,r,i)}function pt(t,e,r,i){return Pt(At(e),t,r,i)}function Z(t,e,r,i){return Pt(vt(e),t,r,i)}function yt(t,e,r,i){return Pt(Et(e,t.length-r),t,r,i)}o.prototype.write=function(t,e,r,i){if(e===void 0)i="utf8",r=this.length,e=0;else if(r===void 0&&typeof e=="string")i=e,r=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(r)?(r=r>>>0,i===void 0&&(i="utf8")):(i=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const u=this.length-e;if((r===void 0||r>u)&&(r=u),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let p=!1;for(;;)switch(i){case"hex":return tt(this,t,e,r);case"utf8":case"utf-8":return J(this,t,e,r);case"ascii":case"latin1":case"binary":return pt(this,t,e,r);case"base64":return Z(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yt(this,t,e,r);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ot(t,e,r){return e===0&&r===t.length?a.fromByteArray(t):a.fromByteArray(t.slice(e,r))}function ht(t,e,r){r=Math.min(t.length,r);const i=[];let u=e;for(;u<r;){const p=t[u];let v=null,C=p>239?4:p>223?3:p>191?2:1;if(u+C<=r){let H,G,N,W;switch(C){case 1:p<128&&(v=p);break;case 2:H=t[u+1],(H&192)===128&&(W=(p&31)<<6|H&63,W>127&&(v=W));break;case 3:H=t[u+1],G=t[u+2],(H&192)===128&&(G&192)===128&&(W=(p&15)<<12|(H&63)<<6|G&63,W>2047&&(W<55296||W>57343)&&(v=W));break;case 4:H=t[u+1],G=t[u+2],N=t[u+3],(H&192)===128&&(G&192)===128&&(N&192)===128&&(W=(p&15)<<18|(H&63)<<12|(G&63)<<6|N&63,W>65535&&W<1114112&&(v=W))}}v===null?(v=65533,C=1):v>65535&&(v-=65536,i.push(v>>>10&1023|55296),v=56320|v&1023),i.push(v),u+=C}return ft(i)}const et=4096;function ft(t){const e=t.length;if(e<=et)return String.fromCharCode.apply(String,t);let r="",i=0;for(;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=et));return r}function X(t,e,r){let i="";r=Math.min(t.length,r);for(let u=e;u<r;++u)i+=String.fromCharCode(t[u]&127);return i}function bt(t,e,r){let i="";r=Math.min(t.length,r);for(let u=e;u<r;++u)i+=String.fromCharCode(t[u]);return i}function at(t,e,r){const i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);let u="";for(let p=e;p<r;++p)u+=en[t[p]];return u}function f(t,e,r){const i=t.slice(e,r);let u="";for(let p=0;p<i.length-1;p+=2)u+=String.fromCharCode(i[p]+i[p+1]*256);return u}o.prototype.slice=function(t,e){const r=this.length;t=~~t,e=e===void 0?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e<t&&(e=t);const i=this.subarray(t,e);return Object.setPrototypeOf(i,o.prototype),i};function c(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")}o.prototype.readUintLE=o.prototype.readUIntLE=function(t,e,r){t=t>>>0,e=e>>>0,r||c(t,e,this.length);let i=this[t],u=1,p=0;for(;++p<e&&(u*=256);)i+=this[t+p]*u;return i},o.prototype.readUintBE=o.prototype.readUIntBE=function(t,e,r){t=t>>>0,e=e>>>0,r||c(t,e,this.length);let i=this[t+--e],u=1;for(;e>0&&(u*=256);)i+=this[t+--e]*u;return i},o.prototype.readUint8=o.prototype.readUInt8=function(t,e){return t=t>>>0,e||c(t,1,this.length),this[t]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(t,e){return t=t>>>0,e||c(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(t,e){return t=t>>>0,e||c(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(t,e){return t=t>>>0,e||c(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(t,e){return t=t>>>0,e||c(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readBigUInt64LE=wt(function(t){t=t>>>0,K(t,"offset");const e=this[t],r=this[t+7];(e===void 0||r===void 0)&&ct(t,this.length-8);const i=e+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,u=this[++t]+this[++t]*2**8+this[++t]*2**16+r*2**24;return BigInt(i)+(BigInt(u)<<BigInt(32))}),o.prototype.readBigUInt64BE=wt(function(t){t=t>>>0,K(t,"offset");const e=this[t],r=this[t+7];(e===void 0||r===void 0)&&ct(t,this.length-8);const i=e*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],u=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+r;return(BigInt(i)<<BigInt(32))+BigInt(u)}),o.prototype.readIntLE=function(t,e,r){t=t>>>0,e=e>>>0,r||c(t,e,this.length);let i=this[t],u=1,p=0;for(;++p<e&&(u*=256);)i+=this[t+p]*u;return u*=128,i>=u&&(i-=Math.pow(2,8*e)),i},o.prototype.readIntBE=function(t,e,r){t=t>>>0,e=e>>>0,r||c(t,e,this.length);let i=e,u=1,p=this[t+--i];for(;i>0&&(u*=256);)p+=this[t+--i]*u;return u*=128,p>=u&&(p-=Math.pow(2,8*e)),p},o.prototype.readInt8=function(t,e){return t=t>>>0,e||c(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},o.prototype.readInt16LE=function(t,e){t=t>>>0,e||c(t,2,this.length);const r=this[t]|this[t+1]<<8;return r&32768?r|4294901760:r},o.prototype.readInt16BE=function(t,e){t=t>>>0,e||c(t,2,this.length);const r=this[t+1]|this[t]<<8;return r&32768?r|4294901760:r},o.prototype.readInt32LE=function(t,e){return t=t>>>0,e||c(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return t=t>>>0,e||c(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readBigInt64LE=wt(function(t){t=t>>>0,K(t,"offset");const e=this[t],r=this[t+7];(e===void 0||r===void 0)&&ct(t,this.length-8);const i=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(r<<24);return(BigInt(i)<<BigInt(32))+BigInt(e+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24)}),o.prototype.readBigInt64BE=wt(function(t){t=t>>>0,K(t,"offset");const e=this[t],r=this[t+7];(e===void 0||r===void 0)&&ct(t,this.length-8);const i=(e<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(i)<<BigInt(32))+BigInt(this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+r)}),o.prototype.readFloatLE=function(t,e){return t=t>>>0,e||c(t,4,this.length),b.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return t=t>>>0,e||c(t,4,this.length),b.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||c(t,8,this.length),b.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||c(t,8,this.length),b.read(this,t,!1,52,8)};function m(t,e,r,i,u,p){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>u||e<p)throw new RangeError('"value" argument is out of bounds');if(r+i>t.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(t,e,r,i){if(t=+t,e=e>>>0,r=r>>>0,!i){const v=Math.pow(2,8*r)-1;m(this,t,e,r,v,0)}let u=1,p=0;for(this[e]=t&255;++p<r&&(u*=256);)this[e+p]=t/u&255;return e+r},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(t,e,r,i){if(t=+t,e=e>>>0,r=r>>>0,!i){const v=Math.pow(2,8*r)-1;m(this,t,e,r,v,0)}let u=r-1,p=1;for(this[e+u]=t&255;--u>=0&&(p*=256);)this[e+u]=t/p&255;return e+r},o.prototype.writeUint8=o.prototype.writeUInt8=function(t,e,r){return t=+t,e=e>>>0,r||m(this,t,e,1,255,0),this[e]=t&255,e+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(t,e,r){return t=+t,e=e>>>0,r||m(this,t,e,2,65535,0),this[e]=t&255,this[e+1]=t>>>8,e+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(t,e,r){return t=+t,e=e>>>0,r||m(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=t&255,e+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(t,e,r){return t=+t,e=e>>>0,r||m(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=t&255,e+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(t,e,r){return t=+t,e=e>>>0,r||m(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};function I(t,e,r,i,u){z(e,i,u,t,r,7);let p=Number(e&BigInt(4294967295));t[r++]=p,p=p>>8,t[r++]=p,p=p>>8,t[r++]=p,p=p>>8,t[r++]=p;let v=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=v,v=v>>8,t[r++]=v,v=v>>8,t[r++]=v,v=v>>8,t[r++]=v,r}function x(t,e,r,i,u){z(e,i,u,t,r,7);let p=Number(e&BigInt(4294967295));t[r+7]=p,p=p>>8,t[r+6]=p,p=p>>8,t[r+5]=p,p=p>>8,t[r+4]=p;let v=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=v,v=v>>8,t[r+2]=v,v=v>>8,t[r+1]=v,v=v>>8,t[r]=v,r+8}o.prototype.writeBigUInt64LE=wt(function(t,e=0){return I(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=wt(function(t,e=0){return x(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(t,e,r,i){if(t=+t,e=e>>>0,!i){const C=Math.pow(2,8*r-1);m(this,t,e,r,C-1,-C)}let u=0,p=1,v=0;for(this[e]=t&255;++u<r&&(p*=256);)t<0&&v===0&&this[e+u-1]!==0&&(v=1),this[e+u]=(t/p>>0)-v&255;return e+r},o.prototype.writeIntBE=function(t,e,r,i){if(t=+t,e=e>>>0,!i){const C=Math.pow(2,8*r-1);m(this,t,e,r,C-1,-C)}let u=r-1,p=1,v=0;for(this[e+u]=t&255;--u>=0&&(p*=256);)t<0&&v===0&&this[e+u+1]!==0&&(v=1),this[e+u]=(t/p>>0)-v&255;return e+r},o.prototype.writeInt8=function(t,e,r){return t=+t,e=e>>>0,r||m(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=t&255,e+1},o.prototype.writeInt16LE=function(t,e,r){return t=+t,e=e>>>0,r||m(this,t,e,2,32767,-32768),this[e]=t&255,this[e+1]=t>>>8,e+2},o.prototype.writeInt16BE=function(t,e,r){return t=+t,e=e>>>0,r||m(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=t&255,e+2},o.prototype.writeInt32LE=function(t,e,r){return t=+t,e=e>>>0,r||m(this,t,e,4,2147483647,-2147483648),this[e]=t&255,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},o.prototype.writeInt32BE=function(t,e,r){return t=+t,e=e>>>0,r||m(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4},o.prototype.writeBigInt64LE=wt(function(t,e=0){return I(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=wt(function(t,e=0){return x(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function U(t,e,r,i,u,p){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function O(t,e,r,i,u){return e=+e,r=r>>>0,u||U(t,e,r,4),b.write(t,e,r,i,23,4),r+4}o.prototype.writeFloatLE=function(t,e,r){return O(this,t,e,!0,r)},o.prototype.writeFloatBE=function(t,e,r){return O(this,t,e,!1,r)};function j(t,e,r,i,u){return e=+e,r=r>>>0,u||U(t,e,r,8),b.write(t,e,r,i,52,8),r+8}o.prototype.writeDoubleLE=function(t,e,r){return j(this,t,e,!0,r)},o.prototype.writeDoubleBE=function(t,e,r){return j(this,t,e,!1,r)},o.prototype.copy=function(t,e,r,i){if(!o.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),!i&&i!==0&&(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<r&&(i=r),i===r||t.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-r&&(i=t.length-e+r);const u=i-r;return this===t&&typeof h.prototype.copyWithin=="function"?this.copyWithin(e,r,i):h.prototype.set.call(t,this.subarray(r,i),e),u},o.prototype.fill=function(t,e,r,i){if(typeof t=="string"){if(typeof e=="string"?(i=e,e=0,r=this.length):typeof r=="string"&&(i=r,r=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){const p=t.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(t=p)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;e=e>>>0,r=r===void 0?this.length:r>>>0,t||(t=0);let u;if(typeof t=="number")for(u=e;u<r;++u)this[u]=t;else{const p=o.isBuffer(t)?t:o.from(t,i),v=p.length;if(v===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(u=0;u<r-e;++u)this[u+e]=p[u%v]}return this};const B={};function T(t,e,r){B[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}T("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),T("ERR_INVALID_ARG_TYPE",function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError),T("ERR_OUT_OF_RANGE",function(t,e,r){let i=`The value of "${t}" is out of range.`,u=r;return Number.isInteger(r)&&Math.abs(r)>2**32?u=$(String(r)):typeof r=="bigint"&&(u=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(u=$(u)),u+="n"),i+=` It must be ${e}. Received ${u}`,i},RangeError);function $(t){let e="",r=t.length;const i=t[0]==="-"?1:0;for(;r>=i+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function rt(t,e,r){K(e,"offset"),(t[e]===void 0||t[e+r]===void 0)&&ct(e,t.length-(r+1))}function z(t,e,r,i,u,p){if(t>r||t<e){const v=typeof e=="bigint"?"n":"";let C;throw e===0||e===BigInt(0)?C=`>= 0${v} and < 2${v} ** ${(p+1)*8}${v}`:C=`>= -(2${v} ** ${(p+1)*8-1}${v}) and < 2 ** ${(p+1)*8-1}${v}`,new B.ERR_OUT_OF_RANGE("value",C,t)}rt(i,u,p)}function K(t,e){if(typeof t!="number")throw new B.ERR_INVALID_ARG_TYPE(e,"number",t)}function ct(t,e,r){throw Math.floor(t)!==t?(K(t,r),new B.ERR_OUT_OF_RANGE("offset","an integer",t)):e<0?new B.ERR_BUFFER_OUT_OF_BOUNDS:new B.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${e}`,t)}const mt=/[^+/0-9A-Za-z-_]/g;function l(t){if(t=t.split("=")[0],t=t.trim().replace(mt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,e){e=e||1/0;let r;const i=t.length;let u=null;const p=[];for(let v=0;v<i;++v){if(r=t.charCodeAt(v),r>55295&&r<57344){if(!u){if(r>56319){(e-=3)>-1&&p.push(239,191,189);continue}else if(v+1===i){(e-=3)>-1&&p.push(239,191,189);continue}u=r;continue}if(r<56320){(e-=3)>-1&&p.push(239,191,189),u=r;continue}r=(u-55296<<10|r-56320)+65536}else u&&(e-=3)>-1&&p.push(239,191,189);if(u=null,r<128){if((e-=1)<0)break;p.push(r)}else if(r<2048){if((e-=2)<0)break;p.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;p.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;p.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return p}function At(t){const e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Et(t,e){let r,i,u;const p=[];for(let v=0;v<t.length&&!((e-=2)<0);++v)r=t.charCodeAt(v),i=r>>8,u=r%256,p.push(u),p.push(i);return p}function vt(t){return a.toByteArray(l(t))}function Pt(t,e,r,i){let u;for(u=0;u<i&&!(u+r>=e.length||u>=t.length);++u)e[u+r]=t[u];return u}function st(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Mt(t){return t!==t}const en=(function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const i=r*16;for(let u=0;u<16;++u)e[i+u]=t[r]+t[u]}return e})();function wt(t){return typeof BigInt>"u"?rn:t}function rn(){throw new Error("BigInt not supported")}})(Wr);const Zn=Wr.Buffer;var ge={},be={},me,we;function Jr(){return we||(we=1,me=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},a=Symbol("test"),b=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(b)!=="[object Symbol]")return!1;var g=42;n[a]=g;for(var d in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var h=Object.getOwnPropertySymbols(n);if(h.length!==1||h[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,a);if(s.value!==g||s.enumerable!==!0)return!1}return!0}),me}var Ft,de;function Ut(){if(de)return Ft;de=1;var n=Jr();return Ft=function(){return n()&&!!Symbol.toStringTag},Ft}var ve,Ae;function Hr(){return Ae||(Ae=1,ve=Object),ve}var Ee,Be;function ln(){return Be||(Be=1,Ee=Error),Ee}var Oe,Se;function yn(){return Se||(Se=1,Oe=EvalError),Oe}var je,Ie;function hn(){return Ie||(Ie=1,je=RangeError),je}var Pe,Re;function gn(){return Re||(Re=1,Pe=ReferenceError),Pe}var Ue,Te;function Yr(){return Te||(Te=1,Ue=SyntaxError),Ue}var Me,_e;function St(){return _e||(_e=1,Me=TypeError),Me}var Fe,xe;function bn(){return xe||(xe=1,Fe=URIError),Fe}var ke,Ne;function mn(){return Ne||(Ne=1,ke=Math.abs),ke}var Le,Ce;function wn(){return Ce||(Ce=1,Le=Math.floor),Le}var De,$e;function dn(){return $e||($e=1,De=Math.max),De}var ze,Ge;function vn(){return Ge||(Ge=1,ze=Math.min),ze}var We,Ve;function An(){return Ve||(Ve=1,We=Math.pow),We}var Je,He;function En(){return He||(He=1,Je=Math.round),Je}var Ye,Ze;function Bn(){return Ze||(Ze=1,Ye=Number.isNaN||function(n){return n!==n}),Ye}var xt,Xe;function On(){if(Xe)return xt;Xe=1;var n=Bn();return xt=function(a){return n(a)||a===0?a:a<0?-1:1},xt}var Ke,Qe;function Sn(){return Qe||(Qe=1,Ke=Object.getOwnPropertyDescriptor),Ke}var kt,qe;function Ot(){if(qe)return kt;qe=1;var n=Sn();if(n)try{n([],"length")}catch{n=null}return kt=n,kt}var Nt,tr;function Tt(){if(tr)return Nt;tr=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return Nt=n,Nt}var Lt,er;function jn(){if(er)return Lt;er=1;var n=typeof Symbol<"u"&&Symbol,a=Jr();return Lt=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:a()},Lt}var rr,nr;function Zr(){return nr||(nr=1,rr=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),rr}var Ct,or;function Xr(){if(or)return Ct;or=1;var n=Hr();return Ct=n.getPrototypeOf||null,Ct}var Dt,ir;function In(){if(ir)return Dt;ir=1;var n="Function.prototype.bind called on incompatible ",a=Object.prototype.toString,b=Math.max,g="[object Function]",d=function(y,w){for(var A=[],o=0;o<y.length;o+=1)A[o]=y[o];for(var E=0;E<w.length;E+=1)A[E+y.length]=w[E];return A},h=function(y,w){for(var A=[],o=w,E=0;o<y.length;o+=1,E+=1)A[E]=y[o];return A},s=function(y,w){for(var A="",o=0;o<y.length;o+=1)A+=y[o],o+1<y.length&&(A+=w);return A};return Dt=function(y){var w=this;if(typeof w!="function"||a.apply(w)!==g)throw new TypeError(n+w);for(var A=h(arguments,1),o,E=function(){if(this instanceof o){var P=w.apply(this,d(A,arguments));return Object(P)===P?P:this}return w.apply(y,d(A,arguments))},k=b(0,w.length-A.length),M=[],_=0;_<k;_++)M[_]="$"+_;if(o=Function("binder","return function ("+s(M,",")+"){ return binder.apply(this,arguments); }")(E),w.prototype){var R=function(){};R.prototype=w.prototype,o.prototype=new R,R.prototype=null}return o},Dt}var $t,ur;function jt(){if(ur)return $t;ur=1;var n=In();return $t=Function.prototype.bind||n,$t}var fr,ar;function se(){return ar||(ar=1,fr=Function.prototype.call),fr}var cr,pr;function le(){return pr||(pr=1,cr=Function.prototype.apply),cr}var sr,lr;function Pn(){return lr||(lr=1,sr=typeof Reflect<"u"&&Reflect&&Reflect.apply),sr}var zt,yr;function Kr(){if(yr)return zt;yr=1;var n=jt(),a=le(),b=se(),g=Pn();return zt=g||n.call(b,a),zt}var Gt,hr;function ye(){if(hr)return Gt;hr=1;var n=jt(),a=St(),b=se(),g=Kr();return Gt=function(d){if(d.length<1||typeof d[0]!="function")throw new a("a function is required");return g(n,b,d)},Gt}var Wt,gr;function Rn(){if(gr)return Wt;gr=1;var n=ye(),a=Ot(),b;try{b=[].__proto__===Array.prototype}catch(s){if(!s||typeof s!="object"||!("code"in s)||s.code!=="ERR_PROTO_ACCESS")throw s}var g=!!b&&a&&a(Object.prototype,"__proto__"),d=Object,h=d.getPrototypeOf;return Wt=g&&typeof g.get=="function"?n([g.get]):typeof h=="function"?function(s){return h(s==null?s:d(s))}:!1,Wt}var Vt,br;function he(){if(br)return Vt;br=1;var n=Zr(),a=Xr(),b=Rn();return Vt=n?function(g){return n(g)}:a?function(g){if(!g||typeof g!="object"&&typeof g!="function")throw new TypeError("getProto: not an object");return a(g)}:b?function(g){return b(g)}:null,Vt}var Jt,mr;function Qr(){if(mr)return Jt;mr=1;var n=Function.prototype.call,a=Object.prototype.hasOwnProperty,b=jt();return Jt=b.call(n,a),Jt}var Ht,wr;function qr(){if(wr)return Ht;wr=1;var n,a=Hr(),b=ln(),g=yn(),d=hn(),h=gn(),s=Yr(),y=St(),w=bn(),A=mn(),o=wn(),E=dn(),k=vn(),M=An(),_=En(),R=On(),P=Function,F=function(O){try{return P('"use strict"; return ('+O+").constructor;")()}catch{}},S=Ot(),L=Tt(),ut=function(){throw new y},gt=S?(function(){try{return arguments.callee,ut}catch{try{return S(arguments,"callee").get}catch{return ut}}})():ut,Y=jn()(),D=he(),V=Xr(),nt=Zr(),q=le(),tt=se(),J={},pt=typeof Uint8Array>"u"||!D?n:D(Uint8Array),Z={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&D?D([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":J,"%AsyncGenerator%":J,"%AsyncGeneratorFunction%":J,"%AsyncIteratorPrototype%":J,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":b,"%eval%":eval,"%EvalError%":g,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":P,"%GeneratorFunction%":J,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Y&&D?D(D([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Y||!D?n:D(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":S,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":d,"%ReferenceError%":h,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Y||!D?n:D(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&D?D(""[Symbol.iterator]()):n,"%Symbol%":Y?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":gt,"%TypedArray%":pt,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":w,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":tt,"%Function.prototype.apply%":q,"%Object.defineProperty%":L,"%Object.getPrototypeOf%":V,"%Math.abs%":A,"%Math.floor%":o,"%Math.max%":E,"%Math.min%":k,"%Math.pow%":M,"%Math.round%":_,"%Math.sign%":R,"%Reflect.getPrototypeOf%":nt};if(D)try{null.error}catch(O){var yt=D(D(O));Z["%Error.prototype%"]=yt}var ot=function O(j){var B;if(j==="%AsyncFunction%")B=F("async function () {}");else if(j==="%GeneratorFunction%")B=F("function* () {}");else if(j==="%AsyncGeneratorFunction%")B=F("async function* () {}");else if(j==="%AsyncGenerator%"){var T=O("%AsyncGeneratorFunction%");T&&(B=T.prototype)}else if(j==="%AsyncIteratorPrototype%"){var $=O("%AsyncGenerator%");$&&D&&(B=D($.prototype))}return Z[j]=B,B},ht={__proto__:null,"%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"]},et=jt(),ft=Qr(),X=et.call(tt,Array.prototype.concat),bt=et.call(q,Array.prototype.splice),at=et.call(tt,String.prototype.replace),f=et.call(tt,String.prototype.slice),c=et.call(tt,RegExp.prototype.exec),m=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,x=function(O){var j=f(O,0,1),B=f(O,-1);if(j==="%"&&B!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&j!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var T=[];return at(O,m,function($,rt,z,K){T[T.length]=z?at(K,I,"$1"):rt||$}),T},U=function(O,j){var B=O,T;if(ft(ht,B)&&(T=ht[B],B="%"+T[0]+"%"),ft(Z,B)){var $=Z[B];if($===J&&($=ot(B)),typeof $>"u"&&!j)throw new y("intrinsic "+O+" exists, but is not available. Please file an issue!");return{alias:T,name:B,value:$}}throw new s("intrinsic "+O+" does not exist!")};return Ht=function(O,j){if(typeof O!="string"||O.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof j!="boolean")throw new y('"allowMissing" argument must be a boolean');if(c(/^%?[^%]*%?$/,O)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=x(O),T=B.length>0?B[0]:"",$=U("%"+T+"%",j),rt=$.name,z=$.value,K=!1,ct=$.alias;ct&&(T=ct[0],bt(B,X([0,1],ct)));for(var mt=1,l=!0;mt<B.length;mt+=1){var Q=B[mt],At=f(Q,0,1),Et=f(Q,-1);if((At==='"'||At==="'"||At==="`"||Et==='"'||Et==="'"||Et==="`")&&At!==Et)throw new s("property names with quotes must have matching quotes");if((Q==="constructor"||!l)&&(K=!0),T+="."+Q,rt="%"+T+"%",ft(Z,rt))z=Z[rt];else if(z!=null){if(!(Q in z)){if(!j)throw new y("base intrinsic for "+O+" exists, but the property is not available.");return}if(S&&mt+1>=B.length){var vt=S(z,Q);l=!!vt,l&&"get"in vt&&!("originalValue"in vt.get)?z=vt.get:z=z[Q]}else l=ft(z,Q),z=z[Q];l&&!K&&(Z[rt]=z)}}return z},Ht}var Yt,dr;function It(){if(dr)return Yt;dr=1;var n=qr(),a=ye(),b=a([n("%String.prototype.indexOf%")]);return Yt=function(g,d){var h=n(g,!!d);return typeof h=="function"&&b(g,".prototype.")>-1?a([h]):h},Yt}var Zt,vr;function Un(){if(vr)return Zt;vr=1;var n=Ut()(),a=It(),b=a("Object.prototype.toString"),g=function(s){return n&&s&&typeof s=="object"&&Symbol.toStringTag in s?!1:b(s)==="[object Arguments]"},d=function(s){return g(s)?!0:s!==null&&typeof s=="object"&&"length"in s&&typeof s.length=="number"&&s.length>=0&&b(s)!=="[object Array]"&&"callee"in s&&b(s.callee)==="[object Function]"},h=(function(){return g(arguments)})();return g.isLegacyArguments=d,Zt=h?g:d,Zt}var Xt,Ar;function Tn(){if(Ar)return Xt;Ar=1;var n=It(),a=Ut()(),b=Qr(),g=Ot(),d;if(a){var h=n("RegExp.prototype.exec"),s={},y=function(){throw s},w={toString:y,valueOf:y};typeof Symbol.toPrimitive=="symbol"&&(w[Symbol.toPrimitive]=y),d=function(E){if(!E||typeof E!="object")return!1;var k=g(E,"lastIndex"),M=k&&b(k,"value");if(!M)return!1;try{h(E,w)}catch(_){return _===s}}}else{var A=n("Object.prototype.toString"),o="[object RegExp]";d=function(E){return!E||typeof E!="object"&&typeof E!="function"?!1:A(E)===o}}return Xt=d,Xt}var Kt,Er;function Mn(){if(Er)return Kt;Er=1;var n=It(),a=Tn(),b=n("RegExp.prototype.exec"),g=St();return Kt=function(d){if(!a(d))throw new g("`regex` must be a RegExp");return function(h){return b(d,h)!==null}},Kt}var Qt,Br;function _n(){if(Br)return Qt;Br=1;const n=function*(){}.constructor;return Qt=()=>n,Qt}var qt,Or;function Fn(){if(Or)return qt;Or=1;var n=It(),a=Mn(),b=a(/^\s*(?:function)?\*/),g=Ut()(),d=he(),h=n("Object.prototype.toString"),s=n("Function.prototype.toString"),y=_n();return qt=function(w){if(typeof w!="function")return!1;if(b(s(w)))return!0;if(!g){var A=h(w);return A==="[object GeneratorFunction]"}if(!d)return!1;var o=y();return o&&d(w)===o.prototype},qt}var te,Sr;function xn(){if(Sr)return te;Sr=1;var n=Function.prototype.toString,a=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,b,g;if(typeof a=="function"&&typeof Object.defineProperty=="function")try{b=Object.defineProperty({},"length",{get:function(){throw g}}),g={},a(function(){throw 42},null,b)}catch(S){S!==g&&(a=null)}else a=null;var d=/^\s*class\b/,h=function(S){try{var L=n.call(S);return d.test(L)}catch{return!1}},s=function(S){try{return h(S)?!1:(n.call(S),!0)}catch{return!1}},y=Object.prototype.toString,w="[object Object]",A="[object Function]",o="[object GeneratorFunction]",E="[object HTMLAllCollection]",k="[object HTML document.all class]",M="[object HTMLCollection]",_=typeof Symbol=="function"&&!!Symbol.toStringTag,R=!(0 in[,]),P=function(){return!1};if(typeof document=="object"){var F=document.all;y.call(F)===y.call(document.all)&&(P=function(S){if((R||!S)&&(typeof S>"u"||typeof S=="object"))try{var L=y.call(S);return(L===E||L===k||L===M||L===w)&&S("")==null}catch{}return!1})}return te=a?function(S){if(P(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;try{a(S,null,b)}catch(L){if(L!==g)return!1}return!h(S)&&s(S)}:function(S){if(P(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;if(_)return s(S);if(h(S))return!1;var L=y.call(S);return L!==A&&L!==o&&!/^\[object HTML/.test(L)?!1:s(S)},te}var ee,jr;function kn(){if(jr)return ee;jr=1;var n=xn(),a=Object.prototype.toString,b=Object.prototype.hasOwnProperty,g=function(y,w,A){for(var o=0,E=y.length;o<E;o++)b.call(y,o)&&(A==null?w(y[o],o,y):w.call(A,y[o],o,y))},d=function(y,w,A){for(var o=0,E=y.length;o<E;o++)A==null?w(y.charAt(o),o,y):w.call(A,y.charAt(o),o,y)},h=function(y,w,A){for(var o in y)b.call(y,o)&&(A==null?w(y[o],o,y):w.call(A,y[o],o,y))};function s(y){return a.call(y)==="[object Array]"}return ee=function(y,w,A){if(!n(w))throw new TypeError("iterator must be a function");var o;arguments.length>=3&&(o=A),s(y)?g(y,w,o):typeof y=="string"?d(y,w,o):h(y,w,o)},ee}var Ir,Pr;function Nn(){return Pr||(Pr=1,Ir=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Ir}var re,Rr;function Ln(){if(Rr)return re;Rr=1;var n=Nn(),a=typeof globalThis>"u"?Gr:globalThis;return re=function(){for(var b=[],g=0;g<n.length;g++)typeof a[n[g]]=="function"&&(b[b.length]=n[g]);return b},re}var Ur={exports:{}},ne,Tr;function Cn(){if(Tr)return ne;Tr=1;var n=Tt(),a=Yr(),b=St(),g=Ot();return ne=function(d,h,s){if(!d||typeof d!="object"&&typeof d!="function")throw new b("`obj` must be an object or a function`");if(typeof h!="string"&&typeof h!="symbol")throw new b("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new b("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new b("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new b("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new b("`loose`, if provided, must be a boolean");var y=arguments.length>3?arguments[3]:null,w=arguments.length>4?arguments[4]:null,A=arguments.length>5?arguments[5]:null,o=arguments.length>6?arguments[6]:!1,E=!!g&&g(d,h);if(n)n(d,h,{configurable:A===null&&E?E.configurable:!A,enumerable:y===null&&E?E.enumerable:!y,value:s,writable:w===null&&E?E.writable:!w});else if(o||!y&&!w&&!A)d[h]=s;else throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ne}var oe,Mr;function Dn(){if(Mr)return oe;Mr=1;var n=Tt(),a=function(){return!!n};return a.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],"length",{value:1}).length!==1}catch{return!0}},oe=a,oe}var ie,_r;function $n(){if(_r)return ie;_r=1;var n=qr(),a=Cn(),b=Dn()(),g=Ot(),d=St(),h=n("%Math.floor%");return ie=function(s,y){if(typeof s!="function")throw new d("`fn` is not a function");if(typeof y!="number"||y<0||y>4294967295||h(y)!==y)throw new d("`length` must be a positive 32-bit integer");var w=arguments.length>2&&!!arguments[2],A=!0,o=!0;if("length"in s&&g){var E=g(s,"length");E&&!E.configurable&&(A=!1),E&&!E.writable&&(o=!1)}return(A||o||!w)&&(b?a(s,"length",y,!0,!0):a(s,"length",y)),s},ie}var ue,Fr;function zn(){if(Fr)return ue;Fr=1;var n=jt(),a=le(),b=Kr();return ue=function(){return b(n,a,arguments)},ue}var xr;function Gn(){return xr||(xr=1,(function(n){var a=$n(),b=Tt(),g=ye(),d=zn();n.exports=function(h){var s=g(arguments),y=h.length-(arguments.length-1);return a(s,1+(y>0?y:0),!0)},b?b(n.exports,"apply",{value:d}):n.exports.apply=d})(Ur)),Ur.exports}var fe,kr;function tn(){if(kr)return fe;kr=1;var n=kn(),a=Ln(),b=Gn(),g=It(),d=Ot(),h=he(),s=g("Object.prototype.toString"),y=Ut()(),w=typeof globalThis>"u"?Gr:globalThis,A=a(),o=g("String.prototype.slice"),E=g("Array.prototype.indexOf",!0)||function(R,P){for(var F=0;F<R.length;F+=1)if(R[F]===P)return F;return-1},k={__proto__:null};y&&d&&h?n(A,function(R){var P=new w[R];if(Symbol.toStringTag in P&&h){var F=h(P),S=d(F,Symbol.toStringTag);if(!S&&F){var L=h(F);S=d(L,Symbol.toStringTag)}k["$"+R]=b(S.get)}}):n(A,function(R){var P=new w[R],F=P.slice||P.set;F&&(k["$"+R]=b(F))});var M=function(R){var P=!1;return n(k,function(F,S){if(!P)try{"$"+F(R)===S&&(P=o(S,1))}catch{}}),P},_=function(R){var P=!1;return n(k,function(F,S){if(!P)try{F(R),P=o(S,1)}catch{}}),P};return fe=function(R){if(!R||typeof R!="object")return!1;if(!y){var P=o(s(R),8,-1);return E(A,P)>-1?P:P!=="Object"?!1:_(R)}return d?M(R):null},fe}var ae,Nr;function Wn(){if(Nr)return ae;Nr=1;var n=tn();return ae=function(a){return!!n(a)},ae}var Lr;function Vn(){return Lr||(Lr=1,(function(n){var a=Un(),b=Fn(),g=tn(),d=Wn();function h(l){return l.call.bind(l)}var s=typeof BigInt<"u",y=typeof Symbol<"u",w=h(Object.prototype.toString),A=h(Number.prototype.valueOf),o=h(String.prototype.valueOf),E=h(Boolean.prototype.valueOf);if(s)var k=h(BigInt.prototype.valueOf);if(y)var M=h(Symbol.prototype.valueOf);function _(l,Q){if(typeof l!="object")return!1;try{return Q(l),!0}catch{return!1}}n.isArgumentsObject=a,n.isGeneratorFunction=b,n.isTypedArray=d;function R(l){return typeof Promise<"u"&&l instanceof Promise||l!==null&&typeof l=="object"&&typeof l.then=="function"&&typeof l.catch=="function"}n.isPromise=R;function P(l){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(l):d(l)||f(l)}n.isArrayBufferView=P;function F(l){return g(l)==="Uint8Array"}n.isUint8Array=F;function S(l){return g(l)==="Uint8ClampedArray"}n.isUint8ClampedArray=S;function L(l){return g(l)==="Uint16Array"}n.isUint16Array=L;function ut(l){return g(l)==="Uint32Array"}n.isUint32Array=ut;function gt(l){return g(l)==="Int8Array"}n.isInt8Array=gt;function Y(l){return g(l)==="Int16Array"}n.isInt16Array=Y;function D(l){return g(l)==="Int32Array"}n.isInt32Array=D;function V(l){return g(l)==="Float32Array"}n.isFloat32Array=V;function nt(l){return g(l)==="Float64Array"}n.isFloat64Array=nt;function q(l){return g(l)==="BigInt64Array"}n.isBigInt64Array=q;function tt(l){return g(l)==="BigUint64Array"}n.isBigUint64Array=tt;function J(l){return w(l)==="[object Map]"}J.working=typeof Map<"u"&&J(new Map);function pt(l){return typeof Map>"u"?!1:J.working?J(l):l instanceof Map}n.isMap=pt;function Z(l){return w(l)==="[object Set]"}Z.working=typeof Set<"u"&&Z(new Set);function yt(l){return typeof Set>"u"?!1:Z.working?Z(l):l instanceof Set}n.isSet=yt;function ot(l){return w(l)==="[object WeakMap]"}ot.working=typeof WeakMap<"u"&&ot(new WeakMap);function ht(l){return typeof WeakMap>"u"?!1:ot.working?ot(l):l instanceof WeakMap}n.isWeakMap=ht;function et(l){return w(l)==="[object WeakSet]"}et.working=typeof WeakSet<"u"&&et(new WeakSet);function ft(l){return et(l)}n.isWeakSet=ft;function X(l){return w(l)==="[object ArrayBuffer]"}X.working=typeof ArrayBuffer<"u"&&X(new ArrayBuffer);function bt(l){return typeof ArrayBuffer>"u"?!1:X.working?X(l):l instanceof ArrayBuffer}n.isArrayBuffer=bt;function at(l){return w(l)==="[object DataView]"}at.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&at(new DataView(new ArrayBuffer(1),0,1));function f(l){return typeof DataView>"u"?!1:at.working?at(l):l instanceof DataView}n.isDataView=f;var c=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function m(l){return w(l)==="[object SharedArrayBuffer]"}function I(l){return typeof c>"u"?!1:(typeof m.working>"u"&&(m.working=m(new c)),m.working?m(l):l instanceof c)}n.isSharedArrayBuffer=I;function x(l){return w(l)==="[object AsyncFunction]"}n.isAsyncFunction=x;function U(l){return w(l)==="[object Map Iterator]"}n.isMapIterator=U;function O(l){return w(l)==="[object Set Iterator]"}n.isSetIterator=O;function j(l){return w(l)==="[object Generator]"}n.isGeneratorObject=j;function B(l){return w(l)==="[object WebAssembly.Module]"}n.isWebAssemblyCompiledModule=B;function T(l){return _(l,A)}n.isNumberObject=T;function $(l){return _(l,o)}n.isStringObject=$;function rt(l){return _(l,E)}n.isBooleanObject=rt;function z(l){return s&&_(l,k)}n.isBigIntObject=z;function K(l){return y&&_(l,M)}n.isSymbolObject=K;function ct(l){return T(l)||$(l)||rt(l)||z(l)||K(l)}n.isBoxedPrimitive=ct;function mt(l){return typeof Uint8Array<"u"&&(bt(l)||I(l))}n.isAnyArrayBuffer=mt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(l){Object.defineProperty(n,l,{enumerable:!1,value:function(){throw new Error(l+" is not supported in userland")}})})})(be)),be}var Cr,Dr;function Jn(){return Dr||(Dr=1,Cr=function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"}),Cr}var ce={exports:{}},$r;function Hn(){return $r||($r=1,typeof Object.create=="function"?ce.exports=function(n,a){a&&(n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:ce.exports=function(n,a){if(a){n.super_=a;var b=function(){};b.prototype=a.prototype,n.prototype=new b,n.prototype.constructor=n}}),ce.exports}var zr;function Xn(){return zr||(zr=1,(function(n){var a={},b=Object.getOwnPropertyDescriptors||function(f){for(var c=Object.keys(f),m={},I=0;I<c.length;I++)m[c[I]]=Object.getOwnPropertyDescriptor(f,c[I]);return m},g=/%[sdj%]/g;n.format=function(f){if(!Y(f)){for(var c=[],m=0;m<arguments.length;m++)c.push(y(arguments[m]));return c.join(" ")}for(var m=1,I=arguments,x=I.length,U=String(f).replace(g,function(B){if(B==="%%")return"%";if(m>=x)return B;switch(B){case"%s":return String(I[m++]);case"%d":return Number(I[m++]);case"%j":try{return JSON.stringify(I[m++])}catch{return"[Circular]"}default:return B}}),O=I[m];m<x;O=I[++m])L(O)||!q(O)?U+=" "+O:U+=" "+y(O);return U},n.deprecate=function(f,c){if(typeof dt<"u"&&dt.noDeprecation===!0)return f;if(typeof dt>"u")return function(){return n.deprecate(f,c).apply(this,arguments)};var m=!1;function I(){if(!m){if(dt.throwDeprecation)throw new Error(c);dt.traceDeprecation?console.trace(c):console.error(c),m=!0}return f.apply(this,arguments)}return I};var d={},h=/^$/;if(a.NODE_DEBUG){var s=a.NODE_DEBUG;s=s.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),h=new RegExp("^"+s+"$","i")}n.debuglog=function(f){if(f=f.toUpperCase(),!d[f])if(h.test(f)){var c=dt.pid;d[f]=function(){var m=n.format.apply(n,arguments);console.error("%s %d: %s",f,c,m)}}else d[f]=function(){};return d[f]};function y(f,c){var m={seen:[],stylize:A};return arguments.length>=3&&(m.depth=arguments[2]),arguments.length>=4&&(m.colors=arguments[3]),S(c)?m.showHidden=c:c&&n._extend(m,c),V(m.showHidden)&&(m.showHidden=!1),V(m.depth)&&(m.depth=2),V(m.colors)&&(m.colors=!1),V(m.customInspect)&&(m.customInspect=!0),m.colors&&(m.stylize=w),E(m,f,m.depth)}n.inspect=y,y.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]},y.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function w(f,c){var m=y.styles[c];return m?"\x1B["+y.colors[m][0]+"m"+f+"\x1B["+y.colors[m][1]+"m":f}function A(f,c){return f}function o(f){var c={};return f.forEach(function(m,I){c[m]=!0}),c}function E(f,c,m){if(f.customInspect&&c&&pt(c.inspect)&&c.inspect!==n.inspect&&!(c.constructor&&c.constructor.prototype===c)){var I=c.inspect(m,f);return Y(I)||(I=E(f,I,m)),I}var x=k(f,c);if(x)return x;var U=Object.keys(c),O=o(U);if(f.showHidden&&(U=Object.getOwnPropertyNames(c)),J(c)&&(U.indexOf("message")>=0||U.indexOf("description")>=0))return M(c);if(U.length===0){if(pt(c)){var j=c.name?": "+c.name:"";return f.stylize("[Function"+j+"]","special")}if(nt(c))return f.stylize(RegExp.prototype.toString.call(c),"regexp");if(tt(c))return f.stylize(Date.prototype.toString.call(c),"date");if(J(c))return M(c)}var B="",T=!1,$=["{","}"];if(F(c)&&(T=!0,$=["[","]"]),pt(c)){var rt=c.name?": "+c.name:"";B=" [Function"+rt+"]"}if(nt(c)&&(B=" "+RegExp.prototype.toString.call(c)),tt(c)&&(B=" "+Date.prototype.toUTCString.call(c)),J(c)&&(B=" "+M(c)),U.length===0&&(!T||c.length==0))return $[0]+B+$[1];if(m<0)return nt(c)?f.stylize(RegExp.prototype.toString.call(c),"regexp"):f.stylize("[Object]","special");f.seen.push(c);var z;return T?z=_(f,c,m,O,U):z=U.map(function(K){return R(f,c,m,O,K,T)}),f.seen.pop(),P(z,B,$)}function k(f,c){if(V(c))return f.stylize("undefined","undefined");if(Y(c)){var m="'"+JSON.stringify(c).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return f.stylize(m,"string")}if(gt(c))return f.stylize(""+c,"number");if(S(c))return f.stylize(""+c,"boolean");if(L(c))return f.stylize("null","null")}function M(f){return"["+Error.prototype.toString.call(f)+"]"}function _(f,c,m,I,x){for(var U=[],O=0,j=c.length;O<j;++O)ft(c,String(O))?U.push(R(f,c,m,I,String(O),!0)):U.push("");return x.forEach(function(B){B.match(/^\d+$/)||U.push(R(f,c,m,I,B,!0))}),U}function R(f,c,m,I,x,U){var O,j,B;if(B=Object.getOwnPropertyDescriptor(c,x)||{value:c[x]},B.get?B.set?j=f.stylize("[Getter/Setter]","special"):j=f.stylize("[Getter]","special"):B.set&&(j=f.stylize("[Setter]","special")),ft(I,x)||(O="["+x+"]"),j||(f.seen.indexOf(B.value)<0?(L(m)?j=E(f,B.value,null):j=E(f,B.value,m-1),j.indexOf(`
`)>-1&&(U?j=j.split(`
`).map(function(T){return" "+T}).join(`
`).slice(2):j=`
`+j.split(`
`).map(function(T){return" "+T}).join(`
`))):j=f.stylize("[Circular]","special")),V(O)){if(U&&x.match(/^\d+$/))return j;O=JSON.stringify(""+x),O.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(O=O.slice(1,-1),O=f.stylize(O,"name")):(O=O.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),O=f.stylize(O,"string"))}return O+": "+j}function P(f,c,m){var I=f.reduce(function(x,U){return U.indexOf(`
`)>=0,x+U.replace(/\u001b\[\d\d?m/g,"").length+1},0);return I>60?m[0]+(c===""?"":c+`
`)+" "+f.join(`,
`)+" "+m[1]:m[0]+c+" "+f.join(", ")+" "+m[1]}n.types=Vn();function F(f){return Array.isArray(f)}n.isArray=F;function S(f){return typeof f=="boolean"}n.isBoolean=S;function L(f){return f===null}n.isNull=L;function ut(f){return f==null}n.isNullOrUndefined=ut;function gt(f){return typeof f=="number"}n.isNumber=gt;function Y(f){return typeof f=="string"}n.isString=Y;function D(f){return typeof f=="symbol"}n.isSymbol=D;function V(f){return f===void 0}n.isUndefined=V;function nt(f){return q(f)&&yt(f)==="[object RegExp]"}n.isRegExp=nt,n.types.isRegExp=nt;function q(f){return typeof f=="object"&&f!==null}n.isObject=q;function tt(f){return q(f)&&yt(f)==="[object Date]"}n.isDate=tt,n.types.isDate=tt;function J(f){return q(f)&&(yt(f)==="[object Error]"||f instanceof Error)}n.isError=J,n.types.isNativeError=J;function pt(f){return typeof f=="function"}n.isFunction=pt;function Z(f){return f===null||typeof f=="boolean"||typeof f=="number"||typeof f=="string"||typeof f=="symbol"||typeof f>"u"}n.isPrimitive=Z,n.isBuffer=Jn();function yt(f){return Object.prototype.toString.call(f)}function ot(f){return f<10?"0"+f.toString(10):f.toString(10)}var ht=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function et(){var f=new Date,c=[ot(f.getHours()),ot(f.getMinutes()),ot(f.getSeconds())].join(":");return[f.getDate(),ht[f.getMonth()],c].join(" ")}n.log=function(){console.log("%s - %s",et(),n.format.apply(n,arguments))},n.inherits=Hn(),n._extend=function(f,c){if(!c||!q(c))return f;for(var m=Object.keys(c),I=m.length;I--;)f[m[I]]=c[m[I]];return f};function ft(f,c){return Object.prototype.hasOwnProperty.call(f,c)}var X=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;n.promisify=function(f){if(typeof f!="function")throw new TypeError('The "original" argument must be of type Function');if(X&&f[X]){var c=f[X];if(typeof c!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(c,X,{value:c,enumerable:!1,writable:!1,configurable:!0}),c}function c(){for(var m,I,x=new Promise(function(j,B){m=j,I=B}),U=[],O=0;O<arguments.length;O++)U.push(arguments[O]);U.push(function(j,B){j?I(j):m(B)});try{f.apply(this,U)}catch(j){I(j)}return x}return Object.setPrototypeOf(c,Object.getPrototypeOf(f)),X&&Object.defineProperty(c,X,{value:c,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(c,b(f))},n.promisify.custom=X;function bt(f,c){if(!f){var m=new Error("Promise was rejected with a falsy value");m.reason=f,f=m}return c(f)}function at(f){if(typeof f!="function")throw new TypeError('The "original" argument must be of type Function');function c(){for(var m=[],I=0;I<arguments.length;I++)m.push(arguments[I]);var x=m.pop();if(typeof x!="function")throw new TypeError("The last argument must be of type Function");var U=this,O=function(){return x.apply(U,arguments)};f.apply(this,m).then(function(j){dt.nextTick(O.bind(null,null,j))},function(j){dt.nextTick(bt.bind(null,j,O))})}return Object.setPrototypeOf(c,Object.getPrototypeOf(f)),Object.defineProperties(c,b(f)),c}n.callbackify=at})(ge)),ge}export{Zn as B,Hn as a,Xn as r};
//# sourceMappingURL=util-Da-EotHR.chunk.mjs.map