@fern-api/go-dynamic-snippets 1.45.2 → 1.45.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 nt=Object.defineProperty;var Xr=Object.getOwnPropertyDescriptor;var Qr=Object.getOwnPropertyNames;var Zr=Object.prototype.hasOwnProperty;var ei=(p,t,e)=>t in p?nt(p,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):p[t]=e;var oe=(p,t)=>()=>(p&&(t=p(p=0)),t);var xt=(p,t)=>{for(var e in t)nt(p,e,{get:t[e],enumerable:!0})},ti=(p,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Qr(t))!Zr.call(p,a)&&a!==e&&nt(p,a,{get:()=>t[a],enumerable:!(i=Xr(t,a))||i.enumerable});return p};var ni=p=>ti(nt({},"__esModule",{value:!0}),p);var m=(p,t,e)=>ei(p,typeof t!="symbol"?t+"":t,e);var y=oe(()=>{"use strict"});var N={};xt(N,{_debugEnd:()=>Wn,_debugProcess:()=>Vn,_events:()=>ir,_eventsCount:()=>or,_exiting:()=>xn,_fatalExceptions:()=>Mn,_getActiveHandles:()=>An,_getActiveRequests:()=>Nn,_kill:()=>Fn,_linkedBinding:()=>In,_maxListeners:()=>rr,_preload_modules:()=>er,_rawDebug:()=>vn,_startProfilerIdleNotifier:()=>qn,_stopProfilerIdleNotifier:()=>Gn,_tickCallback:()=>On,abort:()=>Yn,addListener:()=>sr,allowedNodeEnvironmentFlags:()=>Un,arch:()=>rn,argv:()=>an,argv0:()=>Zn,assert:()=>Ln,binding:()=>dn,browser:()=>gn,chdir:()=>mn,config:()=>En,cpuUsage:()=>ot,cwd:()=>hn,debugPort:()=>Qn,default:()=>mr,dlopen:()=>bn,domain:()=>Tn,emit:()=>lr,emitWarning:()=>ln,env:()=>sn,execArgv:()=>cn,execPath:()=>Xn,exit:()=>Sn,features:()=>_n,hasUncaughtExceptionCaptureCallback:()=>Dn,hrtime:()=>it,kill:()=>Bn,listeners:()=>hr,memoryUsage:()=>Pn,moduleLoadList:()=>wn,nextTick:()=>en,off:()=>cr,on:()=>ae,once:()=>ar,openStdin:()=>Cn,pid:()=>Kn,platform:()=>on,ppid:()=>Jn,prependListener:()=>dr,prependOnceListener:()=>fr,reallyExit:()=>Rn,release:()=>yn,removeAllListeners:()=>pr,removeListener:()=>ur,resourceUsage:()=>kn,setSourceMapsEnabled:()=>tr,setUncaughtExceptionCaptureCallback:()=>$n,stderr:()=>Hn,stdin:()=>zn,stdout:()=>jn,title:()=>nn,umask:()=>fn,uptime:()=>nr,version:()=>un,versions:()=>pn});function Nt(p){throw new Error("Node.js process "+p+" is not supported by JSPM core outside of Node.js")}function ri(){!Ue||!ye||(Ue=!1,ye.length?se=ye.concat(se):rt=-1,se.length&&Zt())}function Zt(){if(!Ue){var p=setTimeout(ri,0);Ue=!0;for(var t=se.length;t;){for(ye=se,se=[];++rt<t;)ye&&ye[rt].run();rt=-1,t=se.length}ye=null,Ue=!1,clearTimeout(p)}}function en(p){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];se.push(new tn(p,t)),se.length===1&&!Ue&&setTimeout(Zt,0)}function tn(p,t){this.fun=p,this.array=t}function H(){}function In(p){Nt("_linkedBinding")}function bn(p){Nt("dlopen")}function Nn(){return[]}function An(){return[]}function Ln(p,t){if(!p)throw new Error(t||"assertion error")}function Dn(){return!1}function nr(){return fe.now()/1e3}function it(p){var t=Math.floor((Date.now()-fe.now())*.001),e=fe.now()*.001,i=Math.floor(e)+t,a=Math.floor(e%1*1e9);return p&&(i=i-p[0],a=a-p[1],a<0&&(i--,a+=bt)),[i,a]}function ae(){return mr}function hr(p){return[]}var se,Ue,ye,rt,nn,rn,on,sn,an,cn,un,pn,ln,dn,fn,hn,mn,yn,gn,vn,wn,Tn,xn,En,Rn,Fn,ot,kn,Pn,Bn,Sn,Cn,Un,_n,Mn,$n,On,Vn,Wn,qn,Gn,jn,Hn,zn,Yn,Kn,Jn,Xn,Qn,Zn,er,tr,fe,Et,bt,rr,ir,or,sr,ar,cr,ur,pr,lr,dr,fr,mr,yr=oe(()=>{"use strict";y();v();g();se=[],Ue=!1,rt=-1;tn.prototype.run=function(){this.fun.apply(null,this.array)};nn="browser",rn="x64",on="browser",sn={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},an=["/usr/bin/node"],cn=[],un="v16.8.0",pn={},ln=function(p,t){console.warn((t?t+": ":"")+p)},dn=function(p){Nt("binding")},fn=function(p){return 0},hn=function(){return"/"},mn=function(p){},yn={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};gn=!0,vn=H,wn=[];Tn={},xn=!1,En={};Rn=H,Fn=H,ot=function(){return{}},kn=ot,Pn=ot,Bn=H,Sn=H,Cn=H,Un={};_n={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Mn=H,$n=H;On=H,Vn=H,Wn=H,qn=H,Gn=H,jn=void 0,Hn=void 0,zn=void 0,Yn=H,Kn=2,Jn=1,Xn="/bin/usr/node",Qn=9229,Zn="node",er=[],tr=H,fe={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};fe.now===void 0&&(Et=Date.now(),fe.timing&&fe.timing.navigationStart&&(Et=fe.timing.navigationStart),fe.now=()=>Date.now()-Et);bt=1e9;it.bigint=function(p){var t=it(p);return typeof BigInt>"u"?t[0]*bt+t[1]:BigInt(t[0]*bt)+BigInt(t[1])};rr=10,ir={},or=0;sr=ae,ar=ae,cr=ae,ur=ae,pr=ae,lr=H,dr=ae,fr=ae;mr={version:un,versions:pn,arch:rn,platform:on,browser:gn,release:yn,_rawDebug:vn,moduleLoadList:wn,binding:dn,_linkedBinding:In,_events:ir,_eventsCount:or,_maxListeners:rr,on:ae,addListener:sr,once:ar,off:cr,removeListener:ur,removeAllListeners:pr,emit:lr,prependListener:dr,prependOnceListener:fr,listeners:hr,domain:Tn,_exiting:xn,config:En,dlopen:bn,uptime:nr,_getActiveRequests:Nn,_getActiveHandles:An,reallyExit:Rn,_kill:Fn,cpuUsage:ot,resourceUsage:kn,memoryUsage:Pn,kill:Bn,exit:Sn,openStdin:Cn,allowedNodeEnvironmentFlags:Un,assert:Ln,features:_n,_fatalExceptions:Mn,setUncaughtExceptionCaptureCallback:$n,hasUncaughtExceptionCaptureCallback:Dn,emitWarning:ln,nextTick:en,_tickCallback:On,_debugProcess:Vn,_debugEnd:Wn,_startProfilerIdleNotifier:qn,_stopProfilerIdleNotifier:Gn,stdout:jn,stdin:zn,stderr:Hn,abort:Yn,umask:fn,chdir:mn,cwd:hn,env:sn,title:nn,argv:an,execArgv:cn,pid:Kn,ppid:Jn,execPath:Xn,debugPort:Qn,hrtime:it,argv0:Zn,_preload_modules:er,setSourceMapsEnabled:tr}});var g=oe(()=>{"use strict";yr()});function ii(){if(gr)return $e;gr=!0,$e.byteLength=f,$e.toByteArray=x,$e.fromByteArray=F;for(var p=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=i.length;a<u;++a)p[a]=i[a],t[i.charCodeAt(a)]=a;t[45]=62,t[95]=63;function o(b){var k=b.length;if(k%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var S=b.indexOf("=");S===-1&&(S=k);var B=S===k?0:4-S%4;return[S,B]}function f(b){var k=o(b),S=k[0],B=k[1];return(S+B)*3/4-B}function w(b,k,S){return(k+S)*3/4-S}function x(b){var k,S=o(b),B=S[0],G=S[1],$=new e(w(b,B,G)),V=0,Q=G>0?B-4:B,Y;for(Y=0;Y<Q;Y+=4)k=t[b.charCodeAt(Y)]<<18|t[b.charCodeAt(Y+1)]<<12|t[b.charCodeAt(Y+2)]<<6|t[b.charCodeAt(Y+3)],$[V++]=k>>16&255,$[V++]=k>>8&255,$[V++]=k&255;return G===2&&(k=t[b.charCodeAt(Y)]<<2|t[b.charCodeAt(Y+1)]>>4,$[V++]=k&255),G===1&&(k=t[b.charCodeAt(Y)]<<10|t[b.charCodeAt(Y+1)]<<4|t[b.charCodeAt(Y+2)]>>2,$[V++]=k>>8&255,$[V++]=k&255),$}function E(b){return p[b>>18&63]+p[b>>12&63]+p[b>>6&63]+p[b&63]}function T(b,k,S){for(var B,G=[],$=k;$<S;$+=3)B=(b[$]<<16&16711680)+(b[$+1]<<8&65280)+(b[$+2]&255),G.push(E(B));return G.join("")}function F(b){for(var k,S=b.length,B=S%3,G=[],$=16383,V=0,Q=S-B;V<Q;V+=$)G.push(T(b,V,V+$>Q?Q:V+$));return B===1?(k=b[S-1],G.push(p[k>>2]+p[k<<4&63]+"==")):B===2&&(k=(b[S-2]<<8)+b[S-1],G.push(p[k>>10]+p[k>>4&63]+p[k<<2&63]+"=")),G.join("")}return $e}function oi(){if(vr)return st;vr=!0;return st.read=function(p,t,e,i,a){var u,o,f=a*8-i-1,w=(1<<f)-1,x=w>>1,E=-7,T=e?a-1:0,F=e?-1:1,b=p[t+T];for(T+=F,u=b&(1<<-E)-1,b>>=-E,E+=f;E>0;u=u*256+p[t+T],T+=F,E-=8);for(o=u&(1<<-E)-1,u>>=-E,E+=i;E>0;o=o*256+p[t+T],T+=F,E-=8);if(u===0)u=1-x;else{if(u===w)return o?NaN:(b?-1:1)*(1/0);o=o+Math.pow(2,i),u=u-x}return(b?-1:1)*o*Math.pow(2,u-i)},st.write=function(p,t,e,i,a,u){var o,f,w,x=u*8-a-1,E=(1<<x)-1,T=E>>1,F=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=i?0:u-1,k=i?1:-1,S=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,o=E):(o=Math.floor(Math.log(t)/Math.LN2),t*(w=Math.pow(2,-o))<1&&(o--,w*=2),o+T>=1?t+=F/w:t+=F*Math.pow(2,1-T),t*w>=2&&(o++,w/=2),o+T>=E?(f=0,o=E):o+T>=1?(f=(t*w-1)*Math.pow(2,a),o=o+T):(f=t*Math.pow(2,T-1)*Math.pow(2,a),o=0));a>=8;p[e+b]=f&255,b+=k,f/=256,a-=8);for(o=o<<a|f,x+=a;x>0;p[e+b]=o&255,b+=k,o/=256,x-=8);p[e+b-k]|=S*128},st}function Ir(){if(wr)return ge;wr=!0;let p=ii(),t=oi(),e=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ge.Buffer=o,ge.SlowBuffer=G,ge.INSPECT_MAX_BYTES=50;let i=2147483647;ge.kMaxLength=i,o.TYPED_ARRAY_SUPPORT=a(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{let s=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(s,n),s.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function u(s){if(s>i)throw new RangeError('The value "'+s+'" is invalid for option "size"');let n=new Uint8Array(s);return Object.setPrototypeOf(n,o.prototype),n}function o(s,n,r){if(typeof s=="number"){if(typeof n=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return E(s)}return f(s,n,r)}o.poolSize=8192;function f(s,n,r){if(typeof s=="string")return T(s,n);if(ArrayBuffer.isView(s))return b(s);if(s==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof s);if(te(s,ArrayBuffer)||s&&te(s.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(te(s,SharedArrayBuffer)||s&&te(s.buffer,SharedArrayBuffer)))return k(s,n,r);if(typeof s=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let c=s.valueOf&&s.valueOf();if(c!=null&&c!==s)return o.from(c,n,r);let d=S(s);if(d)return d;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof s[Symbol.toPrimitive]=="function")return o.from(s[Symbol.toPrimitive]("string"),n,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof s)}o.from=function(s,n,r){return f(s,n,r)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function w(s){if(typeof s!="number")throw new TypeError('"size" argument must be of type number');if(s<0)throw new RangeError('The value "'+s+'" is invalid for option "size"')}function x(s,n,r){return w(s),s<=0?u(s):n!==void 0?typeof r=="string"?u(s).fill(n,r):u(s).fill(n):u(s)}o.alloc=function(s,n,r){return x(s,n,r)};function E(s){return w(s),u(s<0?0:B(s)|0)}o.allocUnsafe=function(s){return E(s)},o.allocUnsafeSlow=function(s){return E(s)};function T(s,n){if((typeof n!="string"||n==="")&&(n="utf8"),!o.isEncoding(n))throw new TypeError("Unknown encoding: "+n);let r=$(s,n)|0,c=u(r),d=c.write(s,n);return d!==r&&(c=c.slice(0,d)),c}function F(s){let n=s.length<0?0:B(s.length)|0,r=u(n);for(let c=0;c<n;c+=1)r[c]=s[c]&255;return r}function b(s){if(te(s,Uint8Array)){let n=new Uint8Array(s);return k(n.buffer,n.byteOffset,n.byteLength)}return F(s)}function k(s,n,r){if(n<0||s.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(s.byteLength<n+(r||0))throw new RangeError('"length" is outside of buffer bounds');let c;return n===void 0&&r===void 0?c=new Uint8Array(s):r===void 0?c=new Uint8Array(s,n):c=new Uint8Array(s,n,r),Object.setPrototypeOf(c,o.prototype),c}function S(s){if(o.isBuffer(s)){let n=B(s.length)|0,r=u(n);return r.length===0||s.copy(r,0,0,n),r}if(s.length!==void 0)return typeof s.length!="number"||Tt(s.length)?u(0):F(s);if(s.type==="Buffer"&&Array.isArray(s.data))return F(s.data)}function B(s){if(s>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return s|0}function G(s){return+s!=s&&(s=0),o.alloc(+s)}o.isBuffer=function(n){return n!=null&&n._isBuffer===!0&&n!==o.prototype},o.compare=function(n,r){if(te(n,Uint8Array)&&(n=o.from(n,n.offset,n.byteLength)),te(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(n)||!o.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===r)return 0;let c=n.length,d=r.length;for(let h=0,I=Math.min(c,d);h<I;++h)if(n[h]!==r[h]){c=n[h],d=r[h];break}return c<d?-1:d<c?1:0},o.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}},o.concat=function(n,r){if(!Array.isArray(n))throw new TypeError('"list" argument must be an Array of Buffers');if(n.length===0)return o.alloc(0);let c;if(r===void 0)for(r=0,c=0;c<n.length;++c)r+=n[c].length;let d=o.allocUnsafe(r),h=0;for(c=0;c<n.length;++c){let I=n[c];if(te(I,Uint8Array))h+I.length>d.length?(o.isBuffer(I)||(I=o.from(I)),I.copy(d,h)):Uint8Array.prototype.set.call(d,I,h);else if(o.isBuffer(I))I.copy(d,h);else throw new TypeError('"list" argument must be an Array of Buffers');h+=I.length}return d};function $(s,n){if(o.isBuffer(s))return s.length;if(ArrayBuffer.isView(s)||te(s,ArrayBuffer))return s.byteLength;if(typeof s!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof s);let r=s.length,c=arguments.length>2&&arguments[2]===!0;if(!c&&r===0)return 0;let d=!1;for(;;)switch(n){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return It(s).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Qt(s).length;default:if(d)return c?-1:It(s).length;n=(""+n).toLowerCase(),d=!0}}o.byteLength=$;function V(s,n,r){let c=!1;if((n===void 0||n<0)&&(n=0),n>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,n>>>=0,r<=n))return"";for(s||(s="utf8");;)switch(s){case"hex":return Wr(this,n,r);case"utf8":case"utf-8":return qt(this,n,r);case"ascii":return Or(this,n,r);case"latin1":case"binary":return Vr(this,n,r);case"base64":return $r(this,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qr(this,n,r);default:if(c)throw new TypeError("Unknown encoding: "+s);s=(s+"").toLowerCase(),c=!0}}o.prototype._isBuffer=!0;function Q(s,n,r){let c=s[n];s[n]=s[r],s[r]=c}o.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 r=0;r<n;r+=2)Q(this,r,r+1);return this},o.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 r=0;r<n;r+=4)Q(this,r,r+3),Q(this,r+1,r+2);return this},o.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 r=0;r<n;r+=8)Q(this,r,r+7),Q(this,r+1,r+6),Q(this,r+2,r+5),Q(this,r+3,r+4);return this},o.prototype.toString=function(){let n=this.length;return n===0?"":arguments.length===0?qt(this,0,n):V.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(n){if(!o.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n?!0:o.compare(this,n)===0},o.prototype.inspect=function(){let n="",r=ge.INSPECT_MAX_BYTES;return n=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(n+=" ... "),"<Buffer "+n+">"},e&&(o.prototype[e]=o.prototype.inspect),o.prototype.compare=function(n,r,c,d,h){if(te(n,Uint8Array)&&(n=o.from(n,n.offset,n.byteLength)),!o.isBuffer(n))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(r===void 0&&(r=0),c===void 0&&(c=n?n.length:0),d===void 0&&(d=0),h===void 0&&(h=this.length),r<0||c>n.length||d<0||h>this.length)throw new RangeError("out of range index");if(d>=h&&r>=c)return 0;if(d>=h)return-1;if(r>=c)return 1;if(r>>>=0,c>>>=0,d>>>=0,h>>>=0,this===n)return 0;let I=h-d,C=c-r,D=Math.min(I,C),M=this.slice(d,h),O=n.slice(r,c);for(let _=0;_<D;++_)if(M[_]!==O[_]){I=M[_],C=O[_];break}return I<C?-1:C<I?1:0};function Y(s,n,r,c,d){if(s.length===0)return-1;if(typeof r=="string"?(c=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Tt(r)&&(r=d?0:s.length-1),r<0&&(r=s.length+r),r>=s.length){if(d)return-1;r=s.length-1}else if(r<0)if(d)r=0;else return-1;if(typeof n=="string"&&(n=o.from(n,c)),o.isBuffer(n))return n.length===0?-1:Wt(s,n,r,c,d);if(typeof n=="number")return n=n&255,typeof Uint8Array.prototype.indexOf=="function"?d?Uint8Array.prototype.indexOf.call(s,n,r):Uint8Array.prototype.lastIndexOf.call(s,n,r):Wt(s,[n],r,c,d);throw new TypeError("val must be string, number or Buffer")}function Wt(s,n,r,c,d){let h=1,I=s.length,C=n.length;if(c!==void 0&&(c=String(c).toLowerCase(),c==="ucs2"||c==="ucs-2"||c==="utf16le"||c==="utf-16le")){if(s.length<2||n.length<2)return-1;h=2,I/=2,C/=2,r/=2}function D(O,_){return h===1?O[_]:O.readUInt16BE(_*h)}let M;if(d){let O=-1;for(M=r;M<I;M++)if(D(s,M)===D(n,O===-1?0:M-O)){if(O===-1&&(O=M),M-O+1===C)return O*h}else O!==-1&&(M-=M-O),O=-1}else for(r+C>I&&(r=I-C),M=r;M>=0;M--){let O=!0;for(let _=0;_<C;_++)if(D(s,M+_)!==D(n,_)){O=!1;break}if(O)return M}return-1}o.prototype.includes=function(n,r,c){return this.indexOf(n,r,c)!==-1},o.prototype.indexOf=function(n,r,c){return Y(this,n,r,c,!0)},o.prototype.lastIndexOf=function(n,r,c){return Y(this,n,r,c,!1)};function Cr(s,n,r,c){r=Number(r)||0;let d=s.length-r;c?(c=Number(c),c>d&&(c=d)):c=d;let h=n.length;c>h/2&&(c=h/2);let I;for(I=0;I<c;++I){let C=parseInt(n.substr(I*2,2),16);if(Tt(C))return I;s[r+I]=C}return I}function Ur(s,n,r,c){return tt(It(n,s.length-r),s,r,c)}function Lr(s,n,r,c){return tt(zr(n),s,r,c)}function _r(s,n,r,c){return tt(Qt(n),s,r,c)}function Mr(s,n,r,c){return tt(Yr(n,s.length-r),s,r,c)}o.prototype.write=function(n,r,c,d){if(r===void 0)d="utf8",c=this.length,r=0;else if(c===void 0&&typeof r=="string")d=r,c=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(c)?(c=c>>>0,d===void 0&&(d="utf8")):(d=c,c=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let h=this.length-r;if((c===void 0||c>h)&&(c=h),n.length>0&&(c<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");d||(d="utf8");let I=!1;for(;;)switch(d){case"hex":return Cr(this,n,r,c);case"utf8":case"utf-8":return Ur(this,n,r,c);case"ascii":case"latin1":case"binary":return Lr(this,n,r,c);case"base64":return _r(this,n,r,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mr(this,n,r,c);default:if(I)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),I=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $r(s,n,r){return n===0&&r===s.length?p.fromByteArray(s):p.fromByteArray(s.slice(n,r))}function qt(s,n,r){r=Math.min(s.length,r);let c=[],d=n;for(;d<r;){let h=s[d],I=null,C=h>239?4:h>223?3:h>191?2:1;if(d+C<=r){let D,M,O,_;switch(C){case 1:h<128&&(I=h);break;case 2:D=s[d+1],(D&192)===128&&(_=(h&31)<<6|D&63,_>127&&(I=_));break;case 3:D=s[d+1],M=s[d+2],(D&192)===128&&(M&192)===128&&(_=(h&15)<<12|(D&63)<<6|M&63,_>2047&&(_<55296||_>57343)&&(I=_));break;case 4:D=s[d+1],M=s[d+2],O=s[d+3],(D&192)===128&&(M&192)===128&&(O&192)===128&&(_=(h&15)<<18|(D&63)<<12|(M&63)<<6|O&63,_>65535&&_<1114112&&(I=_))}}I===null?(I=65533,C=1):I>65535&&(I-=65536,c.push(I>>>10&1023|55296),I=56320|I&1023),c.push(I),d+=C}return Dr(c)}let Gt=4096;function Dr(s){let n=s.length;if(n<=Gt)return String.fromCharCode.apply(String,s);let r="",c=0;for(;c<n;)r+=String.fromCharCode.apply(String,s.slice(c,c+=Gt));return r}function Or(s,n,r){let c="";r=Math.min(s.length,r);for(let d=n;d<r;++d)c+=String.fromCharCode(s[d]&127);return c}function Vr(s,n,r){let c="";r=Math.min(s.length,r);for(let d=n;d<r;++d)c+=String.fromCharCode(s[d]);return c}function Wr(s,n,r){let c=s.length;(!n||n<0)&&(n=0),(!r||r<0||r>c)&&(r=c);let d="";for(let h=n;h<r;++h)d+=Kr[s[h]];return d}function qr(s,n,r){let c=s.slice(n,r),d="";for(let h=0;h<c.length-1;h+=2)d+=String.fromCharCode(c[h]+c[h+1]*256);return d}o.prototype.slice=function(n,r){let c=this.length;n=~~n,r=r===void 0?c:~~r,n<0?(n+=c,n<0&&(n=0)):n>c&&(n=c),r<0?(r+=c,r<0&&(r=0)):r>c&&(r=c),r<n&&(r=n);let d=this.subarray(n,r);return Object.setPrototypeOf(d,o.prototype),d};function q(s,n,r){if(s%1!==0||s<0)throw new RangeError("offset is not uint");if(s+n>r)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(n,r,c){n=n>>>0,r=r>>>0,c||q(n,r,this.length);let d=this[n],h=1,I=0;for(;++I<r&&(h*=256);)d+=this[n+I]*h;return d},o.prototype.readUintBE=o.prototype.readUIntBE=function(n,r,c){n=n>>>0,r=r>>>0,c||q(n,r,this.length);let d=this[n+--r],h=1;for(;r>0&&(h*=256);)d+=this[n+--r]*h;return d},o.prototype.readUint8=o.prototype.readUInt8=function(n,r){return n=n>>>0,r||q(n,1,this.length),this[n]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(n,r){return n=n>>>0,r||q(n,2,this.length),this[n]|this[n+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(n,r){return n=n>>>0,r||q(n,2,this.length),this[n]<<8|this[n+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(n,r){return n=n>>>0,r||q(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+this[n+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(n,r){return n=n>>>0,r||q(n,4,this.length),this[n]*16777216+(this[n+1]<<16|this[n+2]<<8|this[n+3])},o.prototype.readBigUInt64LE=de(function(n){n=n>>>0,Ce(n,"offset");let r=this[n],c=this[n+7];(r===void 0||c===void 0)&&Me(n,this.length-8);let d=r+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24,h=this[++n]+this[++n]*2**8+this[++n]*2**16+c*2**24;return BigInt(d)+(BigInt(h)<<BigInt(32))}),o.prototype.readBigUInt64BE=de(function(n){n=n>>>0,Ce(n,"offset");let r=this[n],c=this[n+7];(r===void 0||c===void 0)&&Me(n,this.length-8);let d=r*2**24+this[++n]*2**16+this[++n]*2**8+this[++n],h=this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+c;return(BigInt(d)<<BigInt(32))+BigInt(h)}),o.prototype.readIntLE=function(n,r,c){n=n>>>0,r=r>>>0,c||q(n,r,this.length);let d=this[n],h=1,I=0;for(;++I<r&&(h*=256);)d+=this[n+I]*h;return h*=128,d>=h&&(d-=Math.pow(2,8*r)),d},o.prototype.readIntBE=function(n,r,c){n=n>>>0,r=r>>>0,c||q(n,r,this.length);let d=r,h=1,I=this[n+--d];for(;d>0&&(h*=256);)I+=this[n+--d]*h;return h*=128,I>=h&&(I-=Math.pow(2,8*r)),I},o.prototype.readInt8=function(n,r){return n=n>>>0,r||q(n,1,this.length),this[n]&128?(255-this[n]+1)*-1:this[n]},o.prototype.readInt16LE=function(n,r){n=n>>>0,r||q(n,2,this.length);let c=this[n]|this[n+1]<<8;return c&32768?c|4294901760:c},o.prototype.readInt16BE=function(n,r){n=n>>>0,r||q(n,2,this.length);let c=this[n+1]|this[n]<<8;return c&32768?c|4294901760:c},o.prototype.readInt32LE=function(n,r){return n=n>>>0,r||q(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},o.prototype.readInt32BE=function(n,r){return n=n>>>0,r||q(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},o.prototype.readBigInt64LE=de(function(n){n=n>>>0,Ce(n,"offset");let r=this[n],c=this[n+7];(r===void 0||c===void 0)&&Me(n,this.length-8);let d=this[n+4]+this[n+5]*2**8+this[n+6]*2**16+(c<<24);return(BigInt(d)<<BigInt(32))+BigInt(r+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24)}),o.prototype.readBigInt64BE=de(function(n){n=n>>>0,Ce(n,"offset");let r=this[n],c=this[n+7];(r===void 0||c===void 0)&&Me(n,this.length-8);let d=(r<<24)+this[++n]*2**16+this[++n]*2**8+this[++n];return(BigInt(d)<<BigInt(32))+BigInt(this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+c)}),o.prototype.readFloatLE=function(n,r){return n=n>>>0,r||q(n,4,this.length),t.read(this,n,!0,23,4)},o.prototype.readFloatBE=function(n,r){return n=n>>>0,r||q(n,4,this.length),t.read(this,n,!1,23,4)},o.prototype.readDoubleLE=function(n,r){return n=n>>>0,r||q(n,8,this.length),t.read(this,n,!0,52,8)},o.prototype.readDoubleBE=function(n,r){return n=n>>>0,r||q(n,8,this.length),t.read(this,n,!1,52,8)};function X(s,n,r,c,d,h){if(!o.isBuffer(s))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>d||n<h)throw new RangeError('"value" argument is out of bounds');if(r+c>s.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(n,r,c,d){if(n=+n,r=r>>>0,c=c>>>0,!d){let C=Math.pow(2,8*c)-1;X(this,n,r,c,C,0)}let h=1,I=0;for(this[r]=n&255;++I<c&&(h*=256);)this[r+I]=n/h&255;return r+c},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(n,r,c,d){if(n=+n,r=r>>>0,c=c>>>0,!d){let C=Math.pow(2,8*c)-1;X(this,n,r,c,C,0)}let h=c-1,I=1;for(this[r+h]=n&255;--h>=0&&(I*=256);)this[r+h]=n/I&255;return r+c},o.prototype.writeUint8=o.prototype.writeUInt8=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,1,255,0),this[r]=n&255,r+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,2,65535,0),this[r]=n&255,this[r+1]=n>>>8,r+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,2,65535,0),this[r]=n>>>8,this[r+1]=n&255,r+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,4,4294967295,0),this[r+3]=n>>>24,this[r+2]=n>>>16,this[r+1]=n>>>8,this[r]=n&255,r+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,4,4294967295,0),this[r]=n>>>24,this[r+1]=n>>>16,this[r+2]=n>>>8,this[r+3]=n&255,r+4};function jt(s,n,r,c,d){Xt(n,c,d,s,r,7);let h=Number(n&BigInt(4294967295));s[r++]=h,h=h>>8,s[r++]=h,h=h>>8,s[r++]=h,h=h>>8,s[r++]=h;let I=Number(n>>BigInt(32)&BigInt(4294967295));return s[r++]=I,I=I>>8,s[r++]=I,I=I>>8,s[r++]=I,I=I>>8,s[r++]=I,r}function Ht(s,n,r,c,d){Xt(n,c,d,s,r,7);let h=Number(n&BigInt(4294967295));s[r+7]=h,h=h>>8,s[r+6]=h,h=h>>8,s[r+5]=h,h=h>>8,s[r+4]=h;let I=Number(n>>BigInt(32)&BigInt(4294967295));return s[r+3]=I,I=I>>8,s[r+2]=I,I=I>>8,s[r+1]=I,I=I>>8,s[r]=I,r+8}o.prototype.writeBigUInt64LE=de(function(n,r=0){return jt(this,n,r,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=de(function(n,r=0){return Ht(this,n,r,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(n,r,c,d){if(n=+n,r=r>>>0,!d){let D=Math.pow(2,8*c-1);X(this,n,r,c,D-1,-D)}let h=0,I=1,C=0;for(this[r]=n&255;++h<c&&(I*=256);)n<0&&C===0&&this[r+h-1]!==0&&(C=1),this[r+h]=(n/I>>0)-C&255;return r+c},o.prototype.writeIntBE=function(n,r,c,d){if(n=+n,r=r>>>0,!d){let D=Math.pow(2,8*c-1);X(this,n,r,c,D-1,-D)}let h=c-1,I=1,C=0;for(this[r+h]=n&255;--h>=0&&(I*=256);)n<0&&C===0&&this[r+h+1]!==0&&(C=1),this[r+h]=(n/I>>0)-C&255;return r+c},o.prototype.writeInt8=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,1,127,-128),n<0&&(n=255+n+1),this[r]=n&255,r+1},o.prototype.writeInt16LE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,2,32767,-32768),this[r]=n&255,this[r+1]=n>>>8,r+2},o.prototype.writeInt16BE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,2,32767,-32768),this[r]=n>>>8,this[r+1]=n&255,r+2},o.prototype.writeInt32LE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,4,2147483647,-2147483648),this[r]=n&255,this[r+1]=n>>>8,this[r+2]=n>>>16,this[r+3]=n>>>24,r+4},o.prototype.writeInt32BE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),this[r]=n>>>24,this[r+1]=n>>>16,this[r+2]=n>>>8,this[r+3]=n&255,r+4},o.prototype.writeBigInt64LE=de(function(n,r=0){return jt(this,n,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=de(function(n,r=0){return Ht(this,n,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function zt(s,n,r,c,d,h){if(r+c>s.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Yt(s,n,r,c,d){return n=+n,r=r>>>0,d||zt(s,n,r,4),t.write(s,n,r,c,23,4),r+4}o.prototype.writeFloatLE=function(n,r,c){return Yt(this,n,r,!0,c)},o.prototype.writeFloatBE=function(n,r,c){return Yt(this,n,r,!1,c)};function Kt(s,n,r,c,d){return n=+n,r=r>>>0,d||zt(s,n,r,8),t.write(s,n,r,c,52,8),r+8}o.prototype.writeDoubleLE=function(n,r,c){return Kt(this,n,r,!0,c)},o.prototype.writeDoubleBE=function(n,r,c){return Kt(this,n,r,!1,c)},o.prototype.copy=function(n,r,c,d){if(!o.isBuffer(n))throw new TypeError("argument should be a Buffer");if(c||(c=0),!d&&d!==0&&(d=this.length),r>=n.length&&(r=n.length),r||(r=0),d>0&&d<c&&(d=c),d===c||n.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(c<0||c>=this.length)throw new RangeError("Index out of range");if(d<0)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),n.length-r<d-c&&(d=n.length-r+c);let h=d-c;return this===n&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,c,d):Uint8Array.prototype.set.call(n,this.subarray(c,d),r),h},o.prototype.fill=function(n,r,c,d){if(typeof n=="string"){if(typeof r=="string"?(d=r,r=0,c=this.length):typeof c=="string"&&(d=c,c=this.length),d!==void 0&&typeof d!="string")throw new TypeError("encoding must be a string");if(typeof d=="string"&&!o.isEncoding(d))throw new TypeError("Unknown encoding: "+d);if(n.length===1){let I=n.charCodeAt(0);(d==="utf8"&&I<128||d==="latin1")&&(n=I)}}else typeof n=="number"?n=n&255:typeof n=="boolean"&&(n=Number(n));if(r<0||this.length<r||this.length<c)throw new RangeError("Out of range index");if(c<=r)return this;r=r>>>0,c=c===void 0?this.length:c>>>0,n||(n=0);let h;if(typeof n=="number")for(h=r;h<c;++h)this[h]=n;else{let I=o.isBuffer(n)?n:o.from(n,d),C=I.length;if(C===0)throw new TypeError('The value "'+n+'" is invalid for argument "value"');for(h=0;h<c-r;++h)this[h+r]=I[h%C]}return this};let Se={};function wt(s,n,r){Se[s]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:n.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${s}]`,this.stack,delete this.name}get code(){return s}set code(d){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:d,writable:!0})}toString(){return`${this.name} [${s}]: ${this.message}`}}}wt("ERR_BUFFER_OUT_OF_BOUNDS",function(s){return s?`${s} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),wt("ERR_INVALID_ARG_TYPE",function(s,n){return`The "${s}" argument must be of type number. Received type ${typeof n}`},TypeError),wt("ERR_OUT_OF_RANGE",function(s,n,r){let c=`The value of "${s}" is out of range.`,d=r;return Number.isInteger(r)&&Math.abs(r)>2**32?d=Jt(String(r)):typeof r=="bigint"&&(d=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(d=Jt(d)),d+="n"),c+=` It must be ${n}. Received ${d}`,c},RangeError);function Jt(s){let n="",r=s.length,c=s[0]==="-"?1:0;for(;r>=c+4;r-=3)n=`_${s.slice(r-3,r)}${n}`;return`${s.slice(0,r)}${n}`}function Gr(s,n,r){Ce(n,"offset"),(s[n]===void 0||s[n+r]===void 0)&&Me(n,s.length-(r+1))}function Xt(s,n,r,c,d,h){if(s>r||s<n){let I=typeof n=="bigint"?"n":"",C;throw n===0||n===BigInt(0)?C=`>= 0${I} and < 2${I} ** ${(h+1)*8}${I}`:C=`>= -(2${I} ** ${(h+1)*8-1}${I}) and < 2 ** ${(h+1)*8-1}${I}`,new Se.ERR_OUT_OF_RANGE("value",C,s)}Gr(c,d,h)}function Ce(s,n){if(typeof s!="number")throw new Se.ERR_INVALID_ARG_TYPE(n,"number",s)}function Me(s,n,r){throw Math.floor(s)!==s?(Ce(s,r),new Se.ERR_OUT_OF_RANGE("offset","an integer",s)):n<0?new Se.ERR_BUFFER_OUT_OF_BOUNDS:new Se.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${n}`,s)}let jr=/[^+/0-9A-Za-z-_]/g;function Hr(s){if(s=s.split("=")[0],s=s.trim().replace(jr,""),s.length<2)return"";for(;s.length%4!==0;)s=s+"=";return s}function It(s,n){n=n||1/0;let r,c=s.length,d=null,h=[];for(let I=0;I<c;++I){if(r=s.charCodeAt(I),r>55295&&r<57344){if(!d){if(r>56319){(n-=3)>-1&&h.push(239,191,189);continue}else if(I+1===c){(n-=3)>-1&&h.push(239,191,189);continue}d=r;continue}if(r<56320){(n-=3)>-1&&h.push(239,191,189),d=r;continue}r=(d-55296<<10|r-56320)+65536}else d&&(n-=3)>-1&&h.push(239,191,189);if(d=null,r<128){if((n-=1)<0)break;h.push(r)}else if(r<2048){if((n-=2)<0)break;h.push(r>>6|192,r&63|128)}else if(r<65536){if((n-=3)<0)break;h.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((n-=4)<0)break;h.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return h}function zr(s){let n=[];for(let r=0;r<s.length;++r)n.push(s.charCodeAt(r)&255);return n}function Yr(s,n){let r,c,d,h=[];for(let I=0;I<s.length&&!((n-=2)<0);++I)r=s.charCodeAt(I),c=r>>8,d=r%256,h.push(d),h.push(c);return h}function Qt(s){return p.toByteArray(Hr(s))}function tt(s,n,r,c){let d;for(d=0;d<c&&!(d+r>=n.length||d>=s.length);++d)n[d+r]=s[d];return d}function te(s,n){return s instanceof n||s!=null&&s.constructor!=null&&s.constructor.name!=null&&s.constructor.name===n.name}function Tt(s){return s!==s}let Kr=(function(){let s="0123456789abcdef",n=new Array(256);for(let r=0;r<16;++r){let c=r*16;for(let d=0;d<16;++d)n[c+d]=s[r]+s[d]}return n})();function de(s){return typeof BigInt>"u"?Jr:s}function Jr(){throw new Error("BigInt not supported")}return ge}var $e,gr,st,vr,ge,wr,Tr=oe(()=>{"use strict";y();v();g();$e={},gr=!1;st={},vr=!1;ge={},wr=!1});var ve,A,bs,Ns,xr=oe(()=>{"use strict";y();v();g();Tr();ve=Ir();ve.Buffer;ve.SlowBuffer;ve.INSPECT_MAX_BYTES;ve.kMaxLength;A=ve.Buffer,bs=ve.INSPECT_MAX_BYTES,Ns=ve.kMaxLength});var v=oe(()=>{"use strict";xr()});function St(p){throw new Error("Node.js process "+p+" is not supported by JSPM core outside of Node.js")}function ci(){!Le||!Ie||(Le=!1,Ie.length?ce=Ie.concat(ce):pt=-1,ce.length&&Nr())}function Nr(){if(!Le){var p=setTimeout(ci,0);Le=!0;for(var t=ce.length;t;){for(Ie=ce,ce=[];++pt<t;)Ie&&Ie[pt].run();pt=-1,t=ce.length}Ie=null,Le=!1,clearTimeout(p)}}function ui(p){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];ce.push(new Ar(p,t)),ce.length===1&&!Le&&setTimeout(Nr,0)}function Ar(p,t){this.fun=p,this.array=t}function z(){}function Ai(p){St("_linkedBinding")}function Pi(p){St("dlopen")}function Bi(){return[]}function Si(){return[]}function Vi(p,t){if(!p)throw new Error(t||"assertion error")}function ji(){return!1}function co(){return he.now()/1e3}function Bt(p){var t=Math.floor((Date.now()-he.now())*.001),e=he.now()*.001,i=Math.floor(e)+t,a=Math.floor(e%1*1e9);return p&&(i=i-p[0],a=a-p[1],a<0&&(i--,a+=Pt)),[i,a]}function me(){return Ut}function To(p){return[]}var ce,Le,Ie,pt,pi,li,di,fi,hi,mi,yi,gi,vi,wi,Ii,Ti,xi,Ei,bi,Ni,Ri,Fi,ki,Ci,Ui,Ct,Li,_i,Mi,$i,Di,Oi,Wi,qi,Gi,Hi,zi,Yi,Ki,Ji,Xi,Qi,Zi,eo,to,no,ro,io,oo,so,ao,he,kt,Pt,uo,po,lo,fo,ho,mo,yo,go,vo,wo,Io,Ut,Lt=oe(()=>{"use strict";y();v();g();ce=[],Le=!1,pt=-1;Ar.prototype.run=function(){this.fun.apply(null,this.array)};pi="browser",li="x64",di="browser",fi={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},hi=["/usr/bin/node"],mi=[],yi="v16.8.0",gi={},vi=function(p,t){console.warn((t?t+": ":"")+p)},wi=function(p){St("binding")},Ii=function(p){return 0},Ti=function(){return"/"},xi=function(p){},Ei={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};bi=z,Ni=[];Ri={},Fi=!1,ki={};Ci=z,Ui=z,Ct=function(){return{}},Li=Ct,_i=Ct,Mi=z,$i=z,Di=z,Oi={};Wi={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},qi=z,Gi=z;Hi=z,zi=z,Yi=z,Ki=z,Ji=z,Xi=void 0,Qi=void 0,Zi=void 0,eo=z,to=2,no=1,ro="/bin/usr/node",io=9229,oo="node",so=[],ao=z,he={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};he.now===void 0&&(kt=Date.now(),he.timing&&he.timing.navigationStart&&(kt=he.timing.navigationStart),he.now=()=>Date.now()-kt);Pt=1e9;Bt.bigint=function(p){var t=Bt(p);return typeof BigInt>"u"?t[0]*Pt+t[1]:BigInt(t[0]*Pt)+BigInt(t[1])};uo=10,po={},lo=0;fo=me,ho=me,mo=me,yo=me,go=me,vo=z,wo=me,Io=me;Ut={version:yi,versions:gi,arch:li,platform:di,release:Ei,_rawDebug:bi,moduleLoadList:Ni,binding:wi,_linkedBinding:Ai,_events:po,_eventsCount:lo,_maxListeners:uo,on:me,addListener:fo,once:ho,off:mo,removeListener:yo,removeAllListeners:go,emit:vo,prependListener:wo,prependOnceListener:Io,listeners:To,domain:Ri,_exiting:Fi,config:ki,dlopen:Pi,uptime:co,_getActiveRequests:Bi,_getActiveHandles:Si,reallyExit:Ci,_kill:Ui,cpuUsage:Ct,resourceUsage:Li,memoryUsage:_i,kill:Mi,exit:$i,openStdin:Di,allowedNodeEnvironmentFlags:Oi,assert:Vi,features:Wi,_fatalExceptions:qi,setUncaughtExceptionCaptureCallback:Gi,hasUncaughtExceptionCaptureCallback:ji,emitWarning:vi,nextTick:ui,_tickCallback:Hi,_debugProcess:zi,_debugEnd:Yi,_startProfilerIdleNotifier:Ki,_stopProfilerIdleNotifier:Ji,stdout:Xi,stdin:Zi,stderr:Qi,abort:eo,umask:Ii,chdir:xi,cwd:Ti,env:fi,title:pi,argv:hi,execArgv:mi,pid:to,ppid:no,execPath:ro,debugPort:io,hrtime:Bt,argv0:oo,_preload_modules:so,setSourceMapsEnabled:ao}});function xo(){if(Rr)return _t;Rr=!0;var p=Ut;function t(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}function e(u,o){for(var f="",w=0,x=-1,E=0,T,F=0;F<=u.length;++F){if(F<u.length)T=u.charCodeAt(F);else{if(T===47)break;T=47}if(T===47){if(!(x===F-1||E===1))if(x!==F-1&&E===2){if(f.length<2||w!==2||f.charCodeAt(f.length-1)!==46||f.charCodeAt(f.length-2)!==46){if(f.length>2){var b=f.lastIndexOf("/");if(b!==f.length-1){b===-1?(f="",w=0):(f=f.slice(0,b),w=f.length-1-f.lastIndexOf("/")),x=F,E=0;continue}}else if(f.length===2||f.length===1){f="",w=0,x=F,E=0;continue}}o&&(f.length>0?f+="/..":f="..",w=2)}else f.length>0?f+="/"+u.slice(x+1,F):f=u.slice(x+1,F),w=F-x-1;x=F,E=0}else T===46&&E!==-1?++E:E=-1}return f}function i(u,o){var f=o.dir||o.root,w=o.base||(o.name||"")+(o.ext||"");return f?f===o.root?f+w:f+u+w:w}var a={resolve:function(){for(var o="",f=!1,w,x=arguments.length-1;x>=-1&&!f;x--){var E;x>=0?E=arguments[x]:(w===void 0&&(w=p.cwd()),E=w),t(E),E.length!==0&&(o=E+"/"+o,f=E.charCodeAt(0)===47)}return o=e(o,!f),f?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(t(o),o.length===0)return".";var f=o.charCodeAt(0)===47,w=o.charCodeAt(o.length-1)===47;return o=e(o,!f),o.length===0&&!f&&(o="."),o.length>0&&w&&(o+="/"),f?"/"+o:o},isAbsolute:function(o){return t(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,f=0;f<arguments.length;++f){var w=arguments[f];t(w),w.length>0&&(o===void 0?o=w:o+="/"+w)}return o===void 0?".":a.normalize(o)},relative:function(o,f){if(t(o),t(f),o===f||(o=a.resolve(o),f=a.resolve(f),o===f))return"";for(var w=1;w<o.length&&o.charCodeAt(w)===47;++w);for(var x=o.length,E=x-w,T=1;T<f.length&&f.charCodeAt(T)===47;++T);for(var F=f.length,b=F-T,k=E<b?E:b,S=-1,B=0;B<=k;++B){if(B===k){if(b>k){if(f.charCodeAt(T+B)===47)return f.slice(T+B+1);if(B===0)return f.slice(T+B)}else E>k&&(o.charCodeAt(w+B)===47?S=B:B===0&&(S=0));break}var G=o.charCodeAt(w+B),$=f.charCodeAt(T+B);if(G!==$)break;G===47&&(S=B)}var V="";for(B=w+S+1;B<=x;++B)(B===x||o.charCodeAt(B)===47)&&(V.length===0?V+="..":V+="/..");return V.length>0?V+f.slice(T+S):(T+=S,f.charCodeAt(T)===47&&++T,f.slice(T))},_makeLong:function(o){return o},dirname:function(o){if(t(o),o.length===0)return".";for(var f=o.charCodeAt(0),w=f===47,x=-1,E=!0,T=o.length-1;T>=1;--T)if(f=o.charCodeAt(T),f===47){if(!E){x=T;break}}else E=!1;return x===-1?w?"/":".":w&&x===1?"//":o.slice(0,x)},basename:function(o,f){if(f!==void 0&&typeof f!="string")throw new TypeError('"ext" argument must be a string');t(o);var w=0,x=-1,E=!0,T;if(f!==void 0&&f.length>0&&f.length<=o.length){if(f.length===o.length&&f===o)return"";var F=f.length-1,b=-1;for(T=o.length-1;T>=0;--T){var k=o.charCodeAt(T);if(k===47){if(!E){w=T+1;break}}else b===-1&&(E=!1,b=T+1),F>=0&&(k===f.charCodeAt(F)?--F===-1&&(x=T):(F=-1,x=b))}return w===x?x=b:x===-1&&(x=o.length),o.slice(w,x)}else{for(T=o.length-1;T>=0;--T)if(o.charCodeAt(T)===47){if(!E){w=T+1;break}}else x===-1&&(E=!1,x=T+1);return x===-1?"":o.slice(w,x)}},extname:function(o){t(o);for(var f=-1,w=0,x=-1,E=!0,T=0,F=o.length-1;F>=0;--F){var b=o.charCodeAt(F);if(b===47){if(!E){w=F+1;break}continue}x===-1&&(E=!1,x=F+1),b===46?f===-1?f=F:T!==1&&(T=1):f!==-1&&(T=-1)}return f===-1||x===-1||T===0||T===1&&f===x-1&&f===w+1?"":o.slice(f,x)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return i("/",o)},parse:function(o){t(o);var f={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return f;var w=o.charCodeAt(0),x=w===47,E;x?(f.root="/",E=1):E=0;for(var T=-1,F=0,b=-1,k=!0,S=o.length-1,B=0;S>=E;--S){if(w=o.charCodeAt(S),w===47){if(!k){F=S+1;break}continue}b===-1&&(k=!1,b=S+1),w===46?T===-1?T=S:B!==1&&(B=1):T!==-1&&(B=-1)}return T===-1||b===-1||B===0||B===1&&T===b-1&&T===F+1?b!==-1&&(F===0&&x?f.base=f.name=o.slice(1,b):f.base=f.name=o.slice(F,b)):(F===0&&x?(f.name=o.slice(1,T),f.base=o.slice(1,b)):(f.name=o.slice(F,T),f.base=o.slice(F,b)),f.ext=o.slice(T,b)),F>0?f.dir=o.slice(0,F-1):x&&(f.dir="/"),f},sep:"/",delimiter:":",win32:null,posix:null};return a.posix=a,_t=a,_t}var _t,Rr,W,Fr=oe(()=>{"use strict";y();v();g();Lt();_t={},Rr=!1;W=xo()});var Tu,xu,Eu,bu,Nu,Au,Ru,Fu,ku,Pu,Bu,Su,Cu,Uu,Lu,kr=oe(()=>{"use strict";y();v();g();Fr();Lt();Tu=W._makeLong,xu=W.basename,Eu=W.delimiter,bu=W.dirname,Nu=W.extname,Au=W.format,Ru=W.isAbsolute,Fu=W.join,ku=W.normalize,Pu=W.parse,Bu=W.posix,Su=W.relative,Cu=W.resolve,Uu=W.sep,Lu=W.win32});var ls={};xt(ls,{DynamicSnippetsGenerator:()=>vt});module.exports=ni(ls);y();v();g();y();v();g();y();v();g();y();v();g();function U(p){throw new Error("Unexpected value: "+JSON.stringify(p))}y();v();g();function De(p){return Object.keys(p)}y();v();g();y();v();g();y();v();g();var Oe=N.env.FERN_STACK_TRACK?.toLowerCase()??"",ne=Oe!==""&&Oe!=="0"&&Oe!=="false",At=["single","multiline","box"].includes(Oe)?Oe:"single";ne&&(Error.stackTraceLimit=50);var si=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),ai=new Set(["stacktrace"]);function ct({maxFrames:p=50,skip:t=0,filterPaths:e=[],filterFunctions:i=[],stopOn:a=[],filterNode:u=!0,filterJs:o=!0,formatFilename:f=w=>w}={}){if(!ne)return[];i=[...i,...si],e=[...e,...ai],a=[...a,"runInteractiveTask"];let w=!1;return(new Error().stack??"").split(`
1
+ "use strict";var nt=Object.defineProperty;var Xr=Object.getOwnPropertyDescriptor;var Qr=Object.getOwnPropertyNames;var Zr=Object.prototype.hasOwnProperty;var ei=(p,t,e)=>t in p?nt(p,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):p[t]=e;var oe=(p,t,e)=>()=>{if(e)throw e[0];try{return p&&(t=p(p=0)),t}catch(i){throw e=[i],i}};var xt=(p,t)=>{for(var e in t)nt(p,e,{get:t[e],enumerable:!0})},ti=(p,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Qr(t))!Zr.call(p,a)&&a!==e&&nt(p,a,{get:()=>t[a],enumerable:!(i=Xr(t,a))||i.enumerable});return p};var ni=p=>ti(nt({},"__esModule",{value:!0}),p);var m=(p,t,e)=>ei(p,typeof t!="symbol"?t+"":t,e);var y=oe(()=>{"use strict"});var N={};xt(N,{_debugEnd:()=>Wn,_debugProcess:()=>Vn,_events:()=>ir,_eventsCount:()=>or,_exiting:()=>xn,_fatalExceptions:()=>Mn,_getActiveHandles:()=>An,_getActiveRequests:()=>Nn,_kill:()=>Fn,_linkedBinding:()=>In,_maxListeners:()=>rr,_preload_modules:()=>er,_rawDebug:()=>vn,_startProfilerIdleNotifier:()=>qn,_stopProfilerIdleNotifier:()=>Gn,_tickCallback:()=>On,abort:()=>Yn,addListener:()=>sr,allowedNodeEnvironmentFlags:()=>Un,arch:()=>rn,argv:()=>an,argv0:()=>Zn,assert:()=>Ln,binding:()=>dn,browser:()=>gn,chdir:()=>mn,config:()=>En,cpuUsage:()=>ot,cwd:()=>hn,debugPort:()=>Qn,default:()=>mr,dlopen:()=>bn,domain:()=>Tn,emit:()=>lr,emitWarning:()=>ln,env:()=>sn,execArgv:()=>cn,execPath:()=>Xn,exit:()=>Sn,features:()=>_n,hasUncaughtExceptionCaptureCallback:()=>Dn,hrtime:()=>it,kill:()=>Bn,listeners:()=>hr,memoryUsage:()=>Pn,moduleLoadList:()=>wn,nextTick:()=>en,off:()=>cr,on:()=>ae,once:()=>ar,openStdin:()=>Cn,pid:()=>Kn,platform:()=>on,ppid:()=>Jn,prependListener:()=>dr,prependOnceListener:()=>fr,reallyExit:()=>Rn,release:()=>yn,removeAllListeners:()=>pr,removeListener:()=>ur,resourceUsage:()=>kn,setSourceMapsEnabled:()=>tr,setUncaughtExceptionCaptureCallback:()=>$n,stderr:()=>Hn,stdin:()=>zn,stdout:()=>jn,title:()=>nn,umask:()=>fn,uptime:()=>nr,version:()=>un,versions:()=>pn});function Nt(p){throw new Error("Node.js process "+p+" is not supported by JSPM core outside of Node.js")}function ri(){!Ue||!ye||(Ue=!1,ye.length?se=ye.concat(se):rt=-1,se.length&&Zt())}function Zt(){if(!Ue){var p=setTimeout(ri,0);Ue=!0;for(var t=se.length;t;){for(ye=se,se=[];++rt<t;)ye&&ye[rt].run();rt=-1,t=se.length}ye=null,Ue=!1,clearTimeout(p)}}function en(p){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];se.push(new tn(p,t)),se.length===1&&!Ue&&setTimeout(Zt,0)}function tn(p,t){this.fun=p,this.array=t}function H(){}function In(p){Nt("_linkedBinding")}function bn(p){Nt("dlopen")}function Nn(){return[]}function An(){return[]}function Ln(p,t){if(!p)throw new Error(t||"assertion error")}function Dn(){return!1}function nr(){return fe.now()/1e3}function it(p){var t=Math.floor((Date.now()-fe.now())*.001),e=fe.now()*.001,i=Math.floor(e)+t,a=Math.floor(e%1*1e9);return p&&(i=i-p[0],a=a-p[1],a<0&&(i--,a+=bt)),[i,a]}function ae(){return mr}function hr(p){return[]}var se,Ue,ye,rt,nn,rn,on,sn,an,cn,un,pn,ln,dn,fn,hn,mn,yn,gn,vn,wn,Tn,xn,En,Rn,Fn,ot,kn,Pn,Bn,Sn,Cn,Un,_n,Mn,$n,On,Vn,Wn,qn,Gn,jn,Hn,zn,Yn,Kn,Jn,Xn,Qn,Zn,er,tr,fe,Et,bt,rr,ir,or,sr,ar,cr,ur,pr,lr,dr,fr,mr,yr=oe(()=>{"use strict";y();v();g();se=[],Ue=!1,rt=-1;tn.prototype.run=function(){this.fun.apply(null,this.array)};nn="browser",rn="x64",on="browser",sn={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},an=["/usr/bin/node"],cn=[],un="v16.8.0",pn={},ln=function(p,t){console.warn((t?t+": ":"")+p)},dn=function(p){Nt("binding")},fn=function(p){return 0},hn=function(){return"/"},mn=function(p){},yn={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};gn=!0,vn=H,wn=[];Tn={},xn=!1,En={};Rn=H,Fn=H,ot=function(){return{}},kn=ot,Pn=ot,Bn=H,Sn=H,Cn=H,Un={};_n={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Mn=H,$n=H;On=H,Vn=H,Wn=H,qn=H,Gn=H,jn=void 0,Hn=void 0,zn=void 0,Yn=H,Kn=2,Jn=1,Xn="/bin/usr/node",Qn=9229,Zn="node",er=[],tr=H,fe={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};fe.now===void 0&&(Et=Date.now(),fe.timing&&fe.timing.navigationStart&&(Et=fe.timing.navigationStart),fe.now=()=>Date.now()-Et);bt=1e9;it.bigint=function(p){var t=it(p);return typeof BigInt>"u"?t[0]*bt+t[1]:BigInt(t[0]*bt)+BigInt(t[1])};rr=10,ir={},or=0;sr=ae,ar=ae,cr=ae,ur=ae,pr=ae,lr=H,dr=ae,fr=ae;mr={version:un,versions:pn,arch:rn,platform:on,browser:gn,release:yn,_rawDebug:vn,moduleLoadList:wn,binding:dn,_linkedBinding:In,_events:ir,_eventsCount:or,_maxListeners:rr,on:ae,addListener:sr,once:ar,off:cr,removeListener:ur,removeAllListeners:pr,emit:lr,prependListener:dr,prependOnceListener:fr,listeners:hr,domain:Tn,_exiting:xn,config:En,dlopen:bn,uptime:nr,_getActiveRequests:Nn,_getActiveHandles:An,reallyExit:Rn,_kill:Fn,cpuUsage:ot,resourceUsage:kn,memoryUsage:Pn,kill:Bn,exit:Sn,openStdin:Cn,allowedNodeEnvironmentFlags:Un,assert:Ln,features:_n,_fatalExceptions:Mn,setUncaughtExceptionCaptureCallback:$n,hasUncaughtExceptionCaptureCallback:Dn,emitWarning:ln,nextTick:en,_tickCallback:On,_debugProcess:Vn,_debugEnd:Wn,_startProfilerIdleNotifier:qn,_stopProfilerIdleNotifier:Gn,stdout:jn,stdin:zn,stderr:Hn,abort:Yn,umask:fn,chdir:mn,cwd:hn,env:sn,title:nn,argv:an,execArgv:cn,pid:Kn,ppid:Jn,execPath:Xn,debugPort:Qn,hrtime:it,argv0:Zn,_preload_modules:er,setSourceMapsEnabled:tr}});var g=oe(()=>{"use strict";yr()});function ii(){if(gr)return $e;gr=!0,$e.byteLength=f,$e.toByteArray=x,$e.fromByteArray=F;for(var p=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=i.length;a<u;++a)p[a]=i[a],t[i.charCodeAt(a)]=a;t[45]=62,t[95]=63;function o(b){var k=b.length;if(k%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var S=b.indexOf("=");S===-1&&(S=k);var B=S===k?0:4-S%4;return[S,B]}function f(b){var k=o(b),S=k[0],B=k[1];return(S+B)*3/4-B}function w(b,k,S){return(k+S)*3/4-S}function x(b){var k,S=o(b),B=S[0],G=S[1],$=new e(w(b,B,G)),V=0,Q=G>0?B-4:B,Y;for(Y=0;Y<Q;Y+=4)k=t[b.charCodeAt(Y)]<<18|t[b.charCodeAt(Y+1)]<<12|t[b.charCodeAt(Y+2)]<<6|t[b.charCodeAt(Y+3)],$[V++]=k>>16&255,$[V++]=k>>8&255,$[V++]=k&255;return G===2&&(k=t[b.charCodeAt(Y)]<<2|t[b.charCodeAt(Y+1)]>>4,$[V++]=k&255),G===1&&(k=t[b.charCodeAt(Y)]<<10|t[b.charCodeAt(Y+1)]<<4|t[b.charCodeAt(Y+2)]>>2,$[V++]=k>>8&255,$[V++]=k&255),$}function E(b){return p[b>>18&63]+p[b>>12&63]+p[b>>6&63]+p[b&63]}function T(b,k,S){for(var B,G=[],$=k;$<S;$+=3)B=(b[$]<<16&16711680)+(b[$+1]<<8&65280)+(b[$+2]&255),G.push(E(B));return G.join("")}function F(b){for(var k,S=b.length,B=S%3,G=[],$=16383,V=0,Q=S-B;V<Q;V+=$)G.push(T(b,V,V+$>Q?Q:V+$));return B===1?(k=b[S-1],G.push(p[k>>2]+p[k<<4&63]+"==")):B===2&&(k=(b[S-2]<<8)+b[S-1],G.push(p[k>>10]+p[k>>4&63]+p[k<<2&63]+"=")),G.join("")}return $e}function oi(){if(vr)return st;vr=!0;return st.read=function(p,t,e,i,a){var u,o,f=a*8-i-1,w=(1<<f)-1,x=w>>1,E=-7,T=e?a-1:0,F=e?-1:1,b=p[t+T];for(T+=F,u=b&(1<<-E)-1,b>>=-E,E+=f;E>0;u=u*256+p[t+T],T+=F,E-=8);for(o=u&(1<<-E)-1,u>>=-E,E+=i;E>0;o=o*256+p[t+T],T+=F,E-=8);if(u===0)u=1-x;else{if(u===w)return o?NaN:(b?-1:1)*(1/0);o=o+Math.pow(2,i),u=u-x}return(b?-1:1)*o*Math.pow(2,u-i)},st.write=function(p,t,e,i,a,u){var o,f,w,x=u*8-a-1,E=(1<<x)-1,T=E>>1,F=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=i?0:u-1,k=i?1:-1,S=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,o=E):(o=Math.floor(Math.log(t)/Math.LN2),t*(w=Math.pow(2,-o))<1&&(o--,w*=2),o+T>=1?t+=F/w:t+=F*Math.pow(2,1-T),t*w>=2&&(o++,w/=2),o+T>=E?(f=0,o=E):o+T>=1?(f=(t*w-1)*Math.pow(2,a),o=o+T):(f=t*Math.pow(2,T-1)*Math.pow(2,a),o=0));a>=8;p[e+b]=f&255,b+=k,f/=256,a-=8);for(o=o<<a|f,x+=a;x>0;p[e+b]=o&255,b+=k,o/=256,x-=8);p[e+b-k]|=S*128},st}function Ir(){if(wr)return ge;wr=!0;let p=ii(),t=oi(),e=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ge.Buffer=o,ge.SlowBuffer=G,ge.INSPECT_MAX_BYTES=50;let i=2147483647;ge.kMaxLength=i,o.TYPED_ARRAY_SUPPORT=a(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{let s=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(s,n),s.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function u(s){if(s>i)throw new RangeError('The value "'+s+'" is invalid for option "size"');let n=new Uint8Array(s);return Object.setPrototypeOf(n,o.prototype),n}function o(s,n,r){if(typeof s=="number"){if(typeof n=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return E(s)}return f(s,n,r)}o.poolSize=8192;function f(s,n,r){if(typeof s=="string")return T(s,n);if(ArrayBuffer.isView(s))return b(s);if(s==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof s);if(te(s,ArrayBuffer)||s&&te(s.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(te(s,SharedArrayBuffer)||s&&te(s.buffer,SharedArrayBuffer)))return k(s,n,r);if(typeof s=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let c=s.valueOf&&s.valueOf();if(c!=null&&c!==s)return o.from(c,n,r);let d=S(s);if(d)return d;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof s[Symbol.toPrimitive]=="function")return o.from(s[Symbol.toPrimitive]("string"),n,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof s)}o.from=function(s,n,r){return f(s,n,r)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function w(s){if(typeof s!="number")throw new TypeError('"size" argument must be of type number');if(s<0)throw new RangeError('The value "'+s+'" is invalid for option "size"')}function x(s,n,r){return w(s),s<=0?u(s):n!==void 0?typeof r=="string"?u(s).fill(n,r):u(s).fill(n):u(s)}o.alloc=function(s,n,r){return x(s,n,r)};function E(s){return w(s),u(s<0?0:B(s)|0)}o.allocUnsafe=function(s){return E(s)},o.allocUnsafeSlow=function(s){return E(s)};function T(s,n){if((typeof n!="string"||n==="")&&(n="utf8"),!o.isEncoding(n))throw new TypeError("Unknown encoding: "+n);let r=$(s,n)|0,c=u(r),d=c.write(s,n);return d!==r&&(c=c.slice(0,d)),c}function F(s){let n=s.length<0?0:B(s.length)|0,r=u(n);for(let c=0;c<n;c+=1)r[c]=s[c]&255;return r}function b(s){if(te(s,Uint8Array)){let n=new Uint8Array(s);return k(n.buffer,n.byteOffset,n.byteLength)}return F(s)}function k(s,n,r){if(n<0||s.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(s.byteLength<n+(r||0))throw new RangeError('"length" is outside of buffer bounds');let c;return n===void 0&&r===void 0?c=new Uint8Array(s):r===void 0?c=new Uint8Array(s,n):c=new Uint8Array(s,n,r),Object.setPrototypeOf(c,o.prototype),c}function S(s){if(o.isBuffer(s)){let n=B(s.length)|0,r=u(n);return r.length===0||s.copy(r,0,0,n),r}if(s.length!==void 0)return typeof s.length!="number"||Tt(s.length)?u(0):F(s);if(s.type==="Buffer"&&Array.isArray(s.data))return F(s.data)}function B(s){if(s>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return s|0}function G(s){return+s!=s&&(s=0),o.alloc(+s)}o.isBuffer=function(n){return n!=null&&n._isBuffer===!0&&n!==o.prototype},o.compare=function(n,r){if(te(n,Uint8Array)&&(n=o.from(n,n.offset,n.byteLength)),te(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(n)||!o.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===r)return 0;let c=n.length,d=r.length;for(let h=0,I=Math.min(c,d);h<I;++h)if(n[h]!==r[h]){c=n[h],d=r[h];break}return c<d?-1:d<c?1:0},o.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}},o.concat=function(n,r){if(!Array.isArray(n))throw new TypeError('"list" argument must be an Array of Buffers');if(n.length===0)return o.alloc(0);let c;if(r===void 0)for(r=0,c=0;c<n.length;++c)r+=n[c].length;let d=o.allocUnsafe(r),h=0;for(c=0;c<n.length;++c){let I=n[c];if(te(I,Uint8Array))h+I.length>d.length?(o.isBuffer(I)||(I=o.from(I)),I.copy(d,h)):Uint8Array.prototype.set.call(d,I,h);else if(o.isBuffer(I))I.copy(d,h);else throw new TypeError('"list" argument must be an Array of Buffers');h+=I.length}return d};function $(s,n){if(o.isBuffer(s))return s.length;if(ArrayBuffer.isView(s)||te(s,ArrayBuffer))return s.byteLength;if(typeof s!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof s);let r=s.length,c=arguments.length>2&&arguments[2]===!0;if(!c&&r===0)return 0;let d=!1;for(;;)switch(n){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return It(s).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Qt(s).length;default:if(d)return c?-1:It(s).length;n=(""+n).toLowerCase(),d=!0}}o.byteLength=$;function V(s,n,r){let c=!1;if((n===void 0||n<0)&&(n=0),n>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,n>>>=0,r<=n))return"";for(s||(s="utf8");;)switch(s){case"hex":return Wr(this,n,r);case"utf8":case"utf-8":return qt(this,n,r);case"ascii":return Or(this,n,r);case"latin1":case"binary":return Vr(this,n,r);case"base64":return $r(this,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qr(this,n,r);default:if(c)throw new TypeError("Unknown encoding: "+s);s=(s+"").toLowerCase(),c=!0}}o.prototype._isBuffer=!0;function Q(s,n,r){let c=s[n];s[n]=s[r],s[r]=c}o.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 r=0;r<n;r+=2)Q(this,r,r+1);return this},o.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 r=0;r<n;r+=4)Q(this,r,r+3),Q(this,r+1,r+2);return this},o.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 r=0;r<n;r+=8)Q(this,r,r+7),Q(this,r+1,r+6),Q(this,r+2,r+5),Q(this,r+3,r+4);return this},o.prototype.toString=function(){let n=this.length;return n===0?"":arguments.length===0?qt(this,0,n):V.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(n){if(!o.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n?!0:o.compare(this,n)===0},o.prototype.inspect=function(){let n="",r=ge.INSPECT_MAX_BYTES;return n=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(n+=" ... "),"<Buffer "+n+">"},e&&(o.prototype[e]=o.prototype.inspect),o.prototype.compare=function(n,r,c,d,h){if(te(n,Uint8Array)&&(n=o.from(n,n.offset,n.byteLength)),!o.isBuffer(n))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(r===void 0&&(r=0),c===void 0&&(c=n?n.length:0),d===void 0&&(d=0),h===void 0&&(h=this.length),r<0||c>n.length||d<0||h>this.length)throw new RangeError("out of range index");if(d>=h&&r>=c)return 0;if(d>=h)return-1;if(r>=c)return 1;if(r>>>=0,c>>>=0,d>>>=0,h>>>=0,this===n)return 0;let I=h-d,C=c-r,D=Math.min(I,C),M=this.slice(d,h),O=n.slice(r,c);for(let _=0;_<D;++_)if(M[_]!==O[_]){I=M[_],C=O[_];break}return I<C?-1:C<I?1:0};function Y(s,n,r,c,d){if(s.length===0)return-1;if(typeof r=="string"?(c=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Tt(r)&&(r=d?0:s.length-1),r<0&&(r=s.length+r),r>=s.length){if(d)return-1;r=s.length-1}else if(r<0)if(d)r=0;else return-1;if(typeof n=="string"&&(n=o.from(n,c)),o.isBuffer(n))return n.length===0?-1:Wt(s,n,r,c,d);if(typeof n=="number")return n=n&255,typeof Uint8Array.prototype.indexOf=="function"?d?Uint8Array.prototype.indexOf.call(s,n,r):Uint8Array.prototype.lastIndexOf.call(s,n,r):Wt(s,[n],r,c,d);throw new TypeError("val must be string, number or Buffer")}function Wt(s,n,r,c,d){let h=1,I=s.length,C=n.length;if(c!==void 0&&(c=String(c).toLowerCase(),c==="ucs2"||c==="ucs-2"||c==="utf16le"||c==="utf-16le")){if(s.length<2||n.length<2)return-1;h=2,I/=2,C/=2,r/=2}function D(O,_){return h===1?O[_]:O.readUInt16BE(_*h)}let M;if(d){let O=-1;for(M=r;M<I;M++)if(D(s,M)===D(n,O===-1?0:M-O)){if(O===-1&&(O=M),M-O+1===C)return O*h}else O!==-1&&(M-=M-O),O=-1}else for(r+C>I&&(r=I-C),M=r;M>=0;M--){let O=!0;for(let _=0;_<C;_++)if(D(s,M+_)!==D(n,_)){O=!1;break}if(O)return M}return-1}o.prototype.includes=function(n,r,c){return this.indexOf(n,r,c)!==-1},o.prototype.indexOf=function(n,r,c){return Y(this,n,r,c,!0)},o.prototype.lastIndexOf=function(n,r,c){return Y(this,n,r,c,!1)};function Cr(s,n,r,c){r=Number(r)||0;let d=s.length-r;c?(c=Number(c),c>d&&(c=d)):c=d;let h=n.length;c>h/2&&(c=h/2);let I;for(I=0;I<c;++I){let C=parseInt(n.substr(I*2,2),16);if(Tt(C))return I;s[r+I]=C}return I}function Ur(s,n,r,c){return tt(It(n,s.length-r),s,r,c)}function Lr(s,n,r,c){return tt(zr(n),s,r,c)}function _r(s,n,r,c){return tt(Qt(n),s,r,c)}function Mr(s,n,r,c){return tt(Yr(n,s.length-r),s,r,c)}o.prototype.write=function(n,r,c,d){if(r===void 0)d="utf8",c=this.length,r=0;else if(c===void 0&&typeof r=="string")d=r,c=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(c)?(c=c>>>0,d===void 0&&(d="utf8")):(d=c,c=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let h=this.length-r;if((c===void 0||c>h)&&(c=h),n.length>0&&(c<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");d||(d="utf8");let I=!1;for(;;)switch(d){case"hex":return Cr(this,n,r,c);case"utf8":case"utf-8":return Ur(this,n,r,c);case"ascii":case"latin1":case"binary":return Lr(this,n,r,c);case"base64":return _r(this,n,r,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mr(this,n,r,c);default:if(I)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),I=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $r(s,n,r){return n===0&&r===s.length?p.fromByteArray(s):p.fromByteArray(s.slice(n,r))}function qt(s,n,r){r=Math.min(s.length,r);let c=[],d=n;for(;d<r;){let h=s[d],I=null,C=h>239?4:h>223?3:h>191?2:1;if(d+C<=r){let D,M,O,_;switch(C){case 1:h<128&&(I=h);break;case 2:D=s[d+1],(D&192)===128&&(_=(h&31)<<6|D&63,_>127&&(I=_));break;case 3:D=s[d+1],M=s[d+2],(D&192)===128&&(M&192)===128&&(_=(h&15)<<12|(D&63)<<6|M&63,_>2047&&(_<55296||_>57343)&&(I=_));break;case 4:D=s[d+1],M=s[d+2],O=s[d+3],(D&192)===128&&(M&192)===128&&(O&192)===128&&(_=(h&15)<<18|(D&63)<<12|(M&63)<<6|O&63,_>65535&&_<1114112&&(I=_))}}I===null?(I=65533,C=1):I>65535&&(I-=65536,c.push(I>>>10&1023|55296),I=56320|I&1023),c.push(I),d+=C}return Dr(c)}let Gt=4096;function Dr(s){let n=s.length;if(n<=Gt)return String.fromCharCode.apply(String,s);let r="",c=0;for(;c<n;)r+=String.fromCharCode.apply(String,s.slice(c,c+=Gt));return r}function Or(s,n,r){let c="";r=Math.min(s.length,r);for(let d=n;d<r;++d)c+=String.fromCharCode(s[d]&127);return c}function Vr(s,n,r){let c="";r=Math.min(s.length,r);for(let d=n;d<r;++d)c+=String.fromCharCode(s[d]);return c}function Wr(s,n,r){let c=s.length;(!n||n<0)&&(n=0),(!r||r<0||r>c)&&(r=c);let d="";for(let h=n;h<r;++h)d+=Kr[s[h]];return d}function qr(s,n,r){let c=s.slice(n,r),d="";for(let h=0;h<c.length-1;h+=2)d+=String.fromCharCode(c[h]+c[h+1]*256);return d}o.prototype.slice=function(n,r){let c=this.length;n=~~n,r=r===void 0?c:~~r,n<0?(n+=c,n<0&&(n=0)):n>c&&(n=c),r<0?(r+=c,r<0&&(r=0)):r>c&&(r=c),r<n&&(r=n);let d=this.subarray(n,r);return Object.setPrototypeOf(d,o.prototype),d};function q(s,n,r){if(s%1!==0||s<0)throw new RangeError("offset is not uint");if(s+n>r)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(n,r,c){n=n>>>0,r=r>>>0,c||q(n,r,this.length);let d=this[n],h=1,I=0;for(;++I<r&&(h*=256);)d+=this[n+I]*h;return d},o.prototype.readUintBE=o.prototype.readUIntBE=function(n,r,c){n=n>>>0,r=r>>>0,c||q(n,r,this.length);let d=this[n+--r],h=1;for(;r>0&&(h*=256);)d+=this[n+--r]*h;return d},o.prototype.readUint8=o.prototype.readUInt8=function(n,r){return n=n>>>0,r||q(n,1,this.length),this[n]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(n,r){return n=n>>>0,r||q(n,2,this.length),this[n]|this[n+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(n,r){return n=n>>>0,r||q(n,2,this.length),this[n]<<8|this[n+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(n,r){return n=n>>>0,r||q(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+this[n+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(n,r){return n=n>>>0,r||q(n,4,this.length),this[n]*16777216+(this[n+1]<<16|this[n+2]<<8|this[n+3])},o.prototype.readBigUInt64LE=de(function(n){n=n>>>0,Ce(n,"offset");let r=this[n],c=this[n+7];(r===void 0||c===void 0)&&Me(n,this.length-8);let d=r+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24,h=this[++n]+this[++n]*2**8+this[++n]*2**16+c*2**24;return BigInt(d)+(BigInt(h)<<BigInt(32))}),o.prototype.readBigUInt64BE=de(function(n){n=n>>>0,Ce(n,"offset");let r=this[n],c=this[n+7];(r===void 0||c===void 0)&&Me(n,this.length-8);let d=r*2**24+this[++n]*2**16+this[++n]*2**8+this[++n],h=this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+c;return(BigInt(d)<<BigInt(32))+BigInt(h)}),o.prototype.readIntLE=function(n,r,c){n=n>>>0,r=r>>>0,c||q(n,r,this.length);let d=this[n],h=1,I=0;for(;++I<r&&(h*=256);)d+=this[n+I]*h;return h*=128,d>=h&&(d-=Math.pow(2,8*r)),d},o.prototype.readIntBE=function(n,r,c){n=n>>>0,r=r>>>0,c||q(n,r,this.length);let d=r,h=1,I=this[n+--d];for(;d>0&&(h*=256);)I+=this[n+--d]*h;return h*=128,I>=h&&(I-=Math.pow(2,8*r)),I},o.prototype.readInt8=function(n,r){return n=n>>>0,r||q(n,1,this.length),this[n]&128?(255-this[n]+1)*-1:this[n]},o.prototype.readInt16LE=function(n,r){n=n>>>0,r||q(n,2,this.length);let c=this[n]|this[n+1]<<8;return c&32768?c|4294901760:c},o.prototype.readInt16BE=function(n,r){n=n>>>0,r||q(n,2,this.length);let c=this[n+1]|this[n]<<8;return c&32768?c|4294901760:c},o.prototype.readInt32LE=function(n,r){return n=n>>>0,r||q(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},o.prototype.readInt32BE=function(n,r){return n=n>>>0,r||q(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},o.prototype.readBigInt64LE=de(function(n){n=n>>>0,Ce(n,"offset");let r=this[n],c=this[n+7];(r===void 0||c===void 0)&&Me(n,this.length-8);let d=this[n+4]+this[n+5]*2**8+this[n+6]*2**16+(c<<24);return(BigInt(d)<<BigInt(32))+BigInt(r+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24)}),o.prototype.readBigInt64BE=de(function(n){n=n>>>0,Ce(n,"offset");let r=this[n],c=this[n+7];(r===void 0||c===void 0)&&Me(n,this.length-8);let d=(r<<24)+this[++n]*2**16+this[++n]*2**8+this[++n];return(BigInt(d)<<BigInt(32))+BigInt(this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+c)}),o.prototype.readFloatLE=function(n,r){return n=n>>>0,r||q(n,4,this.length),t.read(this,n,!0,23,4)},o.prototype.readFloatBE=function(n,r){return n=n>>>0,r||q(n,4,this.length),t.read(this,n,!1,23,4)},o.prototype.readDoubleLE=function(n,r){return n=n>>>0,r||q(n,8,this.length),t.read(this,n,!0,52,8)},o.prototype.readDoubleBE=function(n,r){return n=n>>>0,r||q(n,8,this.length),t.read(this,n,!1,52,8)};function X(s,n,r,c,d,h){if(!o.isBuffer(s))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>d||n<h)throw new RangeError('"value" argument is out of bounds');if(r+c>s.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(n,r,c,d){if(n=+n,r=r>>>0,c=c>>>0,!d){let C=Math.pow(2,8*c)-1;X(this,n,r,c,C,0)}let h=1,I=0;for(this[r]=n&255;++I<c&&(h*=256);)this[r+I]=n/h&255;return r+c},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(n,r,c,d){if(n=+n,r=r>>>0,c=c>>>0,!d){let C=Math.pow(2,8*c)-1;X(this,n,r,c,C,0)}let h=c-1,I=1;for(this[r+h]=n&255;--h>=0&&(I*=256);)this[r+h]=n/I&255;return r+c},o.prototype.writeUint8=o.prototype.writeUInt8=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,1,255,0),this[r]=n&255,r+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,2,65535,0),this[r]=n&255,this[r+1]=n>>>8,r+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,2,65535,0),this[r]=n>>>8,this[r+1]=n&255,r+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,4,4294967295,0),this[r+3]=n>>>24,this[r+2]=n>>>16,this[r+1]=n>>>8,this[r]=n&255,r+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,4,4294967295,0),this[r]=n>>>24,this[r+1]=n>>>16,this[r+2]=n>>>8,this[r+3]=n&255,r+4};function jt(s,n,r,c,d){Xt(n,c,d,s,r,7);let h=Number(n&BigInt(4294967295));s[r++]=h,h=h>>8,s[r++]=h,h=h>>8,s[r++]=h,h=h>>8,s[r++]=h;let I=Number(n>>BigInt(32)&BigInt(4294967295));return s[r++]=I,I=I>>8,s[r++]=I,I=I>>8,s[r++]=I,I=I>>8,s[r++]=I,r}function Ht(s,n,r,c,d){Xt(n,c,d,s,r,7);let h=Number(n&BigInt(4294967295));s[r+7]=h,h=h>>8,s[r+6]=h,h=h>>8,s[r+5]=h,h=h>>8,s[r+4]=h;let I=Number(n>>BigInt(32)&BigInt(4294967295));return s[r+3]=I,I=I>>8,s[r+2]=I,I=I>>8,s[r+1]=I,I=I>>8,s[r]=I,r+8}o.prototype.writeBigUInt64LE=de(function(n,r=0){return jt(this,n,r,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=de(function(n,r=0){return Ht(this,n,r,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(n,r,c,d){if(n=+n,r=r>>>0,!d){let D=Math.pow(2,8*c-1);X(this,n,r,c,D-1,-D)}let h=0,I=1,C=0;for(this[r]=n&255;++h<c&&(I*=256);)n<0&&C===0&&this[r+h-1]!==0&&(C=1),this[r+h]=(n/I>>0)-C&255;return r+c},o.prototype.writeIntBE=function(n,r,c,d){if(n=+n,r=r>>>0,!d){let D=Math.pow(2,8*c-1);X(this,n,r,c,D-1,-D)}let h=c-1,I=1,C=0;for(this[r+h]=n&255;--h>=0&&(I*=256);)n<0&&C===0&&this[r+h+1]!==0&&(C=1),this[r+h]=(n/I>>0)-C&255;return r+c},o.prototype.writeInt8=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,1,127,-128),n<0&&(n=255+n+1),this[r]=n&255,r+1},o.prototype.writeInt16LE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,2,32767,-32768),this[r]=n&255,this[r+1]=n>>>8,r+2},o.prototype.writeInt16BE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,2,32767,-32768),this[r]=n>>>8,this[r+1]=n&255,r+2},o.prototype.writeInt32LE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,4,2147483647,-2147483648),this[r]=n&255,this[r+1]=n>>>8,this[r+2]=n>>>16,this[r+3]=n>>>24,r+4},o.prototype.writeInt32BE=function(n,r,c){return n=+n,r=r>>>0,c||X(this,n,r,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),this[r]=n>>>24,this[r+1]=n>>>16,this[r+2]=n>>>8,this[r+3]=n&255,r+4},o.prototype.writeBigInt64LE=de(function(n,r=0){return jt(this,n,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=de(function(n,r=0){return Ht(this,n,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function zt(s,n,r,c,d,h){if(r+c>s.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Yt(s,n,r,c,d){return n=+n,r=r>>>0,d||zt(s,n,r,4),t.write(s,n,r,c,23,4),r+4}o.prototype.writeFloatLE=function(n,r,c){return Yt(this,n,r,!0,c)},o.prototype.writeFloatBE=function(n,r,c){return Yt(this,n,r,!1,c)};function Kt(s,n,r,c,d){return n=+n,r=r>>>0,d||zt(s,n,r,8),t.write(s,n,r,c,52,8),r+8}o.prototype.writeDoubleLE=function(n,r,c){return Kt(this,n,r,!0,c)},o.prototype.writeDoubleBE=function(n,r,c){return Kt(this,n,r,!1,c)},o.prototype.copy=function(n,r,c,d){if(!o.isBuffer(n))throw new TypeError("argument should be a Buffer");if(c||(c=0),!d&&d!==0&&(d=this.length),r>=n.length&&(r=n.length),r||(r=0),d>0&&d<c&&(d=c),d===c||n.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(c<0||c>=this.length)throw new RangeError("Index out of range");if(d<0)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),n.length-r<d-c&&(d=n.length-r+c);let h=d-c;return this===n&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,c,d):Uint8Array.prototype.set.call(n,this.subarray(c,d),r),h},o.prototype.fill=function(n,r,c,d){if(typeof n=="string"){if(typeof r=="string"?(d=r,r=0,c=this.length):typeof c=="string"&&(d=c,c=this.length),d!==void 0&&typeof d!="string")throw new TypeError("encoding must be a string");if(typeof d=="string"&&!o.isEncoding(d))throw new TypeError("Unknown encoding: "+d);if(n.length===1){let I=n.charCodeAt(0);(d==="utf8"&&I<128||d==="latin1")&&(n=I)}}else typeof n=="number"?n=n&255:typeof n=="boolean"&&(n=Number(n));if(r<0||this.length<r||this.length<c)throw new RangeError("Out of range index");if(c<=r)return this;r=r>>>0,c=c===void 0?this.length:c>>>0,n||(n=0);let h;if(typeof n=="number")for(h=r;h<c;++h)this[h]=n;else{let I=o.isBuffer(n)?n:o.from(n,d),C=I.length;if(C===0)throw new TypeError('The value "'+n+'" is invalid for argument "value"');for(h=0;h<c-r;++h)this[h+r]=I[h%C]}return this};let Se={};function wt(s,n,r){Se[s]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:n.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${s}]`,this.stack,delete this.name}get code(){return s}set code(d){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:d,writable:!0})}toString(){return`${this.name} [${s}]: ${this.message}`}}}wt("ERR_BUFFER_OUT_OF_BOUNDS",function(s){return s?`${s} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),wt("ERR_INVALID_ARG_TYPE",function(s,n){return`The "${s}" argument must be of type number. Received type ${typeof n}`},TypeError),wt("ERR_OUT_OF_RANGE",function(s,n,r){let c=`The value of "${s}" is out of range.`,d=r;return Number.isInteger(r)&&Math.abs(r)>2**32?d=Jt(String(r)):typeof r=="bigint"&&(d=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(d=Jt(d)),d+="n"),c+=` It must be ${n}. Received ${d}`,c},RangeError);function Jt(s){let n="",r=s.length,c=s[0]==="-"?1:0;for(;r>=c+4;r-=3)n=`_${s.slice(r-3,r)}${n}`;return`${s.slice(0,r)}${n}`}function Gr(s,n,r){Ce(n,"offset"),(s[n]===void 0||s[n+r]===void 0)&&Me(n,s.length-(r+1))}function Xt(s,n,r,c,d,h){if(s>r||s<n){let I=typeof n=="bigint"?"n":"",C;throw n===0||n===BigInt(0)?C=`>= 0${I} and < 2${I} ** ${(h+1)*8}${I}`:C=`>= -(2${I} ** ${(h+1)*8-1}${I}) and < 2 ** ${(h+1)*8-1}${I}`,new Se.ERR_OUT_OF_RANGE("value",C,s)}Gr(c,d,h)}function Ce(s,n){if(typeof s!="number")throw new Se.ERR_INVALID_ARG_TYPE(n,"number",s)}function Me(s,n,r){throw Math.floor(s)!==s?(Ce(s,r),new Se.ERR_OUT_OF_RANGE("offset","an integer",s)):n<0?new Se.ERR_BUFFER_OUT_OF_BOUNDS:new Se.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${n}`,s)}let jr=/[^+/0-9A-Za-z-_]/g;function Hr(s){if(s=s.split("=")[0],s=s.trim().replace(jr,""),s.length<2)return"";for(;s.length%4!==0;)s=s+"=";return s}function It(s,n){n=n||1/0;let r,c=s.length,d=null,h=[];for(let I=0;I<c;++I){if(r=s.charCodeAt(I),r>55295&&r<57344){if(!d){if(r>56319){(n-=3)>-1&&h.push(239,191,189);continue}else if(I+1===c){(n-=3)>-1&&h.push(239,191,189);continue}d=r;continue}if(r<56320){(n-=3)>-1&&h.push(239,191,189),d=r;continue}r=(d-55296<<10|r-56320)+65536}else d&&(n-=3)>-1&&h.push(239,191,189);if(d=null,r<128){if((n-=1)<0)break;h.push(r)}else if(r<2048){if((n-=2)<0)break;h.push(r>>6|192,r&63|128)}else if(r<65536){if((n-=3)<0)break;h.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((n-=4)<0)break;h.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return h}function zr(s){let n=[];for(let r=0;r<s.length;++r)n.push(s.charCodeAt(r)&255);return n}function Yr(s,n){let r,c,d,h=[];for(let I=0;I<s.length&&!((n-=2)<0);++I)r=s.charCodeAt(I),c=r>>8,d=r%256,h.push(d),h.push(c);return h}function Qt(s){return p.toByteArray(Hr(s))}function tt(s,n,r,c){let d;for(d=0;d<c&&!(d+r>=n.length||d>=s.length);++d)n[d+r]=s[d];return d}function te(s,n){return s instanceof n||s!=null&&s.constructor!=null&&s.constructor.name!=null&&s.constructor.name===n.name}function Tt(s){return s!==s}let Kr=(function(){let s="0123456789abcdef",n=new Array(256);for(let r=0;r<16;++r){let c=r*16;for(let d=0;d<16;++d)n[c+d]=s[r]+s[d]}return n})();function de(s){return typeof BigInt>"u"?Jr:s}function Jr(){throw new Error("BigInt not supported")}return ge}var $e,gr,st,vr,ge,wr,Tr=oe(()=>{"use strict";y();v();g();$e={},gr=!1;st={},vr=!1;ge={},wr=!1});var ve,A,bs,Ns,xr=oe(()=>{"use strict";y();v();g();Tr();ve=Ir();ve.Buffer;ve.SlowBuffer;ve.INSPECT_MAX_BYTES;ve.kMaxLength;A=ve.Buffer,bs=ve.INSPECT_MAX_BYTES,Ns=ve.kMaxLength});var v=oe(()=>{"use strict";xr()});function St(p){throw new Error("Node.js process "+p+" is not supported by JSPM core outside of Node.js")}function ci(){!Le||!Ie||(Le=!1,Ie.length?ce=Ie.concat(ce):pt=-1,ce.length&&Nr())}function Nr(){if(!Le){var p=setTimeout(ci,0);Le=!0;for(var t=ce.length;t;){for(Ie=ce,ce=[];++pt<t;)Ie&&Ie[pt].run();pt=-1,t=ce.length}Ie=null,Le=!1,clearTimeout(p)}}function ui(p){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];ce.push(new Ar(p,t)),ce.length===1&&!Le&&setTimeout(Nr,0)}function Ar(p,t){this.fun=p,this.array=t}function z(){}function Ai(p){St("_linkedBinding")}function Pi(p){St("dlopen")}function Bi(){return[]}function Si(){return[]}function Vi(p,t){if(!p)throw new Error(t||"assertion error")}function ji(){return!1}function co(){return he.now()/1e3}function Bt(p){var t=Math.floor((Date.now()-he.now())*.001),e=he.now()*.001,i=Math.floor(e)+t,a=Math.floor(e%1*1e9);return p&&(i=i-p[0],a=a-p[1],a<0&&(i--,a+=Pt)),[i,a]}function me(){return Ut}function To(p){return[]}var ce,Le,Ie,pt,pi,li,di,fi,hi,mi,yi,gi,vi,wi,Ii,Ti,xi,Ei,bi,Ni,Ri,Fi,ki,Ci,Ui,Ct,Li,_i,Mi,$i,Di,Oi,Wi,qi,Gi,Hi,zi,Yi,Ki,Ji,Xi,Qi,Zi,eo,to,no,ro,io,oo,so,ao,he,kt,Pt,uo,po,lo,fo,ho,mo,yo,go,vo,wo,Io,Ut,Lt=oe(()=>{"use strict";y();v();g();ce=[],Le=!1,pt=-1;Ar.prototype.run=function(){this.fun.apply(null,this.array)};pi="browser",li="x64",di="browser",fi={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},hi=["/usr/bin/node"],mi=[],yi="v16.8.0",gi={},vi=function(p,t){console.warn((t?t+": ":"")+p)},wi=function(p){St("binding")},Ii=function(p){return 0},Ti=function(){return"/"},xi=function(p){},Ei={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};bi=z,Ni=[];Ri={},Fi=!1,ki={};Ci=z,Ui=z,Ct=function(){return{}},Li=Ct,_i=Ct,Mi=z,$i=z,Di=z,Oi={};Wi={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},qi=z,Gi=z;Hi=z,zi=z,Yi=z,Ki=z,Ji=z,Xi=void 0,Qi=void 0,Zi=void 0,eo=z,to=2,no=1,ro="/bin/usr/node",io=9229,oo="node",so=[],ao=z,he={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};he.now===void 0&&(kt=Date.now(),he.timing&&he.timing.navigationStart&&(kt=he.timing.navigationStart),he.now=()=>Date.now()-kt);Pt=1e9;Bt.bigint=function(p){var t=Bt(p);return typeof BigInt>"u"?t[0]*Pt+t[1]:BigInt(t[0]*Pt)+BigInt(t[1])};uo=10,po={},lo=0;fo=me,ho=me,mo=me,yo=me,go=me,vo=z,wo=me,Io=me;Ut={version:yi,versions:gi,arch:li,platform:di,release:Ei,_rawDebug:bi,moduleLoadList:Ni,binding:wi,_linkedBinding:Ai,_events:po,_eventsCount:lo,_maxListeners:uo,on:me,addListener:fo,once:ho,off:mo,removeListener:yo,removeAllListeners:go,emit:vo,prependListener:wo,prependOnceListener:Io,listeners:To,domain:Ri,_exiting:Fi,config:ki,dlopen:Pi,uptime:co,_getActiveRequests:Bi,_getActiveHandles:Si,reallyExit:Ci,_kill:Ui,cpuUsage:Ct,resourceUsage:Li,memoryUsage:_i,kill:Mi,exit:$i,openStdin:Di,allowedNodeEnvironmentFlags:Oi,assert:Vi,features:Wi,_fatalExceptions:qi,setUncaughtExceptionCaptureCallback:Gi,hasUncaughtExceptionCaptureCallback:ji,emitWarning:vi,nextTick:ui,_tickCallback:Hi,_debugProcess:zi,_debugEnd:Yi,_startProfilerIdleNotifier:Ki,_stopProfilerIdleNotifier:Ji,stdout:Xi,stdin:Zi,stderr:Qi,abort:eo,umask:Ii,chdir:xi,cwd:Ti,env:fi,title:pi,argv:hi,execArgv:mi,pid:to,ppid:no,execPath:ro,debugPort:io,hrtime:Bt,argv0:oo,_preload_modules:so,setSourceMapsEnabled:ao}});function xo(){if(Rr)return _t;Rr=!0;var p=Ut;function t(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}function e(u,o){for(var f="",w=0,x=-1,E=0,T,F=0;F<=u.length;++F){if(F<u.length)T=u.charCodeAt(F);else{if(T===47)break;T=47}if(T===47){if(!(x===F-1||E===1))if(x!==F-1&&E===2){if(f.length<2||w!==2||f.charCodeAt(f.length-1)!==46||f.charCodeAt(f.length-2)!==46){if(f.length>2){var b=f.lastIndexOf("/");if(b!==f.length-1){b===-1?(f="",w=0):(f=f.slice(0,b),w=f.length-1-f.lastIndexOf("/")),x=F,E=0;continue}}else if(f.length===2||f.length===1){f="",w=0,x=F,E=0;continue}}o&&(f.length>0?f+="/..":f="..",w=2)}else f.length>0?f+="/"+u.slice(x+1,F):f=u.slice(x+1,F),w=F-x-1;x=F,E=0}else T===46&&E!==-1?++E:E=-1}return f}function i(u,o){var f=o.dir||o.root,w=o.base||(o.name||"")+(o.ext||"");return f?f===o.root?f+w:f+u+w:w}var a={resolve:function(){for(var o="",f=!1,w,x=arguments.length-1;x>=-1&&!f;x--){var E;x>=0?E=arguments[x]:(w===void 0&&(w=p.cwd()),E=w),t(E),E.length!==0&&(o=E+"/"+o,f=E.charCodeAt(0)===47)}return o=e(o,!f),f?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(t(o),o.length===0)return".";var f=o.charCodeAt(0)===47,w=o.charCodeAt(o.length-1)===47;return o=e(o,!f),o.length===0&&!f&&(o="."),o.length>0&&w&&(o+="/"),f?"/"+o:o},isAbsolute:function(o){return t(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,f=0;f<arguments.length;++f){var w=arguments[f];t(w),w.length>0&&(o===void 0?o=w:o+="/"+w)}return o===void 0?".":a.normalize(o)},relative:function(o,f){if(t(o),t(f),o===f||(o=a.resolve(o),f=a.resolve(f),o===f))return"";for(var w=1;w<o.length&&o.charCodeAt(w)===47;++w);for(var x=o.length,E=x-w,T=1;T<f.length&&f.charCodeAt(T)===47;++T);for(var F=f.length,b=F-T,k=E<b?E:b,S=-1,B=0;B<=k;++B){if(B===k){if(b>k){if(f.charCodeAt(T+B)===47)return f.slice(T+B+1);if(B===0)return f.slice(T+B)}else E>k&&(o.charCodeAt(w+B)===47?S=B:B===0&&(S=0));break}var G=o.charCodeAt(w+B),$=f.charCodeAt(T+B);if(G!==$)break;G===47&&(S=B)}var V="";for(B=w+S+1;B<=x;++B)(B===x||o.charCodeAt(B)===47)&&(V.length===0?V+="..":V+="/..");return V.length>0?V+f.slice(T+S):(T+=S,f.charCodeAt(T)===47&&++T,f.slice(T))},_makeLong:function(o){return o},dirname:function(o){if(t(o),o.length===0)return".";for(var f=o.charCodeAt(0),w=f===47,x=-1,E=!0,T=o.length-1;T>=1;--T)if(f=o.charCodeAt(T),f===47){if(!E){x=T;break}}else E=!1;return x===-1?w?"/":".":w&&x===1?"//":o.slice(0,x)},basename:function(o,f){if(f!==void 0&&typeof f!="string")throw new TypeError('"ext" argument must be a string');t(o);var w=0,x=-1,E=!0,T;if(f!==void 0&&f.length>0&&f.length<=o.length){if(f.length===o.length&&f===o)return"";var F=f.length-1,b=-1;for(T=o.length-1;T>=0;--T){var k=o.charCodeAt(T);if(k===47){if(!E){w=T+1;break}}else b===-1&&(E=!1,b=T+1),F>=0&&(k===f.charCodeAt(F)?--F===-1&&(x=T):(F=-1,x=b))}return w===x?x=b:x===-1&&(x=o.length),o.slice(w,x)}else{for(T=o.length-1;T>=0;--T)if(o.charCodeAt(T)===47){if(!E){w=T+1;break}}else x===-1&&(E=!1,x=T+1);return x===-1?"":o.slice(w,x)}},extname:function(o){t(o);for(var f=-1,w=0,x=-1,E=!0,T=0,F=o.length-1;F>=0;--F){var b=o.charCodeAt(F);if(b===47){if(!E){w=F+1;break}continue}x===-1&&(E=!1,x=F+1),b===46?f===-1?f=F:T!==1&&(T=1):f!==-1&&(T=-1)}return f===-1||x===-1||T===0||T===1&&f===x-1&&f===w+1?"":o.slice(f,x)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return i("/",o)},parse:function(o){t(o);var f={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return f;var w=o.charCodeAt(0),x=w===47,E;x?(f.root="/",E=1):E=0;for(var T=-1,F=0,b=-1,k=!0,S=o.length-1,B=0;S>=E;--S){if(w=o.charCodeAt(S),w===47){if(!k){F=S+1;break}continue}b===-1&&(k=!1,b=S+1),w===46?T===-1?T=S:B!==1&&(B=1):T!==-1&&(B=-1)}return T===-1||b===-1||B===0||B===1&&T===b-1&&T===F+1?b!==-1&&(F===0&&x?f.base=f.name=o.slice(1,b):f.base=f.name=o.slice(F,b)):(F===0&&x?(f.name=o.slice(1,T),f.base=o.slice(1,b)):(f.name=o.slice(F,T),f.base=o.slice(F,b)),f.ext=o.slice(T,b)),F>0?f.dir=o.slice(0,F-1):x&&(f.dir="/"),f},sep:"/",delimiter:":",win32:null,posix:null};return a.posix=a,_t=a,_t}var _t,Rr,W,Fr=oe(()=>{"use strict";y();v();g();Lt();_t={},Rr=!1;W=xo()});var Tu,xu,Eu,bu,Nu,Au,Ru,Fu,ku,Pu,Bu,Su,Cu,Uu,Lu,kr=oe(()=>{"use strict";y();v();g();Fr();Lt();Tu=W._makeLong,xu=W.basename,Eu=W.delimiter,bu=W.dirname,Nu=W.extname,Au=W.format,Ru=W.isAbsolute,Fu=W.join,ku=W.normalize,Pu=W.parse,Bu=W.posix,Su=W.relative,Cu=W.resolve,Uu=W.sep,Lu=W.win32});var ls={};xt(ls,{DynamicSnippetsGenerator:()=>vt});module.exports=ni(ls);y();v();g();y();v();g();y();v();g();y();v();g();function U(p){throw new Error("Unexpected value: "+JSON.stringify(p))}y();v();g();function De(p){return Object.keys(p)}y();v();g();y();v();g();y();v();g();var Oe=N.env.FERN_STACK_TRACK?.toLowerCase()??"",ne=Oe!==""&&Oe!=="0"&&Oe!=="false",At=["single","multiline","box"].includes(Oe)?Oe:"single";ne&&(Error.stackTraceLimit=50);var si=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),ai=new Set(["stacktrace"]);function ct({maxFrames:p=50,skip:t=0,filterPaths:e=[],filterFunctions:i=[],stopOn:a=[],filterNode:u=!0,filterJs:o=!0,formatFilename:f=w=>w}={}){if(!ne)return[];i=[...i,...si],e=[...e,...ai],a=[...a,"runInteractiveTask"];let w=!1;return(new Error().stack??"").split(`
2
2
  `).map(x=>{let E=x.match(/at\s+(.*)\s+\((.*):(\d+):(\d+)\)/);if(E&&E.length===5){let[,T,F,b,k]=E;if(!T||!F||!b||!k)return;if(w||a.some(S=>T?.includes(S))){w=!0;return}switch(T){case"Object.<anonymous>":T="";break;case"Object.object":case"Object.alias":case"Object.union":case"Object.enum":case"Object.undiscriminatedUnion":T=`${T.substring(T.indexOf(".")+1)}()=> { ... }`;break}return{fn:T,path:f(F),position:`${b}:${k}`}}}).filter(x=>x&&!i.some(E=>x.fn.includes(E))&&!(u&&x.path?.startsWith("node:"))&&!(o&&x.path?.endsWith(".js"))&&!e.some(E=>x.path.includes(E))).slice(t,t+p)}var at=class{constructor({maxFrames:t=50,skip:e=0,filterPaths:i=[],filterFunctions:a=[],stopOn:u=[],filterNode:o=!0,filterJs:f=!0,multiline:w=!1,formatFilename:x=E=>E}={}){m(this,"maxFrames");m(this,"skip");m(this,"filterPaths");m(this,"filterFunctions");m(this,"stopOn");m(this,"filterNode");m(this,"filterJs");m(this,"multiline");m(this,"formatFilename");m(this,"tracking",new WeakMap);this.maxFrames=t,this.skip=e,this.filterPaths=i,this.filterFunctions=a,this.stopOn=u,this.filterNode=o,this.filterJs=f,this.multiline=w,this.formatFilename=x}tag(t){let e=this.tracking.get(t)||new Set;ct({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(i=>e.add(i)),this.tracking.set(t,e)}trace(t){if(!ne)return"";let e=this.tracking.get(t);return e?[...e].map(i=>`${this.multiline?`
3
3
  `:""}${i.fn} - ${i.path}:${i.position}`).join(""):""}frames(t){let e=this.tracking.get(t);return e?[...e]:[]}free(t){this.tracking.delete(t)}clear(){this.tracking=new WeakMap}},Rt;function Er({maxFrames:p=50,skip:t=0,filterPaths:e=[],filterFunctions:i=[],stopOn:a=[],filterNode:u=!0,filterJs:o=!0,multiline:f=!1,formatFilename:w=x=>x}={}){ne&&(Rt??(Rt=new at({maxFrames:p,skip:t,filterPaths:e,filterFunctions:i,stopOn:a,filterNode:u,filterJs:o,multiline:f,formatFilename:w})))}function br(p){Rt?.tag(p)}function Ft(p){return Rt?.frames(p)??[]}var we=class{constructor(){br(this)}};y();v();g();var ut=class{formatMultiple(t){return Promise.all(t.map(e=>this.format(e)))}formatMultipleSync(t){return t.map(e=>this.formatSync(e))}dispose(){}},Ve=class extends ut{async format(t){return t}formatSync(t){return t}};y();v();g();y();v();g();y();v();g();function Mt(p){return p.output.mode._visit({publish:t=>t.version,downloadFiles:()=>{},github:t=>t.version,_other:()=>{throw new Error("Unrecognized output mode.")}})}y();v();g();var Z=class extends we{constructor(e){super();m(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 Eo=4;Er({skip:0,maxFrames:15,filterFunctions:["Abstract"]});var We=class{constructor(){m(this,"lineBuffer",[]);m(this,"indentLevel",0);m(this,"hasWrittenAnything",!1);m(this,"lastCharacterIsSemicolon",!1);m(this,"lastCharacterIsNewline",!1);m(this,"nodeStackFrames",[])}get buffer(){return ne&&this.nodeStackFrames.length>0&&this.writeInternal(`
4
4
  `),this.lineBuffer.join(`