@fern-api/typescript-dynamic-snippets 3.72.1 → 3.72.3

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.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var Gt=Object.defineProperty;var fs=Object.getOwnPropertyDescriptor;var ms=Object.getOwnPropertyNames;var hs=Object.prototype.hasOwnProperty;var ys=(n,e,t)=>e in n?Gt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var ot=(n,e)=>()=>(n&&(e=n(n=0)),e);var pe=(n,e)=>{for(var t in e)Gt(n,t,{get:e[t],enumerable:!0})},gs=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of ms(e))!hs.call(n,a)&&a!==t&&Gt(n,a,{get:()=>e[a],enumerable:!(r=fs(e,a))||r.enumerable});return n};var xs=n=>gs(Gt({},"__esModule",{value:!0}),n);var E=(n,e,t)=>ys(n,typeof e!="symbol"?e+"":e,t);var p=ot(()=>{"use strict"});var v={};pe(v,{_debugEnd:()=>On,_debugProcess:()=>Bn,_events:()=>Yn,_eventsCount:()=>Xn,_exiting:()=>mn,_fatalExceptions:()=>Sn,_getActiveHandles:()=>xn,_getActiveRequests:()=>gn,_kill:()=>bn,_linkedBinding:()=>dn,_maxListeners:()=>Jn,_preload_modules:()=>Zn,_rawDebug:()=>ln,_startProfilerIdleNotifier:()=>Ln,_stopProfilerIdleNotifier:()=>Pn,_tickCallback:()=>Fn,abort:()=>$n,addListener:()=>Kn,allowedNodeEnvironmentFlags:()=>In,arch:()=>Jr,argv:()=>Kr,argv0:()=>zn,assert:()=>An,binding:()=>nn,browser:()=>cn,chdir:()=>on,config:()=>hn,cpuUsage:()=>Yt,cwd:()=>sn,debugPort:()=>qn,default:()=>oi,dlopen:()=>yn,domain:()=>fn,emit:()=>ni,emitWarning:()=>rn,env:()=>Xr,execArgv:()=>Qr,execPath:()=>Wn,exit:()=>kn,features:()=>Rn,hasUncaughtExceptionCaptureCallback:()=>Cn,hrtime:()=>Jt,kill:()=>Tn,listeners:()=>si,memoryUsage:()=>_n,moduleLoadList:()=>pn,nextTick:()=>Zr,off:()=>ei,on:()=>we,once:()=>Qn,openStdin:()=>En,pid:()=>Dn,platform:()=>Yr,ppid:()=>Vn,prependListener:()=>ii,prependOnceListener:()=>ai,reallyExit:()=>vn,release:()=>un,removeAllListeners:()=>ri,removeListener:()=>ti,resourceUsage:()=>wn,setSourceMapsEnabled:()=>Gn,setUncaughtExceptionCaptureCallback:()=>Nn,stderr:()=>Mn,stdin:()=>Un,stdout:()=>jn,title:()=>Hr,umask:()=>an,uptime:()=>Hn,version:()=>en,versions:()=>tn});function gr(n){throw new Error("Node.js process "+n+" is not supported by JSPM core outside of Node.js")}function vs(){!ut||!Pe||(ut=!1,Pe.length?be=Pe.concat(be):Ht=-1,be.length&&zr())}function zr(){if(!ut){var n=setTimeout(vs,0);ut=!0;for(var e=be.length;e;){for(Pe=be,be=[];++Ht<e;)Pe&&Pe[Ht].run();Ht=-1,e=be.length}Pe=null,ut=!1,clearTimeout(n)}}function Zr(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];be.push(new Gr(n,e)),be.length===1&&!ut&&setTimeout(zr,0)}function Gr(n,e){this.fun=n,this.array=e}function Q(){}function dn(n){gr("_linkedBinding")}function yn(n){gr("dlopen")}function gn(){return[]}function xn(){return[]}function An(n,e){if(!n)throw new Error(e||"assertion error")}function Cn(){return!1}function Hn(){return Se.now()/1e3}function Jt(n){var e=Math.floor((Date.now()-Se.now())*.001),t=Se.now()*.001,r=Math.floor(t)+e,a=Math.floor(t%1*1e9);return n&&(r=r-n[0],a=a-n[1],a<0&&(r--,a+=yr)),[r,a]}function we(){return oi}function si(n){return[]}var be,ut,Pe,Ht,Hr,Jr,Yr,Xr,Kr,Qr,en,tn,rn,nn,an,sn,on,un,cn,ln,pn,fn,mn,hn,vn,bn,Yt,wn,_n,Tn,kn,En,In,Rn,Sn,Nn,Fn,Bn,On,Ln,Pn,jn,Mn,Un,$n,Dn,Vn,Wn,qn,zn,Zn,Gn,Se,hr,yr,Jn,Yn,Xn,Kn,Qn,ei,ti,ri,ni,ii,ai,oi,ui=ot(()=>{"use strict";p();f();d();be=[],ut=!1,Ht=-1;Gr.prototype.run=function(){this.fun.apply(null,this.array)};Hr="browser",Jr="x64",Yr="browser",Xr={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},Kr=["/usr/bin/node"],Qr=[],en="v16.8.0",tn={},rn=function(n,e){console.warn((e?e+": ":"")+n)},nn=function(n){gr("binding")},an=function(n){return 0},sn=function(){return"/"},on=function(n){},un={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};cn=!0,ln=Q,pn=[];fn={},mn=!1,hn={};vn=Q,bn=Q,Yt=function(){return{}},wn=Yt,_n=Yt,Tn=Q,kn=Q,En=Q,In={};Rn={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Sn=Q,Nn=Q;Fn=Q,Bn=Q,On=Q,Ln=Q,Pn=Q,jn=void 0,Mn=void 0,Un=void 0,$n=Q,Dn=2,Vn=1,Wn="/bin/usr/node",qn=9229,zn="node",Zn=[],Gn=Q,Se={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};Se.now===void 0&&(hr=Date.now(),Se.timing&&Se.timing.navigationStart&&(hr=Se.timing.navigationStart),Se.now=()=>Date.now()-hr);yr=1e9;Jt.bigint=function(n){var e=Jt(n);return typeof BigInt>"u"?e[0]*yr+e[1]:BigInt(e[0]*yr)+BigInt(e[1])};Jn=10,Yn={},Xn=0;Kn=we,Qn=we,ei=we,ti=we,ri=we,ni=Q,ii=we,ai=we;oi={version:en,versions:tn,arch:Jr,platform:Yr,browser:cn,release:un,_rawDebug:ln,moduleLoadList:pn,binding:nn,_linkedBinding:dn,_events:Yn,_eventsCount:Xn,_maxListeners:Jn,on:we,addListener:Kn,once:Qn,off:ei,removeListener:ti,removeAllListeners:ri,emit:ni,prependListener:ii,prependOnceListener:ai,listeners:si,domain:fn,_exiting:mn,config:hn,dlopen:yn,uptime:Hn,_getActiveRequests:gn,_getActiveHandles:xn,reallyExit:vn,_kill:bn,cpuUsage:Yt,resourceUsage:wn,memoryUsage:_n,kill:Tn,exit:kn,openStdin:En,allowedNodeEnvironmentFlags:In,assert:An,features:Rn,_fatalExceptions:Sn,setUncaughtExceptionCaptureCallback:Nn,hasUncaughtExceptionCaptureCallback:Cn,emitWarning:rn,nextTick:Zr,_tickCallback:Fn,_debugProcess:Bn,_debugEnd:On,_startProfilerIdleNotifier:Ln,_stopProfilerIdleNotifier:Pn,stdout:jn,stdin:Un,stderr:Mn,abort:$n,umask:an,chdir:on,cwd:sn,env:Xr,title:Hr,argv:Kr,execArgv:Qr,pid:Dn,ppid:Vn,execPath:Wn,debugPort:qn,hrtime:Jt,argv0:zn,_preload_modules:Zn,setSourceMapsEnabled:Gn}});var d=ot(()=>{"use strict";ui()});function bs(){if(ci)return At;ci=!0,At.byteLength=m,At.toByteArray=k,At.fromByteArray=Y;for(var n=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=r.length;a<o;++a)n[a]=r[a],e[r.charCodeAt(a)]=a;e[45]=62,e[95]=63;function u(C){var j=C.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var D=C.indexOf("=");D===-1&&(D=j);var J=D===j?0:4-D%4;return[D,J]}function m(C){var j=u(C),D=j[0],J=j[1];return(D+J)*3/4-J}function x(C,j,D){return(j+D)*3/4-D}function k(C){var j,D=u(C),J=D[0],re=D[1],H=new t(x(C,J,re)),ne=0,oe=re>0?J-4:J,te;for(te=0;te<oe;te+=4)j=e[C.charCodeAt(te)]<<18|e[C.charCodeAt(te+1)]<<12|e[C.charCodeAt(te+2)]<<6|e[C.charCodeAt(te+3)],H[ne++]=j>>16&255,H[ne++]=j>>8&255,H[ne++]=j&255;return re===2&&(j=e[C.charCodeAt(te)]<<2|e[C.charCodeAt(te+1)]>>4,H[ne++]=j&255),re===1&&(j=e[C.charCodeAt(te)]<<10|e[C.charCodeAt(te+1)]<<4|e[C.charCodeAt(te+2)]>>2,H[ne++]=j>>8&255,H[ne++]=j&255),H}function R(C){return n[C>>18&63]+n[C>>12&63]+n[C>>6&63]+n[C&63]}function P(C,j,D){for(var J,re=[],H=j;H<D;H+=3)J=(C[H]<<16&16711680)+(C[H+1]<<8&65280)+(C[H+2]&255),re.push(R(J));return re.join("")}function Y(C){for(var j,D=C.length,J=D%3,re=[],H=16383,ne=0,oe=D-J;ne<oe;ne+=H)re.push(P(C,ne,ne+H>oe?oe:ne+H));return J===1?(j=C[D-1],re.push(n[j>>2]+n[j<<4&63]+"==")):J===2&&(j=(C[D-2]<<8)+C[D-1],re.push(n[j>>10]+n[j>>4&63]+n[j<<2&63]+"=")),re.join("")}return At}function ws(){if(li)return Xt;li=!0;return Xt.read=function(n,e,t,r,a){var o,u,m=a*8-r-1,x=(1<<m)-1,k=x>>1,R=-7,P=t?a-1:0,Y=t?-1:1,C=n[e+P];for(P+=Y,o=C&(1<<-R)-1,C>>=-R,R+=m;R>0;o=o*256+n[e+P],P+=Y,R-=8);for(u=o&(1<<-R)-1,o>>=-R,R+=r;R>0;u=u*256+n[e+P],P+=Y,R-=8);if(o===0)o=1-k;else{if(o===x)return u?NaN:(C?-1:1)*(1/0);u=u+Math.pow(2,r),o=o-k}return(C?-1:1)*u*Math.pow(2,o-r)},Xt.write=function(n,e,t,r,a,o){var u,m,x,k=o*8-a-1,R=(1<<k)-1,P=R>>1,Y=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=r?0:o-1,j=r?1:-1,D=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(m=isNaN(e)?1:0,u=R):(u=Math.floor(Math.log(e)/Math.LN2),e*(x=Math.pow(2,-u))<1&&(u--,x*=2),u+P>=1?e+=Y/x:e+=Y*Math.pow(2,1-P),e*x>=2&&(u++,x/=2),u+P>=R?(m=0,u=R):u+P>=1?(m=(e*x-1)*Math.pow(2,a),u=u+P):(m=e*Math.pow(2,P-1)*Math.pow(2,a),u=0));a>=8;n[t+C]=m&255,C+=j,m/=256,a-=8);for(u=u<<a|m,k+=a;k>0;n[t+C]=u&255,C+=j,u/=256,k-=8);n[t+C-j]|=D*128},Xt}function di(){if(pi)return je;pi=!0;let n=bs(),e=ws(),t=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;je.Buffer=u,je.SlowBuffer=re,je.INSPECT_MAX_BYTES=50;let r=2147483647;je.kMaxLength=r,u.TYPED_ARRAY_SUPPORT=a(),!u.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 a(){try{let c=new Uint8Array(1),i={foo:function(){return 42}};return Object.setPrototypeOf(i,Uint8Array.prototype),Object.setPrototypeOf(c,i),c.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function o(c){if(c>r)throw new RangeError('The value "'+c+'" is invalid for option "size"');let i=new Uint8Array(c);return Object.setPrototypeOf(i,u.prototype),i}function u(c,i,s){if(typeof c=="number"){if(typeof i=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(c)}return m(c,i,s)}u.poolSize=8192;function m(c,i,s){if(typeof c=="string")return P(c,i);if(ArrayBuffer.isView(c))return C(c);if(c==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof c);if(he(c,ArrayBuffer)||c&&he(c.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(he(c,SharedArrayBuffer)||c&&he(c.buffer,SharedArrayBuffer)))return j(c,i,s);if(typeof c=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let l=c.valueOf&&c.valueOf();if(l!=null&&l!==c)return u.from(l,i,s);let h=D(c);if(h)return h;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof c[Symbol.toPrimitive]=="function")return u.from(c[Symbol.toPrimitive]("string"),i,s);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof c)}u.from=function(c,i,s){return m(c,i,s)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array);function x(c){if(typeof c!="number")throw new TypeError('"size" argument must be of type number');if(c<0)throw new RangeError('The value "'+c+'" is invalid for option "size"')}function k(c,i,s){return x(c),c<=0?o(c):i!==void 0?typeof s=="string"?o(c).fill(i,s):o(c).fill(i):o(c)}u.alloc=function(c,i,s){return k(c,i,s)};function R(c){return x(c),o(c<0?0:J(c)|0)}u.allocUnsafe=function(c){return R(c)},u.allocUnsafeSlow=function(c){return R(c)};function P(c,i){if((typeof i!="string"||i==="")&&(i="utf8"),!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);let s=H(c,i)|0,l=o(s),h=l.write(c,i);return h!==s&&(l=l.slice(0,h)),l}function Y(c){let i=c.length<0?0:J(c.length)|0,s=o(i);for(let l=0;l<i;l+=1)s[l]=c[l]&255;return s}function C(c){if(he(c,Uint8Array)){let i=new Uint8Array(c);return j(i.buffer,i.byteOffset,i.byteLength)}return Y(c)}function j(c,i,s){if(i<0||c.byteLength<i)throw new RangeError('"offset" is outside of buffer bounds');if(c.byteLength<i+(s||0))throw new RangeError('"length" is outside of buffer bounds');let l;return i===void 0&&s===void 0?l=new Uint8Array(c):s===void 0?l=new Uint8Array(c,i):l=new Uint8Array(c,i,s),Object.setPrototypeOf(l,u.prototype),l}function D(c){if(u.isBuffer(c)){let i=J(c.length)|0,s=o(i);return s.length===0||c.copy(s,0,0,i),s}if(c.length!==void 0)return typeof c.length!="number"||mr(c.length)?o(0):Y(c);if(c.type==="Buffer"&&Array.isArray(c.data))return Y(c.data)}function J(c){if(c>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return c|0}function re(c){return+c!=c&&(c=0),u.alloc(+c)}u.isBuffer=function(i){return i!=null&&i._isBuffer===!0&&i!==u.prototype},u.compare=function(i,s){if(he(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),he(s,Uint8Array)&&(s=u.from(s,s.offset,s.byteLength)),!u.isBuffer(i)||!u.isBuffer(s))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(i===s)return 0;let l=i.length,h=s.length;for(let g=0,_=Math.min(l,h);g<_;++g)if(i[g]!==s[g]){l=i[g],h=s[g];break}return l<h?-1:h<l?1:0},u.isEncoding=function(i){switch(String(i).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}},u.concat=function(i,s){if(!Array.isArray(i))throw new TypeError('"list" argument must be an Array of Buffers');if(i.length===0)return u.alloc(0);let l;if(s===void 0)for(s=0,l=0;l<i.length;++l)s+=i[l].length;let h=u.allocUnsafe(s),g=0;for(l=0;l<i.length;++l){let _=i[l];if(he(_,Uint8Array))g+_.length>h.length?(u.isBuffer(_)||(_=u.from(_)),_.copy(h,g)):Uint8Array.prototype.set.call(h,_,g);else if(u.isBuffer(_))_.copy(h,g);else throw new TypeError('"list" argument must be an Array of Buffers');g+=_.length}return h};function H(c,i){if(u.isBuffer(c))return c.length;if(ArrayBuffer.isView(c)||he(c,ArrayBuffer))return c.byteLength;if(typeof c!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof c);let s=c.length,l=arguments.length>2&&arguments[2]===!0;if(!l&&s===0)return 0;let h=!1;for(;;)switch(i){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return fr(c).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s*2;case"hex":return s>>>1;case"base64":return qr(c).length;default:if(h)return l?-1:fr(c).length;i=(""+i).toLowerCase(),h=!0}}u.byteLength=H;function ne(c,i,s){let l=!1;if((i===void 0||i<0)&&(i=0),i>this.length||((s===void 0||s>this.length)&&(s=this.length),s<=0)||(s>>>=0,i>>>=0,s<=i))return"";for(c||(c="utf8");;)switch(c){case"hex":return is(this,i,s);case"utf8":case"utf-8":return Lr(this,i,s);case"ascii":return rs(this,i,s);case"latin1":case"binary":return ns(this,i,s);case"base64":return es(this,i,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return as(this,i,s);default:if(l)throw new TypeError("Unknown encoding: "+c);c=(c+"").toLowerCase(),l=!0}}u.prototype._isBuffer=!0;function oe(c,i,s){let l=c[i];c[i]=c[s],c[s]=l}u.prototype.swap16=function(){let i=this.length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let s=0;s<i;s+=2)oe(this,s,s+1);return this},u.prototype.swap32=function(){let i=this.length;if(i%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let s=0;s<i;s+=4)oe(this,s,s+3),oe(this,s+1,s+2);return this},u.prototype.swap64=function(){let i=this.length;if(i%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let s=0;s<i;s+=8)oe(this,s,s+7),oe(this,s+1,s+6),oe(this,s+2,s+5),oe(this,s+3,s+4);return this},u.prototype.toString=function(){let i=this.length;return i===0?"":arguments.length===0?Lr(this,0,i):ne.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(i){if(!u.isBuffer(i))throw new TypeError("Argument must be a Buffer");return this===i?!0:u.compare(this,i)===0},u.prototype.inspect=function(){let i="",s=je.INSPECT_MAX_BYTES;return i=this.toString("hex",0,s).replace(/(.{2})/g,"$1 ").trim(),this.length>s&&(i+=" ... "),"<Buffer "+i+">"},t&&(u.prototype[t]=u.prototype.inspect),u.prototype.compare=function(i,s,l,h,g){if(he(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),!u.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(s===void 0&&(s=0),l===void 0&&(l=i?i.length:0),h===void 0&&(h=0),g===void 0&&(g=this.length),s<0||l>i.length||h<0||g>this.length)throw new RangeError("out of range index");if(h>=g&&s>=l)return 0;if(h>=g)return-1;if(s>=l)return 1;if(s>>>=0,l>>>=0,h>>>=0,g>>>=0,this===i)return 0;let _=g-h,M=l-s,Z=Math.min(_,M),z=this.slice(h,g),G=i.slice(s,l);for(let V=0;V<Z;++V)if(z[V]!==G[V]){_=z[V],M=G[V];break}return _<M?-1:M<_?1:0};function te(c,i,s,l,h){if(c.length===0)return-1;if(typeof s=="string"?(l=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,mr(s)&&(s=h?0:c.length-1),s<0&&(s=c.length+s),s>=c.length){if(h)return-1;s=c.length-1}else if(s<0)if(h)s=0;else return-1;if(typeof i=="string"&&(i=u.from(i,l)),u.isBuffer(i))return i.length===0?-1:Or(c,i,s,l,h);if(typeof i=="number")return i=i&255,typeof Uint8Array.prototype.indexOf=="function"?h?Uint8Array.prototype.indexOf.call(c,i,s):Uint8Array.prototype.lastIndexOf.call(c,i,s):Or(c,[i],s,l,h);throw new TypeError("val must be string, number or Buffer")}function Or(c,i,s,l,h){let g=1,_=c.length,M=i.length;if(l!==void 0&&(l=String(l).toLowerCase(),l==="ucs2"||l==="ucs-2"||l==="utf16le"||l==="utf-16le")){if(c.length<2||i.length<2)return-1;g=2,_/=2,M/=2,s/=2}function Z(G,V){return g===1?G[V]:G.readUInt16BE(V*g)}let z;if(h){let G=-1;for(z=s;z<_;z++)if(Z(c,z)===Z(i,G===-1?0:z-G)){if(G===-1&&(G=z),z-G+1===M)return G*g}else G!==-1&&(z-=z-G),G=-1}else for(s+M>_&&(s=_-M),z=s;z>=0;z--){let G=!0;for(let V=0;V<M;V++)if(Z(c,z+V)!==Z(i,V)){G=!1;break}if(G)return z}return-1}u.prototype.includes=function(i,s,l){return this.indexOf(i,s,l)!==-1},u.prototype.indexOf=function(i,s,l){return te(this,i,s,l,!0)},u.prototype.lastIndexOf=function(i,s,l){return te(this,i,s,l,!1)};function Ja(c,i,s,l){s=Number(s)||0;let h=c.length-s;l?(l=Number(l),l>h&&(l=h)):l=h;let g=i.length;l>g/2&&(l=g/2);let _;for(_=0;_<l;++_){let M=parseInt(i.substr(_*2,2),16);if(mr(M))return _;c[s+_]=M}return _}function Ya(c,i,s,l){return Zt(fr(i,c.length-s),c,s,l)}function Xa(c,i,s,l){return Zt(cs(i),c,s,l)}function Ka(c,i,s,l){return Zt(qr(i),c,s,l)}function Qa(c,i,s,l){return Zt(ls(i,c.length-s),c,s,l)}u.prototype.write=function(i,s,l,h){if(s===void 0)h="utf8",l=this.length,s=0;else if(l===void 0&&typeof s=="string")h=s,l=this.length,s=0;else if(isFinite(s))s=s>>>0,isFinite(l)?(l=l>>>0,h===void 0&&(h="utf8")):(h=l,l=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let g=this.length-s;if((l===void 0||l>g)&&(l=g),i.length>0&&(l<0||s<0)||s>this.length)throw new RangeError("Attempt to write outside buffer bounds");h||(h="utf8");let _=!1;for(;;)switch(h){case"hex":return Ja(this,i,s,l);case"utf8":case"utf-8":return Ya(this,i,s,l);case"ascii":case"latin1":case"binary":return Xa(this,i,s,l);case"base64":return Ka(this,i,s,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qa(this,i,s,l);default:if(_)throw new TypeError("Unknown encoding: "+h);h=(""+h).toLowerCase(),_=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function es(c,i,s){return i===0&&s===c.length?n.fromByteArray(c):n.fromByteArray(c.slice(i,s))}function Lr(c,i,s){s=Math.min(c.length,s);let l=[],h=i;for(;h<s;){let g=c[h],_=null,M=g>239?4:g>223?3:g>191?2:1;if(h+M<=s){let Z,z,G,V;switch(M){case 1:g<128&&(_=g);break;case 2:Z=c[h+1],(Z&192)===128&&(V=(g&31)<<6|Z&63,V>127&&(_=V));break;case 3:Z=c[h+1],z=c[h+2],(Z&192)===128&&(z&192)===128&&(V=(g&15)<<12|(Z&63)<<6|z&63,V>2047&&(V<55296||V>57343)&&(_=V));break;case 4:Z=c[h+1],z=c[h+2],G=c[h+3],(Z&192)===128&&(z&192)===128&&(G&192)===128&&(V=(g&15)<<18|(Z&63)<<12|(z&63)<<6|G&63,V>65535&&V<1114112&&(_=V))}}_===null?(_=65533,M=1):_>65535&&(_-=65536,l.push(_>>>10&1023|55296),_=56320|_&1023),l.push(_),h+=M}return ts(l)}let Pr=4096;function ts(c){let i=c.length;if(i<=Pr)return String.fromCharCode.apply(String,c);let s="",l=0;for(;l<i;)s+=String.fromCharCode.apply(String,c.slice(l,l+=Pr));return s}function rs(c,i,s){let l="";s=Math.min(c.length,s);for(let h=i;h<s;++h)l+=String.fromCharCode(c[h]&127);return l}function ns(c,i,s){let l="";s=Math.min(c.length,s);for(let h=i;h<s;++h)l+=String.fromCharCode(c[h]);return l}function is(c,i,s){let l=c.length;(!i||i<0)&&(i=0),(!s||s<0||s>l)&&(s=l);let h="";for(let g=i;g<s;++g)h+=ps[c[g]];return h}function as(c,i,s){let l=c.slice(i,s),h="";for(let g=0;g<l.length-1;g+=2)h+=String.fromCharCode(l[g]+l[g+1]*256);return h}u.prototype.slice=function(i,s){let l=this.length;i=~~i,s=s===void 0?l:~~s,i<0?(i+=l,i<0&&(i=0)):i>l&&(i=l),s<0?(s+=l,s<0&&(s=0)):s>l&&(s=l),s<i&&(s=i);let h=this.subarray(i,s);return Object.setPrototypeOf(h,u.prototype),h};function X(c,i,s){if(c%1!==0||c<0)throw new RangeError("offset is not uint");if(c+i>s)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(i,s,l){i=i>>>0,s=s>>>0,l||X(i,s,this.length);let h=this[i],g=1,_=0;for(;++_<s&&(g*=256);)h+=this[i+_]*g;return h},u.prototype.readUintBE=u.prototype.readUIntBE=function(i,s,l){i=i>>>0,s=s>>>0,l||X(i,s,this.length);let h=this[i+--s],g=1;for(;s>0&&(g*=256);)h+=this[i+--s]*g;return h},u.prototype.readUint8=u.prototype.readUInt8=function(i,s){return i=i>>>0,s||X(i,1,this.length),this[i]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(i,s){return i=i>>>0,s||X(i,2,this.length),this[i]|this[i+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(i,s){return i=i>>>0,s||X(i,2,this.length),this[i]<<8|this[i+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(i,s){return i=i>>>0,s||X(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(i,s){return i=i>>>0,s||X(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])},u.prototype.readBigUInt64LE=Re(function(i){i=i>>>0,st(i,"offset");let s=this[i],l=this[i+7];(s===void 0||l===void 0)&&It(i,this.length-8);let h=s+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24,g=this[++i]+this[++i]*2**8+this[++i]*2**16+l*2**24;return BigInt(h)+(BigInt(g)<<BigInt(32))}),u.prototype.readBigUInt64BE=Re(function(i){i=i>>>0,st(i,"offset");let s=this[i],l=this[i+7];(s===void 0||l===void 0)&&It(i,this.length-8);let h=s*2**24+this[++i]*2**16+this[++i]*2**8+this[++i],g=this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+l;return(BigInt(h)<<BigInt(32))+BigInt(g)}),u.prototype.readIntLE=function(i,s,l){i=i>>>0,s=s>>>0,l||X(i,s,this.length);let h=this[i],g=1,_=0;for(;++_<s&&(g*=256);)h+=this[i+_]*g;return g*=128,h>=g&&(h-=Math.pow(2,8*s)),h},u.prototype.readIntBE=function(i,s,l){i=i>>>0,s=s>>>0,l||X(i,s,this.length);let h=s,g=1,_=this[i+--h];for(;h>0&&(g*=256);)_+=this[i+--h]*g;return g*=128,_>=g&&(_-=Math.pow(2,8*s)),_},u.prototype.readInt8=function(i,s){return i=i>>>0,s||X(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]},u.prototype.readInt16LE=function(i,s){i=i>>>0,s||X(i,2,this.length);let l=this[i]|this[i+1]<<8;return l&32768?l|4294901760:l},u.prototype.readInt16BE=function(i,s){i=i>>>0,s||X(i,2,this.length);let l=this[i+1]|this[i]<<8;return l&32768?l|4294901760:l},u.prototype.readInt32LE=function(i,s){return i=i>>>0,s||X(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},u.prototype.readInt32BE=function(i,s){return i=i>>>0,s||X(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},u.prototype.readBigInt64LE=Re(function(i){i=i>>>0,st(i,"offset");let s=this[i],l=this[i+7];(s===void 0||l===void 0)&&It(i,this.length-8);let h=this[i+4]+this[i+5]*2**8+this[i+6]*2**16+(l<<24);return(BigInt(h)<<BigInt(32))+BigInt(s+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24)}),u.prototype.readBigInt64BE=Re(function(i){i=i>>>0,st(i,"offset");let s=this[i],l=this[i+7];(s===void 0||l===void 0)&&It(i,this.length-8);let h=(s<<24)+this[++i]*2**16+this[++i]*2**8+this[++i];return(BigInt(h)<<BigInt(32))+BigInt(this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+l)}),u.prototype.readFloatLE=function(i,s){return i=i>>>0,s||X(i,4,this.length),e.read(this,i,!0,23,4)},u.prototype.readFloatBE=function(i,s){return i=i>>>0,s||X(i,4,this.length),e.read(this,i,!1,23,4)},u.prototype.readDoubleLE=function(i,s){return i=i>>>0,s||X(i,8,this.length),e.read(this,i,!0,52,8)},u.prototype.readDoubleBE=function(i,s){return i=i>>>0,s||X(i,8,this.length),e.read(this,i,!1,52,8)};function ie(c,i,s,l,h,g){if(!u.isBuffer(c))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>h||i<g)throw new RangeError('"value" argument is out of bounds');if(s+l>c.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(i,s,l,h){if(i=+i,s=s>>>0,l=l>>>0,!h){let M=Math.pow(2,8*l)-1;ie(this,i,s,l,M,0)}let g=1,_=0;for(this[s]=i&255;++_<l&&(g*=256);)this[s+_]=i/g&255;return s+l},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(i,s,l,h){if(i=+i,s=s>>>0,l=l>>>0,!h){let M=Math.pow(2,8*l)-1;ie(this,i,s,l,M,0)}let g=l-1,_=1;for(this[s+g]=i&255;--g>=0&&(_*=256);)this[s+g]=i/_&255;return s+l},u.prototype.writeUint8=u.prototype.writeUInt8=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,1,255,0),this[s]=i&255,s+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,2,65535,0),this[s]=i&255,this[s+1]=i>>>8,s+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,2,65535,0),this[s]=i>>>8,this[s+1]=i&255,s+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,4,4294967295,0),this[s+3]=i>>>24,this[s+2]=i>>>16,this[s+1]=i>>>8,this[s]=i&255,s+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,4,4294967295,0),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4};function jr(c,i,s,l,h){Wr(i,l,h,c,s,7);let g=Number(i&BigInt(4294967295));c[s++]=g,g=g>>8,c[s++]=g,g=g>>8,c[s++]=g,g=g>>8,c[s++]=g;let _=Number(i>>BigInt(32)&BigInt(4294967295));return c[s++]=_,_=_>>8,c[s++]=_,_=_>>8,c[s++]=_,_=_>>8,c[s++]=_,s}function Mr(c,i,s,l,h){Wr(i,l,h,c,s,7);let g=Number(i&BigInt(4294967295));c[s+7]=g,g=g>>8,c[s+6]=g,g=g>>8,c[s+5]=g,g=g>>8,c[s+4]=g;let _=Number(i>>BigInt(32)&BigInt(4294967295));return c[s+3]=_,_=_>>8,c[s+2]=_,_=_>>8,c[s+1]=_,_=_>>8,c[s]=_,s+8}u.prototype.writeBigUInt64LE=Re(function(i,s=0){return jr(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Re(function(i,s=0){return Mr(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(i,s,l,h){if(i=+i,s=s>>>0,!h){let Z=Math.pow(2,8*l-1);ie(this,i,s,l,Z-1,-Z)}let g=0,_=1,M=0;for(this[s]=i&255;++g<l&&(_*=256);)i<0&&M===0&&this[s+g-1]!==0&&(M=1),this[s+g]=(i/_>>0)-M&255;return s+l},u.prototype.writeIntBE=function(i,s,l,h){if(i=+i,s=s>>>0,!h){let Z=Math.pow(2,8*l-1);ie(this,i,s,l,Z-1,-Z)}let g=l-1,_=1,M=0;for(this[s+g]=i&255;--g>=0&&(_*=256);)i<0&&M===0&&this[s+g+1]!==0&&(M=1),this[s+g]=(i/_>>0)-M&255;return s+l},u.prototype.writeInt8=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,1,127,-128),i<0&&(i=255+i+1),this[s]=i&255,s+1},u.prototype.writeInt16LE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,2,32767,-32768),this[s]=i&255,this[s+1]=i>>>8,s+2},u.prototype.writeInt16BE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,2,32767,-32768),this[s]=i>>>8,this[s+1]=i&255,s+2},u.prototype.writeInt32LE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,4,2147483647,-2147483648),this[s]=i&255,this[s+1]=i>>>8,this[s+2]=i>>>16,this[s+3]=i>>>24,s+4},u.prototype.writeInt32BE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4},u.prototype.writeBigInt64LE=Re(function(i,s=0){return jr(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Re(function(i,s=0){return Mr(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ur(c,i,s,l,h,g){if(s+l>c.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("Index out of range")}function $r(c,i,s,l,h){return i=+i,s=s>>>0,h||Ur(c,i,s,4),e.write(c,i,s,l,23,4),s+4}u.prototype.writeFloatLE=function(i,s,l){return $r(this,i,s,!0,l)},u.prototype.writeFloatBE=function(i,s,l){return $r(this,i,s,!1,l)};function Dr(c,i,s,l,h){return i=+i,s=s>>>0,h||Ur(c,i,s,8),e.write(c,i,s,l,52,8),s+8}u.prototype.writeDoubleLE=function(i,s,l){return Dr(this,i,s,!0,l)},u.prototype.writeDoubleBE=function(i,s,l){return Dr(this,i,s,!1,l)},u.prototype.copy=function(i,s,l,h){if(!u.isBuffer(i))throw new TypeError("argument should be a Buffer");if(l||(l=0),!h&&h!==0&&(h=this.length),s>=i.length&&(s=i.length),s||(s=0),h>0&&h<l&&(h=l),h===l||i.length===0||this.length===0)return 0;if(s<0)throw new RangeError("targetStart out of bounds");if(l<0||l>=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),i.length-s<h-l&&(h=i.length-s+l);let g=h-l;return this===i&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(s,l,h):Uint8Array.prototype.set.call(i,this.subarray(l,h),s),g},u.prototype.fill=function(i,s,l,h){if(typeof i=="string"){if(typeof s=="string"?(h=s,s=0,l=this.length):typeof l=="string"&&(h=l,l=this.length),h!==void 0&&typeof h!="string")throw new TypeError("encoding must be a string");if(typeof h=="string"&&!u.isEncoding(h))throw new TypeError("Unknown encoding: "+h);if(i.length===1){let _=i.charCodeAt(0);(h==="utf8"&&_<128||h==="latin1")&&(i=_)}}else typeof i=="number"?i=i&255:typeof i=="boolean"&&(i=Number(i));if(s<0||this.length<s||this.length<l)throw new RangeError("Out of range index");if(l<=s)return this;s=s>>>0,l=l===void 0?this.length:l>>>0,i||(i=0);let g;if(typeof i=="number")for(g=s;g<l;++g)this[g]=i;else{let _=u.isBuffer(i)?i:u.from(i,h),M=_.length;if(M===0)throw new TypeError('The value "'+i+'" is invalid for argument "value"');for(g=0;g<l-s;++g)this[g+s]=_[g%M]}return this};let at={};function dr(c,i,s){at[c]=class extends s{constructor(){super(),Object.defineProperty(this,"message",{value:i.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${c}]`,this.stack,delete this.name}get code(){return c}set code(h){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:h,writable:!0})}toString(){return`${this.name} [${c}]: ${this.message}`}}}dr("ERR_BUFFER_OUT_OF_BOUNDS",function(c){return c?`${c} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),dr("ERR_INVALID_ARG_TYPE",function(c,i){return`The "${c}" argument must be of type number. Received type ${typeof i}`},TypeError),dr("ERR_OUT_OF_RANGE",function(c,i,s){let l=`The value of "${c}" is out of range.`,h=s;return Number.isInteger(s)&&Math.abs(s)>2**32?h=Vr(String(s)):typeof s=="bigint"&&(h=String(s),(s>BigInt(2)**BigInt(32)||s<-(BigInt(2)**BigInt(32)))&&(h=Vr(h)),h+="n"),l+=` It must be ${i}. Received ${h}`,l},RangeError);function Vr(c){let i="",s=c.length,l=c[0]==="-"?1:0;for(;s>=l+4;s-=3)i=`_${c.slice(s-3,s)}${i}`;return`${c.slice(0,s)}${i}`}function ss(c,i,s){st(i,"offset"),(c[i]===void 0||c[i+s]===void 0)&&It(i,c.length-(s+1))}function Wr(c,i,s,l,h,g){if(c>s||c<i){let _=typeof i=="bigint"?"n":"",M;throw i===0||i===BigInt(0)?M=`>= 0${_} and < 2${_} ** ${(g+1)*8}${_}`:M=`>= -(2${_} ** ${(g+1)*8-1}${_}) and < 2 ** ${(g+1)*8-1}${_}`,new at.ERR_OUT_OF_RANGE("value",M,c)}ss(l,h,g)}function st(c,i){if(typeof c!="number")throw new at.ERR_INVALID_ARG_TYPE(i,"number",c)}function It(c,i,s){throw Math.floor(c)!==c?(st(c,s),new at.ERR_OUT_OF_RANGE("offset","an integer",c)):i<0?new at.ERR_BUFFER_OUT_OF_BOUNDS:new at.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${i}`,c)}let os=/[^+/0-9A-Za-z-_]/g;function us(c){if(c=c.split("=")[0],c=c.trim().replace(os,""),c.length<2)return"";for(;c.length%4!==0;)c=c+"=";return c}function fr(c,i){i=i||1/0;let s,l=c.length,h=null,g=[];for(let _=0;_<l;++_){if(s=c.charCodeAt(_),s>55295&&s<57344){if(!h){if(s>56319){(i-=3)>-1&&g.push(239,191,189);continue}else if(_+1===l){(i-=3)>-1&&g.push(239,191,189);continue}h=s;continue}if(s<56320){(i-=3)>-1&&g.push(239,191,189),h=s;continue}s=(h-55296<<10|s-56320)+65536}else h&&(i-=3)>-1&&g.push(239,191,189);if(h=null,s<128){if((i-=1)<0)break;g.push(s)}else if(s<2048){if((i-=2)<0)break;g.push(s>>6|192,s&63|128)}else if(s<65536){if((i-=3)<0)break;g.push(s>>12|224,s>>6&63|128,s&63|128)}else if(s<1114112){if((i-=4)<0)break;g.push(s>>18|240,s>>12&63|128,s>>6&63|128,s&63|128)}else throw new Error("Invalid code point")}return g}function cs(c){let i=[];for(let s=0;s<c.length;++s)i.push(c.charCodeAt(s)&255);return i}function ls(c,i){let s,l,h,g=[];for(let _=0;_<c.length&&!((i-=2)<0);++_)s=c.charCodeAt(_),l=s>>8,h=s%256,g.push(h),g.push(l);return g}function qr(c){return n.toByteArray(us(c))}function Zt(c,i,s,l){let h;for(h=0;h<l&&!(h+s>=i.length||h>=c.length);++h)i[h+s]=c[h];return h}function he(c,i){return c instanceof i||c!=null&&c.constructor!=null&&c.constructor.name!=null&&c.constructor.name===i.name}function mr(c){return c!==c}let ps=(function(){let c="0123456789abcdef",i=new Array(256);for(let s=0;s<16;++s){let l=s*16;for(let h=0;h<16;++h)i[l+h]=c[s]+c[h]}return i})();function Re(c){return typeof BigInt>"u"?ds:c}function ds(){throw new Error("BigInt not supported")}return je}var At,ci,Xt,li,je,pi,fi=ot(()=>{"use strict";p();f();d();At={},ci=!1;Xt={},li=!1;je={},pi=!1});var Me,b,Kc,Qc,mi=ot(()=>{"use strict";p();f();d();fi();Me=di();Me.Buffer;Me.SlowBuffer;Me.INSPECT_MAX_BYTES;Me.kMaxLength;b=Me.Buffer,Kc=Me.INSPECT_MAX_BYTES,Qc=Me.kMaxLength});var f=ot(()=>{"use strict";mi()});var Uc={};pe(Uc,{DynamicSnippetsGenerator:()=>pr});module.exports=xs(Uc);p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();var _s=typeof global=="object"&&global&&global.Object===Object&&global,hi=_s;var Ts=typeof self=="object"&&self&&self.Object===Object&&self,ks=hi||Ts||Function("return this")(),yi=ks;var Es=yi.Symbol,_e=Es;p();f();d();var gi=Object.prototype,Is=gi.hasOwnProperty,As=gi.toString,Rt=_e?_e.toStringTag:void 0;function Rs(n){var e=Is.call(n,Rt),t=n[Rt];try{n[Rt]=void 0;var r=!0}catch{}var a=As.call(n);return r&&(e?n[Rt]=t:delete n[Rt]),a}var xi=Rs;p();f();d();var Ss=Object.prototype,Ns=Ss.toString;function Cs(n){return Ns.call(n)}var vi=Cs;var Fs="[object Null]",Bs="[object Undefined]",bi=_e?_e.toStringTag:void 0;function Os(n){return n==null?n===void 0?Bs:Fs:bi&&bi in Object(n)?xi(n):vi(n)}var wi=Os;p();f();d();function Ls(n){return n!=null&&typeof n=="object"}var _i=Ls;var Ps="[object Symbol]";function js(n){return typeof n=="symbol"||_i(n)&&wi(n)==Ps}var Ti=js;p();f();d();p();f();d();function Ms(n,e){for(var t=-1,r=n==null?0:n.length,a=Array(r);++t<r;)a[t]=e(n[t],t,n);return a}var ki=Ms;p();f();d();var Us=Array.isArray,Ei=Us;var $s=1/0,Ii=_e?_e.prototype:void 0,Ai=Ii?Ii.toString:void 0;function Ri(n){if(typeof n=="string")return n;if(Ei(n))return ki(n,Ri)+"";if(Ti(n))return Ai?Ai.call(n):"";var e=n+"";return e=="0"&&1/n==-$s?"-0":e}var Si=Ri;p();f();d();function Ds(n){return n==null?"":Si(n)}var Ne=Ds;p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();function Vs(n,e,t){var r=-1,a=n.length;e<0&&(e=-e>a?0:a+e),t=t>a?a:t,t<0&&(t+=a),a=e>t?0:t-e>>>0,e>>>=0;for(var o=Array(a);++r<a;)o[r]=n[r+e];return o}var Ni=Vs;function Ws(n,e,t){var r=n.length;return t=t===void 0?r:t,!e&&t>=r?n:Ni(n,e,t)}var Ci=Ws;p();f();d();var qs="\\ud800-\\udfff",zs="\\u0300-\\u036f",Zs="\\ufe20-\\ufe2f",Gs="\\u20d0-\\u20ff",Hs=zs+Zs+Gs,Js="\\ufe0e\\ufe0f",Ys="\\u200d",Xs=RegExp("["+Ys+qs+Hs+Js+"]");function Ks(n){return Xs.test(n)}var Kt=Ks;p();f();d();p();f();d();function Qs(n){return n.split("")}var Fi=Qs;p();f();d();var Bi="\\ud800-\\udfff",eo="\\u0300-\\u036f",to="\\ufe20-\\ufe2f",ro="\\u20d0-\\u20ff",no=eo+to+ro,io="\\ufe0e\\ufe0f",ao="["+Bi+"]",xr="["+no+"]",vr="\\ud83c[\\udffb-\\udfff]",so="(?:"+xr+"|"+vr+")",Oi="[^"+Bi+"]",Li="(?:\\ud83c[\\udde6-\\uddff]){2}",Pi="[\\ud800-\\udbff][\\udc00-\\udfff]",oo="\\u200d",ji=so+"?",Mi="["+io+"]?",uo="(?:"+oo+"(?:"+[Oi,Li,Pi].join("|")+")"+Mi+ji+")*",co=Mi+ji+uo,lo="(?:"+[Oi+xr+"?",xr,Li,Pi,ao].join("|")+")",po=RegExp(vr+"(?="+vr+")|"+lo+co,"g");function fo(n){return n.match(po)||[]}var Ui=fo;function mo(n){return Kt(n)?Ui(n):Fi(n)}var $i=mo;function ho(n){return function(e){e=Ne(e);var t=Kt(e)?$i(e):void 0,r=t?t[0]:e.charAt(0),a=t?Ci(t,1).join(""):e.slice(1);return r[n]()+a}}var Di=ho;var yo=Di("toUpperCase"),Ue=yo;function go(n){return Ue(Ne(n).toLowerCase())}var Vi=go;p();f();d();p();f();d();function xo(n,e,t,r){var a=-1,o=n==null?0:n.length;for(r&&o&&(t=n[++a]);++a<o;)t=e(t,n[a],a,n);return t}var Wi=xo;p();f();d();p();f();d();p();f();d();function vo(n){return function(e){return n?.[e]}}var qi=vo;var bo={\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"},wo=qi(bo),zi=wo;var _o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,To="\\u0300-\\u036f",ko="\\ufe20-\\ufe2f",Eo="\\u20d0-\\u20ff",Io=To+ko+Eo,Ao="["+Io+"]",Ro=RegExp(Ao,"g");function So(n){return n=Ne(n),n&&n.replace(_o,zi).replace(Ro,"")}var Zi=So;p();f();d();p();f();d();var No=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Co(n){return n.match(No)||[]}var Gi=Co;p();f();d();var Fo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Bo(n){return Fo.test(n)}var Hi=Bo;p();f();d();var Qi="\\ud800-\\udfff",Oo="\\u0300-\\u036f",Lo="\\ufe20-\\ufe2f",Po="\\u20d0-\\u20ff",jo=Oo+Lo+Po,ea="\\u2700-\\u27bf",ta="a-z\\xdf-\\xf6\\xf8-\\xff",Mo="\\xac\\xb1\\xd7\\xf7",Uo="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",$o="\\u2000-\\u206f",Do=" \\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",ra="A-Z\\xc0-\\xd6\\xd8-\\xde",Vo="\\ufe0e\\ufe0f",na=Mo+Uo+$o+Do,ia="['\u2019]",Ji="["+na+"]",Wo="["+jo+"]",aa="\\d+",qo="["+ea+"]",sa="["+ta+"]",oa="[^"+Qi+na+aa+ea+ta+ra+"]",zo="\\ud83c[\\udffb-\\udfff]",Zo="(?:"+Wo+"|"+zo+")",Go="[^"+Qi+"]",ua="(?:\\ud83c[\\udde6-\\uddff]){2}",ca="[\\ud800-\\udbff][\\udc00-\\udfff]",ct="["+ra+"]",Ho="\\u200d",Yi="(?:"+sa+"|"+oa+")",Jo="(?:"+ct+"|"+oa+")",Xi="(?:"+ia+"(?:d|ll|m|re|s|t|ve))?",Ki="(?:"+ia+"(?:D|LL|M|RE|S|T|VE))?",la=Zo+"?",pa="["+Vo+"]?",Yo="(?:"+Ho+"(?:"+[Go,ua,ca].join("|")+")"+pa+la+")*",Xo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ko="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Qo=pa+la+Yo,eu="(?:"+[qo,ua,ca].join("|")+")"+Qo,tu=RegExp([ct+"?"+sa+"+"+Xi+"(?="+[Ji,ct,"$"].join("|")+")",Jo+"+"+Ki+"(?="+[Ji,ct+Yi,"$"].join("|")+")",ct+"?"+Yi+"+"+Xi,ct+"+"+Ki,Ko,Xo,aa,eu].join("|"),"g");function ru(n){return n.match(tu)||[]}var da=ru;function nu(n,e,t){return n=Ne(n),e=t?void 0:e,e===void 0?Hi(n)?da(n):Gi(n):n.match(e)||[]}var fa=nu;var iu="['\u2019]",au=RegExp(iu,"g");function su(n){return function(e){return Wi(fa(Zi(e).replace(au,"")),n,"")}}var ma=su;var ou=ma(function(n,e,t){return e=e.toLowerCase(),n+(t?Vi(e):e)}),St=ou;p();f();d();function q(n){throw new Error("Unexpected value: "+JSON.stringify(n))}p();f();d();function Nt(n){return Object.keys(n)}p();f();d();p();f();d();p();f();d();var Ct=v.env.FERN_STACK_TRACK?.toLowerCase()??"",ye=Ct!==""&&Ct!=="0"&&Ct!=="false",br=["single","multiline","box"].includes(Ct)?Ct:"single";ye&&(Error.stackTraceLimit=50);var uu=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),cu=new Set(["stacktrace"]);function er({maxFrames:n=50,skip:e=0,filterPaths:t=[],filterFunctions:r=[],stopOn:a=[],filterNode:o=!0,filterJs:u=!0,formatFilename:m=x=>x}={}){if(!ye)return[];r=[...r,...uu],t=[...t,...cu],a=[...a,"runInteractiveTask"];let x=!1;return(new Error().stack??"").split(`
1
+ "use strict";var Gt=Object.defineProperty;var fs=Object.getOwnPropertyDescriptor;var ms=Object.getOwnPropertyNames;var hs=Object.prototype.hasOwnProperty;var ys=(n,e,t)=>e in n?Gt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var ot=(n,e,t)=>()=>{if(t)throw t[0];try{return n&&(e=n(n=0)),e}catch(r){throw t=[r],r}};var pe=(n,e)=>{for(var t in e)Gt(n,t,{get:e[t],enumerable:!0})},gs=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of ms(e))!hs.call(n,a)&&a!==t&&Gt(n,a,{get:()=>e[a],enumerable:!(r=fs(e,a))||r.enumerable});return n};var xs=n=>gs(Gt({},"__esModule",{value:!0}),n);var E=(n,e,t)=>ys(n,typeof e!="symbol"?e+"":e,t);var p=ot(()=>{"use strict"});var v={};pe(v,{_debugEnd:()=>On,_debugProcess:()=>Bn,_events:()=>Yn,_eventsCount:()=>Xn,_exiting:()=>mn,_fatalExceptions:()=>Sn,_getActiveHandles:()=>xn,_getActiveRequests:()=>gn,_kill:()=>bn,_linkedBinding:()=>dn,_maxListeners:()=>Jn,_preload_modules:()=>Zn,_rawDebug:()=>ln,_startProfilerIdleNotifier:()=>Ln,_stopProfilerIdleNotifier:()=>Pn,_tickCallback:()=>Fn,abort:()=>$n,addListener:()=>Kn,allowedNodeEnvironmentFlags:()=>In,arch:()=>Jr,argv:()=>Kr,argv0:()=>zn,assert:()=>An,binding:()=>nn,browser:()=>cn,chdir:()=>on,config:()=>hn,cpuUsage:()=>Yt,cwd:()=>sn,debugPort:()=>qn,default:()=>oi,dlopen:()=>yn,domain:()=>fn,emit:()=>ni,emitWarning:()=>rn,env:()=>Xr,execArgv:()=>Qr,execPath:()=>Wn,exit:()=>kn,features:()=>Rn,hasUncaughtExceptionCaptureCallback:()=>Cn,hrtime:()=>Jt,kill:()=>Tn,listeners:()=>si,memoryUsage:()=>_n,moduleLoadList:()=>pn,nextTick:()=>Zr,off:()=>ei,on:()=>we,once:()=>Qn,openStdin:()=>En,pid:()=>Dn,platform:()=>Yr,ppid:()=>Vn,prependListener:()=>ii,prependOnceListener:()=>ai,reallyExit:()=>vn,release:()=>un,removeAllListeners:()=>ri,removeListener:()=>ti,resourceUsage:()=>wn,setSourceMapsEnabled:()=>Gn,setUncaughtExceptionCaptureCallback:()=>Nn,stderr:()=>Mn,stdin:()=>Un,stdout:()=>jn,title:()=>Hr,umask:()=>an,uptime:()=>Hn,version:()=>en,versions:()=>tn});function gr(n){throw new Error("Node.js process "+n+" is not supported by JSPM core outside of Node.js")}function vs(){!ut||!Pe||(ut=!1,Pe.length?be=Pe.concat(be):Ht=-1,be.length&&zr())}function zr(){if(!ut){var n=setTimeout(vs,0);ut=!0;for(var e=be.length;e;){for(Pe=be,be=[];++Ht<e;)Pe&&Pe[Ht].run();Ht=-1,e=be.length}Pe=null,ut=!1,clearTimeout(n)}}function Zr(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];be.push(new Gr(n,e)),be.length===1&&!ut&&setTimeout(zr,0)}function Gr(n,e){this.fun=n,this.array=e}function Q(){}function dn(n){gr("_linkedBinding")}function yn(n){gr("dlopen")}function gn(){return[]}function xn(){return[]}function An(n,e){if(!n)throw new Error(e||"assertion error")}function Cn(){return!1}function Hn(){return Se.now()/1e3}function Jt(n){var e=Math.floor((Date.now()-Se.now())*.001),t=Se.now()*.001,r=Math.floor(t)+e,a=Math.floor(t%1*1e9);return n&&(r=r-n[0],a=a-n[1],a<0&&(r--,a+=yr)),[r,a]}function we(){return oi}function si(n){return[]}var be,ut,Pe,Ht,Hr,Jr,Yr,Xr,Kr,Qr,en,tn,rn,nn,an,sn,on,un,cn,ln,pn,fn,mn,hn,vn,bn,Yt,wn,_n,Tn,kn,En,In,Rn,Sn,Nn,Fn,Bn,On,Ln,Pn,jn,Mn,Un,$n,Dn,Vn,Wn,qn,zn,Zn,Gn,Se,hr,yr,Jn,Yn,Xn,Kn,Qn,ei,ti,ri,ni,ii,ai,oi,ui=ot(()=>{"use strict";p();f();d();be=[],ut=!1,Ht=-1;Gr.prototype.run=function(){this.fun.apply(null,this.array)};Hr="browser",Jr="x64",Yr="browser",Xr={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},Kr=["/usr/bin/node"],Qr=[],en="v16.8.0",tn={},rn=function(n,e){console.warn((e?e+": ":"")+n)},nn=function(n){gr("binding")},an=function(n){return 0},sn=function(){return"/"},on=function(n){},un={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};cn=!0,ln=Q,pn=[];fn={},mn=!1,hn={};vn=Q,bn=Q,Yt=function(){return{}},wn=Yt,_n=Yt,Tn=Q,kn=Q,En=Q,In={};Rn={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Sn=Q,Nn=Q;Fn=Q,Bn=Q,On=Q,Ln=Q,Pn=Q,jn=void 0,Mn=void 0,Un=void 0,$n=Q,Dn=2,Vn=1,Wn="/bin/usr/node",qn=9229,zn="node",Zn=[],Gn=Q,Se={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};Se.now===void 0&&(hr=Date.now(),Se.timing&&Se.timing.navigationStart&&(hr=Se.timing.navigationStart),Se.now=()=>Date.now()-hr);yr=1e9;Jt.bigint=function(n){var e=Jt(n);return typeof BigInt>"u"?e[0]*yr+e[1]:BigInt(e[0]*yr)+BigInt(e[1])};Jn=10,Yn={},Xn=0;Kn=we,Qn=we,ei=we,ti=we,ri=we,ni=Q,ii=we,ai=we;oi={version:en,versions:tn,arch:Jr,platform:Yr,browser:cn,release:un,_rawDebug:ln,moduleLoadList:pn,binding:nn,_linkedBinding:dn,_events:Yn,_eventsCount:Xn,_maxListeners:Jn,on:we,addListener:Kn,once:Qn,off:ei,removeListener:ti,removeAllListeners:ri,emit:ni,prependListener:ii,prependOnceListener:ai,listeners:si,domain:fn,_exiting:mn,config:hn,dlopen:yn,uptime:Hn,_getActiveRequests:gn,_getActiveHandles:xn,reallyExit:vn,_kill:bn,cpuUsage:Yt,resourceUsage:wn,memoryUsage:_n,kill:Tn,exit:kn,openStdin:En,allowedNodeEnvironmentFlags:In,assert:An,features:Rn,_fatalExceptions:Sn,setUncaughtExceptionCaptureCallback:Nn,hasUncaughtExceptionCaptureCallback:Cn,emitWarning:rn,nextTick:Zr,_tickCallback:Fn,_debugProcess:Bn,_debugEnd:On,_startProfilerIdleNotifier:Ln,_stopProfilerIdleNotifier:Pn,stdout:jn,stdin:Un,stderr:Mn,abort:$n,umask:an,chdir:on,cwd:sn,env:Xr,title:Hr,argv:Kr,execArgv:Qr,pid:Dn,ppid:Vn,execPath:Wn,debugPort:qn,hrtime:Jt,argv0:zn,_preload_modules:Zn,setSourceMapsEnabled:Gn}});var d=ot(()=>{"use strict";ui()});function bs(){if(ci)return At;ci=!0,At.byteLength=m,At.toByteArray=k,At.fromByteArray=Y;for(var n=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=r.length;a<o;++a)n[a]=r[a],e[r.charCodeAt(a)]=a;e[45]=62,e[95]=63;function u(C){var j=C.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var D=C.indexOf("=");D===-1&&(D=j);var J=D===j?0:4-D%4;return[D,J]}function m(C){var j=u(C),D=j[0],J=j[1];return(D+J)*3/4-J}function x(C,j,D){return(j+D)*3/4-D}function k(C){var j,D=u(C),J=D[0],re=D[1],H=new t(x(C,J,re)),ne=0,oe=re>0?J-4:J,te;for(te=0;te<oe;te+=4)j=e[C.charCodeAt(te)]<<18|e[C.charCodeAt(te+1)]<<12|e[C.charCodeAt(te+2)]<<6|e[C.charCodeAt(te+3)],H[ne++]=j>>16&255,H[ne++]=j>>8&255,H[ne++]=j&255;return re===2&&(j=e[C.charCodeAt(te)]<<2|e[C.charCodeAt(te+1)]>>4,H[ne++]=j&255),re===1&&(j=e[C.charCodeAt(te)]<<10|e[C.charCodeAt(te+1)]<<4|e[C.charCodeAt(te+2)]>>2,H[ne++]=j>>8&255,H[ne++]=j&255),H}function R(C){return n[C>>18&63]+n[C>>12&63]+n[C>>6&63]+n[C&63]}function P(C,j,D){for(var J,re=[],H=j;H<D;H+=3)J=(C[H]<<16&16711680)+(C[H+1]<<8&65280)+(C[H+2]&255),re.push(R(J));return re.join("")}function Y(C){for(var j,D=C.length,J=D%3,re=[],H=16383,ne=0,oe=D-J;ne<oe;ne+=H)re.push(P(C,ne,ne+H>oe?oe:ne+H));return J===1?(j=C[D-1],re.push(n[j>>2]+n[j<<4&63]+"==")):J===2&&(j=(C[D-2]<<8)+C[D-1],re.push(n[j>>10]+n[j>>4&63]+n[j<<2&63]+"=")),re.join("")}return At}function ws(){if(li)return Xt;li=!0;return Xt.read=function(n,e,t,r,a){var o,u,m=a*8-r-1,x=(1<<m)-1,k=x>>1,R=-7,P=t?a-1:0,Y=t?-1:1,C=n[e+P];for(P+=Y,o=C&(1<<-R)-1,C>>=-R,R+=m;R>0;o=o*256+n[e+P],P+=Y,R-=8);for(u=o&(1<<-R)-1,o>>=-R,R+=r;R>0;u=u*256+n[e+P],P+=Y,R-=8);if(o===0)o=1-k;else{if(o===x)return u?NaN:(C?-1:1)*(1/0);u=u+Math.pow(2,r),o=o-k}return(C?-1:1)*u*Math.pow(2,o-r)},Xt.write=function(n,e,t,r,a,o){var u,m,x,k=o*8-a-1,R=(1<<k)-1,P=R>>1,Y=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=r?0:o-1,j=r?1:-1,D=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(m=isNaN(e)?1:0,u=R):(u=Math.floor(Math.log(e)/Math.LN2),e*(x=Math.pow(2,-u))<1&&(u--,x*=2),u+P>=1?e+=Y/x:e+=Y*Math.pow(2,1-P),e*x>=2&&(u++,x/=2),u+P>=R?(m=0,u=R):u+P>=1?(m=(e*x-1)*Math.pow(2,a),u=u+P):(m=e*Math.pow(2,P-1)*Math.pow(2,a),u=0));a>=8;n[t+C]=m&255,C+=j,m/=256,a-=8);for(u=u<<a|m,k+=a;k>0;n[t+C]=u&255,C+=j,u/=256,k-=8);n[t+C-j]|=D*128},Xt}function di(){if(pi)return je;pi=!0;let n=bs(),e=ws(),t=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;je.Buffer=u,je.SlowBuffer=re,je.INSPECT_MAX_BYTES=50;let r=2147483647;je.kMaxLength=r,u.TYPED_ARRAY_SUPPORT=a(),!u.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 a(){try{let c=new Uint8Array(1),i={foo:function(){return 42}};return Object.setPrototypeOf(i,Uint8Array.prototype),Object.setPrototypeOf(c,i),c.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function o(c){if(c>r)throw new RangeError('The value "'+c+'" is invalid for option "size"');let i=new Uint8Array(c);return Object.setPrototypeOf(i,u.prototype),i}function u(c,i,s){if(typeof c=="number"){if(typeof i=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(c)}return m(c,i,s)}u.poolSize=8192;function m(c,i,s){if(typeof c=="string")return P(c,i);if(ArrayBuffer.isView(c))return C(c);if(c==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof c);if(he(c,ArrayBuffer)||c&&he(c.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(he(c,SharedArrayBuffer)||c&&he(c.buffer,SharedArrayBuffer)))return j(c,i,s);if(typeof c=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let l=c.valueOf&&c.valueOf();if(l!=null&&l!==c)return u.from(l,i,s);let h=D(c);if(h)return h;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof c[Symbol.toPrimitive]=="function")return u.from(c[Symbol.toPrimitive]("string"),i,s);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof c)}u.from=function(c,i,s){return m(c,i,s)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array);function x(c){if(typeof c!="number")throw new TypeError('"size" argument must be of type number');if(c<0)throw new RangeError('The value "'+c+'" is invalid for option "size"')}function k(c,i,s){return x(c),c<=0?o(c):i!==void 0?typeof s=="string"?o(c).fill(i,s):o(c).fill(i):o(c)}u.alloc=function(c,i,s){return k(c,i,s)};function R(c){return x(c),o(c<0?0:J(c)|0)}u.allocUnsafe=function(c){return R(c)},u.allocUnsafeSlow=function(c){return R(c)};function P(c,i){if((typeof i!="string"||i==="")&&(i="utf8"),!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);let s=H(c,i)|0,l=o(s),h=l.write(c,i);return h!==s&&(l=l.slice(0,h)),l}function Y(c){let i=c.length<0?0:J(c.length)|0,s=o(i);for(let l=0;l<i;l+=1)s[l]=c[l]&255;return s}function C(c){if(he(c,Uint8Array)){let i=new Uint8Array(c);return j(i.buffer,i.byteOffset,i.byteLength)}return Y(c)}function j(c,i,s){if(i<0||c.byteLength<i)throw new RangeError('"offset" is outside of buffer bounds');if(c.byteLength<i+(s||0))throw new RangeError('"length" is outside of buffer bounds');let l;return i===void 0&&s===void 0?l=new Uint8Array(c):s===void 0?l=new Uint8Array(c,i):l=new Uint8Array(c,i,s),Object.setPrototypeOf(l,u.prototype),l}function D(c){if(u.isBuffer(c)){let i=J(c.length)|0,s=o(i);return s.length===0||c.copy(s,0,0,i),s}if(c.length!==void 0)return typeof c.length!="number"||mr(c.length)?o(0):Y(c);if(c.type==="Buffer"&&Array.isArray(c.data))return Y(c.data)}function J(c){if(c>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return c|0}function re(c){return+c!=c&&(c=0),u.alloc(+c)}u.isBuffer=function(i){return i!=null&&i._isBuffer===!0&&i!==u.prototype},u.compare=function(i,s){if(he(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),he(s,Uint8Array)&&(s=u.from(s,s.offset,s.byteLength)),!u.isBuffer(i)||!u.isBuffer(s))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(i===s)return 0;let l=i.length,h=s.length;for(let g=0,_=Math.min(l,h);g<_;++g)if(i[g]!==s[g]){l=i[g],h=s[g];break}return l<h?-1:h<l?1:0},u.isEncoding=function(i){switch(String(i).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}},u.concat=function(i,s){if(!Array.isArray(i))throw new TypeError('"list" argument must be an Array of Buffers');if(i.length===0)return u.alloc(0);let l;if(s===void 0)for(s=0,l=0;l<i.length;++l)s+=i[l].length;let h=u.allocUnsafe(s),g=0;for(l=0;l<i.length;++l){let _=i[l];if(he(_,Uint8Array))g+_.length>h.length?(u.isBuffer(_)||(_=u.from(_)),_.copy(h,g)):Uint8Array.prototype.set.call(h,_,g);else if(u.isBuffer(_))_.copy(h,g);else throw new TypeError('"list" argument must be an Array of Buffers');g+=_.length}return h};function H(c,i){if(u.isBuffer(c))return c.length;if(ArrayBuffer.isView(c)||he(c,ArrayBuffer))return c.byteLength;if(typeof c!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof c);let s=c.length,l=arguments.length>2&&arguments[2]===!0;if(!l&&s===0)return 0;let h=!1;for(;;)switch(i){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return fr(c).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s*2;case"hex":return s>>>1;case"base64":return qr(c).length;default:if(h)return l?-1:fr(c).length;i=(""+i).toLowerCase(),h=!0}}u.byteLength=H;function ne(c,i,s){let l=!1;if((i===void 0||i<0)&&(i=0),i>this.length||((s===void 0||s>this.length)&&(s=this.length),s<=0)||(s>>>=0,i>>>=0,s<=i))return"";for(c||(c="utf8");;)switch(c){case"hex":return is(this,i,s);case"utf8":case"utf-8":return Lr(this,i,s);case"ascii":return rs(this,i,s);case"latin1":case"binary":return ns(this,i,s);case"base64":return es(this,i,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return as(this,i,s);default:if(l)throw new TypeError("Unknown encoding: "+c);c=(c+"").toLowerCase(),l=!0}}u.prototype._isBuffer=!0;function oe(c,i,s){let l=c[i];c[i]=c[s],c[s]=l}u.prototype.swap16=function(){let i=this.length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let s=0;s<i;s+=2)oe(this,s,s+1);return this},u.prototype.swap32=function(){let i=this.length;if(i%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let s=0;s<i;s+=4)oe(this,s,s+3),oe(this,s+1,s+2);return this},u.prototype.swap64=function(){let i=this.length;if(i%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let s=0;s<i;s+=8)oe(this,s,s+7),oe(this,s+1,s+6),oe(this,s+2,s+5),oe(this,s+3,s+4);return this},u.prototype.toString=function(){let i=this.length;return i===0?"":arguments.length===0?Lr(this,0,i):ne.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(i){if(!u.isBuffer(i))throw new TypeError("Argument must be a Buffer");return this===i?!0:u.compare(this,i)===0},u.prototype.inspect=function(){let i="",s=je.INSPECT_MAX_BYTES;return i=this.toString("hex",0,s).replace(/(.{2})/g,"$1 ").trim(),this.length>s&&(i+=" ... "),"<Buffer "+i+">"},t&&(u.prototype[t]=u.prototype.inspect),u.prototype.compare=function(i,s,l,h,g){if(he(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),!u.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(s===void 0&&(s=0),l===void 0&&(l=i?i.length:0),h===void 0&&(h=0),g===void 0&&(g=this.length),s<0||l>i.length||h<0||g>this.length)throw new RangeError("out of range index");if(h>=g&&s>=l)return 0;if(h>=g)return-1;if(s>=l)return 1;if(s>>>=0,l>>>=0,h>>>=0,g>>>=0,this===i)return 0;let _=g-h,M=l-s,Z=Math.min(_,M),z=this.slice(h,g),G=i.slice(s,l);for(let V=0;V<Z;++V)if(z[V]!==G[V]){_=z[V],M=G[V];break}return _<M?-1:M<_?1:0};function te(c,i,s,l,h){if(c.length===0)return-1;if(typeof s=="string"?(l=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,mr(s)&&(s=h?0:c.length-1),s<0&&(s=c.length+s),s>=c.length){if(h)return-1;s=c.length-1}else if(s<0)if(h)s=0;else return-1;if(typeof i=="string"&&(i=u.from(i,l)),u.isBuffer(i))return i.length===0?-1:Or(c,i,s,l,h);if(typeof i=="number")return i=i&255,typeof Uint8Array.prototype.indexOf=="function"?h?Uint8Array.prototype.indexOf.call(c,i,s):Uint8Array.prototype.lastIndexOf.call(c,i,s):Or(c,[i],s,l,h);throw new TypeError("val must be string, number or Buffer")}function Or(c,i,s,l,h){let g=1,_=c.length,M=i.length;if(l!==void 0&&(l=String(l).toLowerCase(),l==="ucs2"||l==="ucs-2"||l==="utf16le"||l==="utf-16le")){if(c.length<2||i.length<2)return-1;g=2,_/=2,M/=2,s/=2}function Z(G,V){return g===1?G[V]:G.readUInt16BE(V*g)}let z;if(h){let G=-1;for(z=s;z<_;z++)if(Z(c,z)===Z(i,G===-1?0:z-G)){if(G===-1&&(G=z),z-G+1===M)return G*g}else G!==-1&&(z-=z-G),G=-1}else for(s+M>_&&(s=_-M),z=s;z>=0;z--){let G=!0;for(let V=0;V<M;V++)if(Z(c,z+V)!==Z(i,V)){G=!1;break}if(G)return z}return-1}u.prototype.includes=function(i,s,l){return this.indexOf(i,s,l)!==-1},u.prototype.indexOf=function(i,s,l){return te(this,i,s,l,!0)},u.prototype.lastIndexOf=function(i,s,l){return te(this,i,s,l,!1)};function Ja(c,i,s,l){s=Number(s)||0;let h=c.length-s;l?(l=Number(l),l>h&&(l=h)):l=h;let g=i.length;l>g/2&&(l=g/2);let _;for(_=0;_<l;++_){let M=parseInt(i.substr(_*2,2),16);if(mr(M))return _;c[s+_]=M}return _}function Ya(c,i,s,l){return Zt(fr(i,c.length-s),c,s,l)}function Xa(c,i,s,l){return Zt(cs(i),c,s,l)}function Ka(c,i,s,l){return Zt(qr(i),c,s,l)}function Qa(c,i,s,l){return Zt(ls(i,c.length-s),c,s,l)}u.prototype.write=function(i,s,l,h){if(s===void 0)h="utf8",l=this.length,s=0;else if(l===void 0&&typeof s=="string")h=s,l=this.length,s=0;else if(isFinite(s))s=s>>>0,isFinite(l)?(l=l>>>0,h===void 0&&(h="utf8")):(h=l,l=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let g=this.length-s;if((l===void 0||l>g)&&(l=g),i.length>0&&(l<0||s<0)||s>this.length)throw new RangeError("Attempt to write outside buffer bounds");h||(h="utf8");let _=!1;for(;;)switch(h){case"hex":return Ja(this,i,s,l);case"utf8":case"utf-8":return Ya(this,i,s,l);case"ascii":case"latin1":case"binary":return Xa(this,i,s,l);case"base64":return Ka(this,i,s,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qa(this,i,s,l);default:if(_)throw new TypeError("Unknown encoding: "+h);h=(""+h).toLowerCase(),_=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function es(c,i,s){return i===0&&s===c.length?n.fromByteArray(c):n.fromByteArray(c.slice(i,s))}function Lr(c,i,s){s=Math.min(c.length,s);let l=[],h=i;for(;h<s;){let g=c[h],_=null,M=g>239?4:g>223?3:g>191?2:1;if(h+M<=s){let Z,z,G,V;switch(M){case 1:g<128&&(_=g);break;case 2:Z=c[h+1],(Z&192)===128&&(V=(g&31)<<6|Z&63,V>127&&(_=V));break;case 3:Z=c[h+1],z=c[h+2],(Z&192)===128&&(z&192)===128&&(V=(g&15)<<12|(Z&63)<<6|z&63,V>2047&&(V<55296||V>57343)&&(_=V));break;case 4:Z=c[h+1],z=c[h+2],G=c[h+3],(Z&192)===128&&(z&192)===128&&(G&192)===128&&(V=(g&15)<<18|(Z&63)<<12|(z&63)<<6|G&63,V>65535&&V<1114112&&(_=V))}}_===null?(_=65533,M=1):_>65535&&(_-=65536,l.push(_>>>10&1023|55296),_=56320|_&1023),l.push(_),h+=M}return ts(l)}let Pr=4096;function ts(c){let i=c.length;if(i<=Pr)return String.fromCharCode.apply(String,c);let s="",l=0;for(;l<i;)s+=String.fromCharCode.apply(String,c.slice(l,l+=Pr));return s}function rs(c,i,s){let l="";s=Math.min(c.length,s);for(let h=i;h<s;++h)l+=String.fromCharCode(c[h]&127);return l}function ns(c,i,s){let l="";s=Math.min(c.length,s);for(let h=i;h<s;++h)l+=String.fromCharCode(c[h]);return l}function is(c,i,s){let l=c.length;(!i||i<0)&&(i=0),(!s||s<0||s>l)&&(s=l);let h="";for(let g=i;g<s;++g)h+=ps[c[g]];return h}function as(c,i,s){let l=c.slice(i,s),h="";for(let g=0;g<l.length-1;g+=2)h+=String.fromCharCode(l[g]+l[g+1]*256);return h}u.prototype.slice=function(i,s){let l=this.length;i=~~i,s=s===void 0?l:~~s,i<0?(i+=l,i<0&&(i=0)):i>l&&(i=l),s<0?(s+=l,s<0&&(s=0)):s>l&&(s=l),s<i&&(s=i);let h=this.subarray(i,s);return Object.setPrototypeOf(h,u.prototype),h};function X(c,i,s){if(c%1!==0||c<0)throw new RangeError("offset is not uint");if(c+i>s)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(i,s,l){i=i>>>0,s=s>>>0,l||X(i,s,this.length);let h=this[i],g=1,_=0;for(;++_<s&&(g*=256);)h+=this[i+_]*g;return h},u.prototype.readUintBE=u.prototype.readUIntBE=function(i,s,l){i=i>>>0,s=s>>>0,l||X(i,s,this.length);let h=this[i+--s],g=1;for(;s>0&&(g*=256);)h+=this[i+--s]*g;return h},u.prototype.readUint8=u.prototype.readUInt8=function(i,s){return i=i>>>0,s||X(i,1,this.length),this[i]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(i,s){return i=i>>>0,s||X(i,2,this.length),this[i]|this[i+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(i,s){return i=i>>>0,s||X(i,2,this.length),this[i]<<8|this[i+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(i,s){return i=i>>>0,s||X(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(i,s){return i=i>>>0,s||X(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])},u.prototype.readBigUInt64LE=Re(function(i){i=i>>>0,st(i,"offset");let s=this[i],l=this[i+7];(s===void 0||l===void 0)&&It(i,this.length-8);let h=s+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24,g=this[++i]+this[++i]*2**8+this[++i]*2**16+l*2**24;return BigInt(h)+(BigInt(g)<<BigInt(32))}),u.prototype.readBigUInt64BE=Re(function(i){i=i>>>0,st(i,"offset");let s=this[i],l=this[i+7];(s===void 0||l===void 0)&&It(i,this.length-8);let h=s*2**24+this[++i]*2**16+this[++i]*2**8+this[++i],g=this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+l;return(BigInt(h)<<BigInt(32))+BigInt(g)}),u.prototype.readIntLE=function(i,s,l){i=i>>>0,s=s>>>0,l||X(i,s,this.length);let h=this[i],g=1,_=0;for(;++_<s&&(g*=256);)h+=this[i+_]*g;return g*=128,h>=g&&(h-=Math.pow(2,8*s)),h},u.prototype.readIntBE=function(i,s,l){i=i>>>0,s=s>>>0,l||X(i,s,this.length);let h=s,g=1,_=this[i+--h];for(;h>0&&(g*=256);)_+=this[i+--h]*g;return g*=128,_>=g&&(_-=Math.pow(2,8*s)),_},u.prototype.readInt8=function(i,s){return i=i>>>0,s||X(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]},u.prototype.readInt16LE=function(i,s){i=i>>>0,s||X(i,2,this.length);let l=this[i]|this[i+1]<<8;return l&32768?l|4294901760:l},u.prototype.readInt16BE=function(i,s){i=i>>>0,s||X(i,2,this.length);let l=this[i+1]|this[i]<<8;return l&32768?l|4294901760:l},u.prototype.readInt32LE=function(i,s){return i=i>>>0,s||X(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},u.prototype.readInt32BE=function(i,s){return i=i>>>0,s||X(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},u.prototype.readBigInt64LE=Re(function(i){i=i>>>0,st(i,"offset");let s=this[i],l=this[i+7];(s===void 0||l===void 0)&&It(i,this.length-8);let h=this[i+4]+this[i+5]*2**8+this[i+6]*2**16+(l<<24);return(BigInt(h)<<BigInt(32))+BigInt(s+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24)}),u.prototype.readBigInt64BE=Re(function(i){i=i>>>0,st(i,"offset");let s=this[i],l=this[i+7];(s===void 0||l===void 0)&&It(i,this.length-8);let h=(s<<24)+this[++i]*2**16+this[++i]*2**8+this[++i];return(BigInt(h)<<BigInt(32))+BigInt(this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+l)}),u.prototype.readFloatLE=function(i,s){return i=i>>>0,s||X(i,4,this.length),e.read(this,i,!0,23,4)},u.prototype.readFloatBE=function(i,s){return i=i>>>0,s||X(i,4,this.length),e.read(this,i,!1,23,4)},u.prototype.readDoubleLE=function(i,s){return i=i>>>0,s||X(i,8,this.length),e.read(this,i,!0,52,8)},u.prototype.readDoubleBE=function(i,s){return i=i>>>0,s||X(i,8,this.length),e.read(this,i,!1,52,8)};function ie(c,i,s,l,h,g){if(!u.isBuffer(c))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>h||i<g)throw new RangeError('"value" argument is out of bounds');if(s+l>c.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(i,s,l,h){if(i=+i,s=s>>>0,l=l>>>0,!h){let M=Math.pow(2,8*l)-1;ie(this,i,s,l,M,0)}let g=1,_=0;for(this[s]=i&255;++_<l&&(g*=256);)this[s+_]=i/g&255;return s+l},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(i,s,l,h){if(i=+i,s=s>>>0,l=l>>>0,!h){let M=Math.pow(2,8*l)-1;ie(this,i,s,l,M,0)}let g=l-1,_=1;for(this[s+g]=i&255;--g>=0&&(_*=256);)this[s+g]=i/_&255;return s+l},u.prototype.writeUint8=u.prototype.writeUInt8=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,1,255,0),this[s]=i&255,s+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,2,65535,0),this[s]=i&255,this[s+1]=i>>>8,s+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,2,65535,0),this[s]=i>>>8,this[s+1]=i&255,s+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,4,4294967295,0),this[s+3]=i>>>24,this[s+2]=i>>>16,this[s+1]=i>>>8,this[s]=i&255,s+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,4,4294967295,0),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4};function jr(c,i,s,l,h){Wr(i,l,h,c,s,7);let g=Number(i&BigInt(4294967295));c[s++]=g,g=g>>8,c[s++]=g,g=g>>8,c[s++]=g,g=g>>8,c[s++]=g;let _=Number(i>>BigInt(32)&BigInt(4294967295));return c[s++]=_,_=_>>8,c[s++]=_,_=_>>8,c[s++]=_,_=_>>8,c[s++]=_,s}function Mr(c,i,s,l,h){Wr(i,l,h,c,s,7);let g=Number(i&BigInt(4294967295));c[s+7]=g,g=g>>8,c[s+6]=g,g=g>>8,c[s+5]=g,g=g>>8,c[s+4]=g;let _=Number(i>>BigInt(32)&BigInt(4294967295));return c[s+3]=_,_=_>>8,c[s+2]=_,_=_>>8,c[s+1]=_,_=_>>8,c[s]=_,s+8}u.prototype.writeBigUInt64LE=Re(function(i,s=0){return jr(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Re(function(i,s=0){return Mr(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(i,s,l,h){if(i=+i,s=s>>>0,!h){let Z=Math.pow(2,8*l-1);ie(this,i,s,l,Z-1,-Z)}let g=0,_=1,M=0;for(this[s]=i&255;++g<l&&(_*=256);)i<0&&M===0&&this[s+g-1]!==0&&(M=1),this[s+g]=(i/_>>0)-M&255;return s+l},u.prototype.writeIntBE=function(i,s,l,h){if(i=+i,s=s>>>0,!h){let Z=Math.pow(2,8*l-1);ie(this,i,s,l,Z-1,-Z)}let g=l-1,_=1,M=0;for(this[s+g]=i&255;--g>=0&&(_*=256);)i<0&&M===0&&this[s+g+1]!==0&&(M=1),this[s+g]=(i/_>>0)-M&255;return s+l},u.prototype.writeInt8=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,1,127,-128),i<0&&(i=255+i+1),this[s]=i&255,s+1},u.prototype.writeInt16LE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,2,32767,-32768),this[s]=i&255,this[s+1]=i>>>8,s+2},u.prototype.writeInt16BE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,2,32767,-32768),this[s]=i>>>8,this[s+1]=i&255,s+2},u.prototype.writeInt32LE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,4,2147483647,-2147483648),this[s]=i&255,this[s+1]=i>>>8,this[s+2]=i>>>16,this[s+3]=i>>>24,s+4},u.prototype.writeInt32BE=function(i,s,l){return i=+i,s=s>>>0,l||ie(this,i,s,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4},u.prototype.writeBigInt64LE=Re(function(i,s=0){return jr(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Re(function(i,s=0){return Mr(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ur(c,i,s,l,h,g){if(s+l>c.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("Index out of range")}function $r(c,i,s,l,h){return i=+i,s=s>>>0,h||Ur(c,i,s,4),e.write(c,i,s,l,23,4),s+4}u.prototype.writeFloatLE=function(i,s,l){return $r(this,i,s,!0,l)},u.prototype.writeFloatBE=function(i,s,l){return $r(this,i,s,!1,l)};function Dr(c,i,s,l,h){return i=+i,s=s>>>0,h||Ur(c,i,s,8),e.write(c,i,s,l,52,8),s+8}u.prototype.writeDoubleLE=function(i,s,l){return Dr(this,i,s,!0,l)},u.prototype.writeDoubleBE=function(i,s,l){return Dr(this,i,s,!1,l)},u.prototype.copy=function(i,s,l,h){if(!u.isBuffer(i))throw new TypeError("argument should be a Buffer");if(l||(l=0),!h&&h!==0&&(h=this.length),s>=i.length&&(s=i.length),s||(s=0),h>0&&h<l&&(h=l),h===l||i.length===0||this.length===0)return 0;if(s<0)throw new RangeError("targetStart out of bounds");if(l<0||l>=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),i.length-s<h-l&&(h=i.length-s+l);let g=h-l;return this===i&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(s,l,h):Uint8Array.prototype.set.call(i,this.subarray(l,h),s),g},u.prototype.fill=function(i,s,l,h){if(typeof i=="string"){if(typeof s=="string"?(h=s,s=0,l=this.length):typeof l=="string"&&(h=l,l=this.length),h!==void 0&&typeof h!="string")throw new TypeError("encoding must be a string");if(typeof h=="string"&&!u.isEncoding(h))throw new TypeError("Unknown encoding: "+h);if(i.length===1){let _=i.charCodeAt(0);(h==="utf8"&&_<128||h==="latin1")&&(i=_)}}else typeof i=="number"?i=i&255:typeof i=="boolean"&&(i=Number(i));if(s<0||this.length<s||this.length<l)throw new RangeError("Out of range index");if(l<=s)return this;s=s>>>0,l=l===void 0?this.length:l>>>0,i||(i=0);let g;if(typeof i=="number")for(g=s;g<l;++g)this[g]=i;else{let _=u.isBuffer(i)?i:u.from(i,h),M=_.length;if(M===0)throw new TypeError('The value "'+i+'" is invalid for argument "value"');for(g=0;g<l-s;++g)this[g+s]=_[g%M]}return this};let at={};function dr(c,i,s){at[c]=class extends s{constructor(){super(),Object.defineProperty(this,"message",{value:i.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${c}]`,this.stack,delete this.name}get code(){return c}set code(h){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:h,writable:!0})}toString(){return`${this.name} [${c}]: ${this.message}`}}}dr("ERR_BUFFER_OUT_OF_BOUNDS",function(c){return c?`${c} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),dr("ERR_INVALID_ARG_TYPE",function(c,i){return`The "${c}" argument must be of type number. Received type ${typeof i}`},TypeError),dr("ERR_OUT_OF_RANGE",function(c,i,s){let l=`The value of "${c}" is out of range.`,h=s;return Number.isInteger(s)&&Math.abs(s)>2**32?h=Vr(String(s)):typeof s=="bigint"&&(h=String(s),(s>BigInt(2)**BigInt(32)||s<-(BigInt(2)**BigInt(32)))&&(h=Vr(h)),h+="n"),l+=` It must be ${i}. Received ${h}`,l},RangeError);function Vr(c){let i="",s=c.length,l=c[0]==="-"?1:0;for(;s>=l+4;s-=3)i=`_${c.slice(s-3,s)}${i}`;return`${c.slice(0,s)}${i}`}function ss(c,i,s){st(i,"offset"),(c[i]===void 0||c[i+s]===void 0)&&It(i,c.length-(s+1))}function Wr(c,i,s,l,h,g){if(c>s||c<i){let _=typeof i=="bigint"?"n":"",M;throw i===0||i===BigInt(0)?M=`>= 0${_} and < 2${_} ** ${(g+1)*8}${_}`:M=`>= -(2${_} ** ${(g+1)*8-1}${_}) and < 2 ** ${(g+1)*8-1}${_}`,new at.ERR_OUT_OF_RANGE("value",M,c)}ss(l,h,g)}function st(c,i){if(typeof c!="number")throw new at.ERR_INVALID_ARG_TYPE(i,"number",c)}function It(c,i,s){throw Math.floor(c)!==c?(st(c,s),new at.ERR_OUT_OF_RANGE("offset","an integer",c)):i<0?new at.ERR_BUFFER_OUT_OF_BOUNDS:new at.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${i}`,c)}let os=/[^+/0-9A-Za-z-_]/g;function us(c){if(c=c.split("=")[0],c=c.trim().replace(os,""),c.length<2)return"";for(;c.length%4!==0;)c=c+"=";return c}function fr(c,i){i=i||1/0;let s,l=c.length,h=null,g=[];for(let _=0;_<l;++_){if(s=c.charCodeAt(_),s>55295&&s<57344){if(!h){if(s>56319){(i-=3)>-1&&g.push(239,191,189);continue}else if(_+1===l){(i-=3)>-1&&g.push(239,191,189);continue}h=s;continue}if(s<56320){(i-=3)>-1&&g.push(239,191,189),h=s;continue}s=(h-55296<<10|s-56320)+65536}else h&&(i-=3)>-1&&g.push(239,191,189);if(h=null,s<128){if((i-=1)<0)break;g.push(s)}else if(s<2048){if((i-=2)<0)break;g.push(s>>6|192,s&63|128)}else if(s<65536){if((i-=3)<0)break;g.push(s>>12|224,s>>6&63|128,s&63|128)}else if(s<1114112){if((i-=4)<0)break;g.push(s>>18|240,s>>12&63|128,s>>6&63|128,s&63|128)}else throw new Error("Invalid code point")}return g}function cs(c){let i=[];for(let s=0;s<c.length;++s)i.push(c.charCodeAt(s)&255);return i}function ls(c,i){let s,l,h,g=[];for(let _=0;_<c.length&&!((i-=2)<0);++_)s=c.charCodeAt(_),l=s>>8,h=s%256,g.push(h),g.push(l);return g}function qr(c){return n.toByteArray(us(c))}function Zt(c,i,s,l){let h;for(h=0;h<l&&!(h+s>=i.length||h>=c.length);++h)i[h+s]=c[h];return h}function he(c,i){return c instanceof i||c!=null&&c.constructor!=null&&c.constructor.name!=null&&c.constructor.name===i.name}function mr(c){return c!==c}let ps=(function(){let c="0123456789abcdef",i=new Array(256);for(let s=0;s<16;++s){let l=s*16;for(let h=0;h<16;++h)i[l+h]=c[s]+c[h]}return i})();function Re(c){return typeof BigInt>"u"?ds:c}function ds(){throw new Error("BigInt not supported")}return je}var At,ci,Xt,li,je,pi,fi=ot(()=>{"use strict";p();f();d();At={},ci=!1;Xt={},li=!1;je={},pi=!1});var Me,b,Kc,Qc,mi=ot(()=>{"use strict";p();f();d();fi();Me=di();Me.Buffer;Me.SlowBuffer;Me.INSPECT_MAX_BYTES;Me.kMaxLength;b=Me.Buffer,Kc=Me.INSPECT_MAX_BYTES,Qc=Me.kMaxLength});var f=ot(()=>{"use strict";mi()});var Uc={};pe(Uc,{DynamicSnippetsGenerator:()=>pr});module.exports=xs(Uc);p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();var _s=typeof global=="object"&&global&&global.Object===Object&&global,hi=_s;var Ts=typeof self=="object"&&self&&self.Object===Object&&self,ks=hi||Ts||Function("return this")(),yi=ks;var Es=yi.Symbol,_e=Es;p();f();d();var gi=Object.prototype,Is=gi.hasOwnProperty,As=gi.toString,Rt=_e?_e.toStringTag:void 0;function Rs(n){var e=Is.call(n,Rt),t=n[Rt];try{n[Rt]=void 0;var r=!0}catch{}var a=As.call(n);return r&&(e?n[Rt]=t:delete n[Rt]),a}var xi=Rs;p();f();d();var Ss=Object.prototype,Ns=Ss.toString;function Cs(n){return Ns.call(n)}var vi=Cs;var Fs="[object Null]",Bs="[object Undefined]",bi=_e?_e.toStringTag:void 0;function Os(n){return n==null?n===void 0?Bs:Fs:bi&&bi in Object(n)?xi(n):vi(n)}var wi=Os;p();f();d();function Ls(n){return n!=null&&typeof n=="object"}var _i=Ls;var Ps="[object Symbol]";function js(n){return typeof n=="symbol"||_i(n)&&wi(n)==Ps}var Ti=js;p();f();d();p();f();d();function Ms(n,e){for(var t=-1,r=n==null?0:n.length,a=Array(r);++t<r;)a[t]=e(n[t],t,n);return a}var ki=Ms;p();f();d();var Us=Array.isArray,Ei=Us;var $s=1/0,Ii=_e?_e.prototype:void 0,Ai=Ii?Ii.toString:void 0;function Ri(n){if(typeof n=="string")return n;if(Ei(n))return ki(n,Ri)+"";if(Ti(n))return Ai?Ai.call(n):"";var e=n+"";return e=="0"&&1/n==-$s?"-0":e}var Si=Ri;p();f();d();function Ds(n){return n==null?"":Si(n)}var Ne=Ds;p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();d();function Vs(n,e,t){var r=-1,a=n.length;e<0&&(e=-e>a?0:a+e),t=t>a?a:t,t<0&&(t+=a),a=e>t?0:t-e>>>0,e>>>=0;for(var o=Array(a);++r<a;)o[r]=n[r+e];return o}var Ni=Vs;function Ws(n,e,t){var r=n.length;return t=t===void 0?r:t,!e&&t>=r?n:Ni(n,e,t)}var Ci=Ws;p();f();d();var qs="\\ud800-\\udfff",zs="\\u0300-\\u036f",Zs="\\ufe20-\\ufe2f",Gs="\\u20d0-\\u20ff",Hs=zs+Zs+Gs,Js="\\ufe0e\\ufe0f",Ys="\\u200d",Xs=RegExp("["+Ys+qs+Hs+Js+"]");function Ks(n){return Xs.test(n)}var Kt=Ks;p();f();d();p();f();d();function Qs(n){return n.split("")}var Fi=Qs;p();f();d();var Bi="\\ud800-\\udfff",eo="\\u0300-\\u036f",to="\\ufe20-\\ufe2f",ro="\\u20d0-\\u20ff",no=eo+to+ro,io="\\ufe0e\\ufe0f",ao="["+Bi+"]",xr="["+no+"]",vr="\\ud83c[\\udffb-\\udfff]",so="(?:"+xr+"|"+vr+")",Oi="[^"+Bi+"]",Li="(?:\\ud83c[\\udde6-\\uddff]){2}",Pi="[\\ud800-\\udbff][\\udc00-\\udfff]",oo="\\u200d",ji=so+"?",Mi="["+io+"]?",uo="(?:"+oo+"(?:"+[Oi,Li,Pi].join("|")+")"+Mi+ji+")*",co=Mi+ji+uo,lo="(?:"+[Oi+xr+"?",xr,Li,Pi,ao].join("|")+")",po=RegExp(vr+"(?="+vr+")|"+lo+co,"g");function fo(n){return n.match(po)||[]}var Ui=fo;function mo(n){return Kt(n)?Ui(n):Fi(n)}var $i=mo;function ho(n){return function(e){e=Ne(e);var t=Kt(e)?$i(e):void 0,r=t?t[0]:e.charAt(0),a=t?Ci(t,1).join(""):e.slice(1);return r[n]()+a}}var Di=ho;var yo=Di("toUpperCase"),Ue=yo;function go(n){return Ue(Ne(n).toLowerCase())}var Vi=go;p();f();d();p();f();d();function xo(n,e,t,r){var a=-1,o=n==null?0:n.length;for(r&&o&&(t=n[++a]);++a<o;)t=e(t,n[a],a,n);return t}var Wi=xo;p();f();d();p();f();d();p();f();d();function vo(n){return function(e){return n?.[e]}}var qi=vo;var bo={\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"},wo=qi(bo),zi=wo;var _o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,To="\\u0300-\\u036f",ko="\\ufe20-\\ufe2f",Eo="\\u20d0-\\u20ff",Io=To+ko+Eo,Ao="["+Io+"]",Ro=RegExp(Ao,"g");function So(n){return n=Ne(n),n&&n.replace(_o,zi).replace(Ro,"")}var Zi=So;p();f();d();p();f();d();var No=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Co(n){return n.match(No)||[]}var Gi=Co;p();f();d();var Fo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Bo(n){return Fo.test(n)}var Hi=Bo;p();f();d();var Qi="\\ud800-\\udfff",Oo="\\u0300-\\u036f",Lo="\\ufe20-\\ufe2f",Po="\\u20d0-\\u20ff",jo=Oo+Lo+Po,ea="\\u2700-\\u27bf",ta="a-z\\xdf-\\xf6\\xf8-\\xff",Mo="\\xac\\xb1\\xd7\\xf7",Uo="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",$o="\\u2000-\\u206f",Do=" \\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",ra="A-Z\\xc0-\\xd6\\xd8-\\xde",Vo="\\ufe0e\\ufe0f",na=Mo+Uo+$o+Do,ia="['\u2019]",Ji="["+na+"]",Wo="["+jo+"]",aa="\\d+",qo="["+ea+"]",sa="["+ta+"]",oa="[^"+Qi+na+aa+ea+ta+ra+"]",zo="\\ud83c[\\udffb-\\udfff]",Zo="(?:"+Wo+"|"+zo+")",Go="[^"+Qi+"]",ua="(?:\\ud83c[\\udde6-\\uddff]){2}",ca="[\\ud800-\\udbff][\\udc00-\\udfff]",ct="["+ra+"]",Ho="\\u200d",Yi="(?:"+sa+"|"+oa+")",Jo="(?:"+ct+"|"+oa+")",Xi="(?:"+ia+"(?:d|ll|m|re|s|t|ve))?",Ki="(?:"+ia+"(?:D|LL|M|RE|S|T|VE))?",la=Zo+"?",pa="["+Vo+"]?",Yo="(?:"+Ho+"(?:"+[Go,ua,ca].join("|")+")"+pa+la+")*",Xo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ko="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Qo=pa+la+Yo,eu="(?:"+[qo,ua,ca].join("|")+")"+Qo,tu=RegExp([ct+"?"+sa+"+"+Xi+"(?="+[Ji,ct,"$"].join("|")+")",Jo+"+"+Ki+"(?="+[Ji,ct+Yi,"$"].join("|")+")",ct+"?"+Yi+"+"+Xi,ct+"+"+Ki,Ko,Xo,aa,eu].join("|"),"g");function ru(n){return n.match(tu)||[]}var da=ru;function nu(n,e,t){return n=Ne(n),e=t?void 0:e,e===void 0?Hi(n)?da(n):Gi(n):n.match(e)||[]}var fa=nu;var iu="['\u2019]",au=RegExp(iu,"g");function su(n){return function(e){return Wi(fa(Zi(e).replace(au,"")),n,"")}}var ma=su;var ou=ma(function(n,e,t){return e=e.toLowerCase(),n+(t?Vi(e):e)}),St=ou;p();f();d();function q(n){throw new Error("Unexpected value: "+JSON.stringify(n))}p();f();d();function Nt(n){return Object.keys(n)}p();f();d();p();f();d();p();f();d();var Ct=v.env.FERN_STACK_TRACK?.toLowerCase()??"",ye=Ct!==""&&Ct!=="0"&&Ct!=="false",br=["single","multiline","box"].includes(Ct)?Ct:"single";ye&&(Error.stackTraceLimit=50);var uu=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),cu=new Set(["stacktrace"]);function er({maxFrames:n=50,skip:e=0,filterPaths:t=[],filterFunctions:r=[],stopOn:a=[],filterNode:o=!0,filterJs:u=!0,formatFilename:m=x=>x}={}){if(!ye)return[];r=[...r,...uu],t=[...t,...cu],a=[...a,"runInteractiveTask"];let x=!1;return(new Error().stack??"").split(`
2
2
  `).map(k=>{let R=k.match(/at\s+(.*)\s+\((.*):(\d+):(\d+)\)/);if(R&&R.length===5){let[,P,Y,C,j]=R;if(!P||!Y||!C||!j)return;if(x||a.some(D=>P?.includes(D))){x=!0;return}switch(P){case"Object.<anonymous>":P="";break;case"Object.object":case"Object.alias":case"Object.union":case"Object.enum":case"Object.undiscriminatedUnion":P=`${P.substring(P.indexOf(".")+1)}()=> { ... }`;break}return{fn:P,path:m(Y),position:`${C}:${j}`}}}).filter(k=>k&&!r.some(R=>k.fn.includes(R))&&!(o&&k.path?.startsWith("node:"))&&!(u&&k.path?.endsWith(".js"))&&!t.some(R=>k.path.includes(R))).slice(e,e+n)}var Qt=class{constructor({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:a=[],stopOn:o=[],filterNode:u=!0,filterJs:m=!0,multiline:x=!1,formatFilename:k=R=>R}={}){E(this,"maxFrames");E(this,"skip");E(this,"filterPaths");E(this,"filterFunctions");E(this,"stopOn");E(this,"filterNode");E(this,"filterJs");E(this,"multiline");E(this,"formatFilename");E(this,"tracking",new WeakMap);this.maxFrames=e,this.skip=t,this.filterPaths=r,this.filterFunctions=a,this.stopOn=o,this.filterNode=u,this.filterJs=m,this.multiline=x,this.formatFilename=k}tag(e){let t=this.tracking.get(e)||new Set;er({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=>t.add(r)),this.tracking.set(e,t)}trace(e){if(!ye)return"";let t=this.tracking.get(e);return t?[...t].map(r=>`${this.multiline?`
3
3
  `:""}${r.fn} - ${r.path}:${r.position}`).join(""):""}frames(e){let t=this.tracking.get(e);return t?[...t]:[]}free(e){this.tracking.delete(e)}clear(){this.tracking=new WeakMap}},wr;function ha({maxFrames:n=50,skip:e=0,filterPaths:t=[],filterFunctions:r=[],stopOn:a=[],filterNode:o=!0,filterJs:u=!0,multiline:m=!1,formatFilename:x=k=>k}={}){ye&&(wr??(wr=new Qt({maxFrames:n,skip:e,filterPaths:t,filterFunctions:r,stopOn:a,filterNode:o,filterJs:u,multiline:m,formatFilename:x})))}function ya(n){wr?.tag(n)}function _r(n){return wr?.frames(n)??[]}var $e=class{constructor(){ya(this)}};p();f();d();var tr=class{formatMultiple(e){return Promise.all(e.map(t=>this.format(t)))}formatMultipleSync(e){return e.map(t=>this.formatSync(t))}dispose(){}},Ft=class extends tr{async format(e){return e}formatSync(e){return e}};p();f();d();p();f();d();p();f();d();var de=class extends $e{constructor(t){super();E(this,"value");this.value=t}write(t){typeof this.value=="string"?t.write(this.value):typeof this.value=="function"?this.value(t):this.value.write(t)}};var lu=4;ha({skip:0,maxFrames:15,filterFunctions:["Abstract"]});var Bt=class{constructor(){E(this,"lineBuffer",[]);E(this,"indentLevel",0);E(this,"hasWrittenAnything",!1);E(this,"lastCharacterIsSemicolon",!1);E(this,"lastCharacterIsNewline",!1);E(this,"nodeStackFrames",[])}get buffer(){return ye&&this.nodeStackFrames.length>0&&this.writeInternal(`
4
4
  `),this.lineBuffer.join(`