@fern-api/swift-dynamic-snippets 0.35.11 → 0.35.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- var Ms=Object.create;var gt=Object.defineProperty;var Ps=Object.getOwnPropertyDescriptor;var ks=Object.getOwnPropertyNames;var Us=Object.getPrototypeOf,_s=Object.prototype.hasOwnProperty;var Ds=(i,t,e)=>t in i?gt(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var Le=(i,t)=>()=>(i&&(t=i(i=0)),t);var ye=(i,t)=>()=>(t||i((t={exports:{}}).exports,t),t.exports),et=(i,t)=>{for(var e in t)gt(i,e,{get:t[e],enumerable:!0})},$s=(i,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of ks(t))!_s.call(i,s)&&s!==e&&gt(i,s,{get:()=>t[s],enumerable:!(r=Ps(t,s))||r.enumerable});return i};var qs=(i,t,e)=>(e=i!=null?Ms(Us(i)):{},$s(t||!i||!i.__esModule?gt(e,"default",{value:i,enumerable:!0}):e,i));var d=(i,t,e)=>Ds(i,typeof t!="symbol"?t+"":t,e);var u=Le(()=>{"use strict"});var y={};et(y,{_debugEnd:()=>Nn,_debugProcess:()=>In,_events:()=>Wn,_eventsCount:()=>Vn,_exiting:()=>sn,_fatalExceptions:()=>wn,_getActiveHandles:()=>pn,_getActiveRequests:()=>un,_kill:()=>mn,_linkedBinding:()=>nn,_maxListeners:()=>qn,_preload_modules:()=>_n,_rawDebug:()=>tn,_startProfilerIdleNotifier:()=>Rn,_stopProfilerIdleNotifier:()=>An,_tickCallback:()=>Tn,abort:()=>Fn,addListener:()=>jn,allowedNodeEnvironmentFlags:()=>xn,arch:()=>qr,argv:()=>jr,argv0:()=>Un,assert:()=>bn,binding:()=>Yr,browser:()=>en,chdir:()=>Xr,config:()=>an,cpuUsage:()=>St,cwd:()=>Zr,debugPort:()=>kn,default:()=>Qn,dlopen:()=>ln,domain:()=>on,emit:()=>Yn,emitWarning:()=>Kr,env:()=>Vr,execArgv:()=>zr,execPath:()=>Pn,exit:()=>yn,features:()=>Sn,hasUncaughtExceptionCaptureCallback:()=>En,hrtime:()=>bt,kill:()=>hn,listeners:()=>Xn,memoryUsage:()=>dn,moduleLoadList:()=>rn,nextTick:()=>_r,off:()=>Gn,on:()=>ce,once:()=>zn,openStdin:()=>gn,pid:()=>On,platform:()=>Wr,ppid:()=>Mn,prependListener:()=>Jn,prependOnceListener:()=>Zn,reallyExit:()=>cn,release:()=>Qr,removeAllListeners:()=>Kn,removeListener:()=>Hn,resourceUsage:()=>fn,setSourceMapsEnabled:()=>Dn,setUncaughtExceptionCaptureCallback:()=>vn,stderr:()=>Bn,stdin:()=>Ln,stdout:()=>Cn,title:()=>$r,umask:()=>Jr,uptime:()=>$n,version:()=>Gr,versions:()=>Hr});function tr(i){throw new Error("Node.js process "+i+" is not supported by JSPM core outside of Node.js")}function Ws(){!Fe||!Te||(Fe=!1,Te.length?pe=Te.concat(pe):xt=-1,pe.length&&Ur())}function Ur(){if(!Fe){var i=setTimeout(Ws,0);Fe=!0;for(var t=pe.length;t;){for(Te=pe,pe=[];++xt<t;)Te&&Te[xt].run();xt=-1,t=pe.length}Te=null,Fe=!1,clearTimeout(i)}}function _r(i){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];pe.push(new Dr(i,t)),pe.length===1&&!Fe&&setTimeout(Ur,0)}function Dr(i,t){this.fun=i,this.array=t}function G(){}function nn(i){tr("_linkedBinding")}function ln(i){tr("dlopen")}function un(){return[]}function pn(){return[]}function bn(i,t){if(!i)throw new Error(t||"assertion error")}function En(){return!1}function $n(){return ge.now()/1e3}function bt(i){var t=Math.floor((Date.now()-ge.now())*.001),e=ge.now()*.001,r=Math.floor(e)+t,s=Math.floor(e%1*1e9);return i&&(r=r-i[0],s=s-i[1],s<0&&(r--,s+=er)),[r,s]}function ce(){return Qn}function Xn(i){return[]}var pe,Fe,Te,xt,$r,qr,Wr,Vr,jr,zr,Gr,Hr,Kr,Yr,Jr,Zr,Xr,Qr,en,tn,rn,on,sn,an,cn,mn,St,fn,dn,hn,yn,gn,xn,Sn,wn,vn,Tn,In,Nn,Rn,An,Cn,Bn,Ln,Fn,On,Mn,Pn,kn,Un,_n,Dn,ge,Qt,er,qn,Wn,Vn,jn,zn,Gn,Hn,Kn,Yn,Jn,Zn,Qn,ei=Le(()=>{"use strict";u();c();p();pe=[],Fe=!1,xt=-1;Dr.prototype.run=function(){this.fun.apply(null,this.array)};$r="browser",qr="x64",Wr="browser",Vr={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},jr=["/usr/bin/node"],zr=[],Gr="v16.8.0",Hr={},Kr=function(i,t){console.warn((t?t+": ":"")+i)},Yr=function(i){tr("binding")},Jr=function(i){return 0},Zr=function(){return"/"},Xr=function(i){},Qr={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};en=!0,tn=G,rn=[];on={},sn=!1,an={};cn=G,mn=G,St=function(){return{}},fn=St,dn=St,hn=G,yn=G,gn=G,xn={};Sn={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},wn=G,vn=G;Tn=G,In=G,Nn=G,Rn=G,An=G,Cn=void 0,Bn=void 0,Ln=void 0,Fn=G,On=2,Mn=1,Pn="/bin/usr/node",kn=9229,Un="node",_n=[],Dn=G,ge={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};ge.now===void 0&&(Qt=Date.now(),ge.timing&&ge.timing.navigationStart&&(Qt=ge.timing.navigationStart),ge.now=()=>Date.now()-Qt);er=1e9;bt.bigint=function(i){var t=bt(i);return typeof BigInt>"u"?t[0]*er+t[1]:BigInt(t[0]*er)+BigInt(t[1])};qn=10,Wn={},Vn=0;jn=ce,zn=ce,Gn=ce,Hn=ce,Kn=ce,Yn=G,Jn=ce,Zn=ce;Qn={version:Gr,versions:Hr,arch:qr,platform:Wr,browser:en,release:Qr,_rawDebug:tn,moduleLoadList:rn,binding:Yr,_linkedBinding:nn,_events:Wn,_eventsCount:Vn,_maxListeners:qn,on:ce,addListener:jn,once:zn,off:Gn,removeListener:Hn,removeAllListeners:Kn,emit:Yn,prependListener:Jn,prependOnceListener:Zn,listeners:Xn,domain:on,_exiting:sn,config:an,dlopen:ln,uptime:$n,_getActiveRequests:un,_getActiveHandles:pn,reallyExit:cn,_kill:mn,cpuUsage:St,resourceUsage:fn,memoryUsage:dn,kill:hn,exit:yn,openStdin:gn,allowedNodeEnvironmentFlags:xn,assert:bn,features:Sn,_fatalExceptions:wn,setUncaughtExceptionCaptureCallback:vn,hasUncaughtExceptionCaptureCallback:En,emitWarning:Kr,nextTick:_r,_tickCallback:Tn,_debugProcess:In,_debugEnd:Nn,_startProfilerIdleNotifier:Rn,_stopProfilerIdleNotifier:An,stdout:Cn,stdin:Ln,stderr:Bn,abort:Fn,umask:Jr,chdir:Xr,cwd:Zr,env:Vr,title:$r,argv:jr,execArgv:zr,pid:On,ppid:Mn,execPath:Pn,debugPort:kn,hrtime:bt,argv0:Un,_preload_modules:_n,setSourceMapsEnabled:Dn}});var p=Le(()=>{"use strict";ei()});function Vs(){if(ti)return tt;ti=!0,tt.byteLength=S,tt.toByteArray=T,tt.fromByteArray=V;for(var i=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,m=r.length;s<m;++s)i[s]=r[s],t[r.charCodeAt(s)]=s;t[45]=62,t[95]=63;function a(N){var L=N.length;if(L%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var M=N.indexOf("=");M===-1&&(M=L);var W=M===L?0:4-M%4;return[M,W]}function S(N){var L=a(N),M=L[0],W=L[1];return(M+W)*3/4-W}function v(N,L,M){return(L+M)*3/4-M}function T(N){var L,M=a(N),W=M[0],J=M[1],q=new e(v(N,W,J)),Z=0,ee=J>0?W-4:W,Y;for(Y=0;Y<ee;Y+=4)L=t[N.charCodeAt(Y)]<<18|t[N.charCodeAt(Y+1)]<<12|t[N.charCodeAt(Y+2)]<<6|t[N.charCodeAt(Y+3)],q[Z++]=L>>16&255,q[Z++]=L>>8&255,q[Z++]=L&255;return J===2&&(L=t[N.charCodeAt(Y)]<<2|t[N.charCodeAt(Y+1)]>>4,q[Z++]=L&255),J===1&&(L=t[N.charCodeAt(Y)]<<10|t[N.charCodeAt(Y+1)]<<4|t[N.charCodeAt(Y+2)]>>2,q[Z++]=L>>8&255,q[Z++]=L&255),q}function I(N){return i[N>>18&63]+i[N>>12&63]+i[N>>6&63]+i[N&63]}function B(N,L,M){for(var W,J=[],q=L;q<M;q+=3)W=(N[q]<<16&16711680)+(N[q+1]<<8&65280)+(N[q+2]&255),J.push(I(W));return J.join("")}function V(N){for(var L,M=N.length,W=M%3,J=[],q=16383,Z=0,ee=M-W;Z<ee;Z+=q)J.push(B(N,Z,Z+q>ee?ee:Z+q));return W===1?(L=N[M-1],J.push(i[L>>2]+i[L<<4&63]+"==")):W===2&&(L=(N[M-2]<<8)+N[M-1],J.push(i[L>>10]+i[L>>4&63]+i[L<<2&63]+"=")),J.join("")}return tt}function js(){if(ri)return wt;ri=!0;return wt.read=function(i,t,e,r,s){var m,a,S=s*8-r-1,v=(1<<S)-1,T=v>>1,I=-7,B=e?s-1:0,V=e?-1:1,N=i[t+B];for(B+=V,m=N&(1<<-I)-1,N>>=-I,I+=S;I>0;m=m*256+i[t+B],B+=V,I-=8);for(a=m&(1<<-I)-1,m>>=-I,I+=r;I>0;a=a*256+i[t+B],B+=V,I-=8);if(m===0)m=1-T;else{if(m===v)return a?NaN:(N?-1:1)*(1/0);a=a+Math.pow(2,r),m=m-T}return(N?-1:1)*a*Math.pow(2,m-r)},wt.write=function(i,t,e,r,s,m){var a,S,v,T=m*8-s-1,I=(1<<T)-1,B=I>>1,V=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,N=r?0:m-1,L=r?1:-1,M=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(S=isNaN(t)?1:0,a=I):(a=Math.floor(Math.log(t)/Math.LN2),t*(v=Math.pow(2,-a))<1&&(a--,v*=2),a+B>=1?t+=V/v:t+=V*Math.pow(2,1-B),t*v>=2&&(a++,v/=2),a+B>=I?(S=0,a=I):a+B>=1?(S=(t*v-1)*Math.pow(2,s),a=a+B):(S=t*Math.pow(2,B-1)*Math.pow(2,s),a=0));s>=8;i[e+N]=S&255,N+=L,S/=256,s-=8);for(a=a<<s|S,T+=s;T>0;i[e+N]=a&255,N+=L,a/=256,T-=8);i[e+N-L]|=M*128},wt}function ii(){if(ni)return Ie;ni=!0;let i=Vs(),t=js(),e=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ie.Buffer=a,Ie.SlowBuffer=J,Ie.INSPECT_MAX_BYTES=50;let r=2147483647;Ie.kMaxLength=r,a.TYPED_ARRAY_SUPPORT=s(),!a.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 s(){try{let l=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(l,n),l.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function m(l){if(l>r)throw new RangeError('The value "'+l+'" is invalid for option "size"');let n=new Uint8Array(l);return Object.setPrototypeOf(n,a.prototype),n}function a(l,n,o){if(typeof l=="number"){if(typeof n=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return I(l)}return S(l,n,o)}a.poolSize=8192;function S(l,n,o){if(typeof l=="string")return B(l,n);if(ArrayBuffer.isView(l))return N(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(se(l,ArrayBuffer)||l&&se(l.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(se(l,SharedArrayBuffer)||l&&se(l.buffer,SharedArrayBuffer)))return L(l,n,o);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let f=l.valueOf&&l.valueOf();if(f!=null&&f!==l)return a.from(f,n,o);let h=M(l);if(h)return h;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return a.from(l[Symbol.toPrimitive]("string"),n,o);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}a.from=function(l,n,o){return S(l,n,o)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function v(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function T(l,n,o){return v(l),l<=0?m(l):n!==void 0?typeof o=="string"?m(l).fill(n,o):m(l).fill(n):m(l)}a.alloc=function(l,n,o){return T(l,n,o)};function I(l){return v(l),m(l<0?0:W(l)|0)}a.allocUnsafe=function(l){return I(l)},a.allocUnsafeSlow=function(l){return I(l)};function B(l,n){if((typeof n!="string"||n==="")&&(n="utf8"),!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);let o=q(l,n)|0,f=m(o),h=f.write(l,n);return h!==o&&(f=f.slice(0,h)),f}function V(l){let n=l.length<0?0:W(l.length)|0,o=m(n);for(let f=0;f<n;f+=1)o[f]=l[f]&255;return o}function N(l){if(se(l,Uint8Array)){let n=new Uint8Array(l);return L(n.buffer,n.byteOffset,n.byteLength)}return V(l)}function L(l,n,o){if(n<0||l.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<n+(o||0))throw new RangeError('"length" is outside of buffer bounds');let f;return n===void 0&&o===void 0?f=new Uint8Array(l):o===void 0?f=new Uint8Array(l,n):f=new Uint8Array(l,n,o),Object.setPrototypeOf(f,a.prototype),f}function M(l){if(a.isBuffer(l)){let n=W(l.length)|0,o=m(n);return o.length===0||l.copy(o,0,0,n),o}if(l.length!==void 0)return typeof l.length!="number"||Xt(l.length)?m(0):V(l);if(l.type==="Buffer"&&Array.isArray(l.data))return V(l.data)}function W(l){if(l>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return l|0}function J(l){return+l!=l&&(l=0),a.alloc(+l)}a.isBuffer=function(n){return n!=null&&n._isBuffer===!0&&n!==a.prototype},a.compare=function(n,o){if(se(n,Uint8Array)&&(n=a.from(n,n.offset,n.byteLength)),se(o,Uint8Array)&&(o=a.from(o,o.offset,o.byteLength)),!a.isBuffer(n)||!a.isBuffer(o))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===o)return 0;let f=n.length,h=o.length;for(let w=0,E=Math.min(f,h);w<E;++w)if(n[w]!==o[w]){f=n[w],h=o[w];break}return f<h?-1:h<f?1:0},a.isEncoding=function(n){switch(String(n).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}},a.concat=function(n,o){if(!Array.isArray(n))throw new TypeError('"list" argument must be an Array of Buffers');if(n.length===0)return a.alloc(0);let f;if(o===void 0)for(o=0,f=0;f<n.length;++f)o+=n[f].length;let h=a.allocUnsafe(o),w=0;for(f=0;f<n.length;++f){let E=n[f];if(se(E,Uint8Array))w+E.length>h.length?(a.isBuffer(E)||(E=a.from(E)),E.copy(h,w)):Uint8Array.prototype.set.call(h,E,w);else if(a.isBuffer(E))E.copy(h,w);else throw new TypeError('"list" argument must be an Array of Buffers');w+=E.length}return h};function q(l,n){if(a.isBuffer(l))return l.length;if(ArrayBuffer.isView(l)||se(l,ArrayBuffer))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);let o=l.length,f=arguments.length>2&&arguments[2]===!0;if(!f&&o===0)return 0;let h=!1;for(;;)switch(n){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return Zt(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o*2;case"hex":return o>>>1;case"base64":return kr(l).length;default:if(h)return f?-1:Zt(l).length;n=(""+n).toLowerCase(),h=!0}}a.byteLength=q;function Z(l,n,o){let f=!1;if((n===void 0||n<0)&&(n=0),n>this.length||((o===void 0||o>this.length)&&(o=this.length),o<=0)||(o>>>=0,n>>>=0,o<=n))return"";for(l||(l="utf8");;)switch(l){case"hex":return Is(this,n,o);case"utf8":case"utf-8":return Rr(this,n,o);case"ascii":return Es(this,n,o);case"latin1":case"binary":return Ts(this,n,o);case"base64":return ws(this,n,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ns(this,n,o);default:if(f)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),f=!0}}a.prototype._isBuffer=!0;function ee(l,n,o){let f=l[n];l[n]=l[o],l[o]=f}a.prototype.swap16=function(){let n=this.length;if(n%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let o=0;o<n;o+=2)ee(this,o,o+1);return this},a.prototype.swap32=function(){let n=this.length;if(n%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let o=0;o<n;o+=4)ee(this,o,o+3),ee(this,o+1,o+2);return this},a.prototype.swap64=function(){let n=this.length;if(n%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let o=0;o<n;o+=8)ee(this,o,o+7),ee(this,o+1,o+6),ee(this,o+2,o+5),ee(this,o+3,o+4);return this},a.prototype.toString=function(){let n=this.length;return n===0?"":arguments.length===0?Rr(this,0,n):Z.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(n){if(!a.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n?!0:a.compare(this,n)===0},a.prototype.inspect=function(){let n="",o=Ie.INSPECT_MAX_BYTES;return n=this.toString("hex",0,o).replace(/(.{2})/g,"$1 ").trim(),this.length>o&&(n+=" ... "),"<Buffer "+n+">"},e&&(a.prototype[e]=a.prototype.inspect),a.prototype.compare=function(n,o,f,h,w){if(se(n,Uint8Array)&&(n=a.from(n,n.offset,n.byteLength)),!a.isBuffer(n))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(o===void 0&&(o=0),f===void 0&&(f=n?n.length:0),h===void 0&&(h=0),w===void 0&&(w=this.length),o<0||f>n.length||h<0||w>this.length)throw new RangeError("out of range index");if(h>=w&&o>=f)return 0;if(h>=w)return-1;if(o>=f)return 1;if(o>>>=0,f>>>=0,h>>>=0,w>>>=0,this===n)return 0;let E=w-h,F=f-o,_=Math.min(E,F),U=this.slice(h,w),D=n.slice(o,f);for(let P=0;P<_;++P)if(U[P]!==D[P]){E=U[P],F=D[P];break}return E<F?-1:F<E?1:0};function Y(l,n,o,f,h){if(l.length===0)return-1;if(typeof o=="string"?(f=o,o=0):o>2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,Xt(o)&&(o=h?0:l.length-1),o<0&&(o=l.length+o),o>=l.length){if(h)return-1;o=l.length-1}else if(o<0)if(h)o=0;else return-1;if(typeof n=="string"&&(n=a.from(n,f)),a.isBuffer(n))return n.length===0?-1:Nr(l,n,o,f,h);if(typeof n=="number")return n=n&255,typeof Uint8Array.prototype.indexOf=="function"?h?Uint8Array.prototype.indexOf.call(l,n,o):Uint8Array.prototype.lastIndexOf.call(l,n,o):Nr(l,[n],o,f,h);throw new TypeError("val must be string, number or Buffer")}function Nr(l,n,o,f,h){let w=1,E=l.length,F=n.length;if(f!==void 0&&(f=String(f).toLowerCase(),f==="ucs2"||f==="ucs-2"||f==="utf16le"||f==="utf-16le")){if(l.length<2||n.length<2)return-1;w=2,E/=2,F/=2,o/=2}function _(D,P){return w===1?D[P]:D.readUInt16BE(P*w)}let U;if(h){let D=-1;for(U=o;U<E;U++)if(_(l,U)===_(n,D===-1?0:U-D)){if(D===-1&&(D=U),U-D+1===F)return D*w}else D!==-1&&(U-=U-D),D=-1}else for(o+F>E&&(o=E-F),U=o;U>=0;U--){let D=!0;for(let P=0;P<F;P++)if(_(l,U+P)!==_(n,P)){D=!1;break}if(D)return U}return-1}a.prototype.includes=function(n,o,f){return this.indexOf(n,o,f)!==-1},a.prototype.indexOf=function(n,o,f){return Y(this,n,o,f,!0)},a.prototype.lastIndexOf=function(n,o,f){return Y(this,n,o,f,!1)};function ys(l,n,o,f){o=Number(o)||0;let h=l.length-o;f?(f=Number(f),f>h&&(f=h)):f=h;let w=n.length;f>w/2&&(f=w/2);let E;for(E=0;E<f;++E){let F=parseInt(n.substr(E*2,2),16);if(Xt(F))return E;l[o+E]=F}return E}function gs(l,n,o,f){return yt(Zt(n,l.length-o),l,o,f)}function xs(l,n,o,f){return yt(Bs(n),l,o,f)}function bs(l,n,o,f){return yt(kr(n),l,o,f)}function Ss(l,n,o,f){return yt(Ls(n,l.length-o),l,o,f)}a.prototype.write=function(n,o,f,h){if(o===void 0)h="utf8",f=this.length,o=0;else if(f===void 0&&typeof o=="string")h=o,f=this.length,o=0;else if(isFinite(o))o=o>>>0,isFinite(f)?(f=f>>>0,h===void 0&&(h="utf8")):(h=f,f=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let w=this.length-o;if((f===void 0||f>w)&&(f=w),n.length>0&&(f<0||o<0)||o>this.length)throw new RangeError("Attempt to write outside buffer bounds");h||(h="utf8");let E=!1;for(;;)switch(h){case"hex":return ys(this,n,o,f);case"utf8":case"utf-8":return gs(this,n,o,f);case"ascii":case"latin1":case"binary":return xs(this,n,o,f);case"base64":return bs(this,n,o,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ss(this,n,o,f);default:if(E)throw new TypeError("Unknown encoding: "+h);h=(""+h).toLowerCase(),E=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ws(l,n,o){return n===0&&o===l.length?i.fromByteArray(l):i.fromByteArray(l.slice(n,o))}function Rr(l,n,o){o=Math.min(l.length,o);let f=[],h=n;for(;h<o;){let w=l[h],E=null,F=w>239?4:w>223?3:w>191?2:1;if(h+F<=o){let _,U,D,P;switch(F){case 1:w<128&&(E=w);break;case 2:_=l[h+1],(_&192)===128&&(P=(w&31)<<6|_&63,P>127&&(E=P));break;case 3:_=l[h+1],U=l[h+2],(_&192)===128&&(U&192)===128&&(P=(w&15)<<12|(_&63)<<6|U&63,P>2047&&(P<55296||P>57343)&&(E=P));break;case 4:_=l[h+1],U=l[h+2],D=l[h+3],(_&192)===128&&(U&192)===128&&(D&192)===128&&(P=(w&15)<<18|(_&63)<<12|(U&63)<<6|D&63,P>65535&&P<1114112&&(E=P))}}E===null?(E=65533,F=1):E>65535&&(E-=65536,f.push(E>>>10&1023|55296),E=56320|E&1023),f.push(E),h+=F}return vs(f)}let Ar=4096;function vs(l){let n=l.length;if(n<=Ar)return String.fromCharCode.apply(String,l);let o="",f=0;for(;f<n;)o+=String.fromCharCode.apply(String,l.slice(f,f+=Ar));return o}function Es(l,n,o){let f="";o=Math.min(l.length,o);for(let h=n;h<o;++h)f+=String.fromCharCode(l[h]&127);return f}function Ts(l,n,o){let f="";o=Math.min(l.length,o);for(let h=n;h<o;++h)f+=String.fromCharCode(l[h]);return f}function Is(l,n,o){let f=l.length;(!n||n<0)&&(n=0),(!o||o<0||o>f)&&(o=f);let h="";for(let w=n;w<o;++w)h+=Fs[l[w]];return h}function Ns(l,n,o){let f=l.slice(n,o),h="";for(let w=0;w<f.length-1;w+=2)h+=String.fromCharCode(f[w]+f[w+1]*256);return h}a.prototype.slice=function(n,o){let f=this.length;n=~~n,o=o===void 0?f:~~o,n<0?(n+=f,n<0&&(n=0)):n>f&&(n=f),o<0?(o+=f,o<0&&(o=0)):o>f&&(o=f),o<n&&(o=n);let h=this.subarray(n,o);return Object.setPrototypeOf(h,a.prototype),h};function j(l,n,o){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+n>o)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(n,o,f){n=n>>>0,o=o>>>0,f||j(n,o,this.length);let h=this[n],w=1,E=0;for(;++E<o&&(w*=256);)h+=this[n+E]*w;return h},a.prototype.readUintBE=a.prototype.readUIntBE=function(n,o,f){n=n>>>0,o=o>>>0,f||j(n,o,this.length);let h=this[n+--o],w=1;for(;o>0&&(w*=256);)h+=this[n+--o]*w;return h},a.prototype.readUint8=a.prototype.readUInt8=function(n,o){return n=n>>>0,o||j(n,1,this.length),this[n]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(n,o){return n=n>>>0,o||j(n,2,this.length),this[n]|this[n+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(n,o){return n=n>>>0,o||j(n,2,this.length),this[n]<<8|this[n+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(n,o){return n=n>>>0,o||j(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+this[n+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(n,o){return n=n>>>0,o||j(n,4,this.length),this[n]*16777216+(this[n+1]<<16|this[n+2]<<8|this[n+3])},a.prototype.readBigUInt64LE=he(function(n){n=n>>>0,Be(n,"offset");let o=this[n],f=this[n+7];(o===void 0||f===void 0)&&Qe(n,this.length-8);let h=o+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24,w=this[++n]+this[++n]*2**8+this[++n]*2**16+f*2**24;return BigInt(h)+(BigInt(w)<<BigInt(32))}),a.prototype.readBigUInt64BE=he(function(n){n=n>>>0,Be(n,"offset");let o=this[n],f=this[n+7];(o===void 0||f===void 0)&&Qe(n,this.length-8);let h=o*2**24+this[++n]*2**16+this[++n]*2**8+this[++n],w=this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+f;return(BigInt(h)<<BigInt(32))+BigInt(w)}),a.prototype.readIntLE=function(n,o,f){n=n>>>0,o=o>>>0,f||j(n,o,this.length);let h=this[n],w=1,E=0;for(;++E<o&&(w*=256);)h+=this[n+E]*w;return w*=128,h>=w&&(h-=Math.pow(2,8*o)),h},a.prototype.readIntBE=function(n,o,f){n=n>>>0,o=o>>>0,f||j(n,o,this.length);let h=o,w=1,E=this[n+--h];for(;h>0&&(w*=256);)E+=this[n+--h]*w;return w*=128,E>=w&&(E-=Math.pow(2,8*o)),E},a.prototype.readInt8=function(n,o){return n=n>>>0,o||j(n,1,this.length),this[n]&128?(255-this[n]+1)*-1:this[n]},a.prototype.readInt16LE=function(n,o){n=n>>>0,o||j(n,2,this.length);let f=this[n]|this[n+1]<<8;return f&32768?f|4294901760:f},a.prototype.readInt16BE=function(n,o){n=n>>>0,o||j(n,2,this.length);let f=this[n+1]|this[n]<<8;return f&32768?f|4294901760:f},a.prototype.readInt32LE=function(n,o){return n=n>>>0,o||j(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},a.prototype.readInt32BE=function(n,o){return n=n>>>0,o||j(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},a.prototype.readBigInt64LE=he(function(n){n=n>>>0,Be(n,"offset");let o=this[n],f=this[n+7];(o===void 0||f===void 0)&&Qe(n,this.length-8);let h=this[n+4]+this[n+5]*2**8+this[n+6]*2**16+(f<<24);return(BigInt(h)<<BigInt(32))+BigInt(o+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24)}),a.prototype.readBigInt64BE=he(function(n){n=n>>>0,Be(n,"offset");let o=this[n],f=this[n+7];(o===void 0||f===void 0)&&Qe(n,this.length-8);let h=(o<<24)+this[++n]*2**16+this[++n]*2**8+this[++n];return(BigInt(h)<<BigInt(32))+BigInt(this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+f)}),a.prototype.readFloatLE=function(n,o){return n=n>>>0,o||j(n,4,this.length),t.read(this,n,!0,23,4)},a.prototype.readFloatBE=function(n,o){return n=n>>>0,o||j(n,4,this.length),t.read(this,n,!1,23,4)},a.prototype.readDoubleLE=function(n,o){return n=n>>>0,o||j(n,8,this.length),t.read(this,n,!0,52,8)},a.prototype.readDoubleBE=function(n,o){return n=n>>>0,o||j(n,8,this.length),t.read(this,n,!1,52,8)};function X(l,n,o,f,h,w){if(!a.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>h||n<w)throw new RangeError('"value" argument is out of bounds');if(o+f>l.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(n,o,f,h){if(n=+n,o=o>>>0,f=f>>>0,!h){let F=Math.pow(2,8*f)-1;X(this,n,o,f,F,0)}let w=1,E=0;for(this[o]=n&255;++E<f&&(w*=256);)this[o+E]=n/w&255;return o+f},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(n,o,f,h){if(n=+n,o=o>>>0,f=f>>>0,!h){let F=Math.pow(2,8*f)-1;X(this,n,o,f,F,0)}let w=f-1,E=1;for(this[o+w]=n&255;--w>=0&&(E*=256);)this[o+w]=n/E&255;return o+f},a.prototype.writeUint8=a.prototype.writeUInt8=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,1,255,0),this[o]=n&255,o+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,2,65535,0),this[o]=n&255,this[o+1]=n>>>8,o+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,2,65535,0),this[o]=n>>>8,this[o+1]=n&255,o+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,4,4294967295,0),this[o+3]=n>>>24,this[o+2]=n>>>16,this[o+1]=n>>>8,this[o]=n&255,o+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,4,4294967295,0),this[o]=n>>>24,this[o+1]=n>>>16,this[o+2]=n>>>8,this[o+3]=n&255,o+4};function Cr(l,n,o,f,h){Pr(n,f,h,l,o,7);let w=Number(n&BigInt(4294967295));l[o++]=w,w=w>>8,l[o++]=w,w=w>>8,l[o++]=w,w=w>>8,l[o++]=w;let E=Number(n>>BigInt(32)&BigInt(4294967295));return l[o++]=E,E=E>>8,l[o++]=E,E=E>>8,l[o++]=E,E=E>>8,l[o++]=E,o}function Br(l,n,o,f,h){Pr(n,f,h,l,o,7);let w=Number(n&BigInt(4294967295));l[o+7]=w,w=w>>8,l[o+6]=w,w=w>>8,l[o+5]=w,w=w>>8,l[o+4]=w;let E=Number(n>>BigInt(32)&BigInt(4294967295));return l[o+3]=E,E=E>>8,l[o+2]=E,E=E>>8,l[o+1]=E,E=E>>8,l[o]=E,o+8}a.prototype.writeBigUInt64LE=he(function(n,o=0){return Cr(this,n,o,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=he(function(n,o=0){return Br(this,n,o,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(n,o,f,h){if(n=+n,o=o>>>0,!h){let _=Math.pow(2,8*f-1);X(this,n,o,f,_-1,-_)}let w=0,E=1,F=0;for(this[o]=n&255;++w<f&&(E*=256);)n<0&&F===0&&this[o+w-1]!==0&&(F=1),this[o+w]=(n/E>>0)-F&255;return o+f},a.prototype.writeIntBE=function(n,o,f,h){if(n=+n,o=o>>>0,!h){let _=Math.pow(2,8*f-1);X(this,n,o,f,_-1,-_)}let w=f-1,E=1,F=0;for(this[o+w]=n&255;--w>=0&&(E*=256);)n<0&&F===0&&this[o+w+1]!==0&&(F=1),this[o+w]=(n/E>>0)-F&255;return o+f},a.prototype.writeInt8=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,1,127,-128),n<0&&(n=255+n+1),this[o]=n&255,o+1},a.prototype.writeInt16LE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,2,32767,-32768),this[o]=n&255,this[o+1]=n>>>8,o+2},a.prototype.writeInt16BE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,2,32767,-32768),this[o]=n>>>8,this[o+1]=n&255,o+2},a.prototype.writeInt32LE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,4,2147483647,-2147483648),this[o]=n&255,this[o+1]=n>>>8,this[o+2]=n>>>16,this[o+3]=n>>>24,o+4},a.prototype.writeInt32BE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),this[o]=n>>>24,this[o+1]=n>>>16,this[o+2]=n>>>8,this[o+3]=n&255,o+4},a.prototype.writeBigInt64LE=he(function(n,o=0){return Cr(this,n,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=he(function(n,o=0){return Br(this,n,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Lr(l,n,o,f,h,w){if(o+f>l.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function Fr(l,n,o,f,h){return n=+n,o=o>>>0,h||Lr(l,n,o,4),t.write(l,n,o,f,23,4),o+4}a.prototype.writeFloatLE=function(n,o,f){return Fr(this,n,o,!0,f)},a.prototype.writeFloatBE=function(n,o,f){return Fr(this,n,o,!1,f)};function Or(l,n,o,f,h){return n=+n,o=o>>>0,h||Lr(l,n,o,8),t.write(l,n,o,f,52,8),o+8}a.prototype.writeDoubleLE=function(n,o,f){return Or(this,n,o,!0,f)},a.prototype.writeDoubleBE=function(n,o,f){return Or(this,n,o,!1,f)},a.prototype.copy=function(n,o,f,h){if(!a.isBuffer(n))throw new TypeError("argument should be a Buffer");if(f||(f=0),!h&&h!==0&&(h=this.length),o>=n.length&&(o=n.length),o||(o=0),h>0&&h<f&&(h=f),h===f||n.length===0||this.length===0)return 0;if(o<0)throw new RangeError("targetStart out of bounds");if(f<0||f>=this.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("sourceEnd out of bounds");h>this.length&&(h=this.length),n.length-o<h-f&&(h=n.length-o+f);let w=h-f;return this===n&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(o,f,h):Uint8Array.prototype.set.call(n,this.subarray(f,h),o),w},a.prototype.fill=function(n,o,f,h){if(typeof n=="string"){if(typeof o=="string"?(h=o,o=0,f=this.length):typeof f=="string"&&(h=f,f=this.length),h!==void 0&&typeof h!="string")throw new TypeError("encoding must be a string");if(typeof h=="string"&&!a.isEncoding(h))throw new TypeError("Unknown encoding: "+h);if(n.length===1){let E=n.charCodeAt(0);(h==="utf8"&&E<128||h==="latin1")&&(n=E)}}else typeof n=="number"?n=n&255:typeof n=="boolean"&&(n=Number(n));if(o<0||this.length<o||this.length<f)throw new RangeError("Out of range index");if(f<=o)return this;o=o>>>0,f=f===void 0?this.length:f>>>0,n||(n=0);let w;if(typeof n=="number")for(w=o;w<f;++w)this[w]=n;else{let E=a.isBuffer(n)?n:a.from(n,h),F=E.length;if(F===0)throw new TypeError('The value "'+n+'" is invalid for argument "value"');for(w=0;w<f-o;++w)this[w+o]=E[w%F]}return this};let Ce={};function Jt(l,n,o){Ce[l]=class extends o{constructor(){super(),Object.defineProperty(this,"message",{value:n.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(h){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:h,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}Jt("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Jt("ERR_INVALID_ARG_TYPE",function(l,n){return`The "${l}" argument must be of type number. Received type ${typeof n}`},TypeError),Jt("ERR_OUT_OF_RANGE",function(l,n,o){let f=`The value of "${l}" is out of range.`,h=o;return Number.isInteger(o)&&Math.abs(o)>2**32?h=Mr(String(o)):typeof o=="bigint"&&(h=String(o),(o>BigInt(2)**BigInt(32)||o<-(BigInt(2)**BigInt(32)))&&(h=Mr(h)),h+="n"),f+=` It must be ${n}. Received ${h}`,f},RangeError);function Mr(l){let n="",o=l.length,f=l[0]==="-"?1:0;for(;o>=f+4;o-=3)n=`_${l.slice(o-3,o)}${n}`;return`${l.slice(0,o)}${n}`}function Rs(l,n,o){Be(n,"offset"),(l[n]===void 0||l[n+o]===void 0)&&Qe(n,l.length-(o+1))}function Pr(l,n,o,f,h,w){if(l>o||l<n){let E=typeof n=="bigint"?"n":"",F;throw n===0||n===BigInt(0)?F=`>= 0${E} and < 2${E} ** ${(w+1)*8}${E}`:F=`>= -(2${E} ** ${(w+1)*8-1}${E}) and < 2 ** ${(w+1)*8-1}${E}`,new Ce.ERR_OUT_OF_RANGE("value",F,l)}Rs(f,h,w)}function Be(l,n){if(typeof l!="number")throw new Ce.ERR_INVALID_ARG_TYPE(n,"number",l)}function Qe(l,n,o){throw Math.floor(l)!==l?(Be(l,o),new Ce.ERR_OUT_OF_RANGE("offset","an integer",l)):n<0?new Ce.ERR_BUFFER_OUT_OF_BOUNDS:new Ce.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${n}`,l)}let As=/[^+/0-9A-Za-z-_]/g;function Cs(l){if(l=l.split("=")[0],l=l.trim().replace(As,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function Zt(l,n){n=n||1/0;let o,f=l.length,h=null,w=[];for(let E=0;E<f;++E){if(o=l.charCodeAt(E),o>55295&&o<57344){if(!h){if(o>56319){(n-=3)>-1&&w.push(239,191,189);continue}else if(E+1===f){(n-=3)>-1&&w.push(239,191,189);continue}h=o;continue}if(o<56320){(n-=3)>-1&&w.push(239,191,189),h=o;continue}o=(h-55296<<10|o-56320)+65536}else h&&(n-=3)>-1&&w.push(239,191,189);if(h=null,o<128){if((n-=1)<0)break;w.push(o)}else if(o<2048){if((n-=2)<0)break;w.push(o>>6|192,o&63|128)}else if(o<65536){if((n-=3)<0)break;w.push(o>>12|224,o>>6&63|128,o&63|128)}else if(o<1114112){if((n-=4)<0)break;w.push(o>>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else throw new Error("Invalid code point")}return w}function Bs(l){let n=[];for(let o=0;o<l.length;++o)n.push(l.charCodeAt(o)&255);return n}function Ls(l,n){let o,f,h,w=[];for(let E=0;E<l.length&&!((n-=2)<0);++E)o=l.charCodeAt(E),f=o>>8,h=o%256,w.push(h),w.push(f);return w}function kr(l){return i.toByteArray(Cs(l))}function yt(l,n,o,f){let h;for(h=0;h<f&&!(h+o>=n.length||h>=l.length);++h)n[h+o]=l[h];return h}function se(l,n){return l instanceof n||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===n.name}function Xt(l){return l!==l}let Fs=(function(){let l="0123456789abcdef",n=new Array(256);for(let o=0;o<16;++o){let f=o*16;for(let h=0;h<16;++h)n[f+h]=l[o]+l[h]}return n})();function he(l){return typeof BigInt>"u"?Os:l}function Os(){throw new Error("BigInt not supported")}return Ie}var tt,ti,wt,ri,Ie,ni,oi=Le(()=>{"use strict";u();c();p();tt={},ti=!1;wt={},ri=!1;Ie={},ni=!1});var Ne,g,Qp,ec,si=Le(()=>{"use strict";u();c();p();oi();Ne=ii();Ne.Buffer;Ne.SlowBuffer;Ne.INSPECT_MAX_BYTES;Ne.kMaxLength;g=Ne.Buffer,Qp=Ne.INSPECT_MAX_BYTES,ec=Ne.kMaxLength});var c=Le(()=>{"use strict";si()});var cr=ye((Sw,Ho)=>{"use strict";u();c();p();function Hu(i){return!(typeof i!="number"||i!==i||i===1/0||i===-1/0)}Ho.exports=Hu});var Yo=ye((Tw,Ko)=>{"use strict";u();c();p();var Ku=9007199254740991;Ko.exports=Ku});var mr=ye((Aw,Jo)=>{"use strict";u();c();p();var Yu=Yo();function Ju(i){return typeof i=="number"&&Math.abs(i)<=Yu}Jo.exports=Ju});var Xo=ye((Fw,Zo)=>{"use strict";u();c();p();var Zu=cr(),Xu=mr();function Qu(i){var t=parseInt(i,10);if(!Zu(t))throw new TypeError("Not a finite number: "+i+" ("+typeof i+")");if(!Xu(t))throw new RangeError("Input is not a safe number, it\u2019s either too large or too small.");var e=String(t),r=Math.abs(t%100),s=r>=11&&r<=13,m=e.charAt(e.length-1);return e+(s?"th":m==="1"?"st":m==="2"?"nd":m==="3"?"rd":"th")}Zo.exports=Qu});var fr=ye((kw,ts)=>{"use strict";u();c();p();var ep=/(hundred|thousand|(m|b|tr|quadr)illion)$/,tp=/teen$/,Qo=/y$/,es=/(zero|one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve)$/,rp={zero:"zeroth",one:"first",two:"second",three:"third",four:"fourth",five:"fifth",six:"sixth",seven:"seventh",eight:"eighth",nine:"ninth",ten:"tenth",eleven:"eleventh",twelve:"twelfth"};function np(i){return ep.test(i)||tp.test(i)?i+"th":Qo.test(i)?i.replace(Qo,"ieth"):es.test(i)?i.replace(es,ip):i}function ip(i,t){return rp[t]}ts.exports=np});var Sr=ye(($w,is)=>{"use strict";u();c();p();var op=fr(),sp=cr(),ap=mr(),rs=10,dr=100,hr=1e3,yr=1e6,gr=1e9,xr=1e12,br=1e15,lp=9007199254740992,ns=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],up=["zero","ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"];function pp(i,t){var e,r=parseInt(i,10);if(!sp(r))throw new TypeError("Not a finite number: "+i+" ("+typeof i+")");if(!ap(r))throw new RangeError("Input is not a safe number, it\u2019s either too large or too small.");return e=Ee(r),t?op(e):e}function Ee(i){var t,e,r=arguments[1];return i===0?r?r.join(" ").replace(/,$/,""):"zero":(r||(r=[]),i<0&&(r.push("minus"),i=Math.abs(i)),i<20?(t=0,e=ns[i]):i<dr?(t=i%rs,e=up[Math.floor(i/rs)],t&&(e+="-"+ns[t],t=0)):i<hr?(t=i%dr,e=Ee(Math.floor(i/dr))+" hundred"):i<yr?(t=i%hr,e=Ee(Math.floor(i/hr))+" thousand,"):i<gr?(t=i%yr,e=Ee(Math.floor(i/yr))+" million,"):i<xr?(t=i%gr,e=Ee(Math.floor(i/gr))+" billion,"):i<br?(t=i%xr,e=Ee(Math.floor(i/xr))+" trillion,"):i<=lp&&(t=i%br,e=Ee(Math.floor(i/br))+" quadrillion,"),r.push(e),Ee(t,r))}is.exports=pp});var ss=ye((jw,os)=>{"use strict";u();c();p();var cp=fr(),mp=Sr();function fp(i){var t=mp(i);return cp(t)}os.exports=fp});var ls=ye((Kw,as)=>{"use strict";u();c();p();as.exports={toOrdinal:Xo(),toWords:Sr(),toWordsOrdinal:ss()}});u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();var zs=typeof global=="object"&&global&&global.Object===Object&&global,ai=zs;var Gs=typeof self=="object"&&self&&self.Object===Object&&self,Hs=ai||Gs||Function("return this")(),xe=Hs;var Ks=xe.Symbol,me=Ks;u();c();p();var li=Object.prototype,Ys=li.hasOwnProperty,Js=li.toString,rt=me?me.toStringTag:void 0;function Zs(i){var t=Ys.call(i,rt),e=i[rt];try{i[rt]=void 0;var r=!0}catch{}var s=Js.call(i);return r&&(t?i[rt]=e:delete i[rt]),s}var ui=Zs;u();c();p();var Xs=Object.prototype,Qs=Xs.toString;function ea(i){return Qs.call(i)}var pi=ea;var ta="[object Null]",ra="[object Undefined]",ci=me?me.toStringTag:void 0;function na(i){return i==null?i===void 0?ra:ta:ci&&ci in Object(i)?ui(i):pi(i)}var vt=na;u();c();p();function ia(i){return i!=null&&typeof i=="object"}var mi=ia;var oa="[object Symbol]";function sa(i){return typeof i=="symbol"||mi(i)&&vt(i)==oa}var fi=sa;u();c();p();u();c();p();function aa(i,t){for(var e=-1,r=i==null?0:i.length,s=Array(r);++e<r;)s[e]=t(i[e],e,i);return s}var di=aa;u();c();p();var la=Array.isArray,hi=la;var ua=1/0,yi=me?me.prototype:void 0,gi=yi?yi.toString:void 0;function xi(i){if(typeof i=="string")return i;if(hi(i))return di(i,xi)+"";if(fi(i))return gi?gi.call(i):"";var t=i+"";return t=="0"&&1/i==-ua?"-0":t}var bi=xi;u();c();p();function pa(i){var t=typeof i;return i!=null&&(t=="object"||t=="function")}var Et=pa;u();c();p();u();c();p();u();c();p();var ca="[object AsyncFunction]",ma="[object Function]",fa="[object GeneratorFunction]",da="[object Proxy]";function ha(i){if(!Et(i))return!1;var t=vt(i);return t==ma||t==fa||t==ca||t==da}var Si=ha;u();c();p();u();c();p();var ya=xe["__core-js_shared__"],Tt=ya;var wi=(function(){var i=/[^.]+$/.exec(Tt&&Tt.keys&&Tt.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})();function ga(i){return!!wi&&wi in i}var vi=ga;u();c();p();var xa=Function.prototype,ba=xa.toString;function Sa(i){if(i!=null){try{return ba.call(i)}catch{}try{return i+""}catch{}}return""}var Ei=Sa;var wa=/[\\^$.*+?()[\]{}|]/g,va=/^\[object .+?Constructor\]$/,Ea=Function.prototype,Ta=Object.prototype,Ia=Ea.toString,Na=Ta.hasOwnProperty,Ra=RegExp("^"+Ia.call(Na).replace(wa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Aa(i){if(!Et(i)||vi(i))return!1;var t=Si(i)?Ra:va;return t.test(Ei(i))}var Ti=Aa;u();c();p();function Ca(i,t){return i?.[t]}var Ii=Ca;function Ba(i,t){var e=Ii(i,t);return Ti(e)?e:void 0}var Oe=Ba;u();c();p();function La(){}var Ni=La;u();c();p();u();c();p();u();c();p();function Fa(i,t,e,r){for(var s=i.length,m=e+(r?1:-1);r?m--:++m<s;)if(t(i[m],m,i))return m;return-1}var Ri=Fa;u();c();p();function Oa(i){return i!==i}var Ai=Oa;u();c();p();function Ma(i,t,e){for(var r=e-1,s=i.length;++r<s;)if(i[r]===t)return r;return-1}var Ci=Ma;function Pa(i,t,e){return t===t?Ci(i,t,e):Ri(i,Ai,e)}var Bi=Pa;function ka(i,t){var e=i==null?0:i.length;return!!e&&Bi(i,t,0)>-1}var Li=ka;u();c();p();function Ua(i,t){return i===t||i!==i&&t!==t}var Fi=Ua;u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();var _a=Oe(Object,"create"),fe=_a;function Da(){this.__data__=fe?fe(null):{},this.size=0}var Oi=Da;u();c();p();function $a(i){var t=this.has(i)&&delete this.__data__[i];return this.size-=t?1:0,t}var Mi=$a;u();c();p();var qa="__lodash_hash_undefined__",Wa=Object.prototype,Va=Wa.hasOwnProperty;function ja(i){var t=this.__data__;if(fe){var e=t[i];return e===qa?void 0:e}return Va.call(t,i)?t[i]:void 0}var Pi=ja;u();c();p();var za=Object.prototype,Ga=za.hasOwnProperty;function Ha(i){var t=this.__data__;return fe?t[i]!==void 0:Ga.call(t,i)}var ki=Ha;u();c();p();var Ka="__lodash_hash_undefined__";function Ya(i,t){var e=this.__data__;return this.size+=this.has(i)?0:1,e[i]=fe&&t===void 0?Ka:t,this}var Ui=Ya;function Me(i){var t=-1,e=i==null?0:i.length;for(this.clear();++t<e;){var r=i[t];this.set(r[0],r[1])}}Me.prototype.clear=Oi;Me.prototype.delete=Mi;Me.prototype.get=Pi;Me.prototype.has=ki;Me.prototype.set=Ui;var rr=Me;u();c();p();u();c();p();function Ja(){this.__data__=[],this.size=0}var _i=Ja;u();c();p();u();c();p();function Za(i,t){for(var e=i.length;e--;)if(Fi(i[e][0],t))return e;return-1}var be=Za;var Xa=Array.prototype,Qa=Xa.splice;function el(i){var t=this.__data__,e=be(t,i);if(e<0)return!1;var r=t.length-1;return e==r?t.pop():Qa.call(t,e,1),--this.size,!0}var Di=el;u();c();p();function tl(i){var t=this.__data__,e=be(t,i);return e<0?void 0:t[e][1]}var $i=tl;u();c();p();function rl(i){return be(this.__data__,i)>-1}var qi=rl;u();c();p();function nl(i,t){var e=this.__data__,r=be(e,i);return r<0?(++this.size,e.push([i,t])):e[r][1]=t,this}var Wi=nl;function Pe(i){var t=-1,e=i==null?0:i.length;for(this.clear();++t<e;){var r=i[t];this.set(r[0],r[1])}}Pe.prototype.clear=_i;Pe.prototype.delete=Di;Pe.prototype.get=$i;Pe.prototype.has=qi;Pe.prototype.set=Wi;var Vi=Pe;u();c();p();var il=Oe(xe,"Map"),ji=il;function ol(){this.size=0,this.__data__={hash:new rr,map:new(ji||Vi),string:new rr}}var zi=ol;u();c();p();u();c();p();u();c();p();function sl(i){var t=typeof i;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?i!=="__proto__":i===null}var Gi=sl;function al(i,t){var e=i.__data__;return Gi(t)?e[typeof t=="string"?"string":"hash"]:e.map}var Se=al;function ll(i){var t=Se(this,i).delete(i);return this.size-=t?1:0,t}var Hi=ll;u();c();p();function ul(i){return Se(this,i).get(i)}var Ki=ul;u();c();p();function pl(i){return Se(this,i).has(i)}var Yi=pl;u();c();p();function cl(i,t){var e=Se(this,i),r=e.size;return e.set(i,t),this.size+=e.size==r?0:1,this}var Ji=cl;function ke(i){var t=-1,e=i==null?0:i.length;for(this.clear();++t<e;){var r=i[t];this.set(r[0],r[1])}}ke.prototype.clear=zi;ke.prototype.delete=Hi;ke.prototype.get=Ki;ke.prototype.has=Yi;ke.prototype.set=Ji;var Zi=ke;u();c();p();function ml(i){return i==null?"":bi(i)}var we=ml;u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();function fl(i,t,e){var r=-1,s=i.length;t<0&&(t=-t>s?0:s+t),e=e>s?s:e,e<0&&(e+=s),s=t>e?0:e-t>>>0,t>>>=0;for(var m=Array(s);++r<s;)m[r]=i[r+t];return m}var Xi=fl;function dl(i,t,e){var r=i.length;return e=e===void 0?r:e,!t&&e>=r?i:Xi(i,t,e)}var Qi=dl;u();c();p();var hl="\\ud800-\\udfff",yl="\\u0300-\\u036f",gl="\\ufe20-\\ufe2f",xl="\\u20d0-\\u20ff",bl=yl+gl+xl,Sl="\\ufe0e\\ufe0f",wl="\\u200d",vl=RegExp("["+wl+hl+bl+Sl+"]");function El(i){return vl.test(i)}var It=El;u();c();p();u();c();p();function Tl(i){return i.split("")}var eo=Tl;u();c();p();var to="\\ud800-\\udfff",Il="\\u0300-\\u036f",Nl="\\ufe20-\\ufe2f",Rl="\\u20d0-\\u20ff",Al=Il+Nl+Rl,Cl="\\ufe0e\\ufe0f",Bl="["+to+"]",nr="["+Al+"]",ir="\\ud83c[\\udffb-\\udfff]",Ll="(?:"+nr+"|"+ir+")",ro="[^"+to+"]",no="(?:\\ud83c[\\udde6-\\uddff]){2}",io="[\\ud800-\\udbff][\\udc00-\\udfff]",Fl="\\u200d",oo=Ll+"?",so="["+Cl+"]?",Ol="(?:"+Fl+"(?:"+[ro,no,io].join("|")+")"+so+oo+")*",Ml=so+oo+Ol,Pl="(?:"+[ro+nr+"?",nr,no,io,Bl].join("|")+")",kl=RegExp(ir+"(?="+ir+")|"+Pl+Ml,"g");function Ul(i){return i.match(kl)||[]}var ao=Ul;function _l(i){return It(i)?ao(i):eo(i)}var lo=_l;function Dl(i){return function(t){t=we(t);var e=It(t)?lo(t):void 0,r=e?e[0]:t.charAt(0),s=e?Qi(e,1).join(""):t.slice(1);return r[i]()+s}}var uo=Dl;var $l=uo("toUpperCase"),H=$l;function ql(i){return H(we(i).toLowerCase())}var po=ql;u();c();p();u();c();p();function Wl(i,t,e,r){var s=-1,m=i==null?0:i.length;for(r&&m&&(e=i[++s]);++s<m;)e=t(e,i[s],s,i);return e}var co=Wl;u();c();p();u();c();p();u();c();p();function Vl(i){return function(t){return i?.[t]}}var mo=Vl;var jl={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},zl=mo(jl),fo=zl;var Gl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hl="\\u0300-\\u036f",Kl="\\ufe20-\\ufe2f",Yl="\\u20d0-\\u20ff",Jl=Hl+Kl+Yl,Zl="["+Jl+"]",Xl=RegExp(Zl,"g");function Ql(i){return i=we(i),i&&i.replace(Gl,fo).replace(Xl,"")}var ho=Ql;u();c();p();u();c();p();var eu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function tu(i){return i.match(eu)||[]}var yo=tu;u();c();p();var ru=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function nu(i){return ru.test(i)}var go=nu;u();c();p();var vo="\\ud800-\\udfff",iu="\\u0300-\\u036f",ou="\\ufe20-\\ufe2f",su="\\u20d0-\\u20ff",au=iu+ou+su,Eo="\\u2700-\\u27bf",To="a-z\\xdf-\\xf6\\xf8-\\xff",lu="\\xac\\xb1\\xd7\\xf7",uu="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",pu="\\u2000-\\u206f",cu=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Io="A-Z\\xc0-\\xd6\\xd8-\\xde",mu="\\ufe0e\\ufe0f",No=lu+uu+pu+cu,Ro="['\u2019]",xo="["+No+"]",fu="["+au+"]",Ao="\\d+",du="["+Eo+"]",Co="["+To+"]",Bo="[^"+vo+No+Ao+Eo+To+Io+"]",hu="\\ud83c[\\udffb-\\udfff]",yu="(?:"+fu+"|"+hu+")",gu="[^"+vo+"]",Lo="(?:\\ud83c[\\udde6-\\uddff]){2}",Fo="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Io+"]",xu="\\u200d",bo="(?:"+Co+"|"+Bo+")",bu="(?:"+Ue+"|"+Bo+")",So="(?:"+Ro+"(?:d|ll|m|re|s|t|ve))?",wo="(?:"+Ro+"(?:D|LL|M|RE|S|T|VE))?",Oo=yu+"?",Mo="["+mu+"]?",Su="(?:"+xu+"(?:"+[gu,Lo,Fo].join("|")+")"+Mo+Oo+")*",wu="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",vu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Eu=Mo+Oo+Su,Tu="(?:"+[du,Lo,Fo].join("|")+")"+Eu,Iu=RegExp([Ue+"?"+Co+"+"+So+"(?="+[xo,Ue,"$"].join("|")+")",bu+"+"+wo+"(?="+[xo,Ue+bo,"$"].join("|")+")",Ue+"?"+bo+"+"+So,Ue+"+"+wo,vu,wu,Ao,Tu].join("|"),"g");function Nu(i){return i.match(Iu)||[]}var Po=Nu;function Ru(i,t,e){return i=we(i),t=e?void 0:t,t===void 0?go(i)?Po(i):yo(i):i.match(t)||[]}var ko=Ru;var Au="['\u2019]",Cu=RegExp(Au,"g");function Bu(i){return function(t){return co(ko(ho(t).replace(Cu,"")),i,"")}}var Uo=Bu;var Lu=Uo(function(i,t,e){return t=t.toLowerCase(),i+(e?po(t):t)}),te=Lu;u();c();p();var Fu=Oe(xe,"Set"),Nt=Fu;u();c();p();u();c();p();var Ou="__lodash_hash_undefined__";function Mu(i){return this.__data__.set(i,Ou),this}var _o=Mu;u();c();p();function Pu(i){return this.__data__.has(i)}var Do=Pu;function Rt(i){var t=-1,e=i==null?0:i.length;for(this.__data__=new Zi;++t<e;)this.add(i[t])}Rt.prototype.add=Rt.prototype.push=_o;Rt.prototype.has=Do;var $o=Rt;u();c();p();function ku(i,t){return i.has(t)}var qo=ku;u();c();p();function Uu(i){var t=-1,e=Array(i.size);return i.forEach(function(r){e[++t]=r}),e}var At=Uu;u();c();p();function _u(i,t,e){for(var r=-1,s=i==null?0:i.length;++r<s;)if(e(t,i[r]))return!0;return!1}var Wo=_u;u();c();p();u();c();p();var Du=1/0,$u=Nt&&1/At(new Nt([,-0]))[1]==Du?function(i){return new Nt(i)}:Ni,Vo=$u;var qu=200;function Wu(i,t,e){var r=-1,s=Li,m=i.length,a=!0,S=[],v=S;if(e)a=!1,s=Wo;else if(m>=qu){var T=t?null:Vo(i);if(T)return At(T);a=!1,s=qo,v=new $o}else v=t?[]:S;e:for(;++r<m;){var I=i[r],B=t?t(I):I;if(I=e||I!==0?I:0,a&&B===B){for(var V=v.length;V--;)if(v[V]===B)continue e;t&&v.push(B),S.push(I)}else s(v,B,e)||(v!==S&&v.push(B),S.push(I))}return S}var jo=Wu;u();c();p();function Vu(i,t){return t=typeof t=="function"?t:void 0,i&&i.length?jo(i,void 0,t):[]}var or=Vu;u();c();p();function ne(i,t){if(i===void 0)throw new Error(t??"Expected value to be defined but got undefined.")}function Q(i,t){if(i===null)throw new Error(t??"Expected value to be non-null but got null.")}function sr(i,t){if(typeof i!="string")throw new Error(t??`Expected value to be a string but got ${typeof i}.`)}function A(i){throw new Error("Unexpected value: "+JSON.stringify(i))}u();c();p();function K(){}u();c();p();function nt(i){return Object.keys(i)}u();c();p();function ar(i){return Object.entries(i)}u();c();p();var it=class it{constructor(t){d(this,"symbolSet");d(this,"symbolMap");d(this,"conflictResolutionStrategy");this.symbolSet=new Set(t?.reservedSymbolNames??it.defaultOptions.reservedSymbolNames),this.symbolMap=new Map,this.conflictResolutionStrategy=t?.conflictResolutionStrategy??it.defaultOptions.conflictResolutionStrategy}getSymbolNameByIdOrThrow(t){let e=this.getSymbolNameById(t);return ne(e,`Symbol with ID '${t}' not found for in registry.`),e}getSymbolNameById(t){return this.symbolMap.get(t)}registerSymbol(t,e){if(this.isSymbolIdRegistered(t))throw new Error(`Symbol with ID '${t}' is already registered.`);let s=this.getAvailableSymbolName(e);return this.symbolMap.set(t,s),this.symbolSet.add(s),s}getAvailableSymbolName(t){for(let s of t)if(!this.isSymbolNameRegistered(s))return s;let[e]=t,r=e;if(this.conflictResolutionStrategy==="numbered-suffix"){let s=2;for(;this.isSymbolNameRegistered(r);)r=`${e}${s++}`}else if(this.conflictResolutionStrategy==="underscore-suffix")for(;this.isSymbolNameRegistered(r);)r+="_";else A(this.conflictResolutionStrategy);return r}isSymbolNameRegistered(t){return this.symbolSet.has(t)}isSymbolIdRegistered(t){return this.symbolMap.has(t)}getAllSymbols(){return Array.from(this.symbolMap.entries()).map(([t,e])=>({id:t,name:e}))}};d(it,"defaultOptions",{reservedSymbolNames:[],conflictResolutionStrategy:"underscore-suffix"});var re=it;u();c();p();function ie(i,t="type"){return{_visit:e=>{let r=e[i[t]];return r!=null?r(i):(e._other==null&&A(i),e._other(i))}}}u();c();p();u();c();p();u();c();p();var ot=y.env.FERN_STACK_TRACK?.toLowerCase()??"",ae=ot!==""&&ot!=="0"&&ot!=="false",lr=["single","multiline","box"].includes(ot)?ot:"single";ae&&(Error.stackTraceLimit=50);var ju=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),zu=new Set(["stacktrace"]);function Bt({maxFrames:i=50,skip:t=0,filterPaths:e=[],filterFunctions:r=[],stopOn:s=[],filterNode:m=!0,filterJs:a=!0,formatFilename:S=v=>v}={}){if(!ae)return[];r=[...r,...ju],e=[...e,...zu],s=[...s,"runInteractiveTask"];let v=!1;return(new Error().stack??"").split(`
1
+ var Ms=Object.create;var gt=Object.defineProperty;var Ps=Object.getOwnPropertyDescriptor;var ks=Object.getOwnPropertyNames;var Us=Object.getPrototypeOf,_s=Object.prototype.hasOwnProperty;var Ds=(i,t,e)=>t in i?gt(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var Le=(i,t,e)=>()=>{if(e)throw e[0];try{return i&&(t=i(i=0)),t}catch(r){throw e=[r],r}};var ye=(i,t)=>()=>{try{return t||i((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}},et=(i,t)=>{for(var e in t)gt(i,e,{get:t[e],enumerable:!0})},$s=(i,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of ks(t))!_s.call(i,s)&&s!==e&&gt(i,s,{get:()=>t[s],enumerable:!(r=Ps(t,s))||r.enumerable});return i};var qs=(i,t,e)=>(e=i!=null?Ms(Us(i)):{},$s(t||!i||!i.__esModule?gt(e,"default",{value:i,enumerable:!0}):e,i));var d=(i,t,e)=>Ds(i,typeof t!="symbol"?t+"":t,e);var u=Le(()=>{"use strict"});var y={};et(y,{_debugEnd:()=>Nn,_debugProcess:()=>In,_events:()=>Wn,_eventsCount:()=>Vn,_exiting:()=>sn,_fatalExceptions:()=>wn,_getActiveHandles:()=>pn,_getActiveRequests:()=>un,_kill:()=>mn,_linkedBinding:()=>nn,_maxListeners:()=>qn,_preload_modules:()=>_n,_rawDebug:()=>tn,_startProfilerIdleNotifier:()=>Rn,_stopProfilerIdleNotifier:()=>An,_tickCallback:()=>Tn,abort:()=>Fn,addListener:()=>jn,allowedNodeEnvironmentFlags:()=>xn,arch:()=>qr,argv:()=>jr,argv0:()=>Un,assert:()=>bn,binding:()=>Yr,browser:()=>en,chdir:()=>Xr,config:()=>an,cpuUsage:()=>St,cwd:()=>Zr,debugPort:()=>kn,default:()=>Qn,dlopen:()=>ln,domain:()=>on,emit:()=>Yn,emitWarning:()=>Kr,env:()=>Vr,execArgv:()=>zr,execPath:()=>Pn,exit:()=>yn,features:()=>Sn,hasUncaughtExceptionCaptureCallback:()=>En,hrtime:()=>bt,kill:()=>hn,listeners:()=>Xn,memoryUsage:()=>dn,moduleLoadList:()=>rn,nextTick:()=>_r,off:()=>Gn,on:()=>ce,once:()=>zn,openStdin:()=>gn,pid:()=>On,platform:()=>Wr,ppid:()=>Mn,prependListener:()=>Jn,prependOnceListener:()=>Zn,reallyExit:()=>cn,release:()=>Qr,removeAllListeners:()=>Kn,removeListener:()=>Hn,resourceUsage:()=>fn,setSourceMapsEnabled:()=>Dn,setUncaughtExceptionCaptureCallback:()=>vn,stderr:()=>Bn,stdin:()=>Ln,stdout:()=>Cn,title:()=>$r,umask:()=>Jr,uptime:()=>$n,version:()=>Gr,versions:()=>Hr});function tr(i){throw new Error("Node.js process "+i+" is not supported by JSPM core outside of Node.js")}function Ws(){!Fe||!Te||(Fe=!1,Te.length?pe=Te.concat(pe):xt=-1,pe.length&&Ur())}function Ur(){if(!Fe){var i=setTimeout(Ws,0);Fe=!0;for(var t=pe.length;t;){for(Te=pe,pe=[];++xt<t;)Te&&Te[xt].run();xt=-1,t=pe.length}Te=null,Fe=!1,clearTimeout(i)}}function _r(i){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];pe.push(new Dr(i,t)),pe.length===1&&!Fe&&setTimeout(Ur,0)}function Dr(i,t){this.fun=i,this.array=t}function G(){}function nn(i){tr("_linkedBinding")}function ln(i){tr("dlopen")}function un(){return[]}function pn(){return[]}function bn(i,t){if(!i)throw new Error(t||"assertion error")}function En(){return!1}function $n(){return ge.now()/1e3}function bt(i){var t=Math.floor((Date.now()-ge.now())*.001),e=ge.now()*.001,r=Math.floor(e)+t,s=Math.floor(e%1*1e9);return i&&(r=r-i[0],s=s-i[1],s<0&&(r--,s+=er)),[r,s]}function ce(){return Qn}function Xn(i){return[]}var pe,Fe,Te,xt,$r,qr,Wr,Vr,jr,zr,Gr,Hr,Kr,Yr,Jr,Zr,Xr,Qr,en,tn,rn,on,sn,an,cn,mn,St,fn,dn,hn,yn,gn,xn,Sn,wn,vn,Tn,In,Nn,Rn,An,Cn,Bn,Ln,Fn,On,Mn,Pn,kn,Un,_n,Dn,ge,Qt,er,qn,Wn,Vn,jn,zn,Gn,Hn,Kn,Yn,Jn,Zn,Qn,ei=Le(()=>{"use strict";u();c();p();pe=[],Fe=!1,xt=-1;Dr.prototype.run=function(){this.fun.apply(null,this.array)};$r="browser",qr="x64",Wr="browser",Vr={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},jr=["/usr/bin/node"],zr=[],Gr="v16.8.0",Hr={},Kr=function(i,t){console.warn((t?t+": ":"")+i)},Yr=function(i){tr("binding")},Jr=function(i){return 0},Zr=function(){return"/"},Xr=function(i){},Qr={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};en=!0,tn=G,rn=[];on={},sn=!1,an={};cn=G,mn=G,St=function(){return{}},fn=St,dn=St,hn=G,yn=G,gn=G,xn={};Sn={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},wn=G,vn=G;Tn=G,In=G,Nn=G,Rn=G,An=G,Cn=void 0,Bn=void 0,Ln=void 0,Fn=G,On=2,Mn=1,Pn="/bin/usr/node",kn=9229,Un="node",_n=[],Dn=G,ge={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};ge.now===void 0&&(Qt=Date.now(),ge.timing&&ge.timing.navigationStart&&(Qt=ge.timing.navigationStart),ge.now=()=>Date.now()-Qt);er=1e9;bt.bigint=function(i){var t=bt(i);return typeof BigInt>"u"?t[0]*er+t[1]:BigInt(t[0]*er)+BigInt(t[1])};qn=10,Wn={},Vn=0;jn=ce,zn=ce,Gn=ce,Hn=ce,Kn=ce,Yn=G,Jn=ce,Zn=ce;Qn={version:Gr,versions:Hr,arch:qr,platform:Wr,browser:en,release:Qr,_rawDebug:tn,moduleLoadList:rn,binding:Yr,_linkedBinding:nn,_events:Wn,_eventsCount:Vn,_maxListeners:qn,on:ce,addListener:jn,once:zn,off:Gn,removeListener:Hn,removeAllListeners:Kn,emit:Yn,prependListener:Jn,prependOnceListener:Zn,listeners:Xn,domain:on,_exiting:sn,config:an,dlopen:ln,uptime:$n,_getActiveRequests:un,_getActiveHandles:pn,reallyExit:cn,_kill:mn,cpuUsage:St,resourceUsage:fn,memoryUsage:dn,kill:hn,exit:yn,openStdin:gn,allowedNodeEnvironmentFlags:xn,assert:bn,features:Sn,_fatalExceptions:wn,setUncaughtExceptionCaptureCallback:vn,hasUncaughtExceptionCaptureCallback:En,emitWarning:Kr,nextTick:_r,_tickCallback:Tn,_debugProcess:In,_debugEnd:Nn,_startProfilerIdleNotifier:Rn,_stopProfilerIdleNotifier:An,stdout:Cn,stdin:Ln,stderr:Bn,abort:Fn,umask:Jr,chdir:Xr,cwd:Zr,env:Vr,title:$r,argv:jr,execArgv:zr,pid:On,ppid:Mn,execPath:Pn,debugPort:kn,hrtime:bt,argv0:Un,_preload_modules:_n,setSourceMapsEnabled:Dn}});var p=Le(()=>{"use strict";ei()});function Vs(){if(ti)return tt;ti=!0,tt.byteLength=S,tt.toByteArray=T,tt.fromByteArray=V;for(var i=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,m=r.length;s<m;++s)i[s]=r[s],t[r.charCodeAt(s)]=s;t[45]=62,t[95]=63;function a(N){var L=N.length;if(L%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var M=N.indexOf("=");M===-1&&(M=L);var W=M===L?0:4-M%4;return[M,W]}function S(N){var L=a(N),M=L[0],W=L[1];return(M+W)*3/4-W}function v(N,L,M){return(L+M)*3/4-M}function T(N){var L,M=a(N),W=M[0],J=M[1],q=new e(v(N,W,J)),Z=0,ee=J>0?W-4:W,Y;for(Y=0;Y<ee;Y+=4)L=t[N.charCodeAt(Y)]<<18|t[N.charCodeAt(Y+1)]<<12|t[N.charCodeAt(Y+2)]<<6|t[N.charCodeAt(Y+3)],q[Z++]=L>>16&255,q[Z++]=L>>8&255,q[Z++]=L&255;return J===2&&(L=t[N.charCodeAt(Y)]<<2|t[N.charCodeAt(Y+1)]>>4,q[Z++]=L&255),J===1&&(L=t[N.charCodeAt(Y)]<<10|t[N.charCodeAt(Y+1)]<<4|t[N.charCodeAt(Y+2)]>>2,q[Z++]=L>>8&255,q[Z++]=L&255),q}function I(N){return i[N>>18&63]+i[N>>12&63]+i[N>>6&63]+i[N&63]}function B(N,L,M){for(var W,J=[],q=L;q<M;q+=3)W=(N[q]<<16&16711680)+(N[q+1]<<8&65280)+(N[q+2]&255),J.push(I(W));return J.join("")}function V(N){for(var L,M=N.length,W=M%3,J=[],q=16383,Z=0,ee=M-W;Z<ee;Z+=q)J.push(B(N,Z,Z+q>ee?ee:Z+q));return W===1?(L=N[M-1],J.push(i[L>>2]+i[L<<4&63]+"==")):W===2&&(L=(N[M-2]<<8)+N[M-1],J.push(i[L>>10]+i[L>>4&63]+i[L<<2&63]+"=")),J.join("")}return tt}function js(){if(ri)return wt;ri=!0;return wt.read=function(i,t,e,r,s){var m,a,S=s*8-r-1,v=(1<<S)-1,T=v>>1,I=-7,B=e?s-1:0,V=e?-1:1,N=i[t+B];for(B+=V,m=N&(1<<-I)-1,N>>=-I,I+=S;I>0;m=m*256+i[t+B],B+=V,I-=8);for(a=m&(1<<-I)-1,m>>=-I,I+=r;I>0;a=a*256+i[t+B],B+=V,I-=8);if(m===0)m=1-T;else{if(m===v)return a?NaN:(N?-1:1)*(1/0);a=a+Math.pow(2,r),m=m-T}return(N?-1:1)*a*Math.pow(2,m-r)},wt.write=function(i,t,e,r,s,m){var a,S,v,T=m*8-s-1,I=(1<<T)-1,B=I>>1,V=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,N=r?0:m-1,L=r?1:-1,M=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(S=isNaN(t)?1:0,a=I):(a=Math.floor(Math.log(t)/Math.LN2),t*(v=Math.pow(2,-a))<1&&(a--,v*=2),a+B>=1?t+=V/v:t+=V*Math.pow(2,1-B),t*v>=2&&(a++,v/=2),a+B>=I?(S=0,a=I):a+B>=1?(S=(t*v-1)*Math.pow(2,s),a=a+B):(S=t*Math.pow(2,B-1)*Math.pow(2,s),a=0));s>=8;i[e+N]=S&255,N+=L,S/=256,s-=8);for(a=a<<s|S,T+=s;T>0;i[e+N]=a&255,N+=L,a/=256,T-=8);i[e+N-L]|=M*128},wt}function ii(){if(ni)return Ie;ni=!0;let i=Vs(),t=js(),e=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ie.Buffer=a,Ie.SlowBuffer=J,Ie.INSPECT_MAX_BYTES=50;let r=2147483647;Ie.kMaxLength=r,a.TYPED_ARRAY_SUPPORT=s(),!a.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 s(){try{let l=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(l,n),l.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function m(l){if(l>r)throw new RangeError('The value "'+l+'" is invalid for option "size"');let n=new Uint8Array(l);return Object.setPrototypeOf(n,a.prototype),n}function a(l,n,o){if(typeof l=="number"){if(typeof n=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return I(l)}return S(l,n,o)}a.poolSize=8192;function S(l,n,o){if(typeof l=="string")return B(l,n);if(ArrayBuffer.isView(l))return N(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(se(l,ArrayBuffer)||l&&se(l.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(se(l,SharedArrayBuffer)||l&&se(l.buffer,SharedArrayBuffer)))return L(l,n,o);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let f=l.valueOf&&l.valueOf();if(f!=null&&f!==l)return a.from(f,n,o);let h=M(l);if(h)return h;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return a.from(l[Symbol.toPrimitive]("string"),n,o);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}a.from=function(l,n,o){return S(l,n,o)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function v(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function T(l,n,o){return v(l),l<=0?m(l):n!==void 0?typeof o=="string"?m(l).fill(n,o):m(l).fill(n):m(l)}a.alloc=function(l,n,o){return T(l,n,o)};function I(l){return v(l),m(l<0?0:W(l)|0)}a.allocUnsafe=function(l){return I(l)},a.allocUnsafeSlow=function(l){return I(l)};function B(l,n){if((typeof n!="string"||n==="")&&(n="utf8"),!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);let o=q(l,n)|0,f=m(o),h=f.write(l,n);return h!==o&&(f=f.slice(0,h)),f}function V(l){let n=l.length<0?0:W(l.length)|0,o=m(n);for(let f=0;f<n;f+=1)o[f]=l[f]&255;return o}function N(l){if(se(l,Uint8Array)){let n=new Uint8Array(l);return L(n.buffer,n.byteOffset,n.byteLength)}return V(l)}function L(l,n,o){if(n<0||l.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<n+(o||0))throw new RangeError('"length" is outside of buffer bounds');let f;return n===void 0&&o===void 0?f=new Uint8Array(l):o===void 0?f=new Uint8Array(l,n):f=new Uint8Array(l,n,o),Object.setPrototypeOf(f,a.prototype),f}function M(l){if(a.isBuffer(l)){let n=W(l.length)|0,o=m(n);return o.length===0||l.copy(o,0,0,n),o}if(l.length!==void 0)return typeof l.length!="number"||Xt(l.length)?m(0):V(l);if(l.type==="Buffer"&&Array.isArray(l.data))return V(l.data)}function W(l){if(l>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return l|0}function J(l){return+l!=l&&(l=0),a.alloc(+l)}a.isBuffer=function(n){return n!=null&&n._isBuffer===!0&&n!==a.prototype},a.compare=function(n,o){if(se(n,Uint8Array)&&(n=a.from(n,n.offset,n.byteLength)),se(o,Uint8Array)&&(o=a.from(o,o.offset,o.byteLength)),!a.isBuffer(n)||!a.isBuffer(o))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===o)return 0;let f=n.length,h=o.length;for(let w=0,E=Math.min(f,h);w<E;++w)if(n[w]!==o[w]){f=n[w],h=o[w];break}return f<h?-1:h<f?1:0},a.isEncoding=function(n){switch(String(n).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}},a.concat=function(n,o){if(!Array.isArray(n))throw new TypeError('"list" argument must be an Array of Buffers');if(n.length===0)return a.alloc(0);let f;if(o===void 0)for(o=0,f=0;f<n.length;++f)o+=n[f].length;let h=a.allocUnsafe(o),w=0;for(f=0;f<n.length;++f){let E=n[f];if(se(E,Uint8Array))w+E.length>h.length?(a.isBuffer(E)||(E=a.from(E)),E.copy(h,w)):Uint8Array.prototype.set.call(h,E,w);else if(a.isBuffer(E))E.copy(h,w);else throw new TypeError('"list" argument must be an Array of Buffers');w+=E.length}return h};function q(l,n){if(a.isBuffer(l))return l.length;if(ArrayBuffer.isView(l)||se(l,ArrayBuffer))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);let o=l.length,f=arguments.length>2&&arguments[2]===!0;if(!f&&o===0)return 0;let h=!1;for(;;)switch(n){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return Zt(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o*2;case"hex":return o>>>1;case"base64":return kr(l).length;default:if(h)return f?-1:Zt(l).length;n=(""+n).toLowerCase(),h=!0}}a.byteLength=q;function Z(l,n,o){let f=!1;if((n===void 0||n<0)&&(n=0),n>this.length||((o===void 0||o>this.length)&&(o=this.length),o<=0)||(o>>>=0,n>>>=0,o<=n))return"";for(l||(l="utf8");;)switch(l){case"hex":return Is(this,n,o);case"utf8":case"utf-8":return Rr(this,n,o);case"ascii":return Es(this,n,o);case"latin1":case"binary":return Ts(this,n,o);case"base64":return ws(this,n,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ns(this,n,o);default:if(f)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),f=!0}}a.prototype._isBuffer=!0;function ee(l,n,o){let f=l[n];l[n]=l[o],l[o]=f}a.prototype.swap16=function(){let n=this.length;if(n%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let o=0;o<n;o+=2)ee(this,o,o+1);return this},a.prototype.swap32=function(){let n=this.length;if(n%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let o=0;o<n;o+=4)ee(this,o,o+3),ee(this,o+1,o+2);return this},a.prototype.swap64=function(){let n=this.length;if(n%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let o=0;o<n;o+=8)ee(this,o,o+7),ee(this,o+1,o+6),ee(this,o+2,o+5),ee(this,o+3,o+4);return this},a.prototype.toString=function(){let n=this.length;return n===0?"":arguments.length===0?Rr(this,0,n):Z.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(n){if(!a.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n?!0:a.compare(this,n)===0},a.prototype.inspect=function(){let n="",o=Ie.INSPECT_MAX_BYTES;return n=this.toString("hex",0,o).replace(/(.{2})/g,"$1 ").trim(),this.length>o&&(n+=" ... "),"<Buffer "+n+">"},e&&(a.prototype[e]=a.prototype.inspect),a.prototype.compare=function(n,o,f,h,w){if(se(n,Uint8Array)&&(n=a.from(n,n.offset,n.byteLength)),!a.isBuffer(n))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(o===void 0&&(o=0),f===void 0&&(f=n?n.length:0),h===void 0&&(h=0),w===void 0&&(w=this.length),o<0||f>n.length||h<0||w>this.length)throw new RangeError("out of range index");if(h>=w&&o>=f)return 0;if(h>=w)return-1;if(o>=f)return 1;if(o>>>=0,f>>>=0,h>>>=0,w>>>=0,this===n)return 0;let E=w-h,F=f-o,_=Math.min(E,F),U=this.slice(h,w),D=n.slice(o,f);for(let P=0;P<_;++P)if(U[P]!==D[P]){E=U[P],F=D[P];break}return E<F?-1:F<E?1:0};function Y(l,n,o,f,h){if(l.length===0)return-1;if(typeof o=="string"?(f=o,o=0):o>2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,Xt(o)&&(o=h?0:l.length-1),o<0&&(o=l.length+o),o>=l.length){if(h)return-1;o=l.length-1}else if(o<0)if(h)o=0;else return-1;if(typeof n=="string"&&(n=a.from(n,f)),a.isBuffer(n))return n.length===0?-1:Nr(l,n,o,f,h);if(typeof n=="number")return n=n&255,typeof Uint8Array.prototype.indexOf=="function"?h?Uint8Array.prototype.indexOf.call(l,n,o):Uint8Array.prototype.lastIndexOf.call(l,n,o):Nr(l,[n],o,f,h);throw new TypeError("val must be string, number or Buffer")}function Nr(l,n,o,f,h){let w=1,E=l.length,F=n.length;if(f!==void 0&&(f=String(f).toLowerCase(),f==="ucs2"||f==="ucs-2"||f==="utf16le"||f==="utf-16le")){if(l.length<2||n.length<2)return-1;w=2,E/=2,F/=2,o/=2}function _(D,P){return w===1?D[P]:D.readUInt16BE(P*w)}let U;if(h){let D=-1;for(U=o;U<E;U++)if(_(l,U)===_(n,D===-1?0:U-D)){if(D===-1&&(D=U),U-D+1===F)return D*w}else D!==-1&&(U-=U-D),D=-1}else for(o+F>E&&(o=E-F),U=o;U>=0;U--){let D=!0;for(let P=0;P<F;P++)if(_(l,U+P)!==_(n,P)){D=!1;break}if(D)return U}return-1}a.prototype.includes=function(n,o,f){return this.indexOf(n,o,f)!==-1},a.prototype.indexOf=function(n,o,f){return Y(this,n,o,f,!0)},a.prototype.lastIndexOf=function(n,o,f){return Y(this,n,o,f,!1)};function ys(l,n,o,f){o=Number(o)||0;let h=l.length-o;f?(f=Number(f),f>h&&(f=h)):f=h;let w=n.length;f>w/2&&(f=w/2);let E;for(E=0;E<f;++E){let F=parseInt(n.substr(E*2,2),16);if(Xt(F))return E;l[o+E]=F}return E}function gs(l,n,o,f){return yt(Zt(n,l.length-o),l,o,f)}function xs(l,n,o,f){return yt(Bs(n),l,o,f)}function bs(l,n,o,f){return yt(kr(n),l,o,f)}function Ss(l,n,o,f){return yt(Ls(n,l.length-o),l,o,f)}a.prototype.write=function(n,o,f,h){if(o===void 0)h="utf8",f=this.length,o=0;else if(f===void 0&&typeof o=="string")h=o,f=this.length,o=0;else if(isFinite(o))o=o>>>0,isFinite(f)?(f=f>>>0,h===void 0&&(h="utf8")):(h=f,f=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let w=this.length-o;if((f===void 0||f>w)&&(f=w),n.length>0&&(f<0||o<0)||o>this.length)throw new RangeError("Attempt to write outside buffer bounds");h||(h="utf8");let E=!1;for(;;)switch(h){case"hex":return ys(this,n,o,f);case"utf8":case"utf-8":return gs(this,n,o,f);case"ascii":case"latin1":case"binary":return xs(this,n,o,f);case"base64":return bs(this,n,o,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ss(this,n,o,f);default:if(E)throw new TypeError("Unknown encoding: "+h);h=(""+h).toLowerCase(),E=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ws(l,n,o){return n===0&&o===l.length?i.fromByteArray(l):i.fromByteArray(l.slice(n,o))}function Rr(l,n,o){o=Math.min(l.length,o);let f=[],h=n;for(;h<o;){let w=l[h],E=null,F=w>239?4:w>223?3:w>191?2:1;if(h+F<=o){let _,U,D,P;switch(F){case 1:w<128&&(E=w);break;case 2:_=l[h+1],(_&192)===128&&(P=(w&31)<<6|_&63,P>127&&(E=P));break;case 3:_=l[h+1],U=l[h+2],(_&192)===128&&(U&192)===128&&(P=(w&15)<<12|(_&63)<<6|U&63,P>2047&&(P<55296||P>57343)&&(E=P));break;case 4:_=l[h+1],U=l[h+2],D=l[h+3],(_&192)===128&&(U&192)===128&&(D&192)===128&&(P=(w&15)<<18|(_&63)<<12|(U&63)<<6|D&63,P>65535&&P<1114112&&(E=P))}}E===null?(E=65533,F=1):E>65535&&(E-=65536,f.push(E>>>10&1023|55296),E=56320|E&1023),f.push(E),h+=F}return vs(f)}let Ar=4096;function vs(l){let n=l.length;if(n<=Ar)return String.fromCharCode.apply(String,l);let o="",f=0;for(;f<n;)o+=String.fromCharCode.apply(String,l.slice(f,f+=Ar));return o}function Es(l,n,o){let f="";o=Math.min(l.length,o);for(let h=n;h<o;++h)f+=String.fromCharCode(l[h]&127);return f}function Ts(l,n,o){let f="";o=Math.min(l.length,o);for(let h=n;h<o;++h)f+=String.fromCharCode(l[h]);return f}function Is(l,n,o){let f=l.length;(!n||n<0)&&(n=0),(!o||o<0||o>f)&&(o=f);let h="";for(let w=n;w<o;++w)h+=Fs[l[w]];return h}function Ns(l,n,o){let f=l.slice(n,o),h="";for(let w=0;w<f.length-1;w+=2)h+=String.fromCharCode(f[w]+f[w+1]*256);return h}a.prototype.slice=function(n,o){let f=this.length;n=~~n,o=o===void 0?f:~~o,n<0?(n+=f,n<0&&(n=0)):n>f&&(n=f),o<0?(o+=f,o<0&&(o=0)):o>f&&(o=f),o<n&&(o=n);let h=this.subarray(n,o);return Object.setPrototypeOf(h,a.prototype),h};function j(l,n,o){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+n>o)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(n,o,f){n=n>>>0,o=o>>>0,f||j(n,o,this.length);let h=this[n],w=1,E=0;for(;++E<o&&(w*=256);)h+=this[n+E]*w;return h},a.prototype.readUintBE=a.prototype.readUIntBE=function(n,o,f){n=n>>>0,o=o>>>0,f||j(n,o,this.length);let h=this[n+--o],w=1;for(;o>0&&(w*=256);)h+=this[n+--o]*w;return h},a.prototype.readUint8=a.prototype.readUInt8=function(n,o){return n=n>>>0,o||j(n,1,this.length),this[n]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(n,o){return n=n>>>0,o||j(n,2,this.length),this[n]|this[n+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(n,o){return n=n>>>0,o||j(n,2,this.length),this[n]<<8|this[n+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(n,o){return n=n>>>0,o||j(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+this[n+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(n,o){return n=n>>>0,o||j(n,4,this.length),this[n]*16777216+(this[n+1]<<16|this[n+2]<<8|this[n+3])},a.prototype.readBigUInt64LE=he(function(n){n=n>>>0,Be(n,"offset");let o=this[n],f=this[n+7];(o===void 0||f===void 0)&&Qe(n,this.length-8);let h=o+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24,w=this[++n]+this[++n]*2**8+this[++n]*2**16+f*2**24;return BigInt(h)+(BigInt(w)<<BigInt(32))}),a.prototype.readBigUInt64BE=he(function(n){n=n>>>0,Be(n,"offset");let o=this[n],f=this[n+7];(o===void 0||f===void 0)&&Qe(n,this.length-8);let h=o*2**24+this[++n]*2**16+this[++n]*2**8+this[++n],w=this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+f;return(BigInt(h)<<BigInt(32))+BigInt(w)}),a.prototype.readIntLE=function(n,o,f){n=n>>>0,o=o>>>0,f||j(n,o,this.length);let h=this[n],w=1,E=0;for(;++E<o&&(w*=256);)h+=this[n+E]*w;return w*=128,h>=w&&(h-=Math.pow(2,8*o)),h},a.prototype.readIntBE=function(n,o,f){n=n>>>0,o=o>>>0,f||j(n,o,this.length);let h=o,w=1,E=this[n+--h];for(;h>0&&(w*=256);)E+=this[n+--h]*w;return w*=128,E>=w&&(E-=Math.pow(2,8*o)),E},a.prototype.readInt8=function(n,o){return n=n>>>0,o||j(n,1,this.length),this[n]&128?(255-this[n]+1)*-1:this[n]},a.prototype.readInt16LE=function(n,o){n=n>>>0,o||j(n,2,this.length);let f=this[n]|this[n+1]<<8;return f&32768?f|4294901760:f},a.prototype.readInt16BE=function(n,o){n=n>>>0,o||j(n,2,this.length);let f=this[n+1]|this[n]<<8;return f&32768?f|4294901760:f},a.prototype.readInt32LE=function(n,o){return n=n>>>0,o||j(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},a.prototype.readInt32BE=function(n,o){return n=n>>>0,o||j(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},a.prototype.readBigInt64LE=he(function(n){n=n>>>0,Be(n,"offset");let o=this[n],f=this[n+7];(o===void 0||f===void 0)&&Qe(n,this.length-8);let h=this[n+4]+this[n+5]*2**8+this[n+6]*2**16+(f<<24);return(BigInt(h)<<BigInt(32))+BigInt(o+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24)}),a.prototype.readBigInt64BE=he(function(n){n=n>>>0,Be(n,"offset");let o=this[n],f=this[n+7];(o===void 0||f===void 0)&&Qe(n,this.length-8);let h=(o<<24)+this[++n]*2**16+this[++n]*2**8+this[++n];return(BigInt(h)<<BigInt(32))+BigInt(this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+f)}),a.prototype.readFloatLE=function(n,o){return n=n>>>0,o||j(n,4,this.length),t.read(this,n,!0,23,4)},a.prototype.readFloatBE=function(n,o){return n=n>>>0,o||j(n,4,this.length),t.read(this,n,!1,23,4)},a.prototype.readDoubleLE=function(n,o){return n=n>>>0,o||j(n,8,this.length),t.read(this,n,!0,52,8)},a.prototype.readDoubleBE=function(n,o){return n=n>>>0,o||j(n,8,this.length),t.read(this,n,!1,52,8)};function X(l,n,o,f,h,w){if(!a.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>h||n<w)throw new RangeError('"value" argument is out of bounds');if(o+f>l.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(n,o,f,h){if(n=+n,o=o>>>0,f=f>>>0,!h){let F=Math.pow(2,8*f)-1;X(this,n,o,f,F,0)}let w=1,E=0;for(this[o]=n&255;++E<f&&(w*=256);)this[o+E]=n/w&255;return o+f},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(n,o,f,h){if(n=+n,o=o>>>0,f=f>>>0,!h){let F=Math.pow(2,8*f)-1;X(this,n,o,f,F,0)}let w=f-1,E=1;for(this[o+w]=n&255;--w>=0&&(E*=256);)this[o+w]=n/E&255;return o+f},a.prototype.writeUint8=a.prototype.writeUInt8=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,1,255,0),this[o]=n&255,o+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,2,65535,0),this[o]=n&255,this[o+1]=n>>>8,o+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,2,65535,0),this[o]=n>>>8,this[o+1]=n&255,o+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,4,4294967295,0),this[o+3]=n>>>24,this[o+2]=n>>>16,this[o+1]=n>>>8,this[o]=n&255,o+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,4,4294967295,0),this[o]=n>>>24,this[o+1]=n>>>16,this[o+2]=n>>>8,this[o+3]=n&255,o+4};function Cr(l,n,o,f,h){Pr(n,f,h,l,o,7);let w=Number(n&BigInt(4294967295));l[o++]=w,w=w>>8,l[o++]=w,w=w>>8,l[o++]=w,w=w>>8,l[o++]=w;let E=Number(n>>BigInt(32)&BigInt(4294967295));return l[o++]=E,E=E>>8,l[o++]=E,E=E>>8,l[o++]=E,E=E>>8,l[o++]=E,o}function Br(l,n,o,f,h){Pr(n,f,h,l,o,7);let w=Number(n&BigInt(4294967295));l[o+7]=w,w=w>>8,l[o+6]=w,w=w>>8,l[o+5]=w,w=w>>8,l[o+4]=w;let E=Number(n>>BigInt(32)&BigInt(4294967295));return l[o+3]=E,E=E>>8,l[o+2]=E,E=E>>8,l[o+1]=E,E=E>>8,l[o]=E,o+8}a.prototype.writeBigUInt64LE=he(function(n,o=0){return Cr(this,n,o,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=he(function(n,o=0){return Br(this,n,o,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(n,o,f,h){if(n=+n,o=o>>>0,!h){let _=Math.pow(2,8*f-1);X(this,n,o,f,_-1,-_)}let w=0,E=1,F=0;for(this[o]=n&255;++w<f&&(E*=256);)n<0&&F===0&&this[o+w-1]!==0&&(F=1),this[o+w]=(n/E>>0)-F&255;return o+f},a.prototype.writeIntBE=function(n,o,f,h){if(n=+n,o=o>>>0,!h){let _=Math.pow(2,8*f-1);X(this,n,o,f,_-1,-_)}let w=f-1,E=1,F=0;for(this[o+w]=n&255;--w>=0&&(E*=256);)n<0&&F===0&&this[o+w+1]!==0&&(F=1),this[o+w]=(n/E>>0)-F&255;return o+f},a.prototype.writeInt8=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,1,127,-128),n<0&&(n=255+n+1),this[o]=n&255,o+1},a.prototype.writeInt16LE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,2,32767,-32768),this[o]=n&255,this[o+1]=n>>>8,o+2},a.prototype.writeInt16BE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,2,32767,-32768),this[o]=n>>>8,this[o+1]=n&255,o+2},a.prototype.writeInt32LE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,4,2147483647,-2147483648),this[o]=n&255,this[o+1]=n>>>8,this[o+2]=n>>>16,this[o+3]=n>>>24,o+4},a.prototype.writeInt32BE=function(n,o,f){return n=+n,o=o>>>0,f||X(this,n,o,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),this[o]=n>>>24,this[o+1]=n>>>16,this[o+2]=n>>>8,this[o+3]=n&255,o+4},a.prototype.writeBigInt64LE=he(function(n,o=0){return Cr(this,n,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=he(function(n,o=0){return Br(this,n,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Lr(l,n,o,f,h,w){if(o+f>l.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function Fr(l,n,o,f,h){return n=+n,o=o>>>0,h||Lr(l,n,o,4),t.write(l,n,o,f,23,4),o+4}a.prototype.writeFloatLE=function(n,o,f){return Fr(this,n,o,!0,f)},a.prototype.writeFloatBE=function(n,o,f){return Fr(this,n,o,!1,f)};function Or(l,n,o,f,h){return n=+n,o=o>>>0,h||Lr(l,n,o,8),t.write(l,n,o,f,52,8),o+8}a.prototype.writeDoubleLE=function(n,o,f){return Or(this,n,o,!0,f)},a.prototype.writeDoubleBE=function(n,o,f){return Or(this,n,o,!1,f)},a.prototype.copy=function(n,o,f,h){if(!a.isBuffer(n))throw new TypeError("argument should be a Buffer");if(f||(f=0),!h&&h!==0&&(h=this.length),o>=n.length&&(o=n.length),o||(o=0),h>0&&h<f&&(h=f),h===f||n.length===0||this.length===0)return 0;if(o<0)throw new RangeError("targetStart out of bounds");if(f<0||f>=this.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("sourceEnd out of bounds");h>this.length&&(h=this.length),n.length-o<h-f&&(h=n.length-o+f);let w=h-f;return this===n&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(o,f,h):Uint8Array.prototype.set.call(n,this.subarray(f,h),o),w},a.prototype.fill=function(n,o,f,h){if(typeof n=="string"){if(typeof o=="string"?(h=o,o=0,f=this.length):typeof f=="string"&&(h=f,f=this.length),h!==void 0&&typeof h!="string")throw new TypeError("encoding must be a string");if(typeof h=="string"&&!a.isEncoding(h))throw new TypeError("Unknown encoding: "+h);if(n.length===1){let E=n.charCodeAt(0);(h==="utf8"&&E<128||h==="latin1")&&(n=E)}}else typeof n=="number"?n=n&255:typeof n=="boolean"&&(n=Number(n));if(o<0||this.length<o||this.length<f)throw new RangeError("Out of range index");if(f<=o)return this;o=o>>>0,f=f===void 0?this.length:f>>>0,n||(n=0);let w;if(typeof n=="number")for(w=o;w<f;++w)this[w]=n;else{let E=a.isBuffer(n)?n:a.from(n,h),F=E.length;if(F===0)throw new TypeError('The value "'+n+'" is invalid for argument "value"');for(w=0;w<f-o;++w)this[w+o]=E[w%F]}return this};let Ce={};function Jt(l,n,o){Ce[l]=class extends o{constructor(){super(),Object.defineProperty(this,"message",{value:n.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(h){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:h,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}Jt("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Jt("ERR_INVALID_ARG_TYPE",function(l,n){return`The "${l}" argument must be of type number. Received type ${typeof n}`},TypeError),Jt("ERR_OUT_OF_RANGE",function(l,n,o){let f=`The value of "${l}" is out of range.`,h=o;return Number.isInteger(o)&&Math.abs(o)>2**32?h=Mr(String(o)):typeof o=="bigint"&&(h=String(o),(o>BigInt(2)**BigInt(32)||o<-(BigInt(2)**BigInt(32)))&&(h=Mr(h)),h+="n"),f+=` It must be ${n}. Received ${h}`,f},RangeError);function Mr(l){let n="",o=l.length,f=l[0]==="-"?1:0;for(;o>=f+4;o-=3)n=`_${l.slice(o-3,o)}${n}`;return`${l.slice(0,o)}${n}`}function Rs(l,n,o){Be(n,"offset"),(l[n]===void 0||l[n+o]===void 0)&&Qe(n,l.length-(o+1))}function Pr(l,n,o,f,h,w){if(l>o||l<n){let E=typeof n=="bigint"?"n":"",F;throw n===0||n===BigInt(0)?F=`>= 0${E} and < 2${E} ** ${(w+1)*8}${E}`:F=`>= -(2${E} ** ${(w+1)*8-1}${E}) and < 2 ** ${(w+1)*8-1}${E}`,new Ce.ERR_OUT_OF_RANGE("value",F,l)}Rs(f,h,w)}function Be(l,n){if(typeof l!="number")throw new Ce.ERR_INVALID_ARG_TYPE(n,"number",l)}function Qe(l,n,o){throw Math.floor(l)!==l?(Be(l,o),new Ce.ERR_OUT_OF_RANGE("offset","an integer",l)):n<0?new Ce.ERR_BUFFER_OUT_OF_BOUNDS:new Ce.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${n}`,l)}let As=/[^+/0-9A-Za-z-_]/g;function Cs(l){if(l=l.split("=")[0],l=l.trim().replace(As,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function Zt(l,n){n=n||1/0;let o,f=l.length,h=null,w=[];for(let E=0;E<f;++E){if(o=l.charCodeAt(E),o>55295&&o<57344){if(!h){if(o>56319){(n-=3)>-1&&w.push(239,191,189);continue}else if(E+1===f){(n-=3)>-1&&w.push(239,191,189);continue}h=o;continue}if(o<56320){(n-=3)>-1&&w.push(239,191,189),h=o;continue}o=(h-55296<<10|o-56320)+65536}else h&&(n-=3)>-1&&w.push(239,191,189);if(h=null,o<128){if((n-=1)<0)break;w.push(o)}else if(o<2048){if((n-=2)<0)break;w.push(o>>6|192,o&63|128)}else if(o<65536){if((n-=3)<0)break;w.push(o>>12|224,o>>6&63|128,o&63|128)}else if(o<1114112){if((n-=4)<0)break;w.push(o>>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else throw new Error("Invalid code point")}return w}function Bs(l){let n=[];for(let o=0;o<l.length;++o)n.push(l.charCodeAt(o)&255);return n}function Ls(l,n){let o,f,h,w=[];for(let E=0;E<l.length&&!((n-=2)<0);++E)o=l.charCodeAt(E),f=o>>8,h=o%256,w.push(h),w.push(f);return w}function kr(l){return i.toByteArray(Cs(l))}function yt(l,n,o,f){let h;for(h=0;h<f&&!(h+o>=n.length||h>=l.length);++h)n[h+o]=l[h];return h}function se(l,n){return l instanceof n||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===n.name}function Xt(l){return l!==l}let Fs=(function(){let l="0123456789abcdef",n=new Array(256);for(let o=0;o<16;++o){let f=o*16;for(let h=0;h<16;++h)n[f+h]=l[o]+l[h]}return n})();function he(l){return typeof BigInt>"u"?Os:l}function Os(){throw new Error("BigInt not supported")}return Ie}var tt,ti,wt,ri,Ie,ni,oi=Le(()=>{"use strict";u();c();p();tt={},ti=!1;wt={},ri=!1;Ie={},ni=!1});var Ne,g,Qp,ec,si=Le(()=>{"use strict";u();c();p();oi();Ne=ii();Ne.Buffer;Ne.SlowBuffer;Ne.INSPECT_MAX_BYTES;Ne.kMaxLength;g=Ne.Buffer,Qp=Ne.INSPECT_MAX_BYTES,ec=Ne.kMaxLength});var c=Le(()=>{"use strict";si()});var cr=ye((Sw,Ho)=>{"use strict";u();c();p();function Hu(i){return!(typeof i!="number"||i!==i||i===1/0||i===-1/0)}Ho.exports=Hu});var Yo=ye((Tw,Ko)=>{"use strict";u();c();p();var Ku=9007199254740991;Ko.exports=Ku});var mr=ye((Aw,Jo)=>{"use strict";u();c();p();var Yu=Yo();function Ju(i){return typeof i=="number"&&Math.abs(i)<=Yu}Jo.exports=Ju});var Xo=ye((Fw,Zo)=>{"use strict";u();c();p();var Zu=cr(),Xu=mr();function Qu(i){var t=parseInt(i,10);if(!Zu(t))throw new TypeError("Not a finite number: "+i+" ("+typeof i+")");if(!Xu(t))throw new RangeError("Input is not a safe number, it\u2019s either too large or too small.");var e=String(t),r=Math.abs(t%100),s=r>=11&&r<=13,m=e.charAt(e.length-1);return e+(s?"th":m==="1"?"st":m==="2"?"nd":m==="3"?"rd":"th")}Zo.exports=Qu});var fr=ye((kw,ts)=>{"use strict";u();c();p();var ep=/(hundred|thousand|(m|b|tr|quadr)illion)$/,tp=/teen$/,Qo=/y$/,es=/(zero|one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve)$/,rp={zero:"zeroth",one:"first",two:"second",three:"third",four:"fourth",five:"fifth",six:"sixth",seven:"seventh",eight:"eighth",nine:"ninth",ten:"tenth",eleven:"eleventh",twelve:"twelfth"};function np(i){return ep.test(i)||tp.test(i)?i+"th":Qo.test(i)?i.replace(Qo,"ieth"):es.test(i)?i.replace(es,ip):i}function ip(i,t){return rp[t]}ts.exports=np});var Sr=ye(($w,is)=>{"use strict";u();c();p();var op=fr(),sp=cr(),ap=mr(),rs=10,dr=100,hr=1e3,yr=1e6,gr=1e9,xr=1e12,br=1e15,lp=9007199254740992,ns=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],up=["zero","ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"];function pp(i,t){var e,r=parseInt(i,10);if(!sp(r))throw new TypeError("Not a finite number: "+i+" ("+typeof i+")");if(!ap(r))throw new RangeError("Input is not a safe number, it\u2019s either too large or too small.");return e=Ee(r),t?op(e):e}function Ee(i){var t,e,r=arguments[1];return i===0?r?r.join(" ").replace(/,$/,""):"zero":(r||(r=[]),i<0&&(r.push("minus"),i=Math.abs(i)),i<20?(t=0,e=ns[i]):i<dr?(t=i%rs,e=up[Math.floor(i/rs)],t&&(e+="-"+ns[t],t=0)):i<hr?(t=i%dr,e=Ee(Math.floor(i/dr))+" hundred"):i<yr?(t=i%hr,e=Ee(Math.floor(i/hr))+" thousand,"):i<gr?(t=i%yr,e=Ee(Math.floor(i/yr))+" million,"):i<xr?(t=i%gr,e=Ee(Math.floor(i/gr))+" billion,"):i<br?(t=i%xr,e=Ee(Math.floor(i/xr))+" trillion,"):i<=lp&&(t=i%br,e=Ee(Math.floor(i/br))+" quadrillion,"),r.push(e),Ee(t,r))}is.exports=pp});var ss=ye((jw,os)=>{"use strict";u();c();p();var cp=fr(),mp=Sr();function fp(i){var t=mp(i);return cp(t)}os.exports=fp});var ls=ye((Kw,as)=>{"use strict";u();c();p();as.exports={toOrdinal:Xo(),toWords:Sr(),toWordsOrdinal:ss()}});u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();var zs=typeof global=="object"&&global&&global.Object===Object&&global,ai=zs;var Gs=typeof self=="object"&&self&&self.Object===Object&&self,Hs=ai||Gs||Function("return this")(),xe=Hs;var Ks=xe.Symbol,me=Ks;u();c();p();var li=Object.prototype,Ys=li.hasOwnProperty,Js=li.toString,rt=me?me.toStringTag:void 0;function Zs(i){var t=Ys.call(i,rt),e=i[rt];try{i[rt]=void 0;var r=!0}catch{}var s=Js.call(i);return r&&(t?i[rt]=e:delete i[rt]),s}var ui=Zs;u();c();p();var Xs=Object.prototype,Qs=Xs.toString;function ea(i){return Qs.call(i)}var pi=ea;var ta="[object Null]",ra="[object Undefined]",ci=me?me.toStringTag:void 0;function na(i){return i==null?i===void 0?ra:ta:ci&&ci in Object(i)?ui(i):pi(i)}var vt=na;u();c();p();function ia(i){return i!=null&&typeof i=="object"}var mi=ia;var oa="[object Symbol]";function sa(i){return typeof i=="symbol"||mi(i)&&vt(i)==oa}var fi=sa;u();c();p();u();c();p();function aa(i,t){for(var e=-1,r=i==null?0:i.length,s=Array(r);++e<r;)s[e]=t(i[e],e,i);return s}var di=aa;u();c();p();var la=Array.isArray,hi=la;var ua=1/0,yi=me?me.prototype:void 0,gi=yi?yi.toString:void 0;function xi(i){if(typeof i=="string")return i;if(hi(i))return di(i,xi)+"";if(fi(i))return gi?gi.call(i):"";var t=i+"";return t=="0"&&1/i==-ua?"-0":t}var bi=xi;u();c();p();function pa(i){var t=typeof i;return i!=null&&(t=="object"||t=="function")}var Et=pa;u();c();p();u();c();p();u();c();p();var ca="[object AsyncFunction]",ma="[object Function]",fa="[object GeneratorFunction]",da="[object Proxy]";function ha(i){if(!Et(i))return!1;var t=vt(i);return t==ma||t==fa||t==ca||t==da}var Si=ha;u();c();p();u();c();p();var ya=xe["__core-js_shared__"],Tt=ya;var wi=(function(){var i=/[^.]+$/.exec(Tt&&Tt.keys&&Tt.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})();function ga(i){return!!wi&&wi in i}var vi=ga;u();c();p();var xa=Function.prototype,ba=xa.toString;function Sa(i){if(i!=null){try{return ba.call(i)}catch{}try{return i+""}catch{}}return""}var Ei=Sa;var wa=/[\\^$.*+?()[\]{}|]/g,va=/^\[object .+?Constructor\]$/,Ea=Function.prototype,Ta=Object.prototype,Ia=Ea.toString,Na=Ta.hasOwnProperty,Ra=RegExp("^"+Ia.call(Na).replace(wa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Aa(i){if(!Et(i)||vi(i))return!1;var t=Si(i)?Ra:va;return t.test(Ei(i))}var Ti=Aa;u();c();p();function Ca(i,t){return i?.[t]}var Ii=Ca;function Ba(i,t){var e=Ii(i,t);return Ti(e)?e:void 0}var Oe=Ba;u();c();p();function La(){}var Ni=La;u();c();p();u();c();p();u();c();p();function Fa(i,t,e,r){for(var s=i.length,m=e+(r?1:-1);r?m--:++m<s;)if(t(i[m],m,i))return m;return-1}var Ri=Fa;u();c();p();function Oa(i){return i!==i}var Ai=Oa;u();c();p();function Ma(i,t,e){for(var r=e-1,s=i.length;++r<s;)if(i[r]===t)return r;return-1}var Ci=Ma;function Pa(i,t,e){return t===t?Ci(i,t,e):Ri(i,Ai,e)}var Bi=Pa;function ka(i,t){var e=i==null?0:i.length;return!!e&&Bi(i,t,0)>-1}var Li=ka;u();c();p();function Ua(i,t){return i===t||i!==i&&t!==t}var Fi=Ua;u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();var _a=Oe(Object,"create"),fe=_a;function Da(){this.__data__=fe?fe(null):{},this.size=0}var Oi=Da;u();c();p();function $a(i){var t=this.has(i)&&delete this.__data__[i];return this.size-=t?1:0,t}var Mi=$a;u();c();p();var qa="__lodash_hash_undefined__",Wa=Object.prototype,Va=Wa.hasOwnProperty;function ja(i){var t=this.__data__;if(fe){var e=t[i];return e===qa?void 0:e}return Va.call(t,i)?t[i]:void 0}var Pi=ja;u();c();p();var za=Object.prototype,Ga=za.hasOwnProperty;function Ha(i){var t=this.__data__;return fe?t[i]!==void 0:Ga.call(t,i)}var ki=Ha;u();c();p();var Ka="__lodash_hash_undefined__";function Ya(i,t){var e=this.__data__;return this.size+=this.has(i)?0:1,e[i]=fe&&t===void 0?Ka:t,this}var Ui=Ya;function Me(i){var t=-1,e=i==null?0:i.length;for(this.clear();++t<e;){var r=i[t];this.set(r[0],r[1])}}Me.prototype.clear=Oi;Me.prototype.delete=Mi;Me.prototype.get=Pi;Me.prototype.has=ki;Me.prototype.set=Ui;var rr=Me;u();c();p();u();c();p();function Ja(){this.__data__=[],this.size=0}var _i=Ja;u();c();p();u();c();p();function Za(i,t){for(var e=i.length;e--;)if(Fi(i[e][0],t))return e;return-1}var be=Za;var Xa=Array.prototype,Qa=Xa.splice;function el(i){var t=this.__data__,e=be(t,i);if(e<0)return!1;var r=t.length-1;return e==r?t.pop():Qa.call(t,e,1),--this.size,!0}var Di=el;u();c();p();function tl(i){var t=this.__data__,e=be(t,i);return e<0?void 0:t[e][1]}var $i=tl;u();c();p();function rl(i){return be(this.__data__,i)>-1}var qi=rl;u();c();p();function nl(i,t){var e=this.__data__,r=be(e,i);return r<0?(++this.size,e.push([i,t])):e[r][1]=t,this}var Wi=nl;function Pe(i){var t=-1,e=i==null?0:i.length;for(this.clear();++t<e;){var r=i[t];this.set(r[0],r[1])}}Pe.prototype.clear=_i;Pe.prototype.delete=Di;Pe.prototype.get=$i;Pe.prototype.has=qi;Pe.prototype.set=Wi;var Vi=Pe;u();c();p();var il=Oe(xe,"Map"),ji=il;function ol(){this.size=0,this.__data__={hash:new rr,map:new(ji||Vi),string:new rr}}var zi=ol;u();c();p();u();c();p();u();c();p();function sl(i){var t=typeof i;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?i!=="__proto__":i===null}var Gi=sl;function al(i,t){var e=i.__data__;return Gi(t)?e[typeof t=="string"?"string":"hash"]:e.map}var Se=al;function ll(i){var t=Se(this,i).delete(i);return this.size-=t?1:0,t}var Hi=ll;u();c();p();function ul(i){return Se(this,i).get(i)}var Ki=ul;u();c();p();function pl(i){return Se(this,i).has(i)}var Yi=pl;u();c();p();function cl(i,t){var e=Se(this,i),r=e.size;return e.set(i,t),this.size+=e.size==r?0:1,this}var Ji=cl;function ke(i){var t=-1,e=i==null?0:i.length;for(this.clear();++t<e;){var r=i[t];this.set(r[0],r[1])}}ke.prototype.clear=zi;ke.prototype.delete=Hi;ke.prototype.get=Ki;ke.prototype.has=Yi;ke.prototype.set=Ji;var Zi=ke;u();c();p();function ml(i){return i==null?"":bi(i)}var we=ml;u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();u();c();p();function fl(i,t,e){var r=-1,s=i.length;t<0&&(t=-t>s?0:s+t),e=e>s?s:e,e<0&&(e+=s),s=t>e?0:e-t>>>0,t>>>=0;for(var m=Array(s);++r<s;)m[r]=i[r+t];return m}var Xi=fl;function dl(i,t,e){var r=i.length;return e=e===void 0?r:e,!t&&e>=r?i:Xi(i,t,e)}var Qi=dl;u();c();p();var hl="\\ud800-\\udfff",yl="\\u0300-\\u036f",gl="\\ufe20-\\ufe2f",xl="\\u20d0-\\u20ff",bl=yl+gl+xl,Sl="\\ufe0e\\ufe0f",wl="\\u200d",vl=RegExp("["+wl+hl+bl+Sl+"]");function El(i){return vl.test(i)}var It=El;u();c();p();u();c();p();function Tl(i){return i.split("")}var eo=Tl;u();c();p();var to="\\ud800-\\udfff",Il="\\u0300-\\u036f",Nl="\\ufe20-\\ufe2f",Rl="\\u20d0-\\u20ff",Al=Il+Nl+Rl,Cl="\\ufe0e\\ufe0f",Bl="["+to+"]",nr="["+Al+"]",ir="\\ud83c[\\udffb-\\udfff]",Ll="(?:"+nr+"|"+ir+")",ro="[^"+to+"]",no="(?:\\ud83c[\\udde6-\\uddff]){2}",io="[\\ud800-\\udbff][\\udc00-\\udfff]",Fl="\\u200d",oo=Ll+"?",so="["+Cl+"]?",Ol="(?:"+Fl+"(?:"+[ro,no,io].join("|")+")"+so+oo+")*",Ml=so+oo+Ol,Pl="(?:"+[ro+nr+"?",nr,no,io,Bl].join("|")+")",kl=RegExp(ir+"(?="+ir+")|"+Pl+Ml,"g");function Ul(i){return i.match(kl)||[]}var ao=Ul;function _l(i){return It(i)?ao(i):eo(i)}var lo=_l;function Dl(i){return function(t){t=we(t);var e=It(t)?lo(t):void 0,r=e?e[0]:t.charAt(0),s=e?Qi(e,1).join(""):t.slice(1);return r[i]()+s}}var uo=Dl;var $l=uo("toUpperCase"),H=$l;function ql(i){return H(we(i).toLowerCase())}var po=ql;u();c();p();u();c();p();function Wl(i,t,e,r){var s=-1,m=i==null?0:i.length;for(r&&m&&(e=i[++s]);++s<m;)e=t(e,i[s],s,i);return e}var co=Wl;u();c();p();u();c();p();u();c();p();function Vl(i){return function(t){return i?.[t]}}var mo=Vl;var jl={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},zl=mo(jl),fo=zl;var Gl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hl="\\u0300-\\u036f",Kl="\\ufe20-\\ufe2f",Yl="\\u20d0-\\u20ff",Jl=Hl+Kl+Yl,Zl="["+Jl+"]",Xl=RegExp(Zl,"g");function Ql(i){return i=we(i),i&&i.replace(Gl,fo).replace(Xl,"")}var ho=Ql;u();c();p();u();c();p();var eu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function tu(i){return i.match(eu)||[]}var yo=tu;u();c();p();var ru=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function nu(i){return ru.test(i)}var go=nu;u();c();p();var vo="\\ud800-\\udfff",iu="\\u0300-\\u036f",ou="\\ufe20-\\ufe2f",su="\\u20d0-\\u20ff",au=iu+ou+su,Eo="\\u2700-\\u27bf",To="a-z\\xdf-\\xf6\\xf8-\\xff",lu="\\xac\\xb1\\xd7\\xf7",uu="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",pu="\\u2000-\\u206f",cu=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Io="A-Z\\xc0-\\xd6\\xd8-\\xde",mu="\\ufe0e\\ufe0f",No=lu+uu+pu+cu,Ro="['\u2019]",xo="["+No+"]",fu="["+au+"]",Ao="\\d+",du="["+Eo+"]",Co="["+To+"]",Bo="[^"+vo+No+Ao+Eo+To+Io+"]",hu="\\ud83c[\\udffb-\\udfff]",yu="(?:"+fu+"|"+hu+")",gu="[^"+vo+"]",Lo="(?:\\ud83c[\\udde6-\\uddff]){2}",Fo="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Io+"]",xu="\\u200d",bo="(?:"+Co+"|"+Bo+")",bu="(?:"+Ue+"|"+Bo+")",So="(?:"+Ro+"(?:d|ll|m|re|s|t|ve))?",wo="(?:"+Ro+"(?:D|LL|M|RE|S|T|VE))?",Oo=yu+"?",Mo="["+mu+"]?",Su="(?:"+xu+"(?:"+[gu,Lo,Fo].join("|")+")"+Mo+Oo+")*",wu="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",vu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Eu=Mo+Oo+Su,Tu="(?:"+[du,Lo,Fo].join("|")+")"+Eu,Iu=RegExp([Ue+"?"+Co+"+"+So+"(?="+[xo,Ue,"$"].join("|")+")",bu+"+"+wo+"(?="+[xo,Ue+bo,"$"].join("|")+")",Ue+"?"+bo+"+"+So,Ue+"+"+wo,vu,wu,Ao,Tu].join("|"),"g");function Nu(i){return i.match(Iu)||[]}var Po=Nu;function Ru(i,t,e){return i=we(i),t=e?void 0:t,t===void 0?go(i)?Po(i):yo(i):i.match(t)||[]}var ko=Ru;var Au="['\u2019]",Cu=RegExp(Au,"g");function Bu(i){return function(t){return co(ko(ho(t).replace(Cu,"")),i,"")}}var Uo=Bu;var Lu=Uo(function(i,t,e){return t=t.toLowerCase(),i+(e?po(t):t)}),te=Lu;u();c();p();var Fu=Oe(xe,"Set"),Nt=Fu;u();c();p();u();c();p();var Ou="__lodash_hash_undefined__";function Mu(i){return this.__data__.set(i,Ou),this}var _o=Mu;u();c();p();function Pu(i){return this.__data__.has(i)}var Do=Pu;function Rt(i){var t=-1,e=i==null?0:i.length;for(this.__data__=new Zi;++t<e;)this.add(i[t])}Rt.prototype.add=Rt.prototype.push=_o;Rt.prototype.has=Do;var $o=Rt;u();c();p();function ku(i,t){return i.has(t)}var qo=ku;u();c();p();function Uu(i){var t=-1,e=Array(i.size);return i.forEach(function(r){e[++t]=r}),e}var At=Uu;u();c();p();function _u(i,t,e){for(var r=-1,s=i==null?0:i.length;++r<s;)if(e(t,i[r]))return!0;return!1}var Wo=_u;u();c();p();u();c();p();var Du=1/0,$u=Nt&&1/At(new Nt([,-0]))[1]==Du?function(i){return new Nt(i)}:Ni,Vo=$u;var qu=200;function Wu(i,t,e){var r=-1,s=Li,m=i.length,a=!0,S=[],v=S;if(e)a=!1,s=Wo;else if(m>=qu){var T=t?null:Vo(i);if(T)return At(T);a=!1,s=qo,v=new $o}else v=t?[]:S;e:for(;++r<m;){var I=i[r],B=t?t(I):I;if(I=e||I!==0?I:0,a&&B===B){for(var V=v.length;V--;)if(v[V]===B)continue e;t&&v.push(B),S.push(I)}else s(v,B,e)||(v!==S&&v.push(B),S.push(I))}return S}var jo=Wu;u();c();p();function Vu(i,t){return t=typeof t=="function"?t:void 0,i&&i.length?jo(i,void 0,t):[]}var or=Vu;u();c();p();function ne(i,t){if(i===void 0)throw new Error(t??"Expected value to be defined but got undefined.")}function Q(i,t){if(i===null)throw new Error(t??"Expected value to be non-null but got null.")}function sr(i,t){if(typeof i!="string")throw new Error(t??`Expected value to be a string but got ${typeof i}.`)}function A(i){throw new Error("Unexpected value: "+JSON.stringify(i))}u();c();p();function K(){}u();c();p();function nt(i){return Object.keys(i)}u();c();p();function ar(i){return Object.entries(i)}u();c();p();var it=class it{constructor(t){d(this,"symbolSet");d(this,"symbolMap");d(this,"conflictResolutionStrategy");this.symbolSet=new Set(t?.reservedSymbolNames??it.defaultOptions.reservedSymbolNames),this.symbolMap=new Map,this.conflictResolutionStrategy=t?.conflictResolutionStrategy??it.defaultOptions.conflictResolutionStrategy}getSymbolNameByIdOrThrow(t){let e=this.getSymbolNameById(t);return ne(e,`Symbol with ID '${t}' not found for in registry.`),e}getSymbolNameById(t){return this.symbolMap.get(t)}registerSymbol(t,e){if(this.isSymbolIdRegistered(t))throw new Error(`Symbol with ID '${t}' is already registered.`);let s=this.getAvailableSymbolName(e);return this.symbolMap.set(t,s),this.symbolSet.add(s),s}getAvailableSymbolName(t){for(let s of t)if(!this.isSymbolNameRegistered(s))return s;let[e]=t,r=e;if(this.conflictResolutionStrategy==="numbered-suffix"){let s=2;for(;this.isSymbolNameRegistered(r);)r=`${e}${s++}`}else if(this.conflictResolutionStrategy==="underscore-suffix")for(;this.isSymbolNameRegistered(r);)r+="_";else A(this.conflictResolutionStrategy);return r}isSymbolNameRegistered(t){return this.symbolSet.has(t)}isSymbolIdRegistered(t){return this.symbolMap.has(t)}getAllSymbols(){return Array.from(this.symbolMap.entries()).map(([t,e])=>({id:t,name:e}))}};d(it,"defaultOptions",{reservedSymbolNames:[],conflictResolutionStrategy:"underscore-suffix"});var re=it;u();c();p();function ie(i,t="type"){return{_visit:e=>{let r=e[i[t]];return r!=null?r(i):(e._other==null&&A(i),e._other(i))}}}u();c();p();u();c();p();u();c();p();var ot=y.env.FERN_STACK_TRACK?.toLowerCase()??"",ae=ot!==""&&ot!=="0"&&ot!=="false",lr=["single","multiline","box"].includes(ot)?ot:"single";ae&&(Error.stackTraceLimit=50);var ju=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),zu=new Set(["stacktrace"]);function Bt({maxFrames:i=50,skip:t=0,filterPaths:e=[],filterFunctions:r=[],stopOn:s=[],filterNode:m=!0,filterJs:a=!0,formatFilename:S=v=>v}={}){if(!ae)return[];r=[...r,...ju],e=[...e,...zu],s=[...s,"runInteractiveTask"];let v=!1;return(new Error().stack??"").split(`
2
2
  `).map(T=>{let I=T.match(/at\s+(.*)\s+\((.*):(\d+):(\d+)\)/);if(I&&I.length===5){let[,B,V,N,L]=I;if(!B||!V||!N||!L)return;if(v||s.some(M=>B?.includes(M))){v=!0;return}switch(B){case"Object.<anonymous>":B="";break;case"Object.object":case"Object.alias":case"Object.union":case"Object.enum":case"Object.undiscriminatedUnion":B=`${B.substring(B.indexOf(".")+1)}()=> { ... }`;break}return{fn:B,path:S(V),position:`${N}:${L}`}}}).filter(T=>T&&!r.some(I=>T.fn.includes(I))&&!(m&&T.path?.startsWith("node:"))&&!(a&&T.path?.endsWith(".js"))&&!e.some(I=>T.path.includes(I))).slice(t,t+i)}var Ct=class{constructor({maxFrames:t=50,skip:e=0,filterPaths:r=[],filterFunctions:s=[],stopOn:m=[],filterNode:a=!0,filterJs:S=!0,multiline:v=!1,formatFilename:T=I=>I}={}){d(this,"maxFrames");d(this,"skip");d(this,"filterPaths");d(this,"filterFunctions");d(this,"stopOn");d(this,"filterNode");d(this,"filterJs");d(this,"multiline");d(this,"formatFilename");d(this,"tracking",new WeakMap);this.maxFrames=t,this.skip=e,this.filterPaths=r,this.filterFunctions=s,this.stopOn=m,this.filterNode=a,this.filterJs=S,this.multiline=v,this.formatFilename=T}tag(t){let e=this.tracking.get(t)||new Set;Bt({maxFrames:this.maxFrames,skip:this.skip,filterPaths:this.filterPaths,filterFunctions:this.filterFunctions,stopOn:this.stopOn,filterNode:this.filterNode,filterJs:this.filterJs,formatFilename:this.formatFilename}).forEach(r=>e.add(r)),this.tracking.set(t,e)}trace(t){if(!ae)return"";let e=this.tracking.get(t);return e?[...e].map(r=>`${this.multiline?`
3
3
  `:""}${r.fn} - ${r.path}:${r.position}`).join(""):""}frames(t){let e=this.tracking.get(t);return e?[...e]:[]}free(t){this.tracking.delete(t)}clear(){this.tracking=new WeakMap}},ur;function zo({maxFrames:i=50,skip:t=0,filterPaths:e=[],filterFunctions:r=[],stopOn:s=[],filterNode:m=!0,filterJs:a=!0,multiline:S=!1,formatFilename:v=T=>T}={}){ae&&(ur??(ur=new Ct({maxFrames:i,skip:t,filterPaths:e,filterFunctions:r,stopOn:s,filterNode:m,filterJs:a,multiline:S,formatFilename:v})))}function Go(i){ur?.tag(i)}function pr(i){return ur?.frames(i)??[]}var Re=class{constructor(){Go(this)}};u();c();p();u();c();p();u();c();p();var oe=class extends Re{constructor(e){super();d(this,"value");this.value=e}write(e){typeof this.value=="string"?e.write(this.value):typeof this.value=="function"?this.value(e):this.value.write(e)}};var Gu=4;zo({skip:0,maxFrames:15,filterFunctions:["Abstract"]});var st=class{constructor(){d(this,"lineBuffer",[]);d(this,"indentLevel",0);d(this,"hasWrittenAnything",!1);d(this,"lastCharacterIsSemicolon",!1);d(this,"lastCharacterIsNewline",!1);d(this,"nodeStackFrames",[])}get buffer(){return ae&&this.nodeStackFrames.length>0&&this.writeInternal(`
4
4
  `),this.lineBuffer.join(`