@stacksjs/build 0.68.1 → 0.69.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,22 +1,54 @@
1
1
  // @bun
2
- var cW=Object.create;var{getPrototypeOf:lW,defineProperty:m0,getOwnPropertyNames:zG,getOwnPropertyDescriptor:iW}=Object,KG=Object.prototype.hasOwnProperty;var n9=(J,G,X)=>{X=J!=null?cW(lW(J)):{};let H=G||!J||!J.__esModule?m0(X,"default",{value:J,enumerable:!0}):X;for(let V of zG(J))if(!KG.call(H,V))m0(H,V,{get:()=>J[V],enumerable:!0});return H},WG=new WeakMap,aW=(J)=>{var G=WG.get(J),X;if(G)return G;if(G=m0({},"__esModule",{value:!0}),J&&typeof J==="object"||typeof J==="function")zG(J).map((H)=>!KG.call(G,H)&&m0(G,H,{get:()=>J[H],enumerable:!(X=iW(J,H))||X.enumerable}));return WG.set(J,G),G},C=(J,G)=>()=>(G||J((G={exports:{}}).exports,G),G.exports);var pW=(J,G)=>{for(var X in G)m0(J,X,{get:G[X],enumerable:!0,configurable:!0,set:(H)=>G[X]=()=>H})};var rW=(J,G)=>()=>(J&&(G=J(J=0)),G);var BG=C((L5,UG)=>{(function(J,G){typeof L5==="object"&&typeof UG!=="undefined"?G(L5):typeof define==="function"&&define.amd?define(["exports"],G):(J=typeof globalThis!=="undefined"?globalThis:J||self,G(J.setArray={}))})(L5,function(J){class G{constructor(){this._indexes={__proto__:null},this.array=[]}}function X(Y){return Y}function H(Y,W){return X(Y)._indexes[W]}function V(Y,W){let z=H(Y,W);if(z!==void 0)return z;let{array:U,_indexes:F}=X(Y),A=U.push(W);return F[W]=A-1}function Z(Y){let{array:W,_indexes:z}=X(Y);if(W.length===0)return;let U=W.pop();z[U]=void 0}function Q(Y,W){let z=H(Y,W);if(z===void 0)return;let{array:U,_indexes:F}=X(Y);for(let A=z+1;A<U.length;A++){let D=U[A];U[A-1]=D,F[D]--}F[W]=void 0,U.pop()}J.SetArray=G,J.get=H,J.pop=Z,J.put=V,J.remove=Q,Object.defineProperty(J,"__esModule",{value:!0})})});var o9=C((k5,RG)=>{(function(J,G){typeof k5==="object"&&typeof RG!=="undefined"?G(k5):typeof define==="function"&&define.amd?define(["exports"],G):(J=typeof globalThis!=="undefined"?globalThis:J||self,G(J.sourcemapCodec={}))})(k5,function(J){let G=",".charCodeAt(0),X=";".charCodeAt(0),H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",V=new Uint8Array(64),Z=new Uint8Array(128);for(let y=0;y<"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".length;y++){let x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(y);V[y]=x,Z[x]=y}function Q(y,x){let N=0,c=0,V1=0;do{let u=y.next();V1=Z[u],N|=(V1&31)<<c,c+=5}while(V1&32);let R1=N&1;if(N>>>=1,R1)N=-2147483648|-N;return x+N}function Y(y,x,N){let c=x-N;c=c<0?-c<<1|1:c<<1;do{let V1=c&31;if(c>>>=5,c>0)V1|=32;y.write(V[V1])}while(c>0);return x}function W(y,x){if(y.pos>=x)return!1;return y.peek()!==G}let z=16384,U=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let x="";for(let N=0;N<y.length;N++)x+=String.fromCharCode(y[N]);return x}};class F{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(z)}write(y){let{buffer:x}=this;if(x[this.pos++]=y,this.pos===z)this.out+=U.decode(x),this.pos=0}flush(){let{buffer:y,out:x,pos:N}=this;return N>0?x+U.decode(y.subarray(0,N)):x}}class A{constructor(y){this.pos=0,this.buffer=y}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(y){let{buffer:x,pos:N}=this,c=x.indexOf(y,N);return c===-1?x.length:c}}let D=[];function I(y){let{length:x}=y,N=new A(y),c=[],V1=[],R1=0;for(;N.pos<x;N.pos++){R1=Q(N,R1);let u=Q(N,0);if(!W(N,x)){let o=V1.pop();o[2]=R1,o[3]=u;continue}let g=Q(N,0),e=Q(N,0)&1?[R1,u,0,0,g,Q(N,0)]:[R1,u,0,0,g],G1=D;if(W(N,x)){G1=[];do{let o=Q(N,0);G1.push(o)}while(W(N,x))}e.vars=G1,c.push(e),V1.push(e)}return c}function _(y){let x=new F;for(let N=0;N<y.length;)N=f(y,N,x,[0]);return x.flush()}function f(y,x,N,c){let V1=y[x],{0:R1,1:u,2:g,3:l,4:i,vars:e}=V1;if(x>0)N.write(G);c[0]=Y(N,R1,c[0]),Y(N,u,0),Y(N,i,0);let G1=V1.length===6?1:0;if(Y(N,G1,0),V1.length===6)Y(N,V1[5],0);for(let o of e)Y(N,o,0);for(x++;x<y.length;){let o=y[x],{0:H1,1:U1}=o;if(H1>g||H1===g&&U1>=l)break;x=f(y,x,N,c)}return N.write(G),c[0]=Y(N,g,c[0]),Y(N,l,0),x}function w(y){let{length:x}=y,N=new A(y),c=[],V1=[],R1=0,u=0,g=0,l=0,i=0,e=0,G1=0,o=0;do{let H1=N.indexOf(";"),U1=0;for(;N.pos<H1;N.pos++){if(U1=Q(N,U1),!W(N,H1)){let g1=V1.pop();g1[2]=R1,g1[3]=U1;continue}let _1=Q(N,0),W2=_1&1,t1=_1&2,e1=_1&4,$2=null,z2=D,y1;if(W2){let g1=Q(N,u);g=Q(N,u===g1?g:0),u=g1,y1=[R1,U1,0,0,g1,g]}else y1=[R1,U1,0,0];if(y1.isScope=!!e1,t1){let g1=l,S2=i;l=Q(N,l);let p2=g1===l;i=Q(N,p2?i:0),e=Q(N,p2&&S2===i?e:0),$2=[l,i,e]}if(y1.callsite=$2,W(N,H1)){z2=[];do{G1=R1,o=U1;let g1=Q(N,0),S2;if(g1<-1){S2=[[Q(N,0)]];for(let p2=-1;p2>g1;p2--){let r9=G1;G1=Q(N,G1),o=Q(N,G1===r9?o:0);let y0=Q(N,0);S2.push([y0,G1,o])}}else S2=[[g1]];z2.push(S2)}while(W(N,H1))}y1.bindings=z2,c.push(y1),V1.push(y1)}R1++,N.pos=H1+1}while(N.pos<x);return c}function k(y){if(y.length===0)return"";let x=new F;for(let N=0;N<y.length;)N=Q1(y,N,x,[0,0,0,0,0,0,0]);return x.flush()}function Q1(y,x,N,c){let V1=y[x],{0:R1,1:u,2:g,3:l,isScope:i,callsite:e,bindings:G1}=V1;if(c[0]<R1)d(N,c[0],R1),c[0]=R1,c[1]=0;else if(x>0)N.write(G);c[1]=Y(N,V1[1],c[1]);let o=(V1.length===6?1:0)|(e?2:0)|(i?4:0);if(Y(N,o,0),V1.length===6){let{4:H1,5:U1}=V1;if(H1!==c[2])c[3]=0;c[2]=Y(N,H1,c[2]),c[3]=Y(N,U1,c[3])}if(e){let{0:H1,1:U1,2:_1}=V1.callsite;if(H1!==c[4])c[5]=0,c[6]=0;else if(U1!==c[5])c[6]=0;c[4]=Y(N,H1,c[4]),c[5]=Y(N,U1,c[5]),c[6]=Y(N,_1,c[6])}if(G1)for(let H1 of G1){if(H1.length>1)Y(N,-H1.length,0);let U1=H1[0][0];Y(N,U1,0);let _1=R1,W2=u;for(let t1=1;t1<H1.length;t1++){let e1=H1[t1];_1=Y(N,e1[1],_1),W2=Y(N,e1[2],W2),Y(N,e1[0],0)}}for(x++;x<y.length;){let H1=y[x],{0:U1,1:_1}=H1;if(U1>g||U1===g&&_1>=l)break;x=Q1(y,x,N,c)}if(c[0]<g)d(N,c[0],g),c[0]=g,c[1]=0;else N.write(G);return c[1]=Y(N,l,c[1]),x}function d(y,x,N){do y.write(X);while(++x<N)}function Y1(y){let{length:x}=y,N=new A(y),c=[],V1=0,R1=0,u=0,g=0,l=0;do{let i=N.indexOf(";"),e=[],G1=!0,o=0;V1=0;while(N.pos<i){let H1;if(V1=Q(N,V1),V1<o)G1=!1;if(o=V1,W(N,i))if(R1=Q(N,R1),u=Q(N,u),g=Q(N,g),W(N,i))l=Q(N,l),H1=[V1,R1,u,g,l];else H1=[V1,R1,u,g];else H1=[V1];e.push(H1),N.pos++}if(!G1)$1(e);c.push(e),N.pos=i+1}while(N.pos<=x);return c}function $1(y){y.sort(T1)}function T1(y,x){return y[0]-x[0]}function b1(y){let x=new F,N=0,c=0,V1=0,R1=0;for(let u=0;u<y.length;u++){let g=y[u];if(u>0)x.write(X);if(g.length===0)continue;let l=0;for(let i=0;i<g.length;i++){let e=g[i];if(i>0)x.write(G);if(l=Y(x,e[0],l),e.length===1)continue;if(N=Y(x,e[1],N),c=Y(x,e[2],c),V1=Y(x,e[3],V1),e.length===4)continue;R1=Y(x,e[4],R1)}}return x.flush()}J.decode=Y1,J.decodeGeneratedRanges=w,J.decodeOriginalScopes=I,J.encode=b1,J.encodeGeneratedRanges=k,J.encodeOriginalScopes=_,Object.defineProperty(J,"__esModule",{value:!0})})});var $G=C((e9,J4)=>{(function(J,G){typeof e9==="object"&&typeof J4!=="undefined"?J4.exports=G():typeof define==="function"&&define.amd?define(G):(J=typeof globalThis!=="undefined"?globalThis:J||self,J.resolveURI=G())})(e9,function(){let J=/^[\w+.-]+:\/\//,G=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,X=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function H(f){return J.test(f)}function V(f){return f.startsWith("//")}function Z(f){return f.startsWith("/")}function Q(f){return f.startsWith("file:")}function Y(f){return/^[.?#]/.test(f)}function W(f){let w=G.exec(f);return U(w[1],w[2]||"",w[3],w[4]||"",w[5]||"/",w[6]||"",w[7]||"")}function z(f){let w=X.exec(f),k=w[2];return U("file:","",w[1]||"","",Z(k)?k:"/"+k,w[3]||"",w[4]||"")}function U(f,w,k,Q1,d,Y1,$1){return{scheme:f,user:w,host:k,port:Q1,path:d,query:Y1,hash:$1,type:7}}function F(f){if(V(f)){let k=W("http:"+f);return k.scheme="",k.type=6,k}if(Z(f)){let k=W("http://foo.com"+f);return k.scheme="",k.host="",k.type=5,k}if(Q(f))return z(f);if(H(f))return W(f);let w=W("http://foo.com/"+f);return w.scheme="",w.host="",w.type=f?f.startsWith("?")?3:f.startsWith("#")?2:4:1,w}function A(f){if(f.endsWith("/.."))return f;let w=f.lastIndexOf("/");return f.slice(0,w+1)}function D(f,w){if(I(w,w.type),f.path==="/")f.path=w.path;else f.path=A(w.path)+f.path}function I(f,w){let k=w<=4,Q1=f.path.split("/"),d=1,Y1=0,$1=!1;for(let b1=1;b1<Q1.length;b1++){let y=Q1[b1];if(!y){$1=!0;continue}if($1=!1,y===".")continue;if(y===".."){if(Y1)$1=!0,Y1--,d--;else if(k)Q1[d++]=y;continue}Q1[d++]=y,Y1++}let T1="";for(let b1=1;b1<d;b1++)T1+="/"+Q1[b1];if(!T1||$1&&!T1.endsWith("/.."))T1+="/";f.path=T1}function _(f,w){if(!f&&!w)return"";let k=F(f),Q1=k.type;if(w&&Q1!==7){let Y1=F(w),$1=Y1.type;switch(Q1){case 1:k.hash=Y1.hash;case 2:k.query=Y1.query;case 3:case 4:D(k,Y1);case 5:k.user=Y1.user,k.host=Y1.host,k.port=Y1.port;case 6:k.scheme=Y1.scheme}if($1>Q1)Q1=$1}I(k,Q1);let d=k.query+k.hash;switch(Q1){case 2:case 3:return d;case 4:{let Y1=k.path.slice(1);if(!Y1)return d||".";if(Y(w||f)&&!Y(Y1))return"./"+Y1+d;return Y1+d}case 5:return k.path+d;default:return k.scheme+"//"+k.user+k.host+k.port+k.path+d}}return _})});var G4=C((b5,MG)=>{(function(J,G){typeof b5==="object"&&typeof MG!=="undefined"?G(b5,o9(),$G()):typeof define==="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],G):(J=typeof globalThis!=="undefined"?globalThis:J||self,G(J.traceMapping={},J.sourcemapCodec,J.resolveURI))})(b5,function(J,G,X){function H(P,L){if(L&&!L.endsWith("/"))L+="/";return X(P,L)}function V(P){if(!P)return"";let L=P.lastIndexOf("/");return P.slice(0,L+1)}let Z=0,Q=1,Y=2,W=3,z=4,U=1,F=2;function A(P,L){let b=D(P,0);if(b===P.length)return P;if(!L)P=P.slice();for(let m=b;m<P.length;m=D(P,m+1))P[m]=_(P[m],L);return P}function D(P,L){for(let b=L;b<P.length;b++)if(!I(P[b]))return b;return P.length}function I(P){for(let L=1;L<P.length;L++)if(P[L][Z]<P[L-1][Z])return!1;return!0}function _(P,L){if(!L)P=P.slice();return P.sort(f)}function f(P,L){return P[Z]-L[Z]}let w=!1;function k(P,L,b,m){while(b<=m){let Z1=b+(m-b>>1),t=P[Z1][Z]-L;if(t===0)return w=!0,Z1;if(t<0)b=Z1+1;else m=Z1-1}return w=!1,b-1}function Q1(P,L,b){for(let m=b+1;m<P.length;b=m++)if(P[m][Z]!==L)break;return b}function d(P,L,b){for(let m=b-1;m>=0;b=m--)if(P[m][Z]!==L)break;return b}function Y1(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function $1(P,L,b,m){let{lastKey:Z1,lastNeedle:t,lastIndex:F1}=b,C1=0,B1=P.length-1;if(m===Z1){if(L===t)return w=F1!==-1&&P[F1][Z]===L,F1;if(L>=t)C1=F1===-1?0:F1;else B1=F1}return b.lastKey=m,b.lastNeedle=L,b.lastIndex=k(P,L,C1,B1)}function T1(P,L){let b=L.map(y);for(let m=0;m<P.length;m++){let Z1=P[m];for(let t=0;t<Z1.length;t++){let F1=Z1[t];if(F1.length===1)continue;let C1=F1[Q],B1=F1[Y],S1=F1[W],d1=b[C1],P1=d1[B1]||(d1[B1]=[]),E1=L[C1],n1=Q1(P1,S1,$1(P1,S1,E1,B1));E1.lastIndex=++n1,b1(P1,n1,[S1,m,F1[Z]])}}return b}function b1(P,L,b){for(let m=P.length;m>L;m--)P[m]=P[m-1];P[L]=b}function y(){return{__proto__:null}}let x=function(P,L){let b=N(P);if(!("sections"in b))return new G1(b,L);let m=[],Z1=[],t=[],F1=[],C1=[];c(b,L,m,Z1,t,F1,C1,0,0,1/0,1/0);let B1={version:3,file:b.file,names:F1,sources:Z1,sourcesContent:t,mappings:m,ignoreList:C1};return S2(B1)};function N(P){return typeof P==="string"?JSON.parse(P):P}function c(P,L,b,m,Z1,t,F1,C1,B1,S1,d1){let{sections:P1}=P;for(let E1=0;E1<P1.length;E1++){let{map:n1,offset:M2}=P1[E1],r2=S1,R0=d1;if(E1+1<P1.length){let $0=P1[E1+1].offset;if(r2=Math.min(S1,C1+$0.line),r2===S1)R0=Math.min(d1,B1+$0.column);else if(r2<S1)R0=B1+$0.column}V1(n1,L,b,m,Z1,t,F1,C1+M2.line,B1+M2.column,r2,R0)}}function V1(P,L,b,m,Z1,t,F1,C1,B1,S1,d1){let P1=N(P);if("sections"in P1)return c(...arguments);let E1=new G1(P1,L),n1=m.length,M2=t.length,r2=U1(E1),{resolvedSources:R0,sourcesContent:$0,ignoreList:d9}=E1;if(R1(m,R0),R1(t,E1.names),$0)R1(Z1,$0);else for(let J2=0;J2<R0.length;J2++)Z1.push(null);if(d9)for(let J2=0;J2<d9.length;J2++)F1.push(d9[J2]+n1);for(let J2=0;J2<r2.length;J2++){let s9=C1+J2;if(s9>S1)return;let HG=u(b,s9),mW=J2===0?B1:0,VG=r2[J2];for(let t9=0;t9<VG.length;t9++){let d2=VG[t9],w5=mW+d2[Z];if(s9===S1&&w5>=d1)return;if(d2.length===1){HG.push([w5]);continue}let ZG=n1+d2[Q],QG=d2[Y],YG=d2[W];HG.push(d2.length===4?[w5,ZG,QG,YG]:[w5,ZG,QG,YG,M2+d2[z]])}}}function R1(P,L){for(let b=0;b<L.length;b++)P.push(L[b])}function u(P,L){for(let b=P.length;b<=L;b++)P[b]=[];return P[L]}let g="`line` must be greater than 0 (lines start at line 1)",l="`column` must be greater than or equal to 0 (columns start at column 0)",i=-1,e=1;class G1{constructor(P,L){let b=typeof P==="string";if(!b&&P._decodedMemo)return P;let m=b?JSON.parse(P):P,{version:Z1,file:t,names:F1,sourceRoot:C1,sources:B1,sourcesContent:S1}=m;this.version=Z1,this.file=t,this.names=F1||[],this.sourceRoot=C1,this.sources=B1,this.sourcesContent=S1,this.ignoreList=m.ignoreList||m.x_google_ignoreList||void 0;let d1=H(C1||"",V(L));this.resolvedSources=B1.map((E1)=>H(E1||"",d1));let{mappings:P1}=m;if(typeof P1==="string")this._encoded=P1,this._decoded=void 0;else this._encoded=void 0,this._decoded=A(P1,b);this._decodedMemo=Y1(),this._bySources=void 0,this._bySourceMemos=void 0}}function o(P){return P}function H1(P){var L,b;return(L=(b=o(P))._encoded)!==null&&L!==void 0?L:b._encoded=G.encode(o(P)._decoded)}function U1(P){var L;return(L=o(P))._decoded||(L._decoded=G.decode(o(P)._encoded))}function _1(P,L,b){let m=U1(P);if(L>=m.length)return null;let Z1=m[L],t=T5(Z1,o(P)._decodedMemo,L,b,e);return t===-1?null:Z1[t]}function W2(P,L){let{line:b,column:m,bias:Z1}=L;if(b--,b<0)throw new Error(g);if(m<0)throw new Error(l);let t=U1(P);if(b>=t.length)return N5(null,null,null,null);let F1=t[b],C1=T5(F1,o(P)._decodedMemo,b,m,Z1||e);if(C1===-1)return N5(null,null,null,null);let B1=F1[C1];if(B1.length===1)return N5(null,null,null,null);let{names:S1,resolvedSources:d1}=P;return N5(d1[B1[Q]],B1[Y]+1,B1[W],B1.length===5?S1[B1[z]]:null)}function t1(P,L){let{source:b,line:m,column:Z1,bias:t}=L;return XG(P,b,m,Z1,t||e,!1)}function e1(P,L){let{source:b,line:m,column:Z1,bias:t}=L;return XG(P,b,m,Z1,t||i,!0)}function $2(P,L){let b=U1(P),{names:m,resolvedSources:Z1}=P;for(let t=0;t<b.length;t++){let F1=b[t];for(let C1=0;C1<F1.length;C1++){let B1=F1[C1],S1=t+1,d1=B1[0],P1=null,E1=null,n1=null,M2=null;if(B1.length!==1)P1=Z1[B1[1]],E1=B1[2]+1,n1=B1[3];if(B1.length===5)M2=m[B1[4]];L({generatedLine:S1,generatedColumn:d1,source:P1,originalLine:E1,originalColumn:n1,name:M2})}}}function z2(P,L){let{sources:b,resolvedSources:m}=P,Z1=b.indexOf(L);if(Z1===-1)Z1=m.indexOf(L);return Z1}function y1(P,L){let{sourcesContent:b}=P;if(b==null)return null;let m=z2(P,L);return m===-1?null:b[m]}function g1(P,L){let{ignoreList:b}=P;if(b==null)return!1;let m=z2(P,L);return m===-1?!1:b.includes(m)}function S2(P,L){let b=new G1(y0(P,[]),L);return o(b)._decoded=P.mappings,b}function p2(P){return y0(P,U1(P))}function r9(P){return y0(P,H1(P))}function y0(P,L){return{version:P.version,file:P.file,names:P.names,sourceRoot:P.sourceRoot,sources:P.sources,sourcesContent:P.sourcesContent,mappings:L,ignoreList:P.ignoreList||P.x_google_ignoreList}}function N5(P,L,b,m){return{source:P,line:L,column:b,name:m}}function x0(P,L){return{line:P,column:L}}function T5(P,L,b,m,Z1){let t=$1(P,m,L,b);if(w)t=(Z1===i?Q1:d)(P,m,t);else if(Z1===i)t++;if(t===-1||t===P.length)return-1;return t}function xW(P,L,b,m,Z1){let t=T5(P,L,b,m,e);if(!w&&Z1===i)t++;if(t===-1||t===P.length)return[];let F1=w?m:P[t][Z];if(!w)t=d(P,F1,t);let C1=Q1(P,F1,t),B1=[];for(;t<=C1;t++){let S1=P[t];B1.push(x0(S1[U]+1,S1[F]))}return B1}function XG(P,L,b,m,Z1,t){var F1;if(b--,b<0)throw new Error(g);if(m<0)throw new Error(l);let{sources:C1,resolvedSources:B1}=P,S1=C1.indexOf(L);if(S1===-1)S1=B1.indexOf(L);if(S1===-1)return t?[]:x0(null,null);let P1=((F1=o(P))._bySources||(F1._bySources=T1(U1(P),o(P)._bySourceMemos=C1.map(Y1))))[S1][b];if(P1==null)return t?[]:x0(null,null);let E1=o(P)._bySourceMemos[S1];if(t)return xW(P1,E1,b,m,Z1);let n1=T5(P1,E1,b,m,Z1);if(n1===-1)return x0(null,null);let M2=P1[n1];return x0(M2[U]+1,M2[F])}J.AnyMap=x,J.GREATEST_LOWER_BOUND=e,J.LEAST_UPPER_BOUND=i,J.TraceMap=G1,J.allGeneratedPositionsFor=e1,J.decodedMap=p2,J.decodedMappings=U1,J.eachMapping=$2,J.encodedMap=r9,J.encodedMappings=H1,J.generatedPositionFor=t1,J.isIgnored=g1,J.originalPositionFor=W2,J.presortedDecodedMap=S2,J.sourceContentFor=y1,J.traceSegment=_1})});var FG=C((E5,qG)=>{(function(J,G){typeof E5==="object"&&typeof qG!=="undefined"?G(E5,BG(),o9(),G4()):typeof define==="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],G):(J=typeof globalThis!=="undefined"?globalThis:J||self,G(J.genMapping={},J.setArray,J.sourcemapCodec,J.traceMapping))})(E5,function(J,G,X,H){class U{constructor({file:u,sourceRoot:g}={}){this._names=new G.SetArray,this._sources=new G.SetArray,this._sourcesContent=[],this._mappings=[],this.file=u,this.sourceRoot=g,this._ignoreList=new G.SetArray}}function F(u){return u}function A(u,g,l,i,e,G1,o,H1){return $1(!1,u,g,l,i,e,G1,o,H1)}function D(u,g){return R1(!1,u,g)}let I=(u,g,l,i,e,G1,o,H1)=>{return $1(!0,u,g,l,i,e,G1,o,H1)},_=(u,g)=>{return R1(!0,u,g)};function f(u,g,l){let{_sources:i,_sourcesContent:e}=F(u),G1=G.put(i,g);e[G1]=l}function w(u,g,l=!0){let{_sources:i,_sourcesContent:e,_ignoreList:G1}=F(u),o=G.put(i,g);if(o===e.length)e[o]=null;if(l)G.put(G1,o);else G.remove(G1,o)}function k(u){let{_mappings:g,_sources:l,_sourcesContent:i,_names:e,_ignoreList:G1}=F(u);return x(g),{version:3,file:u.file||void 0,names:e.array,sourceRoot:u.sourceRoot||void 0,sources:l.array,sourcesContent:i,mappings:g,ignoreList:G1.array}}function Q1(u){let g=k(u);return Object.assign(Object.assign({},g),{mappings:X.encode(g.mappings)})}function d(u){let g=new H.TraceMap(u),l=new U({file:g.file,sourceRoot:g.sourceRoot});if(N(F(l)._names,g.names),N(F(l)._sources,g.sources),F(l)._sourcesContent=g.sourcesContent||g.sources.map(()=>null),F(l)._mappings=H.decodedMappings(g),g.ignoreList)N(F(l)._ignoreList,g.ignoreList);return l}function Y1(u){let g=[],{_mappings:l,_sources:i,_names:e}=F(u);for(let G1=0;G1<l.length;G1++){let o=l[G1];for(let H1=0;H1<o.length;H1++){let U1=o[H1],_1={line:G1+1,column:U1[0]},W2=void 0,t1=void 0,e1=void 0;if(U1.length!==1){if(W2=i.array[U1[1]],t1={line:U1[2]+1,column:U1[3]},U1.length===5)e1=e.array[U1[4]]}g.push({generated:_1,source:W2,original:t1,name:e1})}}return g}function $1(u,g,l,i,e,G1,o,H1,U1){let{_mappings:_1,_sources:W2,_sourcesContent:t1,_names:e1}=F(g),$2=T1(_1,l),z2=b1($2,i);if(!e){if(u&&c($2,z2))return;return y($2,z2,[i])}let y1=G.put(W2,e),g1=H1?G.put(e1,H1):-1;if(y1===t1.length)t1[y1]=U1!==null&&U1!==void 0?U1:null;if(u&&V1($2,z2,y1,G1,o,g1))return;return y($2,z2,H1?[i,y1,G1,o,g1]:[i,y1,G1,o])}function T1(u,g){for(let l=u.length;l<=g;l++)u[l]=[];return u[g]}function b1(u,g){let l=u.length;for(let i=l-1;i>=0;l=i--){let e=u[i];if(g>=e[0])break}return l}function y(u,g,l){for(let i=u.length;i>g;i--)u[i]=u[i-1];u[g]=l}function x(u){let{length:g}=u,l=g;for(let i=l-1;i>=0;l=i,i--)if(u[i].length>0)break;if(l<g)u.length=l}function N(u,g){for(let l=0;l<g.length;l++)G.put(u,g[l])}function c(u,g){if(g===0)return!0;return u[g-1].length===1}function V1(u,g,l,i,e,G1){if(g===0)return!1;let o=u[g-1];if(o.length===1)return!1;return l===o[1]&&i===o[2]&&e===o[3]&&G1===(o.length===5?o[4]:-1)}function R1(u,g,l){let{generated:i,source:e,original:G1,name:o,content:H1}=l;if(!e)return $1(u,g,i.line-1,i.column,null,null,null,null,null);return $1(u,g,i.line-1,i.column,e,G1.line-1,G1.column,o,H1)}J.GenMapping=U,J.addMapping=D,J.addSegment=A,J.allMappings=Y1,J.fromMap=d,J.maybeAddMapping=_,J.maybeAddSegment=I,J.setIgnore=w,J.setSourceContent=f,J.toDecodedMap=k,J.toEncodedMap=Q1,Object.defineProperty(J,"__esModule",{value:!0})})});var CG=C((OG)=>{Object.defineProperty(OG,"__esModule",{value:!0});OG.default=void 0;var _2=FG(),X4=G4();class jG{constructor(J,G){var X;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let H=this._map=new _2.GenMapping({sourceRoot:J.sourceRoot});if(this._sourceFileName=(X=J.sourceFileName)==null?void 0:X.replace(/\\/g,"/"),this._rawMappings=void 0,J.inputSourceMap){this._inputMap=new X4.TraceMap(J.inputSourceMap);let Z=this._inputMap.resolvedSources;if(Z.length)for(let Q=0;Q<Z.length;Q++){var V;_2.setSourceContent(H,Z[Q],(V=this._inputMap.sourcesContent)==null?void 0:V[Q])}}if(typeof G==="string"&&!J.inputSourceMap)_2.setSourceContent(H,this._sourceFileName,G);else if(typeof G==="object")for(let Z of Object.keys(G))_2.setSourceContent(H,Z.replace(/\\/g,"/"),G[Z])}get(){return _2.toEncodedMap(this._map)}getDecoded(){return _2.toDecodedMap(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=_2.allMappings(this._map))}mark(J,G,X,H,V,Z){var Q;this._rawMappings=void 0;let Y;if(G!=null)if(this._inputMap){if(Y=X4.originalPositionFor(this._inputMap,{line:G,column:X}),!Y.name&&V){let W=X4.originalPositionFor(this._inputMap,V);if(W.name)H=W.name}}else Y={source:(Z==null?void 0:Z.replace(/\\/g,"/"))||this._sourceFileName,line:G,column:X};_2.maybeAddMapping(this._map,{name:H,generated:J,source:(Q=Y)==null?void 0:Q.source,original:Y})}}OG.default=jG});var PG=C((SG)=>{Object.defineProperty(SG,"__esModule",{value:!0});SG.default=void 0;class DG{constructor(J,G){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=J,this._indentChar=G;for(let X=0;X<64;X++)this._fastIndentations.push(G.repeat(X));this._allocQueue()}_allocQueue(){let J=this._queue;for(let G=0;G<16;G++)J.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(J,G,X,H,V){let Z=this._queueCursor;if(Z===this._queue.length)this._allocQueue();let Q=this._queue[Z];Q.char=J,Q.repeat=G,Q.line=X,Q.column=H,Q.filename=V,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let J=this._map,G={code:(this._buf+this._str).trimRight(),decodedMap:J==null?void 0:J.getDecoded(),get __mergedMap(){return this.map},get map(){let X=J?J.get():null;return G.map=X,X},set map(X){Object.defineProperty(G,"map",{value:X,writable:!0})},get rawMappings(){let X=J==null?void 0:J.getRawMappings();return G.rawMappings=X,X},set rawMappings(X){Object.defineProperty(G,"rawMappings",{value:X,writable:!0})}};return G}append(J,G){this._flush(),this._append(J,this._sourcePosition,G)}appendChar(J){this._flush(),this._appendChar(J,1,this._sourcePosition)}queue(J){if(J===10)while(this._queueCursor!==0){let X=this._queue[this._queueCursor-1].char;if(X!==32&&X!==9)break;this._queueCursor--}let G=this._sourcePosition;this._pushQueue(J,1,G.line,G.column,G.filename)}queueIndentation(J){if(J===0)return;this._pushQueue(-1,J,void 0,void 0,void 0)}_flush(){let J=this._queueCursor,G=this._queue;for(let X=0;X<J;X++){let H=G[X];this._appendChar(H.char,H.repeat,H)}this._queueCursor=0}_appendChar(J,G,X){if(this._last=J,J===-1){let H=this._fastIndentations[G];if(H!==void 0)this._str+=H;else this._str+=G>1?this._indentChar.repeat(G):this._indentChar}else this._str+=G>1?String.fromCharCode(J).repeat(G):String.fromCharCode(J);if(J!==10)this._mark(X.line,X.column,X.identifierName,X.identifierNamePos,X.filename),this._position.column+=G;else this._position.line++,this._position.column=0;if(this._canMarkIdName)X.identifierName=void 0,X.identifierNamePos=void 0}_append(J,G,X){let H=J.length,V=this._position;if(this._last=J.charCodeAt(H-1),++this._appendCount>4096)+this._str,this._buf+=this._str,this._str=J,this._appendCount=0;else this._str+=J;if(!X&&!this._map){V.column+=H;return}let{column:Z,identifierName:Q,identifierNamePos:Y,filename:W}=G,z=G.line;if((Q!=null||Y!=null)&&this._canMarkIdName)G.identifierName=void 0,G.identifierNamePos=void 0;let U=J.indexOf("\n"),F=0;if(U!==0)this._mark(z,Z,Q,Y,W);while(U!==-1){if(V.line++,V.column=0,F=U+1,F<H&&z!==void 0)this._mark(++z,0,null,null,W);U=J.indexOf("\n",F)}V.column+=H-F}_mark(J,G,X,H,V){var Z;(Z=this._map)==null||Z.mark(this._position,J,G,X,H,V)}removeTrailingNewline(){let J=this._queueCursor;if(J!==0&&this._queue[J-1].char===10)this._queueCursor--}removeLastSemicolon(){let J=this._queueCursor;if(J!==0&&this._queue[J-1].char===59)this._queueCursor--}getLastChar(){let J=this._queueCursor;return J!==0?this._queue[J-1].char:this._last}getNewlineCount(){let J=this._queueCursor,G=0;if(J===0)return this._last===10?1:0;for(let X=J-1;X>=0;X--){if(this._queue[X].char!==10)break;G++}return G===J&&this._last===10?G+1:G}endsWithCharAndNewline(){let J=this._queue,G=this._queueCursor;if(G!==0){if(J[G-1].char!==10)return;if(G>1)return J[G-2].char;else return this._last}}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(J,G){if(!this._map){G();return}this.source("start",J);let X=J.identifierName,H=this._sourcePosition;if(X)this._canMarkIdName=!1,H.identifierName=X;if(G(),X)this._canMarkIdName=!0,H.identifierName=void 0,H.identifierNamePos=void 0;this.source("end",J)}source(J,G){if(!this._map)return;this._normalizePosition(J,G,0)}sourceWithOffset(J,G,X){if(!this._map)return;this._normalizePosition(J,G,X)}_normalizePosition(J,G,X){let H=G[J],V=this._sourcePosition;if(H)V.line=H.line,V.column=Math.max(H.column+X,0),V.filename=G.filename}getCurrentColumn(){let J=this._queue,G=this._queueCursor,X=-1,H=0;for(let V=0;V<G;V++){let Z=J[V];if(Z.char===10)X=H;H+=Z.repeat}return X===-1?this._position.column+H:H-1-X}getCurrentLine(){let J=0,G=this._queue;for(let X=0;X<this._queueCursor;X++)if(G[X].char===10)J++;return this._position.line+J}}SG.default=DG});var v5=C((fG)=>{Object.defineProperty(fG,"__esModule",{value:!0});fG.default=dW;function dW(J,G){let X=Object.keys(G);for(let H of X)if(J[H]!==G[H])return!1;return!0}});var c0=C((TG)=>{Object.defineProperty(TG,"__esModule",{value:!0});TG.default=tW;var NG=new Set;function tW(J,G,X=""){if(NG.has(J))return;NG.add(J);let{internal:H,trace:V}=nW(1,2);if(H)return;console.warn(`${X}\`${J}\` has been deprecated, please migrate to \`${G}\`\n${V}`)}function nW(J,G){let{stackTraceLimit:X,prepareStackTrace:H}=Error,V;if(Error.stackTraceLimit=1+J+G,Error.prepareStackTrace=function(Q,Y){V=Y},new Error().stack,Error.stackTraceLimit=X,Error.prepareStackTrace=H,!V)return{internal:!1,trace:""};let Z=V.slice(1+J,1+J+G);return{internal:/[\\/]@babel[\\/]/.test(Z[1].getFileName()),trace:Z.map((Q)=>` at ${Q}`).join("\n")}}});var w1=C((LG)=>{Object.defineProperty(LG,"__esModule",{value:!0});LG.isAccessor=B$;LG.isAnyTypeAnnotation=EK;LG.isArgumentPlaceholder=WB;LG.isArrayExpression=eW;LG.isArrayPattern=nz;LG.isArrayTypeAnnotation=vK;LG.isArrowFunctionExpression=oz;LG.isAssignmentExpression=Jz;LG.isAssignmentPattern=tz;LG.isAwaitExpression=CK;LG.isBigIntLiteral=SK;LG.isBinary=gR;LG.isBinaryExpression=Gz;LG.isBindExpression=zB;LG.isBlock=hR;LG.isBlockParent=uR;LG.isBlockStatement=Zz;LG.isBooleanLiteral=fz;LG.isBooleanLiteralTypeAnnotation=_K;LG.isBooleanTypeAnnotation=gK;LG.isBreakStatement=Qz;LG.isCallExpression=Yz;LG.isCatchClause=Wz;LG.isClass=z$;LG.isClassAccessorProperty=TK;LG.isClassBody=ez;LG.isClassDeclaration=GK;LG.isClassExpression=JK;LG.isClassImplements=hK;LG.isClassMethod=RK;LG.isClassPrivateMethod=LK;LG.isClassPrivateProperty=wK;LG.isClassProperty=NK;LG.isCompletionStatement=mR;LG.isConditional=cR;LG.isConditionalExpression=zz;LG.isContinueStatement=Kz;LG.isDebuggerStatement=Uz;LG.isDecimalLiteral=qB;LG.isDeclaration=nR;LG.isDeclareClass=yK;LG.isDeclareExportAllDeclaration=dK;LG.isDeclareExportDeclaration=rK;LG.isDeclareFunction=xK;LG.isDeclareInterface=mK;LG.isDeclareModule=cK;LG.isDeclareModuleExports=lK;LG.isDeclareOpaqueType=aK;LG.isDeclareTypeAlias=iK;LG.isDeclareVariable=pK;LG.isDeclaredPredicate=sK;LG.isDecorator=UB;LG.isDirective=Hz;LG.isDirectiveLiteral=Vz;LG.isDoExpression=BB;LG.isDoWhileStatement=Bz;LG.isEmptyStatement=Rz;LG.isEmptyTypeAnnotation=QU;LG.isEnumBody=O$;LG.isEnumBooleanBody=vU;LG.isEnumBooleanMember=hU;LG.isEnumDeclaration=EU;LG.isEnumDefaultedMember=mU;LG.isEnumMember=A$;LG.isEnumNumberBody=gU;LG.isEnumNumberMember=yU;LG.isEnumStringBody=_U;LG.isEnumStringMember=xU;LG.isEnumSymbolBody=uU;LG.isExistsTypeAnnotation=tK;LG.isExportAllDeclaration=XK;LG.isExportDeclaration=K$;LG.isExportDefaultDeclaration=HK;LG.isExportDefaultSpecifier=RB;LG.isExportNamedDeclaration=VK;LG.isExportNamespaceSpecifier=IK;LG.isExportSpecifier=ZK;LG.isExpression=vR;LG.isExpressionStatement=$z;LG.isExpressionWrapper=aR;LG.isFile=Mz;LG.isFlow=$$;LG.isFlowBaseAnnotation=q$;LG.isFlowDeclaration=F$;LG.isFlowPredicate=j$;LG.isFlowType=M$;LG.isFor=pR;LG.isForInStatement=qz;LG.isForOfStatement=QK;LG.isForStatement=Fz;LG.isForXStatement=rR;LG.isFunction=dR;LG.isFunctionDeclaration=jz;LG.isFunctionExpression=Oz;LG.isFunctionParent=sR;LG.isFunctionTypeAnnotation=nK;LG.isFunctionTypeParam=oK;LG.isGenericTypeAnnotation=eK;LG.isIdentifier=Az;LG.isIfStatement=Cz;LG.isImmutable=X$;LG.isImport=DK;LG.isImportAttribute=KB;LG.isImportDeclaration=YK;LG.isImportDefaultSpecifier=WK;LG.isImportExpression=UK;LG.isImportNamespaceSpecifier=zK;LG.isImportOrExportDeclaration=wG;LG.isImportSpecifier=KK;LG.isIndexedAccessType=cU;LG.isInferredPredicate=JU;LG.isInterfaceDeclaration=XU;LG.isInterfaceExtends=GU;LG.isInterfaceTypeAnnotation=HU;LG.isInterpreterDirective=Xz;LG.isIntersectionTypeAnnotation=VU;LG.isJSX=C$;LG.isJSXAttribute=iU;LG.isJSXClosingElement=aU;LG.isJSXClosingFragment=VB;LG.isJSXElement=pU;LG.isJSXEmptyExpression=rU;LG.isJSXExpressionContainer=dU;LG.isJSXFragment=XB;LG.isJSXIdentifier=tU;LG.isJSXMemberExpression=nU;LG.isJSXNamespacedName=oU;LG.isJSXOpeningElement=eU;LG.isJSXOpeningFragment=HB;LG.isJSXSpreadAttribute=JB;LG.isJSXSpreadChild=sU;LG.isJSXText=GB;LG.isLVal=eR;LG.isLabeledStatement=Dz;LG.isLiteral=G$;LG.isLogicalExpression=Tz;LG.isLoop=lR;LG.isMemberExpression=wz;LG.isMetaProperty=BK;LG.isMethod=V$;LG.isMiscellaneous=D$;LG.isMixedTypeAnnotation=ZU;LG.isModuleDeclaration=k$;LG.isModuleExpression=FB;LG.isModuleSpecifier=U$;LG.isNewExpression=Lz;LG.isNoop=ZB;LG.isNullLiteral=Pz;LG.isNullLiteralTypeAnnotation=uK;LG.isNullableTypeAnnotation=YU;LG.isNumberLiteral=N$;LG.isNumberLiteralTypeAnnotation=WU;LG.isNumberTypeAnnotation=zU;LG.isNumericLiteral=Iz;LG.isObjectExpression=bz;LG.isObjectMember=Z$;LG.isObjectMethod=Ez;LG.isObjectPattern=$K;LG.isObjectProperty=vz;LG.isObjectTypeAnnotation=KU;LG.isObjectTypeCallProperty=BU;LG.isObjectTypeIndexer=RU;LG.isObjectTypeInternalSlot=UU;LG.isObjectTypeProperty=$U;LG.isObjectTypeSpreadProperty=MU;LG.isOpaqueType=qU;LG.isOptionalCallExpression=fK;LG.isOptionalIndexedAccessType=lU;LG.isOptionalMemberExpression=PK;LG.isParenthesizedExpression=hz;LG.isPattern=W$;LG.isPatternLike=oR;LG.isPipelineBareFunction=AB;LG.isPipelinePrimaryTopicReference=CB;LG.isPipelineTopicExpression=OB;LG.isPlaceholder=QB;LG.isPrivate=R$;LG.isPrivateName=kK;LG.isProgram=kz;LG.isProperty=Q$;LG.isPureish=tR;LG.isQualifiedTypeIdentifier=FU;LG.isRecordExpression=$B;LG.isRegExpLiteral=Nz;LG.isRegexLiteral=T$;LG.isRestElement=gz;LG.isRestProperty=w$;LG.isReturnStatement=_z;LG.isScopable=_R;LG.isSequenceExpression=uz;LG.isSpreadElement=MK;LG.isSpreadProperty=L$;LG.isStandardized=ER;LG.isStatement=yR;LG.isStaticBlock=bK;LG.isStringLiteral=Sz;LG.isStringLiteralTypeAnnotation=jU;LG.isStringTypeAnnotation=OU;LG.isSuper=qK;LG.isSwitchCase=yz;LG.isSwitchStatement=xz;LG.isSymbolTypeAnnotation=AU;LG.isTSAnyKeyword=kB;LG.isTSArrayType=nB;LG.isTSAsExpression=qR;LG.isTSBaseType=f$;LG.isTSBigIntKeyword=EB;LG.isTSBooleanKeyword=bB;LG.isTSCallSignatureDeclaration=fB;LG.isTSConditionalType=VR;LG.isTSConstructSignatureDeclaration=NB;LG.isTSConstructorType=pB;LG.isTSDeclareFunction=SB;LG.isTSDeclareMethod=IB;LG.isTSEntityName=J$;LG.isTSEnumDeclaration=OR;LG.isTSEnumMember=AR;LG.isTSExportAssignment=NR;LG.isTSExpressionWithTypeArguments=UR;LG.isTSExternalModuleReference=PR;LG.isTSFunctionType=aB;LG.isTSImportEqualsDeclaration=IR;LG.isTSImportType=SR;LG.isTSIndexSignature=LB;LG.isTSIndexedAccessType=WR;LG.isTSInferType=ZR;LG.isTSInstantiationExpression=MR;LG.isTSInterfaceBody=RR;LG.isTSInterfaceDeclaration=BR;LG.isTSIntersectionType=HR;LG.isTSIntrinsicKeyword=vB;LG.isTSLiteralType=KR;LG.isTSMappedType=zR;LG.isTSMethodSignature=wB;LG.isTSModuleBlock=DR;LG.isTSModuleDeclaration=CR;LG.isTSNamedTupleMember=GR;LG.isTSNamespaceExportDeclaration=TR;LG.isTSNeverKeyword=gB;LG.isTSNonNullExpression=fR;LG.isTSNullKeyword=_B;LG.isTSNumberKeyword=uB;LG.isTSObjectKeyword=hB;LG.isTSOptionalType=eB;LG.isTSParameterProperty=DB;LG.isTSParenthesizedType=QR;LG.isTSPropertySignature=TB;LG.isTSQualifiedName=PB;LG.isTSRestType=JR;LG.isTSSatisfiesExpression=FR;LG.isTSStringKeyword=yB;LG.isTSSymbolKeyword=xB;LG.isTSThisType=iB;LG.isTSTupleType=oB;LG.isTSType=P$;LG.isTSTypeAliasDeclaration=$R;LG.isTSTypeAnnotation=wR;LG.isTSTypeAssertion=jR;LG.isTSTypeElement=I$;LG.isTSTypeLiteral=tB;LG.isTSTypeOperator=YR;LG.isTSTypeParameter=bR;LG.isTSTypeParameterDeclaration=kR;LG.isTSTypeParameterInstantiation=LR;LG.isTSTypePredicate=dB;LG.isTSTypeQuery=sB;LG.isTSTypeReference=rB;LG.isTSUndefinedKeyword=mB;LG.isTSUnionType=XR;LG.isTSUnknownKeyword=cB;LG.isTSVoidKeyword=lB;LG.isTaggedTemplateExpression=FK;LG.isTemplateElement=jK;LG.isTemplateLiteral=OK;LG.isTerminatorless=xR;LG.isThisExpression=mz;LG.isThisTypeAnnotation=CU;LG.isThrowStatement=cz;LG.isTopicReference=jB;LG.isTryStatement=lz;LG.isTupleExpression=MB;LG.isTupleTypeAnnotation=DU;LG.isTypeAlias=IU;LG.isTypeAnnotation=PU;LG.isTypeCastExpression=fU;LG.isTypeParameter=NU;LG.isTypeParameterDeclaration=TU;LG.isTypeParameterInstantiation=wU;LG.isTypeScript=S$;LG.isTypeofTypeAnnotation=SU;LG.isUnaryExpression=iz;LG.isUnaryLike=Y$;LG.isUnionTypeAnnotation=LU;LG.isUpdateExpression=az;LG.isUserWhitespacable=H$;LG.isV8IntrinsicIdentifier=YB;LG.isVariableDeclaration=pz;LG.isVariableDeclarator=rz;LG.isVariance=kU;LG.isVoidTypeAnnotation=bU;LG.isWhile=iR;LG.isWhileStatement=dz;LG.isWithStatement=sz;LG.isYieldExpression=AK;var R=v5(),l0=c0();function eW(J,G){if(!J)return!1;if(J.type!=="ArrayExpression")return!1;return G==null||R.default(J,G)}function Jz(J,G){if(!J)return!1;if(J.type!=="AssignmentExpression")return!1;return G==null||R.default(J,G)}function Gz(J,G){if(!J)return!1;if(J.type!=="BinaryExpression")return!1;return G==null||R.default(J,G)}function Xz(J,G){if(!J)return!1;if(J.type!=="InterpreterDirective")return!1;return G==null||R.default(J,G)}function Hz(J,G){if(!J)return!1;if(J.type!=="Directive")return!1;return G==null||R.default(J,G)}function Vz(J,G){if(!J)return!1;if(J.type!=="DirectiveLiteral")return!1;return G==null||R.default(J,G)}function Zz(J,G){if(!J)return!1;if(J.type!=="BlockStatement")return!1;return G==null||R.default(J,G)}function Qz(J,G){if(!J)return!1;if(J.type!=="BreakStatement")return!1;return G==null||R.default(J,G)}function Yz(J,G){if(!J)return!1;if(J.type!=="CallExpression")return!1;return G==null||R.default(J,G)}function Wz(J,G){if(!J)return!1;if(J.type!=="CatchClause")return!1;return G==null||R.default(J,G)}function zz(J,G){if(!J)return!1;if(J.type!=="ConditionalExpression")return!1;return G==null||R.default(J,G)}function Kz(J,G){if(!J)return!1;if(J.type!=="ContinueStatement")return!1;return G==null||R.default(J,G)}function Uz(J,G){if(!J)return!1;if(J.type!=="DebuggerStatement")return!1;return G==null||R.default(J,G)}function Bz(J,G){if(!J)return!1;if(J.type!=="DoWhileStatement")return!1;return G==null||R.default(J,G)}function Rz(J,G){if(!J)return!1;if(J.type!=="EmptyStatement")return!1;return G==null||R.default(J,G)}function $z(J,G){if(!J)return!1;if(J.type!=="ExpressionStatement")return!1;return G==null||R.default(J,G)}function Mz(J,G){if(!J)return!1;if(J.type!=="File")return!1;return G==null||R.default(J,G)}function qz(J,G){if(!J)return!1;if(J.type!=="ForInStatement")return!1;return G==null||R.default(J,G)}function Fz(J,G){if(!J)return!1;if(J.type!=="ForStatement")return!1;return G==null||R.default(J,G)}function jz(J,G){if(!J)return!1;if(J.type!=="FunctionDeclaration")return!1;return G==null||R.default(J,G)}function Oz(J,G){if(!J)return!1;if(J.type!=="FunctionExpression")return!1;return G==null||R.default(J,G)}function Az(J,G){if(!J)return!1;if(J.type!=="Identifier")return!1;return G==null||R.default(J,G)}function Cz(J,G){if(!J)return!1;if(J.type!=="IfStatement")return!1;return G==null||R.default(J,G)}function Dz(J,G){if(!J)return!1;if(J.type!=="LabeledStatement")return!1;return G==null||R.default(J,G)}function Sz(J,G){if(!J)return!1;if(J.type!=="StringLiteral")return!1;return G==null||R.default(J,G)}function Iz(J,G){if(!J)return!1;if(J.type!=="NumericLiteral")return!1;return G==null||R.default(J,G)}function Pz(J,G){if(!J)return!1;if(J.type!=="NullLiteral")return!1;return G==null||R.default(J,G)}function fz(J,G){if(!J)return!1;if(J.type!=="BooleanLiteral")return!1;return G==null||R.default(J,G)}function Nz(J,G){if(!J)return!1;if(J.type!=="RegExpLiteral")return!1;return G==null||R.default(J,G)}function Tz(J,G){if(!J)return!1;if(J.type!=="LogicalExpression")return!1;return G==null||R.default(J,G)}function wz(J,G){if(!J)return!1;if(J.type!=="MemberExpression")return!1;return G==null||R.default(J,G)}function Lz(J,G){if(!J)return!1;if(J.type!=="NewExpression")return!1;return G==null||R.default(J,G)}function kz(J,G){if(!J)return!1;if(J.type!=="Program")return!1;return G==null||R.default(J,G)}function bz(J,G){if(!J)return!1;if(J.type!=="ObjectExpression")return!1;return G==null||R.default(J,G)}function Ez(J,G){if(!J)return!1;if(J.type!=="ObjectMethod")return!1;return G==null||R.default(J,G)}function vz(J,G){if(!J)return!1;if(J.type!=="ObjectProperty")return!1;return G==null||R.default(J,G)}function gz(J,G){if(!J)return!1;if(J.type!=="RestElement")return!1;return G==null||R.default(J,G)}function _z(J,G){if(!J)return!1;if(J.type!=="ReturnStatement")return!1;return G==null||R.default(J,G)}function uz(J,G){if(!J)return!1;if(J.type!=="SequenceExpression")return!1;return G==null||R.default(J,G)}function hz(J,G){if(!J)return!1;if(J.type!=="ParenthesizedExpression")return!1;return G==null||R.default(J,G)}function yz(J,G){if(!J)return!1;if(J.type!=="SwitchCase")return!1;return G==null||R.default(J,G)}function xz(J,G){if(!J)return!1;if(J.type!=="SwitchStatement")return!1;return G==null||R.default(J,G)}function mz(J,G){if(!J)return!1;if(J.type!=="ThisExpression")return!1;return G==null||R.default(J,G)}function cz(J,G){if(!J)return!1;if(J.type!=="ThrowStatement")return!1;return G==null||R.default(J,G)}function lz(J,G){if(!J)return!1;if(J.type!=="TryStatement")return!1;return G==null||R.default(J,G)}function iz(J,G){if(!J)return!1;if(J.type!=="UnaryExpression")return!1;return G==null||R.default(J,G)}function az(J,G){if(!J)return!1;if(J.type!=="UpdateExpression")return!1;return G==null||R.default(J,G)}function pz(J,G){if(!J)return!1;if(J.type!=="VariableDeclaration")return!1;return G==null||R.default(J,G)}function rz(J,G){if(!J)return!1;if(J.type!=="VariableDeclarator")return!1;return G==null||R.default(J,G)}function dz(J,G){if(!J)return!1;if(J.type!=="WhileStatement")return!1;return G==null||R.default(J,G)}function sz(J,G){if(!J)return!1;if(J.type!=="WithStatement")return!1;return G==null||R.default(J,G)}function tz(J,G){if(!J)return!1;if(J.type!=="AssignmentPattern")return!1;return G==null||R.default(J,G)}function nz(J,G){if(!J)return!1;if(J.type!=="ArrayPattern")return!1;return G==null||R.default(J,G)}function oz(J,G){if(!J)return!1;if(J.type!=="ArrowFunctionExpression")return!1;return G==null||R.default(J,G)}function ez(J,G){if(!J)return!1;if(J.type!=="ClassBody")return!1;return G==null||R.default(J,G)}function JK(J,G){if(!J)return!1;if(J.type!=="ClassExpression")return!1;return G==null||R.default(J,G)}function GK(J,G){if(!J)return!1;if(J.type!=="ClassDeclaration")return!1;return G==null||R.default(J,G)}function XK(J,G){if(!J)return!1;if(J.type!=="ExportAllDeclaration")return!1;return G==null||R.default(J,G)}function HK(J,G){if(!J)return!1;if(J.type!=="ExportDefaultDeclaration")return!1;return G==null||R.default(J,G)}function VK(J,G){if(!J)return!1;if(J.type!=="ExportNamedDeclaration")return!1;return G==null||R.default(J,G)}function ZK(J,G){if(!J)return!1;if(J.type!=="ExportSpecifier")return!1;return G==null||R.default(J,G)}function QK(J,G){if(!J)return!1;if(J.type!=="ForOfStatement")return!1;return G==null||R.default(J,G)}function YK(J,G){if(!J)return!1;if(J.type!=="ImportDeclaration")return!1;return G==null||R.default(J,G)}function WK(J,G){if(!J)return!1;if(J.type!=="ImportDefaultSpecifier")return!1;return G==null||R.default(J,G)}function zK(J,G){if(!J)return!1;if(J.type!=="ImportNamespaceSpecifier")return!1;return G==null||R.default(J,G)}function KK(J,G){if(!J)return!1;if(J.type!=="ImportSpecifier")return!1;return G==null||R.default(J,G)}function UK(J,G){if(!J)return!1;if(J.type!=="ImportExpression")return!1;return G==null||R.default(J,G)}function BK(J,G){if(!J)return!1;if(J.type!=="MetaProperty")return!1;return G==null||R.default(J,G)}function RK(J,G){if(!J)return!1;if(J.type!=="ClassMethod")return!1;return G==null||R.default(J,G)}function $K(J,G){if(!J)return!1;if(J.type!=="ObjectPattern")return!1;return G==null||R.default(J,G)}function MK(J,G){if(!J)return!1;if(J.type!=="SpreadElement")return!1;return G==null||R.default(J,G)}function qK(J,G){if(!J)return!1;if(J.type!=="Super")return!1;return G==null||R.default(J,G)}function FK(J,G){if(!J)return!1;if(J.type!=="TaggedTemplateExpression")return!1;return G==null||R.default(J,G)}function jK(J,G){if(!J)return!1;if(J.type!=="TemplateElement")return!1;return G==null||R.default(J,G)}function OK(J,G){if(!J)return!1;if(J.type!=="TemplateLiteral")return!1;return G==null||R.default(J,G)}function AK(J,G){if(!J)return!1;if(J.type!=="YieldExpression")return!1;return G==null||R.default(J,G)}function CK(J,G){if(!J)return!1;if(J.type!=="AwaitExpression")return!1;return G==null||R.default(J,G)}function DK(J,G){if(!J)return!1;if(J.type!=="Import")return!1;return G==null||R.default(J,G)}function SK(J,G){if(!J)return!1;if(J.type!=="BigIntLiteral")return!1;return G==null||R.default(J,G)}function IK(J,G){if(!J)return!1;if(J.type!=="ExportNamespaceSpecifier")return!1;return G==null||R.default(J,G)}function PK(J,G){if(!J)return!1;if(J.type!=="OptionalMemberExpression")return!1;return G==null||R.default(J,G)}function fK(J,G){if(!J)return!1;if(J.type!=="OptionalCallExpression")return!1;return G==null||R.default(J,G)}function NK(J,G){if(!J)return!1;if(J.type!=="ClassProperty")return!1;return G==null||R.default(J,G)}function TK(J,G){if(!J)return!1;if(J.type!=="ClassAccessorProperty")return!1;return G==null||R.default(J,G)}function wK(J,G){if(!J)return!1;if(J.type!=="ClassPrivateProperty")return!1;return G==null||R.default(J,G)}function LK(J,G){if(!J)return!1;if(J.type!=="ClassPrivateMethod")return!1;return G==null||R.default(J,G)}function kK(J,G){if(!J)return!1;if(J.type!=="PrivateName")return!1;return G==null||R.default(J,G)}function bK(J,G){if(!J)return!1;if(J.type!=="StaticBlock")return!1;return G==null||R.default(J,G)}function EK(J,G){if(!J)return!1;if(J.type!=="AnyTypeAnnotation")return!1;return G==null||R.default(J,G)}function vK(J,G){if(!J)return!1;if(J.type!=="ArrayTypeAnnotation")return!1;return G==null||R.default(J,G)}function gK(J,G){if(!J)return!1;if(J.type!=="BooleanTypeAnnotation")return!1;return G==null||R.default(J,G)}function _K(J,G){if(!J)return!1;if(J.type!=="BooleanLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function uK(J,G){if(!J)return!1;if(J.type!=="NullLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function hK(J,G){if(!J)return!1;if(J.type!=="ClassImplements")return!1;return G==null||R.default(J,G)}function yK(J,G){if(!J)return!1;if(J.type!=="DeclareClass")return!1;return G==null||R.default(J,G)}function xK(J,G){if(!J)return!1;if(J.type!=="DeclareFunction")return!1;return G==null||R.default(J,G)}function mK(J,G){if(!J)return!1;if(J.type!=="DeclareInterface")return!1;return G==null||R.default(J,G)}function cK(J,G){if(!J)return!1;if(J.type!=="DeclareModule")return!1;return G==null||R.default(J,G)}function lK(J,G){if(!J)return!1;if(J.type!=="DeclareModuleExports")return!1;return G==null||R.default(J,G)}function iK(J,G){if(!J)return!1;if(J.type!=="DeclareTypeAlias")return!1;return G==null||R.default(J,G)}function aK(J,G){if(!J)return!1;if(J.type!=="DeclareOpaqueType")return!1;return G==null||R.default(J,G)}function pK(J,G){if(!J)return!1;if(J.type!=="DeclareVariable")return!1;return G==null||R.default(J,G)}function rK(J,G){if(!J)return!1;if(J.type!=="DeclareExportDeclaration")return!1;return G==null||R.default(J,G)}function dK(J,G){if(!J)return!1;if(J.type!=="DeclareExportAllDeclaration")return!1;return G==null||R.default(J,G)}function sK(J,G){if(!J)return!1;if(J.type!=="DeclaredPredicate")return!1;return G==null||R.default(J,G)}function tK(J,G){if(!J)return!1;if(J.type!=="ExistsTypeAnnotation")return!1;return G==null||R.default(J,G)}function nK(J,G){if(!J)return!1;if(J.type!=="FunctionTypeAnnotation")return!1;return G==null||R.default(J,G)}function oK(J,G){if(!J)return!1;if(J.type!=="FunctionTypeParam")return!1;return G==null||R.default(J,G)}function eK(J,G){if(!J)return!1;if(J.type!=="GenericTypeAnnotation")return!1;return G==null||R.default(J,G)}function JU(J,G){if(!J)return!1;if(J.type!=="InferredPredicate")return!1;return G==null||R.default(J,G)}function GU(J,G){if(!J)return!1;if(J.type!=="InterfaceExtends")return!1;return G==null||R.default(J,G)}function XU(J,G){if(!J)return!1;if(J.type!=="InterfaceDeclaration")return!1;return G==null||R.default(J,G)}function HU(J,G){if(!J)return!1;if(J.type!=="InterfaceTypeAnnotation")return!1;return G==null||R.default(J,G)}function VU(J,G){if(!J)return!1;if(J.type!=="IntersectionTypeAnnotation")return!1;return G==null||R.default(J,G)}function ZU(J,G){if(!J)return!1;if(J.type!=="MixedTypeAnnotation")return!1;return G==null||R.default(J,G)}function QU(J,G){if(!J)return!1;if(J.type!=="EmptyTypeAnnotation")return!1;return G==null||R.default(J,G)}function YU(J,G){if(!J)return!1;if(J.type!=="NullableTypeAnnotation")return!1;return G==null||R.default(J,G)}function WU(J,G){if(!J)return!1;if(J.type!=="NumberLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function zU(J,G){if(!J)return!1;if(J.type!=="NumberTypeAnnotation")return!1;return G==null||R.default(J,G)}function KU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeAnnotation")return!1;return G==null||R.default(J,G)}function UU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeInternalSlot")return!1;return G==null||R.default(J,G)}function BU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeCallProperty")return!1;return G==null||R.default(J,G)}function RU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeIndexer")return!1;return G==null||R.default(J,G)}function $U(J,G){if(!J)return!1;if(J.type!=="ObjectTypeProperty")return!1;return G==null||R.default(J,G)}function MU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeSpreadProperty")return!1;return G==null||R.default(J,G)}function qU(J,G){if(!J)return!1;if(J.type!=="OpaqueType")return!1;return G==null||R.default(J,G)}function FU(J,G){if(!J)return!1;if(J.type!=="QualifiedTypeIdentifier")return!1;return G==null||R.default(J,G)}function jU(J,G){if(!J)return!1;if(J.type!=="StringLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function OU(J,G){if(!J)return!1;if(J.type!=="StringTypeAnnotation")return!1;return G==null||R.default(J,G)}function AU(J,G){if(!J)return!1;if(J.type!=="SymbolTypeAnnotation")return!1;return G==null||R.default(J,G)}function CU(J,G){if(!J)return!1;if(J.type!=="ThisTypeAnnotation")return!1;return G==null||R.default(J,G)}function DU(J,G){if(!J)return!1;if(J.type!=="TupleTypeAnnotation")return!1;return G==null||R.default(J,G)}function SU(J,G){if(!J)return!1;if(J.type!=="TypeofTypeAnnotation")return!1;return G==null||R.default(J,G)}function IU(J,G){if(!J)return!1;if(J.type!=="TypeAlias")return!1;return G==null||R.default(J,G)}function PU(J,G){if(!J)return!1;if(J.type!=="TypeAnnotation")return!1;return G==null||R.default(J,G)}function fU(J,G){if(!J)return!1;if(J.type!=="TypeCastExpression")return!1;return G==null||R.default(J,G)}function NU(J,G){if(!J)return!1;if(J.type!=="TypeParameter")return!1;return G==null||R.default(J,G)}function TU(J,G){if(!J)return!1;if(J.type!=="TypeParameterDeclaration")return!1;return G==null||R.default(J,G)}function wU(J,G){if(!J)return!1;if(J.type!=="TypeParameterInstantiation")return!1;return G==null||R.default(J,G)}function LU(J,G){if(!J)return!1;if(J.type!=="UnionTypeAnnotation")return!1;return G==null||R.default(J,G)}function kU(J,G){if(!J)return!1;if(J.type!=="Variance")return!1;return G==null||R.default(J,G)}function bU(J,G){if(!J)return!1;if(J.type!=="VoidTypeAnnotation")return!1;return G==null||R.default(J,G)}function EU(J,G){if(!J)return!1;if(J.type!=="EnumDeclaration")return!1;return G==null||R.default(J,G)}function vU(J,G){if(!J)return!1;if(J.type!=="EnumBooleanBody")return!1;return G==null||R.default(J,G)}function gU(J,G){if(!J)return!1;if(J.type!=="EnumNumberBody")return!1;return G==null||R.default(J,G)}function _U(J,G){if(!J)return!1;if(J.type!=="EnumStringBody")return!1;return G==null||R.default(J,G)}function uU(J,G){if(!J)return!1;if(J.type!=="EnumSymbolBody")return!1;return G==null||R.default(J,G)}function hU(J,G){if(!J)return!1;if(J.type!=="EnumBooleanMember")return!1;return G==null||R.default(J,G)}function yU(J,G){if(!J)return!1;if(J.type!=="EnumNumberMember")return!1;return G==null||R.default(J,G)}function xU(J,G){if(!J)return!1;if(J.type!=="EnumStringMember")return!1;return G==null||R.default(J,G)}function mU(J,G){if(!J)return!1;if(J.type!=="EnumDefaultedMember")return!1;return G==null||R.default(J,G)}function cU(J,G){if(!J)return!1;if(J.type!=="IndexedAccessType")return!1;return G==null||R.default(J,G)}function lU(J,G){if(!J)return!1;if(J.type!=="OptionalIndexedAccessType")return!1;return G==null||R.default(J,G)}function iU(J,G){if(!J)return!1;if(J.type!=="JSXAttribute")return!1;return G==null||R.default(J,G)}function aU(J,G){if(!J)return!1;if(J.type!=="JSXClosingElement")return!1;return G==null||R.default(J,G)}function pU(J,G){if(!J)return!1;if(J.type!=="JSXElement")return!1;return G==null||R.default(J,G)}function rU(J,G){if(!J)return!1;if(J.type!=="JSXEmptyExpression")return!1;return G==null||R.default(J,G)}function dU(J,G){if(!J)return!1;if(J.type!=="JSXExpressionContainer")return!1;return G==null||R.default(J,G)}function sU(J,G){if(!J)return!1;if(J.type!=="JSXSpreadChild")return!1;return G==null||R.default(J,G)}function tU(J,G){if(!J)return!1;if(J.type!=="JSXIdentifier")return!1;return G==null||R.default(J,G)}function nU(J,G){if(!J)return!1;if(J.type!=="JSXMemberExpression")return!1;return G==null||R.default(J,G)}function oU(J,G){if(!J)return!1;if(J.type!=="JSXNamespacedName")return!1;return G==null||R.default(J,G)}function eU(J,G){if(!J)return!1;if(J.type!=="JSXOpeningElement")return!1;return G==null||R.default(J,G)}function JB(J,G){if(!J)return!1;if(J.type!=="JSXSpreadAttribute")return!1;return G==null||R.default(J,G)}function GB(J,G){if(!J)return!1;if(J.type!=="JSXText")return!1;return G==null||R.default(J,G)}function XB(J,G){if(!J)return!1;if(J.type!=="JSXFragment")return!1;return G==null||R.default(J,G)}function HB(J,G){if(!J)return!1;if(J.type!=="JSXOpeningFragment")return!1;return G==null||R.default(J,G)}function VB(J,G){if(!J)return!1;if(J.type!=="JSXClosingFragment")return!1;return G==null||R.default(J,G)}function ZB(J,G){if(!J)return!1;if(J.type!=="Noop")return!1;return G==null||R.default(J,G)}function QB(J,G){if(!J)return!1;if(J.type!=="Placeholder")return!1;return G==null||R.default(J,G)}function YB(J,G){if(!J)return!1;if(J.type!=="V8IntrinsicIdentifier")return!1;return G==null||R.default(J,G)}function WB(J,G){if(!J)return!1;if(J.type!=="ArgumentPlaceholder")return!1;return G==null||R.default(J,G)}function zB(J,G){if(!J)return!1;if(J.type!=="BindExpression")return!1;return G==null||R.default(J,G)}function KB(J,G){if(!J)return!1;if(J.type!=="ImportAttribute")return!1;return G==null||R.default(J,G)}function UB(J,G){if(!J)return!1;if(J.type!=="Decorator")return!1;return G==null||R.default(J,G)}function BB(J,G){if(!J)return!1;if(J.type!=="DoExpression")return!1;return G==null||R.default(J,G)}function RB(J,G){if(!J)return!1;if(J.type!=="ExportDefaultSpecifier")return!1;return G==null||R.default(J,G)}function $B(J,G){if(!J)return!1;if(J.type!=="RecordExpression")return!1;return G==null||R.default(J,G)}function MB(J,G){if(!J)return!1;if(J.type!=="TupleExpression")return!1;return G==null||R.default(J,G)}function qB(J,G){if(!J)return!1;if(J.type!=="DecimalLiteral")return!1;return G==null||R.default(J,G)}function FB(J,G){if(!J)return!1;if(J.type!=="ModuleExpression")return!1;return G==null||R.default(J,G)}function jB(J,G){if(!J)return!1;if(J.type!=="TopicReference")return!1;return G==null||R.default(J,G)}function OB(J,G){if(!J)return!1;if(J.type!=="PipelineTopicExpression")return!1;return G==null||R.default(J,G)}function AB(J,G){if(!J)return!1;if(J.type!=="PipelineBareFunction")return!1;return G==null||R.default(J,G)}function CB(J,G){if(!J)return!1;if(J.type!=="PipelinePrimaryTopicReference")return!1;return G==null||R.default(J,G)}function DB(J,G){if(!J)return!1;if(J.type!=="TSParameterProperty")return!1;return G==null||R.default(J,G)}function SB(J,G){if(!J)return!1;if(J.type!=="TSDeclareFunction")return!1;return G==null||R.default(J,G)}function IB(J,G){if(!J)return!1;if(J.type!=="TSDeclareMethod")return!1;return G==null||R.default(J,G)}function PB(J,G){if(!J)return!1;if(J.type!=="TSQualifiedName")return!1;return G==null||R.default(J,G)}function fB(J,G){if(!J)return!1;if(J.type!=="TSCallSignatureDeclaration")return!1;return G==null||R.default(J,G)}function NB(J,G){if(!J)return!1;if(J.type!=="TSConstructSignatureDeclaration")return!1;return G==null||R.default(J,G)}function TB(J,G){if(!J)return!1;if(J.type!=="TSPropertySignature")return!1;return G==null||R.default(J,G)}function wB(J,G){if(!J)return!1;if(J.type!=="TSMethodSignature")return!1;return G==null||R.default(J,G)}function LB(J,G){if(!J)return!1;if(J.type!=="TSIndexSignature")return!1;return G==null||R.default(J,G)}function kB(J,G){if(!J)return!1;if(J.type!=="TSAnyKeyword")return!1;return G==null||R.default(J,G)}function bB(J,G){if(!J)return!1;if(J.type!=="TSBooleanKeyword")return!1;return G==null||R.default(J,G)}function EB(J,G){if(!J)return!1;if(J.type!=="TSBigIntKeyword")return!1;return G==null||R.default(J,G)}function vB(J,G){if(!J)return!1;if(J.type!=="TSIntrinsicKeyword")return!1;return G==null||R.default(J,G)}function gB(J,G){if(!J)return!1;if(J.type!=="TSNeverKeyword")return!1;return G==null||R.default(J,G)}function _B(J,G){if(!J)return!1;if(J.type!=="TSNullKeyword")return!1;return G==null||R.default(J,G)}function uB(J,G){if(!J)return!1;if(J.type!=="TSNumberKeyword")return!1;return G==null||R.default(J,G)}function hB(J,G){if(!J)return!1;if(J.type!=="TSObjectKeyword")return!1;return G==null||R.default(J,G)}function yB(J,G){if(!J)return!1;if(J.type!=="TSStringKeyword")return!1;return G==null||R.default(J,G)}function xB(J,G){if(!J)return!1;if(J.type!=="TSSymbolKeyword")return!1;return G==null||R.default(J,G)}function mB(J,G){if(!J)return!1;if(J.type!=="TSUndefinedKeyword")return!1;return G==null||R.default(J,G)}function cB(J,G){if(!J)return!1;if(J.type!=="TSUnknownKeyword")return!1;return G==null||R.default(J,G)}function lB(J,G){if(!J)return!1;if(J.type!=="TSVoidKeyword")return!1;return G==null||R.default(J,G)}function iB(J,G){if(!J)return!1;if(J.type!=="TSThisType")return!1;return G==null||R.default(J,G)}function aB(J,G){if(!J)return!1;if(J.type!=="TSFunctionType")return!1;return G==null||R.default(J,G)}function pB(J,G){if(!J)return!1;if(J.type!=="TSConstructorType")return!1;return G==null||R.default(J,G)}function rB(J,G){if(!J)return!1;if(J.type!=="TSTypeReference")return!1;return G==null||R.default(J,G)}function dB(J,G){if(!J)return!1;if(J.type!=="TSTypePredicate")return!1;return G==null||R.default(J,G)}function sB(J,G){if(!J)return!1;if(J.type!=="TSTypeQuery")return!1;return G==null||R.default(J,G)}function tB(J,G){if(!J)return!1;if(J.type!=="TSTypeLiteral")return!1;return G==null||R.default(J,G)}function nB(J,G){if(!J)return!1;if(J.type!=="TSArrayType")return!1;return G==null||R.default(J,G)}function oB(J,G){if(!J)return!1;if(J.type!=="TSTupleType")return!1;return G==null||R.default(J,G)}function eB(J,G){if(!J)return!1;if(J.type!=="TSOptionalType")return!1;return G==null||R.default(J,G)}function JR(J,G){if(!J)return!1;if(J.type!=="TSRestType")return!1;return G==null||R.default(J,G)}function GR(J,G){if(!J)return!1;if(J.type!=="TSNamedTupleMember")return!1;return G==null||R.default(J,G)}function XR(J,G){if(!J)return!1;if(J.type!=="TSUnionType")return!1;return G==null||R.default(J,G)}function HR(J,G){if(!J)return!1;if(J.type!=="TSIntersectionType")return!1;return G==null||R.default(J,G)}function VR(J,G){if(!J)return!1;if(J.type!=="TSConditionalType")return!1;return G==null||R.default(J,G)}function ZR(J,G){if(!J)return!1;if(J.type!=="TSInferType")return!1;return G==null||R.default(J,G)}function QR(J,G){if(!J)return!1;if(J.type!=="TSParenthesizedType")return!1;return G==null||R.default(J,G)}function YR(J,G){if(!J)return!1;if(J.type!=="TSTypeOperator")return!1;return G==null||R.default(J,G)}function WR(J,G){if(!J)return!1;if(J.type!=="TSIndexedAccessType")return!1;return G==null||R.default(J,G)}function zR(J,G){if(!J)return!1;if(J.type!=="TSMappedType")return!1;return G==null||R.default(J,G)}function KR(J,G){if(!J)return!1;if(J.type!=="TSLiteralType")return!1;return G==null||R.default(J,G)}function UR(J,G){if(!J)return!1;if(J.type!=="TSExpressionWithTypeArguments")return!1;return G==null||R.default(J,G)}function BR(J,G){if(!J)return!1;if(J.type!=="TSInterfaceDeclaration")return!1;return G==null||R.default(J,G)}function RR(J,G){if(!J)return!1;if(J.type!=="TSInterfaceBody")return!1;return G==null||R.default(J,G)}function $R(J,G){if(!J)return!1;if(J.type!=="TSTypeAliasDeclaration")return!1;return G==null||R.default(J,G)}function MR(J,G){if(!J)return!1;if(J.type!=="TSInstantiationExpression")return!1;return G==null||R.default(J,G)}function qR(J,G){if(!J)return!1;if(J.type!=="TSAsExpression")return!1;return G==null||R.default(J,G)}function FR(J,G){if(!J)return!1;if(J.type!=="TSSatisfiesExpression")return!1;return G==null||R.default(J,G)}function jR(J,G){if(!J)return!1;if(J.type!=="TSTypeAssertion")return!1;return G==null||R.default(J,G)}function OR(J,G){if(!J)return!1;if(J.type!=="TSEnumDeclaration")return!1;return G==null||R.default(J,G)}function AR(J,G){if(!J)return!1;if(J.type!=="TSEnumMember")return!1;return G==null||R.default(J,G)}function CR(J,G){if(!J)return!1;if(J.type!=="TSModuleDeclaration")return!1;return G==null||R.default(J,G)}function DR(J,G){if(!J)return!1;if(J.type!=="TSModuleBlock")return!1;return G==null||R.default(J,G)}function SR(J,G){if(!J)return!1;if(J.type!=="TSImportType")return!1;return G==null||R.default(J,G)}function IR(J,G){if(!J)return!1;if(J.type!=="TSImportEqualsDeclaration")return!1;return G==null||R.default(J,G)}function PR(J,G){if(!J)return!1;if(J.type!=="TSExternalModuleReference")return!1;return G==null||R.default(J,G)}function fR(J,G){if(!J)return!1;if(J.type!=="TSNonNullExpression")return!1;return G==null||R.default(J,G)}function NR(J,G){if(!J)return!1;if(J.type!=="TSExportAssignment")return!1;return G==null||R.default(J,G)}function TR(J,G){if(!J)return!1;if(J.type!=="TSNamespaceExportDeclaration")return!1;return G==null||R.default(J,G)}function wR(J,G){if(!J)return!1;if(J.type!=="TSTypeAnnotation")return!1;return G==null||R.default(J,G)}function LR(J,G){if(!J)return!1;if(J.type!=="TSTypeParameterInstantiation")return!1;return G==null||R.default(J,G)}function kR(J,G){if(!J)return!1;if(J.type!=="TSTypeParameterDeclaration")return!1;return G==null||R.default(J,G)}function bR(J,G){if(!J)return!1;if(J.type!=="TSTypeParameter")return!1;return G==null||R.default(J,G)}function ER(J,G){if(!J)return!1;switch(J.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(J.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return G==null||R.default(J,G)}function vR(J,G){if(!J)return!1;switch(J.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(J.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return G==null||R.default(J,G)}function gR(J,G){if(!J)return!1;switch(J.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return G==null||R.default(J,G)}function _R(J,G){if(!J)return!1;switch(J.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(J.expectedNode==="BlockStatement")break;default:return!1}return G==null||R.default(J,G)}function uR(J,G){if(!J)return!1;switch(J.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(J.expectedNode==="BlockStatement")break;default:return!1}return G==null||R.default(J,G)}function hR(J,G){if(!J)return!1;switch(J.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(J.expectedNode==="BlockStatement")break;default:return!1}return G==null||R.default(J,G)}function yR(J,G){if(!J)return!1;switch(J.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(J.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return G==null||R.default(J,G)}function xR(J,G){if(!J)return!1;switch(J.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return G==null||R.default(J,G)}function mR(J,G){if(!J)return!1;switch(J.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return G==null||R.default(J,G)}function cR(J,G){if(!J)return!1;switch(J.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return G==null||R.default(J,G)}function lR(J,G){if(!J)return!1;switch(J.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return G==null||R.default(J,G)}function iR(J,G){if(!J)return!1;switch(J.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return G==null||R.default(J,G)}function aR(J,G){if(!J)return!1;switch(J.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return G==null||R.default(J,G)}function pR(J,G){if(!J)return!1;switch(J.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return G==null||R.default(J,G)}function rR(J,G){if(!J)return!1;switch(J.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return G==null||R.default(J,G)}function dR(J,G){if(!J)return!1;switch(J.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return G==null||R.default(J,G)}function sR(J,G){if(!J)return!1;switch(J.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return G==null||R.default(J,G)}function tR(J,G){if(!J)return!1;switch(J.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(J.expectedNode==="StringLiteral")break;default:return!1}return G==null||R.default(J,G)}function nR(J,G){if(!J)return!1;switch(J.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if(J.expectedNode==="Declaration")break;default:return!1}return G==null||R.default(J,G)}function oR(J,G){if(!J)return!1;switch(J.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(J.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return G==null||R.default(J,G)}function eR(J,G){if(!J)return!1;switch(J.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(J.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return G==null||R.default(J,G)}function J$(J,G){if(!J)return!1;switch(J.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(J.expectedNode==="Identifier")break;default:return!1}return G==null||R.default(J,G)}function G$(J,G){if(!J)return!1;switch(J.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(J.expectedNode==="StringLiteral")break;default:return!1}return G==null||R.default(J,G)}function X$(J,G){if(!J)return!1;switch(J.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(J.expectedNode==="StringLiteral")break;default:return!1}return G==null||R.default(J,G)}function H$(J,G){if(!J)return!1;switch(J.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return G==null||R.default(J,G)}function V$(J,G){if(!J)return!1;switch(J.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return G==null||R.default(J,G)}function Z$(J,G){if(!J)return!1;switch(J.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return G==null||R.default(J,G)}function Q$(J,G){if(!J)return!1;switch(J.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return G==null||R.default(J,G)}function Y$(J,G){if(!J)return!1;switch(J.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return G==null||R.default(J,G)}function W$(J,G){if(!J)return!1;switch(J.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(J.expectedNode==="Pattern")break;default:return!1}return G==null||R.default(J,G)}function z$(J,G){if(!J)return!1;switch(J.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return G==null||R.default(J,G)}function wG(J,G){if(!J)return!1;switch(J.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return G==null||R.default(J,G)}function K$(J,G){if(!J)return!1;switch(J.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return G==null||R.default(J,G)}function U$(J,G){if(!J)return!1;switch(J.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return G==null||R.default(J,G)}function B$(J,G){if(!J)return!1;switch(J.type){case"ClassAccessorProperty":break;default:return!1}return G==null||R.default(J,G)}function R$(J,G){if(!J)return!1;switch(J.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return G==null||R.default(J,G)}function $$(J,G){if(!J)return!1;switch(J.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return G==null||R.default(J,G)}function M$(J,G){if(!J)return!1;switch(J.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return G==null||R.default(J,G)}function q$(J,G){if(!J)return!1;switch(J.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return G==null||R.default(J,G)}function F$(J,G){if(!J)return!1;switch(J.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return G==null||R.default(J,G)}function j$(J,G){if(!J)return!1;switch(J.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return G==null||R.default(J,G)}function O$(J,G){if(!J)return!1;switch(J.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return G==null||R.default(J,G)}function A$(J,G){if(!J)return!1;switch(J.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return G==null||R.default(J,G)}function C$(J,G){if(!J)return!1;switch(J.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return G==null||R.default(J,G)}function D$(J,G){if(!J)return!1;switch(J.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return G==null||R.default(J,G)}function S$(J,G){if(!J)return!1;switch(J.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return G==null||R.default(J,G)}function I$(J,G){if(!J)return!1;switch(J.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return G==null||R.default(J,G)}function P$(J,G){if(!J)return!1;switch(J.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return G==null||R.default(J,G)}function f$(J,G){if(!J)return!1;switch(J.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return!1}return G==null||R.default(J,G)}function N$(J,G){if(l0.default("isNumberLiteral","isNumericLiteral"),!J)return!1;if(J.type!=="NumberLiteral")return!1;return G==null||R.default(J,G)}function T$(J,G){if(l0.default("isRegexLiteral","isRegExpLiteral"),!J)return!1;if(J.type!=="RegexLiteral")return!1;return G==null||R.default(J,G)}function w$(J,G){if(l0.default("isRestProperty","isRestElement"),!J)return!1;if(J.type!=="RestProperty")return!1;return G==null||R.default(J,G)}function L$(J,G){if(l0.default("isSpreadProperty","isSpreadElement"),!J)return!1;if(J.type!=="SpreadProperty")return!1;return G==null||R.default(J,G)}function k$(J,G){return l0.default("isModuleDeclaration","isImportOrExportDeclaration"),wG(J,G)}});var H4=C((kG)=>{Object.defineProperty(kG,"__esModule",{value:!0});kG.default=BA;var i0=w1();function BA(J,G,X){if(!i0.isMemberExpression(J))return!1;let H=Array.isArray(G)?G:G.split("."),V=[],Z;for(Z=J;i0.isMemberExpression(Z);Z=Z.object)V.push(Z.property);if(V.push(Z),V.length<H.length)return!1;if(!X&&V.length>H.length)return!1;for(let Q=0,Y=V.length-1;Q<H.length;Q++,Y--){let W=V[Y],z;if(i0.isIdentifier(W))z=W.name;else if(i0.isStringLiteral(W))z=W.value;else if(i0.isThisExpression(W))z="this";else return!1;if(H[Q]!==z)return!1}return!0}});var V4=C((bG)=>{Object.defineProperty(bG,"__esModule",{value:!0});bG.default=MA;var $A=H4();function MA(J,G){let X=J.split(".");return(H)=>$A.default(H,X,G)}});var gG=C((EG)=>{Object.defineProperty(EG,"__esModule",{value:!0});EG.default=void 0;var FA=V4(),jA=FA.default("React.Component"),OU1=EG.default=jA});var uG=C((_G)=>{Object.defineProperty(_G,"__esModule",{value:!0});_G.default=OA;function OA(J){return!!J&&/^[a-z]/.test(J)}});var g5=C((yG)=>{Object.defineProperty(yG,"__esModule",{value:!0});yG.default=CA;var hG=G2();function CA(J,G){if(J===G)return!0;if(J==null)return!1;if(hG.ALIAS_KEYS[G])return!1;let X=hG.FLIPPED_ALIAS_KEYS[G];if(X){if(X[0]===J)return!0;for(let H of X)if(J===H)return!0}return!1}});var Z4=C((xG)=>{Object.defineProperty(xG,"__esModule",{value:!0});xG.default=IA;var SA=G2();function IA(J,G){if(J===G)return!0;let X=SA.PLACEHOLDERS_ALIAS[J];if(X){for(let H of X)if(G===H)return!0}return!1}});var M0=C((mG)=>{Object.defineProperty(mG,"__esModule",{value:!0});mG.default=LA;var fA=v5(),NA=g5(),TA=Z4(),wA=G2();function LA(J,G,X){if(!G)return!1;if(!NA.default(G.type,J)){if(!X&&G.type==="Placeholder"&&J in wA.FLIPPED_ALIAS_KEYS)return TA.default(G.expectedNode,J);return!1}if(X===void 0)return!0;else return fA.default(G,X)}});var rG=C((pG)=>{Object.defineProperty(pG,"__esModule",{value:!0});pG.isIdentifierChar=aG;pG.isIdentifierName=gA;pG.isIdentifierStart=iG;var Y4="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",cG="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",bA=new RegExp("["+Y4+"]"),EA=new RegExp("["+Y4+cG+"]");Y4=cG=null;var lG=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],vA=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function Q4(J,G){let X=65536;for(let H=0,V=G.length;H<V;H+=2){if(X+=G[H],X>J)return!1;if(X+=G[H+1],X>=J)return!0}return!1}function iG(J){if(J<65)return J===36;if(J<=90)return!0;if(J<97)return J===95;if(J<=122)return!0;if(J<=65535)return J>=170&&bA.test(String.fromCharCode(J));return Q4(J,lG)}function aG(J){if(J<48)return J===36;if(J<58)return!0;if(J<65)return!1;if(J<=90)return!0;if(J<97)return J===95;if(J<=122)return!0;if(J<=65535)return J>=170&&EA.test(String.fromCharCode(J));return Q4(J,lG)||Q4(J,vA)}function gA(J){let G=!0;for(let X=0;X<J.length;X++){let H=J.charCodeAt(X);if((H&64512)===55296&&X+1<J.length){let V=J.charCodeAt(++X);if((V&64512)===56320)H=65536+((H&1023)<<10)+(V&1023)}if(G){if(G=!1,!iG(H))return!1}else if(!aG(H))return!1}return!G}});var oG=C((nG)=>{Object.defineProperty(nG,"__esModule",{value:!0});nG.isKeyword=lA;nG.isReservedWord=dG;nG.isStrictBindOnlyReservedWord=tG;nG.isStrictBindReservedWord=cA;nG.isStrictReservedWord=sG;var W4={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},yA=new Set(W4.keyword),xA=new Set(W4.strict),mA=new Set(W4.strictBind);function dG(J,G){return G&&J==="await"||J==="enum"}function sG(J,G){return dG(J,G)||xA.has(J)}function tG(J){return mA.has(J)}function cA(J,G){return sG(J,G)||tG(J)}function lA(J){return yA.has(J)}});var p0=C((q2)=>{Object.defineProperty(q2,"__esModule",{value:!0});Object.defineProperty(q2,"isIdentifierChar",{enumerable:!0,get:function(){return z4.isIdentifierChar}});Object.defineProperty(q2,"isIdentifierName",{enumerable:!0,get:function(){return z4.isIdentifierName}});Object.defineProperty(q2,"isIdentifierStart",{enumerable:!0,get:function(){return z4.isIdentifierStart}});Object.defineProperty(q2,"isKeyword",{enumerable:!0,get:function(){return a0.isKeyword}});Object.defineProperty(q2,"isReservedWord",{enumerable:!0,get:function(){return a0.isReservedWord}});Object.defineProperty(q2,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return a0.isStrictBindOnlyReservedWord}});Object.defineProperty(q2,"isStrictBindReservedWord",{enumerable:!0,get:function(){return a0.isStrictBindReservedWord}});Object.defineProperty(q2,"isStrictReservedWord",{enumerable:!0,get:function(){return a0.isStrictReservedWord}});var z4=rG(),a0=oG()});var q0=C((eG)=>{Object.defineProperty(eG,"__esModule",{value:!0});eG.default=sA;var K4=p0();function sA(J,G=!0){if(typeof J!=="string")return!1;if(G){if(K4.isKeyword(J)||K4.isStrictReservedWord(J,!0))return!1}return K4.isIdentifierName(J)}});var VX=C((HX)=>{Object.defineProperty(HX,"__esModule",{value:!0});HX.readCodePoint=XX;HX.readInt=GX;HX.readStringContents=oA;var nA=function J(G){return G>=48&&G<=57},JX={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},_5={bin:(J)=>J===48||J===49,oct:(J)=>J>=48&&J<=55,dec:(J)=>J>=48&&J<=57,hex:(J)=>J>=48&&J<=57||J>=65&&J<=70||J>=97&&J<=102};function oA(J,G,X,H,V,Z){let Q=X,Y=H,W=V,z="",U=null,F=X,{length:A}=G;for(;;){if(X>=A){Z.unterminated(Q,Y,W),z+=G.slice(F,X);break}let D=G.charCodeAt(X);if(eA(J,D,G,X)){z+=G.slice(F,X);break}if(D===92){z+=G.slice(F,X);let I=JC(G,X,H,V,J==="template",Z);if(I.ch===null&&!U)U={pos:X,lineStart:H,curLine:V};else z+=I.ch;({pos:X,lineStart:H,curLine:V}=I),F=X}else if(D===8232||D===8233)++X,++V,H=X;else if(D===10||D===13)if(J==="template"){if(z+=G.slice(F,X)+"\n",++X,D===13&&G.charCodeAt(X)===10)++X;++V,F=H=X}else Z.unterminated(Q,Y,W);else++X}return{pos:X,str:z,firstInvalidLoc:U,lineStart:H,curLine:V,containsInvalid:!!U}}function eA(J,G,X,H){if(J==="template")return G===96||G===36&&X.charCodeAt(H+1)===123;return G===(J==="double"?34:39)}function JC(J,G,X,H,V,Z){let Q=!V;G++;let Y=(z)=>({pos:G,ch:z,lineStart:X,curLine:H}),W=J.charCodeAt(G++);switch(W){case 110:return Y("\n");case 114:return Y("\r");case 120:{let z;return{code:z,pos:G}=U4(J,G,X,H,2,!1,Q,Z),Y(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:G}=XX(J,G,X,H,Q,Z),Y(z===null?null:String.fromCodePoint(z))}case 116:return Y("\t");case 98:return Y("\b");case 118:return Y("\v");case 102:return Y("\f");case 13:if(J.charCodeAt(G)===10)++G;case 10:X=G,++H;case 8232:case 8233:return Y("");case 56:case 57:if(V)return Y(null);else Z.strictNumericEscape(G-1,X,H);default:if(W>=48&&W<=55){let z=G-1,F=/^[0-7]+/.exec(J.slice(z,G+2))[0],A=parseInt(F,8);if(A>255)F=F.slice(0,-1),A=parseInt(F,8);G+=F.length-1;let D=J.charCodeAt(G);if(F!=="0"||D===56||D===57)if(V)return Y(null);else Z.strictNumericEscape(z,X,H);return Y(String.fromCharCode(A))}return Y(String.fromCharCode(W))}}function U4(J,G,X,H,V,Z,Q,Y){let W=G,z;if({n:z,pos:G}=GX(J,G,X,H,16,V,Z,!1,Y,!Q),z===null)if(Q)Y.invalidEscapeSequence(W,X,H);else G=W-1;return{code:z,pos:G}}function GX(J,G,X,H,V,Z,Q,Y,W,z){let U=G,F=V===16?JX.hex:JX.decBinOct,A=V===16?_5.hex:V===10?_5.dec:V===8?_5.oct:_5.bin,D=!1,I=0;for(let _=0,f=Z==null?1/0:Z;_<f;++_){let w=J.charCodeAt(G),k;if(w===95&&Y!=="bail"){let Q1=J.charCodeAt(G-1),d=J.charCodeAt(G+1);if(!Y){if(z)return{n:null,pos:G};W.numericSeparatorInEscapeSequence(G,X,H)}else if(Number.isNaN(d)||!A(d)||F.has(Q1)||F.has(d)){if(z)return{n:null,pos:G};W.unexpectedNumericSeparator(G,X,H)}++G;continue}if(w>=97)k=w-97+10;else if(w>=65)k=w-65+10;else if(nA(w))k=w-48;else k=1/0;if(k>=V)if(k<=9&&z)return{n:null,pos:G};else if(k<=9&&W.invalidDigit(G,X,H,V))k=0;else if(Q)k=0,D=!0;else break;++G,I=I*V+k}if(G===U||Z!=null&&G-U!==Z||D)return{n:null,pos:G};return{n:I,pos:G}}function XX(J,G,X,H,V,Z){let Q=J.charCodeAt(G),Y;if(Q===123){if(++G,{code:Y,pos:G}=U4(J,G,X,H,J.indexOf("}",G)-G,!0,V,Z),++G,Y!==null&&Y>1114111)if(V)Z.invalidCodePoint(G,X,H);else return{code:null,pos:G}}else({code:Y,pos:G}=U4(J,G,X,H,4,!1,V,Z));return{code:Y,pos:G}}});var u2=C((QX)=>{Object.defineProperty(QX,"__esModule",{value:!0});QX.UPDATE_OPERATORS=QX.UNARY_OPERATORS=QX.STRING_UNARY_OPERATORS=QX.STATEMENT_OR_BLOCK_KEYS=QX.NUMBER_UNARY_OPERATORS=QX.NUMBER_BINARY_OPERATORS=QX.NOT_LOCAL_BINDING=QX.LOGICAL_OPERATORS=QX.INHERIT_KEYS=QX.FOR_INIT_KEYS=QX.FLATTENABLE_KEYS=QX.EQUALITY_BINARY_OPERATORS=QX.COMPARISON_BINARY_OPERATORS=QX.COMMENT_KEYS=QX.BOOLEAN_UNARY_OPERATORS=QX.BOOLEAN_NUMBER_BINARY_OPERATORS=QX.BOOLEAN_BINARY_OPERATORS=QX.BLOCK_SCOPED_SYMBOL=QX.BINARY_OPERATORS=QX.ASSIGNMENT_OPERATORS=void 0;var LU1=QX.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],kU1=QX.FLATTENABLE_KEYS=["body","expressions"],bU1=QX.FOR_INIT_KEYS=["left","init"],EU1=QX.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],VC=QX.LOGICAL_OPERATORS=["||","&&","??"],vU1=QX.UPDATE_OPERATORS=["++","--"],ZC=QX.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],QC=QX.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],YC=QX.COMPARISON_BINARY_OPERATORS=[...QC,"in","instanceof"],WC=QX.BOOLEAN_BINARY_OPERATORS=[...YC,...ZC],ZX=QX.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],gU1=QX.BINARY_OPERATORS=["+",...ZX,...WC,"|>"],_U1=QX.ASSIGNMENT_OPERATORS=["=","+=",...ZX.map((J)=>J+"="),...VC.map((J)=>J+"=")],zC=QX.BOOLEAN_UNARY_OPERATORS=["delete","!"],KC=QX.NUMBER_UNARY_OPERATORS=["+","-","~"],UC=QX.STRING_UNARY_OPERATORS=["typeof"],uU1=QX.UNARY_OPERATORS=["void","throw",...zC,...KC,...UC],hU1=QX.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},yU1=QX.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),xU1=QX.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var F2=C(($X)=>{Object.defineProperty($X,"__esModule",{value:!0});$X.VISITOR_KEYS=$X.NODE_PARENT_VALIDATIONS=$X.NODE_FIELDS=$X.FLIPPED_ALIAS_KEYS=$X.DEPRECATED_KEYS=$X.BUILDER_KEYS=$X.ALIAS_KEYS=void 0;$X.arrayOf=zX;$X.arrayOfType=KX;$X.assertEach=UX;$X.assertNodeOrValueType=cC;$X.assertNodeType=y5;$X.assertOneOf=mC;$X.assertOptionalChainStart=iC;$X.assertShape=lC;$X.assertValueType=M4;$X.chain=BX;$X.default=RX;$X.defineAliasedType=rC;$X.validate=$4;$X.validateArrayOfType=xC;$X.validateOptional=hC;$X.validateOptionalType=yC;$X.validateType=uC;var WX=M0(),h5=x5(),kC=$X.VISITOR_KEYS={},bC=$X.ALIAS_KEYS={},B4=$X.FLIPPED_ALIAS_KEYS={},EC=$X.NODE_FIELDS={},vC=$X.BUILDER_KEYS={},gC=$X.DEPRECATED_KEYS={},_C=$X.NODE_PARENT_VALIDATIONS={};function u5(J){if(Array.isArray(J))return"array";else if(J===null)return"null";else return typeof J}function $4(J){return{validate:J}}function uC(...J){return $4(y5(...J))}function hC(J){return{validate:J,optional:!0}}function yC(...J){return{validate:y5(...J),optional:!0}}function zX(J){return BX(M4("array"),UX(J))}function KX(...J){return zX(y5(...J))}function xC(...J){return $4(KX(...J))}function UX(J){let G=process.env.BABEL_TYPES_8_BREAKING?h5.validateChild:()=>{};function X(H,V,Z){if(!Array.isArray(Z))return;for(let Q=0;Q<Z.length;Q++){let Y=`${V}[${Q}]`,W=Z[Q];J(H,Y,W),G(H,Y,W)}}return X.each=J,X}function mC(...J){function G(X,H,V){if(!J.includes(V))throw new TypeError(`Property ${H} expected value to be one of ${JSON.stringify(J)} but got ${JSON.stringify(V)}`)}return G.oneOf=J,G}function y5(...J){function G(X,H,V){for(let Z of J)if(WX.default(Z,V)){h5.validateChild(X,H,V);return}throw new TypeError(`Property ${H} of ${X.type} expected node to be of a type ${JSON.stringify(J)} but instead got ${JSON.stringify(V==null?void 0:V.type)}`)}return G.oneOfNodeTypes=J,G}function cC(...J){function G(X,H,V){for(let Z of J)if(u5(V)===Z||WX.default(Z,V)){h5.validateChild(X,H,V);return}throw new TypeError(`Property ${H} of ${X.type} expected node to be of a type ${JSON.stringify(J)} but instead got ${JSON.stringify(V==null?void 0:V.type)}`)}return G.oneOfNodeOrValueTypes=J,G}function M4(J){function G(X,H,V){if(u5(V)!==J)throw new TypeError(`Property ${H} expected type of ${J} but got ${u5(V)}`)}return G.type=J,G}function lC(J){function G(X,H,V){let Z=[];for(let Q of Object.keys(J))try{h5.validateField(X,Q,V[Q],J[Q])}catch(Y){if(Y instanceof TypeError){Z.push(Y.message);continue}throw Y}if(Z.length)throw new TypeError(`Property ${H} of ${X.type} expected to have the following:\n${Z.join("\n")}`)}return G.shapeOf=J,G}function iC(){function J(G){var X;let H=G;while(G){let{type:V}=H;if(V==="OptionalCallExpression"){if(H.optional)return;H=H.callee;continue}if(V==="OptionalMemberExpression"){if(H.optional)return;H=H.object;continue}break}throw new TypeError(`Non-optional ${G.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(X=H)==null?void 0:X.type}`)}return J}function BX(...J){function G(...X){for(let H of J)H(...X)}if(G.chainOf=J,J.length>=2&&"type"in J[0]&&J[0].type==="array"&&!("each"in J[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return G}var aC=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),pC=new Set(["default","optional","deprecated","validate"]),R4={};function rC(...J){return(G,X={})=>{let H=X.aliases;if(!H){var V,Z;if(X.inherits)H=(V=R4[X.inherits].aliases)==null?void 0:V.slice();(Z=H)!=null||(H=[]),X.aliases=H}let Q=J.filter((Y)=>!H.includes(Y));H.unshift(...Q),RX(G,X)}}function RX(J,G={}){let X=G.inherits&&R4[G.inherits]||{},H=G.fields;if(!H){if(H={},X.fields){let Y=Object.getOwnPropertyNames(X.fields);for(let W of Y){let z=X.fields[W],U=z.default;if(Array.isArray(U)?U.length>0:U&&typeof U==="object")throw new Error("field defaults can only be primitives or empty arrays currently");H[W]={default:Array.isArray(U)?[]:U,optional:z.optional,deprecated:z.deprecated,validate:z.validate}}}}let V=G.visitor||X.visitor||[],Z=G.aliases||X.aliases||[],Q=G.builder||X.builder||G.visitor||[];for(let Y of Object.keys(G))if(!aC.has(Y))throw new Error(`Unknown type option "${Y}" on ${J}`);if(G.deprecatedAlias)gC[G.deprecatedAlias]=J;for(let Y of V.concat(Q))H[Y]=H[Y]||{};for(let Y of Object.keys(H)){let W=H[Y];if(W.default!==void 0&&!Q.includes(Y))W.optional=!0;if(W.default===void 0)W.default=null;else if(!W.validate&&W.default!=null)W.validate=M4(u5(W.default));for(let z of Object.keys(W))if(!pC.has(z))throw new Error(`Unknown field key "${z}" on ${J}.${Y}`)}if(kC[J]=G.visitor=V,vC[J]=G.builder=Q,EC[J]=G.fields=H,bC[J]=G.aliases=Z,Z.forEach((Y)=>{B4[Y]=B4[Y]||[],B4[Y].push(J)}),G.validate)_C[J]=G.validate;R4[J]=G}});var c5=C((jX)=>{Object.defineProperty(jX,"__esModule",{value:!0});jX.patternLikeCommon=jX.functionTypeAnnotationCommon=jX.functionDeclarationCommon=jX.functionCommon=jX.classMethodOrPropertyCommon=jX.classMethodOrDeclareMethodCommon=void 0;var x1=M0(),FD=q0(),qX=p0(),jD=VX(),r0=u2(),$=F2(),E=$.defineAliasedType("Standardized");E("ArrayExpression",{fields:{elements:{validate:$.arrayOf($.assertNodeOrValueType("null","Expression","SpreadElement")),default:!process.env.BABEL_TYPES_8_BREAKING?[]:void 0}},visitor:["elements"],aliases:["Expression"]});E("AssignmentExpression",{fields:{operator:{validate:!process.env.BABEL_TYPES_8_BREAKING?$.assertValueType("string"):Object.assign(function(){let J=$.assertOneOf(...r0.ASSIGNMENT_OPERATORS),G=$.assertOneOf("=");return function(X,H,V){(x1.default("Pattern",X.left)?G:J)(X,H,V)}}(),{type:"string"})},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?$.assertNodeType("LVal","OptionalMemberExpression"):$.assertNodeType("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:$.assertNodeType("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});E("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:$.assertOneOf(...r0.BINARY_OPERATORS)},left:{validate:function(){let J=$.assertNodeType("Expression"),G=$.assertNodeType("Expression","PrivateName");return Object.assign(function(H,V,Z){(H.operator==="in"?G:J)(H,V,Z)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:$.assertNodeType("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});E("InterpreterDirective",{builder:["value"],fields:{value:{validate:$.assertValueType("string")}}});E("Directive",{visitor:["value"],fields:{value:{validate:$.assertNodeType("DirectiveLiteral")}}});E("DirectiveLiteral",{builder:["value"],fields:{value:{validate:$.assertValueType("string")}}});E("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:$.arrayOfType("Directive"),default:[]},body:$.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]});E("BreakStatement",{visitor:["label"],fields:{label:{validate:$.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});E("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:$.assertNodeType("Expression","Super","V8IntrinsicIdentifier")},arguments:$.validateArrayOfType("Expression","SpreadElement","ArgumentPlaceholder")},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:$.assertValueType("boolean"),optional:!0}}:{},{typeArguments:{validate:$.assertNodeType("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:$.assertNodeType("TSTypeParameterInstantiation"),optional:!0}})});E("CatchClause",{visitor:["param","body"],fields:{param:{validate:$.assertNodeType("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:$.assertNodeType("BlockStatement")}},aliases:["Scopable","BlockParent"]});E("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:$.assertNodeType("Expression")},consequent:{validate:$.assertNodeType("Expression")},alternate:{validate:$.assertNodeType("Expression")}},aliases:["Expression","Conditional"]});E("ContinueStatement",{visitor:["label"],fields:{label:{validate:$.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});E("DebuggerStatement",{aliases:["Statement"]});E("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:$.assertNodeType("Expression")},body:{validate:$.assertNodeType("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});E("EmptyStatement",{aliases:["Statement"]});E("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:$.assertNodeType("Expression")}},aliases:["Statement","ExpressionWrapper"]});E("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:$.assertNodeType("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):$.assertEach($.assertNodeType("CommentBlock","CommentLine")),optional:!0},tokens:{validate:$.assertEach(Object.assign(()=>{},{type:"any"})),optional:!0}}});E("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?$.assertNodeType("VariableDeclaration","LVal"):$.assertNodeType("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:$.assertNodeType("Expression")},body:{validate:$.assertNodeType("Statement")}}});E("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:$.assertNodeType("VariableDeclaration","Expression"),optional:!0},test:{validate:$.assertNodeType("Expression"),optional:!0},update:{validate:$.assertNodeType("Expression"),optional:!0},body:{validate:$.assertNodeType("Statement")}}});var F0=()=>({params:$.validateArrayOfType("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});jX.functionCommon=F0;var s2=()=>({returnType:{validate:$.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:$.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});jX.functionTypeAnnotationCommon=s2;var FX=()=>Object.assign({},F0(),{declare:{validate:$.assertValueType("boolean"),optional:!0},id:{validate:$.assertNodeType("Identifier"),optional:!0}});jX.functionDeclarationCommon=FX;E("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","returnType","body"],fields:Object.assign({},FX(),s2(),{body:{validate:$.assertNodeType("BlockStatement")},predicate:{validate:$.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let J=$.assertNodeType("Identifier");return function(G,X,H){if(!x1.default("ExportDefaultDeclaration",G))J(H,"id",H.id)}}()});E("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},F0(),s2(),{id:{validate:$.assertNodeType("Identifier"),optional:!0},body:{validate:$.assertNodeType("BlockStatement")},predicate:{validate:$.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});var j0=()=>({typeAnnotation:{validate:$.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:$.assertValueType("boolean"),optional:!0},decorators:{validate:$.arrayOfType("Decorator"),optional:!0}});jX.patternLikeCommon=j0;E("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},j0(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?$.chain($.assertValueType("string"),Object.assign(function(J,G,X){if(!FD.default(X,!1))throw new TypeError(`"${X}" is not a valid identifier name`)},{type:"string"})):$.assertValueType("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(J,G,X){let H=/\.(\w+)$/.exec(G);if(!H)return;let[,V]=H,Z={computed:!1};if(V==="property"){if(x1.default("MemberExpression",J,Z))return;if(x1.default("OptionalMemberExpression",J,Z))return}else if(V==="key"){if(x1.default("Property",J,Z))return;if(x1.default("Method",J,Z))return}else if(V==="exported"){if(x1.default("ExportSpecifier",J))return}else if(V==="imported"){if(x1.default("ImportSpecifier",J,{imported:X}))return}else if(V==="meta"){if(x1.default("MetaProperty",J,{meta:X}))return}if((qX.isKeyword(X.name)||qX.isReservedWord(X.name,!1))&&X.name!=="this")throw new TypeError(`"${X.name}" is not a valid identifier`)}:void 0});E("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:$.assertNodeType("Expression")},consequent:{validate:$.assertNodeType("Statement")},alternate:{optional:!0,validate:$.assertNodeType("Statement")}}});E("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:$.assertNodeType("Identifier")},body:{validate:$.assertNodeType("Statement")}}});E("StringLiteral",{builder:["value"],fields:{value:{validate:$.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});E("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:$.chain($.assertValueType("number"),Object.assign(function(J,G,X){if(1/X<0||!Number.isFinite(X)){let H=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${X}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});E("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});E("BooleanLiteral",{builder:["value"],fields:{value:{validate:$.assertValueType("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});E("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:$.assertValueType("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?$.chain($.assertValueType("string"),Object.assign(function(J,G,X){let H=/[^gimsuy]/.exec(X);if(H)throw new TypeError(`"${H[0]}" is not a valid RegExp flag`)},{type:"string"})):$.assertValueType("string"),default:""}}});E("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:$.assertOneOf(...r0.LOGICAL_OPERATORS)},left:{validate:$.assertNodeType("Expression")},right:{validate:$.assertNodeType("Expression")}}});E("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:$.assertNodeType("Expression","Super")},property:{validate:function(){let J=$.assertNodeType("Identifier","PrivateName"),G=$.assertNodeType("Expression"),X=function(H,V,Z){(H.computed?G:J)(H,V,Z)};return X.oneOfNodeTypes=["Expression","Identifier","PrivateName"],X}()},computed:{default:!1}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:$.assertValueType("boolean"),optional:!0}}:{})});E("NewExpression",{inherits:"CallExpression"});E("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:$.assertOneOf("script","module"),default:"script"},interpreter:{validate:$.assertNodeType("InterpreterDirective"),default:null,optional:!0},directives:{validate:$.arrayOfType("Directive"),default:[]},body:$.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","Block"]});E("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:$.validateArrayOfType("ObjectMethod","ObjectProperty","SpreadElement")}});E("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},F0(),s2(),{kind:Object.assign({validate:$.assertOneOf("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:!1},key:{validate:function(){let J=$.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),G=$.assertNodeType("Expression"),X=function(H,V,Z){(H.computed?G:J)(H,V,Z)};return X.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],X}()},decorators:{validate:$.arrayOfType("Decorator"),optional:!0},body:{validate:$.assertNodeType("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});E("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:!1},key:{validate:function(){let J=$.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),G=$.assertNodeType("Expression");return Object.assign(function(H,V,Z){(H.computed?G:J)(H,V,Z)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:$.assertNodeType("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?$.chain($.assertValueType("boolean"),Object.assign(function(J,G,X){if(!X)return;if(J.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!x1.default("Identifier",J.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")},{type:"boolean"})):$.assertValueType("boolean"),default:!1},decorators:{validate:$.arrayOfType("Decorator"),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let J=$.assertNodeType("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),G=$.assertNodeType("Expression");return function(X,H,V){(x1.default("ObjectPattern",X)?J:G)(V,"value",V.value)}}()});E("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},j0(),{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?$.assertNodeType("LVal"):$.assertNodeType("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(J,G){let X=/(\w+)\[(\d+)\]/.exec(G);if(!X)throw new Error("Internal Babel error: malformed key.");let[,H,V]=X;if(J[H].length>+V+1)throw new TypeError(`RestElement must be last element of ${H}`)}:void 0});E("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:$.assertNodeType("Expression"),optional:!0}}});E("SequenceExpression",{visitor:["expressions"],fields:{expressions:$.validateArrayOfType("Expression")},aliases:["Expression"]});E("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:$.assertNodeType("Expression")}}});E("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:$.assertNodeType("Expression"),optional:!0},consequent:$.validateArrayOfType("Statement")}});E("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:$.assertNodeType("Expression")},cases:$.validateArrayOfType("SwitchCase")}});E("ThisExpression",{aliases:["Expression"]});E("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:$.assertNodeType("Expression")}}});E("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?$.chain($.assertNodeType("BlockStatement"),Object.assign(function(J){if(!J.handler&&!J.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):$.assertNodeType("BlockStatement")},handler:{optional:!0,validate:$.assertNodeType("CatchClause")},finalizer:{optional:!0,validate:$.assertNodeType("BlockStatement")}}});E("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:$.assertNodeType("Expression")},operator:{validate:$.assertOneOf(...r0.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});E("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?$.assertNodeType("Expression"):$.assertNodeType("Identifier","MemberExpression")},operator:{validate:$.assertOneOf(...r0.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});E("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:$.assertValueType("boolean"),optional:!0},kind:{validate:$.assertOneOf("var","let","const","using","await using")},declarations:$.validateArrayOfType("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let J=$.assertNodeType("Identifier");return function(G,X,H){if(x1.default("ForXStatement",G,{left:H})){if(H.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${G.type}`)}else H.declarations.forEach((V)=>{if(!V.init)J(V,"id",V.id)})}})():void 0});E("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:!process.env.BABEL_TYPES_8_BREAKING?$.assertNodeType("LVal"):$.assertNodeType("Identifier","ArrayPattern","ObjectPattern")},definite:{optional:!0,validate:$.assertValueType("boolean")},init:{optional:!0,validate:$.assertNodeType("Expression")}}});E("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:$.assertNodeType("Expression")},body:{validate:$.assertNodeType("Statement")}}});E("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:$.assertNodeType("Expression")},body:{validate:$.assertNodeType("Statement")}}});E("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},j0(),{left:{validate:$.assertNodeType("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:$.assertNodeType("Expression")},decorators:{validate:$.arrayOfType("Decorator"),optional:!0}})});E("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},j0(),{elements:{validate:$.chain($.assertValueType("array"),$.assertEach($.assertNodeOrValueType("null","PatternLike","LVal")))}})});E("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},F0(),s2(),{expression:{validate:$.assertValueType("boolean")},body:{validate:$.assertNodeType("BlockStatement","Expression")},predicate:{validate:$.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});E("ClassBody",{visitor:["body"],fields:{body:$.validateArrayOfType("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}});E("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:$.assertNodeType("Identifier"),optional:!0},typeParameters:{validate:$.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:$.assertNodeType("ClassBody")},superClass:{optional:!0,validate:$.assertNodeType("Expression")},superTypeParameters:{validate:$.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:$.arrayOfType("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:$.arrayOfType("Decorator"),optional:!0},mixins:{validate:$.assertNodeType("InterfaceExtends"),optional:!0}}});E("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:$.assertNodeType("Identifier"),optional:!0},typeParameters:{validate:$.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:$.assertNodeType("ClassBody")},superClass:{optional:!0,validate:$.assertNodeType("Expression")},superTypeParameters:{validate:$.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:$.arrayOfType("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:$.arrayOfType("Decorator"),optional:!0},mixins:{validate:$.assertNodeType("InterfaceExtends"),optional:!0},declare:{validate:$.assertValueType("boolean"),optional:!0},abstract:{validate:$.assertValueType("boolean"),optional:!0}},validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let J=$.assertNodeType("Identifier");return function(G,X,H){if(!x1.default("ExportDefaultDeclaration",G))J(H,"id",H.id)}}()});E("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:$.assertNodeType("StringLiteral")},exportKind:$.validateOptional($.assertOneOf("type","value")),attributes:{optional:!0,validate:$.arrayOfType("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:$.arrayOfType("ImportAttribute")}}});E("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:$.validateType("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:$.validateOptional($.assertOneOf("value"))}});E("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:process.env?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?$.chain($.assertNodeType("Declaration"),Object.assign(function(J,G,X){if(X&&J.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(X&&J.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):$.assertNodeType("Declaration")},attributes:{optional:!0,validate:$.arrayOfType("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:$.arrayOfType("ImportAttribute")},specifiers:{default:[],validate:$.arrayOf(function(){let J=$.assertNodeType("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),G=$.assertNodeType("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return J;return Object.assign(function(X,H,V){(X.source?J:G)(X,H,V)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]})}())},source:{validate:$.assertNodeType("StringLiteral"),optional:!0},exportKind:$.validateOptional($.assertOneOf("type","value"))}});E("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:$.assertNodeType("Identifier")},exported:{validate:$.assertNodeType("Identifier","StringLiteral")},exportKind:{validate:$.assertOneOf("type","value"),optional:!0}}});E("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return $.assertNodeType("VariableDeclaration","LVal");let J=$.assertNodeType("VariableDeclaration"),G=$.assertNodeType("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(X,H,V){if(x1.default("VariableDeclaration",V))J(X,H,V);else G(X,H,V)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:$.assertNodeType("Expression")},body:{validate:$.assertNodeType("Statement")},await:{default:!1}}});E("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:$.arrayOfType("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:$.arrayOfType("ImportAttribute")},module:{optional:!0,validate:$.assertValueType("boolean")},phase:{default:null,validate:$.assertOneOf("source","defer")},specifiers:$.validateArrayOfType("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:$.assertNodeType("StringLiteral")},importKind:{validate:$.assertOneOf("type","typeof","value"),optional:!0}}});E("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:$.assertNodeType("Identifier")}}});E("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:$.assertNodeType("Identifier")}}});E("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:$.assertNodeType("Identifier")},imported:{validate:$.assertNodeType("Identifier","StringLiteral")},importKind:{validate:$.assertOneOf("type","typeof","value"),optional:!0}}});E("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:$.assertOneOf("source","defer")},source:{validate:$.assertNodeType("Expression")},options:{validate:$.assertNodeType("Expression"),optional:!0}}});E("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?$.chain($.assertNodeType("Identifier"),Object.assign(function(J,G,X){let H;switch(X.name){case"function":H="sent";break;case"new":H="target";break;case"import":H="meta";break}if(!x1.default("Identifier",J.property,{name:H}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):$.assertNodeType("Identifier")},property:{validate:$.assertNodeType("Identifier")}}});var m5=()=>({abstract:{validate:$.assertValueType("boolean"),optional:!0},accessibility:{validate:$.assertOneOf("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:$.assertValueType("boolean"),optional:!0},key:{validate:$.chain(function(){let J=$.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),G=$.assertNodeType("Expression");return function(X,H,V){(X.computed?G:J)(X,H,V)}}(),$.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});jX.classMethodOrPropertyCommon=m5;var q4=()=>Object.assign({},F0(),m5(),{params:$.validateArrayOfType("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:$.assertOneOf("get","set","method","constructor"),default:"method"},access:{validate:$.chain($.assertValueType("string"),$.assertOneOf("public","private","protected")),optional:!0},decorators:{validate:$.arrayOfType("Decorator"),optional:!0}});jX.classMethodOrDeclareMethodCommon=q4;E("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},q4(),s2(),{body:{validate:$.assertNodeType("BlockStatement")}})});E("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},j0(),{properties:$.validateArrayOfType("RestElement","ObjectProperty")})});E("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:$.assertNodeType("Expression")}}});E("Super",{aliases:["Expression"]});E("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:$.assertNodeType("Expression")},quasi:{validate:$.assertNodeType("TemplateLiteral")},typeParameters:{validate:$.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});E("TemplateElement",{builder:["value","tail"],fields:{value:{validate:$.chain($.assertShape({raw:{validate:$.assertValueType("string")},cooked:{validate:$.assertValueType("string"),optional:!0}}),function J(G){let X=G.value.raw,H=!1,V=()=>{throw new Error("Internal @babel/types error.")},{str:Z,firstInvalidLoc:Q}=jD.readStringContents("template",X,0,0,0,{unterminated(){H=!0},strictNumericEscape:V,invalidEscapeSequence:V,numericSeparatorInEscapeSequence:V,unexpectedNumericSeparator:V,invalidDigit:V,invalidCodePoint:V});if(!H)throw new Error("Invalid raw");G.value.cooked=Q?null:Z})},tail:{default:!1}}});E("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:$.validateArrayOfType("TemplateElement"),expressions:{validate:$.chain($.assertValueType("array"),$.assertEach($.assertNodeType("Expression","TSType")),function(J,G,X){if(J.quasis.length!==X.length+1)throw new TypeError(`Number of ${J.type} quasis should be exactly one more than the number of expressions.\nExpected ${X.length+1} quasis but got ${J.quasis.length}`)})}}});E("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?$.chain($.assertValueType("boolean"),Object.assign(function(J,G,X){if(X&&!J.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):$.assertValueType("boolean"),default:!1},argument:{optional:!0,validate:$.assertNodeType("Expression")}}});E("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:$.assertNodeType("Expression")}}});E("Import",{aliases:["Expression"]});E("BigIntLiteral",{builder:["value"],fields:{value:{validate:$.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});E("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:$.assertNodeType("Identifier")}}});E("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:$.assertNodeType("Expression")},property:{validate:function(){let J=$.assertNodeType("Identifier"),G=$.assertNodeType("Expression");return Object.assign(function(H,V,Z){(H.computed?G:J)(H,V,Z)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?$.assertValueType("boolean"):$.chain($.assertValueType("boolean"),$.assertOptionalChainStart())}}});E("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:$.assertNodeType("Expression")},arguments:$.validateArrayOfType("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?$.assertValueType("boolean"):$.chain($.assertValueType("boolean"),$.assertOptionalChainStart())},typeArguments:{validate:$.assertNodeType("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:$.assertNodeType("TSTypeParameterInstantiation"),optional:!0}}});E("ClassProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},m5(),{value:{validate:$.assertNodeType("Expression"),optional:!0},definite:{validate:$.assertValueType("boolean"),optional:!0},typeAnnotation:{validate:$.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:$.arrayOfType("Decorator"),optional:!0},readonly:{validate:$.assertValueType("boolean"),optional:!0},declare:{validate:$.assertValueType("boolean"),optional:!0},variance:{validate:$.assertNodeType("Variance"),optional:!0}})});E("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},m5(),{key:{validate:$.chain(function(){let J=$.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),G=$.assertNodeType("Expression");return function(X,H,V){(X.computed?G:J)(X,H,V)}}(),$.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:$.assertNodeType("Expression"),optional:!0},definite:{validate:$.assertValueType("boolean"),optional:!0},typeAnnotation:{validate:$.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:$.arrayOfType("Decorator"),optional:!0},readonly:{validate:$.assertValueType("boolean"),optional:!0},declare:{validate:$.assertValueType("boolean"),optional:!0},variance:{validate:$.assertNodeType("Variance"),optional:!0}})});E("ClassPrivateProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:$.assertNodeType("PrivateName")},value:{validate:$.assertNodeType("Expression"),optional:!0},typeAnnotation:{validate:$.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:$.arrayOfType("Decorator"),optional:!0},static:{validate:$.assertValueType("boolean"),default:!1},readonly:{validate:$.assertValueType("boolean"),optional:!0},definite:{validate:$.assertValueType("boolean"),optional:!0},variance:{validate:$.assertNodeType("Variance"),optional:!0}}});E("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},q4(),s2(),{kind:{validate:$.assertOneOf("get","set","method"),default:"method"},key:{validate:$.assertNodeType("PrivateName")},body:{validate:$.assertNodeType("BlockStatement")}})});E("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:$.assertNodeType("Identifier")}}});E("StaticBlock",{visitor:["body"],fields:{body:$.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]})});var AX=C(()=>{var S=F2(),p=S.defineAliasedType("Flow"),F4=(J)=>{let G=J==="DeclareClass";p(J,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...G?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),extends:S.validateOptional(S.arrayOfType("InterfaceExtends"))},G?{mixins:S.validateOptional(S.arrayOfType("InterfaceExtends")),implements:S.validateOptional(S.arrayOfType("ClassImplements"))}:{},{body:S.validateType("ObjectTypeAnnotation")})})};p("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:S.validateType("FlowType")}});p("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("boolean"))}});p("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ClassImplements",{visitor:["id","typeParameters"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});F4("DeclareClass");p("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),predicate:S.validateOptionalType("DeclaredPredicate")}});F4("DeclareInterface");p("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier","StringLiteral"),body:S.validateType("BlockStatement"),kind:S.validateOptional(S.assertOneOf("CommonJS","ES"))}});p("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:S.validateType("TypeAnnotation")}});p("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),right:S.validateType("FlowType")}});p("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),supertype:S.validateOptionalType("FlowType"),impltype:S.validateOptionalType("FlowType")}});p("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier")}});p("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:S.validateOptionalType("Flow"),specifiers:S.validateOptional(S.arrayOfType("ExportSpecifier","ExportNamespaceSpecifier")),source:S.validateOptionalType("StringLiteral"),default:S.validateOptional(S.assertValueType("boolean"))}});p("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:S.validateType("StringLiteral"),exportKind:S.validateOptional(S.assertOneOf("type","value"))}});p("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:S.validateType("Flow")}});p("ExistsTypeAnnotation",{aliases:["FlowType"]});p("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:S.validateOptionalType("TypeParameterDeclaration"),params:S.validateArrayOfType("FunctionTypeParam"),rest:S.validateOptionalType("FunctionTypeParam"),this:S.validateOptionalType("FunctionTypeParam"),returnType:S.validateType("FlowType")}});p("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:S.validateOptionalType("Identifier"),typeAnnotation:S.validateType("FlowType"),optional:S.validateOptional(S.assertValueType("boolean"))}});p("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:S.validateType("Identifier","QualifiedTypeIdentifier"),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});p("InferredPredicate",{aliases:["FlowPredicate"]});p("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:S.validateType("Identifier","QualifiedTypeIdentifier"),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});F4("InterfaceDeclaration");p("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:S.validateOptional(S.arrayOfType("InterfaceExtends")),body:S.validateType("ObjectTypeAnnotation")}});p("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});p("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:S.validateType("FlowType")}});p("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("number"))}});p("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:S.validate(S.arrayOfType("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:S.arrayOfType("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:S.arrayOfType("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:S.arrayOfType("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:S.assertValueType("boolean"),default:!1},inexact:S.validateOptional(S.assertValueType("boolean"))}});p("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:S.validateType("Identifier"),value:S.validateType("FlowType"),optional:S.validate(S.assertValueType("boolean")),static:S.validate(S.assertValueType("boolean")),method:S.validate(S.assertValueType("boolean"))}});p("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:S.validateType("FlowType"),static:S.validate(S.assertValueType("boolean"))}});p("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:S.validateOptionalType("Identifier"),key:S.validateType("FlowType"),value:S.validateType("FlowType"),static:S.validate(S.assertValueType("boolean")),variance:S.validateOptionalType("Variance")}});p("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:S.validateType("Identifier","StringLiteral"),value:S.validateType("FlowType"),kind:S.validate(S.assertOneOf("init","get","set")),static:S.validate(S.assertValueType("boolean")),proto:S.validate(S.assertValueType("boolean")),optional:S.validate(S.assertValueType("boolean")),variance:S.validateOptionalType("Variance"),method:S.validate(S.assertValueType("boolean"))}});p("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:S.validateType("FlowType")}});p("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),supertype:S.validateOptionalType("FlowType"),impltype:S.validateType("FlowType")}});p("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:S.validateType("Identifier"),qualification:S.validateType("Identifier","QualifiedTypeIdentifier")}});p("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("string"))}});p("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});p("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:S.validateType("FlowType")}});p("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),right:S.validateType("FlowType")}});p("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:S.validateType("FlowType")}});p("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:S.validateType("Expression"),typeAnnotation:S.validateType("TypeAnnotation")}});p("TypeParameter",{visitor:["bound","default","variance"],fields:{name:S.validate(S.assertValueType("string")),bound:S.validateOptionalType("TypeAnnotation"),default:S.validateOptionalType("FlowType"),variance:S.validateOptionalType("Variance")}});p("TypeParameterDeclaration",{visitor:["params"],fields:{params:S.validate(S.arrayOfType("TypeParameter"))}});p("TypeParameterInstantiation",{visitor:["params"],fields:{params:S.validate(S.arrayOfType("FlowType"))}});p("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});p("Variance",{builder:["kind"],fields:{kind:S.validate(S.assertOneOf("minus","plus"))}});p("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:S.validateType("Identifier"),body:S.validateType("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}});p("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumBooleanMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumNumberMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:S.validateArrayOfType("EnumDefaultedMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:S.validateType("Identifier"),init:S.validateType("BooleanLiteral")}});p("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:S.validateType("Identifier"),init:S.validateType("NumericLiteral")}});p("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:S.validateType("Identifier"),init:S.validateType("StringLiteral")}});p("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:S.validateType("Identifier")}});p("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:S.validateType("FlowType"),indexType:S.validateType("FlowType")}});p("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:S.validateType("FlowType"),indexType:S.validateType("FlowType"),optional:S.validate(S.assertValueType("boolean"))}})});var CX=C(()=>{var f1=F2(),m1=f1.defineAliasedType("JSX");m1("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:f1.assertNodeType("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});m1("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});m1("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:f1.assertNodeType("JSXOpeningElement")},closingElement:{optional:!0,validate:f1.assertNodeType("JSXClosingElement")},children:f1.validateArrayOfType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:f1.assertValueType("boolean"),optional:!0}})});m1("JSXEmptyExpression",{});m1("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression","JSXEmptyExpression")}}});m1("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression")}}});m1("JSXIdentifier",{builder:["name"],fields:{name:{validate:f1.assertValueType("string")}}});m1("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:f1.assertNodeType("JSXMemberExpression","JSXIdentifier")},property:{validate:f1.assertNodeType("JSXIdentifier")}}});m1("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:f1.assertNodeType("JSXIdentifier")},name:{validate:f1.assertNodeType("JSXIdentifier")}}});m1("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:f1.validateArrayOfType("JSXAttribute","JSXSpreadAttribute"),typeParameters:{validate:f1.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});m1("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:f1.assertNodeType("Expression")}}});m1("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:f1.assertValueType("string")}}});m1("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:f1.assertNodeType("JSXOpeningFragment")},closingFragment:{validate:f1.assertNodeType("JSXClosingFragment")},children:f1.validateArrayOfType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}});m1("JSXOpeningFragment",{aliases:["Immutable"]});m1("JSXClosingFragment",{aliases:["Immutable"]})});var A4=C((DX)=>{Object.defineProperty(DX,"__esModule",{value:!0});DX.PLACEHOLDERS_FLIPPED_ALIAS=DX.PLACEHOLDERS_ALIAS=DX.PLACEHOLDERS=void 0;var ID=F2(),PD=DX.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],O4=DX.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let J of PD){let G=ID.ALIAS_KEYS[J];if(G!=null&&G.length)O4[J]=G}var j4=DX.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(O4).forEach((J)=>{O4[J].forEach((G)=>{if(!hasOwnProperty.call(j4,G))j4[G]=[];j4[G].push(J)})})});var IX=C(()=>{var l5=F2(),TD=A4(),wD=c5(),C4=l5.defineAliasedType("Miscellaneous");C4("Noop",{visitor:[]});C4("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:l5.assertNodeType("Identifier")},expectedNode:{validate:l5.assertOneOf(...TD.PLACEHOLDERS)}},wD.patternLikeCommon())});C4("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:l5.assertValueType("string")}}})});var PX=C(()=>{var D1=F2();D1.default("ArgumentPlaceholder",{});D1.default("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:D1.assertNodeType("Expression")},callee:{validate:D1.assertNodeType("Expression")}}});D1.default("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:D1.assertNodeType("Identifier","StringLiteral")},value:{validate:D1.assertNodeType("StringLiteral")}}});D1.default("Decorator",{visitor:["expression"],fields:{expression:{validate:D1.assertNodeType("Expression")}}});D1.default("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:D1.assertNodeType("BlockStatement")},async:{validate:D1.assertValueType("boolean"),default:!1}}});D1.default("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:D1.assertNodeType("Identifier")}}});D1.default("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:D1.validateArrayOfType("ObjectProperty","SpreadElement")}});D1.default("TupleExpression",{fields:{elements:{validate:D1.arrayOfType("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]});D1.default("DecimalLiteral",{builder:["value"],fields:{value:{validate:D1.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});D1.default("ModuleExpression",{visitor:["body"],fields:{body:{validate:D1.assertNodeType("Program")}},aliases:["Expression"]});D1.default("TopicReference",{aliases:["Expression"]});D1.default("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:D1.assertNodeType("Expression")}},aliases:["Expression"]});D1.default("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:D1.assertNodeType("Expression")}},aliases:["Expression"]});D1.default("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var EX=C(()=>{var T=F2(),fX=c5(),LD=M0(),J1=T.defineAliasedType("TypeScript"),s1=T.assertValueType("boolean"),NX=()=>({returnType:{validate:T.assertNodeType("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:T.assertNodeType("TSTypeParameterDeclaration","Noop"),optional:!0}});J1("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:T.assertOneOf("public","private","protected"),optional:!0},readonly:{validate:T.assertValueType("boolean"),optional:!0},parameter:{validate:T.assertNodeType("Identifier","AssignmentPattern")},override:{validate:T.assertValueType("boolean"),optional:!0},decorators:{validate:T.arrayOfType("Decorator"),optional:!0}}});J1("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},fX.functionDeclarationCommon(),NX())});J1("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},fX.classMethodOrDeclareMethodCommon(),NX())});J1("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:T.validateType("TSEntityName"),right:T.validateType("Identifier")}});var i5=()=>({typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),["parameters"]:T.validateArrayOfType("ArrayPattern","Identifier","ObjectPattern","RestElement"),["typeAnnotation"]:T.validateOptionalType("TSTypeAnnotation")}),TX={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:i5()};J1("TSCallSignatureDeclaration",TX);J1("TSConstructSignatureDeclaration",TX);var wX=()=>({key:T.validateType("Expression"),computed:{default:!1},optional:T.validateOptional(s1)});J1("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},wX(),{readonly:T.validateOptional(s1),typeAnnotation:T.validateOptionalType("TSTypeAnnotation"),kind:{validate:T.assertOneOf("get","set")}})});J1("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},i5(),wX(),{kind:{validate:T.assertOneOf("method","get","set")}})});J1("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:T.validateOptional(s1),static:T.validateOptional(s1),parameters:T.validateArrayOfType("Identifier"),typeAnnotation:T.validateOptionalType("TSTypeAnnotation")}});var kD=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let J of kD)J1(J,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});J1("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var LX={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};J1("TSFunctionType",Object.assign({},LX,{fields:i5()}));J1("TSConstructorType",Object.assign({},LX,{fields:Object.assign({},i5(),{abstract:T.validateOptional(s1)})}));J1("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:T.validateType("TSEntityName"),typeParameters:T.validateOptionalType("TSTypeParameterInstantiation")}});J1("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:T.validateType("Identifier","TSThisType"),typeAnnotation:T.validateOptionalType("TSTypeAnnotation"),asserts:T.validateOptional(s1)}});J1("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:T.validateType("TSEntityName","TSImportType"),typeParameters:T.validateOptionalType("TSTypeParameterInstantiation")}});J1("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:T.validateArrayOfType("TSTypeElement")}});J1("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:T.validateType("TSType")}});J1("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:T.validateArrayOfType("TSType","TSNamedTupleMember")}});J1("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:T.validateType("TSType")}});J1("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:T.validateType("TSType")}});J1("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:T.validateType("Identifier"),optional:{validate:s1,default:!1},elementType:T.validateType("TSType")}});var kX={aliases:["TSType"],visitor:["types"],fields:{types:T.validateArrayOfType("TSType")}};J1("TSUnionType",kX);J1("TSIntersectionType",kX);J1("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:T.validateType("TSType"),extendsType:T.validateType("TSType"),trueType:T.validateType("TSType"),falseType:T.validateType("TSType")}});J1("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:T.validateType("TSTypeParameter")}});J1("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:T.validateType("TSType")}});J1("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:T.validate(T.assertValueType("string")),typeAnnotation:T.validateType("TSType")}});J1("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:T.validateType("TSType"),indexType:T.validateType("TSType")}});J1("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:T.validateType("TSTypeParameter")},{readonly:T.validateOptional(T.assertOneOf(!0,!1,"+","-")),optional:T.validateOptional(T.assertOneOf(!0,!1,"+","-")),typeAnnotation:T.validateOptionalType("TSType"),nameType:T.validateOptionalType("TSType")})});J1("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let J=T.assertNodeType("NumericLiteral","BigIntLiteral"),G=T.assertOneOf("-"),X=T.assertNodeType("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function H(V,Z,Q){if(LD.default("UnaryExpression",Q))G(Q,"operator",Q.operator),J(Q,"argument",Q.argument);else X(V,Z,Q)}return H.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],H}()}}});var bD={aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:T.validateType("TSEntityName"),typeParameters:T.validateOptionalType("TSTypeParameterInstantiation")}};J1("TSExpressionWithTypeArguments",bD);J1("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:T.validateOptional(s1),id:T.validateType("Identifier"),typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),extends:T.validateOptional(T.arrayOfType("TSExpressionWithTypeArguments")),body:T.validateType("TSInterfaceBody")}});J1("TSInterfaceBody",{visitor:["body"],fields:{body:T.validateArrayOfType("TSTypeElement")}});J1("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:T.validateOptional(s1),id:T.validateType("Identifier"),typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),typeAnnotation:T.validateType("TSType")}});J1("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:T.validateType("Expression"),typeParameters:T.validateOptionalType("TSTypeParameterInstantiation")}});var bX={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:T.validateType("Expression"),typeAnnotation:T.validateType("TSType")}};J1("TSAsExpression",bX);J1("TSSatisfiesExpression",bX);J1("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:T.validateType("TSType"),expression:T.validateType("Expression")}});J1("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:T.validateOptional(s1),const:T.validateOptional(s1),id:T.validateType("Identifier"),members:T.validateArrayOfType("TSEnumMember"),initializer:T.validateOptionalType("Expression")}});J1("TSEnumMember",{visitor:["id","initializer"],fields:{id:T.validateType("Identifier","StringLiteral"),initializer:T.validateOptionalType("Expression")}});J1("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:T.validateOptional(s1),global:T.validateOptional(s1),id:T.validateType("Identifier","StringLiteral"),body:T.validateType("TSModuleBlock","TSModuleDeclaration")}});J1("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:T.validateArrayOfType("Statement")}});J1("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:T.validateType("StringLiteral"),qualifier:T.validateOptionalType("TSEntityName"),typeParameters:T.validateOptionalType("TSTypeParameterInstantiation"),options:{validate:T.assertNodeType("Expression"),optional:!0}}});J1("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:T.validate(s1),id:T.validateType("Identifier"),moduleReference:T.validateType("TSEntityName","TSExternalModuleReference"),importKind:{validate:T.assertOneOf("type","value"),optional:!0}}});J1("TSExternalModuleReference",{visitor:["expression"],fields:{expression:T.validateType("StringLiteral")}});J1("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:T.validateType("Expression")}});J1("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:T.validateType("Expression")}});J1("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:T.validateType("Identifier")}});J1("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:T.assertNodeType("TSType")}}});J1("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:T.validateArrayOfType("TSType")}});J1("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:T.validateArrayOfType("TSTypeParameter")}});J1("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:T.assertValueType("string")},in:{validate:T.assertValueType("boolean"),optional:!0},out:{validate:T.assertValueType("boolean"),optional:!0},const:{validate:T.assertValueType("boolean"),optional:!0},constraint:{validate:T.assertNodeType("TSType"),optional:!0},default:{validate:T.assertNodeType("TSType"),optional:!0}}})});var _X=C((vX)=>{Object.defineProperty(vX,"__esModule",{value:!0});vX.DEPRECATED_ALIASES=void 0;var GB1=vX.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var G2=C((o1)=>{Object.defineProperty(o1,"__esModule",{value:!0});Object.defineProperty(o1,"ALIAS_KEYS",{enumerable:!0,get:function(){return X2.ALIAS_KEYS}});Object.defineProperty(o1,"BUILDER_KEYS",{enumerable:!0,get:function(){return X2.BUILDER_KEYS}});Object.defineProperty(o1,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return D4.DEPRECATED_ALIASES}});Object.defineProperty(o1,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return X2.DEPRECATED_KEYS}});Object.defineProperty(o1,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return X2.FLIPPED_ALIAS_KEYS}});Object.defineProperty(o1,"NODE_FIELDS",{enumerable:!0,get:function(){return X2.NODE_FIELDS}});Object.defineProperty(o1,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return X2.NODE_PARENT_VALIDATIONS}});Object.defineProperty(o1,"PLACEHOLDERS",{enumerable:!0,get:function(){return S4.PLACEHOLDERS}});Object.defineProperty(o1,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return S4.PLACEHOLDERS_ALIAS}});Object.defineProperty(o1,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return S4.PLACEHOLDERS_FLIPPED_ALIAS}});o1.TYPES=void 0;Object.defineProperty(o1,"VISITOR_KEYS",{enumerable:!0,get:function(){return X2.VISITOR_KEYS}});c5();AX();CX();IX();PX();EX();var X2=F2(),S4=A4(),D4=_X();Object.keys(D4.DEPRECATED_ALIASES).forEach((J)=>{X2.FLIPPED_ALIAS_KEYS[J]=X2.FLIPPED_ALIAS_KEYS[D4.DEPRECATED_ALIASES[J]]});var HB1=o1.TYPES=[].concat(Object.keys(X2.VISITOR_KEYS),Object.keys(X2.FLIPPED_ALIAS_KEYS),Object.keys(X2.DEPRECATED_KEYS))});var x5=C((xX)=>{Object.defineProperty(xX,"__esModule",{value:!0});xX.default=ED;xX.validateChild=yX;xX.validateField=hX;xX.validateInternal=vD;var d0=G2();function ED(J,G,X){if(!J)return;let H=d0.NODE_FIELDS[J.type];if(!H)return;let V=H[G];hX(J,G,X,V),yX(J,G,X)}function vD(J,G,X,H,V){if(!(J!=null&&J.validate))return;if(J.optional&&H==null)return;if(J.validate(G,X,H),V){var Z;let Q=H.type;if(Q==null)return;(Z=d0.NODE_PARENT_VALIDATIONS[Q])==null||Z.call(d0.NODE_PARENT_VALIDATIONS,G,X,H)}}function hX(J,G,X,H){if(!(H!=null&&H.validate))return;if(H.optional&&X==null)return;H.validate(J,G,X)}function yX(J,G,X){var H;let V=X==null?void 0:X.type;if(V==null)return;(H=d0.NODE_PARENT_VALIDATIONS[V])==null||H.call(d0.NODE_PARENT_VALIDATIONS,J,G,X)}});var c1=C((aX)=>{Object.defineProperty(aX,"__esModule",{value:!0});aX.anyTypeAnnotation=FI;aX.argumentPlaceholder=pP;aX.arrayExpression=mD;aX.arrayPattern=_S;aX.arrayTypeAnnotation=jI;aX.arrowFunctionExpression=uS;aX.assignmentExpression=cD;aX.assignmentPattern=gS;aX.awaitExpression=ZI;aX.bigIntLiteral=YI;aX.binaryExpression=lD;aX.bindExpression=rP;aX.blockStatement=rD;aX.booleanLiteral=RS;aX.booleanLiteralTypeAnnotation=AI;aX.booleanTypeAnnotation=OI;aX.breakStatement=dD;aX.callExpression=sD;aX.catchClause=tD;aX.classAccessorProperty=BI;aX.classBody=hS;aX.classDeclaration=xS;aX.classExpression=yS;aX.classImplements=DI;aX.classMethod=oS;aX.classPrivateMethod=$I;aX.classPrivateProperty=RI;aX.classProperty=UI;aX.conditionalExpression=nD;aX.continueStatement=oD;aX.debuggerStatement=eD;aX.decimalLiteral=Jf;aX.declareClass=SI;aX.declareExportAllDeclaration=bI;aX.declareExportDeclaration=kI;aX.declareFunction=II;aX.declareInterface=PI;aX.declareModule=fI;aX.declareModuleExports=NI;aX.declareOpaqueType=wI;aX.declareTypeAlias=TI;aX.declareVariable=LI;aX.declaredPredicate=EI;aX.decorator=sP;aX.directive=aD;aX.directiveLiteral=pD;aX.doExpression=tP;aX.doWhileStatement=JS;aX.emptyStatement=GS;aX.emptyTypeAnnotation=iI;aX.enumBooleanBody=jP;aX.enumBooleanMember=DP;aX.enumDeclaration=FP;aX.enumDefaultedMember=PP;aX.enumNumberBody=OP;aX.enumNumberMember=SP;aX.enumStringBody=AP;aX.enumStringMember=IP;aX.enumSymbolBody=CP;aX.existsTypeAnnotation=vI;aX.exportAllDeclaration=mS;aX.exportDefaultDeclaration=cS;aX.exportDefaultSpecifier=nP;aX.exportNamedDeclaration=lS;aX.exportNamespaceSpecifier=WI;aX.exportSpecifier=iS;aX.expressionStatement=XS;aX.file=HS;aX.forInStatement=VS;aX.forOfStatement=aS;aX.forStatement=ZS;aX.functionDeclaration=QS;aX.functionExpression=YS;aX.functionTypeAnnotation=gI;aX.functionTypeParam=_I;aX.genericTypeAnnotation=uI;aX.identifier=WS;aX.ifStatement=zS;aX.import=QI;aX.importAttribute=dP;aX.importDeclaration=pS;aX.importDefaultSpecifier=rS;aX.importExpression=tS;aX.importNamespaceSpecifier=dS;aX.importSpecifier=sS;aX.indexedAccessType=fP;aX.inferredPredicate=hI;aX.interfaceDeclaration=xI;aX.interfaceExtends=yI;aX.interfaceTypeAnnotation=mI;aX.interpreterDirective=iD;aX.intersectionTypeAnnotation=cI;aX.jSXAttribute=aX.jsxAttribute=TP;aX.jSXClosingElement=aX.jsxClosingElement=wP;aX.jSXClosingFragment=aX.jsxClosingFragment=cP;aX.jSXElement=aX.jsxElement=LP;aX.jSXEmptyExpression=aX.jsxEmptyExpression=kP;aX.jSXExpressionContainer=aX.jsxExpressionContainer=bP;aX.jSXFragment=aX.jsxFragment=xP;aX.jSXIdentifier=aX.jsxIdentifier=vP;aX.jSXMemberExpression=aX.jsxMemberExpression=gP;aX.jSXNamespacedName=aX.jsxNamespacedName=_P;aX.jSXOpeningElement=aX.jsxOpeningElement=uP;aX.jSXOpeningFragment=aX.jsxOpeningFragment=mP;aX.jSXSpreadAttribute=aX.jsxSpreadAttribute=hP;aX.jSXSpreadChild=aX.jsxSpreadChild=EP;aX.jSXText=aX.jsxText=yP;aX.labeledStatement=KS;aX.logicalExpression=$S;aX.memberExpression=MS;aX.metaProperty=nS;aX.mixedTypeAnnotation=lI;aX.moduleExpression=Gf;aX.newExpression=qS;aX.noop=lP;aX.nullLiteral=BS;aX.nullLiteralTypeAnnotation=CI;aX.nullableTypeAnnotation=aI;aX.numberLiteral=jN;aX.numberLiteralTypeAnnotation=pI;aX.numberTypeAnnotation=rI;aX.numericLiteral=mX;aX.objectExpression=jS;aX.objectMethod=OS;aX.objectPattern=eS;aX.objectProperty=AS;aX.objectTypeAnnotation=dI;aX.objectTypeCallProperty=tI;aX.objectTypeIndexer=nI;aX.objectTypeInternalSlot=sI;aX.objectTypeProperty=oI;aX.objectTypeSpreadProperty=eI;aX.opaqueType=JP;aX.optionalCallExpression=KI;aX.optionalIndexedAccessType=NP;aX.optionalMemberExpression=zI;aX.parenthesizedExpression=SS;aX.pipelineBareFunction=Vf;aX.pipelinePrimaryTopicReference=Zf;aX.pipelineTopicExpression=Hf;aX.placeholder=iP;aX.privateName=MI;aX.program=FS;aX.qualifiedTypeIdentifier=GP;aX.recordExpression=oP;aX.regExpLiteral=cX;aX.regexLiteral=ON;aX.restElement=lX;aX.restProperty=AN;aX.returnStatement=CS;aX.sequenceExpression=DS;aX.spreadElement=iX;aX.spreadProperty=CN;aX.staticBlock=qI;aX.stringLiteral=US;aX.stringLiteralTypeAnnotation=XP;aX.stringTypeAnnotation=HP;aX.super=JI;aX.switchCase=IS;aX.switchStatement=PS;aX.symbolTypeAnnotation=VP;aX.taggedTemplateExpression=GI;aX.templateElement=XI;aX.templateLiteral=HI;aX.thisExpression=fS;aX.thisTypeAnnotation=ZP;aX.throwStatement=NS;aX.topicReference=Xf;aX.tryStatement=TS;aX.tSAnyKeyword=aX.tsAnyKeyword=Mf;aX.tSArrayType=aX.tsArrayType=gf;aX.tSAsExpression=aX.tsAsExpression=GN;aX.tSBigIntKeyword=aX.tsBigIntKeyword=Ff;aX.tSBooleanKeyword=aX.tsBooleanKeyword=qf;aX.tSCallSignatureDeclaration=aX.tsCallSignatureDeclaration=Kf;aX.tSConditionalType=aX.tsConditionalType=cf;aX.tSConstructSignatureDeclaration=aX.tsConstructSignatureDeclaration=Uf;aX.tSConstructorType=aX.tsConstructorType=Lf;aX.tSDeclareFunction=aX.tsDeclareFunction=Yf;aX.tSDeclareMethod=aX.tsDeclareMethod=Wf;aX.tSEnumDeclaration=aX.tsEnumDeclaration=VN;aX.tSEnumMember=aX.tsEnumMember=ZN;aX.tSExportAssignment=aX.tsExportAssignment=BN;aX.tSExpressionWithTypeArguments=aX.tsExpressionWithTypeArguments=tf;aX.tSExternalModuleReference=aX.tsExternalModuleReference=KN;aX.tSFunctionType=aX.tsFunctionType=wf;aX.tSImportEqualsDeclaration=aX.tsImportEqualsDeclaration=zN;aX.tSImportType=aX.tsImportType=WN;aX.tSIndexSignature=aX.tsIndexSignature=$f;aX.tSIndexedAccessType=aX.tsIndexedAccessType=rf;aX.tSInferType=aX.tsInferType=lf;aX.tSInstantiationExpression=aX.tsInstantiationExpression=JN;aX.tSInterfaceBody=aX.tsInterfaceBody=of;aX.tSInterfaceDeclaration=aX.tsInterfaceDeclaration=nf;aX.tSIntersectionType=aX.tsIntersectionType=mf;aX.tSIntrinsicKeyword=aX.tsIntrinsicKeyword=jf;aX.tSLiteralType=aX.tsLiteralType=sf;aX.tSMappedType=aX.tsMappedType=df;aX.tSMethodSignature=aX.tsMethodSignature=Rf;aX.tSModuleBlock=aX.tsModuleBlock=YN;aX.tSModuleDeclaration=aX.tsModuleDeclaration=QN;aX.tSNamedTupleMember=aX.tsNamedTupleMember=yf;aX.tSNamespaceExportDeclaration=aX.tsNamespaceExportDeclaration=RN;aX.tSNeverKeyword=aX.tsNeverKeyword=Of;aX.tSNonNullExpression=aX.tsNonNullExpression=UN;aX.tSNullKeyword=aX.tsNullKeyword=Af;aX.tSNumberKeyword=aX.tsNumberKeyword=Cf;aX.tSObjectKeyword=aX.tsObjectKeyword=Df;aX.tSOptionalType=aX.tsOptionalType=uf;aX.tSParameterProperty=aX.tsParameterProperty=Qf;aX.tSParenthesizedType=aX.tsParenthesizedType=af;aX.tSPropertySignature=aX.tsPropertySignature=Bf;aX.tSQualifiedName=aX.tsQualifiedName=zf;aX.tSRestType=aX.tsRestType=hf;aX.tSSatisfiesExpression=aX.tsSatisfiesExpression=XN;aX.tSStringKeyword=aX.tsStringKeyword=Sf;aX.tSSymbolKeyword=aX.tsSymbolKeyword=If;aX.tSThisType=aX.tsThisType=Tf;aX.tSTupleType=aX.tsTupleType=_f;aX.tSTypeAliasDeclaration=aX.tsTypeAliasDeclaration=ef;aX.tSTypeAnnotation=aX.tsTypeAnnotation=$N;aX.tSTypeAssertion=aX.tsTypeAssertion=HN;aX.tSTypeLiteral=aX.tsTypeLiteral=vf;aX.tSTypeOperator=aX.tsTypeOperator=pf;aX.tSTypeParameter=aX.tsTypeParameter=FN;aX.tSTypeParameterDeclaration=aX.tsTypeParameterDeclaration=qN;aX.tSTypeParameterInstantiation=aX.tsTypeParameterInstantiation=MN;aX.tSTypePredicate=aX.tsTypePredicate=bf;aX.tSTypeQuery=aX.tsTypeQuery=Ef;aX.tSTypeReference=aX.tsTypeReference=kf;aX.tSUndefinedKeyword=aX.tsUndefinedKeyword=Pf;aX.tSUnionType=aX.tsUnionType=xf;aX.tSUnknownKeyword=aX.tsUnknownKeyword=ff;aX.tSVoidKeyword=aX.tsVoidKeyword=Nf;aX.tupleExpression=eP;aX.tupleTypeAnnotation=QP;aX.typeAlias=WP;aX.typeAnnotation=zP;aX.typeCastExpression=KP;aX.typeParameter=UP;aX.typeParameterDeclaration=BP;aX.typeParameterInstantiation=RP;aX.typeofTypeAnnotation=YP;aX.unaryExpression=wS;aX.unionTypeAnnotation=$P;aX.updateExpression=LS;aX.v8IntrinsicIdentifier=aP;aX.variableDeclaration=kS;aX.variableDeclarator=bS;aX.variance=MP;aX.voidTypeAnnotation=qP;aX.whileStatement=ES;aX.withStatement=vS;aX.yieldExpression=VI;var yD=x5(),a5=c0(),xD=F2(),{validateInternal:K}=yD,{NODE_FIELDS:O}=xD;function mD(J=[]){let G={type:"ArrayExpression",elements:J},X=O.ArrayExpression;return K(X.elements,G,"elements",J,1),G}function cD(J,G,X){let H={type:"AssignmentExpression",operator:J,left:G,right:X},V=O.AssignmentExpression;return K(V.operator,H,"operator",J),K(V.left,H,"left",G,1),K(V.right,H,"right",X,1),H}function lD(J,G,X){let H={type:"BinaryExpression",operator:J,left:G,right:X},V=O.BinaryExpression;return K(V.operator,H,"operator",J),K(V.left,H,"left",G,1),K(V.right,H,"right",X,1),H}function iD(J){let G={type:"InterpreterDirective",value:J},X=O.InterpreterDirective;return K(X.value,G,"value",J),G}function aD(J){let G={type:"Directive",value:J},X=O.Directive;return K(X.value,G,"value",J,1),G}function pD(J){let G={type:"DirectiveLiteral",value:J},X=O.DirectiveLiteral;return K(X.value,G,"value",J),G}function rD(J,G=[]){let X={type:"BlockStatement",body:J,directives:G},H=O.BlockStatement;return K(H.body,X,"body",J,1),K(H.directives,X,"directives",G,1),X}function dD(J=null){let G={type:"BreakStatement",label:J},X=O.BreakStatement;return K(X.label,G,"label",J,1),G}function sD(J,G){let X={type:"CallExpression",callee:J,arguments:G},H=O.CallExpression;return K(H.callee,X,"callee",J,1),K(H.arguments,X,"arguments",G,1),X}function tD(J=null,G){let X={type:"CatchClause",param:J,body:G},H=O.CatchClause;return K(H.param,X,"param",J,1),K(H.body,X,"body",G,1),X}function nD(J,G,X){let H={type:"ConditionalExpression",test:J,consequent:G,alternate:X},V=O.ConditionalExpression;return K(V.test,H,"test",J,1),K(V.consequent,H,"consequent",G,1),K(V.alternate,H,"alternate",X,1),H}function oD(J=null){let G={type:"ContinueStatement",label:J},X=O.ContinueStatement;return K(X.label,G,"label",J,1),G}function eD(){return{type:"DebuggerStatement"}}function JS(J,G){let X={type:"DoWhileStatement",test:J,body:G},H=O.DoWhileStatement;return K(H.test,X,"test",J,1),K(H.body,X,"body",G,1),X}function GS(){return{type:"EmptyStatement"}}function XS(J){let G={type:"ExpressionStatement",expression:J},X=O.ExpressionStatement;return K(X.expression,G,"expression",J,1),G}function HS(J,G=null,X=null){let H={type:"File",program:J,comments:G,tokens:X},V=O.File;return K(V.program,H,"program",J,1),K(V.comments,H,"comments",G,1),K(V.tokens,H,"tokens",X),H}function VS(J,G,X){let H={type:"ForInStatement",left:J,right:G,body:X},V=O.ForInStatement;return K(V.left,H,"left",J,1),K(V.right,H,"right",G,1),K(V.body,H,"body",X,1),H}function ZS(J=null,G=null,X=null,H){let V={type:"ForStatement",init:J,test:G,update:X,body:H},Z=O.ForStatement;return K(Z.init,V,"init",J,1),K(Z.test,V,"test",G,1),K(Z.update,V,"update",X,1),K(Z.body,V,"body",H,1),V}function QS(J=null,G,X,H=!1,V=!1){let Z={type:"FunctionDeclaration",id:J,params:G,body:X,generator:H,async:V},Q=O.FunctionDeclaration;return K(Q.id,Z,"id",J,1),K(Q.params,Z,"params",G,1),K(Q.body,Z,"body",X,1),K(Q.generator,Z,"generator",H),K(Q.async,Z,"async",V),Z}function YS(J=null,G,X,H=!1,V=!1){let Z={type:"FunctionExpression",id:J,params:G,body:X,generator:H,async:V},Q=O.FunctionExpression;return K(Q.id,Z,"id",J,1),K(Q.params,Z,"params",G,1),K(Q.body,Z,"body",X,1),K(Q.generator,Z,"generator",H),K(Q.async,Z,"async",V),Z}function WS(J){let G={type:"Identifier",name:J},X=O.Identifier;return K(X.name,G,"name",J),G}function zS(J,G,X=null){let H={type:"IfStatement",test:J,consequent:G,alternate:X},V=O.IfStatement;return K(V.test,H,"test",J,1),K(V.consequent,H,"consequent",G,1),K(V.alternate,H,"alternate",X,1),H}function KS(J,G){let X={type:"LabeledStatement",label:J,body:G},H=O.LabeledStatement;return K(H.label,X,"label",J,1),K(H.body,X,"body",G,1),X}function US(J){let G={type:"StringLiteral",value:J},X=O.StringLiteral;return K(X.value,G,"value",J),G}function mX(J){let G={type:"NumericLiteral",value:J},X=O.NumericLiteral;return K(X.value,G,"value",J),G}function BS(){return{type:"NullLiteral"}}function RS(J){let G={type:"BooleanLiteral",value:J},X=O.BooleanLiteral;return K(X.value,G,"value",J),G}function cX(J,G=""){let X={type:"RegExpLiteral",pattern:J,flags:G},H=O.RegExpLiteral;return K(H.pattern,X,"pattern",J),K(H.flags,X,"flags",G),X}function $S(J,G,X){let H={type:"LogicalExpression",operator:J,left:G,right:X},V=O.LogicalExpression;return K(V.operator,H,"operator",J),K(V.left,H,"left",G,1),K(V.right,H,"right",X,1),H}function MS(J,G,X=!1,H=null){let V={type:"MemberExpression",object:J,property:G,computed:X,optional:H},Z=O.MemberExpression;return K(Z.object,V,"object",J,1),K(Z.property,V,"property",G,1),K(Z.computed,V,"computed",X),K(Z.optional,V,"optional",H),V}function qS(J,G){let X={type:"NewExpression",callee:J,arguments:G},H=O.NewExpression;return K(H.callee,X,"callee",J,1),K(H.arguments,X,"arguments",G,1),X}function FS(J,G=[],X="script",H=null){let V={type:"Program",body:J,directives:G,sourceType:X,interpreter:H},Z=O.Program;return K(Z.body,V,"body",J,1),K(Z.directives,V,"directives",G,1),K(Z.sourceType,V,"sourceType",X),K(Z.interpreter,V,"interpreter",H,1),V}function jS(J){let G={type:"ObjectExpression",properties:J},X=O.ObjectExpression;return K(X.properties,G,"properties",J,1),G}function OS(J="method",G,X,H,V=!1,Z=!1,Q=!1){let Y={type:"ObjectMethod",kind:J,key:G,params:X,body:H,computed:V,generator:Z,async:Q},W=O.ObjectMethod;return K(W.kind,Y,"kind",J),K(W.key,Y,"key",G,1),K(W.params,Y,"params",X,1),K(W.body,Y,"body",H,1),K(W.computed,Y,"computed",V),K(W.generator,Y,"generator",Z),K(W.async,Y,"async",Q),Y}function AS(J,G,X=!1,H=!1,V=null){let Z={type:"ObjectProperty",key:J,value:G,computed:X,shorthand:H,decorators:V},Q=O.ObjectProperty;return K(Q.key,Z,"key",J,1),K(Q.value,Z,"value",G,1),K(Q.computed,Z,"computed",X),K(Q.shorthand,Z,"shorthand",H),K(Q.decorators,Z,"decorators",V,1),Z}function lX(J){let G={type:"RestElement",argument:J},X=O.RestElement;return K(X.argument,G,"argument",J,1),G}function CS(J=null){let G={type:"ReturnStatement",argument:J},X=O.ReturnStatement;return K(X.argument,G,"argument",J,1),G}function DS(J){let G={type:"SequenceExpression",expressions:J},X=O.SequenceExpression;return K(X.expressions,G,"expressions",J,1),G}function SS(J){let G={type:"ParenthesizedExpression",expression:J},X=O.ParenthesizedExpression;return K(X.expression,G,"expression",J,1),G}function IS(J=null,G){let X={type:"SwitchCase",test:J,consequent:G},H=O.SwitchCase;return K(H.test,X,"test",J,1),K(H.consequent,X,"consequent",G,1),X}function PS(J,G){let X={type:"SwitchStatement",discriminant:J,cases:G},H=O.SwitchStatement;return K(H.discriminant,X,"discriminant",J,1),K(H.cases,X,"cases",G,1),X}function fS(){return{type:"ThisExpression"}}function NS(J){let G={type:"ThrowStatement",argument:J},X=O.ThrowStatement;return K(X.argument,G,"argument",J,1),G}function TS(J,G=null,X=null){let H={type:"TryStatement",block:J,handler:G,finalizer:X},V=O.TryStatement;return K(V.block,H,"block",J,1),K(V.handler,H,"handler",G,1),K(V.finalizer,H,"finalizer",X,1),H}function wS(J,G,X=!0){let H={type:"UnaryExpression",operator:J,argument:G,prefix:X},V=O.UnaryExpression;return K(V.operator,H,"operator",J),K(V.argument,H,"argument",G,1),K(V.prefix,H,"prefix",X),H}function LS(J,G,X=!1){let H={type:"UpdateExpression",operator:J,argument:G,prefix:X},V=O.UpdateExpression;return K(V.operator,H,"operator",J),K(V.argument,H,"argument",G,1),K(V.prefix,H,"prefix",X),H}function kS(J,G){let X={type:"VariableDeclaration",kind:J,declarations:G},H=O.VariableDeclaration;return K(H.kind,X,"kind",J),K(H.declarations,X,"declarations",G,1),X}function bS(J,G=null){let X={type:"VariableDeclarator",id:J,init:G},H=O.VariableDeclarator;return K(H.id,X,"id",J,1),K(H.init,X,"init",G,1),X}function ES(J,G){let X={type:"WhileStatement",test:J,body:G},H=O.WhileStatement;return K(H.test,X,"test",J,1),K(H.body,X,"body",G,1),X}function vS(J,G){let X={type:"WithStatement",object:J,body:G},H=O.WithStatement;return K(H.object,X,"object",J,1),K(H.body,X,"body",G,1),X}function gS(J,G){let X={type:"AssignmentPattern",left:J,right:G},H=O.AssignmentPattern;return K(H.left,X,"left",J,1),K(H.right,X,"right",G,1),X}function _S(J){let G={type:"ArrayPattern",elements:J},X=O.ArrayPattern;return K(X.elements,G,"elements",J,1),G}function uS(J,G,X=!1){let H={type:"ArrowFunctionExpression",params:J,body:G,async:X,expression:null},V=O.ArrowFunctionExpression;return K(V.params,H,"params",J,1),K(V.body,H,"body",G,1),K(V.async,H,"async",X),H}function hS(J){let G={type:"ClassBody",body:J},X=O.ClassBody;return K(X.body,G,"body",J,1),G}function yS(J=null,G=null,X,H=null){let V={type:"ClassExpression",id:J,superClass:G,body:X,decorators:H},Z=O.ClassExpression;return K(Z.id,V,"id",J,1),K(Z.superClass,V,"superClass",G,1),K(Z.body,V,"body",X,1),K(Z.decorators,V,"decorators",H,1),V}function xS(J=null,G=null,X,H=null){let V={type:"ClassDeclaration",id:J,superClass:G,body:X,decorators:H},Z=O.ClassDeclaration;return K(Z.id,V,"id",J,1),K(Z.superClass,V,"superClass",G,1),K(Z.body,V,"body",X,1),K(Z.decorators,V,"decorators",H,1),V}function mS(J){let G={type:"ExportAllDeclaration",source:J},X=O.ExportAllDeclaration;return K(X.source,G,"source",J,1),G}function cS(J){let G={type:"ExportDefaultDeclaration",declaration:J},X=O.ExportDefaultDeclaration;return K(X.declaration,G,"declaration",J,1),G}function lS(J=null,G=[],X=null){let H={type:"ExportNamedDeclaration",declaration:J,specifiers:G,source:X},V=O.ExportNamedDeclaration;return K(V.declaration,H,"declaration",J,1),K(V.specifiers,H,"specifiers",G,1),K(V.source,H,"source",X,1),H}function iS(J,G){let X={type:"ExportSpecifier",local:J,exported:G},H=O.ExportSpecifier;return K(H.local,X,"local",J,1),K(H.exported,X,"exported",G,1),X}function aS(J,G,X,H=!1){let V={type:"ForOfStatement",left:J,right:G,body:X,await:H},Z=O.ForOfStatement;return K(Z.left,V,"left",J,1),K(Z.right,V,"right",G,1),K(Z.body,V,"body",X,1),K(Z.await,V,"await",H),V}function pS(J,G){let X={type:"ImportDeclaration",specifiers:J,source:G},H=O.ImportDeclaration;return K(H.specifiers,X,"specifiers",J,1),K(H.source,X,"source",G,1),X}function rS(J){let G={type:"ImportDefaultSpecifier",local:J},X=O.ImportDefaultSpecifier;return K(X.local,G,"local",J,1),G}function dS(J){let G={type:"ImportNamespaceSpecifier",local:J},X=O.ImportNamespaceSpecifier;return K(X.local,G,"local",J,1),G}function sS(J,G){let X={type:"ImportSpecifier",local:J,imported:G},H=O.ImportSpecifier;return K(H.local,X,"local",J,1),K(H.imported,X,"imported",G,1),X}function tS(J,G=null){let X={type:"ImportExpression",source:J,options:G},H=O.ImportExpression;return K(H.source,X,"source",J,1),K(H.options,X,"options",G,1),X}function nS(J,G){let X={type:"MetaProperty",meta:J,property:G},H=O.MetaProperty;return K(H.meta,X,"meta",J,1),K(H.property,X,"property",G,1),X}function oS(J="method",G,X,H,V=!1,Z=!1,Q=!1,Y=!1){let W={type:"ClassMethod",kind:J,key:G,params:X,body:H,computed:V,static:Z,generator:Q,async:Y},z=O.ClassMethod;return K(z.kind,W,"kind",J),K(z.key,W,"key",G,1),K(z.params,W,"params",X,1),K(z.body,W,"body",H,1),K(z.computed,W,"computed",V),K(z.static,W,"static",Z),K(z.generator,W,"generator",Q),K(z.async,W,"async",Y),W}function eS(J){let G={type:"ObjectPattern",properties:J},X=O.ObjectPattern;return K(X.properties,G,"properties",J,1),G}function iX(J){let G={type:"SpreadElement",argument:J},X=O.SpreadElement;return K(X.argument,G,"argument",J,1),G}function JI(){return{type:"Super"}}function GI(J,G){let X={type:"TaggedTemplateExpression",tag:J,quasi:G},H=O.TaggedTemplateExpression;return K(H.tag,X,"tag",J,1),K(H.quasi,X,"quasi",G,1),X}function XI(J,G=!1){let X={type:"TemplateElement",value:J,tail:G},H=O.TemplateElement;return K(H.value,X,"value",J),K(H.tail,X,"tail",G),X}function HI(J,G){let X={type:"TemplateLiteral",quasis:J,expressions:G},H=O.TemplateLiteral;return K(H.quasis,X,"quasis",J,1),K(H.expressions,X,"expressions",G,1),X}function VI(J=null,G=!1){let X={type:"YieldExpression",argument:J,delegate:G},H=O.YieldExpression;return K(H.argument,X,"argument",J,1),K(H.delegate,X,"delegate",G),X}function ZI(J){let G={type:"AwaitExpression",argument:J},X=O.AwaitExpression;return K(X.argument,G,"argument",J,1),G}function QI(){return{type:"Import"}}function YI(J){let G={type:"BigIntLiteral",value:J},X=O.BigIntLiteral;return K(X.value,G,"value",J),G}function WI(J){let G={type:"ExportNamespaceSpecifier",exported:J},X=O.ExportNamespaceSpecifier;return K(X.exported,G,"exported",J,1),G}function zI(J,G,X=!1,H){let V={type:"OptionalMemberExpression",object:J,property:G,computed:X,optional:H},Z=O.OptionalMemberExpression;return K(Z.object,V,"object",J,1),K(Z.property,V,"property",G,1),K(Z.computed,V,"computed",X),K(Z.optional,V,"optional",H),V}function KI(J,G,X){let H={type:"OptionalCallExpression",callee:J,arguments:G,optional:X},V=O.OptionalCallExpression;return K(V.callee,H,"callee",J,1),K(V.arguments,H,"arguments",G,1),K(V.optional,H,"optional",X),H}function UI(J,G=null,X=null,H=null,V=!1,Z=!1){let Q={type:"ClassProperty",key:J,value:G,typeAnnotation:X,decorators:H,computed:V,static:Z},Y=O.ClassProperty;return K(Y.key,Q,"key",J,1),K(Y.value,Q,"value",G,1),K(Y.typeAnnotation,Q,"typeAnnotation",X,1),K(Y.decorators,Q,"decorators",H,1),K(Y.computed,Q,"computed",V),K(Y.static,Q,"static",Z),Q}function BI(J,G=null,X=null,H=null,V=!1,Z=!1){let Q={type:"ClassAccessorProperty",key:J,value:G,typeAnnotation:X,decorators:H,computed:V,static:Z},Y=O.ClassAccessorProperty;return K(Y.key,Q,"key",J,1),K(Y.value,Q,"value",G,1),K(Y.typeAnnotation,Q,"typeAnnotation",X,1),K(Y.decorators,Q,"decorators",H,1),K(Y.computed,Q,"computed",V),K(Y.static,Q,"static",Z),Q}function RI(J,G=null,X=null,H=!1){let V={type:"ClassPrivateProperty",key:J,value:G,decorators:X,static:H},Z=O.ClassPrivateProperty;return K(Z.key,V,"key",J,1),K(Z.value,V,"value",G,1),K(Z.decorators,V,"decorators",X,1),K(Z.static,V,"static",H),V}function $I(J="method",G,X,H,V=!1){let Z={type:"ClassPrivateMethod",kind:J,key:G,params:X,body:H,static:V},Q=O.ClassPrivateMethod;return K(Q.kind,Z,"kind",J),K(Q.key,Z,"key",G,1),K(Q.params,Z,"params",X,1),K(Q.body,Z,"body",H,1),K(Q.static,Z,"static",V),Z}function MI(J){let G={type:"PrivateName",id:J},X=O.PrivateName;return K(X.id,G,"id",J,1),G}function qI(J){let G={type:"StaticBlock",body:J},X=O.StaticBlock;return K(X.body,G,"body",J,1),G}function FI(){return{type:"AnyTypeAnnotation"}}function jI(J){let G={type:"ArrayTypeAnnotation",elementType:J},X=O.ArrayTypeAnnotation;return K(X.elementType,G,"elementType",J,1),G}function OI(){return{type:"BooleanTypeAnnotation"}}function AI(J){let G={type:"BooleanLiteralTypeAnnotation",value:J},X=O.BooleanLiteralTypeAnnotation;return K(X.value,G,"value",J),G}function CI(){return{type:"NullLiteralTypeAnnotation"}}function DI(J,G=null){let X={type:"ClassImplements",id:J,typeParameters:G},H=O.ClassImplements;return K(H.id,X,"id",J,1),K(H.typeParameters,X,"typeParameters",G,1),X}function SI(J,G=null,X=null,H){let V={type:"DeclareClass",id:J,typeParameters:G,extends:X,body:H},Z=O.DeclareClass;return K(Z.id,V,"id",J,1),K(Z.typeParameters,V,"typeParameters",G,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function II(J){let G={type:"DeclareFunction",id:J},X=O.DeclareFunction;return K(X.id,G,"id",J,1),G}function PI(J,G=null,X=null,H){let V={type:"DeclareInterface",id:J,typeParameters:G,extends:X,body:H},Z=O.DeclareInterface;return K(Z.id,V,"id",J,1),K(Z.typeParameters,V,"typeParameters",G,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function fI(J,G,X=null){let H={type:"DeclareModule",id:J,body:G,kind:X},V=O.DeclareModule;return K(V.id,H,"id",J,1),K(V.body,H,"body",G,1),K(V.kind,H,"kind",X),H}function NI(J){let G={type:"DeclareModuleExports",typeAnnotation:J},X=O.DeclareModuleExports;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function TI(J,G=null,X){let H={type:"DeclareTypeAlias",id:J,typeParameters:G,right:X},V=O.DeclareTypeAlias;return K(V.id,H,"id",J,1),K(V.typeParameters,H,"typeParameters",G,1),K(V.right,H,"right",X,1),H}function wI(J,G=null,X=null){let H={type:"DeclareOpaqueType",id:J,typeParameters:G,supertype:X},V=O.DeclareOpaqueType;return K(V.id,H,"id",J,1),K(V.typeParameters,H,"typeParameters",G,1),K(V.supertype,H,"supertype",X,1),H}function LI(J){let G={type:"DeclareVariable",id:J},X=O.DeclareVariable;return K(X.id,G,"id",J,1),G}function kI(J=null,G=null,X=null){let H={type:"DeclareExportDeclaration",declaration:J,specifiers:G,source:X},V=O.DeclareExportDeclaration;return K(V.declaration,H,"declaration",J,1),K(V.specifiers,H,"specifiers",G,1),K(V.source,H,"source",X,1),H}function bI(J){let G={type:"DeclareExportAllDeclaration",source:J},X=O.DeclareExportAllDeclaration;return K(X.source,G,"source",J,1),G}function EI(J){let G={type:"DeclaredPredicate",value:J},X=O.DeclaredPredicate;return K(X.value,G,"value",J,1),G}function vI(){return{type:"ExistsTypeAnnotation"}}function gI(J=null,G,X=null,H){let V={type:"FunctionTypeAnnotation",typeParameters:J,params:G,rest:X,returnType:H},Z=O.FunctionTypeAnnotation;return K(Z.typeParameters,V,"typeParameters",J,1),K(Z.params,V,"params",G,1),K(Z.rest,V,"rest",X,1),K(Z.returnType,V,"returnType",H,1),V}function _I(J=null,G){let X={type:"FunctionTypeParam",name:J,typeAnnotation:G},H=O.FunctionTypeParam;return K(H.name,X,"name",J,1),K(H.typeAnnotation,X,"typeAnnotation",G,1),X}function uI(J,G=null){let X={type:"GenericTypeAnnotation",id:J,typeParameters:G},H=O.GenericTypeAnnotation;return K(H.id,X,"id",J,1),K(H.typeParameters,X,"typeParameters",G,1),X}function hI(){return{type:"InferredPredicate"}}function yI(J,G=null){let X={type:"InterfaceExtends",id:J,typeParameters:G},H=O.InterfaceExtends;return K(H.id,X,"id",J,1),K(H.typeParameters,X,"typeParameters",G,1),X}function xI(J,G=null,X=null,H){let V={type:"InterfaceDeclaration",id:J,typeParameters:G,extends:X,body:H},Z=O.InterfaceDeclaration;return K(Z.id,V,"id",J,1),K(Z.typeParameters,V,"typeParameters",G,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function mI(J=null,G){let X={type:"InterfaceTypeAnnotation",extends:J,body:G},H=O.InterfaceTypeAnnotation;return K(H.extends,X,"extends",J,1),K(H.body,X,"body",G,1),X}function cI(J){let G={type:"IntersectionTypeAnnotation",types:J},X=O.IntersectionTypeAnnotation;return K(X.types,G,"types",J,1),G}function lI(){return{type:"MixedTypeAnnotation"}}function iI(){return{type:"EmptyTypeAnnotation"}}function aI(J){let G={type:"NullableTypeAnnotation",typeAnnotation:J},X=O.NullableTypeAnnotation;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function pI(J){let G={type:"NumberLiteralTypeAnnotation",value:J},X=O.NumberLiteralTypeAnnotation;return K(X.value,G,"value",J),G}function rI(){return{type:"NumberTypeAnnotation"}}function dI(J,G=[],X=[],H=[],V=!1){let Z={type:"ObjectTypeAnnotation",properties:J,indexers:G,callProperties:X,internalSlots:H,exact:V},Q=O.ObjectTypeAnnotation;return K(Q.properties,Z,"properties",J,1),K(Q.indexers,Z,"indexers",G,1),K(Q.callProperties,Z,"callProperties",X,1),K(Q.internalSlots,Z,"internalSlots",H,1),K(Q.exact,Z,"exact",V),Z}function sI(J,G,X,H,V){let Z={type:"ObjectTypeInternalSlot",id:J,value:G,optional:X,static:H,method:V},Q=O.ObjectTypeInternalSlot;return K(Q.id,Z,"id",J,1),K(Q.value,Z,"value",G,1),K(Q.optional,Z,"optional",X),K(Q.static,Z,"static",H),K(Q.method,Z,"method",V),Z}function tI(J){let G={type:"ObjectTypeCallProperty",value:J,static:null},X=O.ObjectTypeCallProperty;return K(X.value,G,"value",J,1),G}function nI(J=null,G,X,H=null){let V={type:"ObjectTypeIndexer",id:J,key:G,value:X,variance:H,static:null},Z=O.ObjectTypeIndexer;return K(Z.id,V,"id",J,1),K(Z.key,V,"key",G,1),K(Z.value,V,"value",X,1),K(Z.variance,V,"variance",H,1),V}function oI(J,G,X=null){let H={type:"ObjectTypeProperty",key:J,value:G,variance:X,kind:null,method:null,optional:null,proto:null,static:null},V=O.ObjectTypeProperty;return K(V.key,H,"key",J,1),K(V.value,H,"value",G,1),K(V.variance,H,"variance",X,1),H}function eI(J){let G={type:"ObjectTypeSpreadProperty",argument:J},X=O.ObjectTypeSpreadProperty;return K(X.argument,G,"argument",J,1),G}function JP(J,G=null,X=null,H){let V={type:"OpaqueType",id:J,typeParameters:G,supertype:X,impltype:H},Z=O.OpaqueType;return K(Z.id,V,"id",J,1),K(Z.typeParameters,V,"typeParameters",G,1),K(Z.supertype,V,"supertype",X,1),K(Z.impltype,V,"impltype",H,1),V}function GP(J,G){let X={type:"QualifiedTypeIdentifier",id:J,qualification:G},H=O.QualifiedTypeIdentifier;return K(H.id,X,"id",J,1),K(H.qualification,X,"qualification",G,1),X}function XP(J){let G={type:"StringLiteralTypeAnnotation",value:J},X=O.StringLiteralTypeAnnotation;return K(X.value,G,"value",J),G}function HP(){return{type:"StringTypeAnnotation"}}function VP(){return{type:"SymbolTypeAnnotation"}}function ZP(){return{type:"ThisTypeAnnotation"}}function QP(J){let G={type:"TupleTypeAnnotation",types:J},X=O.TupleTypeAnnotation;return K(X.types,G,"types",J,1),G}function YP(J){let G={type:"TypeofTypeAnnotation",argument:J},X=O.TypeofTypeAnnotation;return K(X.argument,G,"argument",J,1),G}function WP(J,G=null,X){let H={type:"TypeAlias",id:J,typeParameters:G,right:X},V=O.TypeAlias;return K(V.id,H,"id",J,1),K(V.typeParameters,H,"typeParameters",G,1),K(V.right,H,"right",X,1),H}function zP(J){let G={type:"TypeAnnotation",typeAnnotation:J},X=O.TypeAnnotation;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function KP(J,G){let X={type:"TypeCastExpression",expression:J,typeAnnotation:G},H=O.TypeCastExpression;return K(H.expression,X,"expression",J,1),K(H.typeAnnotation,X,"typeAnnotation",G,1),X}function UP(J=null,G=null,X=null){let H={type:"TypeParameter",bound:J,default:G,variance:X,name:null},V=O.TypeParameter;return K(V.bound,H,"bound",J,1),K(V.default,H,"default",G,1),K(V.variance,H,"variance",X,1),H}function BP(J){let G={type:"TypeParameterDeclaration",params:J},X=O.TypeParameterDeclaration;return K(X.params,G,"params",J,1),G}function RP(J){let G={type:"TypeParameterInstantiation",params:J},X=O.TypeParameterInstantiation;return K(X.params,G,"params",J,1),G}function $P(J){let G={type:"UnionTypeAnnotation",types:J},X=O.UnionTypeAnnotation;return K(X.types,G,"types",J,1),G}function MP(J){let G={type:"Variance",kind:J},X=O.Variance;return K(X.kind,G,"kind",J),G}function qP(){return{type:"VoidTypeAnnotation"}}function FP(J,G){let X={type:"EnumDeclaration",id:J,body:G},H=O.EnumDeclaration;return K(H.id,X,"id",J,1),K(H.body,X,"body",G,1),X}function jP(J){let G={type:"EnumBooleanBody",members:J,explicitType:null,hasUnknownMembers:null},X=O.EnumBooleanBody;return K(X.members,G,"members",J,1),G}function OP(J){let G={type:"EnumNumberBody",members:J,explicitType:null,hasUnknownMembers:null},X=O.EnumNumberBody;return K(X.members,G,"members",J,1),G}function AP(J){let G={type:"EnumStringBody",members:J,explicitType:null,hasUnknownMembers:null},X=O.EnumStringBody;return K(X.members,G,"members",J,1),G}function CP(J){let G={type:"EnumSymbolBody",members:J,hasUnknownMembers:null},X=O.EnumSymbolBody;return K(X.members,G,"members",J,1),G}function DP(J){let G={type:"EnumBooleanMember",id:J,init:null},X=O.EnumBooleanMember;return K(X.id,G,"id",J,1),G}function SP(J,G){let X={type:"EnumNumberMember",id:J,init:G},H=O.EnumNumberMember;return K(H.id,X,"id",J,1),K(H.init,X,"init",G,1),X}function IP(J,G){let X={type:"EnumStringMember",id:J,init:G},H=O.EnumStringMember;return K(H.id,X,"id",J,1),K(H.init,X,"init",G,1),X}function PP(J){let G={type:"EnumDefaultedMember",id:J},X=O.EnumDefaultedMember;return K(X.id,G,"id",J,1),G}function fP(J,G){let X={type:"IndexedAccessType",objectType:J,indexType:G},H=O.IndexedAccessType;return K(H.objectType,X,"objectType",J,1),K(H.indexType,X,"indexType",G,1),X}function NP(J,G){let X={type:"OptionalIndexedAccessType",objectType:J,indexType:G,optional:null},H=O.OptionalIndexedAccessType;return K(H.objectType,X,"objectType",J,1),K(H.indexType,X,"indexType",G,1),X}function TP(J,G=null){let X={type:"JSXAttribute",name:J,value:G},H=O.JSXAttribute;return K(H.name,X,"name",J,1),K(H.value,X,"value",G,1),X}function wP(J){let G={type:"JSXClosingElement",name:J},X=O.JSXClosingElement;return K(X.name,G,"name",J,1),G}function LP(J,G=null,X,H=null){let V={type:"JSXElement",openingElement:J,closingElement:G,children:X,selfClosing:H},Z=O.JSXElement;return K(Z.openingElement,V,"openingElement",J,1),K(Z.closingElement,V,"closingElement",G,1),K(Z.children,V,"children",X,1),K(Z.selfClosing,V,"selfClosing",H),V}function kP(){return{type:"JSXEmptyExpression"}}function bP(J){let G={type:"JSXExpressionContainer",expression:J},X=O.JSXExpressionContainer;return K(X.expression,G,"expression",J,1),G}function EP(J){let G={type:"JSXSpreadChild",expression:J},X=O.JSXSpreadChild;return K(X.expression,G,"expression",J,1),G}function vP(J){let G={type:"JSXIdentifier",name:J},X=O.JSXIdentifier;return K(X.name,G,"name",J),G}function gP(J,G){let X={type:"JSXMemberExpression",object:J,property:G},H=O.JSXMemberExpression;return K(H.object,X,"object",J,1),K(H.property,X,"property",G,1),X}function _P(J,G){let X={type:"JSXNamespacedName",namespace:J,name:G},H=O.JSXNamespacedName;return K(H.namespace,X,"namespace",J,1),K(H.name,X,"name",G,1),X}function uP(J,G,X=!1){let H={type:"JSXOpeningElement",name:J,attributes:G,selfClosing:X},V=O.JSXOpeningElement;return K(V.name,H,"name",J,1),K(V.attributes,H,"attributes",G,1),K(V.selfClosing,H,"selfClosing",X),H}function hP(J){let G={type:"JSXSpreadAttribute",argument:J},X=O.JSXSpreadAttribute;return K(X.argument,G,"argument",J,1),G}function yP(J){let G={type:"JSXText",value:J},X=O.JSXText;return K(X.value,G,"value",J),G}function xP(J,G,X){let H={type:"JSXFragment",openingFragment:J,closingFragment:G,children:X},V=O.JSXFragment;return K(V.openingFragment,H,"openingFragment",J,1),K(V.closingFragment,H,"closingFragment",G,1),K(V.children,H,"children",X,1),H}function mP(){return{type:"JSXOpeningFragment"}}function cP(){return{type:"JSXClosingFragment"}}function lP(){return{type:"Noop"}}function iP(J,G){let X={type:"Placeholder",expectedNode:J,name:G},H=O.Placeholder;return K(H.expectedNode,X,"expectedNode",J),K(H.name,X,"name",G,1),X}function aP(J){let G={type:"V8IntrinsicIdentifier",name:J},X=O.V8IntrinsicIdentifier;return K(X.name,G,"name",J),G}function pP(){return{type:"ArgumentPlaceholder"}}function rP(J,G){let X={type:"BindExpression",object:J,callee:G},H=O.BindExpression;return K(H.object,X,"object",J,1),K(H.callee,X,"callee",G,1),X}function dP(J,G){let X={type:"ImportAttribute",key:J,value:G},H=O.ImportAttribute;return K(H.key,X,"key",J,1),K(H.value,X,"value",G,1),X}function sP(J){let G={type:"Decorator",expression:J},X=O.Decorator;return K(X.expression,G,"expression",J,1),G}function tP(J,G=!1){let X={type:"DoExpression",body:J,async:G},H=O.DoExpression;return K(H.body,X,"body",J,1),K(H.async,X,"async",G),X}function nP(J){let G={type:"ExportDefaultSpecifier",exported:J},X=O.ExportDefaultSpecifier;return K(X.exported,G,"exported",J,1),G}function oP(J){let G={type:"RecordExpression",properties:J},X=O.RecordExpression;return K(X.properties,G,"properties",J,1),G}function eP(J=[]){let G={type:"TupleExpression",elements:J},X=O.TupleExpression;return K(X.elements,G,"elements",J,1),G}function Jf(J){let G={type:"DecimalLiteral",value:J},X=O.DecimalLiteral;return K(X.value,G,"value",J),G}function Gf(J){let G={type:"ModuleExpression",body:J},X=O.ModuleExpression;return K(X.body,G,"body",J,1),G}function Xf(){return{type:"TopicReference"}}function Hf(J){let G={type:"PipelineTopicExpression",expression:J},X=O.PipelineTopicExpression;return K(X.expression,G,"expression",J,1),G}function Vf(J){let G={type:"PipelineBareFunction",callee:J},X=O.PipelineBareFunction;return K(X.callee,G,"callee",J,1),G}function Zf(){return{type:"PipelinePrimaryTopicReference"}}function Qf(J){let G={type:"TSParameterProperty",parameter:J},X=O.TSParameterProperty;return K(X.parameter,G,"parameter",J,1),G}function Yf(J=null,G=null,X,H=null){let V={type:"TSDeclareFunction",id:J,typeParameters:G,params:X,returnType:H},Z=O.TSDeclareFunction;return K(Z.id,V,"id",J,1),K(Z.typeParameters,V,"typeParameters",G,1),K(Z.params,V,"params",X,1),K(Z.returnType,V,"returnType",H,1),V}function Wf(J=null,G,X=null,H,V=null){let Z={type:"TSDeclareMethod",decorators:J,key:G,typeParameters:X,params:H,returnType:V},Q=O.TSDeclareMethod;return K(Q.decorators,Z,"decorators",J,1),K(Q.key,Z,"key",G,1),K(Q.typeParameters,Z,"typeParameters",X,1),K(Q.params,Z,"params",H,1),K(Q.returnType,Z,"returnType",V,1),Z}function zf(J,G){let X={type:"TSQualifiedName",left:J,right:G},H=O.TSQualifiedName;return K(H.left,X,"left",J,1),K(H.right,X,"right",G,1),X}function Kf(J=null,G,X=null){let H={type:"TSCallSignatureDeclaration",typeParameters:J,parameters:G,typeAnnotation:X},V=O.TSCallSignatureDeclaration;return K(V.typeParameters,H,"typeParameters",J,1),K(V.parameters,H,"parameters",G,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function Uf(J=null,G,X=null){let H={type:"TSConstructSignatureDeclaration",typeParameters:J,parameters:G,typeAnnotation:X},V=O.TSConstructSignatureDeclaration;return K(V.typeParameters,H,"typeParameters",J,1),K(V.parameters,H,"parameters",G,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function Bf(J,G=null){let X={type:"TSPropertySignature",key:J,typeAnnotation:G,kind:null},H=O.TSPropertySignature;return K(H.key,X,"key",J,1),K(H.typeAnnotation,X,"typeAnnotation",G,1),X}function Rf(J,G=null,X,H=null){let V={type:"TSMethodSignature",key:J,typeParameters:G,parameters:X,typeAnnotation:H,kind:null},Z=O.TSMethodSignature;return K(Z.key,V,"key",J,1),K(Z.typeParameters,V,"typeParameters",G,1),K(Z.parameters,V,"parameters",X,1),K(Z.typeAnnotation,V,"typeAnnotation",H,1),V}function $f(J,G=null){let X={type:"TSIndexSignature",parameters:J,typeAnnotation:G},H=O.TSIndexSignature;return K(H.parameters,X,"parameters",J,1),K(H.typeAnnotation,X,"typeAnnotation",G,1),X}function Mf(){return{type:"TSAnyKeyword"}}function qf(){return{type:"TSBooleanKeyword"}}function Ff(){return{type:"TSBigIntKeyword"}}function jf(){return{type:"TSIntrinsicKeyword"}}function Of(){return{type:"TSNeverKeyword"}}function Af(){return{type:"TSNullKeyword"}}function Cf(){return{type:"TSNumberKeyword"}}function Df(){return{type:"TSObjectKeyword"}}function Sf(){return{type:"TSStringKeyword"}}function If(){return{type:"TSSymbolKeyword"}}function Pf(){return{type:"TSUndefinedKeyword"}}function ff(){return{type:"TSUnknownKeyword"}}function Nf(){return{type:"TSVoidKeyword"}}function Tf(){return{type:"TSThisType"}}function wf(J=null,G,X=null){let H={type:"TSFunctionType",typeParameters:J,parameters:G,typeAnnotation:X},V=O.TSFunctionType;return K(V.typeParameters,H,"typeParameters",J,1),K(V.parameters,H,"parameters",G,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function Lf(J=null,G,X=null){let H={type:"TSConstructorType",typeParameters:J,parameters:G,typeAnnotation:X},V=O.TSConstructorType;return K(V.typeParameters,H,"typeParameters",J,1),K(V.parameters,H,"parameters",G,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function kf(J,G=null){let X={type:"TSTypeReference",typeName:J,typeParameters:G},H=O.TSTypeReference;return K(H.typeName,X,"typeName",J,1),K(H.typeParameters,X,"typeParameters",G,1),X}function bf(J,G=null,X=null){let H={type:"TSTypePredicate",parameterName:J,typeAnnotation:G,asserts:X},V=O.TSTypePredicate;return K(V.parameterName,H,"parameterName",J,1),K(V.typeAnnotation,H,"typeAnnotation",G,1),K(V.asserts,H,"asserts",X),H}function Ef(J,G=null){let X={type:"TSTypeQuery",exprName:J,typeParameters:G},H=O.TSTypeQuery;return K(H.exprName,X,"exprName",J,1),K(H.typeParameters,X,"typeParameters",G,1),X}function vf(J){let G={type:"TSTypeLiteral",members:J},X=O.TSTypeLiteral;return K(X.members,G,"members",J,1),G}function gf(J){let G={type:"TSArrayType",elementType:J},X=O.TSArrayType;return K(X.elementType,G,"elementType",J,1),G}function _f(J){let G={type:"TSTupleType",elementTypes:J},X=O.TSTupleType;return K(X.elementTypes,G,"elementTypes",J,1),G}function uf(J){let G={type:"TSOptionalType",typeAnnotation:J},X=O.TSOptionalType;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function hf(J){let G={type:"TSRestType",typeAnnotation:J},X=O.TSRestType;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function yf(J,G,X=!1){let H={type:"TSNamedTupleMember",label:J,elementType:G,optional:X},V=O.TSNamedTupleMember;return K(V.label,H,"label",J,1),K(V.elementType,H,"elementType",G,1),K(V.optional,H,"optional",X),H}function xf(J){let G={type:"TSUnionType",types:J},X=O.TSUnionType;return K(X.types,G,"types",J,1),G}function mf(J){let G={type:"TSIntersectionType",types:J},X=O.TSIntersectionType;return K(X.types,G,"types",J,1),G}function cf(J,G,X,H){let V={type:"TSConditionalType",checkType:J,extendsType:G,trueType:X,falseType:H},Z=O.TSConditionalType;return K(Z.checkType,V,"checkType",J,1),K(Z.extendsType,V,"extendsType",G,1),K(Z.trueType,V,"trueType",X,1),K(Z.falseType,V,"falseType",H,1),V}function lf(J){let G={type:"TSInferType",typeParameter:J},X=O.TSInferType;return K(X.typeParameter,G,"typeParameter",J,1),G}function af(J){let G={type:"TSParenthesizedType",typeAnnotation:J},X=O.TSParenthesizedType;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function pf(J){let G={type:"TSTypeOperator",typeAnnotation:J,operator:null},X=O.TSTypeOperator;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function rf(J,G){let X={type:"TSIndexedAccessType",objectType:J,indexType:G},H=O.TSIndexedAccessType;return K(H.objectType,X,"objectType",J,1),K(H.indexType,X,"indexType",G,1),X}function df(J,G=null,X=null){let H={type:"TSMappedType",typeParameter:J,typeAnnotation:G,nameType:X},V=O.TSMappedType;return K(V.typeParameter,H,"typeParameter",J,1),K(V.typeAnnotation,H,"typeAnnotation",G,1),K(V.nameType,H,"nameType",X,1),H}function sf(J){let G={type:"TSLiteralType",literal:J},X=O.TSLiteralType;return K(X.literal,G,"literal",J,1),G}function tf(J,G=null){let X={type:"TSExpressionWithTypeArguments",expression:J,typeParameters:G},H=O.TSExpressionWithTypeArguments;return K(H.expression,X,"expression",J,1),K(H.typeParameters,X,"typeParameters",G,1),X}function nf(J,G=null,X=null,H){let V={type:"TSInterfaceDeclaration",id:J,typeParameters:G,extends:X,body:H},Z=O.TSInterfaceDeclaration;return K(Z.id,V,"id",J,1),K(Z.typeParameters,V,"typeParameters",G,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function of(J){let G={type:"TSInterfaceBody",body:J},X=O.TSInterfaceBody;return K(X.body,G,"body",J,1),G}function ef(J,G=null,X){let H={type:"TSTypeAliasDeclaration",id:J,typeParameters:G,typeAnnotation:X},V=O.TSTypeAliasDeclaration;return K(V.id,H,"id",J,1),K(V.typeParameters,H,"typeParameters",G,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function JN(J,G=null){let X={type:"TSInstantiationExpression",expression:J,typeParameters:G},H=O.TSInstantiationExpression;return K(H.expression,X,"expression",J,1),K(H.typeParameters,X,"typeParameters",G,1),X}function GN(J,G){let X={type:"TSAsExpression",expression:J,typeAnnotation:G},H=O.TSAsExpression;return K(H.expression,X,"expression",J,1),K(H.typeAnnotation,X,"typeAnnotation",G,1),X}function XN(J,G){let X={type:"TSSatisfiesExpression",expression:J,typeAnnotation:G},H=O.TSSatisfiesExpression;return K(H.expression,X,"expression",J,1),K(H.typeAnnotation,X,"typeAnnotation",G,1),X}function HN(J,G){let X={type:"TSTypeAssertion",typeAnnotation:J,expression:G},H=O.TSTypeAssertion;return K(H.typeAnnotation,X,"typeAnnotation",J,1),K(H.expression,X,"expression",G,1),X}function VN(J,G){let X={type:"TSEnumDeclaration",id:J,members:G},H=O.TSEnumDeclaration;return K(H.id,X,"id",J,1),K(H.members,X,"members",G,1),X}function ZN(J,G=null){let X={type:"TSEnumMember",id:J,initializer:G},H=O.TSEnumMember;return K(H.id,X,"id",J,1),K(H.initializer,X,"initializer",G,1),X}function QN(J,G){let X={type:"TSModuleDeclaration",id:J,body:G},H=O.TSModuleDeclaration;return K(H.id,X,"id",J,1),K(H.body,X,"body",G,1),X}function YN(J){let G={type:"TSModuleBlock",body:J},X=O.TSModuleBlock;return K(X.body,G,"body",J,1),G}function WN(J,G=null,X=null){let H={type:"TSImportType",argument:J,qualifier:G,typeParameters:X},V=O.TSImportType;return K(V.argument,H,"argument",J,1),K(V.qualifier,H,"qualifier",G,1),K(V.typeParameters,H,"typeParameters",X,1),H}function zN(J,G){let X={type:"TSImportEqualsDeclaration",id:J,moduleReference:G,isExport:null},H=O.TSImportEqualsDeclaration;return K(H.id,X,"id",J,1),K(H.moduleReference,X,"moduleReference",G,1),X}function KN(J){let G={type:"TSExternalModuleReference",expression:J},X=O.TSExternalModuleReference;return K(X.expression,G,"expression",J,1),G}function UN(J){let G={type:"TSNonNullExpression",expression:J},X=O.TSNonNullExpression;return K(X.expression,G,"expression",J,1),G}function BN(J){let G={type:"TSExportAssignment",expression:J},X=O.TSExportAssignment;return K(X.expression,G,"expression",J,1),G}function RN(J){let G={type:"TSNamespaceExportDeclaration",id:J},X=O.TSNamespaceExportDeclaration;return K(X.id,G,"id",J,1),G}function $N(J){let G={type:"TSTypeAnnotation",typeAnnotation:J},X=O.TSTypeAnnotation;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function MN(J){let G={type:"TSTypeParameterInstantiation",params:J},X=O.TSTypeParameterInstantiation;return K(X.params,G,"params",J,1),G}function qN(J){let G={type:"TSTypeParameterDeclaration",params:J},X=O.TSTypeParameterDeclaration;return K(X.params,G,"params",J,1),G}function FN(J=null,G=null,X){let H={type:"TSTypeParameter",constraint:J,default:G,name:X},V=O.TSTypeParameter;return K(V.constraint,H,"constraint",J,1),K(V.default,H,"default",G,1),K(V.name,H,"name",X),H}function jN(J){return a5.default("NumberLiteral","NumericLiteral","The node type "),mX(J)}function ON(J,G=""){return a5.default("RegexLiteral","RegExpLiteral","The node type "),cX(J,G)}function AN(J){return a5.default("RestProperty","RestElement","The node type "),lX(J)}function CN(J){return a5.default("SpreadProperty","SpreadElement","The node type "),iX(J)}});var rX=C((pX)=>{Object.defineProperty(pX,"__esModule",{value:!0});pX.default=Wb;var Qb=c1(),Yb=W1();function Wb(J,G){let X=J.value.split(/\r\n|\n|\r/),H=0;for(let Z=0;Z<X.length;Z++)if(/[^ \t]/.exec(X[Z]))H=Z;let V="";for(let Z=0;Z<X.length;Z++){let Q=X[Z],Y=Z===0,W=Z===X.length-1,z=Z===H,U=Q.replace(/\t/g," ");if(!Y)U=U.replace(/^ +/,"");if(!W)U=U.replace(/ +$/,"");if(U){if(!z)U+=" ";V+=U}}if(V)G.push(Yb.inherits(Qb.stringLiteral(V),J))}});var sX=C((dX)=>{Object.defineProperty(dX,"__esModule",{value:!0});dX.default=Ub;var I4=w1(),Kb=rX();function Ub(J){let G=[];for(let X=0;X<J.children.length;X++){let H=J.children[X];if(I4.isJSXText(H)){Kb.default(H,G);continue}if(I4.isJSXExpressionContainer(H))H=H.expression;if(I4.isJSXEmptyExpression(H))continue;G.push(H)}return G}});var P4=C((tX)=>{Object.defineProperty(tX,"__esModule",{value:!0});tX.default=$b;var Rb=G2();function $b(J){return!!(J&&Rb.VISITOR_KEYS[J.type])}});var oX=C((nX)=>{Object.defineProperty(nX,"__esModule",{value:!0});nX.default=Fb;var qb=P4();function Fb(J){if(!qb.default(J)){var G;let X=(G=J==null?void 0:J.type)!=null?G:JSON.stringify(J);throw new TypeError(`Not a valid node of type "${X}"`)}}});var J6=C((eX)=>{Object.defineProperty(eX,"__esModule",{value:!0});eX.assertAccessor=vu;eX.assertAnyTypeAnnotation=Jv;eX.assertArgumentPlaceholder=wg;eX.assertArrayExpression=Ab;eX.assertArrayPattern=jE;eX.assertArrayTypeAnnotation=Gv;eX.assertArrowFunctionExpression=OE;eX.assertAssignmentExpression=Cb;eX.assertAssignmentPattern=FE;eX.assertAwaitExpression=cE;eX.assertBigIntLiteral=iE;eX.assertBinary=Xu;eX.assertBinaryExpression=Db;eX.assertBindExpression=Lg;eX.assertBlock=Zu;eX.assertBlockParent=Vu;eX.assertBlockStatement=fb;eX.assertBooleanLiteral=rb;eX.assertBooleanLiteralTypeAnnotation=Hv;eX.assertBooleanTypeAnnotation=Xv;eX.assertBreakStatement=Nb;eX.assertCallExpression=Tb;eX.assertCatchClause=wb;eX.assertClass=Lu;eX.assertClassAccessorProperty=sE;eX.assertClassBody=AE;eX.assertClassDeclaration=DE;eX.assertClassExpression=CE;eX.assertClassImplements=Zv;eX.assertClassMethod=vE;eX.assertClassPrivateMethod=nE;eX.assertClassPrivateProperty=tE;eX.assertClassProperty=dE;eX.assertCompletionStatement=Wu;eX.assertConditional=zu;eX.assertConditionalExpression=Lb;eX.assertContinueStatement=kb;eX.assertDebuggerStatement=bb;eX.assertDecimalLiteral=ug;eX.assertDeclaration=ju;eX.assertDeclareClass=Qv;eX.assertDeclareExportAllDeclaration=Mv;eX.assertDeclareExportDeclaration=$v;eX.assertDeclareFunction=Yv;eX.assertDeclareInterface=Wv;eX.assertDeclareModule=zv;eX.assertDeclareModuleExports=Kv;eX.assertDeclareOpaqueType=Bv;eX.assertDeclareTypeAlias=Uv;eX.assertDeclareVariable=Rv;eX.assertDeclaredPredicate=qv;eX.assertDecorator=bg;eX.assertDirective=Ib;eX.assertDirectiveLiteral=Pb;eX.assertDoExpression=Eg;eX.assertDoWhileStatement=Eb;eX.assertEmptyStatement=vb;eX.assertEmptyTypeAnnotation=Nv;eX.assertEnumBody=mu;eX.assertEnumBooleanBody=Gg;eX.assertEnumBooleanMember=Zg;eX.assertEnumDeclaration=Jg;eX.assertEnumDefaultedMember=Wg;eX.assertEnumMember=cu;eX.assertEnumNumberBody=Xg;eX.assertEnumNumberMember=Qg;eX.assertEnumStringBody=Hg;eX.assertEnumStringMember=Yg;eX.assertEnumSymbolBody=Vg;eX.assertExistsTypeAnnotation=Fv;eX.assertExportAllDeclaration=SE;eX.assertExportDeclaration=bu;eX.assertExportDefaultDeclaration=IE;eX.assertExportDefaultSpecifier=vg;eX.assertExportNamedDeclaration=PE;eX.assertExportNamespaceSpecifier=aE;eX.assertExportSpecifier=fE;eX.assertExpression=Gu;eX.assertExpressionStatement=gb;eX.assertExpressionWrapper=Bu;eX.assertFile=_b;eX.assertFlow=_u;eX.assertFlowBaseAnnotation=hu;eX.assertFlowDeclaration=yu;eX.assertFlowPredicate=xu;eX.assertFlowType=uu;eX.assertFor=Ru;eX.assertForInStatement=ub;eX.assertForOfStatement=NE;eX.assertForStatement=hb;eX.assertForXStatement=$u;eX.assertFunction=Mu;eX.assertFunctionDeclaration=yb;eX.assertFunctionExpression=xb;eX.assertFunctionParent=qu;eX.assertFunctionTypeAnnotation=jv;eX.assertFunctionTypeParam=Ov;eX.assertGenericTypeAnnotation=Av;eX.assertIdentifier=mb;eX.assertIfStatement=cb;eX.assertImmutable=Su;eX.assertImport=lE;eX.assertImportAttribute=kg;eX.assertImportDeclaration=TE;eX.assertImportDefaultSpecifier=wE;eX.assertImportExpression=bE;eX.assertImportNamespaceSpecifier=LE;eX.assertImportOrExportDeclaration=ku;eX.assertImportSpecifier=kE;eX.assertIndexedAccessType=zg;eX.assertInferredPredicate=Cv;eX.assertInterfaceDeclaration=Sv;eX.assertInterfaceExtends=Dv;eX.assertInterfaceTypeAnnotation=Iv;eX.assertInterpreterDirective=Sb;eX.assertIntersectionTypeAnnotation=Pv;eX.assertJSX=lu;eX.assertJSXAttribute=Ug;eX.assertJSXClosingElement=Bg;eX.assertJSXClosingFragment=Pg;eX.assertJSXElement=Rg;eX.assertJSXEmptyExpression=$g;eX.assertJSXExpressionContainer=Mg;eX.assertJSXFragment=Sg;eX.assertJSXIdentifier=Fg;eX.assertJSXMemberExpression=jg;eX.assertJSXNamespacedName=Og;eX.assertJSXOpeningElement=Ag;eX.assertJSXOpeningFragment=Ig;eX.assertJSXSpreadAttribute=Cg;eX.assertJSXSpreadChild=qg;eX.assertJSXText=Dg;eX.assertLVal=Au;eX.assertLabeledStatement=lb;eX.assertLiteral=Du;eX.assertLogicalExpression=sb;eX.assertLoop=Ku;eX.assertMemberExpression=tb;eX.assertMetaProperty=EE;eX.assertMethod=Pu;eX.assertMiscellaneous=iu;eX.assertMixedTypeAnnotation=fv;eX.assertModuleDeclaration=eu;eX.assertModuleExpression=hg;eX.assertModuleSpecifier=Eu;eX.assertNewExpression=nb;eX.assertNoop=fg;eX.assertNullLiteral=pb;eX.assertNullLiteralTypeAnnotation=Vv;eX.assertNullableTypeAnnotation=Tv;eX.assertNumberLiteral=su;eX.assertNumberLiteralTypeAnnotation=wv;eX.assertNumberTypeAnnotation=Lv;eX.assertNumericLiteral=ab;eX.assertObjectExpression=eb;eX.assertObjectMember=fu;eX.assertObjectMethod=JE;eX.assertObjectPattern=gE;eX.assertObjectProperty=GE;eX.assertObjectTypeAnnotation=kv;eX.assertObjectTypeCallProperty=Ev;eX.assertObjectTypeIndexer=vv;eX.assertObjectTypeInternalSlot=bv;eX.assertObjectTypeProperty=gv;eX.assertObjectTypeSpreadProperty=_v;eX.assertOpaqueType=uv;eX.assertOptionalCallExpression=rE;eX.assertOptionalIndexedAccessType=Kg;eX.assertOptionalMemberExpression=pE;eX.assertParenthesizedExpression=ZE;eX.assertPattern=wu;eX.assertPatternLike=Ou;eX.assertPipelineBareFunction=mg;eX.assertPipelinePrimaryTopicReference=cg;eX.assertPipelineTopicExpression=xg;eX.assertPlaceholder=Ng;eX.assertPrivate=gu;eX.assertPrivateName=oE;eX.assertProgram=ob;eX.assertProperty=Nu;eX.assertPureish=Fu;eX.assertQualifiedTypeIdentifier=hv;eX.assertRecordExpression=gg;eX.assertRegExpLiteral=db;eX.assertRegexLiteral=tu;eX.assertRestElement=XE;eX.assertRestProperty=nu;eX.assertReturnStatement=HE;eX.assertScopable=Hu;eX.assertSequenceExpression=VE;eX.assertSpreadElement=_E;eX.assertSpreadProperty=ou;eX.assertStandardized=Ju;eX.assertStatement=Qu;eX.assertStaticBlock=eE;eX.assertStringLiteral=ib;eX.assertStringLiteralTypeAnnotation=yv;eX.assertStringTypeAnnotation=xv;eX.assertSuper=uE;eX.assertSwitchCase=QE;eX.assertSwitchStatement=YE;eX.assertSymbolTypeAnnotation=mv;eX.assertTSAnyKeyword=og;eX.assertTSArrayType=j_;eX.assertTSAsExpression=u_;eX.assertTSBaseType=du;eX.assertTSBigIntKeyword=J_;eX.assertTSBooleanKeyword=eg;eX.assertTSCallSignatureDeclaration=rg;eX.assertTSConditionalType=P_;eX.assertTSConstructSignatureDeclaration=dg;eX.assertTSConstructorType=R_;eX.assertTSDeclareFunction=ig;eX.assertTSDeclareMethod=ag;eX.assertTSEntityName=Cu;eX.assertTSEnumDeclaration=x_;eX.assertTSEnumMember=m_;eX.assertTSExportAssignment=d_;eX.assertTSExpressionWithTypeArguments=b_;eX.assertTSExternalModuleReference=p_;eX.assertTSFunctionType=B_;eX.assertTSImportEqualsDeclaration=a_;eX.assertTSImportType=i_;eX.assertTSIndexSignature=ng;eX.assertTSIndexedAccessType=w_;eX.assertTSInferType=f_;eX.assertTSInstantiationExpression=__;eX.assertTSInterfaceBody=v_;eX.assertTSInterfaceDeclaration=E_;eX.assertTSIntersectionType=I_;eX.assertTSIntrinsicKeyword=G_;eX.assertTSLiteralType=k_;eX.assertTSMappedType=L_;eX.assertTSMethodSignature=tg;eX.assertTSModuleBlock=l_;eX.assertTSModuleDeclaration=c_;eX.assertTSNamedTupleMember=D_;eX.assertTSNamespaceExportDeclaration=s_;eX.assertTSNeverKeyword=X_;eX.assertTSNonNullExpression=r_;eX.assertTSNullKeyword=H_;eX.assertTSNumberKeyword=V_;eX.assertTSObjectKeyword=Z_;eX.assertTSOptionalType=A_;eX.assertTSParameterProperty=lg;eX.assertTSParenthesizedType=N_;eX.assertTSPropertySignature=sg;eX.assertTSQualifiedName=pg;eX.assertTSRestType=C_;eX.assertTSSatisfiesExpression=h_;eX.assertTSStringKeyword=Q_;eX.assertTSSymbolKeyword=Y_;eX.assertTSThisType=U_;eX.assertTSTupleType=O_;eX.assertTSType=ru;eX.assertTSTypeAliasDeclaration=g_;eX.assertTSTypeAnnotation=t_;eX.assertTSTypeAssertion=y_;eX.assertTSTypeElement=pu;eX.assertTSTypeLiteral=F_;eX.assertTSTypeOperator=T_;eX.assertTSTypeParameter=e_;eX.assertTSTypeParameterDeclaration=o_;eX.assertTSTypeParameterInstantiation=n_;eX.assertTSTypePredicate=M_;eX.assertTSTypeQuery=q_;eX.assertTSTypeReference=$_;eX.assertTSUndefinedKeyword=W_;eX.assertTSUnionType=S_;eX.assertTSUnknownKeyword=z_;eX.assertTSVoidKeyword=K_;eX.assertTaggedTemplateExpression=hE;eX.assertTemplateElement=yE;eX.assertTemplateLiteral=xE;eX.assertTerminatorless=Yu;eX.assertThisExpression=WE;eX.assertThisTypeAnnotation=cv;eX.assertThrowStatement=zE;eX.assertTopicReference=yg;eX.assertTryStatement=KE;eX.assertTupleExpression=_g;eX.assertTupleTypeAnnotation=lv;eX.assertTypeAlias=av;eX.assertTypeAnnotation=pv;eX.assertTypeCastExpression=rv;eX.assertTypeParameter=dv;eX.assertTypeParameterDeclaration=sv;eX.assertTypeParameterInstantiation=tv;eX.assertTypeScript=au;eX.assertTypeofTypeAnnotation=iv;eX.assertUnaryExpression=UE;eX.assertUnaryLike=Tu;eX.assertUnionTypeAnnotation=nv;eX.assertUpdateExpression=BE;eX.assertUserWhitespacable=Iu;eX.assertV8IntrinsicIdentifier=Tg;eX.assertVariableDeclaration=RE;eX.assertVariableDeclarator=$E;eX.assertVariance=ov;eX.assertVoidTypeAnnotation=ev;eX.assertWhile=Uu;eX.assertWhileStatement=ME;eX.assertWithStatement=qE;eX.assertYieldExpression=mE;var Ob=M0(),s0=c0();function B(J,G,X){if(!Ob.default(J,G,X))throw new Error(`Expected type "${J}" with option ${JSON.stringify(X)}, but instead got "${G.type}".`)}function Ab(J,G){B("ArrayExpression",J,G)}function Cb(J,G){B("AssignmentExpression",J,G)}function Db(J,G){B("BinaryExpression",J,G)}function Sb(J,G){B("InterpreterDirective",J,G)}function Ib(J,G){B("Directive",J,G)}function Pb(J,G){B("DirectiveLiteral",J,G)}function fb(J,G){B("BlockStatement",J,G)}function Nb(J,G){B("BreakStatement",J,G)}function Tb(J,G){B("CallExpression",J,G)}function wb(J,G){B("CatchClause",J,G)}function Lb(J,G){B("ConditionalExpression",J,G)}function kb(J,G){B("ContinueStatement",J,G)}function bb(J,G){B("DebuggerStatement",J,G)}function Eb(J,G){B("DoWhileStatement",J,G)}function vb(J,G){B("EmptyStatement",J,G)}function gb(J,G){B("ExpressionStatement",J,G)}function _b(J,G){B("File",J,G)}function ub(J,G){B("ForInStatement",J,G)}function hb(J,G){B("ForStatement",J,G)}function yb(J,G){B("FunctionDeclaration",J,G)}function xb(J,G){B("FunctionExpression",J,G)}function mb(J,G){B("Identifier",J,G)}function cb(J,G){B("IfStatement",J,G)}function lb(J,G){B("LabeledStatement",J,G)}function ib(J,G){B("StringLiteral",J,G)}function ab(J,G){B("NumericLiteral",J,G)}function pb(J,G){B("NullLiteral",J,G)}function rb(J,G){B("BooleanLiteral",J,G)}function db(J,G){B("RegExpLiteral",J,G)}function sb(J,G){B("LogicalExpression",J,G)}function tb(J,G){B("MemberExpression",J,G)}function nb(J,G){B("NewExpression",J,G)}function ob(J,G){B("Program",J,G)}function eb(J,G){B("ObjectExpression",J,G)}function JE(J,G){B("ObjectMethod",J,G)}function GE(J,G){B("ObjectProperty",J,G)}function XE(J,G){B("RestElement",J,G)}function HE(J,G){B("ReturnStatement",J,G)}function VE(J,G){B("SequenceExpression",J,G)}function ZE(J,G){B("ParenthesizedExpression",J,G)}function QE(J,G){B("SwitchCase",J,G)}function YE(J,G){B("SwitchStatement",J,G)}function WE(J,G){B("ThisExpression",J,G)}function zE(J,G){B("ThrowStatement",J,G)}function KE(J,G){B("TryStatement",J,G)}function UE(J,G){B("UnaryExpression",J,G)}function BE(J,G){B("UpdateExpression",J,G)}function RE(J,G){B("VariableDeclaration",J,G)}function $E(J,G){B("VariableDeclarator",J,G)}function ME(J,G){B("WhileStatement",J,G)}function qE(J,G){B("WithStatement",J,G)}function FE(J,G){B("AssignmentPattern",J,G)}function jE(J,G){B("ArrayPattern",J,G)}function OE(J,G){B("ArrowFunctionExpression",J,G)}function AE(J,G){B("ClassBody",J,G)}function CE(J,G){B("ClassExpression",J,G)}function DE(J,G){B("ClassDeclaration",J,G)}function SE(J,G){B("ExportAllDeclaration",J,G)}function IE(J,G){B("ExportDefaultDeclaration",J,G)}function PE(J,G){B("ExportNamedDeclaration",J,G)}function fE(J,G){B("ExportSpecifier",J,G)}function NE(J,G){B("ForOfStatement",J,G)}function TE(J,G){B("ImportDeclaration",J,G)}function wE(J,G){B("ImportDefaultSpecifier",J,G)}function LE(J,G){B("ImportNamespaceSpecifier",J,G)}function kE(J,G){B("ImportSpecifier",J,G)}function bE(J,G){B("ImportExpression",J,G)}function EE(J,G){B("MetaProperty",J,G)}function vE(J,G){B("ClassMethod",J,G)}function gE(J,G){B("ObjectPattern",J,G)}function _E(J,G){B("SpreadElement",J,G)}function uE(J,G){B("Super",J,G)}function hE(J,G){B("TaggedTemplateExpression",J,G)}function yE(J,G){B("TemplateElement",J,G)}function xE(J,G){B("TemplateLiteral",J,G)}function mE(J,G){B("YieldExpression",J,G)}function cE(J,G){B("AwaitExpression",J,G)}function lE(J,G){B("Import",J,G)}function iE(J,G){B("BigIntLiteral",J,G)}function aE(J,G){B("ExportNamespaceSpecifier",J,G)}function pE(J,G){B("OptionalMemberExpression",J,G)}function rE(J,G){B("OptionalCallExpression",J,G)}function dE(J,G){B("ClassProperty",J,G)}function sE(J,G){B("ClassAccessorProperty",J,G)}function tE(J,G){B("ClassPrivateProperty",J,G)}function nE(J,G){B("ClassPrivateMethod",J,G)}function oE(J,G){B("PrivateName",J,G)}function eE(J,G){B("StaticBlock",J,G)}function Jv(J,G){B("AnyTypeAnnotation",J,G)}function Gv(J,G){B("ArrayTypeAnnotation",J,G)}function Xv(J,G){B("BooleanTypeAnnotation",J,G)}function Hv(J,G){B("BooleanLiteralTypeAnnotation",J,G)}function Vv(J,G){B("NullLiteralTypeAnnotation",J,G)}function Zv(J,G){B("ClassImplements",J,G)}function Qv(J,G){B("DeclareClass",J,G)}function Yv(J,G){B("DeclareFunction",J,G)}function Wv(J,G){B("DeclareInterface",J,G)}function zv(J,G){B("DeclareModule",J,G)}function Kv(J,G){B("DeclareModuleExports",J,G)}function Uv(J,G){B("DeclareTypeAlias",J,G)}function Bv(J,G){B("DeclareOpaqueType",J,G)}function Rv(J,G){B("DeclareVariable",J,G)}function $v(J,G){B("DeclareExportDeclaration",J,G)}function Mv(J,G){B("DeclareExportAllDeclaration",J,G)}function qv(J,G){B("DeclaredPredicate",J,G)}function Fv(J,G){B("ExistsTypeAnnotation",J,G)}function jv(J,G){B("FunctionTypeAnnotation",J,G)}function Ov(J,G){B("FunctionTypeParam",J,G)}function Av(J,G){B("GenericTypeAnnotation",J,G)}function Cv(J,G){B("InferredPredicate",J,G)}function Dv(J,G){B("InterfaceExtends",J,G)}function Sv(J,G){B("InterfaceDeclaration",J,G)}function Iv(J,G){B("InterfaceTypeAnnotation",J,G)}function Pv(J,G){B("IntersectionTypeAnnotation",J,G)}function fv(J,G){B("MixedTypeAnnotation",J,G)}function Nv(J,G){B("EmptyTypeAnnotation",J,G)}function Tv(J,G){B("NullableTypeAnnotation",J,G)}function wv(J,G){B("NumberLiteralTypeAnnotation",J,G)}function Lv(J,G){B("NumberTypeAnnotation",J,G)}function kv(J,G){B("ObjectTypeAnnotation",J,G)}function bv(J,G){B("ObjectTypeInternalSlot",J,G)}function Ev(J,G){B("ObjectTypeCallProperty",J,G)}function vv(J,G){B("ObjectTypeIndexer",J,G)}function gv(J,G){B("ObjectTypeProperty",J,G)}function _v(J,G){B("ObjectTypeSpreadProperty",J,G)}function uv(J,G){B("OpaqueType",J,G)}function hv(J,G){B("QualifiedTypeIdentifier",J,G)}function yv(J,G){B("StringLiteralTypeAnnotation",J,G)}function xv(J,G){B("StringTypeAnnotation",J,G)}function mv(J,G){B("SymbolTypeAnnotation",J,G)}function cv(J,G){B("ThisTypeAnnotation",J,G)}function lv(J,G){B("TupleTypeAnnotation",J,G)}function iv(J,G){B("TypeofTypeAnnotation",J,G)}function av(J,G){B("TypeAlias",J,G)}function pv(J,G){B("TypeAnnotation",J,G)}function rv(J,G){B("TypeCastExpression",J,G)}function dv(J,G){B("TypeParameter",J,G)}function sv(J,G){B("TypeParameterDeclaration",J,G)}function tv(J,G){B("TypeParameterInstantiation",J,G)}function nv(J,G){B("UnionTypeAnnotation",J,G)}function ov(J,G){B("Variance",J,G)}function ev(J,G){B("VoidTypeAnnotation",J,G)}function Jg(J,G){B("EnumDeclaration",J,G)}function Gg(J,G){B("EnumBooleanBody",J,G)}function Xg(J,G){B("EnumNumberBody",J,G)}function Hg(J,G){B("EnumStringBody",J,G)}function Vg(J,G){B("EnumSymbolBody",J,G)}function Zg(J,G){B("EnumBooleanMember",J,G)}function Qg(J,G){B("EnumNumberMember",J,G)}function Yg(J,G){B("EnumStringMember",J,G)}function Wg(J,G){B("EnumDefaultedMember",J,G)}function zg(J,G){B("IndexedAccessType",J,G)}function Kg(J,G){B("OptionalIndexedAccessType",J,G)}function Ug(J,G){B("JSXAttribute",J,G)}function Bg(J,G){B("JSXClosingElement",J,G)}function Rg(J,G){B("JSXElement",J,G)}function $g(J,G){B("JSXEmptyExpression",J,G)}function Mg(J,G){B("JSXExpressionContainer",J,G)}function qg(J,G){B("JSXSpreadChild",J,G)}function Fg(J,G){B("JSXIdentifier",J,G)}function jg(J,G){B("JSXMemberExpression",J,G)}function Og(J,G){B("JSXNamespacedName",J,G)}function Ag(J,G){B("JSXOpeningElement",J,G)}function Cg(J,G){B("JSXSpreadAttribute",J,G)}function Dg(J,G){B("JSXText",J,G)}function Sg(J,G){B("JSXFragment",J,G)}function Ig(J,G){B("JSXOpeningFragment",J,G)}function Pg(J,G){B("JSXClosingFragment",J,G)}function fg(J,G){B("Noop",J,G)}function Ng(J,G){B("Placeholder",J,G)}function Tg(J,G){B("V8IntrinsicIdentifier",J,G)}function wg(J,G){B("ArgumentPlaceholder",J,G)}function Lg(J,G){B("BindExpression",J,G)}function kg(J,G){B("ImportAttribute",J,G)}function bg(J,G){B("Decorator",J,G)}function Eg(J,G){B("DoExpression",J,G)}function vg(J,G){B("ExportDefaultSpecifier",J,G)}function gg(J,G){B("RecordExpression",J,G)}function _g(J,G){B("TupleExpression",J,G)}function ug(J,G){B("DecimalLiteral",J,G)}function hg(J,G){B("ModuleExpression",J,G)}function yg(J,G){B("TopicReference",J,G)}function xg(J,G){B("PipelineTopicExpression",J,G)}function mg(J,G){B("PipelineBareFunction",J,G)}function cg(J,G){B("PipelinePrimaryTopicReference",J,G)}function lg(J,G){B("TSParameterProperty",J,G)}function ig(J,G){B("TSDeclareFunction",J,G)}function ag(J,G){B("TSDeclareMethod",J,G)}function pg(J,G){B("TSQualifiedName",J,G)}function rg(J,G){B("TSCallSignatureDeclaration",J,G)}function dg(J,G){B("TSConstructSignatureDeclaration",J,G)}function sg(J,G){B("TSPropertySignature",J,G)}function tg(J,G){B("TSMethodSignature",J,G)}function ng(J,G){B("TSIndexSignature",J,G)}function og(J,G){B("TSAnyKeyword",J,G)}function eg(J,G){B("TSBooleanKeyword",J,G)}function J_(J,G){B("TSBigIntKeyword",J,G)}function G_(J,G){B("TSIntrinsicKeyword",J,G)}function X_(J,G){B("TSNeverKeyword",J,G)}function H_(J,G){B("TSNullKeyword",J,G)}function V_(J,G){B("TSNumberKeyword",J,G)}function Z_(J,G){B("TSObjectKeyword",J,G)}function Q_(J,G){B("TSStringKeyword",J,G)}function Y_(J,G){B("TSSymbolKeyword",J,G)}function W_(J,G){B("TSUndefinedKeyword",J,G)}function z_(J,G){B("TSUnknownKeyword",J,G)}function K_(J,G){B("TSVoidKeyword",J,G)}function U_(J,G){B("TSThisType",J,G)}function B_(J,G){B("TSFunctionType",J,G)}function R_(J,G){B("TSConstructorType",J,G)}function $_(J,G){B("TSTypeReference",J,G)}function M_(J,G){B("TSTypePredicate",J,G)}function q_(J,G){B("TSTypeQuery",J,G)}function F_(J,G){B("TSTypeLiteral",J,G)}function j_(J,G){B("TSArrayType",J,G)}function O_(J,G){B("TSTupleType",J,G)}function A_(J,G){B("TSOptionalType",J,G)}function C_(J,G){B("TSRestType",J,G)}function D_(J,G){B("TSNamedTupleMember",J,G)}function S_(J,G){B("TSUnionType",J,G)}function I_(J,G){B("TSIntersectionType",J,G)}function P_(J,G){B("TSConditionalType",J,G)}function f_(J,G){B("TSInferType",J,G)}function N_(J,G){B("TSParenthesizedType",J,G)}function T_(J,G){B("TSTypeOperator",J,G)}function w_(J,G){B("TSIndexedAccessType",J,G)}function L_(J,G){B("TSMappedType",J,G)}function k_(J,G){B("TSLiteralType",J,G)}function b_(J,G){B("TSExpressionWithTypeArguments",J,G)}function E_(J,G){B("TSInterfaceDeclaration",J,G)}function v_(J,G){B("TSInterfaceBody",J,G)}function g_(J,G){B("TSTypeAliasDeclaration",J,G)}function __(J,G){B("TSInstantiationExpression",J,G)}function u_(J,G){B("TSAsExpression",J,G)}function h_(J,G){B("TSSatisfiesExpression",J,G)}function y_(J,G){B("TSTypeAssertion",J,G)}function x_(J,G){B("TSEnumDeclaration",J,G)}function m_(J,G){B("TSEnumMember",J,G)}function c_(J,G){B("TSModuleDeclaration",J,G)}function l_(J,G){B("TSModuleBlock",J,G)}function i_(J,G){B("TSImportType",J,G)}function a_(J,G){B("TSImportEqualsDeclaration",J,G)}function p_(J,G){B("TSExternalModuleReference",J,G)}function r_(J,G){B("TSNonNullExpression",J,G)}function d_(J,G){B("TSExportAssignment",J,G)}function s_(J,G){B("TSNamespaceExportDeclaration",J,G)}function t_(J,G){B("TSTypeAnnotation",J,G)}function n_(J,G){B("TSTypeParameterInstantiation",J,G)}function o_(J,G){B("TSTypeParameterDeclaration",J,G)}function e_(J,G){B("TSTypeParameter",J,G)}function Ju(J,G){B("Standardized",J,G)}function Gu(J,G){B("Expression",J,G)}function Xu(J,G){B("Binary",J,G)}function Hu(J,G){B("Scopable",J,G)}function Vu(J,G){B("BlockParent",J,G)}function Zu(J,G){B("Block",J,G)}function Qu(J,G){B("Statement",J,G)}function Yu(J,G){B("Terminatorless",J,G)}function Wu(J,G){B("CompletionStatement",J,G)}function zu(J,G){B("Conditional",J,G)}function Ku(J,G){B("Loop",J,G)}function Uu(J,G){B("While",J,G)}function Bu(J,G){B("ExpressionWrapper",J,G)}function Ru(J,G){B("For",J,G)}function $u(J,G){B("ForXStatement",J,G)}function Mu(J,G){B("Function",J,G)}function qu(J,G){B("FunctionParent",J,G)}function Fu(J,G){B("Pureish",J,G)}function ju(J,G){B("Declaration",J,G)}function Ou(J,G){B("PatternLike",J,G)}function Au(J,G){B("LVal",J,G)}function Cu(J,G){B("TSEntityName",J,G)}function Du(J,G){B("Literal",J,G)}function Su(J,G){B("Immutable",J,G)}function Iu(J,G){B("UserWhitespacable",J,G)}function Pu(J,G){B("Method",J,G)}function fu(J,G){B("ObjectMember",J,G)}function Nu(J,G){B("Property",J,G)}function Tu(J,G){B("UnaryLike",J,G)}function wu(J,G){B("Pattern",J,G)}function Lu(J,G){B("Class",J,G)}function ku(J,G){B("ImportOrExportDeclaration",J,G)}function bu(J,G){B("ExportDeclaration",J,G)}function Eu(J,G){B("ModuleSpecifier",J,G)}function vu(J,G){B("Accessor",J,G)}function gu(J,G){B("Private",J,G)}function _u(J,G){B("Flow",J,G)}function uu(J,G){B("FlowType",J,G)}function hu(J,G){B("FlowBaseAnnotation",J,G)}function yu(J,G){B("FlowDeclaration",J,G)}function xu(J,G){B("FlowPredicate",J,G)}function mu(J,G){B("EnumBody",J,G)}function cu(J,G){B("EnumMember",J,G)}function lu(J,G){B("JSX",J,G)}function iu(J,G){B("Miscellaneous",J,G)}function au(J,G){B("TypeScript",J,G)}function pu(J,G){B("TSTypeElement",J,G)}function ru(J,G){B("TSType",J,G)}function du(J,G){B("TSBaseType",J,G)}function su(J,G){s0.default("assertNumberLiteral","assertNumericLiteral"),B("NumberLiteral",J,G)}function tu(J,G){s0.default("assertRegexLiteral","assertRegExpLiteral"),B("RegexLiteral",J,G)}function nu(J,G){s0.default("assertRestProperty","assertRestElement"),B("RestProperty",J,G)}function ou(J,G){s0.default("assertSpreadProperty","assertSpreadElement"),B("SpreadProperty",J,G)}function eu(J,G){s0.default("assertModuleDeclaration","assertImportOrExportDeclaration"),B("ModuleDeclaration",J,G)}});var H6=C((G6)=>{Object.defineProperty(G6,"__esModule",{value:!0});G6.default=void 0;var K2=c1(),hR1=G6.default=vl;function vl(J){switch(J){case"string":return K2.stringTypeAnnotation();case"number":return K2.numberTypeAnnotation();case"undefined":return K2.voidTypeAnnotation();case"boolean":return K2.booleanTypeAnnotation();case"function":return K2.genericTypeAnnotation(K2.identifier("Function"));case"object":return K2.genericTypeAnnotation(K2.identifier("Object"));case"symbol":return K2.genericTypeAnnotation(K2.identifier("Symbol"));case"bigint":return K2.anyTypeAnnotation()}throw new Error("Invalid typeof value: "+J)}});var f4=C((Q6)=>{Object.defineProperty(Q6,"__esModule",{value:!0});Q6.default=Z6;var t0=w1();function V6(J){return t0.isIdentifier(J)?J.name:`${J.id.name}.${V6(J.qualification)}`}function Z6(J){let G=Array.from(J),X=new Map,H=new Map,V=new Set,Z=[];for(let Q=0;Q<G.length;Q++){let Y=G[Q];if(!Y)continue;if(Z.includes(Y))continue;if(t0.isAnyTypeAnnotation(Y))return[Y];if(t0.isFlowBaseAnnotation(Y)){H.set(Y.type,Y);continue}if(t0.isUnionTypeAnnotation(Y)){if(!V.has(Y.types))G.push(...Y.types),V.add(Y.types);continue}if(t0.isGenericTypeAnnotation(Y)){let W=V6(Y.id);if(X.has(W)){let z=X.get(W);if(z.typeParameters){if(Y.typeParameters)z.typeParameters.params.push(...Y.typeParameters.params),z.typeParameters.params=Z6(z.typeParameters.params)}else z=Y.typeParameters}else X.set(W,Y);continue}Z.push(Y)}for(let[,Q]of H)Z.push(Q);for(let[,Q]of X)Z.push(Q);return Z}});var W6=C((Y6)=>{Object.defineProperty(Y6,"__esModule",{value:!0});Y6.default=hl;var _l=c1(),ul=f4();function hl(J){let G=ul.default(J);if(G.length===1)return G[0];else return _l.unionTypeAnnotation(G)}});var B6=C((U6)=>{Object.defineProperty(U6,"__esModule",{value:!0});U6.default=K6;var n0=w1();function z6(J){return n0.isIdentifier(J)?J.name:`${J.right.name}.${z6(J.left)}`}function K6(J){let G=Array.from(J),X=new Map,H=new Map,V=new Set,Z=[];for(let Q=0;Q<G.length;Q++){let Y=G[Q];if(!Y)continue;if(Z.includes(Y))continue;if(n0.isTSAnyKeyword(Y))return[Y];if(n0.isTSBaseType(Y)){H.set(Y.type,Y);continue}if(n0.isTSUnionType(Y)){if(!V.has(Y.types))G.push(...Y.types),V.add(Y.types);continue}if(n0.isTSTypeReference(Y)&&Y.typeParameters){let W=z6(Y.typeName);if(X.has(W)){let z=X.get(W);if(z.typeParameters){if(Y.typeParameters)z.typeParameters.params.push(...Y.typeParameters.params),z.typeParameters.params=K6(z.typeParameters.params)}else z=Y.typeParameters}else X.set(W,Y);continue}Z.push(Y)}for(let[,Q]of H)Z.push(Q);for(let[,Q]of X)Z.push(Q);return Z}});var $6=C((R6)=>{Object.defineProperty(R6,"__esModule",{value:!0});R6.default=il;var ml=c1(),cl=B6(),ll=w1();function il(J){let G=J.map((H)=>{return ll.isTSTypeAnnotation(H)?H.typeAnnotation:H}),X=cl.default(G);if(X.length===1)return X[0];else return ml.tsUnionType(X)}});var M6=C((M)=>{Object.defineProperty(M,"__esModule",{value:!0});Object.defineProperty(M,"AnyTypeAnnotation",{enumerable:!0,get:function(){return q.anyTypeAnnotation}});Object.defineProperty(M,"ArgumentPlaceholder",{enumerable:!0,get:function(){return q.argumentPlaceholder}});Object.defineProperty(M,"ArrayExpression",{enumerable:!0,get:function(){return q.arrayExpression}});Object.defineProperty(M,"ArrayPattern",{enumerable:!0,get:function(){return q.arrayPattern}});Object.defineProperty(M,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return q.arrayTypeAnnotation}});Object.defineProperty(M,"ArrowFunctionExpression",{enumerable:!0,get:function(){return q.arrowFunctionExpression}});Object.defineProperty(M,"AssignmentExpression",{enumerable:!0,get:function(){return q.assignmentExpression}});Object.defineProperty(M,"AssignmentPattern",{enumerable:!0,get:function(){return q.assignmentPattern}});Object.defineProperty(M,"AwaitExpression",{enumerable:!0,get:function(){return q.awaitExpression}});Object.defineProperty(M,"BigIntLiteral",{enumerable:!0,get:function(){return q.bigIntLiteral}});Object.defineProperty(M,"BinaryExpression",{enumerable:!0,get:function(){return q.binaryExpression}});Object.defineProperty(M,"BindExpression",{enumerable:!0,get:function(){return q.bindExpression}});Object.defineProperty(M,"BlockStatement",{enumerable:!0,get:function(){return q.blockStatement}});Object.defineProperty(M,"BooleanLiteral",{enumerable:!0,get:function(){return q.booleanLiteral}});Object.defineProperty(M,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return q.booleanLiteralTypeAnnotation}});Object.defineProperty(M,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return q.booleanTypeAnnotation}});Object.defineProperty(M,"BreakStatement",{enumerable:!0,get:function(){return q.breakStatement}});Object.defineProperty(M,"CallExpression",{enumerable:!0,get:function(){return q.callExpression}});Object.defineProperty(M,"CatchClause",{enumerable:!0,get:function(){return q.catchClause}});Object.defineProperty(M,"ClassAccessorProperty",{enumerable:!0,get:function(){return q.classAccessorProperty}});Object.defineProperty(M,"ClassBody",{enumerable:!0,get:function(){return q.classBody}});Object.defineProperty(M,"ClassDeclaration",{enumerable:!0,get:function(){return q.classDeclaration}});Object.defineProperty(M,"ClassExpression",{enumerable:!0,get:function(){return q.classExpression}});Object.defineProperty(M,"ClassImplements",{enumerable:!0,get:function(){return q.classImplements}});Object.defineProperty(M,"ClassMethod",{enumerable:!0,get:function(){return q.classMethod}});Object.defineProperty(M,"ClassPrivateMethod",{enumerable:!0,get:function(){return q.classPrivateMethod}});Object.defineProperty(M,"ClassPrivateProperty",{enumerable:!0,get:function(){return q.classPrivateProperty}});Object.defineProperty(M,"ClassProperty",{enumerable:!0,get:function(){return q.classProperty}});Object.defineProperty(M,"ConditionalExpression",{enumerable:!0,get:function(){return q.conditionalExpression}});Object.defineProperty(M,"ContinueStatement",{enumerable:!0,get:function(){return q.continueStatement}});Object.defineProperty(M,"DebuggerStatement",{enumerable:!0,get:function(){return q.debuggerStatement}});Object.defineProperty(M,"DecimalLiteral",{enumerable:!0,get:function(){return q.decimalLiteral}});Object.defineProperty(M,"DeclareClass",{enumerable:!0,get:function(){return q.declareClass}});Object.defineProperty(M,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return q.declareExportAllDeclaration}});Object.defineProperty(M,"DeclareExportDeclaration",{enumerable:!0,get:function(){return q.declareExportDeclaration}});Object.defineProperty(M,"DeclareFunction",{enumerable:!0,get:function(){return q.declareFunction}});Object.defineProperty(M,"DeclareInterface",{enumerable:!0,get:function(){return q.declareInterface}});Object.defineProperty(M,"DeclareModule",{enumerable:!0,get:function(){return q.declareModule}});Object.defineProperty(M,"DeclareModuleExports",{enumerable:!0,get:function(){return q.declareModuleExports}});Object.defineProperty(M,"DeclareOpaqueType",{enumerable:!0,get:function(){return q.declareOpaqueType}});Object.defineProperty(M,"DeclareTypeAlias",{enumerable:!0,get:function(){return q.declareTypeAlias}});Object.defineProperty(M,"DeclareVariable",{enumerable:!0,get:function(){return q.declareVariable}});Object.defineProperty(M,"DeclaredPredicate",{enumerable:!0,get:function(){return q.declaredPredicate}});Object.defineProperty(M,"Decorator",{enumerable:!0,get:function(){return q.decorator}});Object.defineProperty(M,"Directive",{enumerable:!0,get:function(){return q.directive}});Object.defineProperty(M,"DirectiveLiteral",{enumerable:!0,get:function(){return q.directiveLiteral}});Object.defineProperty(M,"DoExpression",{enumerable:!0,get:function(){return q.doExpression}});Object.defineProperty(M,"DoWhileStatement",{enumerable:!0,get:function(){return q.doWhileStatement}});Object.defineProperty(M,"EmptyStatement",{enumerable:!0,get:function(){return q.emptyStatement}});Object.defineProperty(M,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return q.emptyTypeAnnotation}});Object.defineProperty(M,"EnumBooleanBody",{enumerable:!0,get:function(){return q.enumBooleanBody}});Object.defineProperty(M,"EnumBooleanMember",{enumerable:!0,get:function(){return q.enumBooleanMember}});Object.defineProperty(M,"EnumDeclaration",{enumerable:!0,get:function(){return q.enumDeclaration}});Object.defineProperty(M,"EnumDefaultedMember",{enumerable:!0,get:function(){return q.enumDefaultedMember}});Object.defineProperty(M,"EnumNumberBody",{enumerable:!0,get:function(){return q.enumNumberBody}});Object.defineProperty(M,"EnumNumberMember",{enumerable:!0,get:function(){return q.enumNumberMember}});Object.defineProperty(M,"EnumStringBody",{enumerable:!0,get:function(){return q.enumStringBody}});Object.defineProperty(M,"EnumStringMember",{enumerable:!0,get:function(){return q.enumStringMember}});Object.defineProperty(M,"EnumSymbolBody",{enumerable:!0,get:function(){return q.enumSymbolBody}});Object.defineProperty(M,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return q.existsTypeAnnotation}});Object.defineProperty(M,"ExportAllDeclaration",{enumerable:!0,get:function(){return q.exportAllDeclaration}});Object.defineProperty(M,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return q.exportDefaultDeclaration}});Object.defineProperty(M,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return q.exportDefaultSpecifier}});Object.defineProperty(M,"ExportNamedDeclaration",{enumerable:!0,get:function(){return q.exportNamedDeclaration}});Object.defineProperty(M,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return q.exportNamespaceSpecifier}});Object.defineProperty(M,"ExportSpecifier",{enumerable:!0,get:function(){return q.exportSpecifier}});Object.defineProperty(M,"ExpressionStatement",{enumerable:!0,get:function(){return q.expressionStatement}});Object.defineProperty(M,"File",{enumerable:!0,get:function(){return q.file}});Object.defineProperty(M,"ForInStatement",{enumerable:!0,get:function(){return q.forInStatement}});Object.defineProperty(M,"ForOfStatement",{enumerable:!0,get:function(){return q.forOfStatement}});Object.defineProperty(M,"ForStatement",{enumerable:!0,get:function(){return q.forStatement}});Object.defineProperty(M,"FunctionDeclaration",{enumerable:!0,get:function(){return q.functionDeclaration}});Object.defineProperty(M,"FunctionExpression",{enumerable:!0,get:function(){return q.functionExpression}});Object.defineProperty(M,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return q.functionTypeAnnotation}});Object.defineProperty(M,"FunctionTypeParam",{enumerable:!0,get:function(){return q.functionTypeParam}});Object.defineProperty(M,"GenericTypeAnnotation",{enumerable:!0,get:function(){return q.genericTypeAnnotation}});Object.defineProperty(M,"Identifier",{enumerable:!0,get:function(){return q.identifier}});Object.defineProperty(M,"IfStatement",{enumerable:!0,get:function(){return q.ifStatement}});Object.defineProperty(M,"Import",{enumerable:!0,get:function(){return q.import}});Object.defineProperty(M,"ImportAttribute",{enumerable:!0,get:function(){return q.importAttribute}});Object.defineProperty(M,"ImportDeclaration",{enumerable:!0,get:function(){return q.importDeclaration}});Object.defineProperty(M,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return q.importDefaultSpecifier}});Object.defineProperty(M,"ImportExpression",{enumerable:!0,get:function(){return q.importExpression}});Object.defineProperty(M,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return q.importNamespaceSpecifier}});Object.defineProperty(M,"ImportSpecifier",{enumerable:!0,get:function(){return q.importSpecifier}});Object.defineProperty(M,"IndexedAccessType",{enumerable:!0,get:function(){return q.indexedAccessType}});Object.defineProperty(M,"InferredPredicate",{enumerable:!0,get:function(){return q.inferredPredicate}});Object.defineProperty(M,"InterfaceDeclaration",{enumerable:!0,get:function(){return q.interfaceDeclaration}});Object.defineProperty(M,"InterfaceExtends",{enumerable:!0,get:function(){return q.interfaceExtends}});Object.defineProperty(M,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return q.interfaceTypeAnnotation}});Object.defineProperty(M,"InterpreterDirective",{enumerable:!0,get:function(){return q.interpreterDirective}});Object.defineProperty(M,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return q.intersectionTypeAnnotation}});Object.defineProperty(M,"JSXAttribute",{enumerable:!0,get:function(){return q.jsxAttribute}});Object.defineProperty(M,"JSXClosingElement",{enumerable:!0,get:function(){return q.jsxClosingElement}});Object.defineProperty(M,"JSXClosingFragment",{enumerable:!0,get:function(){return q.jsxClosingFragment}});Object.defineProperty(M,"JSXElement",{enumerable:!0,get:function(){return q.jsxElement}});Object.defineProperty(M,"JSXEmptyExpression",{enumerable:!0,get:function(){return q.jsxEmptyExpression}});Object.defineProperty(M,"JSXExpressionContainer",{enumerable:!0,get:function(){return q.jsxExpressionContainer}});Object.defineProperty(M,"JSXFragment",{enumerable:!0,get:function(){return q.jsxFragment}});Object.defineProperty(M,"JSXIdentifier",{enumerable:!0,get:function(){return q.jsxIdentifier}});Object.defineProperty(M,"JSXMemberExpression",{enumerable:!0,get:function(){return q.jsxMemberExpression}});Object.defineProperty(M,"JSXNamespacedName",{enumerable:!0,get:function(){return q.jsxNamespacedName}});Object.defineProperty(M,"JSXOpeningElement",{enumerable:!0,get:function(){return q.jsxOpeningElement}});Object.defineProperty(M,"JSXOpeningFragment",{enumerable:!0,get:function(){return q.jsxOpeningFragment}});Object.defineProperty(M,"JSXSpreadAttribute",{enumerable:!0,get:function(){return q.jsxSpreadAttribute}});Object.defineProperty(M,"JSXSpreadChild",{enumerable:!0,get:function(){return q.jsxSpreadChild}});Object.defineProperty(M,"JSXText",{enumerable:!0,get:function(){return q.jsxText}});Object.defineProperty(M,"LabeledStatement",{enumerable:!0,get:function(){return q.labeledStatement}});Object.defineProperty(M,"LogicalExpression",{enumerable:!0,get:function(){return q.logicalExpression}});Object.defineProperty(M,"MemberExpression",{enumerable:!0,get:function(){return q.memberExpression}});Object.defineProperty(M,"MetaProperty",{enumerable:!0,get:function(){return q.metaProperty}});Object.defineProperty(M,"MixedTypeAnnotation",{enumerable:!0,get:function(){return q.mixedTypeAnnotation}});Object.defineProperty(M,"ModuleExpression",{enumerable:!0,get:function(){return q.moduleExpression}});Object.defineProperty(M,"NewExpression",{enumerable:!0,get:function(){return q.newExpression}});Object.defineProperty(M,"Noop",{enumerable:!0,get:function(){return q.noop}});Object.defineProperty(M,"NullLiteral",{enumerable:!0,get:function(){return q.nullLiteral}});Object.defineProperty(M,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return q.nullLiteralTypeAnnotation}});Object.defineProperty(M,"NullableTypeAnnotation",{enumerable:!0,get:function(){return q.nullableTypeAnnotation}});Object.defineProperty(M,"NumberLiteral",{enumerable:!0,get:function(){return q.numberLiteral}});Object.defineProperty(M,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return q.numberLiteralTypeAnnotation}});Object.defineProperty(M,"NumberTypeAnnotation",{enumerable:!0,get:function(){return q.numberTypeAnnotation}});Object.defineProperty(M,"NumericLiteral",{enumerable:!0,get:function(){return q.numericLiteral}});Object.defineProperty(M,"ObjectExpression",{enumerable:!0,get:function(){return q.objectExpression}});Object.defineProperty(M,"ObjectMethod",{enumerable:!0,get:function(){return q.objectMethod}});Object.defineProperty(M,"ObjectPattern",{enumerable:!0,get:function(){return q.objectPattern}});Object.defineProperty(M,"ObjectProperty",{enumerable:!0,get:function(){return q.objectProperty}});Object.defineProperty(M,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return q.objectTypeAnnotation}});Object.defineProperty(M,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return q.objectTypeCallProperty}});Object.defineProperty(M,"ObjectTypeIndexer",{enumerable:!0,get:function(){return q.objectTypeIndexer}});Object.defineProperty(M,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return q.objectTypeInternalSlot}});Object.defineProperty(M,"ObjectTypeProperty",{enumerable:!0,get:function(){return q.objectTypeProperty}});Object.defineProperty(M,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return q.objectTypeSpreadProperty}});Object.defineProperty(M,"OpaqueType",{enumerable:!0,get:function(){return q.opaqueType}});Object.defineProperty(M,"OptionalCallExpression",{enumerable:!0,get:function(){return q.optionalCallExpression}});Object.defineProperty(M,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return q.optionalIndexedAccessType}});Object.defineProperty(M,"OptionalMemberExpression",{enumerable:!0,get:function(){return q.optionalMemberExpression}});Object.defineProperty(M,"ParenthesizedExpression",{enumerable:!0,get:function(){return q.parenthesizedExpression}});Object.defineProperty(M,"PipelineBareFunction",{enumerable:!0,get:function(){return q.pipelineBareFunction}});Object.defineProperty(M,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return q.pipelinePrimaryTopicReference}});Object.defineProperty(M,"PipelineTopicExpression",{enumerable:!0,get:function(){return q.pipelineTopicExpression}});Object.defineProperty(M,"Placeholder",{enumerable:!0,get:function(){return q.placeholder}});Object.defineProperty(M,"PrivateName",{enumerable:!0,get:function(){return q.privateName}});Object.defineProperty(M,"Program",{enumerable:!0,get:function(){return q.program}});Object.defineProperty(M,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return q.qualifiedTypeIdentifier}});Object.defineProperty(M,"RecordExpression",{enumerable:!0,get:function(){return q.recordExpression}});Object.defineProperty(M,"RegExpLiteral",{enumerable:!0,get:function(){return q.regExpLiteral}});Object.defineProperty(M,"RegexLiteral",{enumerable:!0,get:function(){return q.regexLiteral}});Object.defineProperty(M,"RestElement",{enumerable:!0,get:function(){return q.restElement}});Object.defineProperty(M,"RestProperty",{enumerable:!0,get:function(){return q.restProperty}});Object.defineProperty(M,"ReturnStatement",{enumerable:!0,get:function(){return q.returnStatement}});Object.defineProperty(M,"SequenceExpression",{enumerable:!0,get:function(){return q.sequenceExpression}});Object.defineProperty(M,"SpreadElement",{enumerable:!0,get:function(){return q.spreadElement}});Object.defineProperty(M,"SpreadProperty",{enumerable:!0,get:function(){return q.spreadProperty}});Object.defineProperty(M,"StaticBlock",{enumerable:!0,get:function(){return q.staticBlock}});Object.defineProperty(M,"StringLiteral",{enumerable:!0,get:function(){return q.stringLiteral}});Object.defineProperty(M,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return q.stringLiteralTypeAnnotation}});Object.defineProperty(M,"StringTypeAnnotation",{enumerable:!0,get:function(){return q.stringTypeAnnotation}});Object.defineProperty(M,"Super",{enumerable:!0,get:function(){return q.super}});Object.defineProperty(M,"SwitchCase",{enumerable:!0,get:function(){return q.switchCase}});Object.defineProperty(M,"SwitchStatement",{enumerable:!0,get:function(){return q.switchStatement}});Object.defineProperty(M,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return q.symbolTypeAnnotation}});Object.defineProperty(M,"TSAnyKeyword",{enumerable:!0,get:function(){return q.tsAnyKeyword}});Object.defineProperty(M,"TSArrayType",{enumerable:!0,get:function(){return q.tsArrayType}});Object.defineProperty(M,"TSAsExpression",{enumerable:!0,get:function(){return q.tsAsExpression}});Object.defineProperty(M,"TSBigIntKeyword",{enumerable:!0,get:function(){return q.tsBigIntKeyword}});Object.defineProperty(M,"TSBooleanKeyword",{enumerable:!0,get:function(){return q.tsBooleanKeyword}});Object.defineProperty(M,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return q.tsCallSignatureDeclaration}});Object.defineProperty(M,"TSConditionalType",{enumerable:!0,get:function(){return q.tsConditionalType}});Object.defineProperty(M,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return q.tsConstructSignatureDeclaration}});Object.defineProperty(M,"TSConstructorType",{enumerable:!0,get:function(){return q.tsConstructorType}});Object.defineProperty(M,"TSDeclareFunction",{enumerable:!0,get:function(){return q.tsDeclareFunction}});Object.defineProperty(M,"TSDeclareMethod",{enumerable:!0,get:function(){return q.tsDeclareMethod}});Object.defineProperty(M,"TSEnumDeclaration",{enumerable:!0,get:function(){return q.tsEnumDeclaration}});Object.defineProperty(M,"TSEnumMember",{enumerable:!0,get:function(){return q.tsEnumMember}});Object.defineProperty(M,"TSExportAssignment",{enumerable:!0,get:function(){return q.tsExportAssignment}});Object.defineProperty(M,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return q.tsExpressionWithTypeArguments}});Object.defineProperty(M,"TSExternalModuleReference",{enumerable:!0,get:function(){return q.tsExternalModuleReference}});Object.defineProperty(M,"TSFunctionType",{enumerable:!0,get:function(){return q.tsFunctionType}});Object.defineProperty(M,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return q.tsImportEqualsDeclaration}});Object.defineProperty(M,"TSImportType",{enumerable:!0,get:function(){return q.tsImportType}});Object.defineProperty(M,"TSIndexSignature",{enumerable:!0,get:function(){return q.tsIndexSignature}});Object.defineProperty(M,"TSIndexedAccessType",{enumerable:!0,get:function(){return q.tsIndexedAccessType}});Object.defineProperty(M,"TSInferType",{enumerable:!0,get:function(){return q.tsInferType}});Object.defineProperty(M,"TSInstantiationExpression",{enumerable:!0,get:function(){return q.tsInstantiationExpression}});Object.defineProperty(M,"TSInterfaceBody",{enumerable:!0,get:function(){return q.tsInterfaceBody}});Object.defineProperty(M,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return q.tsInterfaceDeclaration}});Object.defineProperty(M,"TSIntersectionType",{enumerable:!0,get:function(){return q.tsIntersectionType}});Object.defineProperty(M,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return q.tsIntrinsicKeyword}});Object.defineProperty(M,"TSLiteralType",{enumerable:!0,get:function(){return q.tsLiteralType}});Object.defineProperty(M,"TSMappedType",{enumerable:!0,get:function(){return q.tsMappedType}});Object.defineProperty(M,"TSMethodSignature",{enumerable:!0,get:function(){return q.tsMethodSignature}});Object.defineProperty(M,"TSModuleBlock",{enumerable:!0,get:function(){return q.tsModuleBlock}});Object.defineProperty(M,"TSModuleDeclaration",{enumerable:!0,get:function(){return q.tsModuleDeclaration}});Object.defineProperty(M,"TSNamedTupleMember",{enumerable:!0,get:function(){return q.tsNamedTupleMember}});Object.defineProperty(M,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return q.tsNamespaceExportDeclaration}});Object.defineProperty(M,"TSNeverKeyword",{enumerable:!0,get:function(){return q.tsNeverKeyword}});Object.defineProperty(M,"TSNonNullExpression",{enumerable:!0,get:function(){return q.tsNonNullExpression}});Object.defineProperty(M,"TSNullKeyword",{enumerable:!0,get:function(){return q.tsNullKeyword}});Object.defineProperty(M,"TSNumberKeyword",{enumerable:!0,get:function(){return q.tsNumberKeyword}});Object.defineProperty(M,"TSObjectKeyword",{enumerable:!0,get:function(){return q.tsObjectKeyword}});Object.defineProperty(M,"TSOptionalType",{enumerable:!0,get:function(){return q.tsOptionalType}});Object.defineProperty(M,"TSParameterProperty",{enumerable:!0,get:function(){return q.tsParameterProperty}});Object.defineProperty(M,"TSParenthesizedType",{enumerable:!0,get:function(){return q.tsParenthesizedType}});Object.defineProperty(M,"TSPropertySignature",{enumerable:!0,get:function(){return q.tsPropertySignature}});Object.defineProperty(M,"TSQualifiedName",{enumerable:!0,get:function(){return q.tsQualifiedName}});Object.defineProperty(M,"TSRestType",{enumerable:!0,get:function(){return q.tsRestType}});Object.defineProperty(M,"TSSatisfiesExpression",{enumerable:!0,get:function(){return q.tsSatisfiesExpression}});Object.defineProperty(M,"TSStringKeyword",{enumerable:!0,get:function(){return q.tsStringKeyword}});Object.defineProperty(M,"TSSymbolKeyword",{enumerable:!0,get:function(){return q.tsSymbolKeyword}});Object.defineProperty(M,"TSThisType",{enumerable:!0,get:function(){return q.tsThisType}});Object.defineProperty(M,"TSTupleType",{enumerable:!0,get:function(){return q.tsTupleType}});Object.defineProperty(M,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return q.tsTypeAliasDeclaration}});Object.defineProperty(M,"TSTypeAnnotation",{enumerable:!0,get:function(){return q.tsTypeAnnotation}});Object.defineProperty(M,"TSTypeAssertion",{enumerable:!0,get:function(){return q.tsTypeAssertion}});Object.defineProperty(M,"TSTypeLiteral",{enumerable:!0,get:function(){return q.tsTypeLiteral}});Object.defineProperty(M,"TSTypeOperator",{enumerable:!0,get:function(){return q.tsTypeOperator}});Object.defineProperty(M,"TSTypeParameter",{enumerable:!0,get:function(){return q.tsTypeParameter}});Object.defineProperty(M,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return q.tsTypeParameterDeclaration}});Object.defineProperty(M,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return q.tsTypeParameterInstantiation}});Object.defineProperty(M,"TSTypePredicate",{enumerable:!0,get:function(){return q.tsTypePredicate}});Object.defineProperty(M,"TSTypeQuery",{enumerable:!0,get:function(){return q.tsTypeQuery}});Object.defineProperty(M,"TSTypeReference",{enumerable:!0,get:function(){return q.tsTypeReference}});Object.defineProperty(M,"TSUndefinedKeyword",{enumerable:!0,get:function(){return q.tsUndefinedKeyword}});Object.defineProperty(M,"TSUnionType",{enumerable:!0,get:function(){return q.tsUnionType}});Object.defineProperty(M,"TSUnknownKeyword",{enumerable:!0,get:function(){return q.tsUnknownKeyword}});Object.defineProperty(M,"TSVoidKeyword",{enumerable:!0,get:function(){return q.tsVoidKeyword}});Object.defineProperty(M,"TaggedTemplateExpression",{enumerable:!0,get:function(){return q.taggedTemplateExpression}});Object.defineProperty(M,"TemplateElement",{enumerable:!0,get:function(){return q.templateElement}});Object.defineProperty(M,"TemplateLiteral",{enumerable:!0,get:function(){return q.templateLiteral}});Object.defineProperty(M,"ThisExpression",{enumerable:!0,get:function(){return q.thisExpression}});Object.defineProperty(M,"ThisTypeAnnotation",{enumerable:!0,get:function(){return q.thisTypeAnnotation}});Object.defineProperty(M,"ThrowStatement",{enumerable:!0,get:function(){return q.throwStatement}});Object.defineProperty(M,"TopicReference",{enumerable:!0,get:function(){return q.topicReference}});Object.defineProperty(M,"TryStatement",{enumerable:!0,get:function(){return q.tryStatement}});Object.defineProperty(M,"TupleExpression",{enumerable:!0,get:function(){return q.tupleExpression}});Object.defineProperty(M,"TupleTypeAnnotation",{enumerable:!0,get:function(){return q.tupleTypeAnnotation}});Object.defineProperty(M,"TypeAlias",{enumerable:!0,get:function(){return q.typeAlias}});Object.defineProperty(M,"TypeAnnotation",{enumerable:!0,get:function(){return q.typeAnnotation}});Object.defineProperty(M,"TypeCastExpression",{enumerable:!0,get:function(){return q.typeCastExpression}});Object.defineProperty(M,"TypeParameter",{enumerable:!0,get:function(){return q.typeParameter}});Object.defineProperty(M,"TypeParameterDeclaration",{enumerable:!0,get:function(){return q.typeParameterDeclaration}});Object.defineProperty(M,"TypeParameterInstantiation",{enumerable:!0,get:function(){return q.typeParameterInstantiation}});Object.defineProperty(M,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return q.typeofTypeAnnotation}});Object.defineProperty(M,"UnaryExpression",{enumerable:!0,get:function(){return q.unaryExpression}});Object.defineProperty(M,"UnionTypeAnnotation",{enumerable:!0,get:function(){return q.unionTypeAnnotation}});Object.defineProperty(M,"UpdateExpression",{enumerable:!0,get:function(){return q.updateExpression}});Object.defineProperty(M,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return q.v8IntrinsicIdentifier}});Object.defineProperty(M,"VariableDeclaration",{enumerable:!0,get:function(){return q.variableDeclaration}});Object.defineProperty(M,"VariableDeclarator",{enumerable:!0,get:function(){return q.variableDeclarator}});Object.defineProperty(M,"Variance",{enumerable:!0,get:function(){return q.variance}});Object.defineProperty(M,"VoidTypeAnnotation",{enumerable:!0,get:function(){return q.voidTypeAnnotation}});Object.defineProperty(M,"WhileStatement",{enumerable:!0,get:function(){return q.whileStatement}});Object.defineProperty(M,"WithStatement",{enumerable:!0,get:function(){return q.withStatement}});Object.defineProperty(M,"YieldExpression",{enumerable:!0,get:function(){return q.yieldExpression}});var q=c1()});var N4=C((F6)=>{Object.defineProperty(F6,"__esModule",{value:!0});F6.buildUndefinedNode=pl;var q6=c1();function pl(){return q6.unaryExpression("void",q6.numericLiteral(0),!0)}});var h2=C((D6)=>{Object.defineProperty(D6,"__esModule",{value:!0});D6.default=dl;var j6=G2(),O6=w1(),{hasOwn:j2}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function A6(J,G,X,H){if(J&&typeof J.type==="string")return C6(J,G,X,H);return J}function T4(J,G,X,H){if(Array.isArray(J))return J.map((V)=>A6(V,G,X,H));return A6(J,G,X,H)}function dl(J,G=!0,X=!1){return C6(J,G,X,new Map)}function C6(J,G=!0,X=!1,H){if(!J)return J;let{type:V}=J,Z={type:J.type};if(O6.isIdentifier(J)){if(Z.name=J.name,j2(J,"optional")&&typeof J.optional==="boolean")Z.optional=J.optional;if(j2(J,"typeAnnotation"))Z.typeAnnotation=G?T4(J.typeAnnotation,!0,X,H):J.typeAnnotation;if(j2(J,"decorators"))Z.decorators=G?T4(J.decorators,!0,X,H):J.decorators}else if(!j2(j6.NODE_FIELDS,V))throw new Error(`Unknown node type: "${V}"`);else for(let Q of Object.keys(j6.NODE_FIELDS[V]))if(j2(J,Q))if(G)Z[Q]=O6.isFile(J)&&Q==="comments"?p5(J.comments,G,X,H):T4(J[Q],!0,X,H);else Z[Q]=J[Q];if(j2(J,"loc"))if(X)Z.loc=null;else Z.loc=J.loc;if(j2(J,"leadingComments"))Z.leadingComments=p5(J.leadingComments,G,X,H);if(j2(J,"innerComments"))Z.innerComments=p5(J.innerComments,G,X,H);if(j2(J,"trailingComments"))Z.trailingComments=p5(J.trailingComments,G,X,H);if(j2(J,"extra"))Z.extra=Object.assign({},J.extra);return Z}function p5(J,G,X,H){if(!J||!G)return J;return J.map((V)=>{let Z=H.get(V);if(Z)return Z;let{type:Q,value:Y,loc:W}=V,z={type:Q,value:Y,loc:W};if(X)z.loc=null;return H.set(V,z),z})}});var I6=C((S6)=>{Object.defineProperty(S6,"__esModule",{value:!0});S6.default=nl;var tl=h2();function nl(J){return tl.default(J,!1)}});var f6=C((P6)=>{Object.defineProperty(P6,"__esModule",{value:!0});P6.default=Ji;var el=h2();function Ji(J){return el.default(J)}});var T6=C((N6)=>{Object.defineProperty(N6,"__esModule",{value:!0});N6.default=Hi;var Xi=h2();function Hi(J){return Xi.default(J,!0,!0)}});var L6=C((w6)=>{Object.defineProperty(w6,"__esModule",{value:!0});w6.default=Qi;var Zi=h2();function Qi(J){return Zi.default(J,!1,!0)}});var w4=C((k6)=>{Object.defineProperty(k6,"__esModule",{value:!0});k6.default=Wi;function Wi(J,G,X){if(!X||!J)return J;let H=`${G}Comments`;if(J[H])if(G==="leading")J[H]=X.concat(J[H]);else J[H].push(...X);else J[H]=X;return J}});var E6=C((b6)=>{Object.defineProperty(b6,"__esModule",{value:!0});b6.default=Ui;var Ki=w4();function Ui(J,G,X,H){return Ki.default(J,G,[{type:H?"CommentLine":"CommentBlock",value:X}])}});var r5=C((v6)=>{Object.defineProperty(v6,"__esModule",{value:!0});v6.default=Ri;function Ri(J,G,X){if(G&&X)G[J]=Array.from(new Set([].concat(G[J],X[J]).filter(Boolean)))}});var L4=C((g6)=>{Object.defineProperty(g6,"__esModule",{value:!0});g6.default=qi;var Mi=r5();function qi(J,G){Mi.default("innerComments",J,G)}});var k4=C((_6)=>{Object.defineProperty(_6,"__esModule",{value:!0});_6.default=Oi;var ji=r5();function Oi(J,G){ji.default("leadingComments",J,G)}});var b4=C((u6)=>{Object.defineProperty(u6,"__esModule",{value:!0});u6.default=Di;var Ci=r5();function Di(J,G){Ci.default("trailingComments",J,G)}});var E4=C((h6)=>{Object.defineProperty(h6,"__esModule",{value:!0});h6.default=Ni;var Ii=b4(),Pi=k4(),fi=L4();function Ni(J,G){return Ii.default(J,G),Pi.default(J,G),fi.default(J,G),J}});var x6=C((y6)=>{Object.defineProperty(y6,"__esModule",{value:!0});y6.default=Li;var wi=u2();function Li(J){return wi.COMMENT_KEYS.forEach((G)=>{J[G]=null}),J}});var l6=C((m6)=>{Object.defineProperty(m6,"__esModule",{value:!0});m6.WHILE_TYPES=m6.USERWHITESPACABLE_TYPES=m6.UNARYLIKE_TYPES=m6.TYPESCRIPT_TYPES=m6.TSTYPE_TYPES=m6.TSTYPEELEMENT_TYPES=m6.TSENTITYNAME_TYPES=m6.TSBASETYPE_TYPES=m6.TERMINATORLESS_TYPES=m6.STATEMENT_TYPES=m6.STANDARDIZED_TYPES=m6.SCOPABLE_TYPES=m6.PUREISH_TYPES=m6.PROPERTY_TYPES=m6.PRIVATE_TYPES=m6.PATTERN_TYPES=m6.PATTERNLIKE_TYPES=m6.OBJECTMEMBER_TYPES=m6.MODULESPECIFIER_TYPES=m6.MODULEDECLARATION_TYPES=m6.MISCELLANEOUS_TYPES=m6.METHOD_TYPES=m6.LVAL_TYPES=m6.LOOP_TYPES=m6.LITERAL_TYPES=m6.JSX_TYPES=m6.IMPORTOREXPORTDECLARATION_TYPES=m6.IMMUTABLE_TYPES=m6.FUNCTION_TYPES=m6.FUNCTIONPARENT_TYPES=m6.FOR_TYPES=m6.FORXSTATEMENT_TYPES=m6.FLOW_TYPES=m6.FLOWTYPE_TYPES=m6.FLOWPREDICATE_TYPES=m6.FLOWDECLARATION_TYPES=m6.FLOWBASEANNOTATION_TYPES=m6.EXPRESSION_TYPES=m6.EXPRESSIONWRAPPER_TYPES=m6.EXPORTDECLARATION_TYPES=m6.ENUMMEMBER_TYPES=m6.ENUMBODY_TYPES=m6.DECLARATION_TYPES=m6.CONDITIONAL_TYPES=m6.COMPLETIONSTATEMENT_TYPES=m6.CLASS_TYPES=m6.BLOCK_TYPES=m6.BLOCKPARENT_TYPES=m6.BINARY_TYPES=m6.ACCESSOR_TYPES=void 0;var X1=G2(),Z$1=m6.STANDARDIZED_TYPES=X1.FLIPPED_ALIAS_KEYS.Standardized,Q$1=m6.EXPRESSION_TYPES=X1.FLIPPED_ALIAS_KEYS.Expression,Y$1=m6.BINARY_TYPES=X1.FLIPPED_ALIAS_KEYS.Binary,W$1=m6.SCOPABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.Scopable,z$1=m6.BLOCKPARENT_TYPES=X1.FLIPPED_ALIAS_KEYS.BlockParent,K$1=m6.BLOCK_TYPES=X1.FLIPPED_ALIAS_KEYS.Block,U$1=m6.STATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.Statement,B$1=m6.TERMINATORLESS_TYPES=X1.FLIPPED_ALIAS_KEYS.Terminatorless,R$1=m6.COMPLETIONSTATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.CompletionStatement,$$1=m6.CONDITIONAL_TYPES=X1.FLIPPED_ALIAS_KEYS.Conditional,M$1=m6.LOOP_TYPES=X1.FLIPPED_ALIAS_KEYS.Loop,q$1=m6.WHILE_TYPES=X1.FLIPPED_ALIAS_KEYS.While,F$1=m6.EXPRESSIONWRAPPER_TYPES=X1.FLIPPED_ALIAS_KEYS.ExpressionWrapper,j$1=m6.FOR_TYPES=X1.FLIPPED_ALIAS_KEYS.For,O$1=m6.FORXSTATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.ForXStatement,A$1=m6.FUNCTION_TYPES=X1.FLIPPED_ALIAS_KEYS.Function,C$1=m6.FUNCTIONPARENT_TYPES=X1.FLIPPED_ALIAS_KEYS.FunctionParent,D$1=m6.PUREISH_TYPES=X1.FLIPPED_ALIAS_KEYS.Pureish,S$1=m6.DECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.Declaration,I$1=m6.PATTERNLIKE_TYPES=X1.FLIPPED_ALIAS_KEYS.PatternLike,P$1=m6.LVAL_TYPES=X1.FLIPPED_ALIAS_KEYS.LVal,f$1=m6.TSENTITYNAME_TYPES=X1.FLIPPED_ALIAS_KEYS.TSEntityName,N$1=m6.LITERAL_TYPES=X1.FLIPPED_ALIAS_KEYS.Literal,T$1=m6.IMMUTABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.Immutable,w$1=m6.USERWHITESPACABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.UserWhitespacable,L$1=m6.METHOD_TYPES=X1.FLIPPED_ALIAS_KEYS.Method,k$1=m6.OBJECTMEMBER_TYPES=X1.FLIPPED_ALIAS_KEYS.ObjectMember,b$1=m6.PROPERTY_TYPES=X1.FLIPPED_ALIAS_KEYS.Property,E$1=m6.UNARYLIKE_TYPES=X1.FLIPPED_ALIAS_KEYS.UnaryLike,v$1=m6.PATTERN_TYPES=X1.FLIPPED_ALIAS_KEYS.Pattern,g$1=m6.CLASS_TYPES=X1.FLIPPED_ALIAS_KEYS.Class,bi=m6.IMPORTOREXPORTDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,_$1=m6.EXPORTDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.ExportDeclaration,u$1=m6.MODULESPECIFIER_TYPES=X1.FLIPPED_ALIAS_KEYS.ModuleSpecifier,h$1=m6.ACCESSOR_TYPES=X1.FLIPPED_ALIAS_KEYS.Accessor,y$1=m6.PRIVATE_TYPES=X1.FLIPPED_ALIAS_KEYS.Private,x$1=m6.FLOW_TYPES=X1.FLIPPED_ALIAS_KEYS.Flow,m$1=m6.FLOWTYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowType,c$1=m6.FLOWBASEANNOTATION_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,l$1=m6.FLOWDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowDeclaration,i$1=m6.FLOWPREDICATE_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowPredicate,a$1=m6.ENUMBODY_TYPES=X1.FLIPPED_ALIAS_KEYS.EnumBody,p$1=m6.ENUMMEMBER_TYPES=X1.FLIPPED_ALIAS_KEYS.EnumMember,r$1=m6.JSX_TYPES=X1.FLIPPED_ALIAS_KEYS.JSX,d$1=m6.MISCELLANEOUS_TYPES=X1.FLIPPED_ALIAS_KEYS.Miscellaneous,s$1=m6.TYPESCRIPT_TYPES=X1.FLIPPED_ALIAS_KEYS.TypeScript,t$1=m6.TSTYPEELEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.TSTypeElement,n$1=m6.TSTYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.TSType,o$1=m6.TSBASETYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.TSBaseType,e$1=m6.MODULEDECLARATION_TYPES=bi});var g4=C((i6)=>{Object.defineProperty(i6,"__esModule",{value:!0});i6.default=Ta;var d5=w1(),v4=c1();function Ta(J,G){if(d5.isBlockStatement(J))return J;let X=[];if(d5.isEmptyStatement(J))X=[];else{if(!d5.isStatement(J))if(d5.isFunction(G))J=v4.returnStatement(J);else J=v4.expressionStatement(J);X=[J]}return v4.blockStatement(X)}});var p6=C((a6)=>{Object.defineProperty(a6,"__esModule",{value:!0});a6.default=ka;var La=g4();function ka(J,G="body"){let X=La.default(J[G],J);return J[G]=X,X}});var _4=C((r6)=>{Object.defineProperty(r6,"__esModule",{value:!0});r6.default=ga;var Ea=q0(),va=p0();function ga(J){J=J+"";let G="";for(let X of J)G+=va.isIdentifierChar(X.codePointAt(0))?X:"-";if(G=G.replace(/^[-0-9]+/,""),G=G.replace(/[-\s]+(.)?/g,function(X,H){return H?H.toUpperCase():""}),!Ea.default(G))G=`_${G}`;return G||"_"}});var s6=C((d6)=>{Object.defineProperty(d6,"__esModule",{value:!0});d6.default=ha;var ua=_4();function ha(J){if(J=ua.default(J),J==="eval"||J==="arguments")J="_"+J;return J}});var n6=C((t6)=>{Object.defineProperty(t6,"__esModule",{value:!0});t6.default=ca;var xa=w1(),ma=c1();function ca(J,G=J.key||J.property){if(!J.computed&&xa.isIdentifier(G))G=ma.stringLiteral(G.name);return G}});var J7=C((o6)=>{Object.defineProperty(o6,"__esModule",{value:!0});o6.default=void 0;var o0=w1(),QM1=o6.default=ia;function ia(J){if(o0.isExpressionStatement(J))J=J.expression;if(o0.isExpression(J))return J;if(o0.isClass(J))J.type="ClassExpression";else if(o0.isFunction(J))J.type="FunctionExpression";if(!o0.isExpression(J))throw new Error(`cannot turn ${J.type} to an expression`);return J}});var h4=C((G7)=>{Object.defineProperty(G7,"__esModule",{value:!0});G7.default=u4;var aa=G2();function u4(J,G,X){if(!J)return;let H=aa.VISITOR_KEYS[J.type];if(!H)return;X=X||{},G(J,X);for(let V of H){let Z=J[V];if(Array.isArray(Z))for(let Q of Z)u4(Q,G,X);else u4(Z,G,X)}}});var y4=C((H7)=>{Object.defineProperty(H7,"__esModule",{value:!0});H7.default=sa;var ra=u2(),X7=["tokens","start","end","loc","raw","rawValue"],da=[...ra.COMMENT_KEYS,"comments",...X7];function sa(J,G={}){let X=G.preserveComments?X7:da;for(let V of X)if(J[V]!=null)J[V]=void 0;for(let V of Object.keys(J))if(V[0]==="_"&&J[V]!=null)J[V]=void 0;let H=Object.getOwnPropertySymbols(J);for(let V of H)J[V]=null}});var x4=C((V7)=>{Object.defineProperty(V7,"__esModule",{value:!0});V7.default=ea;var na=h4(),oa=y4();function ea(J,G){return na.default(J,oa.default,G),J}});var Y7=C((Q7)=>{Object.defineProperty(Q7,"__esModule",{value:!0});Q7.default=t2;var Z7=w1(),Gp=h2(),Xp=x4();function t2(J,G=J.key){let X;if(J.kind==="method")return t2.increment()+"";else if(Z7.isIdentifier(G))X=G.name;else if(Z7.isStringLiteral(G))X=JSON.stringify(G.value);else X=JSON.stringify(Xp.default(Gp.default(G)));if(J.computed)X=`[${X}]`;if(J.static)X=`static:${X}`;return X}t2.uid=0;t2.increment=function(){if(t2.uid>=Number.MAX_SAFE_INTEGER)return t2.uid=0;else return t2.uid++}});var K7=C((W7)=>{Object.defineProperty(W7,"__esModule",{value:!0});W7.default=void 0;var s5=w1(),Vp=c1(),BM1=W7.default=Zp;function Zp(J,G){if(s5.isStatement(J))return J;let X=!1,H;if(s5.isClass(J))X=!0,H="ClassDeclaration";else if(s5.isFunction(J))X=!0,H="FunctionDeclaration";else if(s5.isAssignmentExpression(J))return Vp.expressionStatement(J);if(X&&!J.id)H=!1;if(!H)if(G)return!1;else throw new Error(`cannot turn ${J.type} to a statement`);return J.type=H,J}});var R7=C((U7)=>{Object.defineProperty(U7,"__esModule",{value:!0});U7.default=void 0;var Qp=q0(),u1=c1(),$M1=U7.default=m4,Yp=Function.call.bind(Object.prototype.toString);function Wp(J){return Yp(J)==="[object RegExp]"}function zp(J){if(typeof J!=="object"||J===null||Object.prototype.toString.call(J)!=="[object Object]")return!1;let G=Object.getPrototypeOf(J);return G===null||Object.getPrototypeOf(G)===null}function m4(J){if(J===void 0)return u1.identifier("undefined");if(J===!0||J===!1)return u1.booleanLiteral(J);if(J===null)return u1.nullLiteral();if(typeof J==="string")return u1.stringLiteral(J);if(typeof J==="number"){let G;if(Number.isFinite(J))G=u1.numericLiteral(Math.abs(J));else{let X;if(Number.isNaN(J))X=u1.numericLiteral(0);else X=u1.numericLiteral(1);G=u1.binaryExpression("/",X,u1.numericLiteral(0))}if(J<0||Object.is(J,-0))G=u1.unaryExpression("-",G);return G}if(Wp(J)){let G=J.source,X=/\/([a-z]*)$/.exec(J.toString())[1];return u1.regExpLiteral(G,X)}if(Array.isArray(J))return u1.arrayExpression(J.map(m4));if(zp(J)){let G=[];for(let X of Object.keys(J)){let H;if(Qp.default(X))H=u1.identifier(X);else H=u1.stringLiteral(X);G.push(u1.objectProperty(H,m4(J[X])))}return u1.objectExpression(G)}throw new Error("don't know how to turn this value into a node")}});var M7=C(($7)=>{Object.defineProperty($7,"__esModule",{value:!0});$7.default=Up;var Kp=c1();function Up(J,G,X=!1){return J.object=Kp.memberExpression(J.object,J.property,J.computed),J.property=G,J.computed=!!X,J}});var j7=C((F7)=>{Object.defineProperty(F7,"__esModule",{value:!0});F7.default=$p;var q7=u2(),Rp=E4();function $p(J,G){if(!J||!G)return J;for(let X of q7.INHERIT_KEYS.optional)if(J[X]==null)J[X]=G[X];for(let X of Object.keys(G))if(X[0]==="_"&&X!=="__clone")J[X]=G[X];for(let X of q7.INHERIT_KEYS.force)J[X]=G[X];return Rp.default(J,G),J}});var A7=C((O7)=>{Object.defineProperty(O7,"__esModule",{value:!0});O7.default=jp;var qp=c1(),Fp=W1();function jp(J,G){if(Fp.isSuper(J.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return J.object=qp.memberExpression(G,J.object),J}});var D7=C((C7)=>{Object.defineProperty(C7,"__esModule",{value:!0});C7.default=Ap;function Ap(J){let G=[].concat(J),X=Object.create(null);while(G.length){let H=G.pop();if(!H)continue;switch(H.type){case"ArrayPattern":G.push(...H.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":G.push(H.left);break;case"ObjectPattern":G.push(...H.properties);break;case"ObjectProperty":G.push(H.value);break;case"RestElement":case"UpdateExpression":G.push(H.argument);break;case"UnaryExpression":if(H.operator==="delete")G.push(H.argument);break;case"Identifier":X[H.name]=H;break;default:break}}return X}});var e0=C((S7)=>{Object.defineProperty(S7,"__esModule",{value:!0});S7.default=c4;var I2=w1();function c4(J,G,X,H){let V=[].concat(J),Z=Object.create(null);while(V.length){let Q=V.shift();if(!Q)continue;if(H&&(I2.isAssignmentExpression(Q)||I2.isUnaryExpression(Q)||I2.isUpdateExpression(Q)))continue;if(I2.isIdentifier(Q)){if(G)(Z[Q.name]=Z[Q.name]||[]).push(Q);else Z[Q.name]=Q;continue}if(I2.isExportDeclaration(Q)&&!I2.isExportAllDeclaration(Q)){if(I2.isDeclaration(Q.declaration))V.push(Q.declaration);continue}if(X){if(I2.isFunctionDeclaration(Q)){V.push(Q.id);continue}if(I2.isFunctionExpression(Q))continue}let Y=c4.keys[Q.type];if(Y)for(let W=0;W<Y.length;W++){let z=Y[W],U=Q[z];if(U)if(Array.isArray(U))V.push(...U);else V.push(U)}}return Z}var Dp={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};c4.keys=Dp});var f7=C((I7)=>{Object.defineProperty(I7,"__esModule",{value:!0});I7.default=void 0;var Ip=e0(),CM1=I7.default=Pp;function Pp(J,G){return Ip.default(J,G,!0)}});var w7=C((T7)=>{Object.defineProperty(T7,"__esModule",{value:!0});T7.default=Np;var H2=w1();function fp(J){if(H2.isNullLiteral(J))return"null";if(H2.isRegExpLiteral(J))return`/${J.pattern}/${J.flags}`;if(H2.isTemplateLiteral(J))return J.quasis.map((G)=>G.value.raw).join("");if(J.value!==void 0)return String(J.value);return null}function N7(J){if(!J.computed||H2.isLiteral(J.key))return J.key}function Np(J,G){if("id"in J&&J.id)return{name:J.id.name,originalNode:J.id};let X="",H;if(H2.isObjectProperty(G,{value:J}))H=N7(G);else if(H2.isObjectMethod(J)||H2.isClassMethod(J)){if(H=N7(J),J.kind==="get")X="get ";else if(J.kind==="set")X="set "}else if(H2.isVariableDeclarator(G,{init:J}))H=G.id;else if(H2.isAssignmentExpression(G,{operator:"=",right:J}))H=G.left;if(!H)return null;let V=H2.isLiteral(H)?fp(H):H2.isIdentifier(H)?H.name:H2.isPrivateName(H)?H.id.name:null;if(V==null)return null;return{name:X+V,originalNode:H}}});var k7=C((L7)=>{Object.defineProperty(L7,"__esModule",{value:!0});L7.default=Lp;var wp=G2();function Lp(J,G,X){if(typeof G==="function")G={enter:G};let{enter:H,exit:V}=G;l4(J,H,V,X,[])}function l4(J,G,X,H,V){let Z=wp.VISITOR_KEYS[J.type];if(!Z)return;if(G)G(J,V,H);for(let Q of Z){let Y=J[Q];if(Array.isArray(Y))for(let W=0;W<Y.length;W++){let z=Y[W];if(!z)continue;V.push({node:J,key:Q,index:W}),l4(z,G,X,H,V),V.pop()}else if(Y)V.push({node:J,key:Q}),l4(Y,G,X,H,V),V.pop()}if(X)X(J,V,H)}});var E7=C((b7)=>{Object.defineProperty(b7,"__esModule",{value:!0});b7.default=Ep;var bp=e0();function Ep(J,G,X){if(X&&J.type==="Identifier"&&G.type==="ObjectProperty"&&X.type==="ObjectExpression")return!1;let H=bp.default.keys[G.type];if(H)for(let V=0;V<H.length;V++){let Z=H[V],Q=G[Z];if(Array.isArray(Q)){if(Q.includes(J))return!0}else if(Q===J)return!0}return!1}});var i4=C((v7)=>{Object.defineProperty(v7,"__esModule",{value:!0});v7.default=up;var gp=w1(),_p=u2();function up(J){return gp.isVariableDeclaration(J)&&(J.kind!=="var"||J[_p.BLOCK_SCOPED_SYMBOL])}});var u7=C((_7)=>{Object.defineProperty(_7,"__esModule",{value:!0});_7.default=xp;var g7=w1(),yp=i4();function xp(J){return g7.isFunctionDeclaration(J)||g7.isClassDeclaration(J)||yp.default(J)}});var y7=C((h7)=>{Object.defineProperty(h7,"__esModule",{value:!0});h7.default=ip;var cp=g5(),lp=w1();function ip(J){if(cp.default(J.type,"Immutable"))return!0;if(lp.isIdentifier(J))if(J.name==="undefined")return!0;else return!1;return!1}});var c7=C((m7)=>{Object.defineProperty(m7,"__esModule",{value:!0});m7.default=a4;var x7=G2();function a4(J,G){if(typeof J!=="object"||typeof G!=="object"||J==null||G==null)return J===G;if(J.type!==G.type)return!1;let X=Object.keys(x7.NODE_FIELDS[J.type]||J.type),H=x7.VISITOR_KEYS[J.type];for(let V of X){let Z=J[V],Q=G[V];if(typeof Z!==typeof Q)return!1;if(Z==null&&Q==null)continue;else if(Z==null||Q==null)return!1;if(Array.isArray(Z)){if(!Array.isArray(Q))return!1;if(Z.length!==Q.length)return!1;for(let Y=0;Y<Z.length;Y++)if(!a4(Z[Y],Q[Y]))return!1;continue}if(typeof Z==="object"&&!(H!=null&&H.includes(V))){for(let Y of Object.keys(Z))if(Z[Y]!==Q[Y])return!1;continue}if(!a4(Z,Q))return!1}return!0}});var i7=C((l7)=>{Object.defineProperty(l7,"__esModule",{value:!0});l7.default=rp;function rp(J,G,X){switch(G.type){case"MemberExpression":case"OptionalMemberExpression":if(G.property===J)return!!G.computed;return G.object===J;case"JSXMemberExpression":return G.object===J;case"VariableDeclarator":return G.init===J;case"ArrowFunctionExpression":return G.body===J;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(G.key===J)return!!G.computed;return!1;case"ObjectProperty":if(G.key===J)return!!G.computed;return!X||X.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(G.key===J)return!!G.computed;return!0;case"ClassPrivateProperty":return G.key!==J;case"ClassDeclaration":case"ClassExpression":return G.superClass===J;case"AssignmentExpression":return G.right===J;case"AssignmentPattern":return G.right===J;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":if(X!=null&&X.source)return!1;return G.local===J;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return G.key!==J;case"TSEnumMember":return G.id!==J;case"TSPropertySignature":if(G.key===J)return!!G.computed;return!0}return!0}});var p7=C((a7)=>{Object.defineProperty(a7,"__esModule",{value:!0});a7.default=sp;var n2=w1();function sp(J,G){if(n2.isBlockStatement(J)&&(n2.isFunction(G)||n2.isCatchClause(G)))return!1;if(n2.isPattern(J)&&(n2.isFunction(G)||n2.isCatchClause(G)))return!0;return n2.isScopable(J)}});var s7=C((d7)=>{Object.defineProperty(d7,"__esModule",{value:!0});d7.default=np;var r7=w1();function np(J){return r7.isImportDefaultSpecifier(J)||r7.isIdentifier(J.imported||J.exported,{name:"default"})}});var n7=C((t7)=>{Object.defineProperty(t7,"__esModule",{value:!0});t7.default=Gr;var ep=q0(),Jr=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function Gr(J){return ep.default(J)&&!Jr.has(J)}});var e7=C((o7)=>{Object.defineProperty(o7,"__esModule",{value:!0});o7.default=Zr;var Hr=w1(),Vr=u2();function Zr(J){return Hr.isVariableDeclaration(J,{kind:"var"})&&!J[Vr.BLOCK_SCOPED_SYMBOL]}});var GH=C((JH)=>{Object.defineProperty(JH,"__esModule",{value:!0});JH.default=t5;var Yr=e0(),o2=w1(),p4=c1(),r4=N4(),Wr=h2();function t5(J,G){let X=[],H=!0;for(let V of J){if(!o2.isEmptyStatement(V))H=!1;if(o2.isExpression(V))X.push(V);else if(o2.isExpressionStatement(V))X.push(V.expression);else if(o2.isVariableDeclaration(V)){if(V.kind!=="var")return;for(let Z of V.declarations){let Q=Yr.default(Z);for(let Y of Object.keys(Q))G.push({kind:V.kind,id:Wr.default(Q[Y])});if(Z.init)X.push(p4.assignmentExpression("=",Z.id,Z.init))}H=!0}else if(o2.isIfStatement(V)){let Z=V.consequent?t5([V.consequent],G):r4.buildUndefinedNode(),Q=V.alternate?t5([V.alternate],G):r4.buildUndefinedNode();if(!Z||!Q)return;X.push(p4.conditionalExpression(V.test,Z,Q))}else if(o2.isBlockStatement(V)){let Z=t5(V.body,G);if(!Z)return;X.push(Z)}else if(o2.isEmptyStatement(V)){if(J.indexOf(V)===0)H=!0}else return}if(H)X.push(r4.buildUndefinedNode());if(X.length===1)return X[0];else return p4.sequenceExpression(X)}});var HH=C((XH)=>{Object.defineProperty(XH,"__esModule",{value:!0});XH.default=Ur;var Kr=GH();function Ur(J,G){if(!(J!=null&&J.length))return;let X=[],H=Kr.default(J,X);if(!H)return;for(let V of X)G.push(V);return H}});var W1=C((v)=>{Object.defineProperty(v,"__esModule",{value:!0});var P2={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(v,"__internal__deprecationWarning",{enumerable:!0,get:function(){return qd.default}});Object.defineProperty(v,"addComment",{enumerable:!0,get:function(){return Ir.default}});Object.defineProperty(v,"addComments",{enumerable:!0,get:function(){return Pr.default}});Object.defineProperty(v,"appendToMemberExpression",{enumerable:!0,get:function(){return xr.default}});Object.defineProperty(v,"assertNode",{enumerable:!0,get:function(){return qr.default}});Object.defineProperty(v,"buildMatchMemberExpression",{enumerable:!0,get:function(){return Md.default}});Object.defineProperty(v,"clone",{enumerable:!0,get:function(){return Ar.default}});Object.defineProperty(v,"cloneDeep",{enumerable:!0,get:function(){return Cr.default}});Object.defineProperty(v,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return Dr.default}});Object.defineProperty(v,"cloneNode",{enumerable:!0,get:function(){return Or.default}});Object.defineProperty(v,"cloneWithoutLoc",{enumerable:!0,get:function(){return Sr.default}});Object.defineProperty(v,"createFlowUnionType",{enumerable:!0,get:function(){return VH.default}});Object.defineProperty(v,"createTSUnionType",{enumerable:!0,get:function(){return jr.default}});Object.defineProperty(v,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return Fr.default}});Object.defineProperty(v,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return VH.default}});Object.defineProperty(v,"ensureBlock",{enumerable:!0,get:function(){return kr.default}});Object.defineProperty(v,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return pr.default}});Object.defineProperty(v,"getBindingIdentifiers",{enumerable:!0,get:function(){return rr.default}});Object.defineProperty(v,"getFunctionName",{enumerable:!0,get:function(){return sr.default}});Object.defineProperty(v,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return dr.default}});Object.defineProperty(v,"inheritInnerComments",{enumerable:!0,get:function(){return fr.default}});Object.defineProperty(v,"inheritLeadingComments",{enumerable:!0,get:function(){return Nr.default}});Object.defineProperty(v,"inheritTrailingComments",{enumerable:!0,get:function(){return wr.default}});Object.defineProperty(v,"inherits",{enumerable:!0,get:function(){return mr.default}});Object.defineProperty(v,"inheritsComments",{enumerable:!0,get:function(){return Tr.default}});Object.defineProperty(v,"is",{enumerable:!0,get:function(){return or.default}});Object.defineProperty(v,"isBinding",{enumerable:!0,get:function(){return er.default}});Object.defineProperty(v,"isBlockScoped",{enumerable:!0,get:function(){return Jd.default}});Object.defineProperty(v,"isImmutable",{enumerable:!0,get:function(){return Gd.default}});Object.defineProperty(v,"isLet",{enumerable:!0,get:function(){return Xd.default}});Object.defineProperty(v,"isNode",{enumerable:!0,get:function(){return Hd.default}});Object.defineProperty(v,"isNodesEquivalent",{enumerable:!0,get:function(){return Vd.default}});Object.defineProperty(v,"isPlaceholderType",{enumerable:!0,get:function(){return Zd.default}});Object.defineProperty(v,"isReferenced",{enumerable:!0,get:function(){return Qd.default}});Object.defineProperty(v,"isScope",{enumerable:!0,get:function(){return Yd.default}});Object.defineProperty(v,"isSpecifierDefault",{enumerable:!0,get:function(){return Wd.default}});Object.defineProperty(v,"isType",{enumerable:!0,get:function(){return zd.default}});Object.defineProperty(v,"isValidES3Identifier",{enumerable:!0,get:function(){return Kd.default}});Object.defineProperty(v,"isValidIdentifier",{enumerable:!0,get:function(){return Ud.default}});Object.defineProperty(v,"isVar",{enumerable:!0,get:function(){return Bd.default}});Object.defineProperty(v,"matchesPattern",{enumerable:!0,get:function(){return Rd.default}});Object.defineProperty(v,"prependToMemberExpression",{enumerable:!0,get:function(){return cr.default}});v.react=void 0;Object.defineProperty(v,"removeComments",{enumerable:!0,get:function(){return Lr.default}});Object.defineProperty(v,"removeProperties",{enumerable:!0,get:function(){return lr.default}});Object.defineProperty(v,"removePropertiesDeep",{enumerable:!0,get:function(){return ir.default}});Object.defineProperty(v,"removeTypeDuplicates",{enumerable:!0,get:function(){return ar.default}});Object.defineProperty(v,"shallowEqual",{enumerable:!0,get:function(){return nr.default}});Object.defineProperty(v,"toBindingIdentifierName",{enumerable:!0,get:function(){return br.default}});Object.defineProperty(v,"toBlock",{enumerable:!0,get:function(){return Er.default}});Object.defineProperty(v,"toComputedKey",{enumerable:!0,get:function(){return vr.default}});Object.defineProperty(v,"toExpression",{enumerable:!0,get:function(){return gr.default}});Object.defineProperty(v,"toIdentifier",{enumerable:!0,get:function(){return _r.default}});Object.defineProperty(v,"toKeyAlias",{enumerable:!0,get:function(){return ur.default}});Object.defineProperty(v,"toStatement",{enumerable:!0,get:function(){return hr.default}});Object.defineProperty(v,"traverse",{enumerable:!0,get:function(){return n5.default}});Object.defineProperty(v,"traverseFast",{enumerable:!0,get:function(){return tr.default}});Object.defineProperty(v,"validate",{enumerable:!0,get:function(){return $d.default}});Object.defineProperty(v,"valueToNode",{enumerable:!0,get:function(){return yr.default}});var Rr=gG(),$r=uG(),Mr=sX(),qr=oX(),d4=J6();Object.keys(d4).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===d4[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return d4[J]}})});var Fr=H6(),VH=W6(),jr=$6(),s4=c1();Object.keys(s4).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===s4[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return s4[J]}})});var t4=M6();Object.keys(t4).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===t4[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return t4[J]}})});var n4=N4();Object.keys(n4).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===n4[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return n4[J]}})});var Or=h2(),Ar=I6(),Cr=f6(),Dr=T6(),Sr=L6(),Ir=E6(),Pr=w4(),fr=L4(),Nr=k4(),Tr=E4(),wr=b4(),Lr=x6(),o4=l6();Object.keys(o4).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===o4[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return o4[J]}})});var e4=u2();Object.keys(e4).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===e4[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return e4[J]}})});var kr=p6(),br=s6(),Er=g4(),vr=n6(),gr=J7(),_r=_4(),ur=Y7(),hr=K7(),yr=R7(),J8=G2();Object.keys(J8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===J8[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return J8[J]}})});var xr=M7(),mr=j7(),cr=A7(),lr=y4(),ir=x4(),ar=f4(),pr=D7(),rr=e0(),dr=f7(),sr=w7(),n5=k7();Object.keys(n5).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===n5[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return n5[J]}})});var tr=h4(),nr=v5(),or=M0(),er=E7(),Jd=u7(),Gd=y7(),Xd=i4(),Hd=P4(),Vd=c7(),Zd=Z4(),Qd=i7(),Yd=p7(),Wd=s7(),zd=g5(),Kd=n7(),Ud=q0(),Bd=e7(),Rd=H4(),$d=x5(),Md=V4(),G8=w1();Object.keys(G8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===G8[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return G8[J]}})});var qd=c0(),uM1=v.react={isReactComponent:Rr.default,isCompatTag:$r.default,buildChildren:Mr.default};v.toSequenceExpression=HH().default;if(process.env.BABEL_TYPES_8_BREAKING)console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")});var BH=C((KH)=>{Object.defineProperty(KH,"__esModule",{value:!0});KH.nodes=void 0;var Fd=W1(),{FLIPPED_ALIAS_KEYS:jd,isArrayExpression:Od,isAssignmentExpression:YH,isBinary:WH,isBlockStatement:Ad,isCallExpression:zH,isFunction:J5,isIdentifier:o5,isLiteral:Cd,isMemberExpression:X8,isObjectExpression:Dd,isOptionalCallExpression:Sd,isOptionalMemberExpression:Id,isStringLiteral:Pd}=Fd;function O0(J,G){if(!J)return G;if(X8(J)||Id(J)){if(O0(J.object,G),J.computed)O0(J.property,G)}else if(WH(J)||YH(J))O0(J.left,G),O0(J.right,G);else if(zH(J)||Sd(J))G.hasCall=!0,O0(J.callee,G);else if(J5(J))G.hasFunction=!0;else if(o5(J))G.hasHelper=G.hasHelper||J.callee&&f2(J.callee);return G}function QH(J){return O0(J,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function f2(J){if(!J)return!1;if(X8(J))return f2(J.object)||f2(J.property);else if(o5(J))return J.name==="require"||J.name.charCodeAt(0)===95;else if(zH(J))return f2(J.callee);else if(WH(J)||YH(J))return o5(J.left)&&f2(J.left)||f2(J.right);else return!1}function fd(J){return Cd(J)||Dd(J)||Od(J)||o5(J)||X8(J)}var e2=KH.nodes={AssignmentExpression(J){let G=QH(J.right);if(G.hasCall&&G.hasHelper||G.hasFunction)return G.hasFunction?3:2},SwitchCase(J,G){return(!!J.consequent.length||G.cases[0]===J?1:0)|(!J.consequent.length&&G.cases[G.cases.length-1]===J?2:0)},LogicalExpression(J){if(J5(J.left)||J5(J.right))return 2},Literal(J){if(Pd(J)&&J.value==="use strict")return 2},CallExpression(J){if(J5(J.callee)||f2(J))return 3},OptionalCallExpression(J){if(J5(J.callee))return 3},VariableDeclaration(J){for(let G=0;G<J.declarations.length;G++){let X=J.declarations[G],H=f2(X.id)&&!fd(X.init);if(!H&&X.init){let V=QH(X.init);H=f2(X.init)&&V.hasCall||V.hasFunction}if(H)return 3}},IfStatement(J){if(Ad(J.consequent))return 3}};e2.ObjectProperty=e2.ObjectTypeProperty=e2.ObjectMethod=function(J,G){if(G.properties[0]===J)return 1};e2.ObjectTypeCallProperty=function(J,G){var X;if(G.callProperties[0]===J&&!((X=G.properties)!=null&&X.length))return 1};e2.ObjectTypeIndexer=function(J,G){var X,H;if(G.indexers[0]===J&&!((X=G.properties)!=null&&X.length)&&!((H=G.callProperties)!=null&&H.length))return 1};e2.ObjectTypeInternalSlot=function(J,G){var X,H,V;if(G.internalSlots[0]===J&&!((X=G.properties)!=null&&X.length)&&!((H=G.callProperties)!=null&&H.length)&&!((V=G.indexers)!=null&&V.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([J,G]){[J].concat(jd[J]||[]).forEach(function(X){let H=G?3:0;e2[X]=()=>H})})});var CH=C((AH)=>{Object.defineProperty(AH,"__esModule",{value:!0});AH.AssignmentExpression=Js;AH.Binary=FH;AH.BinaryExpression=dd;AH.ClassExpression=nd;AH.ArrowFunctionExpression=AH.ConditionalExpression=OH;AH.DoExpression=md;AH.FunctionExpression=od;AH.FunctionTypeAnnotation=hd;AH.Identifier=Xs;AH.LogicalExpression=Gs;AH.NullableTypeAnnotation=ud;AH.ObjectExpression=xd;AH.OptionalIndexedAccessType=ld;AH.OptionalCallExpression=AH.OptionalMemberExpression=ed;AH.SequenceExpression=sd;AH.TSSatisfiesExpression=AH.TSAsExpression=id;AH.TSInferType=pd;AH.TSInstantiationExpression=rd;AH.UnaryLike=AH.TSTypeAssertion=jH;AH.TSIntersectionType=AH.TSUnionType=ad;AH.IntersectionTypeAnnotation=AH.UnionTypeAnnotation=cd;AH.UpdateExpression=yd;AH.AwaitExpression=AH.YieldExpression=td;var Nd=W1(),V2=y2(),{isArrayTypeAnnotation:Td,isBinaryExpression:wd,isCallExpression:Ld,isForOfStatement:kd,isIndexedAccessType:bd,isMemberExpression:MH,isObjectPattern:Ed,isOptionalMemberExpression:vd,isYieldExpression:gd,isStatement:_d}=Nd,RH=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function $H(J,G){if(G==="BinaryExpression"||G==="LogicalExpression")return RH.get(J.operator);if(G==="TSAsExpression"||G==="TSSatisfiesExpression")return RH.get("in")}function H8(J){return J==="TSAsExpression"||J==="TSSatisfiesExpression"||J==="TSTypeAssertion"}var e5=(J,G)=>{let X=G.type;return(X==="ClassDeclaration"||X==="ClassExpression")&&G.superClass===J},J9=(J,G)=>{let X=G.type;return(X==="MemberExpression"||X==="OptionalMemberExpression")&&G.object===J||(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression")&&G.callee===J||X==="TaggedTemplateExpression"&&G.tag===J||X==="TSNonNullExpression"};function ud(J,G){return Td(G)}function hd(J,G,X){let H=G.type;return H==="UnionTypeAnnotation"||H==="IntersectionTypeAnnotation"||H==="ArrayTypeAnnotation"||Boolean(X&V2.TokenContext.arrowFlowReturnType)}function yd(J,G){return J9(J,G)||e5(J,G)}function qH(J){return Boolean(J&(V2.TokenContext.expressionStatement|V2.TokenContext.arrowBody))}function xd(J,G,X){return qH(X)}function md(J,G,X){return!J.async&&Boolean(X&V2.TokenContext.expressionStatement)}function FH(J,G){let X=G.type;if(J.type==="BinaryExpression"&&J.operator==="**"&&X==="BinaryExpression"&&G.operator==="**")return G.left===J;if(e5(J,G))return!0;if(J9(J,G)||X==="UnaryExpression"||X==="SpreadElement"||X==="AwaitExpression")return!0;let H=$H(G,X);if(H!=null){let V=$H(J,J.type);if(H===V&&X==="BinaryExpression"&&G.right===J||H>V)return!0}return}function cd(J,G){let X=G.type;return X==="ArrayTypeAnnotation"||X==="NullableTypeAnnotation"||X==="IntersectionTypeAnnotation"||X==="UnionTypeAnnotation"}function ld(J,G){return bd(G)&&G.objectType===J}function id(J,G){if((G.type==="AssignmentExpression"||G.type==="AssignmentPattern")&&G.left===J)return!0;if(G.type==="BinaryExpression"&&(G.operator==="|"||G.operator==="&")&&J===G.left)return!0;return FH(J,G)}function ad(J,G){let X=G.type;return X==="TSArrayType"||X==="TSOptionalType"||X==="TSIntersectionType"||X==="TSRestType"}function pd(J,G){let X=G.type;return X==="TSArrayType"||X==="TSOptionalType"}function rd(J,G){let X=G.type;return(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression"||X==="TSInstantiationExpression")&&!!G.typeParameters}function dd(J,G,X,H){return J.operator==="in"&&H}function sd(J,G){let X=G.type;if(X==="SequenceExpression"||X==="ParenthesizedExpression"||X==="MemberExpression"&&G.property===J||X==="OptionalMemberExpression"&&G.property===J||X==="TemplateLiteral")return!1;if(X==="ClassDeclaration")return!0;if(X==="ForOfStatement")return G.right===J;if(X==="ExportDefaultDeclaration")return!0;return!_d(G)}function td(J,G){let X=G.type;return X==="BinaryExpression"||X==="LogicalExpression"||X==="UnaryExpression"||X==="SpreadElement"||J9(J,G)||X==="AwaitExpression"&&gd(J)||X==="ConditionalExpression"&&J===G.test||e5(J,G)||H8(X)}function nd(J,G,X){return Boolean(X&(V2.TokenContext.expressionStatement|V2.TokenContext.exportDefault))}function jH(J,G){return J9(J,G)||wd(G)&&G.operator==="**"&&G.left===J||e5(J,G)}function od(J,G,X){return Boolean(X&(V2.TokenContext.expressionStatement|V2.TokenContext.exportDefault))}function OH(J,G){let X=G.type;if(X==="UnaryExpression"||X==="SpreadElement"||X==="BinaryExpression"||X==="LogicalExpression"||X==="ConditionalExpression"&&G.test===J||X==="AwaitExpression"||H8(X))return!0;return jH(J,G)}function ed(J,G){return Ld(G)&&G.callee===J||MH(G)&&G.object===J}function Js(J,G,X){if(qH(X)&&Ed(J.left))return!0;else return OH(J,G)}function Gs(J,G){let X=G.type;if(H8(X))return!0;if(X!=="LogicalExpression")return!1;switch(J.operator){case"||":return G.operator==="??"||G.operator==="&&";case"&&":return G.operator==="??";case"??":return G.operator!=="??"}}function Xs(J,G,X){var H;let V=G.type;if((H=J.extra)!=null&&H.parenthesized&&V==="AssignmentExpression"&&G.left===J){let Z=G.right.type;if((Z==="FunctionExpression"||Z==="ClassExpression")&&G.right.id==null)return!0}if(J.name==="let"){if((MH(G,{object:J,computed:!0})||vd(G,{object:J,computed:!0,optional:!1}))&&X&(V2.TokenContext.expressionStatement|V2.TokenContext.forHead|V2.TokenContext.forInHead))return!0;return Boolean(X&V2.TokenContext.forOfHead)}return J.name==="async"&&kd(G,{left:J,await:!1})}});var y2=C((PH)=>{Object.defineProperty(PH,"__esModule",{value:!0});PH.TokenContext=void 0;PH.isLastChild=ms;PH.needsParens=xs;PH.needsWhitespace=Z8;PH.needsWhitespaceAfter=ys;PH.needsWhitespaceBefore=hs;var fs=BH(),Ns=CH(),Ts=W1(),{FLIPPED_ALIAS_KEYS:ws,VISITOR_KEYS:Ls,isCallExpression:DH,isDecorator:ks,isExpressionStatement:bs,isMemberExpression:Es,isNewExpression:vs,isParenthesizedExpression:gs}=Ts,sM1=PH.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function SH(J){let G=new Map;function X(H,V){let Z=G.get(H);G.set(H,Z?function(Q,Y,W,z){var U;return(U=Z(Q,Y,W,z))!=null?U:V(Q,Y,W,z)}:V)}for(let H of Object.keys(J)){let V=ws[H];if(V)for(let Z of V)X(Z,J[H]);else X(H,J[H])}return G}var _s=SH(Ns),us=SH(fs.nodes);function IH(J){if(DH(J))return!0;return Es(J)&&IH(J.object)}function Z8(J,G,X){var H;if(!J)return!1;if(bs(J))J=J.expression;let V=(H=us.get(J.type))==null?void 0:H(J,G);if(typeof V==="number")return(V&X)!==0;return!1}function hs(J,G){return Z8(J,G,1)}function ys(J,G){return Z8(J,G,2)}function xs(J,G,X,H){var V;if(!G)return!1;if(vs(G)&&G.callee===J){if(IH(J))return!0}if(ks(G))return!V8(J)&&!(DH(J)&&V8(J.callee))&&!gs(J);return(V=_s.get(J.type))==null?void 0:V(J,G,X,H)}function V8(J){switch(J.type){case"Identifier":return!0;case"MemberExpression":return!J.computed&&J.property.type==="Identifier"&&V8(J.object);default:return!1}}function ms(J,G){let X=Ls[J.type];for(let H=X.length-1;H>=0;H--){let V=J[X[H]];if(V===G)return!0;else if(Array.isArray(V)){let Z=V.length-1;while(Z>=0&&V[Z]===null)Z--;return Z>=0&&V[Z]===G}else if(V)return!1}return!1}});var TH=C((NH)=>{Object.defineProperty(NH,"__esModule",{value:!0});NH.TaggedTemplateExpression=rs;NH.TemplateElement=ds;NH.TemplateLiteral=ss;function rs(J){this.print(J.tag),this.print(J.typeParameters),this.print(J.quasi)}function ds(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function ss(J){let G=J.quasis,X="`";for(let H=0;H<G.length;H++)if(X+=G[H].value.raw,H+1<G.length)this.token(X+"${",!0),this.print(J.expressions[H]),X="}";this.token(X+"`",!0)}});var kH=C((LH)=>{Object.defineProperty(LH,"__esModule",{value:!0});LH.LogicalExpression=LH.BinaryExpression=LH.AssignmentExpression=It;LH.AssignmentPattern=St;LH.AwaitExpression=Ot;LH.BindExpression=Pt;LH.CallExpression=Ft;LH.ConditionalExpression=Wt;LH.Decorator=$t;LH.DoExpression=Zt;LH.EmptyStatement=Ct;LH.ExpressionStatement=Dt;LH.Import=jt;LH.MemberExpression=ft;LH.MetaProperty=Nt;LH.ModuleExpression=Lt;LH.NewExpression=zt;LH.OptionalCallExpression=qt;LH.OptionalMemberExpression=Mt;LH.ParenthesizedExpression=Qt;LH.PrivateName=Tt;LH.SequenceExpression=Kt;LH.Super=Bt;LH.ThisExpression=Ut;LH.UnaryExpression=Vt;LH.UpdateExpression=Yt;LH.V8IntrinsicIdentifier=wt;LH.YieldExpression=At;LH._shouldPrintDecoratorsBeforeExport=Rt;var es=W1(),Jt=y2(),{isCallExpression:Gt,isLiteral:wH,isMemberExpression:Q8,isNewExpression:Xt,isPattern:Ht}=es;function Vt(J){let{operator:G}=J;if(G==="void"||G==="delete"||G==="typeof"||G==="throw")this.word(G),this.space();else this.token(G);this.print(J.argument)}function Zt(J){if(J.async)this.word("async",!0),this.space();this.word("do"),this.space(),this.print(J.body)}function Qt(J){this.tokenChar(40);let G=this.enterDelimited();this.print(J.expression),G(),this.rightParens(J)}function Yt(J){if(J.prefix)this.token(J.operator),this.print(J.argument);else this.print(J.argument,!0),this.token(J.operator)}function Wt(J){this.print(J.test),this.space(),this.tokenChar(63),this.space(),this.print(J.consequent),this.space(),this.tokenChar(58),this.space(),this.print(J.alternate)}function zt(J,G){if(this.word("new"),this.space(),this.print(J.callee),this.format.minified&&J.arguments.length===0&&!J.optional&&!Gt(G,{callee:J})&&!Q8(G)&&!Xt(G))return;if(this.print(J.typeArguments),this.print(J.typeParameters),J.optional)this.token("?.");this.tokenChar(40);let X=this.enterDelimited();this.printList(J.arguments),X(),this.rightParens(J)}function Kt(J){this.printList(J.expressions)}function Ut(){this.word("this")}function Bt(){this.word("super")}function Rt(J){if(typeof this.format.decoratorsBeforeExport==="boolean")return this.format.decoratorsBeforeExport;return typeof J.start==="number"&&J.start===J.declaration.start}function $t(J){this.tokenChar(64),this.print(J.expression),this.newline()}function Mt(J){let{computed:G}=J,{optional:X,property:H}=J;if(this.print(J.object),!G&&Q8(H))throw new TypeError("Got a MemberExpression for MemberExpression property");if(wH(H)&&typeof H.value==="number")G=!0;if(X)this.token("?.");if(G)this.tokenChar(91),this.print(H),this.tokenChar(93);else{if(!X)this.tokenChar(46);this.print(H)}}function qt(J){if(this.print(J.callee),this.print(J.typeParameters),J.optional)this.token("?.");this.print(J.typeArguments),this.tokenChar(40);let G=this.enterDelimited();this.printList(J.arguments),G(),this.rightParens(J)}function Ft(J){this.print(J.callee),this.print(J.typeArguments),this.print(J.typeParameters),this.tokenChar(40);let G=this.enterDelimited();this.printList(J.arguments),G(),this.rightParens(J)}function jt(){this.word("import")}function Ot(J){if(this.word("await"),J.argument)this.space(),this.printTerminatorless(J.argument)}function At(J){if(this.word("yield",!0),J.delegate){if(this.tokenChar(42),J.argument)this.space(),this.print(J.argument)}else if(J.argument)this.space(),this.printTerminatorless(J.argument)}function Ct(){this.semicolon(!0)}function Dt(J){this.tokenContext|=Jt.TokenContext.expressionStatement,this.print(J.expression),this.semicolon()}function St(J){if(this.print(J.left),J.left.type==="Identifier"||Ht(J.left)){if(J.left.optional)this.tokenChar(63);this.print(J.left.typeAnnotation)}this.space(),this.tokenChar(61),this.space(),this.print(J.right)}function It(J){if(this.print(J.left),this.space(),J.operator==="in"||J.operator==="instanceof")this.word(J.operator);else this.token(J.operator),this._endsWithDiv=J.operator==="/";this.space(),this.print(J.right)}function Pt(J){this.print(J.object),this.token("::"),this.print(J.callee)}function ft(J){if(this.print(J.object),!J.computed&&Q8(J.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let G=J.computed;if(wH(J.property)&&typeof J.property.value==="number")G=!0;if(G){let X=this.enterDelimited();this.tokenChar(91),this.print(J.property),this.tokenChar(93),X()}else this.tokenChar(46),this.print(J.property)}function Nt(J){this.print(J.meta),this.tokenChar(46),this.print(J.property)}function Tt(J){this.tokenChar(35),this.print(J.id)}function wt(J){this.tokenChar(37),this.word(J.name)}function Lt(J){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:G}=J;if(G.body.length||G.directives.length)this.newline();this.print(G),this.dedent(),this.rightBrace(J)}});var uH=C((gH)=>{Object.defineProperty(gH,"__esModule",{value:!0});gH.BreakStatement=Rn;gH.CatchClause=On;gH.ContinueStatement=$n;gH.DebuggerStatement=Dn;gH.DoWhileStatement=Bn;gH.ForOfStatement=gH.ForInStatement=void 0;gH.ForStatement=Kn;gH.IfStatement=zn;gH.LabeledStatement=Fn;gH.ReturnStatement=Mn;gH.SwitchCase=Cn;gH.SwitchStatement=An;gH.ThrowStatement=qn;gH.TryStatement=jn;gH.VariableDeclaration=Sn;gH.VariableDeclarator=In;gH.WhileStatement=Un;gH.WithStatement=Wn;var Vn=W1(),Y8=y2(),{isFor:bH,isForStatement:Zn,isIfStatement:Qn,isStatement:Yn}=Vn;function Wn(J){this.word("with"),this.space(),this.tokenChar(40),this.print(J.object),this.tokenChar(41),this.printBlock(J)}function zn(J){this.word("if"),this.space(),this.tokenChar(40),this.print(J.test),this.tokenChar(41),this.space();let G=J.alternate&&Qn(EH(J.consequent));if(G)this.tokenChar(123),this.newline(),this.indent();if(this.printAndIndentOnComments(J.consequent),G)this.dedent(),this.newline(),this.tokenChar(125);if(J.alternate){if(this.endsWith(125))this.space();this.word("else"),this.space(),this.printAndIndentOnComments(J.alternate)}}function EH(J){let{body:G}=J;if(Yn(G)===!1)return J;return EH(G)}function Kn(J){this.word("for"),this.space(),this.tokenChar(40);{let G=this.enterForStatementInit();this.tokenContext|=Y8.TokenContext.forHead,this.print(J.init),G()}if(this.tokenChar(59),J.test)this.space(),this.print(J.test);if(this.tokenChar(59),J.update)this.space(),this.print(J.update);this.tokenChar(41),this.printBlock(J)}function Un(J){this.word("while"),this.space(),this.tokenChar(40),this.print(J.test),this.tokenChar(41),this.printBlock(J)}function vH(J){this.word("for"),this.space();let G=J.type==="ForOfStatement";if(G&&J.await)this.word("await"),this.space();this.noIndentInnerCommentsHere(),this.tokenChar(40);{let X=G?null:this.enterForStatementInit();this.tokenContext|=G?Y8.TokenContext.forOfHead:Y8.TokenContext.forInHead,this.print(J.left),X==null||X()}this.space(),this.word(G?"of":"in"),this.space(),this.print(J.right),this.tokenChar(41),this.printBlock(J)}var Gq1=gH.ForInStatement=vH,Xq1=gH.ForOfStatement=vH;function Bn(J){this.word("do"),this.space(),this.print(J.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(J.test),this.tokenChar(41),this.semicolon()}function G9(J,G){if(G)J.space(),J.printTerminatorless(G);J.semicolon()}function Rn(J){this.word("break"),G9(this,J.label)}function $n(J){this.word("continue"),G9(this,J.label)}function Mn(J){this.word("return"),G9(this,J.argument)}function qn(J){this.word("throw"),G9(this,J.argument)}function Fn(J){this.print(J.label),this.tokenChar(58),this.space(),this.print(J.body)}function jn(J){if(this.word("try"),this.space(),this.print(J.block),this.space(),J.handlers)this.print(J.handlers[0]);else this.print(J.handler);if(J.finalizer)this.space(),this.word("finally"),this.space(),this.print(J.finalizer)}function On(J){if(this.word("catch"),this.space(),J.param)this.tokenChar(40),this.print(J.param),this.print(J.param.typeAnnotation),this.tokenChar(41),this.space();this.print(J.body)}function An(J){this.word("switch"),this.space(),this.tokenChar(40),this.print(J.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(J.cases,{indent:!0,addNewlines(G,X){if(!G&&J.cases[J.cases.length-1]===X)return-1}}),this.rightBrace(J)}function Cn(J){if(J.test)this.word("case"),this.space(),this.print(J.test),this.tokenChar(58);else this.word("default"),this.tokenChar(58);if(J.consequent.length)this.newline(),this.printSequence(J.consequent,{indent:!0})}function Dn(){this.word("debugger"),this.semicolon()}function Sn(J,G){if(J.declare)this.word("declare"),this.space();let{kind:X}=J;if(X==="await using")this.word("await"),this.space(),this.word("using",!0);else this.word(X,X==="using");this.space();let H=!1;if(!bH(G)){for(let V of J.declarations)if(V.init)H=!0}if(this.printList(J.declarations,{separator:H?function(){this.tokenChar(44),this.newline()}:void 0,indent:J.declarations.length>1?!0:!1}),bH(G)){if(Zn(G)){if(G.init===J)return}else if(G.left===J)return}this.semicolon()}function In(J){if(this.print(J.id),J.definite)this.tokenChar(33);if(this.print(J.id.typeAnnotation),J.init)this.space(),this.tokenChar(61),this.space(),this.print(J.init)}});var yH=C((hH)=>{Object.defineProperty(hH,"__esModule",{value:!0});hH.ClassAccessorProperty=tn;hH.ClassBody=dn;hH.ClassExpression=hH.ClassDeclaration=rn;hH.ClassMethod=on;hH.ClassPrivateMethod=en;hH.ClassPrivateProperty=nn;hH.ClassProperty=sn;hH.StaticBlock=Go;hH._classMethodHead=Jo;var ln=W1(),{isExportDefaultDeclaration:an,isExportNamedDeclaration:pn}=ln;function rn(J,G){if(!(an(G)||pn(G))||!this._shouldPrintDecoratorsBeforeExport(G))this.printJoin(J.decorators);if(J.declare)this.word("declare"),this.space();if(J.abstract)this.word("abstract"),this.space();if(this.word("class"),J.id)this.space(),this.print(J.id);if(this.print(J.typeParameters),J.superClass)this.space(),this.word("extends"),this.space(),this.print(J.superClass),this.print(J.superTypeParameters);if(J.implements)this.space(),this.word("implements"),this.space(),this.printList(J.implements);this.space(),this.print(J.body)}function dn(J){if(this.tokenChar(123),J.body.length===0)this.tokenChar(125);else{this.newline();let G=this.enterDelimited();if(this.printSequence(J.body,{indent:!0}),G(),!this.endsWith(10))this.newline();this.rightBrace(J)}}function sn(J){var G;this.printJoin(J.decorators);let X=(G=J.key.loc)==null||(G=G.end)==null?void 0:G.line;if(X)this.catchUp(X);if(this.tsPrintClassMemberModifiers(J),J.computed)this.tokenChar(91),this.print(J.key),this.tokenChar(93);else this._variance(J),this.print(J.key);if(J.optional)this.tokenChar(63);if(J.definite)this.tokenChar(33);if(this.print(J.typeAnnotation),J.value)this.space(),this.tokenChar(61),this.space(),this.print(J.value);this.semicolon()}function tn(J){var G;this.printJoin(J.decorators);let X=(G=J.key.loc)==null||(G=G.end)==null?void 0:G.line;if(X)this.catchUp(X);if(this.tsPrintClassMemberModifiers(J),this.word("accessor",!0),this.space(),J.computed)this.tokenChar(91),this.print(J.key),this.tokenChar(93);else this._variance(J),this.print(J.key);if(J.optional)this.tokenChar(63);if(J.definite)this.tokenChar(33);if(this.print(J.typeAnnotation),J.value)this.space(),this.tokenChar(61),this.space(),this.print(J.value);this.semicolon()}function nn(J){if(this.printJoin(J.decorators),J.static)this.word("static"),this.space();if(this.print(J.key),this.print(J.typeAnnotation),J.value)this.space(),this.tokenChar(61),this.space(),this.print(J.value);this.semicolon()}function on(J){this._classMethodHead(J),this.space(),this.print(J.body)}function en(J){this._classMethodHead(J),this.space(),this.print(J.body)}function Jo(J){var G;this.printJoin(J.decorators);let X=(G=J.key.loc)==null||(G=G.end)==null?void 0:G.line;if(X)this.catchUp(X);this.tsPrintClassMemberModifiers(J),this._methodHead(J)}function Go(J){if(this.word("static"),this.space(),this.tokenChar(123),J.body.length===0)this.tokenChar(125);else this.newline(),this.printSequence(J.body,{indent:!0}),this.rightBrace(J)}});var mH=C((xH)=>{Object.defineProperty(xH,"__esModule",{value:!0});xH.ArrowFunctionExpression=Co;xH.FunctionDeclaration=xH.FunctionExpression=Ao;xH._functionHead=Oo;xH._methodHead=Fo;xH._param=qo;xH._parameters=Mo;xH._params=$o;xH._predicate=jo;var Uo=W1(),Bo=y2(),{isIdentifier:Ro}=Uo;function $o(J,G,X){this.print(J.typeParameters);let H=So.call(this,G,X);if(H)this.sourceIdentifierName(H.name,H.pos);this.tokenChar(40),this._parameters(J.params),this.tokenChar(41);let V=J.type==="ArrowFunctionExpression";this.print(J.returnType,V),this._noLineTerminator=V}function Mo(J){let G=this.enterDelimited(),X=J.length;for(let H=0;H<X;H++)if(this._param(J[H]),H<J.length-1)this.tokenChar(44),this.space();G()}function qo(J){if(this.printJoin(J.decorators),this.print(J),J.optional)this.tokenChar(63);this.print(J.typeAnnotation)}function Fo(J){let{kind:G,key:X}=J;if(G==="get"||G==="set")this.word(G),this.space();if(J.async)this.word("async",!0),this.space();if(G==="method"||G==="init"){if(J.generator)this.tokenChar(42)}if(J.computed)this.tokenChar(91),this.print(X),this.tokenChar(93);else this.print(X);if(J.optional)this.tokenChar(63);this._params(J,J.computed&&J.key.type!=="StringLiteral"?void 0:J.key,void 0)}function jo(J,G){if(J.predicate){if(!J.returnType)this.tokenChar(58);this.space(),this.print(J.predicate,G)}}function Oo(J,G){if(J.async)this.word("async"),this._endsWithInnerRaw=!1,this.space();if(this.word("function"),J.generator)this._endsWithInnerRaw=!1,this.tokenChar(42);if(this.space(),J.id)this.print(J.id);if(this._params(J,J.id,G),J.type!=="TSDeclareFunction")this._predicate(J)}function Ao(J,G){this._functionHead(J,G),this.space(),this.print(J.body)}function Co(J,G){if(J.async)this.word("async",!0),this.space();let X;if(!this.format.retainLines&&J.params.length===1&&Ro(X=J.params[0])&&!Do(J,X))this.print(X,!0);else this._params(J,void 0,G);this._predicate(J,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=Bo.TokenContext.arrowBody,this.print(J.body)}function Do(J,G){var X,H;return!!(J.typeParameters||J.returnType||J.predicate||G.typeAnnotation||G.optional||(X=G.leadingComments)!=null&&X.length||(H=G.trailingComments)!=null&&H.length)}function So(J,G){let X=J;if(!X&&G){let W=G.type;if(W==="VariableDeclarator")X=G.id;else if(W==="AssignmentExpression"||W==="AssignmentPattern")X=G.left;else if(W==="ObjectProperty"||W==="ClassProperty"){if(!G.computed||G.key.type==="StringLiteral")X=G.key}else if(W==="ClassPrivateProperty"||W==="ClassAccessorProperty")X=G.key}if(!X)return;let H;if(X.type==="Identifier"){var V,Z;H={pos:(V=X.loc)==null?void 0:V.start,name:((Z=X.loc)==null?void 0:Z.identifierName)||X.name}}else if(X.type==="PrivateName"){var Q;H={pos:(Q=X.loc)==null?void 0:Q.start,name:"#"+X.id.name}}else if(X.type==="StringLiteral"){var Y;H={pos:(Y=X.loc)==null?void 0:Y.start,name:X.value}}return H}});var W8=C((aH)=>{Object.defineProperty(aH,"__esModule",{value:!0});aH.ExportAllDeclaration=ao;aH.ExportDefaultDeclaration=ro;aH.ExportDefaultSpecifier=mo;aH.ExportNamedDeclaration=po;aH.ExportNamespaceSpecifier=lo;aH.ExportSpecifier=co;aH.ImportAttribute=to;aH.ImportDeclaration=so;aH.ImportDefaultSpecifier=xo;aH.ImportExpression=oo;aH.ImportNamespaceSpecifier=no;aH.ImportSpecifier=yo;aH._printAttributes=io;var bo=W1(),Eo=y2(),{isClassDeclaration:vo,isExportDefaultSpecifier:go,isExportNamespaceSpecifier:_o,isImportDefaultSpecifier:uo,isImportNamespaceSpecifier:ho,isStatement:lH}=bo;function yo(J){if(J.importKind==="type"||J.importKind==="typeof")this.word(J.importKind),this.space();if(this.print(J.imported),J.local&&J.local.name!==J.imported.name)this.space(),this.word("as"),this.space(),this.print(J.local)}function xo(J){this.print(J.local)}function mo(J){this.print(J.exported)}function co(J){if(J.exportKind==="type")this.word("type"),this.space();if(this.print(J.local),J.exported&&J.local.name!==J.exported.name)this.space(),this.word("as"),this.space(),this.print(J.exported)}function lo(J){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(J.exported)}var cH=!1;function io(J){let{importAttributesKeyword:G}=this.format,{attributes:X,assertions:H}=J;if(X&&!G&&!cH)cH=!0,console.warn(`You are using import attributes, without specifying the desired output syntax.
3
- Please specify the "importAttributesKeyword" generator option, whose value can be one of:
4
- - "with" : \`import { a } from "b" with { type: "json" };\`
5
- - "assert" : \`import { a } from "b" assert { type: "json" };\`
6
- - "with-legacy" : \`import { a } from "b" with type: "json";\`
7
- `);let V=G==="assert"||!G&&H;if(this.word(V?"assert":"with"),this.space(),!V&&G!=="with"){this.printList(X||H);return}this.tokenChar(123),this.space(),this.printList(X||H),this.space(),this.tokenChar(125)}function ao(J){var G,X;if(this.word("export"),this.space(),J.exportKind==="type")this.word("type"),this.space();if(this.tokenChar(42),this.space(),this.word("from"),this.space(),(G=J.attributes)!=null&&G.length||(X=J.assertions)!=null&&X.length)this.print(J.source,!0),this.space(),this._printAttributes(J);else this.print(J.source);this.semicolon()}function iH(J,G){if(vo(G.declaration)&&J._shouldPrintDecoratorsBeforeExport(G))J.printJoin(G.declaration.decorators)}function po(J){if(iH(this,J),this.word("export"),this.space(),J.declaration){let H=J.declaration;if(this.print(H),!lH(H))this.semicolon()}else{if(J.exportKind==="type")this.word("type"),this.space();let H=J.specifiers.slice(0),V=!1;for(;;){let Z=H[0];if(go(Z)||_o(Z)){if(V=!0,this.print(H.shift()),H.length)this.tokenChar(44),this.space()}else break}if(H.length||!H.length&&!V){if(this.tokenChar(123),H.length)this.space(),this.printList(H),this.space();this.tokenChar(125)}if(J.source){var G,X;if(this.space(),this.word("from"),this.space(),(G=J.attributes)!=null&&G.length||(X=J.assertions)!=null&&X.length)this.print(J.source,!0),this.space(),this._printAttributes(J);else this.print(J.source)}this.semicolon()}}function ro(J){iH(this,J),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=Eo.TokenContext.exportDefault;let G=J.declaration;if(this.print(G),!lH(G))this.semicolon()}function so(J){var G,X;this.word("import"),this.space();let H=J.importKind==="type"||J.importKind==="typeof";if(H)this.noIndentInnerCommentsHere(),this.word(J.importKind),this.space();else if(J.module)this.noIndentInnerCommentsHere(),this.word("module"),this.space();else if(J.phase)this.noIndentInnerCommentsHere(),this.word(J.phase),this.space();let V=J.specifiers.slice(0),Z=!!V.length;while(Z){let Q=V[0];if(uo(Q)||ho(Q)){if(this.print(V.shift()),V.length)this.tokenChar(44),this.space()}else break}if(V.length)this.tokenChar(123),this.space(),this.printList(V),this.space(),this.tokenChar(125);else if(H&&!Z)this.tokenChar(123),this.tokenChar(125);if(Z||H)this.space(),this.word("from"),this.space();if((G=J.attributes)!=null&&G.length||(X=J.assertions)!=null&&X.length)this.print(J.source,!0),this.space(),this._printAttributes(J);else this.print(J.source);this.semicolon()}function to(J){this.print(J.key),this.tokenChar(58),this.space(),this.print(J.value)}function no(J){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(J.local)}function oo(J){if(this.word("import"),J.phase)this.tokenChar(46),this.word(J.phase);if(this.tokenChar(40),this.print(J.source),J.options!=null)this.tokenChar(44),this.space(),this.print(J.options);this.tokenChar(41)}});var sH=C((zq1,dH)=>{var pH={},Be=pH.hasOwnProperty,rH=(J,G)=>{for(let X in J)if(Be.call(J,X))G(X,J[X])},Re=(J,G)=>{if(!G)return J;return rH(G,(X,H)=>{J[X]=H}),J},$e=(J,G)=>{let X=J.length,H=-1;while(++H<X)G(J[H])},X9=(J)=>{return"\\u"+("0000"+J).slice(-4)},G5=(J,G)=>{let X=J.toString(16);if(G)return X;return X.toUpperCase()},X5=pH.toString,Me=Array.isArray,qe=(J)=>{return typeof Buffer==="function"&&Buffer.isBuffer(J)},Fe=(J)=>{return X5.call(J)=="[object Object]"},je=(J)=>{return typeof J=="string"||X5.call(J)=="[object String]"},Oe=(J)=>{return typeof J=="number"||X5.call(J)=="[object Number]"},Ae=(J)=>{return typeof J=="function"},Ce=(J)=>{return X5.call(J)=="[object Map]"},De=(J)=>{return X5.call(J)=="[object Set]"},Se={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},Ie=/[\\\b\f\n\r\t]/,Pe=/[0-9]/,fe=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ne=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,Te=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,x2=(J,G)=>{let X=()=>{z=W,++G.indentLevel,W=G.indent.repeat(G.indentLevel)},H={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},V=G&&G.json;if(V)H.quotes="double",H.wrap=!0;if(G=Re(H,G),G.quotes!="single"&&G.quotes!="double"&&G.quotes!="backtick")G.quotes="single";let Z=G.quotes=="double"?'"':G.quotes=="backtick"?"`":"\'",Q=G.compact,Y=G.lowercaseHex,W=G.indent.repeat(G.indentLevel),z="",U=G.__inline1__,F=G.__inline2__,A=Q?"":"\n",D,I=!0,_=G.numbers=="binary",f=G.numbers=="octal",w=G.numbers=="decimal",k=G.numbers=="hexadecimal";if(V&&J&&Ae(J.toJSON))J=J.toJSON();if(!je(J)){if(Ce(J)){if(J.size==0)return"new Map()";if(!Q)G.__inline1__=!0,G.__inline2__=!1;return"new Map("+x2(Array.from(J),G)+")"}if(De(J)){if(J.size==0)return"new Set()";return"new Set("+x2(Array.from(J),G)+")"}if(qe(J)){if(J.length==0)return"Buffer.from([])";return"Buffer.from("+x2(Array.from(J),G)+")"}if(Me(J)){if(D=[],G.wrap=!0,U)G.__inline1__=!1,G.__inline2__=!0;if(!F)X();if($e(J,(d)=>{if(I=!1,F)G.__inline2__=!1;D.push((Q||F?"":W)+x2(d,G))}),I)return"[]";if(F)return"["+D.join(", ")+"]";return"["+A+D.join(","+A)+A+(Q?"":z)+"]"}else if(Oe(J)){if(V)return JSON.stringify(J);if(w)return String(J);if(k){let d=J.toString(16);if(!Y)d=d.toUpperCase();return"0x"+d}if(_)return"0b"+J.toString(2);if(f)return"0o"+J.toString(8)}else if(!Fe(J)){if(V)return JSON.stringify(J)||"null";return String(J)}else{if(D=[],G.wrap=!0,X(),rH(J,(d,Y1)=>{I=!1,D.push((Q?"":W)+x2(d,G)+":"+(Q?"":" ")+x2(Y1,G))}),I)return"{}";return"{"+A+D.join(","+A)+A+(Q?"":z)+"}"}}let Q1=G.escapeEverything?Ne:Te;if(D=J.replace(Q1,(d,Y1,$1,T1,b1,y)=>{if(Y1){if(G.minimal)return Y1;let N=Y1.charCodeAt(0),c=Y1.charCodeAt(1);if(G.es6){let V1=(N-55296)*1024+c-56320+65536;return"\\u{"+G5(V1,Y)+"}"}return X9(G5(N,Y))+X9(G5(c,Y))}if($1)return X9(G5($1.charCodeAt(0),Y));if(d=="\0"&&!V&&!Pe.test(y.charAt(b1+1)))return"\\0";if(T1){if(T1==Z||G.escapeEverything)return"\\"+T1;return T1}if(Ie.test(d))return Se[d];if(G.minimal&&!fe.test(d))return d;let x=G5(d.charCodeAt(0),Y);if(V||x.length>2)return X9(x);return"\\x"+("00"+x).slice(-2)}),Z=="`")D=D.replace(/\$\{/g,"\\${");if(G.isScriptContext)D=D.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,V?"\\u003C!--":"\\x3C!--");if(G.wrap)D=Z+D+Z;return D};x2.version="3.0.2";dH.exports=x2});var K8=C((oH)=>{Object.defineProperty(oH,"__esModule",{value:!0});oH.ArgumentPlaceholder=be;oH.ArrayPattern=oH.ArrayExpression=ue;oH.BigIntLiteral=ae;oH.BooleanLiteral=me;oH.DecimalLiteral=pe;oH.Identifier=ke;oH.NullLiteral=ce;oH.NumericLiteral=le;oH.ObjectPattern=oH.ObjectExpression=ve;oH.ObjectMethod=ge;oH.ObjectProperty=_e;oH.PipelineBareFunction=se;oH.PipelinePrimaryTopicReference=te;oH.PipelineTopicExpression=de;oH.RecordExpression=he;oH.RegExpLiteral=xe;oH.SpreadElement=oH.RestElement=Ee;oH.StringLiteral=ie;oH.TopicReference=re;oH.TupleExpression=ye;var we=W1(),nH=sH(),{isAssignmentPattern:Le,isIdentifier:z8}=we;function ke(J){var G;this.sourceIdentifierName(((G=J.loc)==null?void 0:G.identifierName)||J.name),this.word(J.name)}function be(){this.tokenChar(63)}function Ee(J){this.token("..."),this.print(J.argument)}function ve(J){let G=J.properties;if(this.tokenChar(123),G.length){let X=this.enterDelimited();this.space(),this.printList(G,{indent:!0,statement:!0}),this.space(),X()}this.sourceWithOffset("end",J.loc,-1),this.tokenChar(125)}function ge(J){this.printJoin(J.decorators),this._methodHead(J),this.space(),this.print(J.body)}function _e(J){if(this.printJoin(J.decorators),J.computed)this.tokenChar(91),this.print(J.key),this.tokenChar(93);else{if(Le(J.value)&&z8(J.key)&&J.key.name===J.value.left.name){this.print(J.value);return}if(this.print(J.key),J.shorthand&&z8(J.key)&&z8(J.value)&&J.key.name===J.value.name)return}this.tokenChar(58),this.space(),this.print(J.value)}function ue(J){let G=J.elements,X=G.length;this.tokenChar(91);let H=this.enterDelimited();for(let V=0;V<G.length;V++){let Z=G[V];if(Z){if(V>0)this.space();if(this.print(Z),V<X-1)this.tokenChar(44)}else this.tokenChar(44)}H(),this.tokenChar(93)}function he(J){let G=J.properties,X,H;if(this.format.recordAndTupleSyntaxType==="bar")X="{|",H="|}";else if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);else X="#{",H="}";if(this.token(X),G.length)this.space(),this.printList(G,{indent:!0,statement:!0}),this.space();this.token(H)}function ye(J){let G=J.elements,X=G.length,H,V;if(this.format.recordAndTupleSyntaxType==="bar")H="[|",V="|]";else if(this.format.recordAndTupleSyntaxType==="hash")H="#[",V="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(H);for(let Z=0;Z<G.length;Z++){let Q=G[Z];if(Q){if(Z>0)this.space();if(this.print(Q),Z<X-1)this.tokenChar(44)}}this.token(V)}function xe(J){this.word(`/${J.pattern}/${J.flags}`)}function me(J){this.word(J.value?"true":"false")}function ce(){this.word("null")}function le(J){let G=this.getPossibleRaw(J),X=this.format.jsescOption,H=J.value,V=H+"";if(X.numbers)this.number(nH(H,X),H);else if(G==null)this.number(V,H);else if(this.format.minified)this.number(G.length<V.length?G:V,H);else this.number(G,H)}function ie(J){let G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.token(G);return}let X=nH(J.value,this.format.jsescOption);this.token(X)}function ae(J){let G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.word(G);return}this.word(J.value+"n")}function pe(J){let G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.word(G);return}this.word(J.value+"m")}var tH=new Set(["^^","@@","^","%","#"]);function re(){let{topicToken:J}=this.format;if(tH.has(J))this.token(J);else{let G=JSON.stringify(J),X=Array.from(tH,(H)=>JSON.stringify(H));throw new Error(`The "topicToken" generator option must be one of ${X.join(", ")} (${G} received instead).`)}}function de(J){this.print(J.expression)}function se(J){this.print(J.callee)}function te(){this.tokenChar(35)}});var JV=C((Q9)=>{Object.defineProperty(Q9,"__esModule",{value:!0});Q9.AnyTypeAnnotation=C11;Q9.ArrayTypeAnnotation=D11;Q9.BooleanLiteralTypeAnnotation=I11;Q9.BooleanTypeAnnotation=S11;Q9.DeclareClass=f11;Q9.DeclareExportAllDeclaration=u11;Q9.DeclareExportDeclaration=_11;Q9.DeclareFunction=N11;Q9.DeclareInterface=L11;Q9.DeclareModule=k11;Q9.DeclareModuleExports=b11;Q9.DeclareOpaqueType=v11;Q9.DeclareTypeAlias=E11;Q9.DeclareVariable=g11;Q9.DeclaredPredicate=w11;Q9.EmptyTypeAnnotation=Z21;Q9.EnumBooleanBody=y11;Q9.EnumBooleanMember=i11;Q9.EnumDeclaration=h11;Q9.EnumDefaultedMember=l11;Q9.EnumNumberBody=x11;Q9.EnumNumberMember=a11;Q9.EnumStringBody=m11;Q9.EnumStringMember=p11;Q9.EnumSymbolBody=c11;Q9.ExistsTypeAnnotation=d11;Q9.FunctionTypeAnnotation=s11;Q9.FunctionTypeParam=t11;Q9.IndexedAccessType=L21;Q9.InferredPredicate=T11;Q9.InterfaceDeclaration=J21;Q9.GenericTypeAnnotation=Q9.ClassImplements=Q9.InterfaceExtends=n11;Q9.InterfaceTypeAnnotation=X21;Q9.IntersectionTypeAnnotation=H21;Q9.MixedTypeAnnotation=V21;Q9.NullLiteralTypeAnnotation=P11;Q9.NullableTypeAnnotation=Q21;Object.defineProperty(Q9,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return eH.NumericLiteral}});Q9.NumberTypeAnnotation=Y21;Q9.ObjectTypeAnnotation=F21;Q9.ObjectTypeCallProperty=O21;Q9.ObjectTypeIndexer=A21;Q9.ObjectTypeInternalSlot=j21;Q9.ObjectTypeProperty=C21;Q9.ObjectTypeSpreadProperty=D21;Q9.OpaqueType=q21;Q9.OptionalIndexedAccessType=k21;Q9.QualifiedTypeIdentifier=S21;Object.defineProperty(Q9,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return eH.StringLiteral}});Q9.StringTypeAnnotation=W21;Q9.SymbolTypeAnnotation=I21;Q9.ThisTypeAnnotation=z21;Q9.TupleTypeAnnotation=K21;Q9.TypeAlias=B21;Q9.TypeAnnotation=R21;Q9.TypeCastExpression=N21;Q9.TypeParameter=M21;Q9.TypeParameterDeclaration=Q9.TypeParameterInstantiation=$21;Q9.TypeofTypeAnnotation=U21;Q9.UnionTypeAnnotation=f21;Q9.Variance=T21;Q9.VoidTypeAnnotation=w21;Q9._interfaceish=o11;Q9._variance=e11;var F11=W1(),j11=W8(),O11=y2(),eH=K8(),{isDeclareExportDeclaration:H9,isStatement:A11}=F11;function C11(){this.word("any")}function D11(J){this.print(J.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function S11(){this.word("boolean")}function I11(J){this.word(J.value?"true":"false")}function P11(){this.word("null")}function f11(J,G){if(!H9(G))this.word("declare"),this.space();this.word("class"),this.space(),this._interfaceish(J)}function N11(J,G){if(!H9(G))this.word("declare"),this.space();if(this.word("function"),this.space(),this.print(J.id),this.print(J.id.typeAnnotation.typeAnnotation),J.predicate)this.space(),this.print(J.predicate);this.semicolon()}function T11(){this.tokenChar(37),this.word("checks")}function w11(J){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(J.value),this.tokenChar(41)}function L11(J){this.word("declare"),this.space(),this.InterfaceDeclaration(J)}function k11(J){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(J.id),this.space(),this.print(J.body)}function b11(J){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(J.typeAnnotation)}function E11(J){this.word("declare"),this.space(),this.TypeAlias(J)}function v11(J,G){if(!H9(G))this.word("declare"),this.space();this.OpaqueType(J)}function g11(J,G){if(!H9(G))this.word("declare"),this.space();this.word("var"),this.space(),this.print(J.id),this.print(J.id.typeAnnotation),this.semicolon()}function _11(J){if(this.word("declare"),this.space(),this.word("export"),this.space(),J.default)this.word("default"),this.space();r11.call(this,J)}function u11(J){this.word("declare"),this.space(),j11.ExportAllDeclaration.call(this,J)}function h11(J){let{id:G,body:X}=J;this.word("enum"),this.space(),this.print(G),this.print(X)}function V9(J,G,X){if(X)J.space(),J.word("of"),J.space(),J.word(G);J.space()}function Z9(J,G){let{members:X}=G;J.token("{"),J.indent(),J.newline();for(let H of X)J.print(H),J.newline();if(G.hasUnknownMembers)J.token("..."),J.newline();J.dedent(),J.token("}")}function y11(J){let{explicitType:G}=J;V9(this,"boolean",G),Z9(this,J)}function x11(J){let{explicitType:G}=J;V9(this,"number",G),Z9(this,J)}function m11(J){let{explicitType:G}=J;V9(this,"string",G),Z9(this,J)}function c11(J){V9(this,"symbol",!0),Z9(this,J)}function l11(J){let{id:G}=J;this.print(G),this.tokenChar(44)}function U8(J,G){J.print(G.id),J.space(),J.token("="),J.space(),J.print(G.init),J.token(",")}function i11(J){U8(this,J)}function a11(J){U8(this,J)}function p11(J){U8(this,J)}function r11(J){if(J.declaration){let G=J.declaration;if(this.print(G),!A11(G))this.semicolon()}else{if(this.tokenChar(123),J.specifiers.length)this.space(),this.printList(J.specifiers),this.space();if(this.tokenChar(125),J.source)this.space(),this.word("from"),this.space(),this.print(J.source);this.semicolon()}}function d11(){this.tokenChar(42)}function s11(J,G){if(this.print(J.typeParameters),this.tokenChar(40),J.this){if(this.word("this"),this.tokenChar(58),this.space(),this.print(J.this.typeAnnotation),J.params.length||J.rest)this.tokenChar(44),this.space()}if(this.printList(J.params),J.rest){if(J.params.length)this.tokenChar(44),this.space();this.token("..."),this.print(J.rest)}this.tokenChar(41);let X=G==null?void 0:G.type;if(X!=null&&(X==="ObjectTypeCallProperty"||X==="ObjectTypeInternalSlot"||X==="DeclareFunction"||X==="ObjectTypeProperty"&&G.method))this.tokenChar(58);else this.space(),this.token("=>");this.space(),this.print(J.returnType)}function t11(J){if(this.print(J.name),J.optional)this.tokenChar(63);if(J.name)this.tokenChar(58),this.space();this.print(J.typeAnnotation)}function n11(J){this.print(J.id),this.print(J.typeParameters,!0)}function o11(J){var G;if(this.print(J.id),this.print(J.typeParameters),(G=J.extends)!=null&&G.length)this.space(),this.word("extends"),this.space(),this.printList(J.extends);if(J.type==="DeclareClass"){var X,H;if((X=J.mixins)!=null&&X.length)this.space(),this.word("mixins"),this.space(),this.printList(J.mixins);if((H=J.implements)!=null&&H.length)this.space(),this.word("implements"),this.space(),this.printList(J.implements)}this.space(),this.print(J.body)}function e11(J){var G;let X=(G=J.variance)==null?void 0:G.kind;if(X!=null){if(X==="plus")this.tokenChar(43);else if(X==="minus")this.tokenChar(45)}}function J21(J){this.word("interface"),this.space(),this._interfaceish(J)}function G21(){this.space(),this.tokenChar(38),this.space()}function X21(J){var G;if(this.word("interface"),(G=J.extends)!=null&&G.length)this.space(),this.word("extends"),this.space(),this.printList(J.extends);this.space(),this.print(J.body)}function H21(J){this.printJoin(J.types,{separator:G21})}function V21(){this.word("mixed")}function Z21(){this.word("empty")}function Q21(J){this.tokenChar(63),this.print(J.typeAnnotation)}function Y21(){this.word("number")}function W21(){this.word("string")}function z21(){this.word("this")}function K21(J){this.tokenChar(91),this.printList(J.types),this.tokenChar(93)}function U21(J){this.word("typeof"),this.space(),this.print(J.argument)}function B21(J){this.word("type"),this.space(),this.print(J.id),this.print(J.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(J.right),this.semicolon()}function R21(J,G){if(this.tokenChar(58),this.space(),G.type==="ArrowFunctionExpression")this.tokenContext|=O11.TokenContext.arrowFlowReturnType;else if(J.optional)this.tokenChar(63);this.print(J.typeAnnotation)}function $21(J){this.tokenChar(60),this.printList(J.params,{}),this.tokenChar(62)}function M21(J){if(this._variance(J),this.word(J.name),J.bound)this.print(J.bound);if(J.default)this.space(),this.tokenChar(61),this.space(),this.print(J.default)}function q21(J){if(this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(J.id),this.print(J.typeParameters),J.supertype)this.tokenChar(58),this.space(),this.print(J.supertype);if(J.impltype)this.space(),this.tokenChar(61),this.space(),this.print(J.impltype);this.semicolon()}function F21(J){if(J.exact)this.token("{|");else this.tokenChar(123);let G=[...J.properties,...J.callProperties||[],...J.indexers||[],...J.internalSlots||[]];if(G.length)this.newline(),this.space(),this.printJoin(G,{addNewlines(X){if(X&&!G[0])return 1},indent:!0,statement:!0,iterator:()=>{if(G.length!==1||J.inexact)this.tokenChar(44),this.space()}}),this.space();if(J.inexact){if(this.indent(),this.token("..."),G.length)this.newline();this.dedent()}if(J.exact)this.token("|}");else this.tokenChar(125)}function j21(J){if(J.static)this.word("static"),this.space();if(this.tokenChar(91),this.tokenChar(91),this.print(J.id),this.tokenChar(93),this.tokenChar(93),J.optional)this.tokenChar(63);if(!J.method)this.tokenChar(58),this.space();this.print(J.value)}function O21(J){if(J.static)this.word("static"),this.space();this.print(J.value)}function A21(J){if(J.static)this.word("static"),this.space();if(this._variance(J),this.tokenChar(91),J.id)this.print(J.id),this.tokenChar(58),this.space();this.print(J.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(J.value)}function C21(J){if(J.proto)this.word("proto"),this.space();if(J.static)this.word("static"),this.space();if(J.kind==="get"||J.kind==="set")this.word(J.kind),this.space();if(this._variance(J),this.print(J.key),J.optional)this.tokenChar(63);if(!J.method)this.tokenChar(58),this.space();this.print(J.value)}function D21(J){this.token("..."),this.print(J.argument)}function S21(J){this.print(J.qualification),this.tokenChar(46),this.print(J.id)}function I21(){this.word("symbol")}function P21(){this.space(),this.tokenChar(124),this.space()}function f21(J){this.printJoin(J.types,{separator:P21})}function N21(J){this.tokenChar(40),this.print(J.expression),this.print(J.typeAnnotation),this.tokenChar(41)}function T21(J){if(J.kind==="plus")this.tokenChar(43);else this.tokenChar(45)}function w21(){this.word("void")}function L21(J){this.print(J.objectType,!0),this.tokenChar(91),this.print(J.indexType),this.tokenChar(93)}function k21(J){if(this.print(J.objectType),J.optional)this.token("?.");this.tokenChar(91),this.print(J.indexType),this.tokenChar(93)}});var XV=C((GV)=>{Object.defineProperty(GV,"__esModule",{value:!0});GV.BlockStatement=c01;GV.Directive=l01;GV.DirectiveLiteral=p01;GV.File=x01;GV.InterpreterDirective=r01;GV.Placeholder=d01;GV.Program=m01;function x01(J){if(J.program)this.print(J.program.interpreter);this.print(J.program)}function m01(J){var G;this.noIndentInnerCommentsHere(),this.printInnerComments();let X=(G=J.directives)==null?void 0:G.length;if(X){var H;let V=J.body.length?2:1;if(this.printSequence(J.directives,{trailingCommentsLineOffset:V}),!((H=J.directives[X-1].trailingComments)!=null&&H.length))this.newline(V)}this.printSequence(J.body)}function c01(J){var G;this.tokenChar(123);let X=this.enterDelimited(),H=(G=J.directives)==null?void 0:G.length;if(H){var V;let Z=J.body.length?2:1;if(this.printSequence(J.directives,{indent:!0,trailingCommentsLineOffset:Z}),!((V=J.directives[H-1].trailingComments)!=null&&V.length))this.newline(Z)}this.printSequence(J.body,{indent:!0}),X(),this.rightBrace(J)}function l01(J){this.print(J.value),this.semicolon()}var i01=/(?:^|[^\\])(?:\\\\)*'/,a01=/(?:^|[^\\])(?:\\\\)*"/;function p01(J){let G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.token(G);return}let{value:X}=J;if(!a01.test(X))this.token(`"${X}"`);else if(!i01.test(X))this.token(`'${X}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function r01(J){this.token(`#!${J.value}`),this.newline(1,!0)}function d01(J){if(this.token("%%"),this.print(J.name),this.token("%%"),J.expectedNode==="Statement")this.semicolon()}});var VV=C((HV)=>{Object.defineProperty(HV,"__esModule",{value:!0});HV.JSXAttribute=X51;HV.JSXClosingElement=R51;HV.JSXClosingFragment=F51;HV.JSXElement=K51;HV.JSXEmptyExpression=$51;HV.JSXExpressionContainer=Y51;HV.JSXFragment=M51;HV.JSXIdentifier=H51;HV.JSXMemberExpression=Z51;HV.JSXNamespacedName=V51;HV.JSXOpeningElement=B51;HV.JSXOpeningFragment=q51;HV.JSXSpreadAttribute=Q51;HV.JSXSpreadChild=W51;HV.JSXText=z51;function X51(J){if(this.print(J.name),J.value)this.tokenChar(61),this.print(J.value)}function H51(J){this.word(J.name)}function V51(J){this.print(J.namespace),this.tokenChar(58),this.print(J.name)}function Z51(J){this.print(J.object),this.tokenChar(46),this.print(J.property)}function Q51(J){this.tokenChar(123),this.token("..."),this.print(J.argument),this.rightBrace(J)}function Y51(J){this.tokenChar(123),this.print(J.expression),this.rightBrace(J)}function W51(J){this.tokenChar(123),this.token("..."),this.print(J.expression),this.rightBrace(J)}function z51(J){let G=this.getPossibleRaw(J);if(G!==void 0)this.token(G,!0);else this.token(J.value,!0)}function K51(J){let G=J.openingElement;if(this.print(G),G.selfClosing)return;this.indent();for(let X of J.children)this.print(X);this.dedent(),this.print(J.closingElement)}function U51(){this.space()}function B51(J){if(this.tokenChar(60),this.print(J.name),this.print(J.typeParameters),J.attributes.length>0)this.space(),this.printJoin(J.attributes,{separator:U51});if(J.selfClosing)this.space(),this.token("/>");else this.tokenChar(62)}function R51(J){this.token("</"),this.print(J.name),this.tokenChar(62)}function $51(){this.printInnerComments()}function M51(J){this.print(J.openingFragment),this.indent();for(let G of J.children)this.print(G);this.dedent(),this.print(J.closingFragment)}function q51(){this.tokenChar(60),this.tokenChar(62)}function F51(){this.token("</"),this.tokenChar(62)}});var WV=C((YV)=>{Object.defineProperty(YV,"__esModule",{value:!0});YV.TSAnyKeyword=p51;YV.TSArrayType=$91;YV.TSSatisfiesExpression=YV.TSAsExpression=b91;YV.TSBigIntKeyword=r51;YV.TSBooleanKeyword=n51;YV.TSCallSignatureDeclaration=x51;YV.TSInterfaceHeritage=YV.TSExpressionWithTypeArguments=YV.TSClassImplements=T91;YV.TSConditionalType=C91;YV.TSConstructSignatureDeclaration=m51;YV.TSConstructorType=Y91;YV.TSDeclareFunction=u51;YV.TSDeclareMethod=h51;YV.TSEnumDeclaration=g91;YV.TSEnumMember=_91;YV.TSExportAssignment=l91;YV.TSExternalModuleReference=m91;YV.TSFunctionType=Q91;YV.TSImportEqualsDeclaration=x91;YV.TSImportType=y91;YV.TSIndexSignature=a51;YV.TSIndexedAccessType=P91;YV.TSInferType=D91;YV.TSInstantiationExpression=v91;YV.TSInterfaceBody=L91;YV.TSInterfaceDeclaration=w91;YV.TSIntersectionType=A91;YV.TSIntrinsicKeyword=V91;YV.TSLiteralType=N91;YV.TSMappedType=f91;YV.TSMethodSignature=i51;YV.TSModuleBlock=h91;YV.TSModuleDeclaration=u91;YV.TSNamedTupleMember=j91;YV.TSNamespaceExportDeclaration=i91;YV.TSNeverKeyword=H91;YV.TSNonNullExpression=c91;YV.TSNullKeyword=X91;YV.TSNumberKeyword=s51;YV.TSObjectKeyword=t51;YV.TSOptionalType=q91;YV.TSParameterProperty=_51;YV.TSParenthesizedType=S91;YV.TSPropertySignature=c51;YV.TSQualifiedName=y51;YV.TSRestType=F91;YV.TSStringKeyword=o51;YV.TSSymbolKeyword=e51;YV.TSThisType=Z91;YV.TSTupleType=M91;YV.TSTypeAliasDeclaration=k91;YV.TSTypeAnnotation=E51;YV.TSTypeAssertion=E91;YV.TSTypeLiteral=B91;YV.TSTypeOperator=I91;YV.TSTypeParameter=g51;YV.TSTypeParameterDeclaration=YV.TSTypeParameterInstantiation=v51;YV.TSTypePredicate=K91;YV.TSTypeQuery=U91;YV.TSTypeReference=z91;YV.TSUndefinedKeyword=G91;YV.TSUnionType=O91;YV.TSUnknownKeyword=d51;YV.TSVoidKeyword=J91;YV.tsPrintClassMemberModifiers=p91;YV.tsPrintFunctionOrConstructorType=W91;YV.tsPrintPropertyOrMethodName=l51;YV.tsPrintSignatureDeclarationBase=a91;YV.tsPrintTypeLiteralOrInterfaceBody=R91;function E51(J){if(this.tokenChar(58),this.space(),J.optional)this.tokenChar(63);this.print(J.typeAnnotation)}function v51(J,G){if(this.tokenChar(60),this.printList(J.params,{}),G.type==="ArrowFunctionExpression"&&J.params.length===1)this.tokenChar(44);this.tokenChar(62)}function g51(J){if(J.in)this.word("in"),this.space();if(J.out)this.word("out"),this.space();if(this.word(J.name),J.constraint)this.space(),this.word("extends"),this.space(),this.print(J.constraint);if(J.default)this.space(),this.tokenChar(61),this.space(),this.print(J.default)}function _51(J){if(J.accessibility)this.word(J.accessibility),this.space();if(J.readonly)this.word("readonly"),this.space();this._param(J.parameter)}function u51(J,G){if(J.declare)this.word("declare"),this.space();this._functionHead(J,G),this.semicolon()}function h51(J){this._classMethodHead(J),this.semicolon()}function y51(J){this.print(J.left),this.tokenChar(46),this.print(J.right)}function x51(J){this.tsPrintSignatureDeclarationBase(J),this.semicolon()}function m51(J){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(J),this.semicolon()}function c51(J){let{readonly:G}=J;if(G)this.word("readonly"),this.space();this.tsPrintPropertyOrMethodName(J),this.print(J.typeAnnotation),this.semicolon()}function l51(J){if(J.computed)this.tokenChar(91);if(this.print(J.key),J.computed)this.tokenChar(93);if(J.optional)this.tokenChar(63)}function i51(J){let{kind:G}=J;if(G==="set"||G==="get")this.word(G),this.space();this.tsPrintPropertyOrMethodName(J),this.tsPrintSignatureDeclarationBase(J),this.semicolon()}function a51(J){let{readonly:G,static:X}=J;if(X)this.word("static"),this.space();if(G)this.word("readonly"),this.space();this.tokenChar(91),this._parameters(J.parameters),this.tokenChar(93),this.print(J.typeAnnotation),this.semicolon()}function p51(){this.word("any")}function r51(){this.word("bigint")}function d51(){this.word("unknown")}function s51(){this.word("number")}function t51(){this.word("object")}function n51(){this.word("boolean")}function o51(){this.word("string")}function e51(){this.word("symbol")}function J91(){this.word("void")}function G91(){this.word("undefined")}function X91(){this.word("null")}function H91(){this.word("never")}function V91(){this.word("intrinsic")}function Z91(){this.word("this")}function Q91(J){this.tsPrintFunctionOrConstructorType(J)}function Y91(J){if(J.abstract)this.word("abstract"),this.space();this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(J)}function W91(J){let{typeParameters:G}=J,X=J.parameters;this.print(G),this.tokenChar(40),this._parameters(X),this.tokenChar(41),this.space(),this.token("=>"),this.space();let H=J.typeAnnotation;this.print(H.typeAnnotation)}function z91(J){this.print(J.typeName,!0),this.print(J.typeParameters,!0)}function K91(J){if(J.asserts)this.word("asserts"),this.space();if(this.print(J.parameterName),J.typeAnnotation)this.space(),this.word("is"),this.space(),this.print(J.typeAnnotation.typeAnnotation)}function U91(J){if(this.word("typeof"),this.space(),this.print(J.exprName),J.typeParameters)this.print(J.typeParameters)}function B91(J){this.tsPrintTypeLiteralOrInterfaceBody(J.members,J)}function R91(J,G){B8(this,J,G)}function B8(J,G,X){if(J.token("{"),G.length){J.indent(),J.newline();for(let H of G)J.print(H),J.newline();J.dedent()}J.rightBrace(X)}function $91(J){this.print(J.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function M91(J){this.tokenChar(91),this.printList(J.elementTypes),this.tokenChar(93)}function q91(J){this.print(J.typeAnnotation),this.tokenChar(63)}function F91(J){this.token("..."),this.print(J.typeAnnotation)}function j91(J){if(this.print(J.label),J.optional)this.tokenChar(63);this.tokenChar(58),this.space(),this.print(J.elementType)}function O91(J){QV(this,J,"|")}function A91(J){QV(this,J,"&")}function QV(J,G,X){J.printJoin(G.types,{separator(){this.space(),this.token(X),this.space()}})}function C91(J){this.print(J.checkType),this.space(),this.word("extends"),this.space(),this.print(J.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(J.trueType),this.space(),this.tokenChar(58),this.space(),this.print(J.falseType)}function D91(J){this.word("infer"),this.print(J.typeParameter)}function S91(J){this.tokenChar(40),this.print(J.typeAnnotation),this.tokenChar(41)}function I91(J){this.word(J.operator),this.space(),this.print(J.typeAnnotation)}function P91(J){this.print(J.objectType,!0),this.tokenChar(91),this.print(J.indexType),this.tokenChar(93)}function f91(J){let{nameType:G,optional:X,readonly:H,typeAnnotation:V}=J;if(this.tokenChar(123),this.space(),H)ZV(this,H),this.word("readonly"),this.space();if(this.tokenChar(91),this.word(J.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(J.typeParameter.constraint),G)this.space(),this.word("as"),this.space(),this.print(G);if(this.tokenChar(93),X)ZV(this,X),this.tokenChar(63);if(V)this.tokenChar(58),this.space(),this.print(V);this.space(),this.tokenChar(125)}function ZV(J,G){if(G!==!0)J.token(G)}function N91(J){this.print(J.literal)}function T91(J){this.print(J.expression),this.print(J.typeParameters)}function w91(J){let{declare:G,id:X,typeParameters:H,extends:V,body:Z}=J;if(G)this.word("declare"),this.space();if(this.word("interface"),this.space(),this.print(X),this.print(H),V!=null&&V.length)this.space(),this.word("extends"),this.space(),this.printList(V);this.space(),this.print(Z)}function L91(J){this.tsPrintTypeLiteralOrInterfaceBody(J.body,J)}function k91(J){let{declare:G,id:X,typeParameters:H,typeAnnotation:V}=J;if(G)this.word("declare"),this.space();this.word("type"),this.space(),this.print(X),this.print(H),this.space(),this.tokenChar(61),this.space(),this.print(V),this.semicolon()}function b91(J){let{type:G,expression:X,typeAnnotation:H}=J;this.print(X,!0),this.space(),this.word(G==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(H)}function E91(J){let{typeAnnotation:G,expression:X}=J;this.tokenChar(60),this.print(G),this.tokenChar(62),this.space(),this.print(X)}function v91(J){this.print(J.expression),this.print(J.typeParameters)}function g91(J){let{declare:G,const:X,id:H,members:V}=J;if(G)this.word("declare"),this.space();if(X)this.word("const"),this.space();this.word("enum"),this.space(),this.print(H),this.space(),B8(this,V,J)}function _91(J){let{id:G,initializer:X}=J;if(this.print(G),X)this.space(),this.tokenChar(61),this.space(),this.print(X);this.tokenChar(44)}function u91(J){let{declare:G,id:X}=J;if(G)this.word("declare"),this.space();if(!J.global)this.word(X.type==="Identifier"?"namespace":"module"),this.space();if(this.print(X),!J.body){this.semicolon();return}let H=J.body;while(H.type==="TSModuleDeclaration")this.tokenChar(46),this.print(H.id),H=H.body;this.space(),this.print(H)}function h91(J){B8(this,J.body,J)}function y91(J){let{argument:G,qualifier:X,typeParameters:H}=J;if(this.word("import"),this.tokenChar(40),this.print(G),this.tokenChar(41),X)this.tokenChar(46),this.print(X);if(H)this.print(H)}function x91(J){let{isExport:G,id:X,moduleReference:H}=J;if(G)this.word("export"),this.space();this.word("import"),this.space(),this.print(X),this.space(),this.tokenChar(61),this.space(),this.print(H),this.semicolon()}function m91(J){this.token("require("),this.print(J.expression),this.tokenChar(41)}function c91(J){this.print(J.expression),this.tokenChar(33)}function l91(J){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(J.expression),this.semicolon()}function i91(J){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(J.id),this.semicolon()}function a91(J){let{typeParameters:G}=J,X=J.parameters;this.print(G),this.tokenChar(40),this._parameters(X),this.tokenChar(41);let H=J.typeAnnotation;this.print(H)}function p91(J){let G=J.type==="ClassAccessorProperty"||J.type==="ClassProperty";if(G&&J.declare)this.word("declare"),this.space();if(J.accessibility)this.word(J.accessibility),this.space();if(J.static)this.word("static"),this.space();if(J.override)this.word("override"),this.space();if(J.abstract)this.word("abstract"),this.space();if(G&&J.readonly)this.word("readonly"),this.space()}});var zV=C((M1)=>{Object.defineProperty(M1,"__esModule",{value:!0});var R8=TH();Object.keys(R8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===R8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return R8[J]}})});var $8=kH();Object.keys($8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===$8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return $8[J]}})});var M8=uH();Object.keys(M8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===M8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return M8[J]}})});var q8=yH();Object.keys(q8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===q8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return q8[J]}})});var F8=mH();Object.keys(F8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===F8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return F8[J]}})});var j8=W8();Object.keys(j8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===j8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return j8[J]}})});var O8=K8();Object.keys(O8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===O8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return O8[J]}})});var A8=JV();Object.keys(A8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===A8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return A8[J]}})});var C8=XV();Object.keys(C8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===C8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return C8[J]}})});var D8=VV();Object.keys(D8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===D8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return D8[J]}})});var S8=WV();Object.keys(S8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===S8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return S8[J]}})})});var MV=C((RV)=>{Object.defineProperty(RV,"__esModule",{value:!0});RV.default=void 0;var Y81=PG(),UV=y2(),W81=W1(),z81=zV(),{isExpression:K81,isFunction:U81,isStatement:B81,isClassBody:R81,isTSInterfaceBody:$81,isTSEnumDeclaration:M81}=W81,q81=/e/i,F81=/\.0+$/,BV=/[\n\r\u2028\u2029]/,j81=/[\n\r\u2028\u2029]|\*\//;function KV(J){return J.type==="CommentLine"||BV.test(J.value)}var{needsParens:O81}=UV;class Y9{constructor(J,G){this.inForStatementInit=!1,this.tokenContext=0,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.format=J,this._indentRepeat=J.indent.style.length,this._inputMap=G==null?void 0:G._inputMap,this._buf=new Y81.default(G,J.indent.style[0])}enterForStatementInit(){if(this.inForStatementInit)return()=>{};return this.inForStatementInit=!0,()=>{this.inForStatementInit=!1}}enterDelimited(){let J=this.inForStatementInit,G=this._noLineTerminatorAfterNode;if(J===!1&&G===null)return()=>{};return this.inForStatementInit=!1,this._noLineTerminatorAfterNode=null,()=>{this.inForStatementInit=J,this._noLineTerminatorAfterNode=G}}generate(J){return this.print(J),this._maybeAddAuxComment(),this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(J=!1){if(this._maybeAddAuxComment(),J)this._appendChar(59);else this._queue(59);this._noLineTerminator=!1}rightBrace(J){if(this.format.minified)this._buf.removeLastSemicolon();this.sourceWithOffset("end",J.loc,-1),this.tokenChar(125)}rightParens(J){this.sourceWithOffset("end",J.loc,-1),this.tokenChar(41)}space(J=!1){if(this.format.compact)return;if(J)this._space();else if(this._buf.hasContent()){let G=this.getLastChar();if(G!==32&&G!==10)this._space()}}word(J,G=!1){if(this.tokenContext=0,this._maybePrintInnerComments(),this._endsWithWord||this._endsWithDiv&&J.charCodeAt(0)===47)this._space();this._maybeAddAuxComment(),this._append(J,!1),this._endsWithWord=!0,this._noLineTerminator=G}number(J,G){function X(H){if(H.length>2&&H.charCodeAt(0)===48){let V=H.charCodeAt(1);return V===98||V===111||V===120}return!1}this.word(J),this._endsWithInteger=Number.isInteger(G)&&!X(J)&&!q81.test(J)&&!F81.test(J)&&J.charCodeAt(J.length-1)!==46}token(J,G=!1){this.tokenContext=0,this._maybePrintInnerComments();let X=this.getLastChar(),H=J.charCodeAt(0);if(X===33&&(J==="--"||H===61)||H===43&&X===43||H===45&&X===45||H===46&&this._endsWithInteger)this._space();this._maybeAddAuxComment(),this._append(J,G),this._noLineTerminator=!1}tokenChar(J){this.tokenContext=0,this._maybePrintInnerComments();let G=this.getLastChar();if(J===43&&G===43||J===45&&G===45||J===46&&this._endsWithInteger)this._space();this._maybeAddAuxComment(),this._appendChar(J),this._noLineTerminator=!1}newline(J=1,G){if(J<=0)return;if(!G){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}if(J>2)J=2;J-=this._buf.getNewlineCount();for(let X=0;X<J;X++)this._newline();return}endsWith(J){return this.getLastChar()===J}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(J,G){if(!J){G();return}this._catchUp("start",J),this._buf.exactSource(J,G)}source(J,G){if(!G)return;this._catchUp(J,G),this._buf.source(J,G)}sourceWithOffset(J,G,X){if(!G)return;this._catchUp(J,G),this._buf.sourceWithOffset(J,G,X)}sourceIdentifierName(J,G){if(!this._buf._canMarkIdName)return;let X=this._buf._sourcePosition;X.identifierNamePos=G,X.identifierName=J}_space(){this._queue(32)}_newline(){this._queue(10)}_append(J,G){this._maybeIndent(J.charCodeAt(0)),this._buf.append(J,G),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(J){this._maybeIndent(J),this._buf.appendChar(J),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(J){this._maybeIndent(J),this._buf.queue(J),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(J){if(this._indent&&J!==10&&this.endsWith(10))this._buf.queueIndentation(this._getIndent())}_shouldIndent(J){if(this._indent&&J!==10&&this.endsWith(10))return!0}catchUp(J){if(!this.format.retainLines)return;let G=J-this._buf.getCurrentLine();for(let X=0;X<G;X++)this._newline()}_catchUp(J,G){var X;if(!this.format.retainLines)return;let H=G==null||(X=G[J])==null?void 0:X.line;if(H!=null){let V=H-this._buf.getCurrentLine();for(let Z=0;Z<V;Z++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(J){this._noLineTerminator=!0,this.print(J)}print(J,G,X){var H,V,Z;if(!J)return;this._endsWithInnerRaw=!1;let Q=J.type,Y=this.format,W=Y.concise;if(J._compact)Y.concise=!0;let z=this[Q];if(z===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(Q)} with constructor ${JSON.stringify(J.constructor.name)}`);let U=this._currentNode;this._currentNode=J;let F=this._insideAux;this._insideAux=J.loc==null,this._maybeAddAuxComment(this._insideAux&&!F);let A=(H=J.extra)==null?void 0:H.parenthesized,D=A&&Y.retainFunctionParens&&Q==="FunctionExpression"||O81(J,U,this.tokenContext,this.inForStatementInit);if(!D&&A&&(V=J.leadingComments)!=null&&V.length&&J.leadingComments[0].type==="CommentBlock")switch(U==null?void 0:U.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(U.callee!==J)break;default:D=!0}let I=!1;if(!D&&this._noLineTerminator&&((Z=J.leadingComments)!=null&&Z.some(KV)||this.format.retainLines&&J.loc&&J.loc.start.line>this._buf.getCurrentLine()))D=!0,I=!0;let _,f;if(!D){if(G||(G=U&&this._noLineTerminatorAfterNode===U&&UV.isLastChild(U,J)),G){var w;if((w=J.trailingComments)!=null&&w.some(KV)){if(K81(J))D=!0}else _=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=J}}if(D){if(this.tokenChar(40),I)this.indent();if(this._endsWithInnerRaw=!1,this.inForStatementInit)f=!0,this.inForStatementInit=!1;_=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null}this._lastCommentLine=0,this._printLeadingComments(J,U);let k=Q==="Program"||Q==="File"?null:J.loc;if(this.exactSource(k,z.bind(this,J,U)),D){if(this._printTrailingComments(J,U),I)this.dedent(),this.newline();if(this.tokenChar(41),this._noLineTerminator=G,f)this.inForStatementInit=!0}else if(G&&!this._noLineTerminator)this._noLineTerminator=!0,this._printTrailingComments(J,U);else this._printTrailingComments(J,U,X);if(this._currentNode=U,Y.concise=W,this._insideAux=F,_!==void 0)this._noLineTerminatorAfterNode=_;this._endsWithInnerRaw=!1}_maybeAddAuxComment(J){if(J)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let J=this.format.auxiliaryCommentBefore;if(J)this._printComment({type:"CommentBlock",value:J},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let J=this.format.auxiliaryCommentAfter;if(J)this._printComment({type:"CommentBlock",value:J},0)}getPossibleRaw(J){let G=J.extra;if((G==null?void 0:G.raw)!=null&&G.rawValue!=null&&J.value===G.rawValue)return G.raw}printJoin(J,G={}){if(!(J!=null&&J.length))return;let{indent:X}=G;if(X==null&&this.format.retainLines){var H;let z=(H=J[0].loc)==null?void 0:H.start.line;if(z!=null&&z!==this._buf.getCurrentLine())X=!0}if(X)this.indent();let V={addNewlines:G.addNewlines,nextNodeStartLine:0},Z=G.separator?G.separator.bind(this):null,Q=J.length;for(let z=0;z<Q;z++){let U=J[z];if(!U)continue;if(G.statement)this._printNewline(z===0,V);if(this.print(U,void 0,G.trailingCommentsLineOffset||0),G.iterator==null||G.iterator(U,z),z<Q-1)Z==null||Z();if(G.statement){var Y;if(!((Y=U.trailingComments)!=null&&Y.length))this._lastCommentLine=0;if(z+1===Q)this.newline(1);else{var W;let F=J[z+1];V.nextNodeStartLine=((W=F.loc)==null?void 0:W.start.line)||0,this._printNewline(!0,V)}}}if(X)this.dedent()}printAndIndentOnComments(J){let G=J.leadingComments&&J.leadingComments.length>0;if(G)this.indent();if(this.print(J),G)this.dedent()}printBlock(J){let G=J.body;if(G.type!=="EmptyStatement")this.space();this.print(G)}_printTrailingComments(J,G,X){let{innerComments:H,trailingComments:V}=J;if(H!=null&&H.length)this._printComments(2,H,J,G,X);if(V!=null&&V.length)this._printComments(2,V,J,G,X)}_printLeadingComments(J,G){let X=J.leadingComments;if(!(X!=null&&X.length))return;this._printComments(0,X,J,G)}_maybePrintInnerComments(){if(this._endsWithInnerRaw)this.printInnerComments();this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){let J=this._currentNode,G=J.innerComments;if(!(G!=null&&G.length))return;let X=this.endsWith(32),H=this._indentInnerComments,V=this._printedComments.size;if(H)this.indent();if(this._printComments(1,G,J),X&&V!==this._printedComments.size)this.space();if(H)this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(J,G={}){var X;G.statement=!0,(X=G.indent)!=null||(G.indent=!1),this.printJoin(J,G)}printList(J,G={}){if(G.separator==null)G.separator=A81;this.printJoin(J,G)}_printNewline(J,G){let X=this.format;if(X.retainLines||X.compact)return;if(X.concise){this.space();return}if(!J)return;let H=G.nextNodeStartLine,V=this._lastCommentLine;if(H>0&&V>0){let Z=H-V;if(Z>=0){this.newline(Z||1);return}}if(this._buf.hasContent())this.newline(1)}_shouldPrintComment(J){if(J.ignore)return 0;if(this._printedComments.has(J))return 0;if(this._noLineTerminator&&j81.test(J.value))return 2;if(this._printedComments.add(J),!this.format.shouldPrintComment(J.value))return 0;return 1}_printComment(J,G){let X=this._noLineTerminator,H=J.type==="CommentBlock",V=H&&G!==1&&!this._noLineTerminator;if(V&&this._buf.hasContent()&&G!==2)this.newline(1);let Z=this.getLastChar();if(Z!==91&&Z!==123&&Z!==40)this.space();let Q;if(H){if(Q=`/*${J.value}*/`,this.format.indent.adjustMultilineComment){var Y;let W=(Y=J.loc)==null?void 0:Y.start.column;if(W){let z=new RegExp("\\n\\s{1,"+W+"}","g");Q=Q.replace(z,"\n")}if(this.format.concise)Q=Q.replace(/\n(?!$)/g,"\n");else{let z=this.format.retainLines?0:this._buf.getCurrentColumn();if(this._shouldIndent(47)||this.format.retainLines)z+=this._getIndent();Q=Q.replace(/\n(?!$)/g,`\n${" ".repeat(z)}`)}}}else if(!X)Q=`//${J.value}`;else Q=`/*${J.value}*/`;if(this._endsWithDiv)this._space();if(this.source("start",J.loc),this._append(Q,H),!H&&!X)this.newline(1,!0);if(V&&G!==3)this.newline(1)}_printComments(J,G,X,H,V=0){let Z=X.loc,Q=G.length,Y=!!Z,W=Y?Z.start.line:0,z=Y?Z.end.line:0,U=0,F=0,A=this._noLineTerminator?function(){}:this.newline.bind(this);for(let D=0;D<Q;D++){let I=G[D],_=this._shouldPrintComment(I);if(_===2){Y=!1;break}if(Y&&I.loc&&_===1){let f=I.loc.start.line,w=I.loc.end.line;if(J===0){let k=0;if(D===0){if(this._buf.hasContent()&&(I.type==="CommentLine"||f!==w))k=F=1}else k=f-U;if(U=w,A(k),this._printComment(I,1),D+1===Q)A(Math.max(W-U,F)),U=W}else if(J===1){let k=f-(D===0?W:U);if(U=w,A(k),this._printComment(I,1),D+1===Q)A(Math.min(1,z-U)),U=z}else{let k=f-(D===0?z-V:U);U=w,A(k),this._printComment(I,1)}}else{if(Y=!1,_!==1)continue;if(Q===1){let f=I.loc?I.loc.start.line===I.loc.end.line:!BV.test(I.value),w=f&&!B81(X)&&!R81(H)&&!$81(H)&&!M81(H);if(J===0)this._printComment(I,w&&X.type!=="ObjectExpression"||f&&U81(H,{body:X})?1:0);else if(w&&J===2)this._printComment(I,1);else this._printComment(I,0)}else if(J===1&&!(X.type==="ObjectExpression"&&X.properties.length>1)&&X.type!=="ClassBody"&&X.type!=="TSInterfaceBody")this._printComment(I,D===0?2:D===Q-1?3:0);else this._printComment(I,0)}}if(J===2&&Y&&U)this._lastCommentLine=U}}Object.assign(Y9.prototype,z81);Y9.prototype.Noop=function J(){};var fq1=RV.default=Y9;function A81(){this.tokenChar(44),this.space()}});var I8=C((OV)=>{Object.defineProperty(OV,"__esModule",{value:!0});OV.default=C81;var qV=CG(),FV=MV();function jV(J,G){let X={auxiliaryCommentBefore:G.auxiliaryCommentBefore,auxiliaryCommentAfter:G.auxiliaryCommentAfter,shouldPrintComment:G.shouldPrintComment,retainLines:G.retainLines,retainFunctionParens:G.retainFunctionParens,comments:G.comments==null||G.comments,compact:G.compact,minified:G.minified,concise:G.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},G.jsescOption),topicToken:G.topicToken,importAttributesKeyword:G.importAttributesKeyword};{var H;X.decoratorsBeforeExport=G.decoratorsBeforeExport,X.jsescOption.json=G.jsonCompatibleStrings,X.recordAndTupleSyntaxType=(H=G.recordAndTupleSyntaxType)!=null?H:"hash"}if(X.minified)X.compact=!0,X.shouldPrintComment=X.shouldPrintComment||(()=>X.comments);else X.shouldPrintComment=X.shouldPrintComment||((Y)=>X.comments||Y.includes("@license")||Y.includes("@preserve"));if(X.compact==="auto"){if(X.compact=typeof J==="string"&&J.length>500000,X.compact)console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${G.filename} as it exceeds the max of 500KB.`)}if(X.compact)X.indent.adjustMultilineComment=!1;let{auxiliaryCommentBefore:V,auxiliaryCommentAfter:Z,shouldPrintComment:Q}=X;if(V&&!Q(V))X.auxiliaryCommentBefore=void 0;if(Z&&!Q(Z))X.auxiliaryCommentAfter=void 0;return X}OV.CodeGenerator=class J{constructor(G,X={},H){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=G,this._format=jV(H,X),this._map=X.sourceMaps?new qV.default(X,H):null}generate(){return new FV.default(this._format,this._map).generate(this._ast)}};function C81(J,G={},X){let H=jV(X,G),V=G.sourceMaps?new qV.default(G,X):null;return new FV.default(H,V).generate(J)}});var q9=C((BZ)=>{Object.defineProperty(BZ,"__esModule",{value:!0});function S81(J,G){if(J==null)return{};var X={};for(var H in J)if({}.hasOwnProperty.call(J,H)){if(G.includes(H))continue;X[H]=J[H]}return X}class b2{constructor(J,G,X){this.line=void 0,this.column=void 0,this.index=void 0,this.line=J,this.column=G,this.index=X}}class K5{constructor(J,G){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=J,this.end=G}}function i1(J,G){let{line:X,column:H,index:V}=J;return new b2(X,H+G,V+G)}var AV="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",I81={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:AV},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:AV}},CV={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},K9=(J)=>J.type==="UpdateExpression"?CV.UpdateExpression[`${J.prefix}`]:CV[J.type],P81={AccessorIsGenerator:({kind:J})=>`A ${J}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:J})=>`Missing initializer in ${J} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:J})=>`\`${J}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:J})=>`'import.${J}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:J,exportName:G})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${J}' as '${G}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:J})=>`'${J==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:J})=>`Unsyntactic ${J==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:J})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${J}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:J})=>`\`import()\` requires exactly ${J===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:J})=>`Expected number in radix ${J}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:J})=>`Escape sequence in keyword ${J}.`,InvalidIdentifier:({identifierName:J})=>`Invalid identifier ${J}.`,InvalidLhs:({ancestor:J})=>`Invalid left-hand side in ${K9(J)}.`,InvalidLhsBinding:({ancestor:J})=>`Binding invalid left-hand side in ${K9(J)}.`,InvalidLhsOptionalChaining:({ancestor:J})=>`Invalid optional chaining in the left-hand side of ${K9(J)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:J})=>`Unexpected character '${J}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:J})=>`Private name #${J} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:J})=>`Label '${J}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:J})=>`This experimental syntax requires enabling the parser plugin: ${J.map((G)=>JSON.stringify(G)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:J})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${J.map((G)=>JSON.stringify(G)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:J})=>`Duplicate key "${J}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:J})=>`An export name cannot include a lone surrogate, found '\\u${J.toString(16)}'.`,ModuleExportUndefined:({localName:J})=>`Export '${J}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:J})=>`Private names are only allowed in property accesses (\`obj.#${J}\`) or in \`in\` expressions (\`#${J} in obj\`).`,PrivateNameRedeclaration:({identifierName:J})=>`Duplicate private name #${J}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:J})=>`Unexpected keyword '${J}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:J})=>`Unexpected reserved word '${J}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:J,unexpected:G})=>`Unexpected token${G?` '${G}'.`:""}${J?`, expected "${J}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:J,onlyValidPropertyName:G})=>`The only valid meta property for ${J} is ${J}.${G}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:J})=>`Identifier '${J}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},f81={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:J})=>`Assigning to '${J}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:J})=>`Binding '${J}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},N81=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),T81={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:J})=>`Invalid topic token ${J}. In order to use ${J} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${J}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:J})=>`Hack-style pipe body cannot be an unparenthesized ${K9({type:J})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},w81=["message"];function DV(J,G,X){Object.defineProperty(J,G,{enumerable:!1,configurable:!0,value:X})}function L81({toMessage:J,code:G,reasonCode:X,syntaxPlugin:H}){let V=X==="MissingPlugin"||X==="MissingOneOfPlugins";{let Z={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};if(Z[X])X=Z[X]}return function Z(Q,Y){let W=new SyntaxError;if(W.code=G,W.reasonCode=X,W.loc=Q,W.pos=Q.index,W.syntaxPlugin=H,V)W.missingPlugin=Y.missingPlugin;return DV(W,"clone",function z(U={}){var F;let{line:A,column:D,index:I}=(F=U.loc)!=null?F:Q;return Z(new b2(A,D,I),Object.assign({},Y,U.details))}),DV(W,"details",Y),Object.defineProperty(W,"message",{configurable:!0,get(){let z=`${J(Y)} (${Q.line}:${Q.column})`;return this.message=z,z},set(z){Object.defineProperty(this,"message",{value:z,writable:!0})}}),W}}function k2(J,G){if(Array.isArray(J))return(H)=>k2(H,J[0]);let X={};for(let H of Object.keys(J)){let V=J[H],Z=typeof V==="string"?{message:()=>V}:typeof V==="function"?{message:V}:V,{message:Q}=Z,Y=S81(Z,w81),W=typeof Q==="string"?()=>Q:Q;X[H]=L81(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:H,toMessage:W},G?{syntaxPlugin:G}:{},Y))}return X}var j=Object.assign({},k2(I81),k2(P81),k2(f81),k2`pipelineOperator`(T81)),{defineProperty:k81}=Object,SV=(J,G)=>{if(J)k81(J,G,{enumerable:!1,value:J[G]})};function H5(J){return SV(J.loc.start,"index"),SV(J.loc.end,"index"),J}var b81=(J)=>class G extends J{parse(){let X=H5(super.parse());if(this.options.tokens)X.tokens=X.tokens.map(H5);return X}parseRegExpLiteral({pattern:X,flags:H}){let V=null;try{V=new RegExp(X,H)}catch(Q){}let Z=this.estreeParseLiteral(V);return Z.regex={pattern:X,flags:H},Z}parseBigIntLiteral(X){let H;try{H=BigInt(X)}catch(Z){H=null}let V=this.estreeParseLiteral(H);return V.bigint=String(V.value||X),V}parseDecimalLiteral(X){let V=this.estreeParseLiteral(null);return V.decimal=String(V.value||X),V}estreeParseLiteral(X){return this.parseLiteral(X,"Literal")}parseStringLiteral(X){return this.estreeParseLiteral(X)}parseNumericLiteral(X){return this.estreeParseLiteral(X)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(X){return this.estreeParseLiteral(X)}directiveToStmt(X){let H=X.value;delete X.value,H.type="Literal",H.raw=H.extra.raw,H.value=H.extra.expressionValue;let V=X;return V.type="ExpressionStatement",V.expression=H,V.directive=H.extra.rawValue,delete H.extra,V}initFunction(X,H){super.initFunction(X,H),X.expression=!1}checkDeclaration(X){if(X!=null&&this.isObjectProperty(X))this.checkDeclaration(X.value);else super.checkDeclaration(X)}getObjectOrClassMethodParams(X){return X.value.params}isValidDirective(X){var H;return X.type==="ExpressionStatement"&&X.expression.type==="Literal"&&typeof X.expression.value==="string"&&!((H=X.expression.extra)!=null&&H.parenthesized)}parseBlockBody(X,H,V,Z,Q){super.parseBlockBody(X,H,V,Z,Q);let Y=X.directives.map((W)=>this.directiveToStmt(W));X.body=Y.concat(X.body),delete X.directives}pushClassMethod(X,H,V,Z,Q,Y){if(this.parseMethod(H,V,Z,Q,Y,"ClassMethod",!0),H.typeParameters)H.value.typeParameters=H.typeParameters,delete H.typeParameters;X.body.push(H)}parsePrivateName(){let X=super.parsePrivateName();if(!this.getPluginOption("estree","classFeatures"))return X;return this.convertPrivateNameToPrivateIdentifier(X)}convertPrivateNameToPrivateIdentifier(X){let H=super.getPrivateNameSV(X);return X=X,delete X.id,X.name=H,X.type="PrivateIdentifier",X}isPrivateName(X){if(!this.getPluginOption("estree","classFeatures"))return super.isPrivateName(X);return X.type==="PrivateIdentifier"}getPrivateNameSV(X){if(!this.getPluginOption("estree","classFeatures"))return super.getPrivateNameSV(X);return X.name}parseLiteral(X,H){let V=super.parseLiteral(X,H);return V.raw=V.extra.raw,delete V.extra,V}parseFunctionBody(X,H,V=!1){super.parseFunctionBody(X,H,V),X.expression=X.body.type!=="BlockStatement"}parseMethod(X,H,V,Z,Q,Y,W=!1){let z=this.startNode();if(z.kind=X.kind,z=super.parseMethod(z,H,V,Z,Q,Y,W),z.type="FunctionExpression",delete z.kind,X.value=z,Y==="ClassPrivateMethod")X.computed=!1;return this.finishNode(X,"MethodDefinition")}nameIsConstructor(X){if(X.type==="Literal")return X.value==="constructor";return super.nameIsConstructor(X)}parseClassProperty(...X){let H=super.parseClassProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return H;return H.type="PropertyDefinition",H}parseClassPrivateProperty(...X){let H=super.parseClassPrivateProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return H;return H.type="PropertyDefinition",H.computed=!1,H}parseObjectMethod(X,H,V,Z,Q){let Y=super.parseObjectMethod(X,H,V,Z,Q);if(Y){if(Y.type="Property",Y.kind==="method")Y.kind="init";Y.shorthand=!1}return Y}parseObjectProperty(X,H,V,Z){let Q=super.parseObjectProperty(X,H,V,Z);if(Q)Q.kind="init",Q.type="Property";return Q}isValidLVal(X,H,V){return X==="Property"?"value":super.isValidLVal(X,H,V)}isAssignable(X,H){if(X!=null&&this.isObjectProperty(X))return this.isAssignable(X.value,H);return super.isAssignable(X,H)}toAssignable(X,H=!1){if(X!=null&&this.isObjectProperty(X)){let{key:V,value:Z}=X;if(this.isPrivateName(V))this.classScope.usePrivateName(this.getPrivateNameSV(V),V.loc.start);this.toAssignable(Z,H)}else super.toAssignable(X,H)}toAssignableObjectExpressionProp(X,H,V){if(X.type==="Property"&&(X.kind==="get"||X.kind==="set"))this.raise(j.PatternHasAccessor,X.key);else if(X.type==="Property"&&X.method)this.raise(j.PatternHasMethod,X.key);else super.toAssignableObjectExpressionProp(X,H,V)}finishCallExpression(X,H){let V=super.finishCallExpression(X,H);if(V.callee.type==="Import"){if(V.type="ImportExpression",V.source=V.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var Z,Q;V.options=(Z=V.arguments[1])!=null?Z:null,V.attributes=(Q=V.arguments[1])!=null?Q:null}delete V.arguments,delete V.callee}return V}toReferencedArguments(X){if(X.type==="ImportExpression")return;super.toReferencedArguments(X)}parseExport(X,H){let V=this.state.lastTokStartLoc,Z=super.parseExport(X,H);switch(Z.type){case"ExportAllDeclaration":Z.exported=null;break;case"ExportNamedDeclaration":if(Z.specifiers.length===1&&Z.specifiers[0].type==="ExportNamespaceSpecifier")Z.type="ExportAllDeclaration",Z.exported=Z.specifiers[0].exported,delete Z.specifiers;case"ExportDefaultDeclaration":{var Q;let{declaration:Y}=Z;if((Y==null?void 0:Y.type)==="ClassDeclaration"&&((Q=Y.decorators)==null?void 0:Q.length)>0&&Y.start===Z.start)this.resetStartLocation(Z,V)}break}return Z}parseSubscript(X,H,V,Z){let Q=super.parseSubscript(X,H,V,Z);if(Z.optionalChainMember){if(Q.type==="OptionalMemberExpression"||Q.type==="OptionalCallExpression")Q.type=Q.type.substring(8);if(Z.stop){let Y=this.startNodeAtNode(Q);return Y.expression=Q,this.finishNode(Y,"ChainExpression")}}else if(Q.type==="MemberExpression"||Q.type==="CallExpression")Q.optional=!1;return Q}isOptionalMemberExpression(X){if(X.type==="ChainExpression")return X.expression.type==="MemberExpression";return super.isOptionalMemberExpression(X)}hasPropertyAsPrivateName(X){if(X.type==="ChainExpression")X=X.expression;return super.hasPropertyAsPrivateName(X)}isObjectProperty(X){return X.type==="Property"&&X.kind==="init"&&!X.method}isObjectMethod(X){return X.type==="Property"&&(X.method||X.kind==="get"||X.kind==="set")}finishNodeAt(X,H,V){return H5(super.finishNodeAt(X,H,V))}resetStartLocation(X,H){super.resetStartLocation(X,H),H5(X)}resetEndLocation(X,H=this.state.lastTokEndLoc){super.resetEndLocation(X,H),H5(X)}};class A0{constructor(J,G){this.token=void 0,this.preserveSpace=void 0,this.token=J,this.preserveSpace=!!G}}var O1={brace:new A0("{"),j_oTag:new A0("<tag"),j_cTag:new A0("</tag"),j_expr:new A0("<tag>...</tag>",!0)};O1.template=new A0("`",!0);var K1=!0,h=!0,P8=!0,V5=!0,m2=!0,E81=!0;class E8{constructor(J,G={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=J,this.keyword=G.keyword,this.beforeExpr=!!G.beforeExpr,this.startsExpr=!!G.startsExpr,this.rightAssociative=!!G.rightAssociative,this.isLoop=!!G.isLoop,this.isAssign=!!G.isAssign,this.prefix=!!G.prefix,this.postfix=!!G.postfix,this.binop=G.binop!=null?G.binop:null,this.updateContext=null}}var v8=new Map;function q1(J,G={}){G.keyword=J;let X=s(J,G);return v8.set(J,X),X}function l1(J,G){return s(J,{beforeExpr:K1,binop:G})}var W5=-1,w2=[],g8=[],_8=[],u8=[],h8=[],y8=[];function s(J,G={}){var X,H,V,Z;return++W5,g8.push(J),_8.push((X=G.binop)!=null?X:-1),u8.push((H=G.beforeExpr)!=null?H:!1),h8.push((V=G.startsExpr)!=null?V:!1),y8.push((Z=G.prefix)!=null?Z:!1),w2.push(new E8(J,G)),W5}function z1(J,G={}){var X,H,V,Z;return++W5,v8.set(J,W5),g8.push(J),_8.push((X=G.binop)!=null?X:-1),u8.push((H=G.beforeExpr)!=null?H:!1),h8.push((V=G.startsExpr)!=null?V:!1),y8.push((Z=G.prefix)!=null?Z:!1),w2.push(new E8("name",G)),W5}var v81={bracketL:s("[",{beforeExpr:K1,startsExpr:h}),bracketHashL:s("#[",{beforeExpr:K1,startsExpr:h}),bracketBarL:s("[|",{beforeExpr:K1,startsExpr:h}),bracketR:s("]"),bracketBarR:s("|]"),braceL:s("{",{beforeExpr:K1,startsExpr:h}),braceBarL:s("{|",{beforeExpr:K1,startsExpr:h}),braceHashL:s("#{",{beforeExpr:K1,startsExpr:h}),braceR:s("}"),braceBarR:s("|}"),parenL:s("(",{beforeExpr:K1,startsExpr:h}),parenR:s(")"),comma:s(",",{beforeExpr:K1}),semi:s(";",{beforeExpr:K1}),colon:s(":",{beforeExpr:K1}),doubleColon:s("::",{beforeExpr:K1}),dot:s("."),question:s("?",{beforeExpr:K1}),questionDot:s("?."),arrow:s("=>",{beforeExpr:K1}),template:s("template"),ellipsis:s("...",{beforeExpr:K1}),backQuote:s("`",{startsExpr:h}),dollarBraceL:s("${",{beforeExpr:K1,startsExpr:h}),templateTail:s("...`",{startsExpr:h}),templateNonTail:s("...${",{beforeExpr:K1,startsExpr:h}),at:s("@"),hash:s("#",{startsExpr:h}),interpreterDirective:s("#!..."),eq:s("=",{beforeExpr:K1,isAssign:V5}),assign:s("_=",{beforeExpr:K1,isAssign:V5}),slashAssign:s("_=",{beforeExpr:K1,isAssign:V5}),xorAssign:s("_=",{beforeExpr:K1,isAssign:V5}),moduloAssign:s("_=",{beforeExpr:K1,isAssign:V5}),incDec:s("++/--",{prefix:m2,postfix:E81,startsExpr:h}),bang:s("!",{beforeExpr:K1,prefix:m2,startsExpr:h}),tilde:s("~",{beforeExpr:K1,prefix:m2,startsExpr:h}),doubleCaret:s("^^",{startsExpr:h}),doubleAt:s("@@",{startsExpr:h}),pipeline:l1("|>",0),nullishCoalescing:l1("??",1),logicalOR:l1("||",1),logicalAND:l1("&&",2),bitwiseOR:l1("|",3),bitwiseXOR:l1("^",4),bitwiseAND:l1("&",5),equality:l1("==/!=/===/!==",6),lt:l1("</>/<=/>=",7),gt:l1("</>/<=/>=",7),relational:l1("</>/<=/>=",7),bitShift:l1("<</>>/>>>",8),bitShiftL:l1("<</>>/>>>",8),bitShiftR:l1("<</>>/>>>",8),plusMin:s("+/-",{beforeExpr:K1,binop:9,prefix:m2,startsExpr:h}),modulo:s("%",{binop:10,startsExpr:h}),star:s("*",{binop:10}),slash:l1("/",10),exponent:s("**",{beforeExpr:K1,binop:11,rightAssociative:!0}),_in:q1("in",{beforeExpr:K1,binop:7}),_instanceof:q1("instanceof",{beforeExpr:K1,binop:7}),_break:q1("break"),_case:q1("case",{beforeExpr:K1}),_catch:q1("catch"),_continue:q1("continue"),_debugger:q1("debugger"),_default:q1("default",{beforeExpr:K1}),_else:q1("else",{beforeExpr:K1}),_finally:q1("finally"),_function:q1("function",{startsExpr:h}),_if:q1("if"),_return:q1("return",{beforeExpr:K1}),_switch:q1("switch"),_throw:q1("throw",{beforeExpr:K1,prefix:m2,startsExpr:h}),_try:q1("try"),_var:q1("var"),_const:q1("const"),_with:q1("with"),_new:q1("new",{beforeExpr:K1,startsExpr:h}),_this:q1("this",{startsExpr:h}),_super:q1("super",{startsExpr:h}),_class:q1("class",{startsExpr:h}),_extends:q1("extends",{beforeExpr:K1}),_export:q1("export"),_import:q1("import",{startsExpr:h}),_null:q1("null",{startsExpr:h}),_true:q1("true",{startsExpr:h}),_false:q1("false",{startsExpr:h}),_typeof:q1("typeof",{beforeExpr:K1,prefix:m2,startsExpr:h}),_void:q1("void",{beforeExpr:K1,prefix:m2,startsExpr:h}),_delete:q1("delete",{beforeExpr:K1,prefix:m2,startsExpr:h}),_do:q1("do",{isLoop:P8,beforeExpr:K1}),_for:q1("for",{isLoop:P8}),_while:q1("while",{isLoop:P8}),_as:z1("as",{startsExpr:h}),_assert:z1("assert",{startsExpr:h}),_async:z1("async",{startsExpr:h}),_await:z1("await",{startsExpr:h}),_defer:z1("defer",{startsExpr:h}),_from:z1("from",{startsExpr:h}),_get:z1("get",{startsExpr:h}),_let:z1("let",{startsExpr:h}),_meta:z1("meta",{startsExpr:h}),_of:z1("of",{startsExpr:h}),_sent:z1("sent",{startsExpr:h}),_set:z1("set",{startsExpr:h}),_source:z1("source",{startsExpr:h}),_static:z1("static",{startsExpr:h}),_using:z1("using",{startsExpr:h}),_yield:z1("yield",{startsExpr:h}),_asserts:z1("asserts",{startsExpr:h}),_checks:z1("checks",{startsExpr:h}),_exports:z1("exports",{startsExpr:h}),_global:z1("global",{startsExpr:h}),_implements:z1("implements",{startsExpr:h}),_intrinsic:z1("intrinsic",{startsExpr:h}),_infer:z1("infer",{startsExpr:h}),_is:z1("is",{startsExpr:h}),_mixins:z1("mixins",{startsExpr:h}),_proto:z1("proto",{startsExpr:h}),_require:z1("require",{startsExpr:h}),_satisfies:z1("satisfies",{startsExpr:h}),_keyof:z1("keyof",{startsExpr:h}),_readonly:z1("readonly",{startsExpr:h}),_unique:z1("unique",{startsExpr:h}),_abstract:z1("abstract",{startsExpr:h}),_declare:z1("declare",{startsExpr:h}),_enum:z1("enum",{startsExpr:h}),_module:z1("module",{startsExpr:h}),_namespace:z1("namespace",{startsExpr:h}),_interface:z1("interface",{startsExpr:h}),_type:z1("type",{startsExpr:h}),_opaque:z1("opaque",{startsExpr:h}),name:s("name",{startsExpr:h}),string:s("string",{startsExpr:h}),num:s("num",{startsExpr:h}),bigint:s("bigint",{startsExpr:h}),decimal:s("decimal",{startsExpr:h}),regexp:s("regexp",{startsExpr:h}),privateName:s("#name",{startsExpr:h}),eof:s("eof"),jsxName:s("jsxName"),jsxText:s("jsxText",{beforeExpr:!0}),jsxTagStart:s("jsxTagStart",{startsExpr:!0}),jsxTagEnd:s("jsxTagEnd"),placeholder:s("%%",{startsExpr:!0})};function j1(J){return J>=93&&J<=132}function g81(J){return J<=92}function U2(J){return J>=58&&J<=132}function gV(J){return J>=58&&J<=136}function _81(J){return u8[J]}function L8(J){return h8[J]}function u81(J){return J>=29&&J<=33}function IV(J){return J>=129&&J<=131}function h81(J){return J>=90&&J<=92}function x8(J){return J>=58&&J<=92}function y81(J){return J>=39&&J<=59}function x81(J){return J===34}function m81(J){return y8[J]}function c81(J){return J>=121&&J<=123}function l81(J){return J>=124&&J<=130}function l2(J){return g8[J]}function U9(J){return _8[J]}function i81(J){return J===57}function R9(J){return J>=24&&J<=25}function N2(J){return w2[J]}w2[8].updateContext=(J)=>{J.pop()},w2[5].updateContext=w2[7].updateContext=w2[23].updateContext=(J)=>{J.push(O1.brace)},w2[22].updateContext=(J)=>{if(J[J.length-1]===O1.template)J.pop();else J.push(O1.template)},w2[142].updateContext=(J)=>{J.push(O1.j_expr,O1.j_oTag)};var m8="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",_V="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",a81=new RegExp("["+m8+"]"),p81=new RegExp("["+m8+_V+"]");m8=_V=null;var uV=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],r81=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function k8(J,G){let X=65536;for(let H=0,V=G.length;H<V;H+=2){if(X+=G[H],X>J)return!1;if(X+=G[H+1],X>=J)return!0}return!1}function L2(J){if(J<65)return J===36;if(J<=90)return!0;if(J<97)return J===95;if(J<=122)return!0;if(J<=65535)return J>=170&&a81.test(String.fromCharCode(J));return k8(J,uV)}function D0(J){if(J<48)return J===36;if(J<58)return!0;if(J<65)return!1;if(J<=90)return!0;if(J<97)return J===95;if(J<=122)return!0;if(J<=65535)return J>=170&&p81.test(String.fromCharCode(J));return k8(J,uV)||k8(J,r81)}var c8={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},d81=new Set(c8.keyword),s81=new Set(c8.strict),t81=new Set(c8.strictBind);function hV(J,G){return G&&J==="await"||J==="enum"}function yV(J,G){return hV(J,G)||s81.has(J)}function xV(J){return t81.has(J)}function mV(J,G){return yV(J,G)||xV(J)}function n81(J){return d81.has(J)}function o81(J,G,X){return J===64&&G===64&&L2(X)}var e81=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function JJ1(J){return e81.has(J)}class $9{constructor(J){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=J}}class M9{constructor(J,G){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=J,this.inModule=G}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let J=this.currentThisScopeFlags();return(J&64)>0&&(J&2)===0}get inStaticBlock(){for(let J=this.scopeStack.length-1;;J--){let{flags:G}=this.scopeStack[J];if(G&128)return!0;if(G&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(J){return new $9(J)}enter(J){this.scopeStack.push(this.createScope(J))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(J){return!!(J.flags&130||!this.parser.inModule&&J.flags&1)}declareName(J,G,X){let H=this.currentScope();if(G&8||G&16){this.checkRedeclarationInScope(H,J,G,X);let V=H.names.get(J)||0;if(G&16)V=V|4;else{if(!H.firstLexicalName)H.firstLexicalName=J;V=V|2}if(H.names.set(J,V),G&8)this.maybeExportDefined(H,J)}else if(G&4){for(let V=this.scopeStack.length-1;V>=0;--V)if(H=this.scopeStack[V],this.checkRedeclarationInScope(H,J,G,X),H.names.set(J,(H.names.get(J)||0)|1),this.maybeExportDefined(H,J),H.flags&387)break}if(this.parser.inModule&&H.flags&1)this.undefinedExports.delete(J)}maybeExportDefined(J,G){if(this.parser.inModule&&J.flags&1)this.undefinedExports.delete(G)}checkRedeclarationInScope(J,G,X,H){if(this.isRedeclaredInScope(J,G,X))this.parser.raise(j.VarRedeclaration,H,{identifierName:G})}isRedeclaredInScope(J,G,X){if(!(X&1))return!1;if(X&8)return J.names.has(G);let H=J.names.get(G);if(X&16)return(H&2)>0||!this.treatFunctionsAsVarInScope(J)&&(H&1)>0;return(H&2)>0&&!(J.flags&8&&J.firstLexicalName===G)||!this.treatFunctionsAsVarInScope(J)&&(H&4)>0}checkLocalExport(J){let{name:G}=J;if(!this.scopeStack[0].names.has(G))this.undefinedExports.set(G,J.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let J=this.scopeStack.length-1;;J--){let{flags:G}=this.scopeStack[J];if(G&387)return G}}currentThisScopeFlags(){for(let J=this.scopeStack.length-1;;J--){let{flags:G}=this.scopeStack[J];if(G&451&&!(G&4))return G}}}class cV extends $9{constructor(...J){super(...J);this.declareFunctions=new Set}}class lV extends M9{createScope(J){return new cV(J)}declareName(J,G,X){let H=this.currentScope();if(G&2048){this.checkRedeclarationInScope(H,J,G,X),this.maybeExportDefined(H,J),H.declareFunctions.add(J);return}super.declareName(J,G,X)}isRedeclaredInScope(J,G,X){if(super.isRedeclaredInScope(J,G,X))return!0;if(X&2048&&!J.declareFunctions.has(G)){let H=J.names.get(G);return(H&4)>0||(H&2)>0}return!1}checkLocalExport(J){if(!this.scopeStack[0].declareFunctions.has(J.name))super.checkLocalExport(J)}}class iV{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(J){if(typeof J==="string")return this.plugins.has(J);else{let[G,X]=J;if(!this.hasPlugin(G))return!1;let H=this.plugins.get(G);for(let V of Object.keys(X))if((H==null?void 0:H[V])!==X[V])return!1;return!0}}getPluginOption(J,G){var X;return(X=this.plugins.get(J))==null?void 0:X[G]}}function aV(J,G){if(J.trailingComments===void 0)J.trailingComments=G;else J.trailingComments.unshift(...G)}function GJ1(J,G){if(J.leadingComments===void 0)J.leadingComments=G;else J.leadingComments.unshift(...G)}function U5(J,G){if(J.innerComments===void 0)J.innerComments=G;else J.innerComments.unshift(...G)}function Z5(J,G,X){let H=null,V=G.length;while(H===null&&V>0)H=G[--V];if(H===null||H.start>X.start)U5(J,X.comments);else aV(H,X.comments)}class pV extends iV{addComment(J){if(this.filename)J.loc.filename=this.filename;let{commentsLen:G}=this.state;if(this.comments.length!==G)this.comments.length=G;this.comments.push(J),this.state.commentsLen++}processComment(J){let{commentStack:G}=this.state,X=G.length;if(X===0)return;let H=X-1,V=G[H];if(V.start===J.end)V.leadingNode=J,H--;let{start:Z}=J;for(;H>=0;H--){let Q=G[H],Y=Q.end;if(Y>Z)Q.containingNode=J,this.finalizeComment(Q),G.splice(H,1);else{if(Y===Z)Q.trailingNode=J;break}}}finalizeComment(J){let{comments:G}=J;if(J.leadingNode!==null||J.trailingNode!==null){if(J.leadingNode!==null)aV(J.leadingNode,G);if(J.trailingNode!==null)GJ1(J.trailingNode,G)}else{let{containingNode:X,start:H}=J;if(this.input.charCodeAt(H-1)===44)switch(X.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Z5(X,X.properties,J);break;case"CallExpression":case"OptionalCallExpression":Z5(X,X.arguments,J);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Z5(X,X.params,J);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Z5(X,X.elements,J);break;case"ExportNamedDeclaration":case"ImportDeclaration":Z5(X,X.specifiers,J);break;default:U5(X,G)}else U5(X,G)}}finalizeRemainingComments(){let{commentStack:J}=this.state;for(let G=J.length-1;G>=0;G--)this.finalizeComment(J[G]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(J){let{commentStack:G}=this.state,{length:X}=G;if(X===0)return;let H=G[X-1];if(H.leadingNode===J)H.leadingNode=null}resetPreviousIdentifierLeadingComments(J){let{commentStack:G}=this.state,{length:X}=G;if(X===0)return;if(G[X-1].trailingNode===J)G[X-1].trailingNode=null;else if(X>=2&&G[X-2].trailingNode===J)G[X-2].trailingNode=null}takeSurroundingComments(J,G,X){let{commentStack:H}=this.state,V=H.length;if(V===0)return;let Z=V-1;for(;Z>=0;Z--){let Q=H[Z],Y=Q.end;if(Q.start===X)Q.leadingNode=J;else if(Y===G)Q.trailingNode=J;else if(Y<G)break}}}var XJ1=/\r\n|[\r\n\u2028\u2029]/,W9=new RegExp(XJ1.source,"g");function S0(J){switch(J){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function PV(J,G,X){for(let H=G;H<X;H++)if(S0(J.charCodeAt(H)))return!0;return!1}var f8=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,N8=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function HJ1(J){switch(J){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class l8{constructor(){this.flags=1024,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[O1.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(J){if(J)this.flags|=1;else this.flags&=-2}init({strictMode:J,sourceType:G,startLine:X,startColumn:H}){this.strict=J===!1?!1:J===!0?!0:G==="module",this.curLine=X,this.lineStart=-H,this.startLoc=this.endLoc=new b2(X,H,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(J){if(J)this.flags|=2;else this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(J){if(J)this.flags|=4;else this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(J){if(J)this.flags|=8;else this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(J){if(J)this.flags|=16;else this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(J){if(J)this.flags|=32;else this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(J){if(J)this.flags|=64;else this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(J){if(J)this.flags|=128;else this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(J){if(J)this.flags|=256;else this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(J){if(J)this.flags|=512;else this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(J){if(J)this.flags|=1024;else this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(J){if(J)this.flags|=2048;else this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(J){if(J)this.flags|=4096;else this.flags&=-4097}curPosition(){return new b2(this.curLine,this.pos-this.lineStart,this.pos)}clone(){let J=new l8;return J.flags=this.flags,J.curLine=this.curLine,J.lineStart=this.lineStart,J.startLoc=this.startLoc,J.endLoc=this.endLoc,J.errors=this.errors.slice(),J.potentialArrowAt=this.potentialArrowAt,J.noArrowAt=this.noArrowAt.slice(),J.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),J.topicContext=this.topicContext,J.labels=this.labels.slice(),J.commentsLen=this.commentsLen,J.commentStack=this.commentStack.slice(),J.pos=this.pos,J.type=this.type,J.value=this.value,J.start=this.start,J.end=this.end,J.lastTokEndLoc=this.lastTokEndLoc,J.lastTokStartLoc=this.lastTokStartLoc,J.context=this.context.slice(),J.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,J.strictErrors=this.strictErrors,J.tokensLength=this.tokensLength,J}}var VJ1=function J(G){return G>=48&&G<=57},fV={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},z9={bin:(J)=>J===48||J===49,oct:(J)=>J>=48&&J<=55,dec:(J)=>J>=48&&J<=57,hex:(J)=>J>=48&&J<=57||J>=65&&J<=70||J>=97&&J<=102};function NV(J,G,X,H,V,Z){let Q=X,Y=H,W=V,z="",U=null,F=X,{length:A}=G;for(;;){if(X>=A){Z.unterminated(Q,Y,W),z+=G.slice(F,X);break}let D=G.charCodeAt(X);if(ZJ1(J,D,G,X)){z+=G.slice(F,X);break}if(D===92){z+=G.slice(F,X);let I=QJ1(G,X,H,V,J==="template",Z);if(I.ch===null&&!U)U={pos:X,lineStart:H,curLine:V};else z+=I.ch;({pos:X,lineStart:H,curLine:V}=I),F=X}else if(D===8232||D===8233)++X,++V,H=X;else if(D===10||D===13)if(J==="template"){if(z+=G.slice(F,X)+"\n",++X,D===13&&G.charCodeAt(X)===10)++X;++V,F=H=X}else Z.unterminated(Q,Y,W);else++X}return{pos:X,str:z,firstInvalidLoc:U,lineStart:H,curLine:V,containsInvalid:!!U}}function ZJ1(J,G,X,H){if(J==="template")return G===96||G===36&&X.charCodeAt(H+1)===123;return G===(J==="double"?34:39)}function QJ1(J,G,X,H,V,Z){let Q=!V;G++;let Y=(z)=>({pos:G,ch:z,lineStart:X,curLine:H}),W=J.charCodeAt(G++);switch(W){case 110:return Y("\n");case 114:return Y("\r");case 120:{let z;return{code:z,pos:G}=b8(J,G,X,H,2,!1,Q,Z),Y(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:G}=dV(J,G,X,H,Q,Z),Y(z===null?null:String.fromCodePoint(z))}case 116:return Y("\t");case 98:return Y("\b");case 118:return Y("\v");case 102:return Y("\f");case 13:if(J.charCodeAt(G)===10)++G;case 10:X=G,++H;case 8232:case 8233:return Y("");case 56:case 57:if(V)return Y(null);else Z.strictNumericEscape(G-1,X,H);default:if(W>=48&&W<=55){let z=G-1,F=/^[0-7]+/.exec(J.slice(z,G+2))[0],A=parseInt(F,8);if(A>255)F=F.slice(0,-1),A=parseInt(F,8);G+=F.length-1;let D=J.charCodeAt(G);if(F!=="0"||D===56||D===57)if(V)return Y(null);else Z.strictNumericEscape(z,X,H);return Y(String.fromCharCode(A))}return Y(String.fromCharCode(W))}}function b8(J,G,X,H,V,Z,Q,Y){let W=G,z;if({n:z,pos:G}=rV(J,G,X,H,16,V,Z,!1,Y,!Q),z===null)if(Q)Y.invalidEscapeSequence(W,X,H);else G=W-1;return{code:z,pos:G}}function rV(J,G,X,H,V,Z,Q,Y,W,z){let U=G,F=V===16?fV.hex:fV.decBinOct,A=V===16?z9.hex:V===10?z9.dec:V===8?z9.oct:z9.bin,D=!1,I=0;for(let _=0,f=Z==null?1/0:Z;_<f;++_){let w=J.charCodeAt(G),k;if(w===95&&Y!=="bail"){let Q1=J.charCodeAt(G-1),d=J.charCodeAt(G+1);if(!Y){if(z)return{n:null,pos:G};W.numericSeparatorInEscapeSequence(G,X,H)}else if(Number.isNaN(d)||!A(d)||F.has(Q1)||F.has(d)){if(z)return{n:null,pos:G};W.unexpectedNumericSeparator(G,X,H)}++G;continue}if(w>=97)k=w-97+10;else if(w>=65)k=w-65+10;else if(VJ1(w))k=w-48;else k=1/0;if(k>=V)if(k<=9&&z)return{n:null,pos:G};else if(k<=9&&W.invalidDigit(G,X,H,V))k=0;else if(Q)k=0,D=!0;else break;++G,I=I*V+k}if(G===U||Z!=null&&G-U!==Z||D)return{n:null,pos:G};return{n:I,pos:G}}function dV(J,G,X,H,V,Z){let Q=J.charCodeAt(G),Y;if(Q===123){if(++G,{code:Y,pos:G}=b8(J,G,X,H,J.indexOf("}",G)-G,!0,V,Z),++G,Y!==null&&Y>1114111)if(V)Z.invalidCodePoint(G,X,H);else return{code:null,pos:G}}else({code:Y,pos:G}=b8(J,G,X,H,4,!1,V,Z));return{code:Y,pos:G}}function Q5(J,G,X){return new b2(X,J-G,J)}var YJ1=new Set([103,109,115,105,121,117,100,118]);class T2{constructor(J){this.type=J.type,this.value=J.value,this.start=J.start,this.end=J.end,this.loc=new K5(J.startLoc,J.endLoc)}}class sV extends pV{constructor(J,G){super();this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(X,H,V,Z)=>{if(!this.options.errorRecovery)return!1;return this.raise(j.InvalidDigit,Q5(X,H,V),{radix:Z}),!0},numericSeparatorInEscapeSequence:this.errorBuilder(j.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(j.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(j.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(j.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(X,H,V)=>{this.recordStrictModeErrors(j.StrictNumericEscape,Q5(X,H,V))},unterminated:(X,H,V)=>{throw this.raise(j.UnterminatedString,Q5(X-1,H,V))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(j.StrictNumericEscape),unterminated:(X,H,V)=>{throw this.raise(j.UnterminatedTemplate,Q5(X,H,V))}}),this.state=new l8,this.state.init(J),this.input=G,this.length=G.length,this.comments=[],this.isLookahead=!1}pushToken(J){this.tokens.length=this.state.tokensLength,this.tokens.push(J),++this.state.tokensLength}next(){if(this.checkKeywordEscapes(),this.options.tokens)this.pushToken(new T2(this.state));this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(J){if(this.match(J))return this.next(),!0;else return!1}match(J){return this.state.type===J}createLookaheadState(J){return{pos:J.pos,value:null,type:J.type,start:J.start,end:J.end,context:[this.curContext()],inType:J.inType,startLoc:J.startLoc,lastTokEndLoc:J.lastTokEndLoc,curLine:J.curLine,lineStart:J.lineStart,curPosition:J.curPosition}}lookahead(){let J=this.state;this.state=this.createLookaheadState(J),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let G=this.state;return this.state=J,G}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(J){return f8.lastIndex=J,f8.test(this.input)?f8.lastIndex:J}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(J){return N8.lastIndex=J,N8.test(this.input)?N8.lastIndex:J}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(J){let G=this.input.charCodeAt(J);if((G&64512)===55296&&++J<this.input.length){let X=this.input.charCodeAt(J);if((X&64512)===56320)G=65536+((G&1023)<<10)+(X&1023)}return G}setStrict(J){if(this.state.strict=J,J)this.state.strictErrors.forEach(([G,X])=>this.raise(G,X)),this.state.strictErrors.clear()}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(J){let G;if(!this.isLookahead)G=this.state.curPosition();let X=this.state.pos,H=this.input.indexOf(J,X+2);if(H===-1)throw this.raise(j.UnterminatedComment,this.state.curPosition());this.state.pos=H+J.length,W9.lastIndex=X+2;while(W9.test(this.input)&&W9.lastIndex<=H)++this.state.curLine,this.state.lineStart=W9.lastIndex;if(this.isLookahead)return;let V={type:"CommentBlock",value:this.input.slice(X+2,H),start:X,end:H+J.length,loc:new K5(G,this.state.curPosition())};if(this.options.tokens)this.pushToken(V);return V}skipLineComment(J){let G=this.state.pos,X;if(!this.isLookahead)X=this.state.curPosition();let H=this.input.charCodeAt(this.state.pos+=J);if(this.state.pos<this.length)while(!S0(H)&&++this.state.pos<this.length)H=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let V=this.state.pos,Q={type:"CommentLine",value:this.input.slice(G+J,V),start:G,end:V,loc:new K5(X,this.state.curPosition())};if(this.options.tokens)this.pushToken(Q);return Q}skipSpace(){let J=this.state.pos,G=[];J:while(this.state.pos<this.length){let X=this.input.charCodeAt(this.state.pos);switch(X){case 32:case 160:case 9:++this.state.pos;break;case 13:if(this.input.charCodeAt(this.state.pos+1)===10)++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let H=this.skipBlockComment("*/");if(H!==void 0){if(this.addComment(H),this.options.attachComment)G.push(H)}break}case 47:{let H=this.skipLineComment(2);if(H!==void 0){if(this.addComment(H),this.options.attachComment)G.push(H)}break}default:break J}break;default:if(HJ1(X))++this.state.pos;else if(X===45&&!this.inModule&&this.options.annexB){let H=this.state.pos;if(this.input.charCodeAt(H+1)===45&&this.input.charCodeAt(H+2)===62&&(J===0||this.state.lineStart>J)){let V=this.skipLineComment(3);if(V!==void 0){if(this.addComment(V),this.options.attachComment)G.push(V)}}else break J}else if(X===60&&!this.inModule&&this.options.annexB){let H=this.state.pos;if(this.input.charCodeAt(H+1)===33&&this.input.charCodeAt(H+2)===45&&this.input.charCodeAt(H+3)===45){let V=this.skipLineComment(4);if(V!==void 0){if(this.addComment(V),this.options.attachComment)G.push(V)}}else break J}else break J}}if(G.length>0){let X=this.state.pos,H={start:J,end:X,comments:G,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(H)}}finishToken(J,G){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let X=this.state.type;if(this.state.type=J,this.state.value=G,!this.isLookahead)this.updateContext(X)}replaceToken(J){this.state.type=J,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let J=this.state.pos+1,G=this.codePointAtPos(J);if(G>=48&&G<=57)throw this.raise(j.UnexpectedDigitAfterHash,this.state.curPosition());if(G===123||G===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(G===123?j.RecordExpressionHashIncorrectStartSyntaxType:j.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());if(this.state.pos+=2,G===123)this.finishToken(7);else this.finishToken(1)}else if(L2(G))++this.state.pos,this.finishToken(138,this.readWord1(G));else if(G===92)++this.state.pos,this.finishToken(138,this.readWord1());else this.finishOp(27,1)}readToken_dot(){let J=this.input.charCodeAt(this.state.pos+1);if(J>=48&&J<=57){this.readNumber(!0);return}if(J===46&&this.input.charCodeAt(this.state.pos+2)===46)this.state.pos+=3,this.finishToken(21);else++this.state.pos,this.finishToken(16)}readToken_slash(){if(this.input.charCodeAt(this.state.pos+1)===61)this.finishOp(31,2);else this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let J=this.input.charCodeAt(this.state.pos+1);if(J!==33)return!1;let G=this.state.pos;this.state.pos+=1;while(!S0(J)&&++this.state.pos<this.length)J=this.input.charCodeAt(this.state.pos);let X=this.input.slice(G+2,this.state.pos);return this.finishToken(28,X),!0}readToken_mult_modulo(J){let G=J===42?55:54,X=1,H=this.input.charCodeAt(this.state.pos+1);if(J===42&&H===42)X++,H=this.input.charCodeAt(this.state.pos+2),G=57;if(H===61&&!this.state.inType)X++,G=J===37?33:30;this.finishOp(G,X)}readToken_pipe_amp(J){let G=this.input.charCodeAt(this.state.pos+1);if(G===J){if(this.input.charCodeAt(this.state.pos+2)===61)this.finishOp(30,3);else this.finishOp(J===124?41:42,2);return}if(J===124){if(G===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&G===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(j.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&G===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(j.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(G===61){this.finishOp(30,2);return}this.finishOp(J===124?43:45,1)}readToken_caret(){let J=this.input.charCodeAt(this.state.pos+1);if(J===61&&!this.state.inType)this.finishOp(32,2);else if(J===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){if(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94)this.unexpected()}else this.finishOp(44,1)}readToken_atSign(){if(this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}]))this.finishOp(38,2);else this.finishOp(26,1)}readToken_plus_min(J){let G=this.input.charCodeAt(this.state.pos+1);if(G===J){this.finishOp(34,2);return}if(G===61)this.finishOp(30,2);else this.finishOp(53,1)}readToken_lt(){let{pos:J}=this.state,G=this.input.charCodeAt(J+1);if(G===60){if(this.input.charCodeAt(J+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(G===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:J}=this.state,G=this.input.charCodeAt(J+1);if(G===62){let X=this.input.charCodeAt(J+2)===62?3:2;if(this.input.charCodeAt(J+X)===61){this.finishOp(30,X+1);return}this.finishOp(52,X);return}if(G===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(J){let G=this.input.charCodeAt(this.state.pos+1);if(G===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(J===61&&G===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(J===61?29:35,1)}readToken_question(){let J=this.input.charCodeAt(this.state.pos+1),G=this.input.charCodeAt(this.state.pos+2);if(J===63)if(G===61)this.finishOp(30,3);else this.finishOp(40,2);else if(J===46&&!(G>=48&&G<=57))this.state.pos+=2,this.finishToken(18);else++this.state.pos,this.finishToken(17)}getTokenFromCode(J){switch(J){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(j.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(j.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58)this.finishOp(15,2);else++this.state.pos,this.finishToken(14);return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let G=this.input.charCodeAt(this.state.pos+1);if(G===120||G===88){this.readRadixNumber(16);return}if(G===111||G===79){this.readRadixNumber(8);return}if(G===98||G===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(J);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(J);return;case 124:case 38:this.readToken_pipe_amp(J);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(J);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(J);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(L2(J)){this.readWord(J);return}}throw this.raise(j.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(J)})}finishOp(J,G){let X=this.input.slice(this.state.pos,this.state.pos+G);this.state.pos+=G,this.finishToken(J,X)}readRegexp(){let J=this.state.startLoc,G=this.state.start+1,X,H,{pos:V}=this.state;for(;;++V){if(V>=this.length)throw this.raise(j.UnterminatedRegExp,i1(J,1));let W=this.input.charCodeAt(V);if(S0(W))throw this.raise(j.UnterminatedRegExp,i1(J,1));if(X)X=!1;else{if(W===91)H=!0;else if(W===93&&H)H=!1;else if(W===47&&!H)break;X=W===92}}let Z=this.input.slice(G,V);++V;let Q="",Y=()=>i1(J,V+2-G);while(V<this.length){let W=this.codePointAtPos(V),z=String.fromCharCode(W);if(YJ1.has(W)){if(W===118){if(Q.includes("u"))this.raise(j.IncompatibleRegExpUVFlags,Y())}else if(W===117){if(Q.includes("v"))this.raise(j.IncompatibleRegExpUVFlags,Y())}if(Q.includes(z))this.raise(j.DuplicateRegExpFlags,Y())}else if(D0(W)||W===92)this.raise(j.MalformedRegExpFlags,Y());else break;++V,Q+=z}this.state.pos=V,this.finishToken(137,{pattern:Z,flags:Q})}readInt(J,G,X=!1,H=!0){let{n:V,pos:Z}=rV(this.input,this.state.pos,this.state.lineStart,this.state.curLine,J,G,X,H,this.errorHandlers_readInt,!1);return this.state.pos=Z,V}readRadixNumber(J){let G=this.state.curPosition(),X=!1;this.state.pos+=2;let H=this.readInt(J);if(H==null)this.raise(j.InvalidDigit,i1(G,2),{radix:J});let V=this.input.charCodeAt(this.state.pos);if(V===110)++this.state.pos,X=!0;else if(V===109)throw this.raise(j.InvalidDecimal,G);if(L2(this.codePointAtPos(this.state.pos)))throw this.raise(j.NumberIdentifier,this.state.curPosition());if(X){let Z=this.input.slice(G.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,Z);return}this.finishToken(134,H)}readNumber(J){let G=this.state.pos,X=this.state.curPosition(),H=!1,V=!1,Z=!1,Q=!1;if(!J&&this.readInt(10)===null)this.raise(j.InvalidNumber,this.state.curPosition());let Y=this.state.pos-G>=2&&this.input.charCodeAt(G)===48;if(Y){let A=this.input.slice(G,this.state.pos);if(this.recordStrictModeErrors(j.StrictOctalLiteral,X),!this.state.strict){let D=A.indexOf("_");if(D>0)this.raise(j.ZeroDigitNumericSeparator,i1(X,D))}Q=Y&&!/[89]/.test(A)}let W=this.input.charCodeAt(this.state.pos);if(W===46&&!Q)++this.state.pos,this.readInt(10),H=!0,W=this.input.charCodeAt(this.state.pos);if((W===69||W===101)&&!Q){if(W=this.input.charCodeAt(++this.state.pos),W===43||W===45)++this.state.pos;if(this.readInt(10)===null)this.raise(j.InvalidOrMissingExponent,X);H=!0,Z=!0,W=this.input.charCodeAt(this.state.pos)}if(W===110){if(H||Y)this.raise(j.InvalidBigIntLiteral,X);++this.state.pos,V=!0}if(W===109){if(this.expectPlugin("decimal",this.state.curPosition()),Z||Y)this.raise(j.InvalidDecimal,X);++this.state.pos;var z=!0}if(L2(this.codePointAtPos(this.state.pos)))throw this.raise(j.NumberIdentifier,this.state.curPosition());let U=this.input.slice(G,this.state.pos).replace(/[_mn]/g,"");if(V){this.finishToken(135,U);return}if(z){this.finishToken(136,U);return}let F=Q?parseInt(U,8):parseFloat(U);this.finishToken(134,F)}readCodePoint(J){let{code:G,pos:X}=dV(this.input,this.state.pos,this.state.lineStart,this.state.curLine,J,this.errorHandlers_readCodePoint);return this.state.pos=X,G}readString(J){let{str:G,pos:X,curLine:H,lineStart:V}=NV(J===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=X+1,this.state.lineStart=V,this.state.curLine=H,this.finishToken(133,G)}readTemplateContinuation(){if(!this.match(8))this.unexpected(null,8);this.state.pos--,this.readTemplateToken()}readTemplateToken(){let J=this.input[this.state.pos],{str:G,firstInvalidLoc:X,pos:H,curLine:V,lineStart:Z}=NV("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);if(this.state.pos=H+1,this.state.lineStart=Z,this.state.curLine=V,X)this.state.firstInvalidTemplateEscapePos=new b2(X.curLine,X.pos-X.lineStart,X.pos);if(this.input.codePointAt(H)===96)this.finishToken(24,X?null:J+G+"`");else this.state.pos++,this.finishToken(25,X?null:J+G+"${")}recordStrictModeErrors(J,G){let X=G.index;if(this.state.strict&&!this.state.strictErrors.has(X))this.raise(J,G);else this.state.strictErrors.set(X,[J,G])}readWord1(J){this.state.containsEsc=!1;let G="",X=this.state.pos,H=this.state.pos;if(J!==void 0)this.state.pos+=J<=65535?1:2;while(this.state.pos<this.length){let V=this.codePointAtPos(this.state.pos);if(D0(V))this.state.pos+=V<=65535?1:2;else if(V===92){this.state.containsEsc=!0,G+=this.input.slice(H,this.state.pos);let Z=this.state.curPosition(),Q=this.state.pos===X?L2:D0;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(j.MissingUnicodeEscape,this.state.curPosition()),H=this.state.pos-1;continue}++this.state.pos;let Y=this.readCodePoint(!0);if(Y!==null){if(!Q(Y))this.raise(j.EscapedCharNotAnIdentifier,Z);G+=String.fromCodePoint(Y)}H=this.state.pos}else break}return G+this.input.slice(H,this.state.pos)}readWord(J){let G=this.readWord1(J),X=v8.get(G);if(X!==void 0)this.finishToken(X,l2(X));else this.finishToken(132,G)}checkKeywordEscapes(){let{type:J}=this.state;if(x8(J)&&this.state.containsEsc)this.raise(j.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:l2(J)})}raise(J,G,X={}){let H=G instanceof b2?G:G.loc.start,V=J(H,X);if(!this.options.errorRecovery)throw V;if(!this.isLookahead)this.state.errors.push(V);return V}raiseOverwrite(J,G,X={}){let H=G instanceof b2?G:G.loc.start,V=H.index,Z=this.state.errors;for(let Q=Z.length-1;Q>=0;Q--){let Y=Z[Q];if(Y.loc.index===V)return Z[Q]=J(H,X);if(Y.loc.index<V)break}return this.raise(J,G,X)}updateContext(J){}unexpected(J,G){throw this.raise(j.UnexpectedToken,J!=null?J:this.state.startLoc,{expected:G?l2(G):null})}expectPlugin(J,G){if(this.hasPlugin(J))return!0;throw this.raise(j.MissingPlugin,G!=null?G:this.state.startLoc,{missingPlugin:[J]})}expectOnePlugin(J){if(!J.some((G)=>this.hasPlugin(G)))throw this.raise(j.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:J})}errorBuilder(J){return(G,X,H)=>{this.raise(J,Q5(G,X,H))}}}class tV{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class nV{constructor(J){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=J}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new tV)}exit(){let J=this.stack.pop(),G=this.current();for(let[X,H]of Array.from(J.undefinedPrivateNames))if(G){if(!G.undefinedPrivateNames.has(X))G.undefinedPrivateNames.set(X,H)}else this.parser.raise(j.InvalidPrivateFieldResolution,H,{identifierName:X})}declarePrivateName(J,G,X){let{privateNames:H,loneAccessors:V,undefinedPrivateNames:Z}=this.current(),Q=H.has(J);if(G&3){let Y=Q&&V.get(J);if(Y){let W=Y&4,z=G&4,U=Y&3,F=G&3;if(Q=U===F||W!==z,!Q)V.delete(J)}else if(!Q)V.set(J,G)}if(Q)this.parser.raise(j.PrivateNameRedeclaration,X,{identifierName:J});H.add(J),Z.delete(J)}usePrivateName(J,G){let X;for(X of this.stack)if(X.privateNames.has(J))return;if(X)X.undefinedPrivateNames.set(J,G);else this.parser.raise(j.InvalidPrivateFieldResolution,G,{identifierName:J})}}class R5{constructor(J=0){this.type=J}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class i8 extends R5{constructor(J){super(J);this.declarationErrors=new Map}recordDeclarationError(J,G){let X=G.index;this.declarationErrors.set(X,[J,G])}clearDeclarationError(J){this.declarationErrors.delete(J)}iterateErrors(J){this.declarationErrors.forEach(J)}}class oV{constructor(J){this.parser=void 0,this.stack=[new R5],this.parser=J}enter(J){this.stack.push(J)}exit(){this.stack.pop()}recordParameterInitializerError(J,G){let X=G.loc.start,{stack:H}=this,V=H.length-1,Z=H[V];while(!Z.isCertainlyParameterDeclaration()){if(Z.canBeArrowParameterDeclaration())Z.recordDeclarationError(J,X);else return;Z=H[--V]}this.parser.raise(J,X)}recordArrowParameterBindingError(J,G){let{stack:X}=this,H=X[X.length-1],V=G.loc.start;if(H.isCertainlyParameterDeclaration())this.parser.raise(J,V);else if(H.canBeArrowParameterDeclaration())H.recordDeclarationError(J,V);else return}recordAsyncArrowParametersError(J){let{stack:G}=this,X=G.length-1,H=G[X];while(H.canBeArrowParameterDeclaration()){if(H.type===2)H.recordDeclarationError(j.AwaitBindingIdentifier,J);H=G[--X]}}validateAsPattern(){let{stack:J}=this,G=J[J.length-1];if(!G.canBeArrowParameterDeclaration())return;G.iterateErrors(([X,H])=>{this.parser.raise(X,H);let V=J.length-2,Z=J[V];while(Z.canBeArrowParameterDeclaration())Z.clearDeclarationError(H.index),Z=J[--V]})}}function WJ1(){return new R5(3)}function zJ1(){return new i8(1)}function KJ1(){return new i8(2)}function eV(){return new R5}class JZ{constructor(){this.stacks=[]}enter(J){this.stacks.push(J)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function B9(J,G){return(J?2:0)|(G?1:0)}class GZ extends sV{addExtra(J,G,X,H=!0){if(!J)return;let{extra:V}=J;if(V==null)V={},J.extra=V;if(H)V[G]=X;else Object.defineProperty(V,G,{enumerable:H,value:X})}isContextual(J){return this.state.type===J&&!this.state.containsEsc}isUnparsedContextual(J,G){let X=J+G.length;if(this.input.slice(J,X)===G){let H=this.input.charCodeAt(X);return!(D0(H)||(H&64512)===55296)}return!1}isLookaheadContextual(J){let G=this.nextTokenStart();return this.isUnparsedContextual(G,J)}eatContextual(J){if(this.isContextual(J))return this.next(),!0;return!1}expectContextual(J,G){if(!this.eatContextual(J)){if(G!=null)throw this.raise(G,this.state.startLoc);this.unexpected(null,J)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return PV(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return PV(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(J=!0){if(J?this.isLineTerminator():this.eat(13))return;this.raise(j.MissingSemicolon,this.state.lastTokEndLoc)}expect(J,G){if(!this.eat(J))this.unexpected(G,J)}tryParse(J,G=this.state.clone()){let X={node:null};try{let H=J((V=null)=>{throw X.node=V,X});if(this.state.errors.length>G.errors.length){let V=this.state;return this.state=G,this.state.tokensLength=V.tokensLength,{node:H,error:V.errors[G.errors.length],thrown:!1,aborted:!1,failState:V}}return{node:H,error:null,thrown:!1,aborted:!1,failState:null}}catch(H){let V=this.state;if(this.state=G,H instanceof SyntaxError)return{node:null,error:H,thrown:!0,aborted:!1,failState:V};if(H===X)return{node:X.node,error:null,thrown:!1,aborted:!0,failState:V};throw H}}checkExpressionErrors(J,G){if(!J)return!1;let{shorthandAssignLoc:X,doubleProtoLoc:H,privateKeyLoc:V,optionalParametersLoc:Z}=J,Q=!!X||!!H||!!Z||!!V;if(!G)return Q;if(X!=null)this.raise(j.InvalidCoverInitializedName,X);if(H!=null)this.raise(j.DuplicateProto,H);if(V!=null)this.raise(j.UnexpectedPrivateField,V);if(Z!=null)this.unexpected(Z)}isLiteralPropertyName(){return gV(this.state.type)}isPrivateName(J){return J.type==="PrivateName"}getPrivateNameSV(J){return J.id.name}hasPropertyAsPrivateName(J){return(J.type==="MemberExpression"||J.type==="OptionalMemberExpression")&&this.isPrivateName(J.property)}isObjectProperty(J){return J.type==="ObjectProperty"}isObjectMethod(J){return J.type==="ObjectMethod"}initializeScopes(J=this.options.sourceType==="module"){let G=this.state.labels;this.state.labels=[];let X=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let H=this.inModule;this.inModule=J;let V=this.scope,Z=this.getScopeHandler();this.scope=new Z(this,J);let Q=this.prodParam;this.prodParam=new JZ;let Y=this.classScope;this.classScope=new nV(this);let W=this.expressionScope;return this.expressionScope=new oV(this),()=>{this.state.labels=G,this.exportedIdentifiers=X,this.inModule=H,this.scope=V,this.prodParam=Q,this.classScope=Y,this.expressionScope=W}}enterInitialScopes(){let J=0;if(this.inModule)J|=2;this.scope.enter(1),this.prodParam.enter(J)}checkDestructuringPrivate(J){let{privateKeyLoc:G}=J;if(G!==null)this.expectPlugin("destructuringPrivate",G)}}class z5{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class B5{constructor(J,G,X){if(this.type="",this.start=G,this.end=0,this.loc=new K5(X),J!=null&&J.options.ranges)this.range=[G,0];if(J!=null&&J.filename)this.loc.filename=J.filename}}var a8=B5.prototype;a8.__clone=function(){let J=new B5(void 0,this.start,this.loc.start),G=Object.keys(this);for(let X=0,H=G.length;X<H;X++){let V=G[X];if(V!=="leadingComments"&&V!=="trailingComments"&&V!=="innerComments")J[V]=this[V]}return J};function UJ1(J){return E2(J)}function E2(J){let{type:G,start:X,end:H,loc:V,range:Z,extra:Q,name:Y}=J,W=Object.create(a8);if(W.type=G,W.start=X,W.end=H,W.loc=V,W.range=Z,W.extra=Q,W.name=Y,G==="Placeholder")W.expectedNode=J.expectedNode;return W}function BJ1(J){let{type:G,start:X,end:H,loc:V,range:Z,extra:Q}=J;if(G==="Placeholder")return UJ1(J);let Y=Object.create(a8);if(Y.type=G,Y.start=X,Y.end=H,Y.loc=V,Y.range=Z,J.raw!==void 0)Y.raw=J.raw;else Y.extra=Q;return Y.value=J.value,Y}class XZ extends GZ{startNode(){let J=this.state.startLoc;return new B5(this,J.index,J)}startNodeAt(J){return new B5(this,J.index,J)}startNodeAtNode(J){return this.startNodeAt(J.loc.start)}finishNode(J,G){return this.finishNodeAt(J,G,this.state.lastTokEndLoc)}finishNodeAt(J,G,X){if(J.type=G,J.end=X.index,J.loc.end=X,this.options.ranges)J.range[1]=X.index;if(this.options.attachComment)this.processComment(J);return J}resetStartLocation(J,G){if(J.start=G.index,J.loc.start=G,this.options.ranges)J.range[0]=G.index}resetEndLocation(J,G=this.state.lastTokEndLoc){if(J.end=G.index,J.loc.end=G,this.options.ranges)J.range[1]=G.index}resetStartLocationFromNode(J,G){this.resetStartLocation(J,G.loc.start)}}var RJ1=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),n=k2`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:J})=>`Cannot overwrite reserved type ${J}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:J,enumName:G})=>`Boolean enum members need to be initialized. Use either \`${J} = true,\` or \`${J} = false,\` in enum \`${G}\`.`,EnumDuplicateMemberName:({memberName:J,enumName:G})=>`Enum member names need to be unique, but the name \`${J}\` has already been used before in enum \`${G}\`.`,EnumInconsistentMemberValues:({enumName:J})=>`Enum \`${J}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:J,enumName:G})=>`Enum type \`${J}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${G}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:J})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${J}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:J,memberName:G,explicitType:X})=>`Enum \`${J}\` has type \`${X}\`, so the initializer of \`${G}\` needs to be a ${X} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:J,memberName:G})=>`Symbol enum members cannot be initialized. Use \`${G},\` in enum \`${J}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:J,memberName:G})=>`The enum member initializer for \`${G}\` needs to be a literal (either a boolean, number, or string) in enum \`${J}\`.`,EnumInvalidMemberName:({enumName:J,memberName:G,suggestion:X})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${G}\`, consider using \`${X}\`, in enum \`${J}\`.`,EnumNumberMemberNotInitialized:({enumName:J,memberName:G})=>`Number enum members need to be initialized, e.g. \`${G} = 1\` in enum \`${J}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:J})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${J}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:J})=>`Unexpected reserved type ${J}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:J,suggestion:G})=>`\`declare export ${J}\` is not supported. Use \`${G}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function $J1(J){return J.type==="DeclareExportAllDeclaration"||J.type==="DeclareExportDeclaration"&&(!J.declaration||J.declaration.type!=="TypeAlias"&&J.declaration.type!=="InterfaceDeclaration")}function TV(J){return J.importKind==="type"||J.importKind==="typeof"}var MJ1={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function qJ1(J,G){let X=[],H=[];for(let V=0;V<J.length;V++)(G(J[V],V,J)?X:H).push(J[V]);return[X,H]}var FJ1=/\*?\s*@((?:no)?flow)\b/,jJ1=(J)=>class G extends J{constructor(...X){super(...X);this.flowPragma=void 0}getScopeHandler(){return lV}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(X,H){if(X!==133&&X!==13&&X!==28){if(this.flowPragma===void 0)this.flowPragma=null}super.finishToken(X,H)}addComment(X){if(this.flowPragma===void 0){let H=FJ1.exec(X.value);if(!H);else if(H[1]==="flow")this.flowPragma="flow";else if(H[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(X)}flowParseTypeInitialiser(X){let H=this.state.inType;this.state.inType=!0,this.expect(X||14);let V=this.flowParseType();return this.state.inType=H,V}flowParsePredicate(){let X=this.startNode(),H=this.state.startLoc;if(this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>H.index+1)this.raise(n.UnexpectedSpaceBetweenModuloChecks,H);if(this.eat(10))return X.value=super.parseExpression(),this.expect(11),this.finishNode(X,"DeclaredPredicate");else return this.finishNode(X,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let X=this.state.inType;this.state.inType=!0,this.expect(14);let H=null,V=null;if(this.match(54))this.state.inType=X,V=this.flowParsePredicate();else if(H=this.flowParseType(),this.state.inType=X,this.match(54))V=this.flowParsePredicate();return[H,V]}flowParseDeclareClass(X){return this.next(),this.flowParseInterfaceish(X,!0),this.finishNode(X,"DeclareClass")}flowParseDeclareFunction(X){this.next();let H=X.id=this.parseIdentifier(),V=this.startNode(),Z=this.startNode();if(this.match(47))V.typeParameters=this.flowParseTypeParameterDeclaration();else V.typeParameters=null;this.expect(10);let Q=this.flowParseFunctionTypeParams();return V.params=Q.params,V.rest=Q.rest,V.this=Q._this,this.expect(11),[V.returnType,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),Z.typeAnnotation=this.finishNode(V,"FunctionTypeAnnotation"),H.typeAnnotation=this.finishNode(Z,"TypeAnnotation"),this.resetEndLocation(H),this.semicolon(),this.scope.declareName(X.id.name,2048,X.id.loc.start),this.finishNode(X,"DeclareFunction")}flowParseDeclare(X,H){if(this.match(80))return this.flowParseDeclareClass(X);else if(this.match(68))return this.flowParseDeclareFunction(X);else if(this.match(74))return this.flowParseDeclareVariable(X);else if(this.eatContextual(127))if(this.match(16))return this.flowParseDeclareModuleExports(X);else{if(H)this.raise(n.NestedDeclareModule,this.state.lastTokStartLoc);return this.flowParseDeclareModule(X)}else if(this.isContextual(130))return this.flowParseDeclareTypeAlias(X);else if(this.isContextual(131))return this.flowParseDeclareOpaqueType(X);else if(this.isContextual(129))return this.flowParseDeclareInterface(X);else if(this.match(82))return this.flowParseDeclareExportDeclaration(X,H);else this.unexpected()}flowParseDeclareVariable(X){return this.next(),X.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(X.id.name,5,X.id.loc.start),this.semicolon(),this.finishNode(X,"DeclareVariable")}flowParseDeclareModule(X){if(this.scope.enter(0),this.match(133))X.id=super.parseExprAtom();else X.id=this.parseIdentifier();let H=X.body=this.startNode(),V=H.body=[];this.expect(5);while(!this.match(8)){let Y=this.startNode();if(this.match(83)){if(this.next(),!this.isContextual(130)&&!this.match(87))this.raise(n.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc);super.parseImport(Y)}else this.expectContextual(125,n.UnsupportedStatementInDeclareModule),Y=this.flowParseDeclare(Y,!0);V.push(Y)}this.scope.exit(),this.expect(8),this.finishNode(H,"BlockStatement");let Z=null,Q=!1;return V.forEach((Y)=>{if($J1(Y)){if(Z==="CommonJS")this.raise(n.AmbiguousDeclareModuleKind,Y);Z="ES"}else if(Y.type==="DeclareModuleExports"){if(Q)this.raise(n.DuplicateDeclareModuleExports,Y);if(Z==="ES")this.raise(n.AmbiguousDeclareModuleKind,Y);Z="CommonJS",Q=!0}}),X.kind=Z||"CommonJS",this.finishNode(X,"DeclareModule")}flowParseDeclareExportDeclaration(X,H){if(this.expect(82),this.eat(65)){if(this.match(68)||this.match(80))X.declaration=this.flowParseDeclare(this.startNode());else X.declaration=this.flowParseType(),this.semicolon();return X.default=!0,this.finishNode(X,"DeclareExportDeclaration")}else{if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!H){let V=this.state.value;throw this.raise(n.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:V,suggestion:MJ1[V]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return X.declaration=this.flowParseDeclare(this.startNode()),X.default=!1,this.finishNode(X,"DeclareExportDeclaration");else if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)){if(X=this.parseExport(X,null),X.type==="ExportNamedDeclaration")X.type="ExportDeclaration",X.default=!1,delete X.exportKind;return X.type="Declare"+X.type,X}}this.unexpected()}flowParseDeclareModuleExports(X){return this.next(),this.expectContextual(111),X.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(X,"DeclareModuleExports")}flowParseDeclareTypeAlias(X){this.next();let H=this.flowParseTypeAlias(X);return H.type="DeclareTypeAlias",H}flowParseDeclareOpaqueType(X){this.next();let H=this.flowParseOpaqueType(X,!0);return H.type="DeclareOpaqueType",H}flowParseDeclareInterface(X){return this.next(),this.flowParseInterfaceish(X,!1),this.finishNode(X,"DeclareInterface")}flowParseInterfaceish(X,H){if(X.id=this.flowParseRestrictedIdentifier(!H,!0),this.scope.declareName(X.id.name,H?17:8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;if(X.extends=[],this.eat(81))do X.extends.push(this.flowParseInterfaceExtends());while(!H&&this.eat(12));if(H){if(X.implements=[],X.mixins=[],this.eatContextual(117))do X.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do X.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}X.body=this.flowParseObjectType({allowStatic:H,allowExact:!1,allowSpread:!1,allowProto:H,allowInexact:!1})}flowParseInterfaceExtends(){let X=this.startNode();if(X.id=this.flowParseQualifiedTypeIdentifier(),this.match(47))X.typeParameters=this.flowParseTypeParameterInstantiation();else X.typeParameters=null;return this.finishNode(X,"InterfaceExtends")}flowParseInterface(X){return this.flowParseInterfaceish(X,!1),this.finishNode(X,"InterfaceDeclaration")}checkNotUnderscore(X){if(X==="_")this.raise(n.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(X,H,V){if(!RJ1.has(X))return;this.raise(V?n.AssignReservedType:n.UnexpectedReservedType,H,{reservedType:X})}flowParseRestrictedIdentifier(X,H){return this.checkReservedType(this.state.value,this.state.startLoc,H),this.parseIdentifier(X)}flowParseTypeAlias(X){if(X.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(X.id.name,8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;return X.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(X,"TypeAlias")}flowParseOpaqueType(X,H){if(this.expectContextual(130),X.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(X.id.name,8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;if(X.supertype=null,this.match(14))X.supertype=this.flowParseTypeInitialiser(14);if(X.impltype=null,!H)X.impltype=this.flowParseTypeInitialiser(29);return this.semicolon(),this.finishNode(X,"OpaqueType")}flowParseTypeParameter(X=!1){let H=this.state.startLoc,V=this.startNode(),Z=this.flowParseVariance(),Q=this.flowParseTypeAnnotatableIdentifier();if(V.name=Q.name,V.variance=Z,V.bound=Q.typeAnnotation,this.match(29))this.eat(29),V.default=this.flowParseType();else if(X)this.raise(n.MissingTypeParamDefault,H);return this.finishNode(V,"TypeParameter")}flowParseTypeParameterDeclaration(){let X=this.state.inType,H=this.startNode();if(H.params=[],this.state.inType=!0,this.match(47)||this.match(142))this.next();else this.unexpected();let V=!1;do{let Z=this.flowParseTypeParameter(V);if(H.params.push(Z),Z.default)V=!0;if(!this.match(48))this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=X,this.finishNode(H,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let X=this.startNode(),H=this.state.inType;X.params=[],this.state.inType=!0,this.expect(47);let V=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!1;while(!this.match(48))if(X.params.push(this.flowParseType()),!this.match(48))this.expect(12);return this.state.noAnonFunctionType=V,this.expect(48),this.state.inType=H,this.finishNode(X,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let X=this.startNode(),H=this.state.inType;X.params=[],this.state.inType=!0,this.expect(47);while(!this.match(48))if(X.params.push(this.flowParseTypeOrImplicitInstantiation()),!this.match(48))this.expect(12);return this.expect(48),this.state.inType=H,this.finishNode(X,"TypeParameterInstantiation")}flowParseInterfaceType(){let X=this.startNode();if(this.expectContextual(129),X.extends=[],this.eat(81))do X.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return X.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(X,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(X,H,V){if(X.static=H,this.lookahead().type===14)X.id=this.flowParseObjectPropertyKey(),X.key=this.flowParseTypeInitialiser();else X.id=null,X.key=this.flowParseType();return this.expect(3),X.value=this.flowParseTypeInitialiser(),X.variance=V,this.finishNode(X,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(X,H){if(X.static=H,X.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10))X.method=!0,X.optional=!1,X.value=this.flowParseObjectTypeMethodish(this.startNodeAt(X.loc.start));else{if(X.method=!1,this.eat(17))X.optional=!0;X.value=this.flowParseTypeInitialiser()}return this.finishNode(X,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(X){if(X.params=[],X.rest=null,X.typeParameters=null,X.this=null,this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();if(this.expect(10),this.match(78)){if(X.this=this.flowParseFunctionTypeParam(!0),X.this.name=null,!this.match(11))this.expect(12)}while(!this.match(11)&&!this.match(21))if(X.params.push(this.flowParseFunctionTypeParam(!1)),!this.match(11))this.expect(12);if(this.eat(21))X.rest=this.flowParseFunctionTypeParam(!1);return this.expect(11),X.returnType=this.flowParseTypeInitialiser(),this.finishNode(X,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(X,H){let V=this.startNode();return X.static=H,X.value=this.flowParseObjectTypeMethodish(V),this.finishNode(X,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:X,allowExact:H,allowSpread:V,allowProto:Z,allowInexact:Q}){let Y=this.state.inType;this.state.inType=!0;let W=this.startNode();W.callProperties=[],W.properties=[],W.indexers=[],W.internalSlots=[];let z,U,F=!1;if(H&&this.match(6))this.expect(6),z=9,U=!0;else this.expect(5),z=8,U=!1;W.exact=U;while(!this.match(z)){let D=!1,I=null,_=null,f=this.startNode();if(Z&&this.isContextual(118)){let k=this.lookahead();if(k.type!==14&&k.type!==17)this.next(),I=this.state.startLoc,X=!1}if(X&&this.isContextual(106)){let k=this.lookahead();if(k.type!==14&&k.type!==17)this.next(),D=!0}let w=this.flowParseVariance();if(this.eat(0)){if(I!=null)this.unexpected(I);if(this.eat(0)){if(w)this.unexpected(w.loc.start);W.internalSlots.push(this.flowParseObjectTypeInternalSlot(f,D))}else W.indexers.push(this.flowParseObjectTypeIndexer(f,D,w))}else if(this.match(10)||this.match(47)){if(I!=null)this.unexpected(I);if(w)this.unexpected(w.loc.start);W.callProperties.push(this.flowParseObjectTypeCallProperty(f,D))}else{let k="init";if(this.isContextual(99)||this.isContextual(104)){let d=this.lookahead();if(gV(d.type))k=this.state.value,this.next()}let Q1=this.flowParseObjectTypeProperty(f,D,I,w,k,V,Q!=null?Q:!U);if(Q1===null)F=!0,_=this.state.lastTokStartLoc;else W.properties.push(Q1)}if(this.flowObjectTypeSemicolon(),_&&!this.match(8)&&!this.match(9))this.raise(n.UnexpectedExplicitInexactInObject,_)}if(this.expect(z),V)W.inexact=F;let A=this.finishNode(W,"ObjectTypeAnnotation");return this.state.inType=Y,A}flowParseObjectTypeProperty(X,H,V,Z,Q,Y,W){if(this.eat(21)){if(this.match(12)||this.match(13)||this.match(8)||this.match(9)){if(!Y)this.raise(n.InexactInsideNonObject,this.state.lastTokStartLoc);else if(!W)this.raise(n.InexactInsideExact,this.state.lastTokStartLoc);if(Z)this.raise(n.InexactVariance,Z);return null}if(!Y)this.raise(n.UnexpectedSpreadType,this.state.lastTokStartLoc);if(V!=null)this.unexpected(V);if(Z)this.raise(n.SpreadVariance,Z);return X.argument=this.flowParseType(),this.finishNode(X,"ObjectTypeSpreadProperty")}else{X.key=this.flowParseObjectPropertyKey(),X.static=H,X.proto=V!=null,X.kind=Q;let z=!1;if(this.match(47)||this.match(10)){if(X.method=!0,V!=null)this.unexpected(V);if(Z)this.unexpected(Z.loc.start);if(X.value=this.flowParseObjectTypeMethodish(this.startNodeAt(X.loc.start)),Q==="get"||Q==="set")this.flowCheckGetterSetterParams(X);if(!Y&&X.key.name==="constructor"&&X.value.this)this.raise(n.ThisParamBannedInConstructor,X.value.this)}else{if(Q!=="init")this.unexpected();if(X.method=!1,this.eat(17))z=!0;X.value=this.flowParseTypeInitialiser(),X.variance=Z}return X.optional=z,this.finishNode(X,"ObjectTypeProperty")}}flowCheckGetterSetterParams(X){let H=X.kind==="get"?0:1,V=X.value.params.length+(X.value.rest?1:0);if(X.value.this)this.raise(X.kind==="get"?n.GetterMayNotHaveThisParam:n.SetterMayNotHaveThisParam,X.value.this);if(V!==H)this.raise(X.kind==="get"?j.BadGetterArity:j.BadSetterArity,X);if(X.kind==="set"&&X.value.rest)this.raise(j.BadSetterRestParameter,X)}flowObjectTypeSemicolon(){if(!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9))this.unexpected()}flowParseQualifiedTypeIdentifier(X,H){var V;(V=X)!=null||(X=this.state.startLoc);let Z=H||this.flowParseRestrictedIdentifier(!0);while(this.eat(16)){let Q=this.startNodeAt(X);Q.qualification=Z,Q.id=this.flowParseRestrictedIdentifier(!0),Z=this.finishNode(Q,"QualifiedTypeIdentifier")}return Z}flowParseGenericType(X,H){let V=this.startNodeAt(X);if(V.typeParameters=null,V.id=this.flowParseQualifiedTypeIdentifier(X,H),this.match(47))V.typeParameters=this.flowParseTypeParameterInstantiation();return this.finishNode(V,"GenericTypeAnnotation")}flowParseTypeofType(){let X=this.startNode();return this.expect(87),X.argument=this.flowParsePrimaryType(),this.finishNode(X,"TypeofTypeAnnotation")}flowParseTupleType(){let X=this.startNode();X.types=[],this.expect(0);while(this.state.pos<this.length&&!this.match(3)){if(X.types.push(this.flowParseType()),this.match(3))break;this.expect(12)}return this.expect(3),this.finishNode(X,"TupleTypeAnnotation")}flowParseFunctionTypeParam(X){let H=null,V=!1,Z=null,Q=this.startNode(),Y=this.lookahead(),W=this.state.type===78;if(Y.type===14||Y.type===17){if(W&&!X)this.raise(n.ThisParamMustBeFirst,Q);if(H=this.parseIdentifier(W),this.eat(17)){if(V=!0,W)this.raise(n.ThisParamMayNotBeOptional,Q)}Z=this.flowParseTypeInitialiser()}else Z=this.flowParseType();return Q.name=H,Q.optional=V,Q.typeAnnotation=Z,this.finishNode(Q,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(X){let H=this.startNodeAt(X.loc.start);return H.name=null,H.optional=!1,H.typeAnnotation=X,this.finishNode(H,"FunctionTypeParam")}flowParseFunctionTypeParams(X=[]){let H=null,V=null;if(this.match(78)){if(V=this.flowParseFunctionTypeParam(!0),V.name=null,!this.match(11))this.expect(12)}while(!this.match(11)&&!this.match(21))if(X.push(this.flowParseFunctionTypeParam(!1)),!this.match(11))this.expect(12);if(this.eat(21))H=this.flowParseFunctionTypeParam(!1);return{params:X,rest:H,_this:V}}flowIdentToTypeAnnotation(X,H,V){switch(V.name){case"any":return this.finishNode(H,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(H,"BooleanTypeAnnotation");case"mixed":return this.finishNode(H,"MixedTypeAnnotation");case"empty":return this.finishNode(H,"EmptyTypeAnnotation");case"number":return this.finishNode(H,"NumberTypeAnnotation");case"string":return this.finishNode(H,"StringTypeAnnotation");case"symbol":return this.finishNode(H,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(V.name),this.flowParseGenericType(X,V)}}flowParsePrimaryType(){let X=this.state.startLoc,H=this.startNode(),V,Z,Q=!1,Y=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,Z=this.flowParseTupleType(),this.state.noAnonFunctionType=Y,Z;case 47:{let W=this.startNode();return W.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),V=this.flowParseFunctionTypeParams(),W.params=V.params,W.rest=V.rest,W.this=V._this,this.expect(11),this.expect(19),W.returnType=this.flowParseType(),this.finishNode(W,"FunctionTypeAnnotation")}case 10:{let W=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(j1(this.state.type)||this.match(78)){let z=this.lookahead().type;Q=z!==17&&z!==14}else Q=!0;if(Q)if(this.state.noAnonFunctionType=!1,Z=this.flowParseType(),this.state.noAnonFunctionType=Y,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),Z;else this.eat(12);if(Z)V=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(Z)]);else V=this.flowParseFunctionTypeParams();return W.params=V.params,W.rest=V.rest,W.this=V._this,this.expect(11),this.expect(19),W.returnType=this.flowParseType(),W.typeParameters=null,this.finishNode(W,"FunctionTypeAnnotation")}case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return H.value=this.match(85),this.next(),this.finishNode(H,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",H);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",H);throw this.raise(n.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(H,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(H,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(H,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(H,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(x8(this.state.type)){let W=l2(this.state.type);return this.next(),super.createIdentifier(H,W)}else if(j1(this.state.type)){if(this.isContextual(129))return this.flowParseInterfaceType();return this.flowIdentToTypeAnnotation(X,H,this.parseIdentifier())}}this.unexpected()}flowParsePostfixType(){let X=this.state.startLoc,H=this.flowParsePrimaryType(),V=!1;while((this.match(0)||this.match(18))&&!this.canInsertSemicolon()){let Z=this.startNodeAt(X),Q=this.eat(18);if(V=V||Q,this.expect(0),!Q&&this.match(3))Z.elementType=H,this.next(),H=this.finishNode(Z,"ArrayTypeAnnotation");else if(Z.objectType=H,Z.indexType=this.flowParseType(),this.expect(3),V)Z.optional=Q,H=this.finishNode(Z,"OptionalIndexedAccessType");else H=this.finishNode(Z,"IndexedAccessType")}return H}flowParsePrefixType(){let X=this.startNode();if(this.eat(17))return X.typeAnnotation=this.flowParsePrefixType(),this.finishNode(X,"NullableTypeAnnotation");else return this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let X=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let H=this.startNodeAt(X.loc.start);return H.params=[this.reinterpretTypeAsFunctionTypeParam(X)],H.rest=null,H.this=null,H.returnType=this.flowParseType(),H.typeParameters=null,this.finishNode(H,"FunctionTypeAnnotation")}return X}flowParseIntersectionType(){let X=this.startNode();this.eat(45);let H=this.flowParseAnonFunctionWithoutParens();X.types=[H];while(this.eat(45))X.types.push(this.flowParseAnonFunctionWithoutParens());return X.types.length===1?H:this.finishNode(X,"IntersectionTypeAnnotation")}flowParseUnionType(){let X=this.startNode();this.eat(43);let H=this.flowParseIntersectionType();X.types=[H];while(this.eat(43))X.types.push(this.flowParseIntersectionType());return X.types.length===1?H:this.finishNode(X,"UnionTypeAnnotation")}flowParseType(){let X=this.state.inType;this.state.inType=!0;let H=this.flowParseUnionType();return this.state.inType=X,H}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let X=this.state.startLoc,H=this.parseIdentifier();return this.flowParseGenericType(X,H)}else return this.flowParseType()}flowParseTypeAnnotation(){let X=this.startNode();return X.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(X,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(X){let H=X?this.parseIdentifier():this.flowParseRestrictedIdentifier();if(this.match(14))H.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(H);return H}typeCastToParameter(X){return X.expression.typeAnnotation=X.typeAnnotation,this.resetEndLocation(X.expression,X.typeAnnotation.loc.end),X.expression}flowParseVariance(){let X=null;if(this.match(53)){if(X=this.startNode(),this.state.value==="+")X.kind="plus";else X.kind="minus";return this.next(),this.finishNode(X,"Variance")}return X}parseFunctionBody(X,H,V=!1){if(H){this.forwardNoArrowParamsConversionAt(X,()=>super.parseFunctionBody(X,!0,V));return}super.parseFunctionBody(X,!1,V)}parseFunctionBodyAndFinish(X,H,V=!1){if(this.match(14)){let Z=this.startNode();[Z.typeAnnotation,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),X.returnType=Z.typeAnnotation?this.finishNode(Z,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(X,H,V)}parseStatementLike(X){if(this.state.strict&&this.isContextual(129)){let V=this.lookahead();if(U2(V.type)){let Z=this.startNode();return this.next(),this.flowParseInterface(Z)}}else if(this.plugins.get("flow").enums&&this.isContextual(126)){let V=this.startNode();return this.next(),this.flowParseEnumDeclaration(V)}let H=super.parseStatementLike(X);if(this.flowPragma===void 0&&!this.isValidDirective(H))this.flowPragma=null;return H}parseExpressionStatement(X,H,V){if(H.type==="Identifier"){if(H.name==="declare"){if(this.match(80)||j1(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(X)}else if(j1(this.state.type)){if(H.name==="interface")return this.flowParseInterface(X);else if(H.name==="type")return this.flowParseTypeAlias(X);else if(H.name==="opaque")return this.flowParseOpaqueType(X,!1)}}return super.parseExpressionStatement(X,H,V)}shouldParseExportDeclaration(){let{type:X}=this.state;if(IV(X)||this.plugins.get("flow").enums&&X===126)return!this.state.containsEsc;return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:X}=this.state;if(IV(X)||this.plugins.get("flow").enums&&X===126)return this.state.containsEsc;return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.plugins.get("flow").enums&&this.isContextual(126)){let X=this.startNode();return this.next(),this.flowParseEnumDeclaration(X)}return super.parseExportDefaultExpression()}parseConditional(X,H,V){if(!this.match(17))return X;if(this.state.maybeInArrowParameters){let A=this.lookaheadCharCode();if(A===44||A===61||A===58||A===41)return this.setOptionalParametersError(V),X}this.expect(17);let Z=this.state.clone(),Q=this.state.noArrowAt,Y=this.startNodeAt(H),{consequent:W,failed:z}=this.tryParseConditionalConsequent(),[U,F]=this.getArrowLikeExpressions(W);if(z||F.length>0){let A=[...Q];if(F.length>0){this.state=Z,this.state.noArrowAt=A;for(let D=0;D<F.length;D++)A.push(F[D].start);({consequent:W,failed:z}=this.tryParseConditionalConsequent()),[U,F]=this.getArrowLikeExpressions(W)}if(z&&U.length>1)this.raise(n.AmbiguousConditionalArrow,Z.startLoc);if(z&&U.length===1)this.state=Z,A.push(U[0].start),this.state.noArrowAt=A,{consequent:W,failed:z}=this.tryParseConditionalConsequent()}return this.getArrowLikeExpressions(W,!0),this.state.noArrowAt=Q,this.expect(14),Y.test=X,Y.consequent=W,Y.alternate=this.forwardNoArrowParamsConversionAt(Y,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(Y,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let X=this.parseMaybeAssignAllowIn(),H=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:X,failed:H}}getArrowLikeExpressions(X,H){let V=[X],Z=[];while(V.length!==0){let Q=V.pop();if(Q.type==="ArrowFunctionExpression"&&Q.body.type!=="BlockStatement"){if(Q.typeParameters||!Q.returnType)this.finishArrowValidation(Q);else Z.push(Q);V.push(Q.body)}else if(Q.type==="ConditionalExpression")V.push(Q.consequent),V.push(Q.alternate)}if(H)return Z.forEach((Q)=>this.finishArrowValidation(Q)),[Z,[]];return qJ1(Z,(Q)=>Q.params.every((Y)=>this.isAssignable(Y,!0)))}finishArrowValidation(X){var H;this.toAssignableList(X.params,(H=X.extra)==null?void 0:H.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(X,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(X,H){let V;if(this.state.noArrowParamsConversionAt.includes(X.start))this.state.noArrowParamsConversionAt.push(this.state.start),V=H(),this.state.noArrowParamsConversionAt.pop();else V=H();return V}parseParenItem(X,H){let V=super.parseParenItem(X,H);if(this.eat(17))V.optional=!0,this.resetEndLocation(X);if(this.match(14)){let Z=this.startNodeAt(H);return Z.expression=V,Z.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(Z,"TypeCastExpression")}return V}assertModuleNodeAllowed(X){if(X.type==="ImportDeclaration"&&(X.importKind==="type"||X.importKind==="typeof")||X.type==="ExportNamedDeclaration"&&X.exportKind==="type"||X.type==="ExportAllDeclaration"&&X.exportKind==="type")return;super.assertModuleNodeAllowed(X)}parseExportDeclaration(X){if(this.isContextual(130)){X.exportKind="type";let H=this.startNode();if(this.next(),this.match(5))return X.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(X),null;else return this.flowParseTypeAlias(H)}else if(this.isContextual(131)){X.exportKind="type";let H=this.startNode();return this.next(),this.flowParseOpaqueType(H,!1)}else if(this.isContextual(129)){X.exportKind="type";let H=this.startNode();return this.next(),this.flowParseInterface(H)}else if(this.plugins.get("flow").enums&&this.isContextual(126)){X.exportKind="value";let H=this.startNode();return this.next(),this.flowParseEnumDeclaration(H)}else return super.parseExportDeclaration(X)}eatExportStar(X){if(super.eatExportStar(X))return!0;if(this.isContextual(130)&&this.lookahead().type===55)return X.exportKind="type",this.next(),this.next(),!0;return!1}maybeParseExportNamespaceSpecifier(X){let{startLoc:H}=this.state,V=super.maybeParseExportNamespaceSpecifier(X);if(V&&X.exportKind==="type")this.unexpected(H);return V}parseClassId(X,H,V){if(super.parseClassId(X,H,V),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration()}parseClassMember(X,H,V){let{startLoc:Z}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(X,H))return;H.declare=!0}if(super.parseClassMember(X,H,V),H.declare){if(H.type!=="ClassProperty"&&H.type!=="ClassPrivateProperty"&&H.type!=="PropertyDefinition")this.raise(n.DeclareClassElement,Z);else if(H.value)this.raise(n.DeclareClassFieldInitializer,H.value)}}isIterator(X){return X==="iterator"||X==="asyncIterator"}readIterator(){let X=super.readWord1(),H="@@"+X;if(!this.isIterator(X)||!this.state.inType)this.raise(j.InvalidIdentifier,this.state.curPosition(),{identifierName:H});this.finishToken(132,H)}getTokenFromCode(X){let H=this.input.charCodeAt(this.state.pos+1);if(X===123&&H===124)this.finishOp(6,2);else if(this.state.inType&&(X===62||X===60))this.finishOp(X===62?48:47,1);else if(this.state.inType&&X===63)if(H===46)this.finishOp(18,2);else this.finishOp(17,1);else if(o81(X,H,this.input.charCodeAt(this.state.pos+2)))this.state.pos+=2,this.readIterator();else super.getTokenFromCode(X)}isAssignable(X,H){if(X.type==="TypeCastExpression")return this.isAssignable(X.expression,H);else return super.isAssignable(X,H)}toAssignable(X,H=!1){if(!H&&X.type==="AssignmentExpression"&&X.left.type==="TypeCastExpression")X.left=this.typeCastToParameter(X.left);super.toAssignable(X,H)}toAssignableList(X,H,V){for(let Z=0;Z<X.length;Z++){let Q=X[Z];if((Q==null?void 0:Q.type)==="TypeCastExpression")X[Z]=this.typeCastToParameter(Q)}super.toAssignableList(X,H,V)}toReferencedList(X,H){for(let Z=0;Z<X.length;Z++){var V;let Q=X[Z];if(Q&&Q.type==="TypeCastExpression"&&!((V=Q.extra)!=null&&V.parenthesized)&&(X.length>1||!H))this.raise(n.TypeCastInPattern,Q.typeAnnotation)}return X}parseArrayLike(X,H,V,Z){let Q=super.parseArrayLike(X,H,V,Z);if(H&&!this.state.maybeInArrowParameters)this.toReferencedList(Q.elements);return Q}isValidLVal(X,H,V){return X==="TypeCastExpression"||super.isValidLVal(X,H,V)}parseClassProperty(X){if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();return super.parseClassProperty(X)}parseClassPrivateProperty(X){if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();return super.parseClassPrivateProperty(X)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(X){return!this.match(14)&&super.isNonstaticConstructor(X)}pushClassMethod(X,H,V,Z,Q,Y){if(H.variance)this.unexpected(H.variance.loc.start);if(delete H.variance,this.match(47))H.typeParameters=this.flowParseTypeParameterDeclaration();if(super.pushClassMethod(X,H,V,Z,Q,Y),H.params&&Q){let W=H.params;if(W.length>0&&this.isThisParam(W[0]))this.raise(n.ThisParamBannedInConstructor,H)}else if(H.type==="MethodDefinition"&&Q&&H.value.params){let W=H.value.params;if(W.length>0&&this.isThisParam(W[0]))this.raise(n.ThisParamBannedInConstructor,H)}}pushClassPrivateMethod(X,H,V,Z){if(H.variance)this.unexpected(H.variance.loc.start);if(delete H.variance,this.match(47))H.typeParameters=this.flowParseTypeParameterDeclaration();super.pushClassPrivateMethod(X,H,V,Z)}parseClassSuper(X){if(super.parseClassSuper(X),X.superClass&&this.match(47))X.superTypeParameters=this.flowParseTypeParameterInstantiation();if(this.isContextual(113)){this.next();let H=X.implements=[];do{let V=this.startNode();if(V.id=this.flowParseRestrictedIdentifier(!0),this.match(47))V.typeParameters=this.flowParseTypeParameterInstantiation();else V.typeParameters=null;H.push(this.finishNode(V,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(X){super.checkGetterSetterParams(X);let H=this.getObjectOrClassMethodParams(X);if(H.length>0){let V=H[0];if(this.isThisParam(V)&&X.kind==="get")this.raise(n.GetterMayNotHaveThisParam,V);else if(this.isThisParam(V))this.raise(n.SetterMayNotHaveThisParam,V)}}parsePropertyNamePrefixOperator(X){X.variance=this.flowParseVariance()}parseObjPropValue(X,H,V,Z,Q,Y,W){if(X.variance)this.unexpected(X.variance.loc.start);delete X.variance;let z;if(this.match(47)&&!Y){if(z=this.flowParseTypeParameterDeclaration(),!this.match(10))this.unexpected()}let U=super.parseObjPropValue(X,H,V,Z,Q,Y,W);if(z)(U.value||U).typeParameters=z;return U}parseFunctionParamType(X){if(this.eat(17)){if(X.type!=="Identifier")this.raise(n.PatternIsOptional,X);if(this.isThisParam(X))this.raise(n.ThisParamMayNotBeOptional,X);X.optional=!0}if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();else if(this.isThisParam(X))this.raise(n.ThisParamAnnotationRequired,X);if(this.match(29)&&this.isThisParam(X))this.raise(n.ThisParamNoDefault,X);return this.resetEndLocation(X),X}parseMaybeDefault(X,H){let V=super.parseMaybeDefault(X,H);if(V.type==="AssignmentPattern"&&V.typeAnnotation&&V.right.start<V.typeAnnotation.start)this.raise(n.TypeBeforeInitializer,V.typeAnnotation);return V}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(n.ImportReflectionHasImportType,X.specifiers[0].loc.start)}parseImportSpecifierLocal(X,H,V){H.local=TV(X)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),X.specifiers.push(this.finishImportSpecifier(H,V))}isPotentialImportPhase(X){if(super.isPotentialImportPhase(X))return!0;if(this.isContextual(130)){if(!X)return!0;let H=this.lookaheadCharCode();return H===123||H===42}return!X&&this.isContextual(87)}applyImportPhase(X,H,V,Z){if(super.applyImportPhase(X,H,V,Z),H){if(!V&&this.match(65))return;X.exportKind=V==="type"?V:"value"}else{if(V==="type"&&this.match(55))this.unexpected();X.importKind=V==="type"||V==="typeof"?V:"value"}}parseImportSpecifier(X,H,V,Z,Q){let Y=X.imported,W=null;if(Y.type==="Identifier"){if(Y.name==="type")W="type";else if(Y.name==="typeof")W="typeof"}let z=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let F=this.parseIdentifier(!0);if(W!==null&&!U2(this.state.type))X.imported=F,X.importKind=W,X.local=E2(F);else X.imported=Y,X.importKind=null,X.local=this.parseIdentifier()}else{if(W!==null&&U2(this.state.type))X.imported=this.parseIdentifier(!0),X.importKind=W;else{if(H)throw this.raise(j.ImportBindingIsString,X,{importName:Y.value});X.imported=Y,X.importKind=null}if(this.eatContextual(93))X.local=this.parseIdentifier();else z=!0,X.local=E2(X.imported)}let U=TV(X);if(V&&U)this.raise(n.ImportTypeShorthandOnlyInPureImport,X);if(V||U)this.checkReservedType(X.local.name,X.local.loc.start,!0);if(z&&!V&&!U)this.checkReservedWord(X.local.name,X.loc.start,!0,!0);return this.finishImportSpecifier(X,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(X,H){let V=X.kind;if(V!=="get"&&V!=="set"&&this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();super.parseFunctionParams(X,H)}parseVarId(X,H){if(super.parseVarId(X,H),this.match(14))X.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(X.id)}parseAsyncArrowFromCallExpression(X,H){if(this.match(14)){let V=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,X.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=V}return super.parseAsyncArrowFromCallExpression(X,H)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(X,H){var V;let Z=null,Q;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(Z=this.state.clone(),Q=this.tryParse(()=>super.parseMaybeAssign(X,H),Z),!Q.error)return Q.node;let{context:z}=this.state,U=z[z.length-1];if(U===O1.j_oTag||U===O1.j_expr)z.pop()}if((V=Q)!=null&&V.error||this.match(47)){var Y,W;Z=Z||this.state.clone();let z,U=this.tryParse((A)=>{var D;z=this.flowParseTypeParameterDeclaration();let I=this.forwardNoArrowParamsConversionAt(z,()=>{let f=super.parseMaybeAssign(X,H);return this.resetStartLocationFromNode(f,z),f});if((D=I.extra)!=null&&D.parenthesized)A();let _=this.maybeUnwrapTypeCastExpression(I);if(_.type!=="ArrowFunctionExpression")A();return _.typeParameters=z,this.resetStartLocationFromNode(_,z),I},Z),F=null;if(U.node&&this.maybeUnwrapTypeCastExpression(U.node).type==="ArrowFunctionExpression"){if(!U.error&&!U.aborted){if(U.node.async)this.raise(n.UnexpectedTypeParameterBeforeAsyncArrowFunction,z);return U.node}F=U.node}if((Y=Q)!=null&&Y.node)return this.state=Q.failState,Q.node;if(F)return this.state=U.failState,F;if((W=Q)!=null&&W.thrown)throw Q.error;if(U.thrown)throw U.error;throw this.raise(n.UnexpectedTokenAfterTypeParameter,z)}return super.parseMaybeAssign(X,H)}parseArrow(X){if(this.match(14)){let H=this.tryParse(()=>{let V=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let Z=this.startNode();if([Z.typeAnnotation,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=V,this.canInsertSemicolon())this.unexpected();if(!this.match(19))this.unexpected();return Z});if(H.thrown)return null;if(H.error)this.state=H.failState;X.returnType=H.node.typeAnnotation?this.finishNode(H.node,"TypeAnnotation"):null}return super.parseArrow(X)}shouldParseArrow(X){return this.match(14)||super.shouldParseArrow(X)}setArrowFunctionParameters(X,H){if(this.state.noArrowParamsConversionAt.includes(X.start))X.params=H;else super.setArrowFunctionParameters(X,H)}checkParams(X,H,V,Z=!0){if(V&&this.state.noArrowParamsConversionAt.includes(X.start))return;for(let Q=0;Q<X.params.length;Q++)if(this.isThisParam(X.params[Q])&&Q>0)this.raise(n.ThisParamMustBeFirst,X.params[Q]);super.checkParams(X,H,V,Z)}parseParenAndDistinguishExpression(X){return super.parseParenAndDistinguishExpression(X&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(X,H,V){if(X.type==="Identifier"&&X.name==="async"&&this.state.noArrowAt.includes(H.index)){this.next();let Z=this.startNodeAt(H);Z.callee=X,Z.arguments=super.parseCallExpressionArguments(11,!1),X=this.finishNode(Z,"CallExpression")}else if(X.type==="Identifier"&&X.name==="async"&&this.match(47)){let Z=this.state.clone(),Q=this.tryParse((W)=>this.parseAsyncArrowWithTypeParameters(H)||W(),Z);if(!Q.error&&!Q.aborted)return Q.node;let Y=this.tryParse(()=>super.parseSubscripts(X,H,V),Z);if(Y.node&&!Y.error)return Y.node;if(Q.node)return this.state=Q.failState,Q.node;if(Y.node)return this.state=Y.failState,Y.node;throw Q.error||Y.error}return super.parseSubscripts(X,H,V)}parseSubscript(X,H,V,Z){if(this.match(18)&&this.isLookaheadToken_lt()){if(Z.optionalChainMember=!0,V)return Z.stop=!0,X;this.next();let Q=this.startNodeAt(H);return Q.callee=X,Q.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),Q.arguments=this.parseCallExpressionArguments(11,!1),Q.optional=!0,this.finishCallExpression(Q,!0)}else if(!V&&this.shouldParseTypes()&&this.match(47)){let Q=this.startNodeAt(H);Q.callee=X;let Y=this.tryParse(()=>{if(Q.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),Q.arguments=super.parseCallExpressionArguments(11,!1),Z.optionalChainMember)Q.optional=!1;return this.finishCallExpression(Q,Z.optionalChainMember)});if(Y.node){if(Y.error)this.state=Y.failState;return Y.node}}return super.parseSubscript(X,H,V,Z)}parseNewCallee(X){super.parseNewCallee(X);let H=null;if(this.shouldParseTypes()&&this.match(47))H=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node;X.typeArguments=H}parseAsyncArrowWithTypeParameters(X){let H=this.startNodeAt(X);if(this.parseFunctionParams(H,!1),!this.parseArrow(H))return;return super.parseArrowExpression(H,void 0,!0)}readToken_mult_modulo(X){let H=this.input.charCodeAt(this.state.pos+1);if(X===42&&H===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(X)}readToken_pipe_amp(X){let H=this.input.charCodeAt(this.state.pos+1);if(X===124&&H===125){this.finishOp(9,2);return}super.readToken_pipe_amp(X)}parseTopLevel(X,H){let V=super.parseTopLevel(X,H);if(this.state.hasFlowComment)this.raise(n.UnterminatedFlowComment,this.state.curPosition());return V}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(n.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let X=this.skipFlowComment();if(X)this.state.pos+=X,this.state.hasFlowComment=!0;return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:X}=this.state,H=2;while([32,9].includes(this.input.charCodeAt(X+H)))H++;let V=this.input.charCodeAt(H+X),Z=this.input.charCodeAt(H+X+1);if(V===58&&Z===58)return H+2;if(this.input.slice(H+X,H+X+12)==="flow-include")return H+12;if(V===58&&Z!==58)return H;return!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(j.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(X,{enumName:H,memberName:V}){this.raise(n.EnumBooleanMemberNotInitialized,X,{memberName:V,enumName:H})}flowEnumErrorInvalidMemberInitializer(X,H){return this.raise(!H.explicitType?n.EnumInvalidMemberInitializerUnknownType:H.explicitType==="symbol"?n.EnumInvalidMemberInitializerSymbolType:n.EnumInvalidMemberInitializerPrimaryType,X,H)}flowEnumErrorNumberMemberNotInitialized(X,H){this.raise(n.EnumNumberMemberNotInitialized,X,H)}flowEnumErrorStringMemberInconsistentlyInitialized(X,H){this.raise(n.EnumStringMemberInconsistentlyInitialized,X,H)}flowEnumMemberInit(){let X=this.state.startLoc,H=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{let V=this.parseNumericLiteral(this.state.value);if(H())return{type:"number",loc:V.loc.start,value:V};return{type:"invalid",loc:X}}case 133:{let V=this.parseStringLiteral(this.state.value);if(H())return{type:"string",loc:V.loc.start,value:V};return{type:"invalid",loc:X}}case 85:case 86:{let V=this.parseBooleanLiteral(this.match(85));if(H())return{type:"boolean",loc:V.loc.start,value:V};return{type:"invalid",loc:X}}default:return{type:"invalid",loc:X}}}flowEnumMemberRaw(){let X=this.state.startLoc,H=this.parseIdentifier(!0),V=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:X};return{id:H,init:V}}flowEnumCheckExplicitTypeMismatch(X,H,V){let{explicitType:Z}=H;if(Z===null)return;if(Z!==V)this.flowEnumErrorInvalidMemberInitializer(X,H)}flowEnumMembers({enumName:X,explicitType:H}){let V=new Set,Z={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},Q=!1;while(!this.match(8)){if(this.eat(21)){Q=!0;break}let Y=this.startNode(),{id:W,init:z}=this.flowEnumMemberRaw(),U=W.name;if(U==="")continue;if(/^[a-z]/.test(U))this.raise(n.EnumInvalidMemberName,W,{memberName:U,suggestion:U[0].toUpperCase()+U.slice(1),enumName:X});if(V.has(U))this.raise(n.EnumDuplicateMemberName,W,{memberName:U,enumName:X});V.add(U);let F={enumName:X,explicitType:H,memberName:U};switch(Y.id=W,z.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(z.loc,F,"boolean"),Y.init=z.value,Z.booleanMembers.push(this.finishNode(Y,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(z.loc,F,"number"),Y.init=z.value,Z.numberMembers.push(this.finishNode(Y,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(z.loc,F,"string"),Y.init=z.value,Z.stringMembers.push(this.finishNode(Y,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(z.loc,F);case"none":switch(H){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(z.loc,F);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(z.loc,F);break;default:Z.defaultedMembers.push(this.finishNode(Y,"EnumDefaultedMember"))}}if(!this.match(8))this.expect(12)}return{members:Z,hasUnknownMembers:Q}}flowEnumStringMembers(X,H,{enumName:V}){if(X.length===0)return H;else if(H.length===0)return X;else if(H.length>X.length){for(let Z of X)this.flowEnumErrorStringMemberInconsistentlyInitialized(Z,{enumName:V});return H}else{for(let Z of H)this.flowEnumErrorStringMemberInconsistentlyInitialized(Z,{enumName:V});return X}}flowEnumParseExplicitType({enumName:X}){if(!this.eatContextual(102))return null;if(!j1(this.state.type))throw this.raise(n.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:X});let{value:H}=this.state;if(this.next(),H!=="boolean"&&H!=="number"&&H!=="string"&&H!=="symbol")this.raise(n.EnumInvalidExplicitType,this.state.startLoc,{enumName:X,invalidEnumType:H});return H}flowEnumBody(X,H){let V=H.name,Z=H.loc.start,Q=this.flowEnumParseExplicitType({enumName:V});this.expect(5);let{members:Y,hasUnknownMembers:W}=this.flowEnumMembers({enumName:V,explicitType:Q});switch(X.hasUnknownMembers=W,Q){case"boolean":return X.explicitType=!0,X.members=Y.booleanMembers,this.expect(8),this.finishNode(X,"EnumBooleanBody");case"number":return X.explicitType=!0,X.members=Y.numberMembers,this.expect(8),this.finishNode(X,"EnumNumberBody");case"string":return X.explicitType=!0,X.members=this.flowEnumStringMembers(Y.stringMembers,Y.defaultedMembers,{enumName:V}),this.expect(8),this.finishNode(X,"EnumStringBody");case"symbol":return X.members=Y.defaultedMembers,this.expect(8),this.finishNode(X,"EnumSymbolBody");default:{let z=()=>{return X.members=[],this.expect(8),this.finishNode(X,"EnumStringBody")};X.explicitType=!1;let U=Y.booleanMembers.length,F=Y.numberMembers.length,A=Y.stringMembers.length,D=Y.defaultedMembers.length;if(!U&&!F&&!A&&!D)return z();else if(!U&&!F)return X.members=this.flowEnumStringMembers(Y.stringMembers,Y.defaultedMembers,{enumName:V}),this.expect(8),this.finishNode(X,"EnumStringBody");else if(!F&&!A&&U>=D){for(let I of Y.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(I.loc.start,{enumName:V,memberName:I.id.name});return X.members=Y.booleanMembers,this.expect(8),this.finishNode(X,"EnumBooleanBody")}else if(!U&&!A&&F>=D){for(let I of Y.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(I.loc.start,{enumName:V,memberName:I.id.name});return X.members=Y.numberMembers,this.expect(8),this.finishNode(X,"EnumNumberBody")}else return this.raise(n.EnumInconsistentMemberValues,Z,{enumName:V}),z()}}}flowParseEnumDeclaration(X){let H=this.parseIdentifier();return X.id=H,X.body=this.flowEnumBody(this.startNode(),H),this.finishNode(X,"EnumDeclaration")}isLookaheadToken_lt(){let X=this.nextTokenStart();if(this.input.charCodeAt(X)===60){let H=this.input.charCodeAt(X+1);return H!==60&&H!==61}return!1}maybeUnwrapTypeCastExpression(X){return X.type==="TypeCastExpression"?X.expression:X}},OJ1={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},J0=k2`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:J})=>`Expected corresponding JSX closing tag for <${J}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:J,HTMLEntity:G})=>`Unexpected token \`${J}\`. Did you mean \`${G}\` or \`{'${J}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function c2(J){return J?J.type==="JSXOpeningFragment"||J.type==="JSXClosingFragment":!1}function C0(J){if(J.type==="JSXIdentifier")return J.name;if(J.type==="JSXNamespacedName")return J.namespace.name+":"+J.name.name;if(J.type==="JSXMemberExpression")return C0(J.object)+"."+C0(J.property);throw new Error("Node had unexpected type: "+J.type)}var AJ1=(J)=>class G extends J{jsxReadToken(){let X="",H=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(J0.UnterminatedJsxContent,this.state.startLoc);let V=this.input.charCodeAt(this.state.pos);switch(V){case 60:case 123:if(this.state.pos===this.state.start){if(V===60&&this.state.canStartJSXElement)++this.state.pos,this.finishToken(142);else super.getTokenFromCode(V);return}X+=this.input.slice(H,this.state.pos),this.finishToken(141,X);return;case 38:X+=this.input.slice(H,this.state.pos),X+=this.jsxReadEntity(),H=this.state.pos;break;case 62:case 125:default:if(S0(V))X+=this.input.slice(H,this.state.pos),X+=this.jsxReadNewLine(!0),H=this.state.pos;else++this.state.pos}}}jsxReadNewLine(X){let H=this.input.charCodeAt(this.state.pos),V;if(++this.state.pos,H===13&&this.input.charCodeAt(this.state.pos)===10)++this.state.pos,V=X?"\n":"\r\n";else V=String.fromCharCode(H);return++this.state.curLine,this.state.lineStart=this.state.pos,V}jsxReadString(X){let H="",V=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(j.UnterminatedString,this.state.startLoc);let Z=this.input.charCodeAt(this.state.pos);if(Z===X)break;if(Z===38)H+=this.input.slice(V,this.state.pos),H+=this.jsxReadEntity(),V=this.state.pos;else if(S0(Z))H+=this.input.slice(V,this.state.pos),H+=this.jsxReadNewLine(!1),V=this.state.pos;else++this.state.pos}H+=this.input.slice(V,this.state.pos++),this.finishToken(133,H)}jsxReadEntity(){let X=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let H=10;if(this.codePointAtPos(this.state.pos)===120)H=16,++this.state.pos;let V=this.readInt(H,void 0,!1,"bail");if(V!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(V)}else{let H=0,V=!1;while(H++<10&&this.state.pos<this.length&&!(V=this.codePointAtPos(this.state.pos)===59))++this.state.pos;if(V){let Z=this.input.slice(X,this.state.pos),Q=OJ1[Z];if(++this.state.pos,Q)return Q}}return this.state.pos=X,"&"}jsxReadWord(){let X,H=this.state.pos;do X=this.input.charCodeAt(++this.state.pos);while(D0(X)||X===45);this.finishToken(140,this.input.slice(H,this.state.pos))}jsxParseIdentifier(){let X=this.startNode();if(this.match(140))X.name=this.state.value;else if(x8(this.state.type))X.name=l2(this.state.type);else this.unexpected();return this.next(),this.finishNode(X,"JSXIdentifier")}jsxParseNamespacedName(){let X=this.state.startLoc,H=this.jsxParseIdentifier();if(!this.eat(14))return H;let V=this.startNodeAt(X);return V.namespace=H,V.name=this.jsxParseIdentifier(),this.finishNode(V,"JSXNamespacedName")}jsxParseElementName(){let X=this.state.startLoc,H=this.jsxParseNamespacedName();if(H.type==="JSXNamespacedName")return H;while(this.eat(16)){let V=this.startNodeAt(X);V.object=H,V.property=this.jsxParseIdentifier(),H=this.finishNode(V,"JSXMemberExpression")}return H}jsxParseAttributeValue(){let X;switch(this.state.type){case 5:if(X=this.startNode(),this.setContext(O1.brace),this.next(),X=this.jsxParseExpressionContainer(X,O1.j_oTag),X.expression.type==="JSXEmptyExpression")this.raise(J0.AttributeIsEmpty,X);return X;case 142:case 133:return this.parseExprAtom();default:throw this.raise(J0.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let X=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(X,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(X){return this.next(),X.expression=this.parseExpression(),this.setContext(O1.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadChild")}jsxParseExpressionContainer(X,H){if(this.match(8))X.expression=this.jsxParseEmptyExpression();else{let V=this.parseExpression();X.expression=V}return this.setContext(H),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXExpressionContainer")}jsxParseAttribute(){let X=this.startNode();if(this.match(5))return this.setContext(O1.brace),this.next(),this.expect(21),X.argument=this.parseMaybeAssignAllowIn(),this.setContext(O1.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadAttribute");return X.name=this.jsxParseNamespacedName(),X.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(X,"JSXAttribute")}jsxParseOpeningElementAt(X){let H=this.startNodeAt(X);if(this.eat(143))return this.finishNode(H,"JSXOpeningFragment");return H.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(H)}jsxParseOpeningElementAfterName(X){let H=[];while(!this.match(56)&&!this.match(143))H.push(this.jsxParseAttribute());return X.attributes=H,X.selfClosing=this.eat(56),this.expect(143),this.finishNode(X,"JSXOpeningElement")}jsxParseClosingElementAt(X){let H=this.startNodeAt(X);if(this.eat(143))return this.finishNode(H,"JSXClosingFragment");return H.name=this.jsxParseElementName(),this.expect(143),this.finishNode(H,"JSXClosingElement")}jsxParseElementAt(X){let H=this.startNodeAt(X),V=[],Z=this.jsxParseOpeningElementAt(X),Q=null;if(!Z.selfClosing){J:for(;;)switch(this.state.type){case 142:if(X=this.state.startLoc,this.next(),this.eat(56)){Q=this.jsxParseClosingElementAt(X);break J}V.push(this.jsxParseElementAt(X));break;case 141:V.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let Y=this.startNode();if(this.setContext(O1.brace),this.next(),this.match(21))V.push(this.jsxParseSpreadChild(Y));else V.push(this.jsxParseExpressionContainer(Y,O1.j_expr));break}default:this.unexpected()}if(c2(Z)&&!c2(Q)&&Q!==null)this.raise(J0.MissingClosingTagFragment,Q);else if(!c2(Z)&&c2(Q))this.raise(J0.MissingClosingTagElement,Q,{openingTagName:C0(Z.name)});else if(!c2(Z)&&!c2(Q)){if(C0(Q.name)!==C0(Z.name))this.raise(J0.MissingClosingTagElement,Q,{openingTagName:C0(Z.name)})}}if(c2(Z))H.openingFragment=Z,H.closingFragment=Q;else H.openingElement=Z,H.closingElement=Q;if(H.children=V,this.match(47))throw this.raise(J0.UnwrappedAdjacentJSXElements,this.state.startLoc);return c2(Z)?this.finishNode(H,"JSXFragment"):this.finishNode(H,"JSXElement")}jsxParseElement(){let X=this.state.startLoc;return this.next(),this.jsxParseElementAt(X)}setContext(X){let{context:H}=this.state;H[H.length-1]=X}parseExprAtom(X){if(this.match(142))return this.jsxParseElement();else if(this.match(47)&&this.input.charCodeAt(this.state.pos)!==33)return this.replaceToken(142),this.jsxParseElement();else return super.parseExprAtom(X)}skipSpace(){if(!this.curContext().preserveSpace)super.skipSpace()}getTokenFromCode(X){let H=this.curContext();if(H===O1.j_expr){this.jsxReadToken();return}if(H===O1.j_oTag||H===O1.j_cTag){if(L2(X)){this.jsxReadWord();return}if(X===62){++this.state.pos,this.finishToken(143);return}if((X===34||X===39)&&H===O1.j_oTag){this.jsxReadString(X);return}}if(X===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(142);return}super.getTokenFromCode(X)}updateContext(X){let{context:H,type:V}=this.state;if(V===56&&X===142)H.splice(-2,2,O1.j_cTag),this.state.canStartJSXElement=!1;else if(V===142)H.push(O1.j_oTag);else if(V===143){let Z=H[H.length-1];if(Z===O1.j_oTag&&X===56||Z===O1.j_cTag)H.pop(),this.state.canStartJSXElement=H[H.length-1]===O1.j_expr;else this.setContext(O1.j_expr),this.state.canStartJSXElement=!0}else this.state.canStartJSXElement=_81(V)}};class HZ extends $9{constructor(...J){super(...J);this.tsNames=new Map}}class VZ extends M9{constructor(...J){super(...J);this.importsStack=[]}createScope(J){return this.importsStack.push(new Set),new HZ(J)}enter(J){if(J===256)this.importsStack.push(new Set);super.enter(J)}exit(){let J=super.exit();if(J===256)this.importsStack.pop();return J}hasImport(J,G){let X=this.importsStack.length;if(this.importsStack[X-1].has(J))return!0;if(!G&&X>1){for(let H=0;H<X-1;H++)if(this.importsStack[H].has(J))return!0}return!1}declareName(J,G,X){if(G&4096){if(this.hasImport(J,!0))this.parser.raise(j.VarRedeclaration,X,{identifierName:J});this.importsStack[this.importsStack.length-1].add(J);return}let H=this.currentScope(),V=H.tsNames.get(J)||0;if(G&1024){this.maybeExportDefined(H,J),H.tsNames.set(J,V|16);return}if(super.declareName(J,G,X),G&2){if(!(G&1))this.checkRedeclarationInScope(H,J,G,X),this.maybeExportDefined(H,J);V=V|1}if(G&256)V=V|2;if(G&512)V=V|4;if(G&128)V=V|8;if(V)H.tsNames.set(J,V)}isRedeclaredInScope(J,G,X){let H=J.tsNames.get(G);if((H&2)>0){if(X&256){let V=!!(X&512),Z=(H&4)>0;return V!==Z}return!0}if(X&128&&(H&8)>0)if(J.names.get(G)&2)return!!(X&1);else return!1;if(X&2&&(H&1)>0)return!0;return super.isRedeclaredInScope(J,G,X)}checkLocalExport(J){let{name:G}=J;if(this.hasImport(G))return;let X=this.scopeStack.length;for(let H=X-1;H>=0;H--){let Z=this.scopeStack[H].tsNames.get(G);if((Z&1)>0||(Z&16)>0)return}super.checkLocalExport(J)}}var ZZ=(J)=>{return J.type==="ParenthesizedExpression"?ZZ(J.expression):J};class QZ extends XZ{toAssignable(J,G=!1){var X,H;let V=void 0;if(J.type==="ParenthesizedExpression"||(X=J.extra)!=null&&X.parenthesized)if(V=ZZ(J),G){if(V.type==="Identifier")this.expressionScope.recordArrowParameterBindingError(j.InvalidParenthesizedAssignment,J);else if(V.type!=="MemberExpression"&&!this.isOptionalMemberExpression(V))this.raise(j.InvalidParenthesizedAssignment,J)}else this.raise(j.InvalidParenthesizedAssignment,J);switch(J.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":J.type="ObjectPattern";for(let Q=0,Y=J.properties.length,W=Y-1;Q<Y;Q++){var Z;let z=J.properties[Q],U=Q===W;if(this.toAssignableObjectExpressionProp(z,U,G),U&&z.type==="RestElement"&&(Z=J.extra)!=null&&Z.trailingCommaLoc)this.raise(j.RestTrailingComma,J.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:Q,value:Y}=J;if(this.isPrivateName(Q))this.classScope.usePrivateName(this.getPrivateNameSV(Q),Q.loc.start);this.toAssignable(Y,G);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":J.type="ArrayPattern",this.toAssignableList(J.elements,(H=J.extra)==null?void 0:H.trailingCommaLoc,G);break;case"AssignmentExpression":if(J.operator!=="=")this.raise(j.MissingEqInAssignment,J.left.loc.end);J.type="AssignmentPattern",delete J.operator,this.toAssignable(J.left,G);break;case"ParenthesizedExpression":this.toAssignable(V,G);break}}toAssignableObjectExpressionProp(J,G,X){if(J.type==="ObjectMethod")this.raise(J.kind==="get"||J.kind==="set"?j.PatternHasAccessor:j.PatternHasMethod,J.key);else if(J.type==="SpreadElement"){J.type="RestElement";let H=J.argument;if(this.checkToRestConversion(H,!1),this.toAssignable(H,X),!G)this.raise(j.RestTrailingComma,J)}else this.toAssignable(J,X)}toAssignableList(J,G,X){let H=J.length-1;for(let V=0;V<=H;V++){let Z=J[V];if(!Z)continue;if(Z.type==="SpreadElement"){Z.type="RestElement";let Q=Z.argument;this.checkToRestConversion(Q,!0),this.toAssignable(Q,X)}else this.toAssignable(Z,X);if(Z.type==="RestElement"){if(V<H)this.raise(j.RestTrailingComma,Z);else if(G)this.raise(j.RestTrailingComma,G)}}}isAssignable(J,G){switch(J.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let X=J.properties.length-1;return J.properties.every((H,V)=>{return H.type!=="ObjectMethod"&&(V===X||H.type!=="SpreadElement")&&this.isAssignable(H)})}case"ObjectProperty":return this.isAssignable(J.value);case"SpreadElement":return this.isAssignable(J.argument);case"ArrayExpression":return J.elements.every((X)=>X===null||this.isAssignable(X));case"AssignmentExpression":return J.operator==="=";case"ParenthesizedExpression":return this.isAssignable(J.expression);case"MemberExpression":case"OptionalMemberExpression":return!G;default:return!1}}toReferencedList(J,G){return J}toReferencedListDeep(J,G){this.toReferencedList(J,G);for(let X of J)if((X==null?void 0:X.type)==="ArrayExpression")this.toReferencedListDeep(X.elements)}parseSpread(J){let G=this.startNode();return this.next(),G.argument=this.parseMaybeAssignAllowIn(J,void 0),this.finishNode(G,"SpreadElement")}parseRestBinding(){let J=this.startNode();return this.next(),J.argument=this.parseBindingAtom(),this.finishNode(J,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let J=this.startNode();return this.next(),J.elements=this.parseBindingList(3,93,1),this.finishNode(J,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(J,G,X){let H=X&1,V=[],Z=!0;while(!this.eat(J)){if(Z)Z=!1;else this.expect(12);if(H&&this.match(12))V.push(null);else if(this.eat(J))break;else if(this.match(21)){let Q=this.parseRestBinding();if(this.hasPlugin("flow")||X&2)Q=this.parseFunctionParamType(Q);if(V.push(Q),!this.checkCommaAfterRest(G)){this.expect(J);break}}else{let Q=[];if(this.match(26)&&this.hasPlugin("decorators"))this.raise(j.UnsupportedParameterDecorator,this.state.startLoc);while(this.match(26))Q.push(this.parseDecorator());V.push(this.parseAssignableListItem(X,Q))}}return V}parseBindingRestProperty(J){return this.next(),J.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(J,"RestElement")}parseBindingProperty(){let{type:J,startLoc:G}=this.state;if(J===21)return this.parseBindingRestProperty(this.startNode());let X=this.startNode();if(J===138)this.expectPlugin("destructuringPrivate",G),this.classScope.usePrivateName(this.state.value,G),X.key=this.parsePrivateName();else this.parsePropertyName(X);return X.method=!1,this.parseObjPropValue(X,G,!1,!1,!0,!1)}parseAssignableListItem(J,G){let X=this.parseMaybeDefault();if(this.hasPlugin("flow")||J&2)this.parseFunctionParamType(X);let H=this.parseMaybeDefault(X.loc.start,X);if(G.length)X.decorators=G;return H}parseFunctionParamType(J){return J}parseMaybeDefault(J,G){var X,H;if((X=J)!=null||(J=this.state.startLoc),G=(H=G)!=null?H:this.parseBindingAtom(),!this.eat(29))return G;let V=this.startNodeAt(J);return V.left=G,V.right=this.parseMaybeAssignAllowIn(),this.finishNode(V,"AssignmentPattern")}isValidLVal(J,G,X){switch(J){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(J){return J.type==="OptionalMemberExpression"}checkLVal(J,G,X=64,H=!1,V=!1,Z=!1){var Q;let Y=J.type;if(this.isObjectMethod(J))return;let W=this.isOptionalMemberExpression(J);if(W||Y==="MemberExpression"){if(W){if(this.expectPlugin("optionalChainingAssign",J.loc.start),G.type!=="AssignmentExpression")this.raise(j.InvalidLhsOptionalChaining,J,{ancestor:G})}if(X!==64)this.raise(j.InvalidPropertyBindingPattern,J);return}if(Y==="Identifier"){this.checkIdentifier(J,X,V);let{name:I}=J;if(H)if(H.has(I))this.raise(j.ParamDupe,J);else H.add(I);return}let z=this.isValidLVal(Y,!(Z||(Q=J.extra)!=null&&Q.parenthesized)&&G.type==="AssignmentExpression",X);if(z===!0)return;if(z===!1){let I=X===64?j.InvalidLhs:j.InvalidLhsBinding;this.raise(I,J,{ancestor:G});return}let U,F;if(typeof z==="string")U=z,F=Y==="ParenthesizedExpression";else[U,F]=z;let A=Y==="ArrayPattern"||Y==="ObjectPattern"?{type:Y}:G,D=J[U];if(Array.isArray(D)){for(let I of D)if(I)this.checkLVal(I,A,X,H,V,F)}else if(D)this.checkLVal(D,A,X,H,V,F)}checkIdentifier(J,G,X=!1){if(this.state.strict&&(X?mV(J.name,this.inModule):xV(J.name)))if(G===64)this.raise(j.StrictEvalArguments,J,{referenceName:J.name});else this.raise(j.StrictEvalArgumentsBinding,J,{bindingName:J.name});if(G&8192&&J.name==="let")this.raise(j.LetInLexicalBinding,J);if(!(G&64))this.declareNameFromIdentifier(J,G)}declareNameFromIdentifier(J,G){this.scope.declareName(J.name,G,J.loc.start)}checkToRestConversion(J,G){switch(J.type){case"ParenthesizedExpression":this.checkToRestConversion(J.expression,G);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(G)break;default:this.raise(j.InvalidRestAssignmentPattern,J)}}checkCommaAfterRest(J){if(!this.match(12))return!1;return this.raise(this.lookaheadCharCode()===J?j.RestTrailingComma:j.ElementAfterRest,this.state.startLoc),!0}}function CJ1(J){if(J==null)throw new Error(`Unexpected ${J} value.`);return J}function wV(J){if(!J)throw new Error("Assert fail")}var a=k2`typescript`({AbstractMethodHasImplementation:({methodName:J})=>`Method '${J}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:J})=>`Property '${J}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:J})=>`'declare' is not allowed in ${J}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:J})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:J})=>`Duplicate modifier: '${J}'.`,EmptyHeritageClauseType:({token:J})=>`'${J}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:J})=>`'${J[0]}' modifier cannot be used with '${J[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:J})=>`Index signatures cannot have an accessibility modifier ('${J}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:J})=>`'${J}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:J})=>`'${J}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:J})=>`'${J}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:J})=>`'${J[0]}' modifier must precede '${J[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:J})=>`Private elements cannot have an accessibility modifier ('${J}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:J})=>`Single type parameter ${J} should have a trailing comma. Example usage: <${J},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:J})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${J}.`});function DJ1(J){switch(J){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function LV(J){return J==="private"||J==="public"||J==="protected"}function SJ1(J){return J==="in"||J==="out"}var IJ1=(J)=>class G extends J{constructor(...X){super(...X);this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:a.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:a.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:a.InvalidModifierOnTypeParameter})}getScopeHandler(){return VZ}tsIsIdentifier(){return j1(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){if(this.next(),this.hasPrecedingLineBreak())return!1;return this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){if(this.match(106))return this.next(),this.tsTokenCanFollowModifier();return this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(X,H){if(!j1(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let V=this.state.value;if(X.includes(V)){if(H&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return V}return}tsParseModifiers({allowedModifiers:X,disallowedModifiers:H,stopOnStartOfClassStaticBlock:V,errorTemplate:Z=a.InvalidModifierOnTypeMember},Q){let Y=(z,U,F,A)=>{if(U===F&&Q[A])this.raise(a.InvalidModifiersOrder,z,{orderedModifiers:[F,A]})},W=(z,U,F,A)=>{if(Q[F]&&U===A||Q[A]&&U===F)this.raise(a.IncompatibleModifiers,z,{modifiers:[F,A]})};for(;;){let{startLoc:z}=this.state,U=this.tsParseModifier(X.concat(H!=null?H:[]),V);if(!U)break;if(LV(U))if(Q.accessibility)this.raise(a.DuplicateAccessibilityModifier,z,{modifier:U});else Y(z,U,U,"override"),Y(z,U,U,"static"),Y(z,U,U,"readonly"),Q.accessibility=U;else if(SJ1(U)){if(Q[U])this.raise(a.DuplicateModifier,z,{modifier:U});Q[U]=!0,Y(z,U,"in","out")}else{if(hasOwnProperty.call(Q,U))this.raise(a.DuplicateModifier,z,{modifier:U});else Y(z,U,"static","readonly"),Y(z,U,"static","override"),Y(z,U,"override","readonly"),Y(z,U,"abstract","override"),W(z,U,"declare","override"),W(z,U,"static","abstract");Q[U]=!0}if(H!=null&&H.includes(U))this.raise(Z,z,{modifier:U})}}tsIsListTerminator(X){switch(X){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(X,H){let V=[];while(!this.tsIsListTerminator(X))V.push(H());return V}tsParseDelimitedList(X,H,V){return CJ1(this.tsParseDelimitedListWorker(X,H,!0,V))}tsParseDelimitedListWorker(X,H,V,Z){let Q=[],Y=-1;for(;;){if(this.tsIsListTerminator(X))break;Y=-1;let W=H();if(W==null)return;if(Q.push(W),this.eat(12)){Y=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(X))break;if(V)this.expect(12);return}if(Z)Z.value=Y;return Q}tsParseBracketedList(X,H,V,Z,Q){if(!Z)if(V)this.expect(0);else this.expect(47);let Y=this.tsParseDelimitedList(X,H,Q);if(V)this.expect(3);else this.expect(48);return Y}tsParseImportType(){let X=this.startNode();if(this.expect(83),this.expect(10),!this.match(133))this.raise(a.UnsupportedImportTypeArgument,this.state.startLoc);if(X.argument=super.parseExprAtom(),this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))X.options=null;if(this.eat(12)){if(!this.hasPlugin("importAssertions"))this.expectPlugin("importAttributes");if(!this.match(11))X.options=super.parseMaybeAssignAllowIn(),this.eat(12)}if(this.expect(11),this.eat(16))X.qualifier=this.tsParseEntityName();if(this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSImportType")}tsParseEntityName(X=!0){let H=this.parseIdentifier(X);while(this.eat(16)){let V=this.startNodeAtNode(H);V.left=H,V.right=this.parseIdentifier(X),H=this.finishNode(V,"TSQualifiedName")}return H}tsParseTypeReference(){let X=this.startNode();if(X.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSTypeReference")}tsParseThisTypePredicate(X){this.next();let H=this.startNodeAtNode(X);return H.parameterName=X,H.typeAnnotation=this.tsParseTypeAnnotation(!1),H.asserts=!1,this.finishNode(H,"TSTypePredicate")}tsParseThisTypeNode(){let X=this.startNode();return this.next(),this.finishNode(X,"TSThisType")}tsParseTypeQuery(){let X=this.startNode();if(this.expect(87),this.match(83))X.exprName=this.tsParseImportType();else X.exprName=this.tsParseEntityName();if(!this.hasPrecedingLineBreak()&&this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSTypeQuery")}tsParseTypeParameter(X){let H=this.startNode();return X(H),H.name=this.tsParseTypeParameterName(),H.constraint=this.tsEatThenParseType(81),H.default=this.tsEatThenParseType(29),this.finishNode(H,"TSTypeParameter")}tsTryParseTypeParameters(X){if(this.match(47))return this.tsParseTypeParameters(X)}tsParseTypeParameters(X){let H=this.startNode();if(this.match(47)||this.match(142))this.next();else this.unexpected();let V={value:-1};if(H.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,X),!1,!0,V),H.params.length===0)this.raise(a.EmptyTypeParameters,H);if(V.value!==-1)this.addExtra(H,"trailingComma",V.value);return this.finishNode(H,"TSTypeParameterDeclaration")}tsFillSignature(X,H){let V=X===19,Z="parameters",Q="typeAnnotation";if(H.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),H.parameters=this.tsParseBindingListForSignature(),V)H.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(X);else if(this.match(X))H.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(X)}tsParseBindingListForSignature(){let X=super.parseBindingList(11,41,2);for(let H of X){let{type:V}=H;if(V==="AssignmentPattern"||V==="TSParameterProperty")this.raise(a.UnsupportedSignatureParameterKind,H,{type:V})}return X}tsParseTypeMemberSemicolon(){if(!this.eat(12)&&!this.isLineTerminator())this.expect(13)}tsParseSignatureMember(X,H){return this.tsFillSignature(14,H),this.tsParseTypeMemberSemicolon(),this.finishNode(H,X)}tsIsUnambiguouslyIndexSignature(){if(this.next(),j1(this.state.type))return this.next(),this.match(14);return!1}tsTryParseIndexSignature(X){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let H=this.parseIdentifier();H.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(H),this.expect(3),X.parameters=[H];let V=this.tsTryParseTypeAnnotation();if(V)X.typeAnnotation=V;return this.tsParseTypeMemberSemicolon(),this.finishNode(X,"TSIndexSignature")}tsParsePropertyOrMethodSignature(X,H){if(this.eat(17))X.optional=!0;let V=X;if(this.match(10)||this.match(47)){if(H)this.raise(a.ReadonlyForMethodSignature,X);let Z=V;if(Z.kind&&this.match(47))this.raise(a.AccessorCannotHaveTypeParameters,this.state.curPosition());this.tsFillSignature(14,Z),this.tsParseTypeMemberSemicolon();let Q="parameters",Y="typeAnnotation";if(Z.kind==="get"){if(Z[Q].length>0){if(this.raise(j.BadGetterArity,this.state.curPosition()),this.isThisParam(Z[Q][0]))this.raise(a.AccessorCannotDeclareThisParameter,this.state.curPosition())}}else if(Z.kind==="set"){if(Z[Q].length!==1)this.raise(j.BadSetterArity,this.state.curPosition());else{let W=Z[Q][0];if(this.isThisParam(W))this.raise(a.AccessorCannotDeclareThisParameter,this.state.curPosition());if(W.type==="Identifier"&&W.optional)this.raise(a.SetAccessorCannotHaveOptionalParameter,this.state.curPosition());if(W.type==="RestElement")this.raise(a.SetAccessorCannotHaveRestParameter,this.state.curPosition())}if(Z[Y])this.raise(a.SetAccessorCannotHaveReturnType,Z[Y])}else Z.kind="method";return this.finishNode(Z,"TSMethodSignature")}else{let Z=V;if(H)Z.readonly=!0;let Q=this.tsTryParseTypeAnnotation();if(Q)Z.typeAnnotation=Q;return this.tsParseTypeMemberSemicolon(),this.finishNode(Z,"TSPropertySignature")}}tsParseTypeMember(){let X=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",X);if(this.match(77)){let V=this.startNode();if(this.next(),this.match(10)||this.match(47))return this.tsParseSignatureMember("TSConstructSignatureDeclaration",X);else return X.key=this.createIdentifier(V,"new"),this.tsParsePropertyOrMethodSignature(X,!1)}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},X);let H=this.tsTryParseIndexSignature(X);if(H)return H;if(super.parsePropertyName(X),!X.computed&&X.key.type==="Identifier"&&(X.key.name==="get"||X.key.name==="set")&&this.tsTokenCanFollowModifier())X.kind=X.key.name,super.parsePropertyName(X);return this.tsParsePropertyOrMethodSignature(X,!!X.readonly)}tsParseTypeLiteral(){let X=this.startNode();return X.members=this.tsParseObjectTypeMembers(),this.finishNode(X,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let X=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),X}tsIsStartOfMappedType(){if(this.next(),this.eat(53))return this.isContextual(122);if(this.isContextual(122))this.next();if(!this.match(0))return!1;if(this.next(),!this.tsIsIdentifier())return!1;return this.next(),this.match(58)}tsParseMappedType(){let X=this.startNode();if(this.expect(5),this.match(53))X.readonly=this.state.value,this.next(),this.expectContextual(122);else if(this.eatContextual(122))X.readonly=!0;this.expect(0);{let H=this.startNode();H.name=this.tsParseTypeParameterName(),H.constraint=this.tsExpectThenParseType(58),X.typeParameter=this.finishNode(H,"TSTypeParameter")}if(X.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53))X.optional=this.state.value,this.next(),this.expect(17);else if(this.eat(17))X.optional=!0;return X.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(X,"TSMappedType")}tsParseTupleType(){let X=this.startNode();X.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let H=!1;return X.elementTypes.forEach((V)=>{let{type:Z}=V;if(H&&Z!=="TSRestType"&&Z!=="TSOptionalType"&&!(Z==="TSNamedTupleMember"&&V.optional))this.raise(a.OptionalTypeBeforeRequired,V);H||(H=Z==="TSNamedTupleMember"&&V.optional||Z==="TSOptionalType")}),this.finishNode(X,"TSTupleType")}tsParseTupleElementType(){let{startLoc:X}=this.state,H=this.eat(21),V,Z,Q,Y,z=U2(this.state.type)?this.lookaheadCharCode():null;if(z===58)V=!0,Q=!1,Z=this.parseIdentifier(!0),this.expect(14),Y=this.tsParseType();else if(z===63){Q=!0;let U=this.state.startLoc,F=this.state.value,A=this.tsParseNonArrayType();if(this.lookaheadCharCode()===58)V=!0,Z=this.createIdentifier(this.startNodeAt(U),F),this.expect(17),this.expect(14),Y=this.tsParseType();else V=!1,Y=A,this.expect(17)}else Y=this.tsParseType(),Q=this.eat(17),V=this.eat(14);if(V){let U;if(Z){if(U=this.startNodeAtNode(Z),U.optional=Q,U.label=Z,U.elementType=Y,this.eat(17))U.optional=!0,this.raise(a.TupleOptionalAfterType,this.state.lastTokStartLoc)}else U=this.startNodeAtNode(Y),U.optional=Q,this.raise(a.InvalidTupleMemberLabel,Y),U.label=Y,U.elementType=this.tsParseType();Y=this.finishNode(U,"TSNamedTupleMember")}else if(Q){let U=this.startNodeAtNode(Y);U.typeAnnotation=Y,Y=this.finishNode(U,"TSOptionalType")}if(H){let U=this.startNodeAt(X);U.typeAnnotation=Y,Y=this.finishNode(U,"TSRestType")}return Y}tsParseParenthesizedType(){let X=this.startNode();return this.expect(10),X.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(X,"TSParenthesizedType")}tsParseFunctionOrConstructorType(X,H){let V=this.startNode();if(X==="TSConstructorType"){if(V.abstract=!!H,H)this.next();this.next()}return this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,V)),this.finishNode(V,X)}tsParseLiteralTypeNode(){let X=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:X.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(X,"TSLiteralType")}tsParseTemplateLiteralType(){let X=this.startNode();return X.literal=super.parseTemplate(!1),this.finishNode(X,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let X=this.tsParseThisTypeNode();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.tsParseThisTypePredicate(X);else return X}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let X=this.startNode(),H=this.lookahead();if(H.type!==134&&H.type!==135)this.unexpected();return X.literal=this.parseMaybeUnary(),this.finishNode(X,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:X}=this.state;if(j1(X)||X===88||X===84){let H=X===88?"TSVoidKeyword":X===84?"TSNullKeyword":DJ1(this.state.value);if(H!==void 0&&this.lookaheadCharCode()!==46){let V=this.startNode();return this.next(),this.finishNode(V,H)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let X=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(0))if(this.match(3)){let H=this.startNodeAtNode(X);H.elementType=X,this.expect(3),X=this.finishNode(H,"TSArrayType")}else{let H=this.startNodeAtNode(X);H.objectType=X,H.indexType=this.tsParseType(),this.expect(3),X=this.finishNode(H,"TSIndexedAccessType")}return X}tsParseTypeOperator(){let X=this.startNode(),H=this.state.value;if(this.next(),X.operator=H,X.typeAnnotation=this.tsParseTypeOperatorOrHigher(),H==="readonly")this.tsCheckTypeAnnotationForReadOnly(X);return this.finishNode(X,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(X){switch(X.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(a.UnexpectedReadonly,X)}}tsParseInferType(){let X=this.startNode();this.expectContextual(115);let H=this.startNode();return H.name=this.tsParseTypeParameterName(),H.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),X.typeParameter=this.finishNode(H,"TSTypeParameter"),this.finishNode(X,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let X=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return X}}tsParseTypeOperatorOrHigher(){return c81(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(X,H,V){let Z=this.startNode(),Q=this.eat(V),Y=[];do Y.push(H());while(this.eat(V));if(Y.length===1&&!Q)return Y[0];return Z.types=Y,this.finishNode(Z,X)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){if(this.match(47))return!0;return this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(j1(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:X}=this.state,H=X.length;try{return this.parseObjectLike(8,!0),X.length===H}catch(V){return!1}}if(this.match(0)){this.next();let{errors:X}=this.state,H=X.length;try{return super.parseBindingList(3,93,1),X.length===H}catch(V){return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)){if(this.next(),this.match(19))return!0}}return!1}tsParseTypeOrTypePredicateAnnotation(X){return this.tsInType(()=>{let H=this.startNode();this.expect(X);let V=this.startNode(),Z=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(Z&&this.match(78)){let W=this.tsParseThisTypeOrThisTypePredicate();if(W.type==="TSThisType")V.parameterName=W,V.asserts=!0,V.typeAnnotation=null,W=this.finishNode(V,"TSTypePredicate");else this.resetStartLocationFromNode(W,V),W.asserts=!0;return H.typeAnnotation=W,this.finishNode(H,"TSTypeAnnotation")}let Q=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!Q){if(!Z)return this.tsParseTypeAnnotation(!1,H);return V.parameterName=this.parseIdentifier(),V.asserts=Z,V.typeAnnotation=null,H.typeAnnotation=this.finishNode(V,"TSTypePredicate"),this.finishNode(H,"TSTypeAnnotation")}let Y=this.tsParseTypeAnnotation(!1);return V.parameterName=Q,V.typeAnnotation=Y,V.asserts=Z,H.typeAnnotation=this.finishNode(V,"TSTypePredicate"),this.finishNode(H,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let X=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),X}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let X=this.state.containsEsc;if(this.next(),!j1(this.state.type)&&!this.match(78))return!1;if(X)this.raise(j.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"});return!0}tsParseTypeAnnotation(X=!0,H=this.startNode()){return this.tsInType(()=>{if(X)this.expect(14);H.typeAnnotation=this.tsParseType()}),this.finishNode(H,"TSTypeAnnotation")}tsParseType(){wV(this.state.inType);let X=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return X;let H=this.startNodeAtNode(X);return H.checkType=X,H.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),H.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),H.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(H,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType())return this.tsParseFunctionOrConstructorType("TSFunctionType");if(this.match(77))return this.tsParseFunctionOrConstructorType("TSConstructorType");else if(this.isAbstractConstructorSignature())return this.tsParseFunctionOrConstructorType("TSConstructorType",!0);return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){if(this.getPluginOption("typescript","disallowAmbiguousJSXLike"))this.raise(a.ReservedTypeAssertion,this.state.startLoc);let X=this.startNode();return X.typeAnnotation=this.tsInType(()=>{return this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()}),this.expect(48),X.expression=this.parseMaybeUnary(),this.finishNode(X,"TSTypeAssertion")}tsParseHeritageClause(X){let H=this.state.startLoc,V=this.tsParseDelimitedList("HeritageClauseElement",()=>{let Z=this.startNode();if(Z.expression=this.tsParseEntityName(),this.match(47))Z.typeParameters=this.tsParseTypeArguments();return this.finishNode(Z,"TSExpressionWithTypeArguments")});if(!V.length)this.raise(a.EmptyHeritageClauseType,H,{token:X});return V}tsParseInterfaceDeclaration(X,H={}){if(this.hasFollowingLineBreak())return null;if(this.expectContextual(129),H.declare)X.declare=!0;if(j1(this.state.type))X.id=this.parseIdentifier(),this.checkIdentifier(X.id,130);else X.id=null,this.raise(a.MissingInterfaceName,this.state.startLoc);if(X.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81))X.extends=this.tsParseHeritageClause("extends");let V=this.startNode();return V.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),X.body=this.finishNode(V,"TSInterfaceBody"),this.finishNode(X,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(X){return X.id=this.parseIdentifier(),this.checkIdentifier(X.id,2),X.typeAnnotation=this.tsInType(()=>{if(X.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let H=this.startNode();return this.next(),this.finishNode(H,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(X,"TSTypeAliasDeclaration")}tsInNoContext(X){let H=this.state.context;this.state.context=[H[0]];try{return X()}finally{this.state.context=H}}tsInType(X){let H=this.state.inType;this.state.inType=!0;try{return X()}finally{this.state.inType=H}}tsInDisallowConditionalTypesContext(X){let H=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return X()}finally{this.state.inDisallowConditionalTypesContext=H}}tsInAllowConditionalTypesContext(X){let H=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return X()}finally{this.state.inDisallowConditionalTypesContext=H}}tsEatThenParseType(X){if(this.match(X))return this.tsNextThenParseType()}tsExpectThenParseType(X){return this.tsInType(()=>{return this.expect(X),this.tsParseType()})}tsNextThenParseType(){return this.tsInType(()=>{return this.next(),this.tsParseType()})}tsParseEnumMember(){let X=this.startNode();if(X.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29))X.initializer=super.parseMaybeAssignAllowIn();return this.finishNode(X,"TSEnumMember")}tsParseEnumDeclaration(X,H={}){if(H.const)X.const=!0;if(H.declare)X.declare=!0;return this.expectContextual(126),X.id=this.parseIdentifier(),this.checkIdentifier(X.id,X.const?8971:8459),this.expect(5),X.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(X,"TSEnumDeclaration")}tsParseModuleBlock(){let X=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(X.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(X,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(X,H=!1){if(X.id=this.parseIdentifier(),!H)this.checkIdentifier(X.id,1024);if(this.eat(16)){let V=this.startNode();this.tsParseModuleOrNamespaceDeclaration(V,!0),X.body=V}else this.scope.enter(256),this.prodParam.enter(0),X.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(X,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(X){if(this.isContextual(112))X.global=!0,X.id=this.parseIdentifier();else if(this.match(133))X.id=super.parseStringLiteral(this.state.value);else this.unexpected();if(this.match(5))this.scope.enter(256),this.prodParam.enter(0),X.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();else this.semicolon();return this.finishNode(X,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(X,H,V){X.isExport=V||!1,X.id=H||this.parseIdentifier(),this.checkIdentifier(X.id,4096),this.expect(29);let Z=this.tsParseModuleReference();if(X.importKind==="type"&&Z.type!=="TSExternalModuleReference")this.raise(a.ImportAliasHasImportType,Z);return X.moduleReference=Z,this.semicolon(),this.finishNode(X,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let X=this.startNode();if(this.expectContextual(119),this.expect(10),!this.match(133))this.unexpected();return X.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(X,"TSExternalModuleReference")}tsLookAhead(X){let H=this.state.clone(),V=X();return this.state=H,V}tsTryParseAndCatch(X){let H=this.tryParse((V)=>X()||V());if(H.aborted||!H.node)return;if(H.error)this.state=H.failState;return H.node}tsTryParse(X){let H=this.state.clone(),V=X();if(V!==void 0&&V!==!1)return V;this.state=H}tsTryParseDeclare(X){if(this.isLineTerminator())return;let H=this.state.type,V;if(this.isContextual(100))H=74,V="let";return this.tsInAmbientContext(()=>{switch(H){case 68:return X.declare=!0,super.parseFunctionStatement(X,!1,!1);case 80:return X.declare=!0,this.parseClass(X,!0,!1);case 126:return this.tsParseEnumDeclaration(X,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(X);case 75:case 74:if(!this.match(75)||!this.isLookaheadContextual("enum"))return X.declare=!0,this.parseVarStatement(X,V||this.state.value,!0);return this.expect(75),this.tsParseEnumDeclaration(X,{const:!0,declare:!0});case 129:{let Z=this.tsParseInterfaceDeclaration(X,{declare:!0});if(Z)return Z}default:if(j1(H))return this.tsParseDeclaration(X,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(X,H,V){switch(H.name){case"declare":{let Z=this.tsTryParseDeclare(X);if(Z)Z.declare=!0;return Z}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let Z=X;return Z.global=!0,Z.id=H,Z.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(Z,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(X,H.name,!1,V)}}tsParseDeclaration(X,H,V,Z){switch(H){case"abstract":if(this.tsCheckLineTerminator(V)&&(this.match(80)||j1(this.state.type)))return this.tsParseAbstractDeclaration(X,Z);break;case"module":if(this.tsCheckLineTerminator(V)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(X);else if(j1(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(X)}break;case"namespace":if(this.tsCheckLineTerminator(V)&&j1(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(X);break;case"type":if(this.tsCheckLineTerminator(V)&&j1(this.state.type))return this.tsParseTypeAliasDeclaration(X);break}}tsCheckLineTerminator(X){if(X){if(this.hasFollowingLineBreak())return!1;return this.next(),!0}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(X){if(!this.match(47))return;let H=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let V=this.tsTryParseAndCatch(()=>{let Z=this.startNodeAt(X);return Z.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(Z),Z.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),Z});if(this.state.maybeInArrowParameters=H,!V)return;return super.parseArrowExpression(V,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()!==47)return;return this.tsParseTypeArguments()}tsParseTypeArguments(){let X=this.startNode();if(X.params=this.tsInType(()=>this.tsInNoContext(()=>{return this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))})),X.params.length===0)this.raise(a.EmptyTypeArguments,X);else if(!this.state.inType&&this.curContext()===O1.brace)this.reScan_lt_gt();return this.expect(48),this.finishNode(X,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return l81(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return!1;return super.isExportDefaultSpecifier()}parseAssignableListItem(X,H){let V=this.state.startLoc,Z={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},Z);let{accessibility:Q,override:Y,readonly:W}=Z;if(!(X&4)&&(Q||W||Y))this.raise(a.UnexpectedParameterModifier,V);let z=this.parseMaybeDefault();if(X&2)this.parseFunctionParamType(z);let U=this.parseMaybeDefault(z.loc.start,z);if(Q||W||Y){let F=this.startNodeAt(V);if(H.length)F.decorators=H;if(Q)F.accessibility=Q;if(W)F.readonly=W;if(Y)F.override=Y;if(U.type!=="Identifier"&&U.type!=="AssignmentPattern")this.raise(a.UnsupportedParameterPropertyKind,F);return F.parameter=U,this.finishNode(F,"TSParameterProperty")}if(H.length)z.decorators=H;return U}isSimpleParameter(X){return X.type==="TSParameterProperty"&&super.isSimpleParameter(X.parameter)||super.isSimpleParameter(X)}tsDisallowOptionalPattern(X){for(let H of X.params)if(H.type!=="Identifier"&&H.optional&&!this.state.isAmbientContext)this.raise(a.PatternIsOptional,H)}setArrowFunctionParameters(X,H,V){super.setArrowFunctionParameters(X,H,V),this.tsDisallowOptionalPattern(X)}parseFunctionBodyAndFinish(X,H,V=!1){if(this.match(14))X.returnType=this.tsParseTypeOrTypePredicateAnnotation(14);let Z=H==="FunctionDeclaration"?"TSDeclareFunction":H==="ClassMethod"||H==="ClassPrivateMethod"?"TSDeclareMethod":void 0;if(Z&&!this.match(5)&&this.isLineTerminator())return this.finishNode(X,Z);if(Z==="TSDeclareFunction"&&this.state.isAmbientContext){if(this.raise(a.DeclareFunctionHasImplementation,X),X.declare)return super.parseFunctionBodyAndFinish(X,Z,V)}return this.tsDisallowOptionalPattern(X),super.parseFunctionBodyAndFinish(X,H,V)}registerFunctionStatementId(X){if(!X.body&&X.id)this.checkIdentifier(X.id,1024);else super.registerFunctionStatementId(X)}tsCheckForInvalidTypeCasts(X){X.forEach((H)=>{if((H==null?void 0:H.type)==="TSTypeCastExpression")this.raise(a.UnexpectedTypeAnnotation,H.typeAnnotation)})}toReferencedList(X,H){return this.tsCheckForInvalidTypeCasts(X),X}parseArrayLike(X,H,V,Z){let Q=super.parseArrayLike(X,H,V,Z);if(Q.type==="ArrayExpression")this.tsCheckForInvalidTypeCasts(Q.elements);return Q}parseSubscript(X,H,V,Z){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let Y=this.startNodeAt(H);return Y.expression=X,this.finishNode(Y,"TSNonNullExpression")}let Q=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(V)return Z.stop=!0,X;Z.optionalChainMember=Q=!0,this.next()}if(this.match(47)||this.match(51)){let Y,W=this.tsTryParseAndCatch(()=>{if(!V&&this.atPossibleAsyncArrow(X)){let A=this.tsTryParseGenericAsyncArrowFunction(H);if(A)return A}let z=this.tsParseTypeArgumentsInExpression();if(!z)return;if(Q&&!this.match(10)){Y=this.state.curPosition();return}if(R9(this.state.type)){let A=super.parseTaggedTemplateExpression(X,H,Z);return A.typeParameters=z,A}if(!V&&this.eat(10)){let A=this.startNodeAt(H);if(A.callee=X,A.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(A.arguments),A.typeParameters=z,Z.optionalChainMember)A.optional=Q;return this.finishCallExpression(A,Z.optionalChainMember)}let U=this.state.type;if(U===48||U===52||U!==10&&L8(U)&&!this.hasPrecedingLineBreak())return;let F=this.startNodeAt(H);return F.expression=X,F.typeParameters=z,this.finishNode(F,"TSInstantiationExpression")});if(Y)this.unexpected(Y,10);if(W){if(W.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40))this.raise(a.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc);return W}}return super.parseSubscript(X,H,V,Z)}parseNewCallee(X){var H;super.parseNewCallee(X);let{callee:V}=X;if(V.type==="TSInstantiationExpression"&&!((H=V.extra)!=null&&H.parenthesized))X.typeParameters=V.typeParameters,X.callee=V.expression}parseExprOp(X,H,V){let Z;if(U9(58)>V&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(Z=this.isContextual(120)))){let Q=this.startNodeAt(H);return Q.expression=X,Q.typeAnnotation=this.tsInType(()=>{if(this.next(),this.match(75)){if(Z)this.raise(j.UnexpectedKeyword,this.state.startLoc,{keyword:"const"});return this.tsParseTypeReference()}return this.tsParseType()}),this.finishNode(Q,Z?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(Q,H,V)}return super.parseExprOp(X,H,V)}checkReservedWord(X,H,V,Z){if(!this.state.isAmbientContext)super.checkReservedWord(X,H,V,Z)}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(a.ImportReflectionHasImportType,X.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(X){if(super.isPotentialImportPhase(X))return!0;if(this.isContextual(130)){let H=this.lookaheadCharCode();return X?H===123||H===42:H!==61}return!X&&this.isContextual(87)}applyImportPhase(X,H,V,Z){if(super.applyImportPhase(X,H,V,Z),H)X.exportKind=V==="type"?"type":"value";else X.importKind=V==="type"||V==="typeof"?V:"value"}parseImport(X){if(this.match(133))return X.importKind="value",super.parseImport(X);let H;if(j1(this.state.type)&&this.lookaheadCharCode()===61)return X.importKind="value",this.tsParseImportEqualsDeclaration(X);else if(this.isContextual(130)){let V=this.parseMaybeImportPhase(X,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(X,V);else H=super.parseImportSpecifiersAndAfter(X,V)}else H=super.parseImport(X);if(H.importKind==="type"&&H.specifiers.length>1&&H.specifiers[0].type==="ImportDefaultSpecifier")this.raise(a.TypeImportCannotSpecifyDefaultAndNamed,H);return H}parseExport(X,H){if(this.match(83)){this.next();let V=X,Z=null;if(this.isContextual(130)&&this.isPotentialImportPhase(!1))Z=this.parseMaybeImportPhase(V,!1);else V.importKind="value";return this.tsParseImportEqualsDeclaration(V,Z,!0)}else if(this.eat(29)){let V=X;return V.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(V,"TSExportAssignment")}else if(this.eatContextual(93)){let V=X;return this.expectContextual(128),V.id=this.parseIdentifier(),this.semicolon(),this.finishNode(V,"TSNamespaceExportDeclaration")}else return super.parseExport(X,H)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let X=this.startNode();return this.next(),X.abstract=!0,this.parseClass(X,!0,!0)}if(this.match(129)){let X=this.tsParseInterfaceDeclaration(this.startNode());if(X)return X}return super.parseExportDefaultExpression()}parseVarStatement(X,H,V=!1){let{isAmbientContext:Z}=this.state,Q=super.parseVarStatement(X,H,V||Z);if(!Z)return Q;for(let{id:Y,init:W}of Q.declarations){if(!W)continue;if(H!=="const"||!!Y.typeAnnotation)this.raise(a.InitializerNotAllowedInAmbientContext,W);else if(!fJ1(W,this.hasPlugin("estree")))this.raise(a.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,W)}return Q}parseStatementContent(X,H){if(this.match(75)&&this.isLookaheadContextual("enum")){let V=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(V,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let V=this.tsParseInterfaceDeclaration(this.startNode());if(V)return V}return super.parseStatementContent(X,H)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(X,H){return H.some((V)=>{if(LV(V))return X.accessibility===V;return!!X[V]})}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(X,H,V){let Z=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:Z,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:a.InvalidModifierOnTypeParameterPositions},H);let Q=()=>{if(this.tsIsStartOfStaticBlocks()){if(this.next(),this.next(),this.tsHasSomeModifiers(H,Z))this.raise(a.StaticBlockCannotHaveModifier,this.state.curPosition());super.parseClassStaticBlock(X,H)}else this.parseClassMemberWithIsStatic(X,H,V,!!H.static)};if(H.declare)this.tsInAmbientContext(Q);else Q()}parseClassMemberWithIsStatic(X,H,V,Z){let Q=this.tsTryParseIndexSignature(H);if(Q){if(X.body.push(Q),H.abstract)this.raise(a.IndexSignatureHasAbstract,H);if(H.accessibility)this.raise(a.IndexSignatureHasAccessibility,H,{modifier:H.accessibility});if(H.declare)this.raise(a.IndexSignatureHasDeclare,H);if(H.override)this.raise(a.IndexSignatureHasOverride,H);return}if(!this.state.inAbstractClass&&H.abstract)this.raise(a.NonAbstractClassHasAbstractMethod,H);if(H.override){if(!V.hadSuperClass)this.raise(a.OverrideNotInSubClass,H)}super.parseClassMemberWithIsStatic(X,H,V,Z)}parsePostMemberNameModifiers(X){if(this.eat(17))X.optional=!0;if(X.readonly&&this.match(10))this.raise(a.ClassMethodHasReadonly,X);if(X.declare&&this.match(10))this.raise(a.ClassMethodHasDeclare,X)}parseExpressionStatement(X,H,V){return(H.type==="Identifier"?this.tsParseExpressionStatement(X,H,V):void 0)||super.parseExpressionStatement(X,H,V)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return!0;return super.shouldParseExportDeclaration()}parseConditional(X,H,V){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(X,H,V);let Z=this.tryParse(()=>super.parseConditional(X,H));if(!Z.node){if(Z.error)super.setOptionalParametersError(V,Z.error);return X}if(Z.error)this.state=Z.failState;return Z.node}parseParenItem(X,H){let V=super.parseParenItem(X,H);if(this.eat(17))V.optional=!0,this.resetEndLocation(X);if(this.match(14)){let Z=this.startNodeAt(H);return Z.expression=X,Z.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(Z,"TSTypeCastExpression")}return X}parseExportDeclaration(X){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(X));let H=this.state.startLoc,V=this.eatContextual(125);if(V&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(a.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let Q=j1(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(X);if(!Q)return null;if(Q.type==="TSInterfaceDeclaration"||Q.type==="TSTypeAliasDeclaration"||V)X.exportKind="type";if(V)this.resetStartLocation(Q,H),Q.declare=!0;return Q}parseClassId(X,H,V,Z){if((!H||V)&&this.isContextual(113))return;super.parseClassId(X,H,V,X.declare?1024:8331);let Q=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);if(Q)X.typeParameters=Q}parseClassPropertyAnnotation(X){if(!X.optional){if(this.eat(35))X.definite=!0;else if(this.eat(17))X.optional=!0}let H=this.tsTryParseTypeAnnotation();if(H)X.typeAnnotation=H}parseClassProperty(X){if(this.parseClassPropertyAnnotation(X),this.state.isAmbientContext&&!(X.readonly&&!X.typeAnnotation)&&this.match(29))this.raise(a.DeclareClassFieldHasInitializer,this.state.startLoc);if(X.abstract&&this.match(29)){let{key:H}=X;this.raise(a.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:H.type==="Identifier"&&!X.computed?H.name:`[${this.input.slice(H.start,H.end)}]`})}return super.parseClassProperty(X)}parseClassPrivateProperty(X){if(X.abstract)this.raise(a.PrivateElementHasAbstract,X);if(X.accessibility)this.raise(a.PrivateElementHasAccessibility,X,{modifier:X.accessibility});return this.parseClassPropertyAnnotation(X),super.parseClassPrivateProperty(X)}parseClassAccessorProperty(X){if(this.parseClassPropertyAnnotation(X),X.optional)this.raise(a.AccessorCannotBeOptional,X);return super.parseClassAccessorProperty(X)}pushClassMethod(X,H,V,Z,Q,Y){let W=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(W&&Q)this.raise(a.ConstructorHasTypeParameters,W);let{declare:z=!1,kind:U}=H;if(z&&(U==="get"||U==="set"))this.raise(a.DeclareAccessor,H,{kind:U});if(W)H.typeParameters=W;super.pushClassMethod(X,H,V,Z,Q,Y)}pushClassPrivateMethod(X,H,V,Z){let Q=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(Q)H.typeParameters=Q;super.pushClassPrivateMethod(X,H,V,Z)}declareClassPrivateMethodInScope(X,H){if(X.type==="TSDeclareMethod")return;if(X.type==="MethodDefinition"&&!hasOwnProperty.call(X.value,"body"))return;super.declareClassPrivateMethodInScope(X,H)}parseClassSuper(X){if(super.parseClassSuper(X),X.superClass&&(this.match(47)||this.match(51)))X.superTypeParameters=this.tsParseTypeArgumentsInExpression();if(this.eatContextual(113))X.implements=this.tsParseHeritageClause("implements")}parseObjPropValue(X,H,V,Z,Q,Y,W){let z=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(z)X.typeParameters=z;return super.parseObjPropValue(X,H,V,Z,Q,Y,W)}parseFunctionParams(X,H){let V=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(V)X.typeParameters=V;super.parseFunctionParams(X,H)}parseVarId(X,H){if(super.parseVarId(X,H),X.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35))X.definite=!0;let V=this.tsTryParseTypeAnnotation();if(V)X.id.typeAnnotation=V,this.resetEndLocation(X.id)}parseAsyncArrowFromCallExpression(X,H){if(this.match(14))X.returnType=this.tsParseTypeAnnotation();return super.parseAsyncArrowFromCallExpression(X,H)}parseMaybeAssign(X,H){var V,Z,Q,Y,W;let z,U,F;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(z=this.state.clone(),U=this.tryParse(()=>super.parseMaybeAssign(X,H),z),!U.error)return U.node;let{context:I}=this.state,_=I[I.length-1];if(_===O1.j_oTag||_===O1.j_expr)I.pop()}if(!((V=U)!=null&&V.error)&&!this.match(47))return super.parseMaybeAssign(X,H);if(!z||z===this.state)z=this.state.clone();let A,D=this.tryParse((I)=>{var _,f;A=this.tsParseTypeParameters(this.tsParseConstModifier);let w=super.parseMaybeAssign(X,H);if(w.type!=="ArrowFunctionExpression"||(_=w.extra)!=null&&_.parenthesized)I();if(((f=A)==null?void 0:f.params.length)!==0)this.resetStartLocationFromNode(w,A);return w.typeParameters=A,w},z);if(!D.error&&!D.aborted){if(A)this.reportReservedArrowTypeParam(A);return D.node}if(!U){if(wV(!this.hasPlugin("jsx")),F=this.tryParse(()=>super.parseMaybeAssign(X,H),z),!F.error)return F.node}if((Z=U)!=null&&Z.node)return this.state=U.failState,U.node;if(D.node){if(this.state=D.failState,A)this.reportReservedArrowTypeParam(A);return D.node}if((Q=F)!=null&&Q.node)return this.state=F.failState,F.node;throw((Y=U)==null?void 0:Y.error)||D.error||((W=F)==null?void 0:W.error)}reportReservedArrowTypeParam(X){var H;if(X.params.length===1&&!X.params[0].constraint&&!((H=X.extra)!=null&&H.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike"))this.raise(a.ReservedArrowTypeParam,X)}parseMaybeUnary(X,H){if(!this.hasPlugin("jsx")&&this.match(47))return this.tsParseTypeAssertion();return super.parseMaybeUnary(X,H)}parseArrow(X){if(this.match(14)){let H=this.tryParse((V)=>{let Z=this.tsParseTypeOrTypePredicateAnnotation(14);if(this.canInsertSemicolon()||!this.match(19))V();return Z});if(H.aborted)return;if(!H.thrown){if(H.error)this.state=H.failState;X.returnType=H.node}}return super.parseArrow(X)}parseFunctionParamType(X){if(this.eat(17))X.optional=!0;let H=this.tsTryParseTypeAnnotation();if(H)X.typeAnnotation=H;return this.resetEndLocation(X),X}isAssignable(X,H){switch(X.type){case"TSTypeCastExpression":return this.isAssignable(X.expression,H);case"TSParameterProperty":return!0;default:return super.isAssignable(X,H)}}toAssignable(X,H=!1){switch(X.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(X,H);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":if(H)this.expressionScope.recordArrowParameterBindingError(a.UnexpectedTypeCastInParameter,X);else this.raise(a.UnexpectedTypeCastInParameter,X);this.toAssignable(X.expression,H);break;case"AssignmentExpression":if(!H&&X.left.type==="TSTypeCastExpression")X.left=this.typeCastToParameter(X.left);default:super.toAssignable(X,H)}}toAssignableParenthesizedExpression(X,H){switch(X.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(X.expression,H);break;default:super.toAssignable(X,H)}}checkToRestConversion(X,H){switch(X.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(X.expression,!1);break;default:super.checkToRestConversion(X,H)}}isValidLVal(X,H,V){switch(X){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(V!==64||!H)&&["expression",!0];default:return super.isValidLVal(X,H,V)}}parseBindingAtom(){if(this.state.type===78)return this.parseIdentifier(!0);return super.parseBindingAtom()}parseMaybeDecoratorArguments(X){if(this.match(47)||this.match(51)){let H=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let V=super.parseMaybeDecoratorArguments(X);return V.typeParameters=H,V}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(X)}checkCommaAfterRest(X){if(this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===X)return this.next(),!1;return super.checkCommaAfterRest(X)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(X,H){let V=super.parseMaybeDefault(X,H);if(V.type==="AssignmentPattern"&&V.typeAnnotation&&V.right.start<V.typeAnnotation.start)this.raise(a.TypeAnnotationAfterAssign,V.typeAnnotation);return V}getTokenFromCode(X){if(this.state.inType){if(X===62){this.finishOp(48,1);return}if(X===60){this.finishOp(47,1);return}}super.getTokenFromCode(X)}reScan_lt_gt(){let{type:X}=this.state;if(X===47)this.state.pos-=1,this.readToken_lt();else if(X===48)this.state.pos-=1,this.readToken_gt()}reScan_lt(){let{type:X}=this.state;if(X===51)return this.state.pos-=2,this.finishOp(47,1),47;return X}toAssignableList(X,H,V){for(let Z=0;Z<X.length;Z++){let Q=X[Z];if((Q==null?void 0:Q.type)==="TSTypeCastExpression")X[Z]=this.typeCastToParameter(Q)}super.toAssignableList(X,H,V)}typeCastToParameter(X){return X.expression.typeAnnotation=X.typeAnnotation,this.resetEndLocation(X.expression,X.typeAnnotation.loc.end),X.expression}shouldParseArrow(X){if(this.match(14))return X.every((H)=>this.isAssignable(H,!0));return super.shouldParseArrow(X)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(X){if(this.match(47)||this.match(51)){let H=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());if(H)X.typeParameters=H}return super.jsxParseOpeningElementAfterName(X)}getGetterSetterExpectedParamCount(X){let H=super.getGetterSetterExpectedParamCount(X),Z=this.getObjectOrClassMethodParams(X)[0];return Z&&this.isThisParam(Z)?H+1:H}parseCatchClauseParam(){let X=super.parseCatchClauseParam(),H=this.tsTryParseTypeAnnotation();if(H)X.typeAnnotation=H,this.resetEndLocation(X);return X}tsInAmbientContext(X){let{isAmbientContext:H,strict:V}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return X()}finally{this.state.isAmbientContext=H,this.state.strict=V}}parseClass(X,H,V){let Z=this.state.inAbstractClass;this.state.inAbstractClass=!!X.abstract;try{return super.parseClass(X,H,V)}finally{this.state.inAbstractClass=Z}}tsParseAbstractDeclaration(X,H){if(this.match(80))return X.abstract=!0,this.maybeTakeDecorators(H,this.parseClass(X,!0,!1));else if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return X.abstract=!0,this.raise(a.NonClassMethodPropertyHasAbstractModifer,X),this.tsParseInterfaceDeclaration(X)}else this.unexpected(null,80)}parseMethod(X,H,V,Z,Q,Y,W){let z=super.parseMethod(X,H,V,Z,Q,Y,W);if(z.abstract){if(this.hasPlugin("estree")?!!z.value.body:!!z.body){let{key:F}=z;this.raise(a.AbstractMethodHasImplementation,z,{methodName:F.type==="Identifier"&&!z.computed?F.name:`[${this.input.slice(F.start,F.end)}]`})}}return z}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext())this.state.isAmbientContext=!0;return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext())this.state.isAmbientContext=!0;return super.getExpression()}parseExportSpecifier(X,H,V,Z){if(!H&&Z)return this.parseTypeOnlyImportExportSpecifier(X,!1,V),this.finishNode(X,"ExportSpecifier");return X.exportKind="value",super.parseExportSpecifier(X,H,V,Z)}parseImportSpecifier(X,H,V,Z,Q){if(!H&&Z)return this.parseTypeOnlyImportExportSpecifier(X,!0,V),this.finishNode(X,"ImportSpecifier");return X.importKind="value",super.parseImportSpecifier(X,H,V,Z,V?4098:4096)}parseTypeOnlyImportExportSpecifier(X,H,V){let Z=H?"imported":"local",Q=H?"local":"exported",Y=X[Z],W,z=!1,U=!0,F=Y.loc.start;if(this.isContextual(93)){let D=this.parseIdentifier();if(this.isContextual(93)){let I=this.parseIdentifier();if(U2(this.state.type))z=!0,Y=D,W=H?this.parseIdentifier():this.parseModuleExportName(),U=!1;else W=I,U=!1}else if(U2(this.state.type))U=!1,W=H?this.parseIdentifier():this.parseModuleExportName();else z=!0,Y=D}else if(U2(this.state.type))if(z=!0,H){if(Y=this.parseIdentifier(!0),!this.isContextual(93))this.checkReservedWord(Y.name,Y.loc.start,!0,!0)}else Y=this.parseModuleExportName();if(z&&V)this.raise(H?a.TypeModifierIsUsedInTypeImports:a.TypeModifierIsUsedInTypeExports,F);X[Z]=Y,X[Q]=W;let A=H?"importKind":"exportKind";if(X[A]=z?"type":"value",U&&this.eatContextual(93))X[Q]=H?this.parseIdentifier():this.parseModuleExportName();if(!X[Q])X[Q]=E2(X[Z]);if(H)this.checkIdentifier(X[Q],z?4098:4096)}};function PJ1(J){if(J.type!=="MemberExpression")return!1;let{computed:G,property:X}=J;if(G&&X.type!=="StringLiteral"&&(X.type!=="TemplateLiteral"||X.expressions.length>0))return!1;return WZ(J.object)}function fJ1(J,G){var X;let{type:H}=J;if((X=J.extra)!=null&&X.parenthesized)return!1;if(G){if(H==="Literal"){let{value:V}=J;if(typeof V==="string"||typeof V==="boolean")return!0}}else if(H==="StringLiteral"||H==="BooleanLiteral")return!0;if(YZ(J,G)||NJ1(J,G))return!0;if(H==="TemplateLiteral"&&J.expressions.length===0)return!0;if(PJ1(J))return!0;return!1}function YZ(J,G){if(G)return J.type==="Literal"&&(typeof J.value==="number"||("bigint"in J));return J.type==="NumericLiteral"||J.type==="BigIntLiteral"}function NJ1(J,G){if(J.type==="UnaryExpression"){let{operator:X,argument:H}=J;if(X==="-"&&YZ(H,G))return!0}return!1}function WZ(J){if(J.type==="Identifier")return!0;if(J.type!=="MemberExpression"||J.computed)return!1;return WZ(J.object)}var kV=k2`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),TJ1=(J)=>class G extends J{parsePlaceholder(X){if(this.match(144)){let H=this.startNode();return this.next(),this.assertNoSpace(),H.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(H,X)}}finishPlaceholder(X,H){let V=X;if(!V.expectedNode||!V.type)V=this.finishNode(V,"Placeholder");return V.expectedNode=H,V}getTokenFromCode(X){if(X===37&&this.input.charCodeAt(this.state.pos+1)===37)this.finishOp(144,2);else super.getTokenFromCode(X)}parseExprAtom(X){return this.parsePlaceholder("Expression")||super.parseExprAtom(X)}parseIdentifier(X){return this.parsePlaceholder("Identifier")||super.parseIdentifier(X)}checkReservedWord(X,H,V,Z){if(X!==void 0)super.checkReservedWord(X,H,V,Z)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(X,H,V){return X==="Placeholder"||super.isValidLVal(X,H,V)}toAssignable(X,H){if(X&&X.type==="Placeholder"&&X.expectedNode==="Expression")X.expectedNode="Pattern";else super.toAssignable(X,H)}chStartsBindingIdentifier(X,H){if(super.chStartsBindingIdentifier(X,H))return!0;if(this.lookahead().type===144)return!0;return!1}verifyBreakContinue(X,H){if(X.label&&X.label.type==="Placeholder")return;super.verifyBreakContinue(X,H)}parseExpressionStatement(X,H){var V;if(H.type!=="Placeholder"||(V=H.extra)!=null&&V.parenthesized)return super.parseExpressionStatement(X,H);if(this.match(14)){let Q=X;return Q.label=this.finishPlaceholder(H,"Identifier"),this.next(),Q.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(Q,"LabeledStatement")}this.semicolon();let Z=X;return Z.name=H.name,this.finishPlaceholder(Z,"Statement")}parseBlock(X,H,V){return this.parsePlaceholder("BlockStatement")||super.parseBlock(X,H,V)}parseFunctionId(X){return this.parsePlaceholder("Identifier")||super.parseFunctionId(X)}parseClass(X,H,V){let Z=H?"ClassDeclaration":"ClassExpression";this.next();let Q=this.state.strict,Y=this.parsePlaceholder("Identifier");if(Y)if(this.match(81)||this.match(144)||this.match(5))X.id=Y;else if(V||!H)return X.id=null,X.body=this.finishPlaceholder(Y,"ClassBody"),this.finishNode(X,Z);else throw this.raise(kV.ClassNameIsRequired,this.state.startLoc);else this.parseClassId(X,H,V);return super.parseClassSuper(X),X.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!X.superClass,Q),this.finishNode(X,Z)}parseExport(X,H){let V=this.parsePlaceholder("Identifier");if(!V)return super.parseExport(X,H);let Z=X;if(!this.isContextual(98)&&!this.match(12))return Z.specifiers=[],Z.source=null,Z.declaration=this.finishPlaceholder(V,"Declaration"),this.finishNode(Z,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let Q=this.startNode();return Q.exported=V,Z.specifiers=[this.finishNode(Q,"ExportDefaultSpecifier")],super.parseExport(Z,H)}isExportDefaultSpecifier(){if(this.match(65)){let X=this.nextTokenStart();if(this.isUnparsedContextual(X,"from")){if(this.input.startsWith(l2(144),this.nextTokenStartSince(X+4)))return!0}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(X,H){var V;if((V=X.specifiers)!=null&&V.length)return!0;return super.maybeParseExportDefaultSpecifier(X,H)}checkExport(X){let{specifiers:H}=X;if(H!=null&&H.length)X.specifiers=H.filter((V)=>V.exported.type==="Placeholder");super.checkExport(X),X.specifiers=H}parseImport(X){let H=this.parsePlaceholder("Identifier");if(!H)return super.parseImport(X);if(X.specifiers=[],!this.isContextual(98)&&!this.match(12))return X.source=this.finishPlaceholder(H,"StringLiteral"),this.semicolon(),this.finishNode(X,"ImportDeclaration");let V=this.startNodeAtNode(H);if(V.local=H,X.specifiers.push(this.finishNode(V,"ImportDefaultSpecifier")),this.eat(12)){if(!this.maybeParseStarImportSpecifier(X))this.parseNamedImportSpecifiers(X)}return this.expectContextual(98),X.source=this.parseImportSource(),this.semicolon(),this.finishNode(X,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){if(this.state.start>this.state.lastTokEndLoc.index)this.raise(kV.UnexpectedSpace,this.state.lastTokEndLoc)}},wJ1=(J)=>class G extends J{parseV8Intrinsic(){if(this.match(54)){let X=this.state.startLoc,H=this.startNode();if(this.next(),j1(this.state.type)){let V=this.parseIdentifierName(),Z=this.createIdentifier(H,V);if(Z.type="V8IntrinsicIdentifier",this.match(10))return Z}this.unexpected(X)}}parseExprAtom(X){return this.parseV8Intrinsic()||super.parseExprAtom(X)}},bV=["minimal","fsharp","hack","smart"],EV=["^^","@@","^","%","#"];function LJ1(J){if(J.has("decorators")){if(J.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let X=J.get("decorators").decoratorsBeforeExport;if(X!=null&&typeof X!=="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let H=J.get("decorators").allowCallParenthesized;if(H!=null&&typeof H!=="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(J.has("flow")&&J.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(J.has("placeholders")&&J.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(J.has("pipelineOperator")){var G;let X=J.get("pipelineOperator").proposal;if(!bV.includes(X)){let V=bV.map((Z)=>`"${Z}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${V}.`)}let H=((G=J.get("recordAndTuple"))==null?void 0:G.syntaxType)==="hash";if(X==="hack"){if(J.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(J.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let V=J.get("pipelineOperator").topicToken;if(!EV.includes(V)){let Z=EV.map((Q)=>`"${Q}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${Z}.`)}if(V==="#"&&H)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",J.get("recordAndTuple")])}\`.`)}else if(X==="smart"&&H)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",J.get("recordAndTuple")])}\`.`)}if(J.has("moduleAttributes")){if(J.has("importAttributes")||J.has("importAssertions"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(J.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(J.has("importAssertions")){if(J.has("importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.")}if(J.has("recordAndTuple")){let X=J.get("recordAndTuple").syntaxType;if(X!=null){let H=["hash","bar"];if(!H.includes(X))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+H.map((V)=>`'${V}'`).join(", "))}}if(J.has("asyncDoExpressions")&&!J.has("doExpressions")){let X=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw X.missingPlugins="doExpressions",X}if(J.has("optionalChainingAssign")&&J.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var zZ={estree:b81,jsx:AJ1,flow:jJ1,typescript:IJ1,v8intrinsic:wJ1,placeholders:TJ1},kJ1=Object.keys(zZ);function bJ1(){return{sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function EJ1(J){let G=bJ1();if(J==null)return G;if(J.annexB!=null&&J.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let X of Object.keys(G))if(J[X]!=null)G[X]=J[X];return G}class KZ extends QZ{checkProto(J,G,X,H){if(J.type==="SpreadElement"||this.isObjectMethod(J)||J.computed||J.shorthand)return;let V=J.key;if((V.type==="Identifier"?V.name:V.value)==="__proto__"){if(G){this.raise(j.RecordNoProto,V);return}if(X.used)if(H){if(H.doubleProtoLoc===null)H.doubleProtoLoc=V.loc.start}else this.raise(j.DuplicateProto,V);X.used=!0}}shouldExitDescending(J,G){return J.type==="ArrowFunctionExpression"&&J.start===G}getExpression(){this.enterInitialScopes(),this.nextToken();let J=this.parseExpression();if(!this.match(139))this.unexpected();if(this.finalizeRemainingComments(),J.comments=this.comments,J.errors=this.state.errors,this.options.tokens)J.tokens=this.tokens;return J}parseExpression(J,G){if(J)return this.disallowInAnd(()=>this.parseExpressionBase(G));return this.allowInAnd(()=>this.parseExpressionBase(G))}parseExpressionBase(J){let G=this.state.startLoc,X=this.parseMaybeAssign(J);if(this.match(12)){let H=this.startNodeAt(G);H.expressions=[X];while(this.eat(12))H.expressions.push(this.parseMaybeAssign(J));return this.toReferencedList(H.expressions),this.finishNode(H,"SequenceExpression")}return X}parseMaybeAssignDisallowIn(J,G){return this.disallowInAnd(()=>this.parseMaybeAssign(J,G))}parseMaybeAssignAllowIn(J,G){return this.allowInAnd(()=>this.parseMaybeAssign(J,G))}setOptionalParametersError(J,G){var X;J.optionalParametersLoc=(X=G==null?void 0:G.loc)!=null?X:this.state.startLoc}parseMaybeAssign(J,G){let X=this.state.startLoc;if(this.isContextual(108)){if(this.prodParam.hasYield){let Q=this.parseYield();if(G)Q=G.call(this,Q,X);return Q}}let H;if(J)H=!1;else J=new z5,H=!0;let{type:V}=this.state;if(V===10||j1(V))this.state.potentialArrowAt=this.state.start;let Z=this.parseMaybeConditional(J);if(G)Z=G.call(this,Z,X);if(u81(this.state.type)){let Q=this.startNodeAt(X),Y=this.state.value;if(Q.operator=Y,this.match(29)){this.toAssignable(Z,!0),Q.left=Z;let W=X.index;if(J.doubleProtoLoc!=null&&J.doubleProtoLoc.index>=W)J.doubleProtoLoc=null;if(J.shorthandAssignLoc!=null&&J.shorthandAssignLoc.index>=W)J.shorthandAssignLoc=null;if(J.privateKeyLoc!=null&&J.privateKeyLoc.index>=W)this.checkDestructuringPrivate(J),J.privateKeyLoc=null}else Q.left=Z;return this.next(),Q.right=this.parseMaybeAssign(),this.checkLVal(Z,this.finishNode(Q,"AssignmentExpression")),Q}else if(H)this.checkExpressionErrors(J,!0);return Z}parseMaybeConditional(J){let G=this.state.startLoc,X=this.state.potentialArrowAt,H=this.parseExprOps(J);if(this.shouldExitDescending(H,X))return H;return this.parseConditional(H,G,J)}parseConditional(J,G,X){if(this.eat(17)){let H=this.startNodeAt(G);return H.test=J,H.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),H.alternate=this.parseMaybeAssign(),this.finishNode(H,"ConditionalExpression")}return J}parseMaybeUnaryOrPrivate(J){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(J)}parseExprOps(J){let G=this.state.startLoc,X=this.state.potentialArrowAt,H=this.parseMaybeUnaryOrPrivate(J);if(this.shouldExitDescending(H,X))return H;return this.parseExprOp(H,G,-1)}parseExprOp(J,G,X){if(this.isPrivateName(J)){let V=this.getPrivateNameSV(J);if(X>=U9(58)||!this.prodParam.hasIn||!this.match(58))this.raise(j.PrivateInExpectedIn,J,{identifierName:V});this.classScope.usePrivateName(V,J.loc.start)}let H=this.state.type;if(y81(H)&&(this.prodParam.hasIn||!this.match(58))){let V=U9(H);if(V>X){if(H===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return J;this.checkPipelineAtInfixOperator(J,G)}let Z=this.startNodeAt(G);Z.left=J,Z.operator=this.state.value;let Q=H===41||H===42,Y=H===40;if(Y)V=U9(42);if(this.next(),H===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait)throw this.raise(j.UnexpectedAwaitAfterPipelineBody,this.state.startLoc)}Z.right=this.parseExprOpRightExpr(H,V);let W=this.finishNode(Z,Q||Y?"LogicalExpression":"BinaryExpression"),z=this.state.type;if(Y&&(z===41||z===42)||Q&&z===40)throw this.raise(j.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(W,G,X)}}return J}parseExprOpRightExpr(J,G){let X=this.state.startLoc;switch(J){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>{return this.parseHackPipeBody()});case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(j.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(J,G),X)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(G)})}default:return this.parseExprOpBaseRightExpr(J,G)}}parseExprOpBaseRightExpr(J,G){let X=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),X,i81(J)?G-1:G)}parseHackPipeBody(){var J;let{startLoc:G}=this.state,X=this.parseMaybeAssign();if(N81.has(X.type)&&!((J=X.extra)!=null&&J.parenthesized))this.raise(j.PipeUnparenthesizedBody,G,{type:X.type});if(!this.topicReferenceWasUsedInCurrentContext())this.raise(j.PipeTopicUnused,G);return X}checkExponentialAfterUnary(J){if(this.match(57))this.raise(j.UnexpectedTokenUnaryExponentiation,J.argument)}parseMaybeUnary(J,G){let X=this.state.startLoc,H=this.isContextual(96);if(H&&this.recordAwaitIfAllowed()){this.next();let Y=this.parseAwait(X);if(!G)this.checkExponentialAfterUnary(Y);return Y}let V=this.match(34),Z=this.startNode();if(m81(this.state.type)){if(Z.operator=this.state.value,Z.prefix=!0,this.match(72))this.expectPlugin("throwExpressions");let Y=this.match(89);if(this.next(),Z.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(J,!0),this.state.strict&&Y){let W=Z.argument;if(W.type==="Identifier")this.raise(j.StrictDelete,Z);else if(this.hasPropertyAsPrivateName(W))this.raise(j.DeletePrivateField,Z)}if(!V){if(!G)this.checkExponentialAfterUnary(Z);return this.finishNode(Z,"UnaryExpression")}}let Q=this.parseUpdate(Z,V,J);if(H){let{type:Y}=this.state;if((this.hasPlugin("v8intrinsic")?L8(Y):L8(Y)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(j.AwaitNotInAsyncContext,X),this.parseAwait(X)}return Q}parseUpdate(J,G,X){if(G){let Z=J;return this.checkLVal(Z.argument,this.finishNode(Z,"UpdateExpression")),J}let H=this.state.startLoc,V=this.parseExprSubscripts(X);if(this.checkExpressionErrors(X,!1))return V;while(x81(this.state.type)&&!this.canInsertSemicolon()){let Z=this.startNodeAt(H);Z.operator=this.state.value,Z.prefix=!1,Z.argument=V,this.next(),this.checkLVal(V,V=this.finishNode(Z,"UpdateExpression"))}return V}parseExprSubscripts(J){let G=this.state.startLoc,X=this.state.potentialArrowAt,H=this.parseExprAtom(J);if(this.shouldExitDescending(H,X))return H;return this.parseSubscripts(H,G)}parseSubscripts(J,G,X){let H={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(J),stop:!1};do J=this.parseSubscript(J,G,X,H),H.maybeAsyncArrow=!1;while(!H.stop);return J}parseSubscript(J,G,X,H){let{type:V}=this.state;if(!X&&V===15)return this.parseBind(J,G,X,H);else if(R9(V))return this.parseTaggedTemplateExpression(J,G,H);let Z=!1;if(V===18){if(X){if(this.raise(j.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40)return H.stop=!0,J}H.optionalChainMember=Z=!0,this.next()}if(!X&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(J,G,H,Z);else{let Q=this.eat(0);if(Q||Z||this.eat(16))return this.parseMember(J,G,H,Q,Z);else return H.stop=!0,J}}parseMember(J,G,X,H,V){let Z=this.startNodeAt(G);if(Z.object=J,Z.computed=H,H)Z.property=this.parseExpression(),this.expect(3);else if(this.match(138)){if(J.type==="Super")this.raise(j.SuperPrivateField,G);this.classScope.usePrivateName(this.state.value,this.state.startLoc),Z.property=this.parsePrivateName()}else Z.property=this.parseIdentifier(!0);if(X.optionalChainMember)return Z.optional=V,this.finishNode(Z,"OptionalMemberExpression");else return this.finishNode(Z,"MemberExpression")}parseBind(J,G,X,H){let V=this.startNodeAt(G);return V.object=J,this.next(),V.callee=this.parseNoCallExpr(),H.stop=!0,this.parseSubscripts(this.finishNode(V,"BindExpression"),G,X)}parseCoverCallAndAsyncArrowHead(J,G,X,H){let V=this.state.maybeInArrowParameters,Z=null;this.state.maybeInArrowParameters=!0,this.next();let Q=this.startNodeAt(G);Q.callee=J;let{maybeAsyncArrow:Y,optionalChainMember:W}=X;if(Y)this.expressionScope.enter(KJ1()),Z=new z5;if(W)Q.optional=H;if(H)Q.arguments=this.parseCallExpressionArguments(11);else Q.arguments=this.parseCallExpressionArguments(11,J.type==="Import",J.type!=="Super",Q,Z);let z=this.finishCallExpression(Q,W);if(Y&&this.shouldParseAsyncArrow()&&!H)X.stop=!0,this.checkDestructuringPrivate(Z),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),z=this.parseAsyncArrowFromCallExpression(this.startNodeAt(G),z);else{if(Y)this.checkExpressionErrors(Z,!0),this.expressionScope.exit();this.toReferencedArguments(z)}return this.state.maybeInArrowParameters=V,z}toReferencedArguments(J,G){this.toReferencedListDeep(J.arguments,G)}parseTaggedTemplateExpression(J,G,X){let H=this.startNodeAt(G);if(H.tag=J,H.quasi=this.parseTemplate(!0),X.optionalChainMember)this.raise(j.OptionalChainingNoTemplate,G);return this.finishNode(H,"TaggedTemplateExpression")}atPossibleAsyncArrow(J){return J.type==="Identifier"&&J.name==="async"&&this.state.lastTokEndLoc.index===J.end&&!this.canInsertSemicolon()&&J.end-J.start===5&&J.start===this.state.potentialArrowAt}finishCallExpression(J,G){if(J.callee.type==="Import"){if(J.arguments.length===2){if(!(this.hasPlugin("moduleAttributes")||this.hasPlugin("importAssertions")))this.expectPlugin("importAttributes")}if(J.arguments.length===0||J.arguments.length>2)this.raise(j.ImportCallArity,J,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let X of J.arguments)if(X.type==="SpreadElement")this.raise(j.ImportCallSpreadArgument,X)}return this.finishNode(J,G?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(J,G,X,H,V){let Z=[],Q=!0,Y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;while(!this.eat(J)){if(Q)Q=!1;else if(this.expect(12),this.match(J)){if(G&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes"))this.raise(j.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc);if(H)this.addTrailingCommaExtraToNode(H);this.next();break}Z.push(this.parseExprListItem(!1,V,X))}return this.state.inFSharpPipelineDirectBody=Y,Z}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(J,G){var X;if(this.resetPreviousNodeTrailingComments(G),this.expect(19),this.parseArrowExpression(J,G.arguments,!0,(X=G.extra)==null?void 0:X.trailingCommaLoc),G.innerComments)U5(J,G.innerComments);if(G.callee.trailingComments)U5(J,G.callee.trailingComments);return J}parseNoCallExpr(){let J=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),J,!0)}parseExprAtom(J){let G,X=null,{type:H}=this.state;switch(H){case 79:return this.parseSuper();case 83:if(G=this.startNode(),this.next(),this.match(16))return this.parseImportMetaProperty(G);if(this.match(10))if(this.options.createImportExpressions)return this.parseImportCall(G);else return this.finishNode(G,"Import");else return this.raise(j.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(G,"Import");case 78:return G=this.startNode(),this.next(),this.finishNode(G,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let V=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(V)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,J);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,J);case 68:return this.parseFunctionOrFunctionSent();case 26:X=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(X,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{G=this.startNode(),this.next(),G.object=null;let V=G.callee=this.parseNoCallExpr();if(V.type==="MemberExpression")return this.finishNode(G,"BindExpression");else throw this.raise(j.UnsupportedBind,V)}case 138:return this.raise(j.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let V=this.getPluginOption("pipelineOperator","proposal");if(V)return this.parseTopicReference(V);this.unexpected();break}case 47:{let V=this.input.codePointAt(this.nextTokenStart());if(L2(V)||V===62)this.expectOnePlugin(["jsx","flow","typescript"]);else this.unexpected();break}default:if(H===136)return this.parseDecimalLiteral(this.state.value);if(j1(H)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let V=this.state.potentialArrowAt===this.state.start,Z=this.state.containsEsc,Q=this.parseIdentifier();if(!Z&&Q.name==="async"&&!this.canInsertSemicolon()){let{type:Y}=this.state;if(Y===68)return this.resetPreviousNodeTrailingComments(Q),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(Q));else if(j1(Y))if(this.lookaheadCharCode()===61)return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(Q));else return Q;else if(Y===90)return this.resetPreviousNodeTrailingComments(Q),this.parseDo(this.startNodeAtNode(Q),!0)}if(V&&this.match(19)&&!this.canInsertSemicolon())return this.next(),this.parseArrowExpression(this.startNodeAtNode(Q),[Q],!1);return Q}else this.unexpected()}}parseTopicReferenceThenEqualsSign(J,G){let X=this.getPluginOption("pipelineOperator","proposal");if(X)return this.state.type=J,this.state.value=G,this.state.pos--,this.state.end--,this.state.endLoc=i1(this.state.endLoc,-1),this.parseTopicReference(X);else this.unexpected()}parseTopicReference(J){let G=this.startNode(),X=this.state.startLoc,H=this.state.type;return this.next(),this.finishTopicReference(G,X,J,H)}finishTopicReference(J,G,X,H){if(this.testTopicReferenceConfiguration(X,G,H)){let V=X==="smart"?"PipelinePrimaryTopicReference":"TopicReference";if(!this.topicReferenceIsAllowedInCurrentContext())this.raise(X==="smart"?j.PrimaryTopicNotAllowed:j.PipeTopicUnbound,G);return this.registerTopicReference(),this.finishNode(J,V)}else throw this.raise(j.PipeTopicUnconfiguredToken,G,{token:l2(H)})}testTopicReferenceConfiguration(J,G,X){switch(J){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:l2(X)}]);case"smart":return X===27;default:throw this.raise(j.PipeTopicRequiresHackPipes,G)}}parseAsyncArrowUnaryFunction(J){this.prodParam.enter(B9(!0,this.prodParam.hasYield));let G=[this.parseIdentifier()];if(this.prodParam.exit(),this.hasPrecedingLineBreak())this.raise(j.LineTerminatorBeforeArrow,this.state.curPosition());return this.expect(19),this.parseArrowExpression(J,G,!0)}parseDo(J,G){if(this.expectPlugin("doExpressions"),G)this.expectPlugin("asyncDoExpressions");J.async=G,this.next();let X=this.state.labels;if(this.state.labels=[],G)this.prodParam.enter(2),J.body=this.parseBlock(),this.prodParam.exit();else J.body=this.parseBlock();return this.state.labels=X,this.finishNode(J,"DoExpression")}parseSuper(){let J=this.startNode();if(this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod)this.raise(j.SuperNotAllowed,J);else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod)this.raise(j.UnexpectedSuper,J);if(!this.match(10)&&!this.match(0)&&!this.match(16))this.raise(j.UnsupportedSuper,J);return this.finishNode(J,"Super")}parsePrivateName(){let J=this.startNode(),G=this.startNodeAt(i1(this.state.startLoc,1)),X=this.state.value;return this.next(),J.id=this.createIdentifier(G,X),this.finishNode(J,"PrivateName")}parseFunctionOrFunctionSent(){let J=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let G=this.createIdentifier(this.startNodeAtNode(J),"function");if(this.next(),this.match(103))this.expectPlugin("functionSent");else if(!this.hasPlugin("functionSent"))this.unexpected();return this.parseMetaProperty(J,G,"sent")}return this.parseFunction(J)}parseMetaProperty(J,G,X){J.meta=G;let H=this.state.containsEsc;if(J.property=this.parseIdentifier(!0),J.property.name!==X||H)this.raise(j.UnsupportedMetaProperty,J.property,{target:G.name,onlyValidPropertyName:X});return this.finishNode(J,"MetaProperty")}parseImportMetaProperty(J){let G=this.createIdentifier(this.startNodeAtNode(J),"import");if(this.next(),this.isContextual(101)){if(!this.inModule)this.raise(j.ImportMetaOutsideModule,G);this.sawUnambiguousESM=!0}else if(this.isContextual(105)||this.isContextual(97)){let X=this.isContextual(105);if(!X)this.unexpected();if(this.expectPlugin(X?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(j.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),J.phase=X?"source":"defer",this.parseImportCall(J)}return this.parseMetaProperty(J,G,"meta")}parseLiteralAtNode(J,G,X){return this.addExtra(X,"rawValue",J),this.addExtra(X,"raw",this.input.slice(X.start,this.state.end)),X.value=J,this.next(),this.finishNode(X,G)}parseLiteral(J,G){let X=this.startNode();return this.parseLiteralAtNode(J,G,X)}parseStringLiteral(J){return this.parseLiteral(J,"StringLiteral")}parseNumericLiteral(J){return this.parseLiteral(J,"NumericLiteral")}parseBigIntLiteral(J){return this.parseLiteral(J,"BigIntLiteral")}parseDecimalLiteral(J){return this.parseLiteral(J,"DecimalLiteral")}parseRegExpLiteral(J){let G=this.startNode();return this.addExtra(G,"raw",this.input.slice(G.start,this.state.end)),G.pattern=J.pattern,G.flags=J.flags,this.next(),this.finishNode(G,"RegExpLiteral")}parseBooleanLiteral(J){let G=this.startNode();return G.value=J,this.next(),this.finishNode(G,"BooleanLiteral")}parseNullLiteral(){let J=this.startNode();return this.next(),this.finishNode(J,"NullLiteral")}parseParenAndDistinguishExpression(J){let G=this.state.startLoc,X;this.next(),this.expressionScope.enter(zJ1());let H=this.state.maybeInArrowParameters,V=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let Z=this.state.startLoc,Q=[],Y=new z5,W=!0,z,U;while(!this.match(11)){if(W)W=!1;else if(this.expect(12,Y.optionalParametersLoc===null?null:Y.optionalParametersLoc),this.match(11)){U=this.state.startLoc;break}if(this.match(21)){let D=this.state.startLoc;if(z=this.state.startLoc,Q.push(this.parseParenItem(this.parseRestBinding(),D)),!this.checkCommaAfterRest(41))break}else Q.push(this.parseMaybeAssignAllowIn(Y,this.parseParenItem))}let F=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=H,this.state.inFSharpPipelineDirectBody=V;let A=this.startNodeAt(G);if(J&&this.shouldParseArrow(Q)&&(A=this.parseArrow(A)))return this.checkDestructuringPrivate(Y),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(A,Q,!1),A;if(this.expressionScope.exit(),!Q.length)this.unexpected(this.state.lastTokStartLoc);if(U)this.unexpected(U);if(z)this.unexpected(z);if(this.checkExpressionErrors(Y,!0),this.toReferencedListDeep(Q,!0),Q.length>1)X=this.startNodeAt(Z),X.expressions=Q,this.finishNode(X,"SequenceExpression"),this.resetEndLocation(X,F);else X=Q[0];return this.wrapParenthesis(G,X)}wrapParenthesis(J,G){if(!this.options.createParenthesizedExpressions)return this.addExtra(G,"parenthesized",!0),this.addExtra(G,"parenStart",J.index),this.takeSurroundingComments(G,J.index,this.state.lastTokEndLoc.index),G;let X=this.startNodeAt(J);return X.expression=G,this.finishNode(X,"ParenthesizedExpression")}shouldParseArrow(J){return!this.canInsertSemicolon()}parseArrow(J){if(this.eat(19))return J}parseParenItem(J,G){return J}parseNewOrNewTarget(){let J=this.startNode();if(this.next(),this.match(16)){let G=this.createIdentifier(this.startNodeAtNode(J),"new");this.next();let X=this.parseMetaProperty(J,G,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction)this.raise(j.UnexpectedNewTarget,X);return X}return this.parseNew(J)}parseNew(J){if(this.parseNewCallee(J),this.eat(10)){let G=this.parseExprList(11);this.toReferencedList(G),J.arguments=G}else J.arguments=[];return this.finishNode(J,"NewExpression")}parseNewCallee(J){let G=this.match(83),X=this.parseNoCallExpr();if(J.callee=X,G&&(X.type==="Import"||X.type==="ImportExpression"))this.raise(j.ImportCallNotNewExpression,X)}parseTemplateElement(J){let{start:G,startLoc:X,end:H,value:V}=this.state,Z=G+1,Q=this.startNodeAt(i1(X,1));if(V===null){if(!J)this.raise(j.InvalidEscapeSequenceTemplate,i1(this.state.firstInvalidTemplateEscapePos,1))}let Y=this.match(24),W=Y?-1:-2,z=H+W;Q.value={raw:this.input.slice(Z,z).replace(/\r\n?/g,"\n"),cooked:V===null?null:V.slice(1,W)},Q.tail=Y,this.next();let U=this.finishNode(Q,"TemplateElement");return this.resetEndLocation(U,i1(this.state.lastTokEndLoc,W)),U}parseTemplate(J){let G=this.startNode(),X=this.parseTemplateElement(J),H=[X],V=[];while(!X.tail)V.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),H.push(X=this.parseTemplateElement(J));return G.expressions=V,G.quasis=H,this.finishNode(G,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(J,G,X,H){if(X)this.expectPlugin("recordAndTuple");let V=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let Z=Object.create(null),Q=!0,Y=this.startNode();Y.properties=[],this.next();while(!this.match(J)){if(Q)Q=!1;else if(this.expect(12),this.match(J)){this.addTrailingCommaExtraToNode(Y);break}let z;if(G)z=this.parseBindingProperty();else z=this.parsePropertyDefinition(H),this.checkProto(z,X,Z,H);if(X&&!this.isObjectProperty(z)&&z.type!=="SpreadElement")this.raise(j.InvalidRecordProperty,z);if(z.shorthand)this.addExtra(z,"shorthand",!0);Y.properties.push(z)}this.next(),this.state.inFSharpPipelineDirectBody=V;let W="ObjectExpression";if(G)W="ObjectPattern";else if(X)W="RecordExpression";return this.finishNode(Y,W)}addTrailingCommaExtraToNode(J){this.addExtra(J,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(J,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(J){return!J.computed&&J.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(J){let G=[];if(this.match(26)){if(this.hasPlugin("decorators"))this.raise(j.UnsupportedPropertyDecorator,this.state.startLoc);while(this.match(26))G.push(this.parseDecorator())}let X=this.startNode(),H=!1,V=!1,Z;if(this.match(21)){if(G.length)this.unexpected();return this.parseSpread()}if(G.length)X.decorators=G,G=[];if(X.method=!1,J)Z=this.state.startLoc;let Q=this.eat(55);this.parsePropertyNamePrefixOperator(X);let Y=this.state.containsEsc;if(this.parsePropertyName(X,J),!Q&&!Y&&this.maybeAsyncOrAccessorProp(X)){let{key:W}=X,z=W.name;if(z==="async"&&!this.hasPrecedingLineBreak())H=!0,this.resetPreviousNodeTrailingComments(W),Q=this.eat(55),this.parsePropertyName(X);if(z==="get"||z==="set"){if(V=!0,this.resetPreviousNodeTrailingComments(W),X.kind=z,this.match(55))Q=!0,this.raise(j.AccessorIsGenerator,this.state.curPosition(),{kind:z}),this.next();this.parsePropertyName(X)}}return this.parseObjPropValue(X,Z,Q,H,!1,V,J)}getGetterSetterExpectedParamCount(J){return J.kind==="get"?0:1}getObjectOrClassMethodParams(J){return J.params}checkGetterSetterParams(J){var G;let X=this.getGetterSetterExpectedParamCount(J),H=this.getObjectOrClassMethodParams(J);if(H.length!==X)this.raise(J.kind==="get"?j.BadGetterArity:j.BadSetterArity,J);if(J.kind==="set"&&((G=H[H.length-1])==null?void 0:G.type)==="RestElement")this.raise(j.BadSetterRestParameter,J)}parseObjectMethod(J,G,X,H,V){if(V){let Z=this.parseMethod(J,G,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(Z),Z}if(X||G||this.match(10)){if(H)this.unexpected();return J.kind="method",J.method=!0,this.parseMethod(J,G,X,!1,!1,"ObjectMethod")}}parseObjectProperty(J,G,X,H){if(J.shorthand=!1,this.eat(14))return J.value=X?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(H),this.finishNode(J,"ObjectProperty");if(!J.computed&&J.key.type==="Identifier"){if(this.checkReservedWord(J.key.name,J.key.loc.start,!0,!1),X)J.value=this.parseMaybeDefault(G,E2(J.key));else if(this.match(29)){let V=this.state.startLoc;if(H!=null){if(H.shorthandAssignLoc===null)H.shorthandAssignLoc=V}else this.raise(j.InvalidCoverInitializedName,V);J.value=this.parseMaybeDefault(G,E2(J.key))}else J.value=E2(J.key);return J.shorthand=!0,this.finishNode(J,"ObjectProperty")}}parseObjPropValue(J,G,X,H,V,Z,Q){let Y=this.parseObjectMethod(J,X,H,V,Z)||this.parseObjectProperty(J,G,V,Q);if(!Y)this.unexpected();return Y}parsePropertyName(J,G){if(this.eat(0))J.computed=!0,J.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:X,value:H}=this.state,V;if(U2(X))V=this.parseIdentifier(!0);else switch(X){case 134:V=this.parseNumericLiteral(H);break;case 133:V=this.parseStringLiteral(H);break;case 135:V=this.parseBigIntLiteral(H);break;case 138:{let Z=this.state.startLoc;if(G!=null){if(G.privateKeyLoc===null)G.privateKeyLoc=Z}else this.raise(j.UnexpectedPrivateField,Z);V=this.parsePrivateName();break}default:if(X===136){V=this.parseDecimalLiteral(H);break}this.unexpected()}if(J.key=V,X!==138)J.computed=!1}}initFunction(J,G){J.id=null,J.generator=!1,J.async=G}parseMethod(J,G,X,H,V,Z,Q=!1){this.initFunction(J,X),J.generator=G,this.scope.enter(18|(Q?64:0)|(V?32:0)),this.prodParam.enter(B9(X,J.generator)),this.parseFunctionParams(J,H);let Y=this.parseFunctionBodyAndFinish(J,Z,!0);return this.prodParam.exit(),this.scope.exit(),Y}parseArrayLike(J,G,X,H){if(X)this.expectPlugin("recordAndTuple");let V=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let Z=this.startNode();return this.next(),Z.elements=this.parseExprList(J,!X,H,Z),this.state.inFSharpPipelineDirectBody=V,this.finishNode(Z,X?"TupleExpression":"ArrayExpression")}parseArrowExpression(J,G,X,H){this.scope.enter(6);let V=B9(X,!1);if(!this.match(5)&&this.prodParam.hasIn)V|=8;this.prodParam.enter(V),this.initFunction(J,X);let Z=this.state.maybeInArrowParameters;if(G)this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(J,G,H);return this.state.maybeInArrowParameters=!1,this.parseFunctionBody(J,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=Z,this.finishNode(J,"ArrowFunctionExpression")}setArrowFunctionParameters(J,G,X){this.toAssignableList(G,X,!1),J.params=G}parseFunctionBodyAndFinish(J,G,X=!1){return this.parseFunctionBody(J,!1,X),this.finishNode(J,G)}parseFunctionBody(J,G,X=!1){let H=G&&!this.match(5);if(this.expressionScope.enter(eV()),H)J.body=this.parseMaybeAssign(),this.checkParams(J,!1,G,!1);else{let V=this.state.strict,Z=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),J.body=this.parseBlock(!0,!1,(Q)=>{let Y=!this.isSimpleParamList(J.params);if(Q&&Y)this.raise(j.IllegalLanguageModeDirective,(J.kind==="method"||J.kind==="constructor")&&!!J.key?J.key.loc.end:J);let W=!V&&this.state.strict;if(this.checkParams(J,!this.state.strict&&!G&&!X&&!Y,G,W),this.state.strict&&J.id)this.checkIdentifier(J.id,65,W)}),this.prodParam.exit(),this.state.labels=Z}this.expressionScope.exit()}isSimpleParameter(J){return J.type==="Identifier"}isSimpleParamList(J){for(let G=0,X=J.length;G<X;G++)if(!this.isSimpleParameter(J[G]))return!1;return!0}checkParams(J,G,X,H=!0){let V=!G&&new Set,Z={type:"FormalParameters"};for(let Q of J.params)this.checkLVal(Q,Z,5,V,H)}parseExprList(J,G,X,H){let V=[],Z=!0;while(!this.eat(J)){if(Z)Z=!1;else if(this.expect(12),this.match(J)){if(H)this.addTrailingCommaExtraToNode(H);this.next();break}V.push(this.parseExprListItem(G,X))}return V}parseExprListItem(J,G,X){let H;if(this.match(12)){if(!J)this.raise(j.UnexpectedToken,this.state.curPosition(),{unexpected:","});H=null}else if(this.match(21)){let V=this.state.startLoc;H=this.parseParenItem(this.parseSpread(G),V)}else if(this.match(17)){if(this.expectPlugin("partialApplication"),!X)this.raise(j.UnexpectedArgumentPlaceholder,this.state.startLoc);let V=this.startNode();this.next(),H=this.finishNode(V,"ArgumentPlaceholder")}else H=this.parseMaybeAssignAllowIn(G,this.parseParenItem);return H}parseIdentifier(J){let G=this.startNode(),X=this.parseIdentifierName(J);return this.createIdentifier(G,X)}createIdentifier(J,G){return J.name=G,J.loc.identifierName=G,this.finishNode(J,"Identifier")}parseIdentifierName(J){let G,{startLoc:X,type:H}=this.state;if(U2(H))G=this.state.value;else this.unexpected();let V=g81(H);if(J){if(V)this.replaceToken(132)}else this.checkReservedWord(G,X,V,!1);return this.next(),G}checkReservedWord(J,G,X,H){if(J.length>10)return;if(!JJ1(J))return;if(X&&n81(J)){this.raise(j.UnexpectedKeyword,G,{keyword:J});return}if((!this.state.strict?hV:H?mV:yV)(J,this.inModule)){this.raise(j.UnexpectedReservedWord,G,{reservedWord:J});return}else if(J==="yield"){if(this.prodParam.hasYield){this.raise(j.YieldBindingIdentifier,G);return}}else if(J==="await"){if(this.prodParam.hasAwait){this.raise(j.AwaitBindingIdentifier,G);return}if(this.scope.inStaticBlock){this.raise(j.AwaitBindingIdentifierInStaticBlock,G);return}this.expressionScope.recordAsyncArrowParametersError(G)}else if(J==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(j.ArgumentsInClass,G);return}}}recordAwaitIfAllowed(){let J=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;if(J&&!this.scope.inFunction)this.state.hasTopLevelAwait=!0;return J}parseAwait(J){let G=this.startNodeAt(J);if(this.expressionScope.recordParameterInitializerError(j.AwaitExpressionFormalParameter,G),this.eat(55))this.raise(j.ObsoleteAwaitStar,G);if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction)if(this.isAmbiguousAwait())this.ambiguousScriptDifferentAst=!0;else this.sawUnambiguousESM=!0;if(!this.state.soloAwait)G.argument=this.parseMaybeUnary(null,!0);return this.finishNode(G,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:J}=this.state;return J===53||J===10||J===0||R9(J)||J===102&&!this.state.containsEsc||J===137||J===56||this.hasPlugin("v8intrinsic")&&J===54}parseYield(){let J=this.startNode();this.expressionScope.recordParameterInitializerError(j.YieldInParameter,J),this.next();let G=!1,X=null;if(!this.hasPrecedingLineBreak())switch(G=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!G)break;default:X=this.parseMaybeAssign()}return J.delegate=G,J.argument=X,this.finishNode(J,"YieldExpression")}parseImportCall(J){if(this.next(),J.source=this.parseMaybeAssignAllowIn(),this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))J.options=null;if(this.eat(12)){if(!(this.hasPlugin("moduleAttributes")||this.hasPlugin("importAssertions")))this.expectPlugin("importAttributes");if(!this.match(11))J.options=this.parseMaybeAssignAllowIn(),this.eat(12)}return this.expect(11),this.finishNode(J,"ImportExpression")}checkPipelineAtInfixOperator(J,G){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){if(J.type==="SequenceExpression")this.raise(j.PipelineHeadSequenceExpression,G)}}parseSmartPipelineBodyInStyle(J,G){if(this.isSimpleReference(J)){let X=this.startNodeAt(G);return X.callee=J,this.finishNode(X,"PipelineBareFunction")}else{let X=this.startNodeAt(G);return this.checkSmartPipeTopicBodyEarlyErrors(G),X.expression=J,this.finishNode(X,"PipelineTopicExpression")}}isSimpleReference(J){switch(J.type){case"MemberExpression":return!J.computed&&this.isSimpleReference(J.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(J){if(this.match(19))throw this.raise(j.PipelineBodyNoArrow,this.state.startLoc);if(!this.topicReferenceWasUsedInCurrentContext())this.raise(j.PipelineTopicUnused,J)}withTopicBindingContext(J){let G=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return J()}finally{this.state.topicContext=G}}withSmartMixTopicForbiddingContext(J){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let G=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return J()}finally{this.state.topicContext=G}}else return J()}withSoloAwaitPermittingContext(J){let G=this.state.soloAwait;this.state.soloAwait=!0;try{return J()}finally{this.state.soloAwait=G}}allowInAnd(J){let G=this.prodParam.currentFlags();if(8&~G){this.prodParam.enter(G|8);try{return J()}finally{this.prodParam.exit()}}return J()}disallowInAnd(J){let G=this.prodParam.currentFlags();if(8&G){this.prodParam.enter(G&-9);try{return J()}finally{this.prodParam.exit()}}return J()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(J){let G=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let X=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let H=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),G,J);return this.state.inFSharpPipelineDirectBody=X,H}parseModuleExpression(){this.expectPlugin("moduleBlocks");let J=this.startNode();if(this.next(),!this.match(5))this.unexpected(null,5);let G=this.startNodeAt(this.state.endLoc);this.next();let X=this.initializeScopes(!0);this.enterInitialScopes();try{J.body=this.parseProgram(G,8,"module")}finally{X()}return this.finishNode(J,"ModuleExpression")}parsePropertyNamePrefixOperator(J){}}var T8={kind:1},vJ1={kind:2},gJ1=/[\uD800-\uDFFF]/u,w8=/in(?:stanceof)?/y;function _J1(J,G){for(let X=0;X<J.length;X++){let H=J[X],{type:V}=H;if(typeof V==="number"){{if(V===138){let{loc:Z,start:Q,value:Y,end:W}=H,z=Q+1,U=i1(Z.start,1);J.splice(X,1,new T2({type:N2(27),value:"#",start:Q,end:z,startLoc:Z.start,endLoc:U}),new T2({type:N2(132),value:Y,start:z,end:W,startLoc:U,endLoc:Z.end})),X++;continue}if(R9(V)){let{loc:Z,start:Q,value:Y,end:W}=H,z=Q+1,U=i1(Z.start,1),F;if(G.charCodeAt(Q)===96)F=new T2({type:N2(22),value:"`",start:Q,end:z,startLoc:Z.start,endLoc:U});else F=new T2({type:N2(8),value:"}",start:Q,end:z,startLoc:Z.start,endLoc:U});let A,D,I,_;if(V===24)D=W-1,I=i1(Z.end,-1),A=Y===null?null:Y.slice(1,-1),_=new T2({type:N2(22),value:"`",start:D,end:W,startLoc:I,endLoc:Z.end});else D=W-2,I=i1(Z.end,-2),A=Y===null?null:Y.slice(1,-2),_=new T2({type:N2(23),value:"${",start:D,end:W,startLoc:I,endLoc:Z.end});J.splice(X,1,F,new T2({type:N2(20),value:A,start:z,end:D,startLoc:U,endLoc:I}),_),X+=2;continue}}H.type=N2(V)}}return J}class UZ extends KZ{parseTopLevel(J,G){if(J.program=this.parseProgram(G),J.comments=this.comments,this.options.tokens)J.tokens=_J1(this.tokens,this.input);return this.finishNode(J,"File")}parseProgram(J,G=139,X=this.options.sourceType){if(J.sourceType=X,J.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(J,!0,!0,G),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[V,Z]of Array.from(this.scope.undefinedExports))this.raise(j.ModuleExportUndefined,Z,{localName:V});this.addExtra(J,"topLevelAwait",this.state.hasTopLevelAwait)}let H;if(G===139)H=this.finishNode(J,"Program");else H=this.finishNodeAt(J,"Program",i1(this.state.startLoc,-1));return H}stmtToDirective(J){let G=J;G.type="Directive",G.value=G.expression,delete G.expression;let X=G.value,H=X.value,V=this.input.slice(X.start,X.end),Z=X.value=V.slice(1,-1);return this.addExtra(X,"raw",V),this.addExtra(X,"rawValue",Z),this.addExtra(X,"expressionValue",H),X.type="DirectiveLiteral",G}parseInterpreterDirective(){if(!this.match(28))return null;let J=this.startNode();return J.value=this.state.value,this.next(),this.finishNode(J,"InterpreterDirective")}isLet(){if(!this.isContextual(100))return!1;return this.hasFollowingBindingAtom()}chStartsBindingIdentifier(J,G){if(L2(J)){if(w8.lastIndex=G,w8.test(this.input)){let X=this.codePointAtPos(w8.lastIndex);if(!D0(X)&&X!==92)return!1}return!0}else if(J===92)return!0;else return!1}chStartsBindingPattern(J){return J===91||J===123}hasFollowingBindingAtom(){let J=this.nextTokenStart(),G=this.codePointAtPos(J);return this.chStartsBindingPattern(G)||this.chStartsBindingIdentifier(G,J)}hasInLineFollowingBindingIdentifierOrBrace(){let J=this.nextTokenInLineStart(),G=this.codePointAtPos(J);return G===123||this.chStartsBindingIdentifier(G,J)}startsUsingForOf(){let{type:J,containsEsc:G}=this.lookahead();if(J===102&&!G)return!1;else if(j1(J)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let J=this.nextTokenInLineStart();if(this.isUnparsedContextual(J,"using")){J=this.nextTokenInLineStartSince(J+5);let G=this.codePointAtPos(J);if(this.chStartsBindingIdentifier(G,J))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(J=!1){let G=0;if(this.options.annexB&&!this.state.strict){if(G|=4,J)G|=8}return this.parseStatementLike(G)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(J){let G=null;if(this.match(26))G=this.parseDecorators(!0);return this.parseStatementContent(J,G)}parseStatementContent(J,G){let X=this.state.type,H=this.startNode(),V=!!(J&2),Z=!!(J&4),Q=J&1;switch(X){case 60:return this.parseBreakContinueStatement(H,!0);case 63:return this.parseBreakContinueStatement(H,!1);case 64:return this.parseDebuggerStatement(H);case 90:return this.parseDoWhileStatement(H);case 91:return this.parseForStatement(H);case 68:if(this.lookaheadCharCode()===46)break;if(!Z)this.raise(this.state.strict?j.StrictFunction:this.options.annexB?j.SloppyFunctionAnnexB:j.SloppyFunction,this.state.startLoc);return this.parseFunctionStatement(H,!1,!V&&Z);case 80:if(!V)this.unexpected();return this.parseClass(this.maybeTakeDecorators(G,H),!0);case 69:return this.parseIfStatement(H);case 70:return this.parseReturnStatement(H);case 71:return this.parseSwitchStatement(H);case 72:return this.parseThrowStatement(H);case 73:return this.parseTryStatement(H);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing()){if(!this.recordAwaitIfAllowed())this.raise(j.AwaitUsingNotInAsyncContext,H);else if(!V)this.raise(j.UnexpectedLexicalDeclaration,H);return this.next(),this.parseVarStatement(H,"await using")}break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;if(this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel)this.raise(j.UnexpectedUsingDeclaration,this.state.startLoc);else if(!V)this.raise(j.UnexpectedLexicalDeclaration,this.state.startLoc);return this.parseVarStatement(H,"using");case 100:{if(this.state.containsEsc)break;let z=this.nextTokenStart(),U=this.codePointAtPos(z);if(U!==91){if(!V&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(U,z)&&U!==123)break}}case 75:if(!V)this.raise(j.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let z=this.state.value;return this.parseVarStatement(H,z)}case 92:return this.parseWhileStatement(H);case 76:return this.parseWithStatement(H);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(H);case 83:{let z=this.lookaheadCharCode();if(z===40||z===46)break}case 82:{if(!this.options.allowImportExportEverywhere&&!Q)this.raise(j.UnexpectedImportExport,this.state.startLoc);this.next();let z;if(X===83){if(z=this.parseImport(H),z.type==="ImportDeclaration"&&(!z.importKind||z.importKind==="value"))this.sawUnambiguousESM=!0}else if(z=this.parseExport(H,G),z.type==="ExportNamedDeclaration"&&(!z.exportKind||z.exportKind==="value")||z.type==="ExportAllDeclaration"&&(!z.exportKind||z.exportKind==="value")||z.type==="ExportDefaultDeclaration")this.sawUnambiguousESM=!0;return this.assertModuleNodeAllowed(z),z}default:if(this.isAsyncFunction()){if(!V)this.raise(j.AsyncFunctionInSingleStatementContext,this.state.startLoc);return this.next(),this.parseFunctionStatement(H,!0,!V&&Z)}}let Y=this.state.value,W=this.parseExpression();if(j1(X)&&W.type==="Identifier"&&this.eat(14))return this.parseLabeledStatement(H,Y,W,J);else return this.parseExpressionStatement(H,W,G)}assertModuleNodeAllowed(J){if(!this.options.allowImportExportEverywhere&&!this.inModule)this.raise(j.ImportOutsideModule,J)}decoratorsEnabledBeforeExport(){if(this.hasPlugin("decorators-legacy"))return!0;return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(J,G,X){if(J){if(G.decorators&&G.decorators.length>0){if(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!=="boolean")this.raise(j.DecoratorsBeforeAfterExport,G.decorators[0]);G.decorators.unshift(...J)}else G.decorators=J;if(this.resetStartLocationFromNode(G,J[0]),X)this.resetStartLocationFromNode(X,G)}return G}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(J){let G=[];do G.push(this.parseDecorator());while(this.match(26));if(this.match(82)){if(!J)this.unexpected();if(!this.decoratorsEnabledBeforeExport())this.raise(j.DecoratorExportClass,this.state.startLoc)}else if(!this.canHaveLeadingDecorator())throw this.raise(j.UnexpectedLeadingDecorator,this.state.startLoc);return G}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let J=this.startNode();if(this.next(),this.hasPlugin("decorators")){let G=this.state.startLoc,X;if(this.match(10)){let H=this.state.startLoc;this.next(),X=this.parseExpression(),this.expect(11),X=this.wrapParenthesis(H,X);let V=this.state.startLoc;if(J.expression=this.parseMaybeDecoratorArguments(X),this.getPluginOption("decorators","allowCallParenthesized")===!1&&J.expression!==X)this.raise(j.DecoratorArgumentsOutsideParentheses,V)}else{X=this.parseIdentifier(!1);while(this.eat(16)){let H=this.startNodeAt(G);if(H.object=X,this.match(138))this.classScope.usePrivateName(this.state.value,this.state.startLoc),H.property=this.parsePrivateName();else H.property=this.parseIdentifier(!0);H.computed=!1,X=this.finishNode(H,"MemberExpression")}J.expression=this.parseMaybeDecoratorArguments(X)}}else J.expression=this.parseExprSubscripts();return this.finishNode(J,"Decorator")}parseMaybeDecoratorArguments(J){if(this.eat(10)){let G=this.startNodeAtNode(J);return G.callee=J,G.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(G.arguments),this.finishNode(G,"CallExpression")}return J}parseBreakContinueStatement(J,G){if(this.next(),this.isLineTerminator())J.label=null;else J.label=this.parseIdentifier(),this.semicolon();return this.verifyBreakContinue(J,G),this.finishNode(J,G?"BreakStatement":"ContinueStatement")}verifyBreakContinue(J,G){let X;for(X=0;X<this.state.labels.length;++X){let H=this.state.labels[X];if(J.label==null||H.name===J.label.name){if(H.kind!=null&&(G||H.kind===1))break;if(J.label&&G)break}}if(X===this.state.labels.length){let H=G?"BreakStatement":"ContinueStatement";this.raise(j.IllegalBreakContinue,J,{type:H})}}parseDebuggerStatement(J){return this.next(),this.semicolon(),this.finishNode(J,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let J=this.parseExpression();return this.expect(11),J}parseDoWhileStatement(J){return this.next(),this.state.labels.push(T8),J.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),J.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(J,"DoWhileStatement")}parseForStatement(J){this.next(),this.state.labels.push(T8);let G=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed())G=this.state.startLoc,this.next();if(this.scope.enter(0),this.expect(10),this.match(13)){if(G!==null)this.unexpected(G);return this.parseFor(J,null)}let X=this.isContextual(100);{let Y=this.isContextual(96)&&this.startsAwaitUsing(),W=Y||this.isContextual(107)&&this.startsUsingForOf(),z=X&&this.hasFollowingBindingAtom()||W;if(this.match(74)||this.match(75)||z){let U=this.startNode(),F;if(Y){if(F="await using",!this.recordAwaitIfAllowed())this.raise(j.AwaitUsingNotInAsyncContext,this.state.startLoc);this.next()}else F=this.state.value;this.next(),this.parseVar(U,!0,F);let A=this.finishNode(U,"VariableDeclaration"),D=this.match(58);if(D&&W)this.raise(j.ForInUsing,A);if((D||this.isContextual(102))&&A.declarations.length===1)return this.parseForIn(J,A,G);if(G!==null)this.unexpected(G);return this.parseFor(J,A)}}let H=this.isContextual(95),V=new z5,Z=this.parseExpression(!0,V),Q=this.isContextual(102);if(Q){if(X)this.raise(j.ForOfLet,Z);if(G===null&&H&&Z.type==="Identifier")this.raise(j.ForOfAsync,Z)}if(Q||this.match(58)){this.checkDestructuringPrivate(V),this.toAssignable(Z,!0);let Y=Q?"ForOfStatement":"ForInStatement";return this.checkLVal(Z,{type:Y}),this.parseForIn(J,Z,G)}else this.checkExpressionErrors(V,!0);if(G!==null)this.unexpected(G);return this.parseFor(J,Z)}parseFunctionStatement(J,G,X){return this.next(),this.parseFunction(J,1|(X?2:0)|(G?8:0))}parseIfStatement(J){return this.next(),J.test=this.parseHeaderExpression(),J.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),J.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(J,"IfStatement")}parseReturnStatement(J){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction)this.raise(j.IllegalReturn,this.state.startLoc);if(this.next(),this.isLineTerminator())J.argument=null;else J.argument=this.parseExpression(),this.semicolon();return this.finishNode(J,"ReturnStatement")}parseSwitchStatement(J){this.next(),J.discriminant=this.parseHeaderExpression();let G=J.cases=[];this.expect(5),this.state.labels.push(vJ1),this.scope.enter(0);let X;for(let H;!this.match(8);)if(this.match(61)||this.match(65)){let V=this.match(61);if(X)this.finishNode(X,"SwitchCase");if(G.push(X=this.startNode()),X.consequent=[],this.next(),V)X.test=this.parseExpression();else{if(H)this.raise(j.MultipleDefaultsInSwitch,this.state.lastTokStartLoc);H=!0,X.test=null}this.expect(14)}else if(X)X.consequent.push(this.parseStatementListItem());else this.unexpected();if(this.scope.exit(),X)this.finishNode(X,"SwitchCase");return this.next(),this.state.labels.pop(),this.finishNode(J,"SwitchStatement")}parseThrowStatement(J){if(this.next(),this.hasPrecedingLineBreak())this.raise(j.NewlineAfterThrow,this.state.lastTokEndLoc);return J.argument=this.parseExpression(),this.semicolon(),this.finishNode(J,"ThrowStatement")}parseCatchClauseParam(){let J=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&J.type==="Identifier"?8:0),this.checkLVal(J,{type:"CatchClause"},9),J}parseTryStatement(J){if(this.next(),J.block=this.parseBlock(),J.handler=null,this.match(62)){let G=this.startNode();if(this.next(),this.match(10))this.expect(10),G.param=this.parseCatchClauseParam(),this.expect(11);else G.param=null,this.scope.enter(0);G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),J.handler=this.finishNode(G,"CatchClause")}if(J.finalizer=this.eat(67)?this.parseBlock():null,!J.handler&&!J.finalizer)this.raise(j.NoCatchOrFinally,J);return this.finishNode(J,"TryStatement")}parseVarStatement(J,G,X=!1){return this.next(),this.parseVar(J,!1,G,X),this.semicolon(),this.finishNode(J,"VariableDeclaration")}parseWhileStatement(J){return this.next(),J.test=this.parseHeaderExpression(),this.state.labels.push(T8),J.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(J,"WhileStatement")}parseWithStatement(J){if(this.state.strict)this.raise(j.StrictWith,this.state.startLoc);return this.next(),J.object=this.parseHeaderExpression(),J.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(J,"WithStatement")}parseEmptyStatement(J){return this.next(),this.finishNode(J,"EmptyStatement")}parseLabeledStatement(J,G,X,H){for(let Z of this.state.labels)if(Z.name===G)this.raise(j.LabelRedeclaration,X,{labelName:G});let V=h81(this.state.type)?1:this.match(71)?2:null;for(let Z=this.state.labels.length-1;Z>=0;Z--){let Q=this.state.labels[Z];if(Q.statementStart===J.start)Q.statementStart=this.state.start,Q.kind=V;else break}return this.state.labels.push({name:G,kind:V,statementStart:this.state.start}),J.body=H&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),J.label=X,this.finishNode(J,"LabeledStatement")}parseExpressionStatement(J,G,X){return J.expression=G,this.semicolon(),this.finishNode(J,"ExpressionStatement")}parseBlock(J=!1,G=!0,X){let H=this.startNode();if(J)this.state.strictErrors.clear();if(this.expect(5),G)this.scope.enter(0);if(this.parseBlockBody(H,J,!1,8,X),G)this.scope.exit();return this.finishNode(H,"BlockStatement")}isValidDirective(J){return J.type==="ExpressionStatement"&&J.expression.type==="StringLiteral"&&!J.expression.extra.parenthesized}parseBlockBody(J,G,X,H,V){let Z=J.body=[],Q=J.directives=[];this.parseBlockOrModuleBlockBody(Z,G?Q:void 0,X,H,V)}parseBlockOrModuleBlockBody(J,G,X,H,V){let Z=this.state.strict,Q=!1,Y=!1;while(!this.match(H)){let W=X?this.parseModuleItem():this.parseStatementListItem();if(G&&!Y){if(this.isValidDirective(W)){let z=this.stmtToDirective(W);if(G.push(z),!Q&&z.value.value==="use strict")Q=!0,this.setStrict(!0);continue}Y=!0,this.state.strictErrors.clear()}J.push(W)}if(V==null||V.call(this,Q),!Z)this.setStrict(!1);this.next()}parseFor(J,G){return J.init=G,this.semicolon(!1),J.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),J.update=this.match(11)?null:this.parseExpression(),this.expect(11),J.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(J,"ForStatement")}parseForIn(J,G,X){let H=this.match(58);if(this.next(),H){if(X!==null)this.unexpected(X)}else J.await=X!==null;if(G.type==="VariableDeclaration"&&G.declarations[0].init!=null&&(!H||!this.options.annexB||this.state.strict||G.kind!=="var"||G.declarations[0].id.type!=="Identifier"))this.raise(j.ForInOfLoopInitializer,G,{type:H?"ForInStatement":"ForOfStatement"});if(G.type==="AssignmentPattern")this.raise(j.InvalidLhs,G,{ancestor:{type:"ForStatement"}});return J.left=G,J.right=H?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),J.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(J,H?"ForInStatement":"ForOfStatement")}parseVar(J,G,X,H=!1){let V=J.declarations=[];J.kind=X;for(;;){let Z=this.startNode();if(this.parseVarId(Z,X),Z.init=!this.eat(29)?null:G?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn(),Z.init===null&&!H){if(Z.id.type!=="Identifier"&&!(G&&(this.match(58)||this.isContextual(102))))this.raise(j.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"});else if((X==="const"||X==="using"||X==="await using")&&!(this.match(58)||this.isContextual(102)))this.raise(j.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:X})}if(V.push(this.finishNode(Z,"VariableDeclarator")),!this.eat(12))break}return J}parseVarId(J,G){let X=this.parseBindingAtom();if(G==="using"||G==="await using"){if(X.type==="ArrayPattern"||X.type==="ObjectPattern")this.raise(j.UsingDeclarationHasBindingPattern,X.loc.start)}this.checkLVal(X,{type:"VariableDeclarator"},G==="var"?5:8201),J.id=X}parseAsyncFunctionExpression(J){return this.parseFunction(J,8)}parseFunction(J,G=0){let X=G&2,H=!!(G&1),V=H&&!(G&4),Z=!!(G&8);if(this.initFunction(J,Z),this.match(55)){if(X)this.raise(j.GeneratorInSingleStatementContext,this.state.startLoc);this.next(),J.generator=!0}if(H)J.id=this.parseFunctionId(V);let Q=this.state.maybeInArrowParameters;if(this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(B9(Z,J.generator)),!H)J.id=this.parseFunctionId();if(this.parseFunctionParams(J,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(J,H?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),H&&!X)this.registerFunctionStatementId(J);return this.state.maybeInArrowParameters=Q,J}parseFunctionId(J){return J||j1(this.state.type)?this.parseIdentifier():null}parseFunctionParams(J,G){this.expect(10),this.expressionScope.enter(WJ1()),J.params=this.parseBindingList(11,41,2|(G?4:0)),this.expressionScope.exit()}registerFunctionStatementId(J){if(!J.id)return;this.scope.declareName(J.id.name,!this.options.annexB||this.state.strict||J.generator||J.async?this.scope.treatFunctionsAsVar?5:8201:17,J.id.loc.start)}parseClass(J,G,X){this.next();let H=this.state.strict;return this.state.strict=!0,this.parseClassId(J,G,X),this.parseClassSuper(J),J.body=this.parseClassBody(!!J.superClass,H),this.finishNode(J,G?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(J){return J.type==="Identifier"&&J.name==="constructor"||J.type==="StringLiteral"&&J.value==="constructor"}isNonstaticConstructor(J){return!J.computed&&!J.static&&this.nameIsConstructor(J.key)}parseClassBody(J,G){this.classScope.enter();let X={hadConstructor:!1,hadSuperClass:J},H=[],V=this.startNode();if(V.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{while(!this.match(8)){if(this.eat(13)){if(H.length>0)throw this.raise(j.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){H.push(this.parseDecorator());continue}let Z=this.startNode();if(H.length)Z.decorators=H,this.resetStartLocationFromNode(Z,H[0]),H=[];if(this.parseClassMember(V,Z,X),Z.kind==="constructor"&&Z.decorators&&Z.decorators.length>0)this.raise(j.DecoratorConstructor,Z)}}),this.state.strict=G,this.next(),H.length)throw this.raise(j.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(V,"ClassBody")}parseClassMemberFromModifier(J,G){let X=this.parseIdentifier(!0);if(this.isClassMethod()){let H=G;return H.kind="method",H.computed=!1,H.key=X,H.static=!1,this.pushClassMethod(J,H,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let H=G;return H.computed=!1,H.key=X,H.static=!1,J.body.push(this.parseClassProperty(H)),!0}return this.resetPreviousNodeTrailingComments(X),!1}parseClassMember(J,G,X){let H=this.isContextual(106);if(H){if(this.parseClassMemberFromModifier(J,G))return;if(this.eat(5)){this.parseClassStaticBlock(J,G);return}}this.parseClassMemberWithIsStatic(J,G,X,H)}parseClassMemberWithIsStatic(J,G,X,H){let V=G,Z=G,Q=G,Y=G,W=G,z=V,U=V;if(G.static=H,this.parsePropertyNamePrefixOperator(G),this.eat(55)){z.kind="method";let f=this.match(138);if(this.parseClassElementName(z),f){this.pushClassPrivateMethod(J,Z,!0,!1);return}if(this.isNonstaticConstructor(V))this.raise(j.ConstructorIsGenerator,V.key);this.pushClassMethod(J,V,!0,!1,!1,!1);return}let F=!this.state.containsEsc&&j1(this.state.type),A=this.parseClassElementName(G),D=F?A.name:null,I=this.isPrivateName(A),_=this.state.startLoc;if(this.parsePostMemberNameModifiers(U),this.isClassMethod()){if(z.kind="method",I){this.pushClassPrivateMethod(J,Z,!1,!1);return}let f=this.isNonstaticConstructor(V),w=!1;if(f){if(V.kind="constructor",X.hadConstructor&&!this.hasPlugin("typescript"))this.raise(j.DuplicateConstructor,A);if(f&&this.hasPlugin("typescript")&&G.override)this.raise(j.OverrideOnConstructor,A);X.hadConstructor=!0,w=X.hadSuperClass}this.pushClassMethod(J,V,!1,!1,f,w)}else if(this.isClassProperty())if(I)this.pushClassPrivateProperty(J,Y);else this.pushClassProperty(J,Q);else if(D==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(A);let f=this.eat(55);if(U.optional)this.unexpected(_);z.kind="method";let w=this.match(138);if(this.parseClassElementName(z),this.parsePostMemberNameModifiers(U),w)this.pushClassPrivateMethod(J,Z,f,!0);else{if(this.isNonstaticConstructor(V))this.raise(j.ConstructorIsAsync,V.key);this.pushClassMethod(J,V,f,!0,!1,!1)}}else if((D==="get"||D==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(A),z.kind=D;let f=this.match(138);if(this.parseClassElementName(V),f)this.pushClassPrivateMethod(J,Z,!1,!1);else{if(this.isNonstaticConstructor(V))this.raise(j.ConstructorIsAccessor,V.key);this.pushClassMethod(J,V,!1,!1,!1,!1)}this.checkGetterSetterParams(V)}else if(D==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(A);let f=this.match(138);this.parseClassElementName(Q),this.pushClassAccessorProperty(J,W,f)}else if(this.isLineTerminator())if(I)this.pushClassPrivateProperty(J,Y);else this.pushClassProperty(J,Q);else this.unexpected()}parseClassElementName(J){let{type:G,value:X}=this.state;if((G===132||G===133)&&J.static&&X==="prototype")this.raise(j.StaticPrototype,this.state.startLoc);if(G===138){if(X==="constructor")this.raise(j.ConstructorClassPrivateField,this.state.startLoc);let H=this.parsePrivateName();return J.key=H,H}return this.parsePropertyName(J),J.key}parseClassStaticBlock(J,G){var X;this.scope.enter(208);let H=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let V=G.body=[];if(this.parseBlockOrModuleBlockBody(V,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=H,J.body.push(this.finishNode(G,"StaticBlock")),(X=G.decorators)!=null&&X.length)this.raise(j.DecoratorStaticBlock,G)}pushClassProperty(J,G){if(!G.computed&&this.nameIsConstructor(G.key))this.raise(j.ConstructorClassField,G.key);J.body.push(this.parseClassProperty(G))}pushClassPrivateProperty(J,G){let X=this.parseClassPrivateProperty(G);J.body.push(X),this.classScope.declarePrivateName(this.getPrivateNameSV(X.key),0,X.key.loc.start)}pushClassAccessorProperty(J,G,X){if(!X&&!G.computed&&this.nameIsConstructor(G.key))this.raise(j.ConstructorClassField,G.key);let H=this.parseClassAccessorProperty(G);if(J.body.push(H),X)this.classScope.declarePrivateName(this.getPrivateNameSV(H.key),0,H.key.loc.start)}pushClassMethod(J,G,X,H,V,Z){J.body.push(this.parseMethod(G,X,H,V,Z,"ClassMethod",!0))}pushClassPrivateMethod(J,G,X,H){let V=this.parseMethod(G,X,H,!1,!1,"ClassPrivateMethod",!0);J.body.push(V);let Z=V.kind==="get"?V.static?6:2:V.kind==="set"?V.static?5:1:0;this.declareClassPrivateMethodInScope(V,Z)}declareClassPrivateMethodInScope(J,G){this.classScope.declarePrivateName(this.getPrivateNameSV(J.key),G,J.key.loc.start)}parsePostMemberNameModifiers(J){}parseClassPrivateProperty(J){return this.parseInitializer(J),this.semicolon(),this.finishNode(J,"ClassPrivateProperty")}parseClassProperty(J){return this.parseInitializer(J),this.semicolon(),this.finishNode(J,"ClassProperty")}parseClassAccessorProperty(J){return this.parseInitializer(J),this.semicolon(),this.finishNode(J,"ClassAccessorProperty")}parseInitializer(J){this.scope.enter(80),this.expressionScope.enter(eV()),this.prodParam.enter(0),J.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(J,G,X,H=8331){if(j1(this.state.type)){if(J.id=this.parseIdentifier(),G)this.declareNameFromIdentifier(J.id,H)}else if(X||!G)J.id=null;else throw this.raise(j.MissingClassName,this.state.startLoc)}parseClassSuper(J){J.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(J,G){let X=this.parseMaybeImportPhase(J,!0),H=this.maybeParseExportDefaultSpecifier(J,X),V=!H||this.eat(12),Z=V&&this.eatExportStar(J),Q=Z&&this.maybeParseExportNamespaceSpecifier(J),Y=V&&(!Q||this.eat(12)),W=H||Z;if(Z&&!Q){if(H)this.unexpected();if(G)throw this.raise(j.UnsupportedDecoratorExport,J);return this.parseExportFrom(J,!0),this.finishNode(J,"ExportAllDeclaration")}let z=this.maybeParseExportNamedSpecifiers(J);if(H&&V&&!Z&&!z)this.unexpected(null,5);if(Q&&Y)this.unexpected(null,98);let U;if(W||z){if(U=!1,G)throw this.raise(j.UnsupportedDecoratorExport,J);this.parseExportFrom(J,W)}else U=this.maybeParseExportDeclaration(J);if(W||z||U){var F;let A=J;if(this.checkExport(A,!0,!1,!!A.source),((F=A.declaration)==null?void 0:F.type)==="ClassDeclaration")this.maybeTakeDecorators(G,A.declaration,A);else if(G)throw this.raise(j.UnsupportedDecoratorExport,J);return this.finishNode(A,"ExportNamedDeclaration")}if(this.eat(65)){let A=J,D=this.parseExportDefaultExpression();if(A.declaration=D,D.type==="ClassDeclaration")this.maybeTakeDecorators(G,D,A);else if(G)throw this.raise(j.UnsupportedDecoratorExport,J);return this.checkExport(A,!0,!0),this.finishNode(A,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(J){return this.eat(55)}maybeParseExportDefaultSpecifier(J,G){if(G||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",G==null?void 0:G.loc.start);let X=G||this.parseIdentifier(!0),H=this.startNodeAtNode(X);return H.exported=X,J.specifiers=[this.finishNode(H,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(J){if(this.isContextual(93)){var G,X;(X=(G=J).specifiers)!=null||(G.specifiers=[]);let H=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),H.exported=this.parseModuleExportName(),J.specifiers.push(this.finishNode(H,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(J){if(this.match(5)){let G=J;if(!G.specifiers)G.specifiers=[];let X=G.exportKind==="type";if(G.specifiers.push(...this.parseExportSpecifiers(X)),G.source=null,G.declaration=null,this.hasPlugin("importAssertions"))G.assertions=[];return!0}return!1}maybeParseExportDeclaration(J){if(this.shouldParseExportDeclaration()){if(J.specifiers=[],J.source=null,this.hasPlugin("importAssertions"))J.assertions=[];return J.declaration=this.parseExportDeclaration(J),!0}return!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let J=this.nextTokenInLineStart();return this.isUnparsedContextual(J,"function")}parseExportDefaultExpression(){let J=this.startNode();if(this.match(68))return this.next(),this.parseFunction(J,5);else if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(J,13);if(this.match(80))return this.parseClass(J,!0,!0);if(this.match(26)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0)this.raise(j.DecoratorBeforeExport,this.state.startLoc);return this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0)}if(this.match(75)||this.match(74)||this.isLet())throw this.raise(j.UnsupportedDefaultExport,this.state.startLoc);let G=this.parseMaybeAssignAllowIn();return this.semicolon(),G}parseExportDeclaration(J){if(this.match(80))return this.parseClass(this.startNode(),!0,!1);return this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:J}=this.state;if(j1(J)){if(J===95&&!this.state.containsEsc||J===100)return!1;if((J===130||J===129)&&!this.state.containsEsc){let{type:H}=this.lookahead();if(j1(H)&&H!==98||H===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let G=this.nextTokenStart(),X=this.isUnparsedContextual(G,"from");if(this.input.charCodeAt(G)===44||j1(this.state.type)&&X)return!0;if(this.match(65)&&X){let H=this.input.charCodeAt(this.nextTokenStartSince(G+4));return H===34||H===39}return!1}parseExportFrom(J,G){if(this.eatContextual(98))J.source=this.parseImportSource(),this.checkExport(J),this.maybeParseImportAttributes(J),this.checkJSONModuleImport(J);else if(G)this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:J}=this.state;if(J===26){if(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")===!0)this.raise(j.DecoratorBeforeExport,this.state.startLoc);return!0}}if(this.isContextual(107))return this.raise(j.UsingDeclarationExport,this.state.startLoc),!0;if(this.isContextual(96)&&this.startsAwaitUsing())return this.raise(j.UsingDeclarationExport,this.state.startLoc),!0;return J===74||J===75||J===68||J===80||this.isLet()||this.isAsyncFunction()}checkExport(J,G,X,H){if(G){var V;if(X){if(this.checkDuplicateExports(J,"default"),this.hasPlugin("exportDefaultFrom")){var Z;let Q=J.declaration;if(Q.type==="Identifier"&&Q.name==="from"&&Q.end-Q.start===4&&!((Z=Q.extra)!=null&&Z.parenthesized))this.raise(j.ExportDefaultFromAsIdentifier,Q)}}else if((V=J.specifiers)!=null&&V.length)for(let Q of J.specifiers){let{exported:Y}=Q,W=Y.type==="Identifier"?Y.name:Y.value;if(this.checkDuplicateExports(Q,W),!H&&Q.local){let{local:z}=Q;if(z.type!=="Identifier")this.raise(j.ExportBindingIsString,Q,{localName:z.value,exportName:W});else this.checkReservedWord(z.name,z.loc.start,!0,!1),this.scope.checkLocalExport(z)}}else if(J.declaration){let Q=J.declaration;if(Q.type==="FunctionDeclaration"||Q.type==="ClassDeclaration"){let{id:Y}=Q;if(!Y)throw new Error("Assertion failure");this.checkDuplicateExports(J,Y.name)}else if(Q.type==="VariableDeclaration")for(let Y of Q.declarations)this.checkDeclaration(Y.id)}}}checkDeclaration(J){if(J.type==="Identifier")this.checkDuplicateExports(J,J.name);else if(J.type==="ObjectPattern")for(let G of J.properties)this.checkDeclaration(G);else if(J.type==="ArrayPattern"){for(let G of J.elements)if(G)this.checkDeclaration(G)}else if(J.type==="ObjectProperty")this.checkDeclaration(J.value);else if(J.type==="RestElement")this.checkDeclaration(J.argument);else if(J.type==="AssignmentPattern")this.checkDeclaration(J.left)}checkDuplicateExports(J,G){if(this.exportedIdentifiers.has(G))if(G==="default")this.raise(j.DuplicateDefaultExport,J);else this.raise(j.DuplicateExport,J,{exportName:G});this.exportedIdentifiers.add(G)}parseExportSpecifiers(J){let G=[],X=!0;this.expect(5);while(!this.eat(8)){if(X)X=!1;else if(this.expect(12),this.eat(8))break;let H=this.isContextual(130),V=this.match(133),Z=this.startNode();Z.local=this.parseModuleExportName(),G.push(this.parseExportSpecifier(Z,V,J,H))}return G}parseExportSpecifier(J,G,X,H){if(this.eatContextual(93))J.exported=this.parseModuleExportName();else if(G)J.exported=BJ1(J.local);else if(!J.exported)J.exported=E2(J.local);return this.finishNode(J,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){let J=this.parseStringLiteral(this.state.value),G=gJ1.exec(J.value);if(G)this.raise(j.ModuleExportNameHasLoneSurrogate,J,{surrogateCharCode:G[0].charCodeAt(0)});return J}return this.parseIdentifier(!0)}isJSONModuleImport(J){if(J.assertions!=null)return J.assertions.some(({key:G,value:X})=>{return X.value==="json"&&(G.type==="Identifier"?G.name==="type":G.value==="type")});return!1}checkImportReflection(J){let{specifiers:G}=J,X=G.length===1?G[0].type:null;if(J.phase==="source"){if(X!=="ImportDefaultSpecifier")this.raise(j.SourcePhaseImportRequiresDefault,G[0].loc.start)}else if(J.phase==="defer"){if(X!=="ImportNamespaceSpecifier")this.raise(j.DeferImportRequiresNamespace,G[0].loc.start)}else if(J.module){var H;if(X!=="ImportDefaultSpecifier")this.raise(j.ImportReflectionNotBinding,G[0].loc.start);if(((H=J.assertions)==null?void 0:H.length)>0)this.raise(j.ImportReflectionHasAssertion,G[0].loc.start)}}checkJSONModuleImport(J){if(this.isJSONModuleImport(J)&&J.type!=="ExportAllDeclaration"){let{specifiers:G}=J;if(G!=null){let X=G.find((H)=>{let V;if(H.type==="ExportSpecifier")V=H.local;else if(H.type==="ImportSpecifier")V=H.imported;if(V!==void 0)return V.type==="Identifier"?V.name!=="default":V.value!=="default"});if(X!==void 0)this.raise(j.ImportJSONBindingNotDefault,X.loc.start)}}}isPotentialImportPhase(J){if(J)return!1;return this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(J,G,X,H){if(G)return;if(X==="module")this.expectPlugin("importReflection",H),J.module=!0;else if(this.hasPlugin("importReflection"))J.module=!1;if(X==="source")this.expectPlugin("sourcePhaseImports",H),J.phase="source";else if(X==="defer")this.expectPlugin("deferredImportEvaluation",H),J.phase="defer";else if(this.hasPlugin("sourcePhaseImports"))J.phase=null}parseMaybeImportPhase(J,G){if(!this.isPotentialImportPhase(G))return this.applyImportPhase(J,G,null),null;let X=this.parseIdentifier(!0),{type:H}=this.state;if(U2(H)?H!==98||this.lookaheadCharCode()===102:H!==12)return this.resetPreviousIdentifierLeadingComments(X),this.applyImportPhase(J,G,X.name,X.loc.start),null;else return this.applyImportPhase(J,G,null),X}isPrecedingIdImportPhase(J){let{type:G}=this.state;return j1(G)?G!==98||this.lookaheadCharCode()===102:G!==12}parseImport(J){if(this.match(133))return this.parseImportSourceAndAttributes(J);return this.parseImportSpecifiersAndAfter(J,this.parseMaybeImportPhase(J,!1))}parseImportSpecifiersAndAfter(J,G){J.specifiers=[];let H=!this.maybeParseDefaultImportSpecifier(J,G)||this.eat(12),V=H&&this.maybeParseStarImportSpecifier(J);if(H&&!V)this.parseNamedImportSpecifiers(J);return this.expectContextual(98),this.parseImportSourceAndAttributes(J)}parseImportSourceAndAttributes(J){var G;return(G=J.specifiers)!=null||(J.specifiers=[]),J.source=this.parseImportSource(),this.maybeParseImportAttributes(J),this.checkImportReflection(J),this.checkJSONModuleImport(J),this.semicolon(),this.finishNode(J,"ImportDeclaration")}parseImportSource(){if(!this.match(133))this.unexpected();return this.parseExprAtom()}parseImportSpecifierLocal(J,G,X){G.local=this.parseIdentifier(),J.specifiers.push(this.finishImportSpecifier(G,X))}finishImportSpecifier(J,G,X=8201){return this.checkLVal(J.local,{type:G},X),this.finishNode(J,G)}parseImportAttributes(){this.expect(5);let J=[],G=new Set;do{if(this.match(8))break;let X=this.startNode(),H=this.state.value;if(G.has(H))this.raise(j.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:H});if(G.add(H),this.match(133))X.key=this.parseStringLiteral(H);else X.key=this.parseIdentifier(!0);if(this.expect(14),!this.match(133))throw this.raise(j.ModuleAttributeInvalidValue,this.state.startLoc);X.value=this.parseStringLiteral(this.state.value),J.push(this.finishNode(X,"ImportAttribute"))}while(this.eat(12));return this.expect(8),J}parseModuleAttributes(){let J=[],G=new Set;do{let X=this.startNode();if(X.key=this.parseIdentifier(!0),X.key.name!=="type")this.raise(j.ModuleAttributeDifferentFromType,X.key);if(G.has(X.key.name))this.raise(j.ModuleAttributesWithDuplicateKeys,X.key,{key:X.key.name});if(G.add(X.key.name),this.expect(14),!this.match(133))throw this.raise(j.ModuleAttributeInvalidValue,this.state.startLoc);X.value=this.parseStringLiteral(this.state.value),J.push(this.finishNode(X,"ImportAttribute"))}while(this.eat(12));return J}maybeParseImportAttributes(J){let G;var X=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;if(this.next(),this.hasPlugin("moduleAttributes"))G=this.parseModuleAttributes();else{if(!this.hasPlugin("importAssertions"))this.expectPlugin("importAttributes");G=this.parseImportAttributes()}X=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){if(this.hasPlugin("importAttributes")){if(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0)this.raise(j.ImportAttributesUseAssert,this.state.startLoc);this.addExtra(J,"deprecatedAssertSyntax",!0)}else this.expectOnePlugin(["importAttributes","importAssertions"]);this.next(),G=this.parseImportAttributes()}else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))G=[];else if(this.hasPlugin("moduleAttributes"))G=[];else return;if(!X&&this.hasPlugin("importAssertions"))J.assertions=G;else J.attributes=G}maybeParseDefaultImportSpecifier(J,G){if(G){let X=this.startNodeAtNode(G);return X.local=G,J.specifiers.push(this.finishImportSpecifier(X,"ImportDefaultSpecifier")),!0}else if(U2(this.state.type))return this.parseImportSpecifierLocal(J,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(J){if(this.match(55)){let G=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(J,G,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(J){let G=!0;this.expect(5);while(!this.eat(8)){if(G)G=!1;else{if(this.eat(14))throw this.raise(j.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let X=this.startNode(),H=this.match(133),V=this.isContextual(130);X.imported=this.parseModuleExportName();let Z=this.parseImportSpecifier(X,H,J.importKind==="type"||J.importKind==="typeof",V,void 0);J.specifiers.push(Z)}}parseImportSpecifier(J,G,X,H,V){if(this.eatContextual(93))J.local=this.parseIdentifier();else{let{imported:Z}=J;if(G)throw this.raise(j.ImportBindingIsString,J,{importName:Z.value});if(this.checkReservedWord(Z.name,J.loc.start,!0,!0),!J.local)J.local=E2(Z)}return this.finishImportSpecifier(J,"ImportSpecifier",V)}isThisParam(J){return J.type==="Identifier"&&J.name==="this"}}class p8 extends UZ{constructor(J,G,X){J=EJ1(J);super(J,G);this.options=J,this.initializeScopes(),this.plugins=X,this.filename=J.sourceFilename}getScopeHandler(){return M9}parse(){this.enterInitialScopes();let J=this.startNode(),G=this.startNode();return this.nextToken(),J.errors=null,this.parseTopLevel(J,G),J.errors=this.state.errors,J.comments.length=this.state.commentsLen,J}}function uJ1(J,G){var X;if(((X=G)==null?void 0:X.sourceType)==="unambiguous"){G=Object.assign({},G);try{G.sourceType="module";let H=Y5(G,J),V=H.parse();if(H.sawUnambiguousESM)return V;if(H.ambiguousScriptDifferentAst)try{return G.sourceType="script",Y5(G,J).parse()}catch(Z){}else V.program.sourceType="script";return V}catch(H){try{return G.sourceType="script",Y5(G,J).parse()}catch(V){}throw H}}else return Y5(G,J).parse()}function hJ1(J,G){let X=Y5(G,J);if(X.options.strictMode)X.state.strict=!0;return X.getExpression()}function yJ1(J){let G={};for(let X of Object.keys(J))G[X]=N2(J[X]);return G}var xJ1=yJ1(v81);function Y5(J,G){let X=p8,H=new Map;if(J!=null&&J.plugins){for(let V of J.plugins){let Z,Q;if(typeof V==="string")Z=V;else[Z,Q]=V;if(!H.has(Z))H.set(Z,Q||{})}LJ1(H),X=mJ1(H)}return new X(J,G,H)}var vV=new Map;function mJ1(J){let G=[];for(let V of kJ1)if(J.has(V))G.push(V);let X=G.join("|"),H=vV.get(X);if(!H){H=p8;for(let V of G)H=zZ[V](H);vV.set(X,H)}return H}BZ.parse=uJ1;BZ.parseExpression=hJ1;BZ.tokTypes=xJ1});var r8=C((RZ)=>{Object.defineProperty(RZ,"__esModule",{value:!0});RZ.Var=RZ.User=RZ.Statement=RZ.SpreadProperty=RZ.Scope=RZ.RestProperty=RZ.ReferencedMemberExpression=RZ.ReferencedIdentifier=RZ.Referenced=RZ.Pure=RZ.NumericLiteralTypeAnnotation=RZ.Generated=RZ.ForAwaitStatement=RZ.Flow=RZ.Expression=RZ.ExistentialTypeParam=RZ.BlockScoped=RZ.BindingIdentifier=void 0;var kq1=RZ.ReferencedIdentifier=["Identifier","JSXIdentifier"],bq1=RZ.ReferencedMemberExpression=["MemberExpression"],Eq1=RZ.BindingIdentifier=["Identifier"],vq1=RZ.Statement=["Statement"],gq1=RZ.Expression=["Expression"],_q1=RZ.Scope=["Scopable","Pattern"],uq1=RZ.Referenced=null,hq1=RZ.BlockScoped=null,yq1=RZ.Var=["VariableDeclaration"],xq1=RZ.User=null,mq1=RZ.Generated=null,cq1=RZ.Pure=null,lq1=RZ.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],iq1=RZ.RestProperty=["RestElement"],aq1=RZ.SpreadProperty=["RestElement"],pq1=RZ.ExistentialTypeParam=["ExistsTypeAnnotation"],rq1=RZ.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],dq1=RZ.ForAwaitStatement=["ForOfStatement"]});var qZ=C((tq1,MZ)=>{var I0=1000,P0=I0*60,f0=P0*60,G0=f0*24,WG1=G0*7,zG1=G0*365.25;MZ.exports=function(J,G){G=G||{};var X=typeof J;if(X==="string"&&J.length>0)return KG1(J);else if(X==="number"&&isFinite(J))return G.long?BG1(J):UG1(J);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(J))};function KG1(J){if(J=String(J),J.length>100)return;var G=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(J);if(!G)return;var X=parseFloat(G[1]),H=(G[2]||"ms").toLowerCase();switch(H){case"years":case"year":case"yrs":case"yr":case"y":return X*zG1;case"weeks":case"week":case"w":return X*WG1;case"days":case"day":case"d":return X*G0;case"hours":case"hour":case"hrs":case"hr":case"h":return X*f0;case"minutes":case"minute":case"mins":case"min":case"m":return X*P0;case"seconds":case"second":case"secs":case"sec":case"s":return X*I0;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return X;default:return}}function UG1(J){var G=Math.abs(J);if(G>=G0)return Math.round(J/G0)+"d";if(G>=f0)return Math.round(J/f0)+"h";if(G>=P0)return Math.round(J/P0)+"m";if(G>=I0)return Math.round(J/I0)+"s";return J+"ms"}function BG1(J){var G=Math.abs(J);if(G>=G0)return F9(J,G,G0,"day");if(G>=f0)return F9(J,G,f0,"hour");if(G>=P0)return F9(J,G,P0,"minute");if(G>=I0)return F9(J,G,I0,"second");return J+" ms"}function F9(J,G,X,H){var V=G>=X*1.5;return Math.round(J/X)+" "+H+(V?"s":"")}});var d8=C((nq1,FZ)=>{function RG1(J){X.debug=X,X.default=X,X.coerce=W,X.disable=Z,X.enable=V,X.enabled=Q,X.humanize=qZ(),X.destroy=z,Object.keys(J).forEach((U)=>{X[U]=J[U]}),X.names=[],X.skips=[],X.formatters={};function G(U){let F=0;for(let A=0;A<U.length;A++)F=(F<<5)-F+U.charCodeAt(A),F|=0;return X.colors[Math.abs(F)%X.colors.length]}X.selectColor=G;function X(U){let F,A=null,D,I;function _(...f){if(!_.enabled)return;let w=_,k=Number(new Date),Q1=k-(F||k);if(w.diff=Q1,w.prev=F,w.curr=k,F=k,f[0]=X.coerce(f[0]),typeof f[0]!=="string")f.unshift("%O");let d=0;f[0]=f[0].replace(/%([a-zA-Z%])/g,($1,T1)=>{if($1==="%%")return"%";d++;let b1=X.formatters[T1];if(typeof b1==="function"){let y=f[d];$1=b1.call(w,y),f.splice(d,1),d--}return $1}),X.formatArgs.call(w,f),(w.log||X.log).apply(w,f)}if(_.namespace=U,_.useColors=X.useColors(),_.color=X.selectColor(U),_.extend=H,_.destroy=X.destroy,Object.defineProperty(_,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(A!==null)return A;if(D!==X.namespaces)D=X.namespaces,I=X.enabled(U);return I},set:(f)=>{A=f}}),typeof X.init==="function")X.init(_);return _}function H(U,F){let A=X(this.namespace+(typeof F==="undefined"?":":F)+U);return A.log=this.log,A}function V(U){X.save(U),X.namespaces=U,X.names=[],X.skips=[];let F,A=(typeof U==="string"?U:"").split(/[\s,]+/),D=A.length;for(F=0;F<D;F++){if(!A[F])continue;if(U=A[F].replace(/\*/g,".*?"),U[0]==="-")X.skips.push(new RegExp("^"+U.slice(1)+"$"));else X.names.push(new RegExp("^"+U+"$"))}}function Z(){let U=[...X.names.map(Y),...X.skips.map(Y).map((F)=>"-"+F)].join(",");return X.enable(""),U}function Q(U){if(U[U.length-1]==="*")return!0;let F,A;for(F=0,A=X.skips.length;F<A;F++)if(X.skips[F].test(U))return!1;for(F=0,A=X.names.length;F<A;F++)if(X.names[F].test(U))return!0;return!1}function Y(U){return U.toString().substring(2,U.toString().length-2).replace(/\.\*\?$/,"*")}function W(U){if(U instanceof Error)return U.stack||U.message;return U}function z(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return X.enable(X.load()),X}FZ.exports=RG1});var OZ=C((jZ,O9)=>{jZ.formatArgs=MG1;jZ.save=qG1;jZ.load=FG1;jZ.useColors=$G1;jZ.storage=jG1();jZ.destroy=(()=>{let J=!1;return()=>{if(!J)J=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();jZ.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function $G1(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let J;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(J=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(J[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function MG1(J){if(J[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+J[0]+(this.useColors?"%c ":" ")+"+"+O9.exports.humanize(this.diff),!this.useColors)return;let G="color: "+this.color;J.splice(1,0,G,"color: inherit");let X=0,H=0;J[0].replace(/%[a-zA-Z%]/g,(V)=>{if(V==="%%")return;if(X++,V==="%c")H=X}),J.splice(H,0,G)}jZ.log=console.debug||console.log||(()=>{});function qG1(J){try{if(J)jZ.storage.setItem("debug",J);else jZ.storage.removeItem("debug")}catch(G){}}function FG1(){let J;try{J=jZ.storage.getItem("debug")}catch(G){}if(!J&&typeof process!=="undefined"&&"env"in process)J="true";return J}function jG1(){try{return localStorage}catch(J){}}O9.exports=d8()(jZ);var{formatters:OG1}=O9.exports;OG1.j=function(J){try{return JSON.stringify(J)}catch(G){return"[UnexpectedJSONParseError]: "+G.message}}});var CZ={};pW(CZ,{default:()=>bG1,createSupportsColor:()=>s8});import t8 from"process";import NG1 from"os";import AZ from"tty";function Z2(J,G=globalThis.Deno?globalThis.Deno.args:t8.argv){let X=J.startsWith("-")?"":J.length===1?"-":"--",H=G.indexOf(X+J),V=G.indexOf("--");return H!==-1&&(V===-1||H<V)}function TG1(){if("FORCE_COLOR"in N1){if(N1.FORCE_COLOR==="true")return 1;if(N1.FORCE_COLOR==="false")return 0;return N1.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(N1.FORCE_COLOR,10),3)}}function wG1(J){if(J===0)return!1;return{level:J,hasBasic:!0,has256:J>=2,has16m:J>=3}}function LG1(J,{streamIsTTY:G,sniffFlags:X=!0}={}){let H=TG1();if(H!==void 0)A9=H;let V=X?A9:H;if(V===0)return 0;if(X){if(Z2("color=16m")||Z2("color=full")||Z2("color=truecolor"))return 3;if(Z2("color=256"))return 2}if("TF_BUILD"in N1&&"AGENT_NAME"in N1)return 1;if(J&&!G&&V===void 0)return 0;let Z=V||0;if(N1.TERM==="dumb")return Z;if(t8.platform==="win32"){let Q=NG1.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in N1){if("GITHUB_ACTIONS"in N1||"GITEA_ACTIONS"in N1)return 3;if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in N1))||N1.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in N1)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(N1.TEAMCITY_VERSION)?1:0;if(N1.COLORTERM==="truecolor")return 3;if(N1.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in N1){let Q=Number.parseInt((N1.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(N1.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(N1.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(N1.TERM))return 1;if("COLORTERM"in N1)return 1;return Z}function s8(J,G={}){let X=LG1(J,{streamIsTTY:J&&J.isTTY,...G});return wG1(X)}var N1,A9,kG1,bG1;var DZ=rW(()=>{({env:N1}=t8);if(Z2("no-color")||Z2("no-colors")||Z2("color=false")||Z2("color=never"))A9=0;else if(Z2("color")||Z2("colors")||Z2("color=true")||Z2("color=always"))A9=1;kG1={stdout:s8({isTTY:AZ.isatty(1)}),stderr:s8({isTTY:AZ.isatty(2)})},bG1=kG1});var fZ=C((IZ,D9)=>{var EG1=import.meta.require("tty"),C9=import.meta.require("util");IZ.init=xG1;IZ.log=uG1;IZ.formatArgs=gG1;IZ.save=hG1;IZ.load=yG1;IZ.useColors=vG1;IZ.destroy=C9.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");IZ.colors=[6,2,3,4,5,1];try{let J=(DZ(),aW(CZ));if(J&&(J.stderr||J).level>=2)IZ.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(J){}IZ.inspectOpts=Object.keys(process.env).filter((J)=>{return/^debug_/i.test(J)}).reduce((J,G)=>{let X=G.substring(6).toLowerCase().replace(/_([a-z])/g,(V,Z)=>{return Z.toUpperCase()}),H=process.env[G];if(/^(yes|on|true|enabled)$/i.test(H))H=!0;else if(/^(no|off|false|disabled)$/i.test(H))H=!1;else if(H==="null")H=null;else H=Number(H);return J[X]=H,J},{});function vG1(){return"colors"in IZ.inspectOpts?Boolean(IZ.inspectOpts.colors):EG1.isatty(process.stderr.fd)}function gG1(J){let{namespace:G,useColors:X}=this;if(X){let H=this.color,V="\x1B[3"+(H<8?H:"8;5;"+H),Z=` ${V};1m${G} \x1B[0m`;J[0]=Z+J[0].split("\n").join("\n"+Z),J.push(V+"m+"+D9.exports.humanize(this.diff)+"\x1B[0m")}else J[0]=_G1()+G+" "+J[0]}function _G1(){if(IZ.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function uG1(...J){return process.stderr.write(C9.formatWithOptions(IZ.inspectOpts,...J)+"\n")}function hG1(J){if(J)process.env.DEBUG=J;else delete"true"}function yG1(){return"true"}function xG1(J){J.inspectOpts={};let G=Object.keys(IZ.inspectOpts);for(let X=0;X<G.length;X++)J.inspectOpts[G[X]]=IZ.inspectOpts[G[X]]}D9.exports=d8()(IZ);var{formatters:SZ}=D9.exports;SZ.o=function(J){return this.inspectOpts.colors=this.useColors,C9.inspect(J,this.inspectOpts).split("\n").map((G)=>G.trim()).join(" ")};SZ.O=function(J){return this.inspectOpts.colors=this.useColors,C9.inspect(J,this.inspectOpts)}});var NZ=C((HF1,n8)=>{if(typeof process==="undefined"||process.type==="renderer"||!1||process.__nwjs)n8.exports=OZ();else n8.exports=fZ()});var e8=C((LZ)=>{Object.defineProperty(LZ,"__esModule",{value:!0});LZ.isBindingIdentifier=qX1;LZ.isBlockScoped=CX1;LZ.isExpression=jX1;LZ.isFlow=fX1;LZ.isForAwaitStatement=wX1;LZ.isGenerated=IX1;LZ.isPure=PX1;LZ.isReferenced=AX1;LZ.isReferencedIdentifier=$X1;LZ.isReferencedMemberExpression=MX1;LZ.isRestProperty=NX1;LZ.isScope=OX1;LZ.isSpreadProperty=TX1;LZ.isStatement=FX1;LZ.isUser=SX1;LZ.isVar=DX1;var dG1=W1(),{isBinding:sG1,isBlockScoped:tG1,isExportDeclaration:nG1,isExpression:oG1,isFlow:eG1,isForStatement:JX1,isForXStatement:GX1,isIdentifier:TZ,isImportDeclaration:XX1,isImportSpecifier:HX1,isJSXIdentifier:VX1,isJSXMemberExpression:ZX1,isMemberExpression:QX1,isRestElement:wZ,isReferenced:o8,isScope:YX1,isStatement:WX1,isVar:zX1,isVariableDeclaration:KX1,react:UX1,isForOfStatement:BX1}=dG1,{isCompatTag:RX1}=UX1;function $X1(J){let{node:G,parent:X}=this;if(!TZ(G,J)&&!ZX1(X,J))if(VX1(G,J)){if(RX1(G.name))return!1}else return!1;return o8(G,X,this.parentPath.parent)}function MX1(){let{node:J,parent:G}=this;return QX1(J)&&o8(J,G)}function qX1(){let{node:J,parent:G}=this,X=this.parentPath.parent;return TZ(J)&&sG1(J,G,X)}function FX1(){let{node:J,parent:G}=this;if(WX1(J)){if(KX1(J)){if(GX1(G,{left:J}))return!1;if(JX1(G,{init:J}))return!1}return!0}else return!1}function jX1(){if(this.isIdentifier())return this.isReferencedIdentifier();else return oG1(this.node)}function OX1(){return YX1(this.node,this.parent)}function AX1(){return o8(this.node,this.parent)}function CX1(){return tG1(this.node)}function DX1(){return zX1(this.node)}function SX1(){return this.node&&!!this.node.loc}function IX1(){return!this.isUser()}function PX1(J){return this.scope.isPure(this.node,J)}function fX1(){let{node:J}=this;if(eG1(J))return!0;else if(XX1(J))return J.importKind==="type"||J.importKind==="typeof";else if(nG1(J))return J.exportKind==="type";else if(HX1(J))return J.importKind==="type"||J.importKind==="typeof";else return!1}function NX1(){var J;return wZ(this.node)&&((J=this.parentPath)==null?void 0:J.isObjectPattern())}function TX1(){var J;return wZ(this.node)&&((J=this.parentPath)==null?void 0:J.isObjectExpression())}function wX1(){return BX1(this.node,{await:!0})}LZ.isExistentialTypeParam=function J(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},LZ.isNumericLiteralTypeAnnotation=function J(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var M5=C((iZ)=>{Object.defineProperty(iZ,"__esModule",{value:!0});iZ.environmentVisitor=eX1;iZ.explode=mZ;iZ.isExplodedVisitor=xZ;iZ.merge=lZ;iZ.verify=cZ;var yZ=r8(),pX1=e8(),rX1=W1(),kZ=O2(),{DEPRECATED_KEYS:bZ,DEPRECATED_ALIASES:EZ,FLIPPED_ALIAS_KEYS:vZ,TYPES:dX1,__internal__deprecationWarning:gZ}=rX1;function sX1(J){return J in yZ}function xZ(J){return J==null?void 0:J._exploded}function mZ(J){if(xZ(J))return J;J._exploded=!0;for(let G of Object.keys(J)){if(H0(G))continue;let X=G.split("|");if(X.length===1)continue;let H=J[G];delete J[G];for(let V of X)J[V]=H}cZ(J),delete J.__esModule,tX1(J),hZ(J);for(let G of Object.keys(J)){if(H0(G))continue;if(!sX1(G))continue;let X=J[G];for(let V of Object.keys(X))X[V]=nX1(G,X[V]);delete J[G];let H=yZ[G];if(H!==null)for(let V of H)if(J[V])$5(J[V],X);else J[V]=X;else $5(J,X)}for(let G of Object.keys(J)){if(H0(G))continue;let X=vZ[G];if(G in bZ){let V=bZ[G];gZ(G,V,"Visitor "),X=[V]}else if(G in EZ){let V=EZ[G];gZ(G,V,"Visitor "),X=vZ[V]}if(!X)continue;let H=J[G];delete J[G];for(let V of X){let Z=J[V];if(Z)$5(Z,H);else J[V]=Object.assign({},H)}}for(let G of Object.keys(J)){if(H0(G))continue;hZ(J[G])}return J}function cZ(J){if(J._verified)return;if(typeof J==="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let G of Object.keys(J)){if(G==="enter"||G==="exit")_Z(G,J[G]);if(H0(G))continue;if(!dX1.includes(G))throw new Error(`You gave us a visitor for the node type ${G} but it's not a valid type in @babel/traverse 7.25.9`);let X=J[G];if(typeof X==="object")for(let H of Object.keys(X))if(H==="enter"||H==="exit")_Z(`${G}.${H}`,X[H]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${G} that has the invalid property ${H}`)}J._verified=!0}function _Z(J,G){let X=[].concat(G);for(let H of X)if(typeof H!=="function")throw new TypeError(`Non-function found defined in ${J} with type ${typeof H}`)}function lZ(J,G=[],X){let H={_verified:!0,_exploded:!0};Object.defineProperty(H,"_exploded",{enumerable:!1}),Object.defineProperty(H,"_verified",{enumerable:!1});for(let V=0;V<J.length;V++){let Z=mZ(J[V]),Q=G[V],Y=Z;if(Q||X)Y=uZ(Y,Q,X);$5(H,Y);for(let W of Object.keys(Z)){if(H0(W))continue;let z=Z[W];if(Q||X)z=uZ(z,Q,X);let U=H[W]||(H[W]={});$5(U,z)}}return H}function uZ(J,G,X){let H={};for(let V of["enter","exit"]){let Z=J[V];if(!Array.isArray(Z))continue;Z=Z.map(function(Q){let Y=Q;if(G)Y=function(W){Q.call(G,W,G)};if(X)Y=X(G==null?void 0:G.key,V,Y);if(Y!==Q)Y.toString=()=>Q.toString();return Y}),H[V]=Z}return H}function tX1(J){for(let G of Object.keys(J)){if(H0(G))continue;let X=J[G];if(typeof X==="function")J[G]={enter:X}}}function hZ(J){if(J.enter&&!Array.isArray(J.enter))J.enter=[J.enter];if(J.exit&&!Array.isArray(J.exit))J.exit=[J.exit]}function nX1(J,G){let X=`is${J}`,H=pX1[X],V=function(Z){if(H.call(Z))return G.apply(this,arguments)};return V.toString=()=>G.toString(),V}function H0(J){if(J[0]==="_")return!0;if(J==="enter"||J==="exit"||J==="shouldSkip")return!0;if(J==="denylist"||J==="noScope"||J==="skipKeys")return!0;if(J==="blacklist")return!0;return!1}function $5(J,G){for(let X of["enter","exit"]){if(!G[X])continue;J[X]=[].concat(J[X]||[],G[X])}}var oX1={FunctionParent(J){if(J.isArrowFunctionExpression())return;if(J.skip(),J.isMethod())if(!J.requeueComputedKeyAndDecorators)kZ.requeueComputedKeyAndDecorators.call(J);else J.requeueComputedKeyAndDecorators()},Property(J){if(J.isObjectProperty())return;if(J.skip(),!J.requeueComputedKeyAndDecorators)kZ.requeueComputedKeyAndDecorators.call(J);else J.requeueComputedKeyAndDecorators()}};function eX1(J){return lZ([oX1,J])}});var dZ=C((pZ)=>{Object.defineProperty(pZ,"__esModule",{value:!0});pZ.default=void 0;var S9=W1(),Z61=S9,Q61=I9(),Y61=M5(),W61=O2(),{getAssignmentIdentifiers:z61}=Z61,K61={ReferencedIdentifier({node:J},G){if(J.name===G.oldName)J.name=G.newName},Scope(J,G){if(!J.scope.bindingIdentifierEquals(G.oldName,G.binding.identifier)){if(J.skip(),J.isMethod())if(!J.requeueComputedKeyAndDecorators)W61.requeueComputedKeyAndDecorators.call(J);else J.requeueComputedKeyAndDecorators()}},ObjectProperty({node:J,scope:G},X){let{name:H}=J.key;if(J.shorthand&&(H===X.oldName||H===X.newName)&&G.getBindingIdentifier(H)===X.binding.identifier){J.shorthand=!1;{var V;if((V=J.extra)!=null&&V.shorthand)J.extra.shorthand=!1}}},"AssignmentExpression|Declaration|VariableDeclarator"(J,G){if(J.isVariableDeclaration())return;let X=J.isAssignmentExpression()?z61(J.node):J.getOuterBindingIdentifiers();for(let H in X)if(H===G.oldName)X[H].name=G.newName}};class aZ{constructor(J,G,X){this.newName=X,this.oldName=G,this.binding=J}maybeConvertFromExportDeclaration(J){let G=J.parentPath;if(!G.isExportDeclaration())return;if(G.isExportDefaultDeclaration()){let{declaration:X}=G.node;if(S9.isDeclaration(X)&&!X.id)return}if(G.isExportAllDeclaration())return;G.splitExportDeclaration()}maybeConvertFromClassFunctionDeclaration(J){return J}maybeConvertFromClassFunctionExpression(J){return J}rename(){let{binding:J,oldName:G,newName:X}=this,{scope:H,path:V}=J,Z=V.find((W)=>W.isDeclaration()||W.isFunctionExpression()||W.isClassExpression());if(Z){if(Z.getOuterBindingIdentifiers()[G]===J.identifier)this.maybeConvertFromExportDeclaration(Z)}let Q=arguments[0]||H.block,Y={discriminant:!0};if(S9.isMethod(Q)){if(Q.computed)Y.key=!0;if(!S9.isObjectMethod(Q))Y.decorators=!0}if(Q61.traverseNode(Q,Y61.explode(K61),H,this,H.path,Y),!arguments[0])H.removeOwnBinding(G),H.bindings[X]=J,this.binding.identifier.name=X;if(Z)this.maybeConvertFromClassFunctionDeclaration(V),this.maybeConvertFromClassFunctionExpression(V)}}pZ.default=aZ});var oZ=C((tZ)=>{Object.defineProperty(tZ,"__esModule",{value:!0});tZ.default=void 0;class sZ{constructor({identifier:J,scope:G,path:X,kind:H}){if(this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=J,this.scope=G,this.path=X,this.kind=H,(H==="var"||H==="hoisted")&&U61(X))this.reassign(X);this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(J){if(this.hasDeoptedValue)return;this.hasValue=!0,this.value=J}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(J){if(this.constant=!1,this.constantViolations.includes(J))return;this.constantViolations.push(J)}reference(J){if(this.referencePaths.includes(J))return;this.referenced=!0,this.references++,this.referencePaths.push(J)}dereference(){this.references--,this.referenced=!!this.references}}tZ.default=sZ;function U61(J){for(let{parentPath:G,key:X}=J;G;{parentPath:G,key:X}=G){if(G.isFunctionParent())return!1;if(G.isWhile()||G.isForXStatement()||G.isForStatement()&&X==="body")return!0}return!1}});var eZ=C((KF1,B61)=>{B61.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}}});var V0=C((X3)=>{Object.defineProperty(X3,"__esModule",{value:!0});X3.clear=$61;X3.clearPath=J3;X3.clearScope=G3;X3.getCachedPaths=M61;X3.getOrCreateCachedPaths=q61;X3.scope=X3.path=void 0;var P9=X3.path=new WeakMap,R61=X3.scope=new WeakMap;function $61(){J3(),G3()}function J3(){X3.path=P9=new WeakMap}function G3(){X3.scope=R61=new WeakMap}var JJ=Object.freeze({});function M61(J,G){var X,H;return J=null,(X=P9.get((H=J)!=null?H:JJ))==null?void 0:X.get(G)}function q61(J,G){var X,H;J=null;let V=P9.get((X=J)!=null?X:JJ);if(!V)P9.set((H=J)!=null?H:JJ,V=new WeakMap);let Z=V.get(G);if(!Z)V.set(G,Z=new Map);return Z}});var ZJ=C((F3)=>{Object.defineProperty(F3,"__esModule",{value:!0});F3.default=void 0;var D61=dZ(),S61=q5(),I61=oZ(),P61=eZ(),B3=W1(),f61=B3,V3=V0(),N61=M5(),{NOT_LOCAL_BINDING:Z3,assignmentExpression:T61,callExpression:Q3,cloneNode:Y3,getBindingIdentifiers:R3,identifier:Q0,isArrayExpression:$3,isBinary:w61,isCallExpression:W3,isClass:L61,isClassBody:k61,isClassDeclaration:b61,isExportAllDeclaration:M3,isExportDefaultDeclaration:E61,isExportNamedDeclaration:XJ,isFunctionDeclaration:v61,isIdentifier:Z0,isImportDeclaration:HJ,isLiteral:g61,isMemberExpression:_61,isMethod:u61,isModuleSpecifier:h61,isNullLiteral:y61,isObjectExpression:x61,isProperty:m61,isPureish:c61,isRegExpLiteral:l61,isSuper:i61,isTaggedTemplateExpression:a61,isTemplateLiteral:q3,isThisExpression:z3,isUnaryExpression:p61,isVariableDeclaration:r61,expressionStatement:d61,matchesPattern:K3,memberExpression:VJ,numericLiteral:s61,toIdentifier:t61,variableDeclaration:n61,variableDeclarator:o61,isRecordExpression:e61,isTupleExpression:J71,isObjectProperty:G71,isTopicReference:U3,isMetaProperty:X71,isPrivateName:H71,isExportDeclaration:V71,buildUndefinedNode:Z71,sequenceExpression:Q71}=B3;function I1(J,G){switch(J==null?void 0:J.type){default:if(HJ(J)||V71(J)){var X;if((M3(J)||XJ(J)||HJ(J))&&J.source)I1(J.source,G);else if((XJ(J)||HJ(J))&&(X=J.specifiers)!=null&&X.length)for(let H of J.specifiers)I1(H,G);else if((E61(J)||XJ(J))&&J.declaration)I1(J.declaration,G)}else if(h61(J))I1(J.local,G);else if(g61(J)&&!y61(J)&&!l61(J)&&!q3(J))G.push(J.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":I1(J.object,G),I1(J.property,G);break;case"Identifier":case"JSXIdentifier":G.push(J.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":I1(J.callee,G);break;case"ObjectExpression":case"ObjectPattern":for(let H of J.properties)I1(H,G);break;case"SpreadElement":case"RestElement":I1(J.argument,G);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":I1(J.key,G);break;case"ThisExpression":G.push("this");break;case"Super":G.push("super");break;case"Import":G.push("import");break;case"DoExpression":G.push("do");break;case"YieldExpression":G.push("yield"),I1(J.argument,G);break;case"AwaitExpression":G.push("await"),I1(J.argument,G);break;case"AssignmentExpression":I1(J.left,G);break;case"VariableDeclarator":I1(J.id,G);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":I1(J.id,G);break;case"PrivateName":I1(J.id,G);break;case"ParenthesizedExpression":I1(J.expression,G);break;case"UnaryExpression":case"UpdateExpression":I1(J.argument,G);break;case"MetaProperty":I1(J.meta,G),I1(J.property,G);break;case"JSXElement":I1(J.openingElement,G);break;case"JSXOpeningElement":I1(J.name,G);break;case"JSXFragment":I1(J.openingFragment,G);break;case"JSXOpeningFragment":G.push("Fragment");break;case"JSXNamespacedName":I1(J.namespace,G),I1(J.name,G);break}}var f9={ForStatement(J){let G=J.get("init");if(G.isVar()){let{scope:X}=J;(X.getFunctionParent()||X.getProgramParent()).registerBinding("var",G)}},Declaration(J){if(J.isBlockScoped())return;if(J.isImportDeclaration())return;if(J.isExportDeclaration())return;(J.scope.getFunctionParent()||J.scope.getProgramParent()).registerDeclaration(J)},ImportDeclaration(J){J.scope.getBlockParent().registerDeclaration(J)},ReferencedIdentifier(J,G){G.references.push(J)},ForXStatement(J,G){let X=J.get("left");if(X.isPattern()||X.isIdentifier())G.constantViolations.push(J);else if(X.isVar()){let{scope:H}=J;(H.getFunctionParent()||H.getProgramParent()).registerBinding("var",X)}},ExportDeclaration:{exit(J){let{node:G,scope:X}=J;if(M3(G))return;let H=G.declaration;if(b61(H)||v61(H)){let V=H.id;if(!V)return;let Z=X.getBinding(V.name);Z==null||Z.reference(J)}else if(r61(H))for(let V of H.declarations)for(let Z of Object.keys(R3(V))){let Q=X.getBinding(Z);Q==null||Q.reference(J)}}},LabeledStatement(J){J.scope.getBlockParent().registerDeclaration(J)},AssignmentExpression(J,G){G.assignments.push(J)},UpdateExpression(J,G){G.constantViolations.push(J)},UnaryExpression(J,G){if(J.node.operator==="delete")G.constantViolations.push(J)},BlockScoped(J){let G=J.scope;if(G.path===J)G=G.parent;if(G.getBlockParent().registerDeclaration(J),J.isClassDeclaration()&&J.node.id){let V=J.node.id.name;J.scope.bindings[V]=J.scope.parent.getBinding(V)}},CatchClause(J){J.scope.registerBinding("let",J)},Function(J){let G=J.get("params");for(let X of G)J.scope.registerBinding("param",X);if(J.isFunctionExpression()&&J.node.id&&!J.node.id[Z3])J.scope.registerBinding("local",J.get("id"),J)},ClassExpression(J){if(J.node.id&&!J.node.id[Z3])J.scope.registerBinding("local",J.get("id"),J)},TSTypeAnnotation(J){J.skip()}},Y71=0;class Q2{constructor(J){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node:G}=J,X=V3.scope.get(G);if((X==null?void 0:X.path)===J)return X;V3.scope.set(G,this),this.uid=Y71++,this.block=G,this.path=J,this.labels=new Map,this.inited=!1}get parent(){var J;let G,X=this.path;do{var H;let V=X.key==="key"||X.listKey==="decorators";if(X=X.parentPath,V&&X.isMethod())X=X.parentPath;if((H=X)!=null&&H.isScope())G=X}while(X&&!G);return(J=G)==null?void 0:J.scope}generateDeclaredUidIdentifier(J){let G=this.generateUidIdentifier(J);return this.push({id:G}),Y3(G)}generateUidIdentifier(J){return Q0(this.generateUid(J))}generateUid(J="temp"){J=t61(J).replace(/^_+/,"").replace(/\d+$/g,"");let G,X=1;do{if(G=`_${J}`,X>1)G+=X;X++}while(this.hasLabel(G)||this.hasBinding(G)||this.hasGlobal(G)||this.hasReference(G));let H=this.getProgramParent();return H.references[G]=!0,H.uids[G]=!0,G}generateUidBasedOnNode(J,G){let X=[];I1(J,X);let H=X.join("$");return H=H.replace(/^_/,"")||G||"ref",this.generateUid(H.slice(0,20))}generateUidIdentifierBasedOnNode(J,G){return Q0(this.generateUidBasedOnNode(J,G))}isStatic(J){if(z3(J)||i61(J)||U3(J))return!0;if(Z0(J)){let G=this.getBinding(J.name);if(G)return G.constant;else return this.hasBinding(J.name)}return!1}maybeGenerateMemoised(J,G){if(this.isStatic(J))return null;else{let X=this.generateUidIdentifierBasedOnNode(J);if(!G)return this.push({id:X}),Y3(X);return X}}checkBlockScopedCollisions(J,G,X,H){if(G==="param")return;if(J.kind==="local")return;if(G==="let"||J.kind==="let"||J.kind==="const"||J.kind==="module"||J.kind==="param"&&G==="const")throw this.path.hub.buildError(H,`Duplicate declaration "${X}"`,TypeError)}rename(J,G){let X=this.getBinding(J);if(X)G||(G=this.generateUidIdentifier(J).name),new D61.default(X,J,G).rename(arguments[2])}dump(){let J="-".repeat(60);console.log(J);let G=this;do{console.log("#",G.block.type);for(let X of Object.keys(G.bindings)){let H=G.bindings[X];console.log(" -",X,{constant:H.constant,references:H.references,violations:H.constantViolations.length,kind:H.kind})}}while(G=G.parent);console.log(J)}hasLabel(J){return!!this.getLabel(J)}getLabel(J){return this.labels.get(J)}registerLabel(J){this.labels.set(J.node.label.name,J)}registerDeclaration(J){if(J.isLabeledStatement())this.registerLabel(J);else if(J.isFunctionDeclaration())this.registerBinding("hoisted",J.get("id"),J);else if(J.isVariableDeclaration()){let G=J.get("declarations"),{kind:X}=J.node;for(let H of G)this.registerBinding(X==="using"||X==="await using"?"const":X,H)}else if(J.isClassDeclaration()){if(J.node.declare)return;this.registerBinding("let",J)}else if(J.isImportDeclaration()){let G=J.node.importKind==="type"||J.node.importKind==="typeof",X=J.get("specifiers");for(let H of X){let V=G||H.isImportSpecifier()&&(H.node.importKind==="type"||H.node.importKind==="typeof");this.registerBinding(V?"unknown":"module",H)}}else if(J.isExportDeclaration()){let G=J.get("declaration");if(G.isClassDeclaration()||G.isFunctionDeclaration()||G.isVariableDeclaration())this.registerDeclaration(G)}else this.registerBinding("unknown",J)}buildUndefinedNode(){return Z71()}registerConstantViolation(J){let G=J.getAssignmentIdentifiers();for(let H of Object.keys(G)){var X;(X=this.getBinding(H))==null||X.reassign(J)}}registerBinding(J,G,X=G){if(!J)throw new ReferenceError("no `kind`");if(G.isVariableDeclaration()){let Z=G.get("declarations");for(let Q of Z)this.registerBinding(J,Q);return}let H=this.getProgramParent(),V=G.getOuterBindingIdentifiers(!0);for(let Z of Object.keys(V)){H.references[Z]=!0;for(let Q of V[Z]){let Y=this.getOwnBinding(Z);if(Y){if(Y.identifier===Q)continue;this.checkBlockScopedCollisions(Y,J,Z,Q)}if(Y)Y.reassign(X);else this.bindings[Z]=new I61.default({identifier:Q,scope:this,path:X,kind:J})}}}addGlobal(J){this.globals[J.name]=J}hasUid(J){let G=this;do if(G.uids[J])return!0;while(G=G.parent);return!1}hasGlobal(J){let G=this;do if(G.globals[J])return!0;while(G=G.parent);return!1}hasReference(J){return!!this.getProgramParent().references[J]}isPure(J,G){if(Z0(J)){let Z=this.getBinding(J.name);if(!Z)return!1;if(G)return Z.constant;return!0}else if(z3(J)||X71(J)||U3(J)||H71(J))return!0;else if(L61(J)){var X;if(J.superClass&&!this.isPure(J.superClass,G))return!1;if(((X=J.decorators)==null?void 0:X.length)>0)return!1;return this.isPure(J.body,G)}else if(k61(J)){for(let Z of J.body)if(!this.isPure(Z,G))return!1;return!0}else if(w61(J))return this.isPure(J.left,G)&&this.isPure(J.right,G);else if($3(J)||J71(J)){for(let Z of J.elements)if(Z!==null&&!this.isPure(Z,G))return!1;return!0}else if(x61(J)||e61(J)){for(let Z of J.properties)if(!this.isPure(Z,G))return!1;return!0}else if(u61(J)){var H;if(J.computed&&!this.isPure(J.key,G))return!1;if(((H=J.decorators)==null?void 0:H.length)>0)return!1;return!0}else if(m61(J)){var V;if(J.computed&&!this.isPure(J.key,G))return!1;if(((V=J.decorators)==null?void 0:V.length)>0)return!1;if(G71(J)||J.static){if(J.value!==null&&!this.isPure(J.value,G))return!1}return!0}else if(p61(J))return this.isPure(J.argument,G);else if(q3(J)){for(let Z of J.expressions)if(!this.isPure(Z,G))return!1;return!0}else if(a61(J))return K3(J.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(J.quasi,G);else if(_61(J))return!J.computed&&Z0(J.object)&&J.object.name==="Symbol"&&Z0(J.property)&&J.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0});else if(W3(J))return K3(J.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&J.arguments.length===1&&f61.isStringLiteral(J.arguments[0]);else return c61(J)}setData(J,G){return this.data[J]=G}getData(J){let G=this;do{let X=G.data[J];if(X!=null)return X}while(G=G.parent)}removeData(J){let G=this;do if(G.data[J]!=null)G.data[J]=null;while(G=G.parent)}init(){if(!this.inited)this.inited=!0,this.crawl()}crawl(){let J=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let G=this.getProgramParent();if(G.crawling)return;let X={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,J.type!=="Program"&&N61.isExplodedVisitor(f9)){for(let V of f9.enter)V.call(X,J,X);let H=f9[J.type];if(H)for(let V of H.enter)V.call(X,J,X)}J.traverse(f9,X),this.crawling=!1;for(let H of X.assignments){let V=H.getAssignmentIdentifiers();for(let Z of Object.keys(V)){if(H.scope.getBinding(Z))continue;G.addGlobal(V[Z])}H.scope.registerConstantViolation(H)}for(let H of X.references){let V=H.scope.getBinding(H.node.name);if(V)V.reference(H);else G.addGlobal(H.node)}for(let H of X.constantViolations)H.scope.registerConstantViolation(H)}push(J){let G=this.path;if(G.isPattern())G=this.getPatternParent().path;else if(!G.isBlockStatement()&&!G.isProgram())G=this.getBlockParent().path;if(G.isSwitchStatement())G=(this.getFunctionParent()||this.getProgramParent()).path;let{init:X,unique:H,kind:V="var",id:Z}=J;if(!X&&!H&&(V==="var"||V==="let")&&G.isFunction()&&!G.node.name&&W3(G.parent,{callee:G.node})&&G.parent.arguments.length<=G.node.params.length&&Z0(Z)){G.pushContainer("params",Z),G.scope.registerBinding("param",G.get("params")[G.node.params.length-1]);return}if(G.isLoop()||G.isCatchClause()||G.isFunction())G.ensureBlock(),G=G.get("body");let Q=J._blockHoist==null?2:J._blockHoist,Y=`declaration:${V}:${Q}`,W=!H&&G.getData(Y);if(!W){let F=n61(V,[]);if(F._blockHoist=Q,[W]=G.unshiftContainer("body",[F]),!H)G.setData(Y,W)}let z=o61(Z,X),U=W.node.declarations.push(z);G.scope.registerBinding(V,W.get("declarations")[U-1])}getProgramParent(){let J=this;do if(J.path.isProgram())return J;while(J=J.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let J=this;do if(J.path.isFunctionParent())return J;while(J=J.parent);return null}getBlockParent(){let J=this;do if(J.path.isBlockParent())return J;while(J=J.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let J=this;do if(!J.path.isPattern())return J.getBlockParent();while(J=J.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let J=Object.create(null),G=this;do{for(let X of Object.keys(G.bindings))if(X in J===!1)J[X]=G.bindings[X];G=G.parent}while(G);return J}bindingIdentifierEquals(J,G){return this.getBindingIdentifier(J)===G}getBinding(J){let G=this,X;do{let V=G.getOwnBinding(J);if(V){var H;if((H=X)!=null&&H.isPattern()&&V.kind!=="param"&&V.kind!=="local");else return V}else if(!V&&J==="arguments"&&G.path.isFunction()&&!G.path.isArrowFunctionExpression())break;X=G.path}while(G=G.parent)}getOwnBinding(J){return this.bindings[J]}getBindingIdentifier(J){var G;return(G=this.getBinding(J))==null?void 0:G.identifier}getOwnBindingIdentifier(J){let G=this.bindings[J];return G==null?void 0:G.identifier}hasOwnBinding(J){return!!this.getOwnBinding(J)}hasBinding(J,G){if(!J)return!1;let X=this;do if(X.hasOwnBinding(J))return!0;while(X=X.parent);let H,V;if(typeof G==="object")H=G.noGlobals,V=G.noUids;else if(typeof G==="boolean")H=G;if(!V&&this.hasUid(J))return!0;if(!H&&Q2.globals.includes(J))return!0;if(!H&&Q2.contextVariables.includes(J))return!0;return!1}parentHasBinding(J,G){var X;return(X=this.parent)==null?void 0:X.hasBinding(J,G)}moveBindingTo(J,G){let X=this.getBinding(J);if(X)X.scope.removeOwnBinding(J),X.scope=G,G.bindings[J]=X}removeOwnBinding(J){delete this.bindings[J]}removeBinding(J){var G;(G=this.getBinding(J))==null||G.scope.removeOwnBinding(J);let X=this;do if(X.uids[J])X.uids[J]=!1;while(X=X.parent)}hoistVariables(J=(G)=>this.push({id:G})){this.crawl();let G=new Set;for(let H of Object.keys(this.bindings)){let V=this.bindings[H];if(!V)continue;let{path:Z}=V;if(!Z.isVariableDeclarator())continue;let{parent:Q,parentPath:Y}=Z;if(Q.kind!=="var"||G.has(Q))continue;G.add(Z.parent);let W,z=[];for(let U of Q.declarations){var X;if((X=W)!=null||(W=U.id),U.init)z.push(T61("=",U.id,U.init));let F=Object.keys(R3(U,!1,!0,!0));for(let A of F)J(Q0(A),U.init!=null)}if(Y.parentPath.isFor({left:Q}))Y.replaceWith(W);else if(z.length===0)Y.remove();else{let U=z.length===1?z[0]:Q71(z);if(Y.parentPath.isForStatement({init:Q}))Y.replaceWith(U);else Y.replaceWith(d61(U))}}}}F3.default=Q2;Q2.globals=Object.keys(P61.builtin);Q2.contextVariables=["arguments","undefined","Infinity","NaN"];Q2.prototype._renameFromMap=function J(G,X,H,V){if(G[X])G[H]=V,G[X]=null},Q2.prototype.traverse=function(J,G,X){S61.default(J,G,this,X,this.path)},Q2.prototype._generateUid=function J(G,X){let H=G;if(X>1)H+=X;return`_${H}`},Q2.prototype.toArray=function J(G,X,H){if(Z0(G)){let Q=this.getBinding(G.name);if(Q!=null&&Q.constant&&Q.path.isGenericType("Array"))return G}if($3(G))return G;if(Z0(G,{name:"arguments"}))return Q3(VJ(VJ(VJ(Q0("Array"),Q0("prototype")),Q0("slice")),Q0("call")),[G]);let V,Z=[G];if(X===!0)V="toConsumableArray";else if(typeof X==="number")Z.push(s61(X)),V="slicedToArray";else V="toArray";if(H)Z.unshift(this.path.hub.addHelper(V)),V="maybeArrayLike";return Q3(this.path.hub.addHelper(V),Z)},Q2.prototype.getAllBindingsOfKind=function J(...G){let X=Object.create(null);for(let H of G){let V=this;do{for(let Z of Object.keys(V.bindings)){let Q=V.bindings[Z];if(Q.kind===H)X[Z]=Q}V=V.parent}while(V)}return X},Object.defineProperties(Q2.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})});var A3=C((O3)=>{Object.defineProperty(O3,"__esModule",{value:!0});O3.find=U71;O3.findParent=K71;O3.getAncestry=q71;O3.getDeepestCommonAncestorFrom=M71;O3.getEarliestCommonAncestorFrom=$71;O3.getFunctionParent=B71;O3.getStatementParent=R71;O3.inType=O71;O3.isAncestor=F71;O3.isDescendant=j71;var W71=W1(),{VISITOR_KEYS:z71}=W71;function K71(J){let G=this;while(G=G.parentPath)if(J(G))return G;return null}function U71(J){let G=this;do if(J(G))return G;while(G=G.parentPath);return null}function B71(){return this.findParent((J)=>J.isFunction())}function R71(){let J=this;do if(!J.parentPath||Array.isArray(J.container)&&J.isStatement())break;else J=J.parentPath;while(J);if(J&&(J.isProgram()||J.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return J}function $71(J){return this.getDeepestCommonAncestorFrom(J,function(G,X,H){let V,Z=z71[G.type];for(let Q of H){let Y=Q[X+1];if(!V){V=Y;continue}if(Y.listKey&&V.listKey===Y.listKey){if(Y.key<V.key){V=Y;continue}}let W=Z.indexOf(V.parentKey),z=Z.indexOf(Y.parentKey);if(W>z)V=Y}return V})}function M71(J,G){if(!J.length)return this;if(J.length===1)return J[0];let X=1/0,H,V,Z=J.map((Y)=>{let W=[];do W.unshift(Y);while((Y=Y.parentPath)&&Y!==this);if(W.length<X)X=W.length;return W}),Q=Z[0];J:for(let Y=0;Y<X;Y++){let W=Q[Y];for(let z of Z)if(z[Y]!==W)break J;H=Y,V=W}if(V)if(G)return G(V,H,Z);else return V;else throw new Error("Couldn't find intersection")}function q71(){let J=this,G=[];do G.push(J);while(J=J.parentPath);return G}function F71(J){return J.isDescendant(this)}function j71(J){return!!this.findParent((G)=>G===J)}function O71(...J){let G=this;while(G){for(let X of J)if(G.node.type===X)return!0;G=G.parentPath}return!1}});var QJ=C((S3)=>{Object.defineProperty(S3,"__esModule",{value:!0});S3.createUnionType=v71;var L71=W1(),{createFlowUnionType:C3,createTSUnionType:D3,createUnionTypeAnnotation:k71,isFlowType:b71,isTSType:E71}=L71;function v71(J){if(J.every((G)=>b71(G))){if(C3)return C3(J);return k71(J)}else if(J.every((G)=>E71(G))){if(D3)return D3(J)}}});var w3=C((T3)=>{Object.defineProperty(T3,"__esModule",{value:!0});T3.default=x71;var _71=W1(),P3=QJ(),{BOOLEAN_NUMBER_BINARY_OPERATORS:u71,createTypeAnnotationBasedOnTypeof:h71,numberTypeAnnotation:f3,voidTypeAnnotation:y71}=_71;function x71(J){if(!this.isReferenced())return;let G=this.scope.getBinding(J.name);if(G)if(G.identifier.typeAnnotation)return G.identifier.typeAnnotation;else return m71(G,this,J.name);if(J.name==="undefined")return y71();else if(J.name==="NaN"||J.name==="Infinity")return f3();else if(J.name==="arguments");}function m71(J,G,X){let H=[],V=[],Z=I3(J,G,V),Q=N3(J,G,X);if(Q){let Y=I3(J,Q.ifStatement);Z=Z.filter((W)=>!Y.includes(W)),H.push(Q.typeAnnotation)}if(Z.length){Z.push(...V);for(let Y of Z)H.push(Y.getTypeAnnotation())}if(!H.length)return;return P3.createUnionType(H)}function I3(J,G,X){let H=J.constantViolations.slice();return H.unshift(J.path),H.filter((V)=>{V=V.resolve();let Z=V._guessExecutionStatusRelativeTo(G);if(X&&Z==="unknown")X.push(V);return Z==="before"})}function c71(J,G){let X=G.node.operator,H=G.get("right").resolve(),V=G.get("left").resolve(),Z;if(V.isIdentifier({name:J}))Z=H;else if(H.isIdentifier({name:J}))Z=V;if(Z){if(X==="===")return Z.getTypeAnnotation();if(u71.includes(X))return f3();return}if(X!=="==="&&X!=="==")return;let Q,Y;if(V.isUnaryExpression({operator:"typeof"}))Q=V,Y=H;else if(H.isUnaryExpression({operator:"typeof"}))Q=H,Y=V;if(!Q)return;if(!Q.get("argument").isIdentifier({name:J}))return;if(Y=Y.resolve(),!Y.isLiteral())return;let W=Y.node.value;if(typeof W!=="string")return;return h71(W)}function l71(J,G,X){let H;while(H=G.parentPath){if(H.isIfStatement()||H.isConditionalExpression()){if(G.key==="test")return;return H}if(H.isFunction()){if(H.parentPath.scope.getBinding(X)!==J)return}G=H}}function N3(J,G,X){let H=l71(J,G,X);if(!H)return;let Z=[H.get("test")],Q=[];for(let Y=0;Y<Z.length;Y++){let W=Z[Y];if(W.isLogicalExpression()){if(W.node.operator==="&&")Z.push(W.get("left")),Z.push(W.get("right"))}else if(W.isBinaryExpression()){let z=c71(X,W);if(z)Q.push(z)}}if(Q.length)return{typeAnnotation:P3.createUnionType(Q),ifStatement:H};return N3(J,H,X)}});var u3=C((zJ)=>{Object.defineProperty(zJ,"__esModule",{value:!0});zJ.ArrayExpression=v3;zJ.AssignmentExpression=RH1;zJ.BinaryExpression=WH1;zJ.BooleanLiteral=FH1;zJ.CallExpression=fH1;zJ.ConditionalExpression=KH1;zJ.ClassDeclaration=zJ.ClassExpression=zJ.FunctionDeclaration=zJ.ArrowFunctionExpression=zJ.FunctionExpression=CH1;Object.defineProperty(zJ,"Identifier",{enumerable:!0,get:function(){return p71.default}});zJ.LogicalExpression=zH1;zJ.NewExpression=ZH1;zJ.NullLiteral=jH1;zJ.NumericLiteral=qH1;zJ.ObjectExpression=AH1;zJ.ParenthesizedExpression=BH1;zJ.RegExpLiteral=OH1;zJ.RestElement=g3;zJ.SequenceExpression=UH1;zJ.StringLiteral=MH1;zJ.TSAsExpression=E3;zJ.TSNonNullExpression=VH1;zJ.TaggedTemplateExpression=NH1;zJ.TemplateLiteral=QH1;zJ.TypeCastExpression=b3;zJ.UnaryExpression=YH1;zJ.UpdateExpression=$H1;zJ.VariableDeclarator=HH1;var a71=W1(),p71=w3(),k3=QJ(),{BOOLEAN_BINARY_OPERATORS:r71,BOOLEAN_UNARY_OPERATORS:d71,NUMBER_BINARY_OPERATORS:s71,NUMBER_UNARY_OPERATORS:t71,STRING_UNARY_OPERATORS:n71,anyTypeAnnotation:L3,arrayTypeAnnotation:YJ,booleanTypeAnnotation:WJ,buildMatchMemberExpression:N9,genericTypeAnnotation:i2,identifier:Y0,nullLiteralTypeAnnotation:o71,numberTypeAnnotation:N0,stringTypeAnnotation:W0,tupleTypeAnnotation:e71,unionTypeAnnotation:JH1,voidTypeAnnotation:GH1,isIdentifier:XH1}=a71;function HH1(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function b3(J){return J.typeAnnotation}b3.validParent=!0;function E3(J){return J.typeAnnotation}E3.validParent=!0;function VH1(){return this.get("expression").getTypeAnnotation()}function ZH1(J){if(J.callee.type==="Identifier")return i2(J.callee)}function QH1(){return W0()}function YH1(J){let G=J.operator;if(G==="void")return GH1();else if(t71.includes(G))return N0();else if(n71.includes(G))return W0();else if(d71.includes(G))return WJ()}function WH1(J){let G=J.operator;if(s71.includes(G))return N0();else if(r71.includes(G))return WJ();else if(G==="+"){let X=this.get("right"),H=this.get("left");if(H.isBaseType("number")&&X.isBaseType("number"))return N0();else if(H.isBaseType("string")||X.isBaseType("string"))return W0();return JH1([W0(),N0()])}}function zH1(){let J=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return k3.createUnionType(J)}function KH1(){let J=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return k3.createUnionType(J)}function UH1(){return this.get("expressions").pop().getTypeAnnotation()}function BH1(){return this.get("expression").getTypeAnnotation()}function RH1(){return this.get("right").getTypeAnnotation()}function $H1(J){let G=J.operator;if(G==="++"||G==="--")return N0()}function MH1(){return W0()}function qH1(){return N0()}function FH1(){return WJ()}function jH1(){return o71()}function OH1(){return i2(Y0("RegExp"))}function AH1(){return i2(Y0("Object"))}function v3(){return i2(Y0("Array"))}function g3(){return v3()}g3.validParent=!0;function CH1(){return i2(Y0("Function"))}var DH1=N9("Array.from"),SH1=N9("Object.keys"),IH1=N9("Object.values"),PH1=N9("Object.entries");function fH1(){let{callee:J}=this.node;if(SH1(J))return YJ(W0());else if(DH1(J)||IH1(J)||XH1(J,{name:"Array"}))return YJ(L3());else if(PH1(J))return YJ(e71([W0(),L3()]));return _3(this.get("callee"))}function NH1(){return _3(this.get("tag"))}function _3(J){if(J=J.resolve(),J.isFunction()){let{node:G}=J;if(G.async)if(G.generator)return i2(Y0("AsyncIterator"));else return i2(Y0("Promise"));else if(G.generator)return i2(Y0("Iterator"));else if(J.node.returnType)return J.node.returnType}}});var l3=C((c3)=>{Object.defineProperty(c3,"__esModule",{value:!0});c3._getTypeAnnotation=m3;c3.baseTypeStrictlyMatches=AV1;c3.couldBeBaseType=OV1;c3.getTypeAnnotation=FV1;c3.isBaseType=jV1;c3.isGenericType=CV1;var h3=u3(),eH1=W1(),{anyTypeAnnotation:x3,isAnyTypeAnnotation:T9,isArrayTypeAnnotation:JV1,isBooleanTypeAnnotation:GV1,isEmptyTypeAnnotation:XV1,isFlowBaseAnnotation:HV1,isGenericTypeAnnotation:VV1,isIdentifier:y3,isMixedTypeAnnotation:ZV1,isNumberTypeAnnotation:QV1,isStringTypeAnnotation:YV1,isTSArrayType:WV1,isTSTypeAnnotation:zV1,isTSTypeReference:KV1,isTupleTypeAnnotation:UV1,isTypeAnnotation:BV1,isUnionTypeAnnotation:RV1,isVoidTypeAnnotation:$V1,stringTypeAnnotation:MV1,voidTypeAnnotation:qV1}=eH1;function FV1(){let J=this.getData("typeAnnotation");if(J!=null)return J;if(J=m3.call(this)||x3(),BV1(J)||zV1(J))J=J.typeAnnotation;return this.setData("typeAnnotation",J),J}var KJ=new WeakSet;function m3(){let J=this.node;if(!J)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let X=this.parentPath.parentPath,H=X.parentPath;if(X.key==="left"&&H.isForInStatement())return MV1();if(X.key==="left"&&H.isForOfStatement())return x3();return qV1()}else return;if(J.typeAnnotation)return J.typeAnnotation;if(KJ.has(J))return;KJ.add(J);try{var G;let X=h3[J.type];if(X)return X.call(this,J);if(X=h3[this.parentPath.type],(G=X)!=null&&G.validParent)return this.parentPath.getTypeAnnotation()}finally{KJ.delete(J)}}function jV1(J,G){return UJ(J,this.getTypeAnnotation(),G)}function UJ(J,G,X){if(J==="string")return YV1(G);else if(J==="number")return QV1(G);else if(J==="boolean")return GV1(G);else if(J==="any")return T9(G);else if(J==="mixed")return ZV1(G);else if(J==="empty")return XV1(G);else if(J==="void")return $V1(G);else if(X)return!1;else throw new Error(`Unknown base type ${J}`)}function OV1(J){let G=this.getTypeAnnotation();if(T9(G))return!0;if(RV1(G)){for(let X of G.types)if(T9(X)||UJ(J,X,!0))return!0;return!1}else return UJ(J,G,!0)}function AV1(J){let G=this.getTypeAnnotation(),X=J.getTypeAnnotation();if(!T9(G)&&HV1(G))return X.type===G.type;return!1}function CV1(J){let G=this.getTypeAnnotation();if(J==="Array"){if(WV1(G)||JV1(G)||UV1(G))return!0}return VV1(G)&&y3(G.id,{name:J})||KV1(G)&&y3(G.typeName,{name:J})}});var a3=C((i3)=>{Object.defineProperty(i3,"__esModule",{value:!0});i3.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;i3.matchToToken=function(J){var G={type:"invalid",value:J[0],closed:void 0};if(J[1])G.type="string",G.closed=!!(J[3]||J[4]);else if(J[5])G.type="comment";else if(J[6])G.type="comment",G.closed=!!J[7];else if(J[8])G.type="regex";else if(J[9])G.type="number";else if(J[10])G.type="name";else if(J[11])G.type="punctuator";else if(J[12])G.type="whitespace";return G}});var RJ=C((SF1,BJ)=>{var L9=process||{},p3=L9.argv||[],w9=L9.env||{},LV1=!(!!w9.NO_COLOR||p3.includes("--no-color"))&&(!!w9.FORCE_COLOR||p3.includes("--color")||L9.platform==="win32"||(L9.stdout||{}).isTTY&&w9.TERM!=="dumb"||!!w9.CI),kV1=(J,G,X=J)=>(H)=>{let V=""+H,Z=V.indexOf(G,J.length);return~Z?J+bV1(V,G,X,Z)+G:J+V+G},bV1=(J,G,X,H)=>{let V="",Z=0;do V+=J.substring(Z,H)+X,Z=H+G.length,H=J.indexOf(G,Z);while(~H);return V+J.substring(Z)},r3=(J=LV1)=>{let G=J?kV1:()=>String;return{isColorSupported:J,reset:G("\x1B[0m","\x1B[0m"),bold:G("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:G("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:G("\x1B[3m","\x1B[23m"),underline:G("\x1B[4m","\x1B[24m"),inverse:G("\x1B[7m","\x1B[27m"),hidden:G("\x1B[8m","\x1B[28m"),strikethrough:G("\x1B[9m","\x1B[29m"),black:G("\x1B[30m","\x1B[39m"),red:G("\x1B[31m","\x1B[39m"),green:G("\x1B[32m","\x1B[39m"),yellow:G("\x1B[33m","\x1B[39m"),blue:G("\x1B[34m","\x1B[39m"),magenta:G("\x1B[35m","\x1B[39m"),cyan:G("\x1B[36m","\x1B[39m"),white:G("\x1B[37m","\x1B[39m"),gray:G("\x1B[90m","\x1B[39m"),bgBlack:G("\x1B[40m","\x1B[49m"),bgRed:G("\x1B[41m","\x1B[49m"),bgGreen:G("\x1B[42m","\x1B[49m"),bgYellow:G("\x1B[43m","\x1B[49m"),bgBlue:G("\x1B[44m","\x1B[49m"),bgMagenta:G("\x1B[45m","\x1B[49m"),bgCyan:G("\x1B[46m","\x1B[49m"),bgWhite:G("\x1B[47m","\x1B[49m"),blackBright:G("\x1B[90m","\x1B[39m"),redBright:G("\x1B[91m","\x1B[39m"),greenBright:G("\x1B[92m","\x1B[39m"),yellowBright:G("\x1B[93m","\x1B[39m"),blueBright:G("\x1B[94m","\x1B[39m"),magentaBright:G("\x1B[95m","\x1B[39m"),cyanBright:G("\x1B[96m","\x1B[39m"),whiteBright:G("\x1B[97m","\x1B[39m"),bgBlackBright:G("\x1B[100m","\x1B[49m"),bgRedBright:G("\x1B[101m","\x1B[49m"),bgGreenBright:G("\x1B[102m","\x1B[49m"),bgYellowBright:G("\x1B[103m","\x1B[49m"),bgBlueBright:G("\x1B[104m","\x1B[49m"),bgMagentaBright:G("\x1B[105m","\x1B[49m"),bgCyanBright:G("\x1B[106m","\x1B[49m"),bgWhiteBright:G("\x1B[107m","\x1B[49m")}};BJ.exports=r3();BJ.exports.createColors=r3});var s3=C((IF1,d3)=>{var EV1=/[|\\{}()[\]^$+*?.]/g;d3.exports=function(J){if(typeof J!=="string")throw new TypeError("Expected a string");return J.replace(EV1,"\\$&")}});var n3=C((PF1,t3)=>{t3.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var $J=C((fF1,GQ)=>{var z0=n3(),JQ={};for(k9 in z0)if(z0.hasOwnProperty(k9))JQ[z0[k9]]=k9;var k9,r=GQ.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(a1 in r)if(r.hasOwnProperty(a1)){if(!("channels"in r[a1]))throw new Error("missing channels property: "+a1);if(!("labels"in r[a1]))throw new Error("missing channel labels property: "+a1);if(r[a1].labels.length!==r[a1].channels)throw new Error("channel and label counts mismatch: "+a1);o3=r[a1].channels,e3=r[a1].labels,delete r[a1].channels,delete r[a1].labels,Object.defineProperty(r[a1],"channels",{value:o3}),Object.defineProperty(r[a1],"labels",{value:e3})}var o3,e3,a1;r.rgb.hsl=function(J){var G=J[0]/255,X=J[1]/255,H=J[2]/255,V=Math.min(G,X,H),Z=Math.max(G,X,H),Q=Z-V,Y,W,z;if(Z===V)Y=0;else if(G===Z)Y=(X-H)/Q;else if(X===Z)Y=2+(H-G)/Q;else if(H===Z)Y=4+(G-X)/Q;if(Y=Math.min(Y*60,360),Y<0)Y+=360;if(z=(V+Z)/2,Z===V)W=0;else if(z<=0.5)W=Q/(Z+V);else W=Q/(2-Z-V);return[Y,W*100,z*100]};r.rgb.hsv=function(J){var G,X,H,V,Z,Q=J[0]/255,Y=J[1]/255,W=J[2]/255,z=Math.max(Q,Y,W),U=z-Math.min(Q,Y,W),F=function(A){return(z-A)/6/U+0.5};if(U===0)V=Z=0;else{if(Z=U/z,G=F(Q),X=F(Y),H=F(W),Q===z)V=H-X;else if(Y===z)V=0.3333333333333333+G-H;else if(W===z)V=0.6666666666666666+X-G;if(V<0)V+=1;else if(V>1)V-=1}return[V*360,Z*100,z*100]};r.rgb.hwb=function(J){var G=J[0],X=J[1],H=J[2],V=r.rgb.hsl(J)[0],Z=0.00392156862745098*Math.min(G,Math.min(X,H));return H=1-0.00392156862745098*Math.max(G,Math.max(X,H)),[V,Z*100,H*100]};r.rgb.cmyk=function(J){var G=J[0]/255,X=J[1]/255,H=J[2]/255,V,Z,Q,Y;return Y=Math.min(1-G,1-X,1-H),V=(1-G-Y)/(1-Y)||0,Z=(1-X-Y)/(1-Y)||0,Q=(1-H-Y)/(1-Y)||0,[V*100,Z*100,Q*100,Y*100]};function vV1(J,G){return Math.pow(J[0]-G[0],2)+Math.pow(J[1]-G[1],2)+Math.pow(J[2]-G[2],2)}r.rgb.keyword=function(J){var G=JQ[J];if(G)return G;var X=1/0,H;for(var V in z0)if(z0.hasOwnProperty(V)){var Z=z0[V],Q=vV1(J,Z);if(Q<X)X=Q,H=V}return H};r.keyword.rgb=function(J){return z0[J]};r.rgb.xyz=function(J){var G=J[0]/255,X=J[1]/255,H=J[2]/255;G=G>0.04045?Math.pow((G+0.055)/1.055,2.4):G/12.92,X=X>0.04045?Math.pow((X+0.055)/1.055,2.4):X/12.92,H=H>0.04045?Math.pow((H+0.055)/1.055,2.4):H/12.92;var V=G*0.4124+X*0.3576+H*0.1805,Z=G*0.2126+X*0.7152+H*0.0722,Q=G*0.0193+X*0.1192+H*0.9505;return[V*100,Z*100,Q*100]};r.rgb.lab=function(J){var G=r.rgb.xyz(J),X=G[0],H=G[1],V=G[2],Z,Q,Y;return X/=95.047,H/=100,V/=108.883,X=X>0.008856?Math.pow(X,0.3333333333333333):7.787*X+0.13793103448275862,H=H>0.008856?Math.pow(H,0.3333333333333333):7.787*H+0.13793103448275862,V=V>0.008856?Math.pow(V,0.3333333333333333):7.787*V+0.13793103448275862,Z=116*H-16,Q=500*(X-H),Y=200*(H-V),[Z,Q,Y]};r.hsl.rgb=function(J){var G=J[0]/360,X=J[1]/100,H=J[2]/100,V,Z,Q,Y,W;if(X===0)return W=H*255,[W,W,W];if(H<0.5)Z=H*(1+X);else Z=H+X-H*X;V=2*H-Z,Y=[0,0,0];for(var z=0;z<3;z++){if(Q=G+0.3333333333333333*-(z-1),Q<0)Q++;if(Q>1)Q--;if(6*Q<1)W=V+(Z-V)*6*Q;else if(2*Q<1)W=Z;else if(3*Q<2)W=V+(Z-V)*(0.6666666666666666-Q)*6;else W=V;Y[z]=W*255}return Y};r.hsl.hsv=function(J){var G=J[0],X=J[1]/100,H=J[2]/100,V=X,Z=Math.max(H,0.01),Q,Y;return H*=2,X*=H<=1?H:2-H,V*=Z<=1?Z:2-Z,Y=(H+X)/2,Q=H===0?2*V/(Z+V):2*X/(H+X),[G,Q*100,Y*100]};r.hsv.rgb=function(J){var G=J[0]/60,X=J[1]/100,H=J[2]/100,V=Math.floor(G)%6,Z=G-Math.floor(G),Q=255*H*(1-X),Y=255*H*(1-X*Z),W=255*H*(1-X*(1-Z));switch(H*=255,V){case 0:return[H,W,Q];case 1:return[Y,H,Q];case 2:return[Q,H,W];case 3:return[Q,Y,H];case 4:return[W,Q,H];case 5:return[H,Q,Y]}};r.hsv.hsl=function(J){var G=J[0],X=J[1]/100,H=J[2]/100,V=Math.max(H,0.01),Z,Q,Y;return Y=(2-X)*H,Z=(2-X)*V,Q=X*V,Q/=Z<=1?Z:2-Z,Q=Q||0,Y/=2,[G,Q*100,Y*100]};r.hwb.rgb=function(J){var G=J[0]/360,X=J[1]/100,H=J[2]/100,V=X+H,Z,Q,Y,W;if(V>1)X/=V,H/=V;if(Z=Math.floor(6*G),Q=1-H,Y=6*G-Z,(Z&1)!==0)Y=1-Y;W=X+Y*(Q-X);var z,U,F;switch(Z){default:case 6:case 0:z=Q,U=W,F=X;break;case 1:z=W,U=Q,F=X;break;case 2:z=X,U=Q,F=W;break;case 3:z=X,U=W,F=Q;break;case 4:z=W,U=X,F=Q;break;case 5:z=Q,U=X,F=W;break}return[z*255,U*255,F*255]};r.cmyk.rgb=function(J){var G=J[0]/100,X=J[1]/100,H=J[2]/100,V=J[3]/100,Z,Q,Y;return Z=1-Math.min(1,G*(1-V)+V),Q=1-Math.min(1,X*(1-V)+V),Y=1-Math.min(1,H*(1-V)+V),[Z*255,Q*255,Y*255]};r.xyz.rgb=function(J){var G=J[0]/100,X=J[1]/100,H=J[2]/100,V,Z,Q;return V=G*3.2406+X*-1.5372+H*-0.4986,Z=G*-0.9689+X*1.8758+H*0.0415,Q=G*0.0557+X*-0.204+H*1.057,V=V>0.0031308?1.055*Math.pow(V,0.4166666666666667)-0.055:V*12.92,Z=Z>0.0031308?1.055*Math.pow(Z,0.4166666666666667)-0.055:Z*12.92,Q=Q>0.0031308?1.055*Math.pow(Q,0.4166666666666667)-0.055:Q*12.92,V=Math.min(Math.max(0,V),1),Z=Math.min(Math.max(0,Z),1),Q=Math.min(Math.max(0,Q),1),[V*255,Z*255,Q*255]};r.xyz.lab=function(J){var G=J[0],X=J[1],H=J[2],V,Z,Q;return G/=95.047,X/=100,H/=108.883,G=G>0.008856?Math.pow(G,0.3333333333333333):7.787*G+0.13793103448275862,X=X>0.008856?Math.pow(X,0.3333333333333333):7.787*X+0.13793103448275862,H=H>0.008856?Math.pow(H,0.3333333333333333):7.787*H+0.13793103448275862,V=116*X-16,Z=500*(G-X),Q=200*(X-H),[V,Z,Q]};r.lab.xyz=function(J){var G=J[0],X=J[1],H=J[2],V,Z,Q;Z=(G+16)/116,V=X/500+Z,Q=Z-H/200;var Y=Math.pow(Z,3),W=Math.pow(V,3),z=Math.pow(Q,3);return Z=Y>0.008856?Y:(Z-0.13793103448275862)/7.787,V=W>0.008856?W:(V-0.13793103448275862)/7.787,Q=z>0.008856?z:(Q-0.13793103448275862)/7.787,V*=95.047,Z*=100,Q*=108.883,[V,Z,Q]};r.lab.lch=function(J){var G=J[0],X=J[1],H=J[2],V,Z,Q;if(V=Math.atan2(H,X),Z=V*360/2/Math.PI,Z<0)Z+=360;return Q=Math.sqrt(X*X+H*H),[G,Q,Z]};r.lch.lab=function(J){var G=J[0],X=J[1],H=J[2],V,Z,Q;return Q=H/360*2*Math.PI,V=X*Math.cos(Q),Z=X*Math.sin(Q),[G,V,Z]};r.rgb.ansi16=function(J){var G=J[0],X=J[1],H=J[2],V=1 in arguments?arguments[1]:r.rgb.hsv(J)[2];if(V=Math.round(V/50),V===0)return 30;var Z=30+(Math.round(H/255)<<2|Math.round(X/255)<<1|Math.round(G/255));if(V===2)Z+=60;return Z};r.hsv.ansi16=function(J){return r.rgb.ansi16(r.hsv.rgb(J),J[2])};r.rgb.ansi256=function(J){var G=J[0],X=J[1],H=J[2];if(G===X&&X===H){if(G<8)return 16;if(G>248)return 231;return Math.round((G-8)/247*24)+232}var V=16+36*Math.round(G/255*5)+6*Math.round(X/255*5)+Math.round(H/255*5);return V};r.ansi16.rgb=function(J){var G=J%10;if(G===0||G===7){if(J>50)G+=3.5;return G=G/10.5*255,[G,G,G]}var X=(~~(J>50)+1)*0.5,H=(G&1)*X*255,V=(G>>1&1)*X*255,Z=(G>>2&1)*X*255;return[H,V,Z]};r.ansi256.rgb=function(J){if(J>=232){var G=(J-232)*10+8;return[G,G,G]}J-=16;var X,H=Math.floor(J/36)/5*255,V=Math.floor((X=J%36)/6)/5*255,Z=X%6/5*255;return[H,V,Z]};r.rgb.hex=function(J){var G=((Math.round(J[0])&255)<<16)+((Math.round(J[1])&255)<<8)+(Math.round(J[2])&255),X=G.toString(16).toUpperCase();return"000000".substring(X.length)+X};r.hex.rgb=function(J){var G=J.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!G)return[0,0,0];var X=G[0];if(G[0].length===3)X=X.split("").map(function(Y){return Y+Y}).join("");var H=parseInt(X,16),V=H>>16&255,Z=H>>8&255,Q=H&255;return[V,Z,Q]};r.rgb.hcg=function(J){var G=J[0]/255,X=J[1]/255,H=J[2]/255,V=Math.max(Math.max(G,X),H),Z=Math.min(Math.min(G,X),H),Q=V-Z,Y,W;if(Q<1)Y=Z/(1-Q);else Y=0;if(Q<=0)W=0;else if(V===G)W=(X-H)/Q%6;else if(V===X)W=2+(H-G)/Q;else W=4+(G-X)/Q+4;return W/=6,W%=1,[W*360,Q*100,Y*100]};r.hsl.hcg=function(J){var G=J[1]/100,X=J[2]/100,H=1,V=0;if(X<0.5)H=2*G*X;else H=2*G*(1-X);if(H<1)V=(X-0.5*H)/(1-H);return[J[0],H*100,V*100]};r.hsv.hcg=function(J){var G=J[1]/100,X=J[2]/100,H=G*X,V=0;if(H<1)V=(X-H)/(1-H);return[J[0],H*100,V*100]};r.hcg.rgb=function(J){var G=J[0]/360,X=J[1]/100,H=J[2]/100;if(X===0)return[H*255,H*255,H*255];var V=[0,0,0],Z=G%1*6,Q=Z%1,Y=1-Q,W=0;switch(Math.floor(Z)){case 0:V[0]=1,V[1]=Q,V[2]=0;break;case 1:V[0]=Y,V[1]=1,V[2]=0;break;case 2:V[0]=0,V[1]=1,V[2]=Q;break;case 3:V[0]=0,V[1]=Y,V[2]=1;break;case 4:V[0]=Q,V[1]=0,V[2]=1;break;default:V[0]=1,V[1]=0,V[2]=Y}return W=(1-X)*H,[(X*V[0]+W)*255,(X*V[1]+W)*255,(X*V[2]+W)*255]};r.hcg.hsv=function(J){var G=J[1]/100,X=J[2]/100,H=G+X*(1-G),V=0;if(H>0)V=G/H;return[J[0],V*100,H*100]};r.hcg.hsl=function(J){var G=J[1]/100,X=J[2]/100,H=X*(1-G)+0.5*G,V=0;if(H>0&&H<0.5)V=G/(2*H);else if(H>=0.5&&H<1)V=G/(2*(1-H));return[J[0],V*100,H*100]};r.hcg.hwb=function(J){var G=J[1]/100,X=J[2]/100,H=G+X*(1-G);return[J[0],(H-G)*100,(1-H)*100]};r.hwb.hcg=function(J){var G=J[1]/100,X=J[2]/100,H=1-X,V=H-G,Z=0;if(V<1)Z=(H-V)/(1-V);return[J[0],V*100,Z*100]};r.apple.rgb=function(J){return[J[0]/65535*255,J[1]/65535*255,J[2]/65535*255]};r.rgb.apple=function(J){return[J[0]/255*65535,J[1]/255*65535,J[2]/255*65535]};r.gray.rgb=function(J){return[J[0]/100*255,J[0]/100*255,J[0]/100*255]};r.gray.hsl=r.gray.hsv=function(J){return[0,0,J[0]]};r.gray.hwb=function(J){return[0,100,J[0]]};r.gray.cmyk=function(J){return[0,0,0,J[0]]};r.gray.lab=function(J){return[J[0],0,0]};r.gray.hex=function(J){var G=Math.round(J[0]/100*255)&255,X=(G<<16)+(G<<8)+G,H=X.toString(16).toUpperCase();return"000000".substring(H.length)+H};r.rgb.gray=function(J){var G=(J[0]+J[1]+J[2])/3;return[G/255*100]}});var HQ=C((NF1,XQ)=>{var b9=$J();function gV1(){var J={},G=Object.keys(b9);for(var X=G.length,H=0;H<X;H++)J[G[H]]={distance:-1,parent:null};return J}function _V1(J){var G=gV1(),X=[J];G[J].distance=0;while(X.length){var H=X.pop(),V=Object.keys(b9[H]);for(var Z=V.length,Q=0;Q<Z;Q++){var Y=V[Q],W=G[Y];if(W.distance===-1)W.distance=G[H].distance+1,W.parent=H,X.unshift(Y)}}return G}function uV1(J,G){return function(X){return G(J(X))}}function hV1(J,G){var X=[G[J].parent,J],H=b9[G[J].parent][J],V=G[J].parent;while(G[V].parent)X.unshift(G[V].parent),H=uV1(b9[G[V].parent][V],H),V=G[V].parent;return H.conversion=X,H}XQ.exports=function(J){var G=_V1(J),X={},H=Object.keys(G);for(var V=H.length,Z=0;Z<V;Z++){var Q=H[Z],Y=G[Q];if(Y.parent===null)continue;X[Q]=hV1(Q,G)}return X}});var ZQ=C((TF1,VQ)=>{var MJ=$J(),yV1=HQ(),T0={},xV1=Object.keys(MJ);function mV1(J){var G=function(X){if(X===void 0||X===null)return X;if(arguments.length>1)X=Array.prototype.slice.call(arguments);return J(X)};if("conversion"in J)G.conversion=J.conversion;return G}function cV1(J){var G=function(X){if(X===void 0||X===null)return X;if(arguments.length>1)X=Array.prototype.slice.call(arguments);var H=J(X);if(typeof H==="object")for(var V=H.length,Z=0;Z<V;Z++)H[Z]=Math.round(H[Z]);return H};if("conversion"in J)G.conversion=J.conversion;return G}xV1.forEach(function(J){T0[J]={},Object.defineProperty(T0[J],"channels",{value:MJ[J].channels}),Object.defineProperty(T0[J],"labels",{value:MJ[J].labels});var G=yV1(J),X=Object.keys(G);X.forEach(function(H){var V=G[H];T0[J][H]=cV1(V),T0[J][H].raw=mV1(V)})});VQ.exports=T0});var YQ=C((wF1,QQ)=>{var w0=ZQ(),E9=(J,G)=>function(){return`\x1B[${J.apply(w0,arguments)+G}m`},v9=(J,G)=>function(){let X=J.apply(w0,arguments);return`\x1B[${38+G};5;${X}m`},g9=(J,G)=>function(){let X=J.apply(w0,arguments);return`\x1B[${38+G};2;${X[0]};${X[1]};${X[2]}m`};function lV1(){let J=new Map,G={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};G.color.grey=G.color.gray;for(let V of Object.keys(G)){let Z=G[V];for(let Q of Object.keys(Z)){let Y=Z[Q];G[Q]={open:`\x1B[${Y[0]}m`,close:`\x1B[${Y[1]}m`},Z[Q]=G[Q],J.set(Y[0],Y[1])}Object.defineProperty(G,V,{value:Z,enumerable:!1}),Object.defineProperty(G,"codes",{value:J,enumerable:!1})}let X=(V)=>V,H=(V,Z,Q)=>[V,Z,Q];G.color.close="\x1B[39m",G.bgColor.close="\x1B[49m",G.color.ansi={ansi:E9(X,0)},G.color.ansi256={ansi256:v9(X,0)},G.color.ansi16m={rgb:g9(H,0)},G.bgColor.ansi={ansi:E9(X,10)},G.bgColor.ansi256={ansi256:v9(X,10)},G.bgColor.ansi16m={rgb:g9(H,10)};for(let V of Object.keys(w0)){if(typeof w0[V]!=="object")continue;let Z=w0[V];if(V==="ansi16")V="ansi";if("ansi16"in Z)G.color.ansi[V]=E9(Z.ansi16,0),G.bgColor.ansi[V]=E9(Z.ansi16,10);if("ansi256"in Z)G.color.ansi256[V]=v9(Z.ansi256,0),G.bgColor.ansi256[V]=v9(Z.ansi256,10);if("rgb"in Z)G.color.ansi16m[V]=g9(Z.rgb,0),G.bgColor.ansi16m[V]=g9(Z.rgb,10)}return G}Object.defineProperty(QQ,"exports",{enumerable:!0,get:lV1})});var zQ=C((LF1,WQ)=>{WQ.exports=(J,G)=>{G=G||process.argv;let X=J.startsWith("-")?"":J.length===1?"-":"--",H=G.indexOf(X+J),V=G.indexOf("--");return H!==-1&&(V===-1?!0:H<V)}});var UQ=C((kF1,KQ)=>{var iV1=import.meta.require("os"),B2=zQ(),h1=process.env,L0;if(B2("no-color")||B2("no-colors")||B2("color=false"))L0=!1;else if(B2("color")||B2("colors")||B2("color=true")||B2("color=always"))L0=!0;if("FORCE_COLOR"in h1)L0=h1.FORCE_COLOR.length===0||parseInt(h1.FORCE_COLOR,10)!==0;function aV1(J){if(J===0)return!1;return{level:J,hasBasic:!0,has256:J>=2,has16m:J>=3}}function pV1(J){if(L0===!1)return 0;if(B2("color=16m")||B2("color=full")||B2("color=truecolor"))return 3;if(B2("color=256"))return 2;if(J&&!J.isTTY&&L0!==!0)return 0;let G=L0?1:0;if(process.platform==="win32"){let X=iV1.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(X[0])>=10&&Number(X[2])>=10586)return Number(X[2])>=14931?3:2;return 1}if("CI"in h1){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((X)=>(X in h1))||h1.CI_NAME==="codeship")return 1;return G}if("TEAMCITY_VERSION"in h1)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h1.TEAMCITY_VERSION)?1:0;if(h1.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in h1){let X=parseInt((h1.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(h1.TERM_PROGRAM){case"iTerm.app":return X>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(h1.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h1.TERM))return 1;if("COLORTERM"in h1)return 1;if(h1.TERM==="dumb")return G;return G}function qJ(J){let G=pV1(J);return aV1(G)}KQ.exports={supportsColor:qJ,stdout:qJ(process.stdout),stderr:qJ(process.stderr)}});var qQ=C((bF1,MQ)=>{var rV1=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,BQ=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,dV1=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,sV1=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,tV1=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function $Q(J){if(J[0]==="u"&&J.length===5||J[0]==="x"&&J.length===3)return String.fromCharCode(parseInt(J.slice(1),16));return tV1.get(J)||J}function nV1(J,G){let X=[],H=G.trim().split(/\s*,\s*/g),V;for(let Z of H)if(!isNaN(Z))X.push(Number(Z));else if(V=Z.match(dV1))X.push(V[2].replace(sV1,(Q,Y,W)=>Y?$Q(Y):W));else throw new Error(`Invalid Chalk template style argument: ${Z} (in style '${J}')`);return X}function oV1(J){BQ.lastIndex=0;let G=[],X;while((X=BQ.exec(J))!==null){let H=X[1];if(X[2]){let V=nV1(H,X[2]);G.push([H].concat(V))}else G.push([H])}return G}function RQ(J,G){let X={};for(let V of G)for(let Z of V.styles)X[Z[0]]=V.inverse?null:Z.slice(1);let H=J;for(let V of Object.keys(X))if(Array.isArray(X[V])){if(!(V in H))throw new Error(`Unknown Chalk style: ${V}`);if(X[V].length>0)H=H[V].apply(H,X[V]);else H=H[V]}return H}MQ.exports=(J,G)=>{let X=[],H=[],V=[];if(G.replace(rV1,(Z,Q,Y,W,z,U)=>{if(Q)V.push($Q(Q));else if(W){let F=V.join("");V=[],H.push(X.length===0?F:RQ(J,X)(F)),X.push({inverse:Y,styles:oV1(W)})}else if(z){if(X.length===0)throw new Error("Found extraneous } in Chalk template literal");H.push(RQ(J,X)(V.join(""))),V=[],X.pop()}else V.push(U)}),H.push(V.join("")),X.length>0){let Z=`Chalk template literal is missing ${X.length} closing bracket${X.length===1?"":"s"} (\`}\`)`;throw new Error(Z)}return H.join("")}});var CQ=C((EF1,j5)=>{var jJ=s3(),v1=YQ(),FJ=UQ().stdout,eV1=qQ(),jQ=process.platform==="win32"&&!"xterm-256color".toLowerCase().startsWith("xterm"),OQ=["ansi","ansi","ansi256","ansi16m"],AQ=new Set(["gray"]),k0=Object.create(null);function FQ(J,G){G=G||{};let X=FJ?FJ.level:0;J.level=G.level===void 0?X:G.level,J.enabled="enabled"in G?G.enabled:J.level>0}function F5(J){if(!this||!(this instanceof F5)||this.template){let G={};return FQ(G,J),G.template=function(){let X=[].slice.call(arguments);return XZ1.apply(null,[G.template].concat(X))},Object.setPrototypeOf(G,F5.prototype),Object.setPrototypeOf(G.template,G),G.template.constructor=F5,G.template}FQ(this,J)}if(jQ)v1.blue.open="\x1B[94m";for(let J of Object.keys(v1))v1[J].closeRe=new RegExp(jJ(v1[J].close),"g"),k0[J]={get(){let G=v1[J];return _9.call(this,this._styles?this._styles.concat(G):[G],this._empty,J)}};k0.visible={get(){return _9.call(this,this._styles||[],!0,"visible")}};v1.color.closeRe=new RegExp(jJ(v1.color.close),"g");for(let J of Object.keys(v1.color.ansi)){if(AQ.has(J))continue;k0[J]={get(){let G=this.level;return function(){let H={open:v1.color[OQ[G]][J].apply(null,arguments),close:v1.color.close,closeRe:v1.color.closeRe};return _9.call(this,this._styles?this._styles.concat(H):[H],this._empty,J)}}}}v1.bgColor.closeRe=new RegExp(jJ(v1.bgColor.close),"g");for(let J of Object.keys(v1.bgColor.ansi)){if(AQ.has(J))continue;let G="bg"+J[0].toUpperCase()+J.slice(1);k0[G]={get(){let X=this.level;return function(){let V={open:v1.bgColor[OQ[X]][J].apply(null,arguments),close:v1.bgColor.close,closeRe:v1.bgColor.closeRe};return _9.call(this,this._styles?this._styles.concat(V):[V],this._empty,J)}}}}var JZ1=Object.defineProperties(()=>{},k0);function _9(J,G,X){let H=function(){return GZ1.apply(H,arguments)};H._styles=J,H._empty=G;let V=this;return Object.defineProperty(H,"level",{enumerable:!0,get(){return V.level},set(Z){V.level=Z}}),Object.defineProperty(H,"enabled",{enumerable:!0,get(){return V.enabled},set(Z){V.enabled=Z}}),H.hasGrey=this.hasGrey||X==="gray"||X==="grey",H.__proto__=JZ1,H}function GZ1(){let J=arguments,G=J.length,X=String(arguments[0]);if(G===0)return"";if(G>1)for(let V=1;V<G;V++)X+=" "+J[V];if(!this.enabled||this.level<=0||!X)return this._empty?"":X;let H=v1.dim.open;if(jQ&&this.hasGrey)v1.dim.open="";for(let V of this._styles.slice().reverse())X=V.open+X.replace(V.closeRe,V.open)+V.close,X=X.replace(/\r?\n/g,`${V.close}\$&${V.open}`);return v1.dim.open=H,X}function XZ1(J,G){if(!Array.isArray(G))return[].slice.call(arguments,1).join(" ");let X=[].slice.call(arguments,2),H=[G.raw[0]];for(let V=1;V<G.length;V++)H.push(String(X[V-1]).replace(/[{}\\]/g,"\\$&")),H.push(String(G.raw[V]));return eV1(J,H.join(""))}Object.defineProperties(F5.prototype,k0);j5.exports=F5();j5.exports.supportsColor=FJ;j5.exports.default=j5.exports});var LQ=C((wQ)=>{Object.defineProperty(wQ,"__esModule",{value:!0});wQ.default=KZ1;wQ.shouldHighlight=TQ;var DQ=a3(),SQ=p0(),AJ=HZ1(RJ(),!0);function PQ(J){if(typeof WeakMap!="function")return null;var G=new WeakMap,X=new WeakMap;return(PQ=function(H){return H?X:G})(J)}function HZ1(J,G){if(!G&&J&&J.__esModule)return J;if(J===null||typeof J!="object"&&typeof J!="function")return{default:J};var X=PQ(G);if(X&&X.has(J))return X.get(J);var H={__proto__:null},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Z in J)if(Z!=="default"&&{}.hasOwnProperty.call(J,Z)){var Q=V?Object.getOwnPropertyDescriptor(J,Z):null;Q&&(Q.get||Q.set)?Object.defineProperty(H,Z,Q):H[Z]=J[Z]}return H.default=J,X&&X.set(J,H),H}var fQ=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?AJ.createColors(!1):AJ.default,IQ=(J,G)=>(X)=>J(G(X)),VZ1=new Set(["as","async","from","get","of","set"]);function ZZ1(J){return{keyword:J.cyan,capitalized:J.yellow,jsxIdentifier:J.yellow,punctuator:J.yellow,number:J.magenta,string:J.green,regex:J.magenta,comment:J.gray,invalid:IQ(IQ(J.white,J.bgRed),J.bold)}}var QZ1=/\r\n|[\n\r\u2028\u2029]/,YZ1=/^[()[\]{}]$/,NQ;{let J=/^[a-z][\w-]*$/i,G=function(X,H,V){if(X.type==="name"){if(SQ.isKeyword(X.value)||SQ.isStrictReservedWord(X.value,!0)||VZ1.has(X.value))return"keyword";if(J.test(X.value)&&(V[H-1]==="<"||V.slice(H-2,H)==="</"))return"jsxIdentifier";if(X.value[0]!==X.value[0].toLowerCase())return"capitalized"}if(X.type==="punctuator"&&YZ1.test(X.value))return"bracket";if(X.type==="invalid"&&(X.value==="@"||X.value==="#"))return"punctuator";return X.type};NQ=function*(X){let H;while(H=DQ.default.exec(X)){let V=DQ.matchToToken(H);yield{type:G(V,H.index,X),value:V.value}}}}function WZ1(J,G){let X="";for(let{type:H,value:V}of NQ(G)){let Z=J[H];if(Z)X+=V.split(QZ1).map((Q)=>Z(Q)).join("\n");else X+=V}return X}function TQ(J){return fQ.isColorSupported||J.forceColor}var OJ=void 0;function zZ1(J){if(J){var G;return(G=OJ)!=null||(OJ=AJ.createColors(!0)),OJ}return fQ}function KZ1(J,G={}){if(J!==""&&TQ(G)){let X=ZZ1(zZ1(G.forceColor));return WZ1(X,J)}else return J}{let J,G;wQ.getChalk=({forceColor:X})=>{var H;if((H=J)!=null||(J=CQ()),X){var V;return(V=G)!=null||(G=new J.constructor({enabled:!0,level:1})),G}return J}}});var SJ=C((uQ)=>{Object.defineProperty(uQ,"__esModule",{value:!0});uQ.codeFrameColumns=_Q;uQ.default=jZ1;var kQ=LQ(),DJ=RZ1(RJ(),!0);function gQ(J){if(typeof WeakMap!="function")return null;var G=new WeakMap,X=new WeakMap;return(gQ=function(H){return H?X:G})(J)}function RZ1(J,G){if(!G&&J&&J.__esModule)return J;if(J===null||typeof J!="object"&&typeof J!="function")return{default:J};var X=gQ(G);if(X&&X.has(J))return X.get(J);var H={__proto__:null},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Z in J)if(Z!=="default"&&{}.hasOwnProperty.call(J,Z)){var Q=V?Object.getOwnPropertyDescriptor(J,Z):null;Q&&(Q.get||Q.set)?Object.defineProperty(H,Z,Q):H[Z]=J[Z]}return H.default=J,X&&X.set(J,H),H}var $Z1=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?DJ.createColors(!1):DJ.default,bQ=(J,G)=>(X)=>J(G(X)),CJ=void 0;function MZ1(J){if(J){var G;return(G=CJ)!=null||(CJ=DJ.createColors(!0)),CJ}return $Z1}var EQ=!1;function qZ1(J){return{gutter:J.gray,marker:bQ(J.red,J.bold),message:bQ(J.red,J.bold)}}var vQ=/\r\n|[\n\r\u2028\u2029]/;function FZ1(J,G,X){let H=Object.assign({column:0,line:-1},J.start),V=Object.assign({},H,J.end),{linesAbove:Z=2,linesBelow:Q=3}=X||{},Y=H.line,W=H.column,z=V.line,U=V.column,F=Math.max(Y-(Z+1),0),A=Math.min(G.length,z+Q);if(Y===-1)F=0;if(z===-1)A=G.length;let D=z-Y,I={};if(D)for(let _=0;_<=D;_++){let f=_+Y;if(!W)I[f]=!0;else if(_===0){let w=G[f-1].length;I[f]=[W,w-W+1]}else if(_===D)I[f]=[0,U];else{let w=G[f-_].length;I[f]=[0,w]}}else if(W===U)if(W)I[Y]=[W,0];else I[Y]=!0;else I[Y]=[W,U-W];return{start:F,end:A,markerLines:I}}function _Q(J,G,X={}){let H=(X.highlightCode||X.forceColor)&&kQ.shouldHighlight(X),V=MZ1(X.forceColor),Z=qZ1(V),Q=(_,f)=>{return H?_(f):f},Y=J.split(vQ),{start:W,end:z,markerLines:U}=FZ1(G,Y,X),F=G.start&&typeof G.start.column==="number",A=String(z).length,I=(H?kQ.default(J,X):J).split(vQ,z).slice(W,z).map((_,f)=>{let w=W+1+f,Q1=` ${` ${w}`.slice(-A)} |`,d=U[w],Y1=!U[w+1];if(d){let $1="";if(Array.isArray(d)){let T1=_.slice(0,Math.max(d[0]-1,0)).replace(/[^\t]/g," "),b1=d[1]||1;if($1=["\n ",Q(Z.gutter,Q1.replace(/\d/g," "))," ",T1,Q(Z.marker,"^").repeat(b1)].join(""),Y1&&X.message)$1+=" "+Q(Z.message,X.message)}return[Q(Z.marker,">"),Q(Z.gutter,Q1),_.length>0?` ${_}`:"",$1].join("")}else return` ${Q(Z.gutter,Q1)}${_.length>0?` ${_}`:""}`}).join("\n");if(X.message&&!F)I=`${" ".repeat(A+1)}${X.message}\n${I}`;if(H)return V.reset(I);else return I}function jZ1(J,G,X,H={}){if(!EQ){EQ=!0;let Z="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(Z,"DeprecationWarning");else{let Q=new Error(Z);Q.name="DeprecationWarning",console.warn(new Error(Z))}}return X=Math.max(X,0),_Q(J,{start:{column:X,line:G}},H)}});var cQ=C((xQ)=>{Object.defineProperty(xQ,"__esModule",{value:!0});xQ.default=void 0;var hQ=W1(),CZ1=hQ,{react:DZ1}=hQ,{cloneNode:SZ1,jsxExpressionContainer:IZ1,variableDeclaration:PZ1,variableDeclarator:fZ1}=CZ1,NZ1={ReferencedIdentifier(J,G){if(J.isJSXIdentifier()&&DZ1.isCompatTag(J.node.name)&&!J.parentPath.isJSXMemberExpression())return;if(J.node.name==="this"){let H=J.scope;do if(H.path.isFunction()&&!H.path.isArrowFunctionExpression())break;while(H=H.parent);if(H)G.breakOnScopePaths.push(H.path)}let X=J.scope.getBinding(J.node.name);if(!X)return;for(let H of X.constantViolations)if(H.scope!==X.path.scope){G.mutableBinding=!0,J.stop();return}if(X!==G.scope.getBinding(J.node.name))return;G.bindings[J.node.name]=X}};class yQ{constructor(J,G){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=G,this.path=J,this.attachAfter=!1}isCompatibleScope(J){for(let G of Object.keys(this.bindings)){let X=this.bindings[G];if(!J.bindingIdentifierEquals(G,X.identifier))return!1}return!0}getCompatibleScopes(){let J=this.path.scope;do{if(this.isCompatibleScope(J))this.scopes.push(J);else break;if(this.breakOnScopePaths.includes(J.path))break}while(J=J.parent)}getAttachmentPath(){let J=this._getAttachmentPath();if(!J)return;let G=J.scope;if(G.path===J)G=J.scope.parent;if(G.path.isProgram()||G.path.isFunction())for(let X of Object.keys(this.bindings)){if(!G.hasOwnBinding(X))continue;let H=this.bindings[X];if(H.kind==="param"||H.path.parentKey==="params")continue;if(this.getAttachmentParentForPath(H.path).key>=J.key){this.attachAfter=!0,J=H.path;for(let Z of H.constantViolations)if(this.getAttachmentParentForPath(Z).key>J.key)J=Z}}return J}_getAttachmentPath(){let G=this.scopes.pop();if(!G)return;if(G.path.isFunction())if(this.hasOwnParamBindings(G)){if(this.scope===G)return;let X=G.path.get("body").get("body");for(let H=0;H<X.length;H++){if(X[H].node._blockHoist)continue;return X[H]}}else return this.getNextScopeAttachmentParent();else if(G.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){let J=this.scopes.pop();if(J)return this.getAttachmentParentForPath(J.path)}getAttachmentParentForPath(J){do if(!J.parentPath||Array.isArray(J.container)&&J.isStatement())return J;while(J=J.parentPath)}hasOwnParamBindings(J){for(let G of Object.keys(this.bindings)){if(!J.hasOwnBinding(G))continue;let X=this.bindings[G];if(X.kind==="param"&&X.constant)return!0}return!1}run(){if(this.path.traverse(NZ1,this),this.mutableBinding)return;this.getCompatibleScopes();let J=this.getAttachmentPath();if(!J)return;if(J.getFunctionParent()===this.path.getFunctionParent())return;let G=J.scope.generateUidIdentifier("ref"),X=fZ1(G,this.path.node),H=this.attachAfter?"insertAfter":"insertBefore",[V]=J[H]([J.isVariableDeclarator()?X:PZ1("var",[X])]),Z=this.path.parentPath;if(Z.isJSXElement()&&this.path.container===Z.node.children)G=IZ1(G);return this.path.replaceWith(SZ1(G)),J.isVariableDeclarator()?V.get("init"):V.get("declarations.0.init")}}xQ.default=yQ});var aQ=C((lQ)=>{Object.defineProperty(lQ,"__esModule",{value:!0});lQ.hooks=void 0;var hF1=lQ.hooks=[function(J,G){if(J.key==="test"&&(G.isWhile()||G.isSwitchCase())||J.key==="declaration"&&G.isExportDeclaration()||J.key==="body"&&G.isLabeledStatement()||J.listKey==="declarations"&&G.isVariableDeclaration()&&G.node.declarations.length===1||J.key==="expression"&&G.isExpressionStatement())return G.remove(),!0},function(J,G){if(G.isSequenceExpression()&&G.node.expressions.length===1)return G.replaceWith(G.node.expressions[0]),!0},function(J,G){if(G.isBinary()){if(J.key==="left")G.replaceWith(G.node.right);else G.replaceWith(G.node.left);return!0}},function(J,G){if(G.isIfStatement()&&J.key==="consequent"||J.key==="body"&&(G.isLoop()||G.isArrowFunctionExpression()))return J.replaceWith({type:"BlockStatement",body:[]}),!0}]});var u9=C((nQ)=>{Object.defineProperty(nQ,"__esModule",{value:!0});nQ._assertUnremoved=tQ;nQ._callRemovalHooks=dQ;nQ._markRemoved=IJ;nQ._remove=sQ;nQ._removeFromScope=rQ;nQ.remove=gZ1;var TZ1=aQ(),wZ1=V0(),LZ1=PJ(),pQ=a2(),kZ1=W1(),bZ1=h9(),EZ1=O2(),{getBindingIdentifiers:vZ1}=kZ1;function gZ1(){var J;if(tQ.call(this),EZ1.resync.call(this),dQ.call(this)){IJ.call(this);return}if(!((J=this.opts)!=null&&J.noScope))rQ.call(this);this.shareCommentsWithSiblings(),sQ.call(this),IJ.call(this)}function rQ(){let J=vZ1(this.node,!1,!1,!0);Object.keys(J).forEach((G)=>this.scope.removeBinding(G))}function dQ(){if(this.parentPath){for(let J of TZ1.hooks)if(J(this,this.parentPath))return!0}}function sQ(){if(Array.isArray(this.container))this.container.splice(this.key,1),bZ1.updateSiblingKeys.call(this,this.key,-1);else LZ1._replaceWith.call(this,null)}function IJ(){if(this._traverseFlags|=pQ.SHOULD_SKIP|pQ.REMOVED,this.parent)wZ1.getCachedPaths(this.hub,this.parent).delete(this.node);this.node=null}function tQ(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var h9=C((VY)=>{Object.defineProperty(VY,"__esModule",{value:!0});VY._containerInsert=LJ;VY._containerInsertAfter=JY;VY._containerInsertBefore=kJ;VY._verifyNodeList=O5;VY.insertAfter=V31;VY.insertBefore=X31;VY.pushContainer=Q31;VY.unshiftContainer=Z31;VY.updateSiblingKeys=HY;var cZ1=V0(),lZ1=cQ(),wJ=a2(),fJ=O2(),y9=u9(),iZ1=W1(),{arrowFunctionExpression:aZ1,assertExpression:pZ1,assignmentExpression:rZ1,blockStatement:oQ,callExpression:dZ1,cloneNode:NJ,expressionStatement:TJ,isAssignmentExpression:sZ1,isCallExpression:tZ1,isExportNamedDeclaration:eQ,isExpression:nZ1,isIdentifier:oZ1,isSequenceExpression:eZ1,isSuper:J31,thisExpression:G31}=iZ1;function X31(J){y9._assertUnremoved.call(this);let G=O5.call(this,J),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||eQ(H)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertBefore(G);else if(this.isNodeType("Expression")&&!this.isJSXElement()||X.isForStatement()&&this.key==="init"){if(this.node)G.push(this.node);return this.replaceExpressionWithStatements(G)}else if(Array.isArray(this.container))return kJ.call(this,G);else if(this.isStatementOrBlock()){let V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(oQ(Z?[V]:[])),this.unshiftContainer("body",G)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}function LJ(J,G){HY.call(this,J,G.length);let X=[];this.container.splice(J,0,...G);for(let Z=0;Z<G.length;Z++){var H;let Q=J+Z,Y=this.getSibling(Q);if(X.push(Y),(H=this.context)!=null&&H.queue)fJ.pushContext.call(Y,this.context)}let V=fJ._getQueueContexts.call(this);for(let Z of X){fJ.setScope.call(Z),Z.debug("Inserted.");for(let Q of V)Q.maybeQueue(Z,!0)}return X}function kJ(J){return LJ.call(this,this.key,J)}function JY(J){return LJ.call(this,this.key+1,J)}var GY=(J)=>J[J.length-1];function XY(J){return eZ1(J.parent)&&(GY(J.parent.expressions)!==J.node||XY(J.parentPath))}function H31(J,G){if(!sZ1(J)||!oZ1(J.left))return!1;let X=G.getBlockParent();return X.hasOwnBinding(J.left.name)&&X.getOwnBinding(J.left.name).constantViolations.length<=1}function V31(J){if(y9._assertUnremoved.call(this),this.isSequenceExpression())return GY(this.get("expressions")).insertAfter(J);let G=O5.call(this,J),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||eQ(H)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertAfter(G.map((V)=>{return nZ1(V)?TJ(V):V}));else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!X.isJSXElement()||X.isForStatement()&&this.key==="init"){let V=this;if(V.node){let Z=V.node,{scope:Q}=this;if(Q.path.isPattern())return pZ1(Z),V.replaceWith(dZ1(aZ1([],Z),[])),V.get("callee.body").insertAfter(G),[V];if(XY(V))G.unshift(Z);else if(tZ1(Z)&&J31(Z.callee))G.unshift(Z),G.push(G31());else if(H31(Z,Q))G.unshift(Z),G.push(NJ(Z.left));else if(Q.isPure(Z,!0))G.push(Z);else{if(X.isMethod({computed:!0,key:Z}))Q=Q.parent;let Y=Q.generateDeclaredUidIdentifier();G.unshift(TJ(rZ1("=",NJ(Y),Z))),G.push(TJ(NJ(Y)))}}return this.replaceExpressionWithStatements(G)}else if(Array.isArray(this.container))return JY.call(this,G);else if(this.isStatementOrBlock()){let V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(oQ(Z?[V]:[])),this.pushContainer("body",G)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}function HY(J,G){if(!this.parent)return;let X=cZ1.getCachedPaths(this.hub,this.parent)||[];for(let[,H]of X)if(typeof H.key==="number"&&H.container===this.container&&H.key>=J)H.key+=G}function O5(J){if(!J)return[];if(!Array.isArray(J))J=[J];for(let G=0;G<J.length;G++){let X=J[G],H;if(!X)H="has falsy node";else if(typeof X!=="object")H="contains a non-object node";else if(!X.type)H="without a type";else if(X instanceof wJ.default)H="has a NodePath when it expected a raw object";if(H){let V=Array.isArray(X)?"array":typeof X;throw new Error(`Node list ${H} with the index of ${G} and type of ${V}`)}}return J}function Z31(J,G){y9._assertUnremoved.call(this),G=O5.call(this,G);let X=wJ.default.get({parentPath:this,parent:this.node,container:this.node[J],listKey:J,key:0}).setContext(this.context);return kJ.call(X,G)}function Q31(J,G){y9._assertUnremoved.call(this);let X=O5.call(this,G),H=this.node[J];return wJ.default.get({parentPath:this,parent:this.node,container:H,listKey:J,key:H.length}).setContext(this.context).replaceWithMultiple(X)}VY.hoist=function J(G=this.scope){return new lZ1.default(this,G).run()}});var PJ=C((RY)=>{Object.defineProperty(RY,"__esModule",{value:!0});RY._replaceWith=BY;RY.replaceExpressionWithStatements=l31;RY.replaceInline=i31;RY.replaceWith=c31;RY.replaceWithMultiple=x31;RY.replaceWithSourceString=m31;var q31=SJ(),EJ=q5(),F31=a2(),zY=V0(),vJ=h9(),j31=q9(),O31=W1(),b0=O2(),{FUNCTION_TYPES:ZY,arrowFunctionExpression:A31,assignmentExpression:KY,awaitExpression:C31,blockStatement:D31,buildUndefinedNode:bJ,callExpression:S31,cloneNode:gJ,conditionalExpression:I31,expressionStatement:P31,getBindingIdentifiers:f31,identifier:N31,inheritLeadingComments:T31,inheritTrailingComments:w31,inheritsComments:L31,isBlockStatement:k31,isEmptyStatement:QY,isExpression:UY,isExpressionStatement:b31,isIfStatement:E31,isProgram:v31,isStatement:g31,isVariableDeclaration:_31,removeComments:u31,returnStatement:YY,sequenceExpression:h31,validate:WY,yieldExpression:y31}=O31;function x31(J){var G;b0.resync.call(this),J=vJ._verifyNodeList.call(this,J),T31(J[0],this.node),w31(J[J.length-1],this.node),(G=zY.getCachedPaths(this.hub,this.parent))==null||G.delete(this.node),this.node=this.container[this.key]=null;let X=this.insertAfter(J);if(this.node)this.requeue();else this.remove();return X}function m31(J){b0.resync.call(this);let G;try{J=`(${J})`,G=j31.parse(J)}catch(H){let V=H.loc;if(V)H.message+=" - make sure this is an expression.\n"+q31.codeFrameColumns(J,{start:{line:V.line,column:V.column+1}}),H.code="BABEL_REPLACE_SOURCE_ERROR";throw H}let X=G.program.body[0].expression;return EJ.default.removeProperties(X),this.replaceWith(X)}function c31(J){if(b0.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let G=J instanceof F31.default?J.node:J;if(!G)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===G)return[this];if(this.isProgram()&&!v31(G))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(G))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof G==="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let X="";if(this.isNodeType("Statement")&&UY(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G)&&!this.parentPath.isExportDefaultDeclaration())G=P31(G),X="expression"}if(this.isNodeType("Expression")&&g31(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G))return this.replaceExpressionWithStatements([G])}let H=this.node;if(H)L31(G,H),u31(H);return BY.call(this,G),this.type=G.type,b0.setScope.call(this),this.requeue(),[X?this.get(X):this]}function BY(J){var G;if(!this.container)throw new ReferenceError("Container is falsy");if(this.inList)WY(this.parent,this.key,[J]);else WY(this.parent,this.key,J);this.debug(`Replace with ${J==null?void 0:J.type}`),(G=zY.getCachedPaths(this.hub,this.parent))==null||G.set(J,this).delete(this.node),this.node=this.container[this.key]=J}function l31(J){b0.resync.call(this);let G=[],X=x9(J,G);if(X){for(let A of G)this.scope.push({id:A});return this.replaceWith(X)[0].get("expressions")}let H=this.getFunctionParent(),V=H==null?void 0:H.node.async,Z=H==null?void 0:H.node.generator,Q=A31([],D31(J));this.replaceWith(S31(Q,[]));let Y=this.get("callee");Y.get("body").scope.hoistVariables((A)=>this.scope.push({id:A}));let W=Y.getCompletionRecords();for(let A of W){if(!A.isExpressionStatement())continue;let D=A.findParent((I)=>I.isLoop());if(D){let I=D.getData("expressionReplacementReturnUid");if(!I)I=Y.scope.generateDeclaredUidIdentifier("ret"),Y.get("body").pushContainer("body",YY(gJ(I))),D.setData("expressionReplacementReturnUid",I);else I=N31(I.name);A.get("expression").replaceWith(KY("=",gJ(I),A.node.expression))}else A.replaceWith(YY(A.node.expression))}Y.arrowFunctionToExpression();let z=Y,U=V&&EJ.default.hasType(this.get("callee.body").node,"AwaitExpression",ZY),F=Z&&EJ.default.hasType(this.get("callee.body").node,"YieldExpression",ZY);if(U){if(z.set("async",!0),!F)this.replaceWith(C31(this.node))}if(F)z.set("generator",!0),this.replaceWith(y31(this.node,!0));return z.get("body.body")}function x9(J,G){let X=[],H=!0;for(let V of J){if(!QY(V))H=!1;if(UY(V))X.push(V);else if(b31(V))X.push(V.expression);else if(_31(V)){if(V.kind!=="var")return;for(let Z of V.declarations){let Q=f31(Z);for(let Y of Object.keys(Q))G.push(gJ(Q[Y]));if(Z.init)X.push(KY("=",Z.id,Z.init))}H=!0}else if(E31(V)){let Z=V.consequent?x9([V.consequent],G):bJ(),Q=V.alternate?x9([V.alternate],G):bJ();if(!Z||!Q)return;X.push(I31(V.test,Z,Q))}else if(k31(V)){let Z=x9(V.body,G);if(!Z)return;X.push(Z)}else if(QY(V)){if(J.indexOf(V)===0)H=!0}else return}if(H)X.push(bJ());if(X.length===1)return X[0];else return h31(X)}function i31(J){if(b0.resync.call(this),Array.isArray(J))if(Array.isArray(this.container)){J=vJ._verifyNodeList.call(this,J);let G=vJ._containerInsertAfter.call(this,J);return this.remove(),G}else return this.replaceWithMultiple(J);else return this.replaceWith(J)}});var jY=C((FY)=>{Object.defineProperty(FY,"__esModule",{value:!0});FY.evaluate=VQ1;FY.evaluateTruthy=XQ1;var n31=["Number","String","Math"],o31=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],e31=["random"];function $Y(J){return n31.includes(J)}function JQ1(J){return o31.includes(J)}function GQ1(J){return e31.includes(J)}function XQ1(){let J=this.evaluate();if(J.confident)return!!J.value}function v2(J,G){if(!G.confident)return;G.deoptPath=J,G.confident=!1}var MY=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function p1(J,G){let{node:X}=J,{seen:H}=G;if(H.has(X)){let V=H.get(X);if(V.resolved)return V.value;else{v2(J,G);return}}else{let V={resolved:!1};H.set(X,V);let Z=HQ1(J,G);if(G.confident)V.resolved=!0,V.value=Z;return Z}}function HQ1(J,G){if(!G.confident)return;if(J.isSequenceExpression()){let X=J.get("expressions");return p1(X[X.length-1],G)}if(J.isStringLiteral()||J.isNumericLiteral()||J.isBooleanLiteral())return J.node.value;if(J.isNullLiteral())return null;if(J.isTemplateLiteral())return qY(J,J.node.quasis,G);if(J.isTaggedTemplateExpression()&&J.get("tag").isMemberExpression()){let X=J.get("tag.object"),{node:{name:H}}=X,V=J.get("tag.property");if(X.isIdentifier()&&H==="String"&&!J.scope.getBinding(H)&&V.isIdentifier()&&V.node.name==="raw")return qY(J,J.node.quasi.quasis,G,!0)}if(J.isConditionalExpression()){let X=p1(J.get("test"),G);if(!G.confident)return;if(X)return p1(J.get("consequent"),G);else return p1(J.get("alternate"),G)}if(J.isExpressionWrapper())return p1(J.get("expression"),G);if(J.isMemberExpression()&&!J.parentPath.isCallExpression({callee:J.node})){let X=J.get("property"),H=J.get("object");if(H.isLiteral()){let V=H.node.value,Z=typeof V,Q=null;if(J.node.computed){if(Q=p1(X,G),!G.confident)return}else if(X.isIdentifier())Q=X.node.name;if((Z==="number"||Z==="string")&&Q!=null&&(typeof Q==="number"||typeof Q==="string"))return V[Q]}}if(J.isReferencedIdentifier()){let X=J.scope.getBinding(J.node.name);if(X){if(X.constantViolations.length>0||J.node.start<X.path.node.end){v2(X.path,G);return}if(X.hasValue)return X.value}let H=J.node.name;if(MY.has(H)){if(!X)return MY.get(H);v2(X.path,G);return}let V=J.resolve();if(V===J){v2(J,G);return}else return p1(V,G)}if(J.isUnaryExpression({prefix:!0})){if(J.node.operator==="void")return;let X=J.get("argument");if(J.node.operator==="typeof"&&(X.isFunction()||X.isClass()))return"function";let H=p1(X,G);if(!G.confident)return;switch(J.node.operator){case"!":return!H;case"+":return+H;case"-":return-H;case"~":return~H;case"typeof":return typeof H}}if(J.isArrayExpression()){let X=[],H=J.get("elements");for(let V of H){let Z=V.evaluate();if(Z.confident)X.push(Z.value);else{v2(Z.deopt,G);return}}return X}if(J.isObjectExpression()){let X={},H=J.get("properties");for(let V of H){if(V.isObjectMethod()||V.isSpreadElement()){v2(V,G);return}let Z=V.get("key"),Q;if(V.node.computed){if(Q=Z.evaluate(),!Q.confident){v2(Q.deopt,G);return}Q=Q.value}else if(Z.isIdentifier())Q=Z.node.name;else Q=Z.node.value;let W=V.get("value").evaluate();if(!W.confident){v2(W.deopt,G);return}W=W.value,X[Q]=W}return X}if(J.isLogicalExpression()){let X=G.confident,H=p1(J.get("left"),G),V=G.confident;G.confident=X;let Z=p1(J.get("right"),G),Q=G.confident;switch(J.node.operator){case"||":if(G.confident=V&&(!!H||Q),!G.confident)return;return H||Z;case"&&":if(G.confident=V&&(!H||Q),!G.confident)return;return H&&Z;case"??":if(G.confident=V&&(H!=null||Q),!G.confident)return;return H!=null?H:Z}}if(J.isBinaryExpression()){let X=p1(J.get("left"),G);if(!G.confident)return;let H=p1(J.get("right"),G);if(!G.confident)return;switch(J.node.operator){case"-":return X-H;case"+":return X+H;case"/":return X/H;case"*":return X*H;case"%":return X%H;case"**":return Math.pow(X,H);case"<":return X<H;case">":return X>H;case"<=":return X<=H;case">=":return X>=H;case"==":return X==H;case"!=":return X!=H;case"===":return X===H;case"!==":return X!==H;case"|":return X|H;case"&":return X&H;case"^":return X^H;case"<<":return X<<H;case">>":return X>>H;case">>>":return X>>>H}}if(J.isCallExpression()){let X=J.get("callee"),H,V;if(X.isIdentifier()&&!J.scope.getBinding(X.node.name)&&($Y(X.node.name)||JQ1(X.node.name)))V=global[X.node.name];if(X.isMemberExpression()){let Z=X.get("object"),Q=X.get("property");if(Z.isIdentifier()&&Q.isIdentifier()&&$Y(Z.node.name)&&!GQ1(Q.node.name)){H=global[Z.node.name];let Y=Q.node.name;if(hasOwnProperty.call(H,Y))V=H[Y]}if(Z.isLiteral()&&Q.isIdentifier()){let Y=typeof Z.node.value;if(Y==="string"||Y==="number")H=Z.node.value,V=H[Q.node.name]}}if(V){let Z=J.get("arguments").map((Q)=>p1(Q,G));if(!G.confident)return;return V.apply(H,Z)}}v2(J,G)}function qY(J,G,X,H=!1){let V="",Z=0,Q=J.isTemplateLiteral()?J.get("expressions"):J.get("quasi.expressions");for(let Y of G){if(!X.confident)break;V+=H?Y.value.raw:Y.value.cooked;let W=Q[Z++];if(W)V+=String(p1(W,X))}if(!X.confident)return;return V}function VQ1(){let J={confident:!0,deoptPath:null,seen:new Map},G=p1(this,J);if(!J.confident)G=void 0;return{confident:J.confident,deopt:J.deoptPath,value:G}}});var CY=C((OY)=>{Object.defineProperty(OY,"__esModule",{value:!0});OY.statements=OY.statement=OY.smart=OY.program=OY.expression=void 0;var YQ1=W1(),{assertExpressionStatement:WQ1}=YQ1;function _J(J){return{code:(G)=>`/* @babel/template */;\n${G}`,validate:()=>{},unwrap:(G)=>{return J(G.program.body.slice(1))}}}var aF1=OY.smart=_J((J)=>{if(J.length>1)return J;else return J[0]}),pF1=OY.statements=_J((J)=>J),rF1=OY.statement=_J((J)=>{if(J.length===0)throw new Error("Found nothing to return.");if(J.length>1)throw new Error("Found multiple statements but wanted one");return J[0]}),zQ1=OY.expression={code:(J)=>`(\n${J}\n)`,validate:(J)=>{if(J.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(zQ1.unwrap(J).start===0)throw new Error("Parse result included parens.")},unwrap:({program:J})=>{let[G]=J.body;return WQ1(G),G.expression}},dF1=OY.program={code:(J)=>J,validate:()=>{},unwrap:(J)=>J.program}});var m9=C((DY)=>{Object.defineProperty(DY,"__esModule",{value:!0});DY.merge=qQ1;DY.normalizeReplacements=jQ1;DY.validate=FQ1;var $Q1=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function MQ1(J,G){if(J==null)return{};var X={};for(var H in J)if({}.hasOwnProperty.call(J,H)){if(G.includes(H))continue;X[H]=J[H]}return X}function qQ1(J,G){let{placeholderWhitelist:X=J.placeholderWhitelist,placeholderPattern:H=J.placeholderPattern,preserveComments:V=J.preserveComments,syntacticPlaceholders:Z=J.syntacticPlaceholders}=G;return{parser:Object.assign({},J.parser,G.parser),placeholderWhitelist:X,placeholderPattern:H,preserveComments:V,syntacticPlaceholders:Z}}function FQ1(J){if(J!=null&&typeof J!=="object")throw new Error("Unknown template options.");let G=J||{},{placeholderWhitelist:X,placeholderPattern:H,preserveComments:V,syntacticPlaceholders:Z}=G,Q=MQ1(G,$Q1);if(X!=null&&!(X instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(H!=null&&!(H instanceof RegExp)&&H!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(V!=null&&typeof V!=="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(Z!=null&&typeof Z!=="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(Z===!0&&(X!=null||H!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:Q,placeholderWhitelist:X||void 0,placeholderPattern:H==null?void 0:H,preserveComments:V==null?void 0:V,syntacticPlaceholders:Z==null?void 0:Z}}function jQ1(J){if(Array.isArray(J))return J.reduce((G,X,H)=>{return G["$"+H]=X,G},{});else if(typeof J==="object"||J==null)return J||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}});var uJ=C((IY)=>{Object.defineProperty(IY,"__esModule",{value:!0});IY.default=gQ1;var DQ1=W1(),SQ1=q9(),IQ1=SJ(),{isCallExpression:PQ1,isExpressionStatement:fQ1,isFunction:NQ1,isIdentifier:TQ1,isJSXIdentifier:wQ1,isNewExpression:LQ1,isPlaceholder:c9,isStatement:kQ1,isStringLiteral:SY,removePropertiesDeep:bQ1,traverse:EQ1}=DQ1,vQ1=/^[_$A-Z0-9]+$/;function gQ1(J,G,X){let{placeholderWhitelist:H,placeholderPattern:V,preserveComments:Z,syntacticPlaceholders:Q}=X,Y=hQ1(G,X.parser,Q);bQ1(Y,{preserveComments:Z}),J.validate(Y);let W={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:H,placeholderPattern:V,syntacticPlaceholders:Q};return EQ1(Y,_Q1,W),Object.assign({ast:Y},W.syntactic.placeholders.length?W.syntactic:W.legacy)}function _Q1(J,G,X){var H;let V,Z=X.syntactic.placeholders.length>0;if(c9(J)){if(X.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");V=J.name.name,Z=!0}else if(Z||X.syntacticPlaceholders)return;else if(TQ1(J)||wQ1(J))V=J.name;else if(SY(J))V=J.value;else return;if(Z&&(X.placeholderPattern!=null||X.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!Z&&(X.placeholderPattern===!1||!(X.placeholderPattern||vQ1).test(V))&&!((H=X.placeholderWhitelist)!=null&&H.has(V)))return;G=G.slice();let{node:Q,key:Y}=G[G.length-1],W;if(SY(J)||c9(J,{expectedNode:"StringLiteral"}))W="string";else if(LQ1(Q)&&Y==="arguments"||PQ1(Q)&&Y==="arguments"||NQ1(Q)&&Y==="params")W="param";else if(fQ1(Q)&&!c9(J))W="statement",G=G.slice(0,-1);else if(kQ1(J)&&c9(J))W="statement";else W="other";let{placeholders:z,placeholderNames:U}=!Z?X.legacy:X.syntactic;z.push({name:V,type:W,resolve:(F)=>uQ1(F,G),isDuplicate:U.has(V)}),U.add(V)}function uQ1(J,G){let X=J;for(let Z=0;Z<G.length-1;Z++){let{key:Q,index:Y}=G[Z];if(Y===void 0)X=X[Q];else X=X[Q][Y]}let{key:H,index:V}=G[G.length-1];return{parent:X,key:H,index:V}}function hQ1(J,G,X){let H=(G.plugins||[]).slice();if(X!==!1)H.push("placeholders");G=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},G,{plugins:H});try{return SQ1.parse(J,G)}catch(V){let Z=V.loc;if(Z)V.message+="\n"+IQ1.codeFrameColumns(J,{start:Z}),V.code="BABEL_TEMPLATE_PARSE_ERROR";throw V}}});var xJ=C((NY)=>{Object.defineProperty(NY,"__esModule",{value:!0});NY.default=aQ1;var xQ1=W1(),{blockStatement:mQ1,cloneNode:yJ,emptyStatement:cQ1,expressionStatement:hJ,identifier:l9,isStatement:PY,isStringLiteral:lQ1,stringLiteral:iQ1,validate:fY}=xQ1;function aQ1(J,G){let X=yJ(J.ast);if(G)J.placeholders.forEach((H)=>{if(!hasOwnProperty.call(G,H.name)){let V=H.name;throw new Error(`Error: No substitution given for "${V}". If this is not meant to be a
2
+ var eY=Object.create;var{getPrototypeOf:Gz,defineProperty:vJ,getOwnPropertyNames:m6,getOwnPropertyDescriptor:Jz}=Object,c6=Object.prototype.hasOwnProperty;var h0=(G,J,X)=>{X=G!=null?eY(Gz(G)):{};let H=J||!G||!G.__esModule?vJ(X,"default",{value:G,enumerable:!0}):X;for(let V of m6(G))if(!c6.call(H,V))vJ(H,V,{get:()=>G[V],enumerable:!0});return H},x6=new WeakMap,Xz=(G)=>{var J=x6.get(G),X;if(J)return J;if(J=vJ({},"__esModule",{value:!0}),G&&typeof G==="object"||typeof G==="function")m6(G).map((H)=>!c6.call(J,H)&&vJ(J,H,{get:()=>G[H],enumerable:!(X=Jz(G,H))||X.enumerable}));return x6.set(G,J),J},f=(G,J)=>()=>(J||G((J={exports:{}}).exports,J),J.exports);var Hz=(G,J)=>{for(var X in J)vJ(G,X,{get:J[X],enumerable:!0,configurable:!0,set:(H)=>J[X]=()=>H})};var Vz=(G,J)=>()=>(G&&(J=G(G=0)),J);var l6=import.meta.require;var a6=f((AX,i6)=>{(function(G,J){typeof AX==="object"&&typeof i6!=="undefined"?J(AX):typeof define==="function"&&define.amd?define(["exports"],J):(G=typeof globalThis!=="undefined"?globalThis:G||self,J(G.setArray={}))})(AX,function(G){class J{constructor(){this._indexes={__proto__:null},this.array=[]}}function X(W){return W}function H(W,Y){return X(W)._indexes[Y]}function V(W,Y){let z=H(W,Y);if(z!==void 0)return z;let{array:U,_indexes:q}=X(W),A=U.push(Y);return q[Y]=A-1}function Z(W){let{array:Y,_indexes:z}=X(W);if(Y.length===0)return;let U=Y.pop();z[U]=void 0}function Q(W,Y){let z=H(W,Y);if(z===void 0)return;let{array:U,_indexes:q}=X(W);for(let A=z+1;A<U.length;A++){let C=U[A];U[A-1]=C,q[C]--}q[Y]=void 0,U.pop()}G.SetArray=J,G.get=H,G.pop=Z,G.put=V,G.remove=Q,Object.defineProperty(G,"__esModule",{value:!0})})});var u0=f((CX,p6)=>{(function(G,J){typeof CX==="object"&&typeof p6!=="undefined"?J(CX):typeof define==="function"&&define.amd?define(["exports"],J):(G=typeof globalThis!=="undefined"?globalThis:G||self,J(G.sourcemapCodec={}))})(CX,function(G){let V=new Uint8Array(64),Z=new Uint8Array(128);for(let y=0;y<64;y++){let x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(y);V[y]=x,Z[x]=y}function Q(y,x){let N=0,c=0,Z1=0;do{let h=y.next();Z1=Z[h],N|=(Z1&31)<<c,c+=5}while(Z1&32);let R1=N&1;if(N>>>=1,R1)N=-2147483648|-N;return x+N}function W(y,x,N){let c=x-N;c=c<0?-c<<1|1:c<<1;do{let Z1=c&31;if(c>>>=5,c>0)Z1|=32;y.write(V[Z1])}while(c>0);return x}function Y(y,x){if(y.pos>=x)return!1;return y.peek()!==44}let z=16384,U=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let x="";for(let N=0;N<y.length;N++)x+=String.fromCharCode(y[N]);return x}};class q{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(z)}write(y){let{buffer:x}=this;if(x[this.pos++]=y,this.pos===z)this.out+=U.decode(x),this.pos=0}flush(){let{buffer:y,out:x,pos:N}=this;return N>0?x+U.decode(y.subarray(0,N)):x}}class A{constructor(y){this.pos=0,this.buffer=y}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(y){let{buffer:x,pos:N}=this,c=x.indexOf(y,N);return c===-1?x.length:c}}let C=[];function D(y){let{length:x}=y,N=new A(y),c=[],Z1=[],R1=0;for(;N.pos<x;N.pos++){R1=Q(N,R1);let h=Q(N,0);if(!Y(N,x)){let n=Z1.pop();n[2]=R1,n[3]=h;continue}let _=Q(N,0),e=Q(N,0)&1?[R1,h,0,0,_,Q(N,0)]:[R1,h,0,0,_],G1=C;if(Y(N,x)){G1=[];do{let n=Q(N,0);G1.push(n)}while(Y(N,x))}e.vars=G1,c.push(e),Z1.push(e)}return c}function L(y){let x=new q;for(let N=0;N<y.length;)N=P(y,N,x,[0]);return x.flush()}function P(y,x,N,c){let Z1=y[x],{0:R1,1:h,2:_,3:l,4:i,vars:e}=Z1;if(x>0)N.write(44);c[0]=W(N,R1,c[0]),W(N,h,0),W(N,i,0);let G1=Z1.length===6?1:0;if(W(N,G1,0),Z1.length===6)W(N,Z1[5],0);for(let n of e)W(N,n,0);for(x++;x<y.length;){let n=y[x],{0:V1,1:K1}=n;if(V1>_||V1===_&&K1>=l)break;x=P(y,x,N,c)}return N.write(44),c[0]=W(N,_,c[0]),W(N,l,0),x}function w(y){let{length:x}=y,N=new A(y),c=[],Z1=[],R1=0,h=0,_=0,l=0,i=0,e=0,G1=0,n=0;do{let V1=N.indexOf(";"),K1=0;for(;N.pos<V1;N.pos++){if(K1=Q(N,K1),!Y(N,V1)){let v1=Z1.pop();v1[2]=R1,v1[3]=K1;continue}let E1=Q(N,0),VG=E1&1,p1=E1&2,d1=E1&4,zG=null,ZG=C,_1;if(VG){let v1=Q(N,h);_=Q(N,h===v1?_:0),h=v1,_1=[R1,K1,0,0,v1,_]}else _1=[R1,K1,0,0];if(_1.isScope=!!d1,p1){let v1=l,jG=i;l=Q(N,l);let mG=v1===l;i=Q(N,mG?i:0),e=Q(N,mG&&jG===i?e:0),zG=[l,i,e]}if(_1.callsite=zG,Y(N,V1)){ZG=[];do{G1=R1,n=K1;let v1=Q(N,0),jG;if(v1<-1){jG=[[Q(N,0)]];for(let mG=-1;mG>v1;mG--){let v0=G1;G1=Q(N,G1),n=Q(N,G1===v0?n:0);let bJ=Q(N,0);jG.push([bJ,G1,n])}}else jG=[[v1]];ZG.push(jG)}while(Y(N,V1))}_1.bindings=ZG,c.push(_1),Z1.push(_1)}R1++,N.pos=V1+1}while(N.pos<x);return c}function b(y){if(y.length===0)return"";let x=new q;for(let N=0;N<y.length;)N=X1(y,N,x,[0,0,0,0,0,0,0]);return x.flush()}function X1(y,x,N,c){let Z1=y[x],{0:R1,1:h,2:_,3:l,isScope:i,callsite:e,bindings:G1}=Z1;if(c[0]<R1)r(N,c[0],R1),c[0]=R1,c[1]=0;else if(x>0)N.write(44);c[1]=W(N,Z1[1],c[1]);let n=(Z1.length===6?1:0)|(e?2:0)|(i?4:0);if(W(N,n,0),Z1.length===6){let{4:V1,5:K1}=Z1;if(V1!==c[2])c[3]=0;c[2]=W(N,V1,c[2]),c[3]=W(N,K1,c[3])}if(e){let{0:V1,1:K1,2:E1}=Z1.callsite;if(V1!==c[4])c[5]=0,c[6]=0;else if(K1!==c[5])c[6]=0;c[4]=W(N,V1,c[4]),c[5]=W(N,K1,c[5]),c[6]=W(N,E1,c[6])}if(G1)for(let V1 of G1){if(V1.length>1)W(N,-V1.length,0);let K1=V1[0][0];W(N,K1,0);let E1=R1,VG=h;for(let p1=1;p1<V1.length;p1++){let d1=V1[p1];E1=W(N,d1[1],E1),VG=W(N,d1[2],VG),W(N,d1[0],0)}}for(x++;x<y.length;){let V1=y[x],{0:K1,1:E1}=V1;if(K1>_||K1===_&&E1>=l)break;x=X1(y,x,N,c)}if(c[0]<_)r(N,c[0],_),c[0]=_,c[1]=0;else N.write(44);return c[1]=W(N,l,c[1]),x}function r(y,x,N){do y.write(59);while(++x<N)}function H1(y){let{length:x}=y,N=new A(y),c=[],Z1=0,R1=0,h=0,_=0,l=0;do{let i=N.indexOf(";"),e=[],G1=!0,n=0;Z1=0;while(N.pos<i){let V1;if(Z1=Q(N,Z1),Z1<n)G1=!1;if(n=Z1,Y(N,i))if(R1=Q(N,R1),h=Q(N,h),_=Q(N,_),Y(N,i))l=Q(N,l),V1=[Z1,R1,h,_,l];else V1=[Z1,R1,h,_];else V1=[Z1];e.push(V1),N.pos++}if(!G1)$1(e);c.push(e),N.pos=i+1}while(N.pos<=x);return c}function $1(y){y.sort(L1)}function L1(y,x){return y[0]-x[0]}function k1(y){let x=new q,N=0,c=0,Z1=0,R1=0;for(let h=0;h<y.length;h++){let _=y[h];if(h>0)x.write(59);if(_.length===0)continue;let l=0;for(let i=0;i<_.length;i++){let e=_[i];if(i>0)x.write(44);if(l=W(x,e[0],l),e.length===1)continue;if(N=W(x,e[1],N),c=W(x,e[2],c),Z1=W(x,e[3],Z1),e.length===4)continue;R1=W(x,e[4],R1)}}return x.flush()}G.decode=H1,G.decodeGeneratedRanges=w,G.decodeOriginalScopes=D,G.encode=k1,G.encodeGeneratedRanges=b,G.encodeOriginalScopes=L,Object.defineProperty(G,"__esModule",{value:!0})})});var r6=f((y0,x0)=>{(function(G,J){typeof y0==="object"&&typeof x0!=="undefined"?x0.exports=J():typeof define==="function"&&define.amd?define(J):(G=typeof globalThis!=="undefined"?globalThis:G||self,G.resolveURI=J())})(y0,function(){let G=/^[\w+.-]+:\/\//,J=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,X=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function H(P){return G.test(P)}function V(P){return P.startsWith("//")}function Z(P){return P.startsWith("/")}function Q(P){return P.startsWith("file:")}function W(P){return/^[.?#]/.test(P)}function Y(P){let w=J.exec(P);return U(w[1],w[2]||"",w[3],w[4]||"",w[5]||"/",w[6]||"",w[7]||"")}function z(P){let w=X.exec(P),b=w[2];return U("file:","",w[1]||"","",Z(b)?b:"/"+b,w[3]||"",w[4]||"")}function U(P,w,b,X1,r,H1,$1){return{scheme:P,user:w,host:b,port:X1,path:r,query:H1,hash:$1,type:7}}function q(P){if(V(P)){let b=Y("http:"+P);return b.scheme="",b.type=6,b}if(Z(P)){let b=Y("http://foo.com"+P);return b.scheme="",b.host="",b.type=5,b}if(Q(P))return z(P);if(H(P))return Y(P);let w=Y("http://foo.com/"+P);return w.scheme="",w.host="",w.type=P?P.startsWith("?")?3:P.startsWith("#")?2:4:1,w}function A(P){if(P.endsWith("/.."))return P;let w=P.lastIndexOf("/");return P.slice(0,w+1)}function C(P,w){if(D(w,w.type),P.path==="/")P.path=w.path;else P.path=A(w.path)+P.path}function D(P,w){let b=w<=4,X1=P.path.split("/"),r=1,H1=0,$1=!1;for(let k1=1;k1<X1.length;k1++){let y=X1[k1];if(!y){$1=!0;continue}if($1=!1,y===".")continue;if(y===".."){if(H1)$1=!0,H1--,r--;else if(b)X1[r++]=y;continue}X1[r++]=y,H1++}let L1="";for(let k1=1;k1<r;k1++)L1+="/"+X1[k1];if(!L1||$1&&!L1.endsWith("/.."))L1+="/";P.path=L1}function L(P,w){if(!P&&!w)return"";let b=q(P),X1=b.type;if(w&&X1!==7){let H1=q(w),$1=H1.type;switch(X1){case 1:b.hash=H1.hash;case 2:b.query=H1.query;case 3:case 4:C(b,H1);case 5:b.user=H1.user,b.host=H1.host,b.port=H1.port;case 6:b.scheme=H1.scheme}if($1>X1)X1=$1}D(b,X1);let r=b.query+b.hash;switch(X1){case 2:case 3:return r;case 4:{let H1=b.path.slice(1);if(!H1)return r||".";if(W(w||P)&&!W(H1))return"./"+H1+r;return H1+r}case 5:return b.path+r;default:return b.scheme+"//"+b.user+b.host+b.port+b.path+r}}return L})});var m0=f((DX,s6)=>{(function(G,J){typeof DX==="object"&&typeof s6!=="undefined"?J(DX,u0(),r6()):typeof define==="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],J):(G=typeof globalThis!=="undefined"?globalThis:G||self,J(G.traceMapping={},G.sourcemapCodec,G.resolveURI))})(DX,function(G,J,X){function H(I,k){if(k&&!k.endsWith("/"))k+="/";return X(I,k)}function V(I){if(!I)return"";let k=I.lastIndexOf("/");return I.slice(0,k+1)}let Z=0,Q=1,W=2,Y=3,z=4,U=1,q=2;function A(I,k){let v=C(I,0);if(v===I.length)return I;if(!k)I=I.slice();for(let m=v;m<I.length;m=C(I,m+1))I[m]=L(I[m],k);return I}function C(I,k){for(let v=k;v<I.length;v++)if(!D(I[v]))return v;return I.length}function D(I){for(let k=1;k<I.length;k++)if(I[k][Z]<I[k-1][Z])return!1;return!0}function L(I,k){if(!k)I=I.slice();return I.sort(P)}function P(I,k){return I[Z]-k[Z]}let w=!1;function b(I,k,v,m){while(v<=m){let Q1=v+(m-v>>1),d=I[Q1][Z]-k;if(d===0)return w=!0,Q1;if(d<0)v=Q1+1;else m=Q1-1}return w=!1,v-1}function X1(I,k,v){for(let m=v+1;m<I.length;v=m++)if(I[m][Z]!==k)break;return v}function r(I,k,v){for(let m=v-1;m>=0;v=m--)if(I[m][Z]!==k)break;return v}function H1(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function $1(I,k,v,m){let{lastKey:Q1,lastNeedle:d,lastIndex:F1}=v,A1=0,U1=I.length-1;if(m===Q1){if(k===d)return w=F1!==-1&&I[F1][Z]===k,F1;if(k>=d)A1=F1===-1?0:F1;else U1=F1}return v.lastKey=m,v.lastNeedle=k,v.lastIndex=b(I,k,A1,U1)}function L1(I,k){let v=k.map(y);for(let m=0;m<I.length;m++){let Q1=I[m];for(let d=0;d<Q1.length;d++){let F1=Q1[d];if(F1.length===1)continue;let A1=F1[Q],U1=F1[W],D1=F1[Y],i1=v[A1],I1=i1[U1]||(i1[U1]=[]),b1=k[A1],r1=X1(I1,D1,$1(I1,D1,b1,U1));b1.lastIndex=++r1,k1(I1,r1,[D1,m,F1[Z]])}}return v}function k1(I,k,v){for(let m=I.length;m>k;m--)I[m]=I[m-1];I[k]=v}function y(){return{__proto__:null}}let x=function(I,k){let v=N(I);if(!("sections"in v))return new G1(v,k);let m=[],Q1=[],d=[],F1=[],A1=[];c(v,k,m,Q1,d,F1,A1,0,0,1/0,1/0);let U1={version:3,file:v.file,names:F1,sources:Q1,sourcesContent:d,mappings:m,ignoreList:A1};return jG(U1)};function N(I){return typeof I==="string"?JSON.parse(I):I}function c(I,k,v,m,Q1,d,F1,A1,U1,D1,i1){let{sections:I1}=I;for(let b1=0;b1<I1.length;b1++){let{map:r1,offset:KG}=I1[b1],cG=D1,YJ=i1;if(b1+1<I1.length){let zJ=I1[b1+1].offset;if(cG=Math.min(D1,A1+zJ.line),cG===D1)YJ=Math.min(i1,U1+zJ.column);else if(cG<D1)YJ=U1+zJ.column}Z1(r1,k,v,m,Q1,d,F1,A1+KG.line,U1+KG.column,cG,YJ)}}function Z1(I,k,v,m,Q1,d,F1,A1,U1,D1,i1){let I1=N(I);if("sections"in I1)return c(...arguments);let b1=new G1(I1,k),r1=m.length,KG=d.length,cG=K1(b1),{resolvedSources:YJ,sourcesContent:zJ,ignoreList:E0}=b1;if(R1(m,YJ),R1(d,b1.names),zJ)R1(Q1,zJ);else for(let t1=0;t1<YJ.length;t1++)Q1.push(null);if(E0)for(let t1=0;t1<E0.length;t1++)F1.push(E0[t1]+r1);for(let t1=0;t1<cG.length;t1++){let g0=A1+t1;if(g0>D1)return;let g6=h(v,g0),oY=t1===0?U1:0,_6=cG[t1];for(let _0=0;_0<_6.length;_0++){let lG=_6[_0],OX=oY+lG[Z];if(g0===D1&&OX>=i1)return;if(lG.length===1){g6.push([OX]);continue}let h6=r1+lG[Q],u6=lG[W],y6=lG[Y];g6.push(lG.length===4?[OX,h6,u6,y6]:[OX,h6,u6,y6,KG+lG[z]])}}}function R1(I,k){for(let v=0;v<k.length;v++)I.push(k[v])}function h(I,k){for(let v=I.length;v<=k;v++)I[v]=[];return I[k]}let _="`line` must be greater than 0 (lines start at line 1)",l="`column` must be greater than or equal to 0 (columns start at column 0)",i=-1,e=1;class G1{constructor(I,k){let v=typeof I==="string";if(!v&&I._decodedMemo)return I;let m=v?JSON.parse(I):I,{version:Q1,file:d,names:F1,sourceRoot:A1,sources:U1,sourcesContent:D1}=m;this.version=Q1,this.file=d,this.names=F1||[],this.sourceRoot=A1,this.sources=U1,this.sourcesContent=D1,this.ignoreList=m.ignoreList||m.x_google_ignoreList||void 0;let i1=H(A1||"",V(k));this.resolvedSources=U1.map((b1)=>H(b1||"",i1));let{mappings:I1}=m;if(typeof I1==="string")this._encoded=I1,this._decoded=void 0;else this._encoded=void 0,this._decoded=A(I1,v);this._decodedMemo=H1(),this._bySources=void 0,this._bySourceMemos=void 0}}function n(I){return I}function V1(I){var k,v;return(k=(v=n(I))._encoded)!==null&&k!==void 0?k:v._encoded=J.encode(n(I)._decoded)}function K1(I){var k;return(k=n(I))._decoded||(k._decoded=J.decode(n(I)._encoded))}function E1(I,k,v){let m=K1(I);if(k>=m.length)return null;let Q1=m[k],d=jX(Q1,n(I)._decodedMemo,k,v,e);return d===-1?null:Q1[d]}function VG(I,k){let{line:v,column:m,bias:Q1}=k;if(v--,v<0)throw new Error(_);if(m<0)throw new Error(l);let d=K1(I);if(v>=d.length)return qX(null,null,null,null);let F1=d[v],A1=jX(F1,n(I)._decodedMemo,v,m,Q1||e);if(A1===-1)return qX(null,null,null,null);let U1=F1[A1];if(U1.length===1)return qX(null,null,null,null);let{names:D1,resolvedSources:i1}=I;return qX(i1[U1[Q]],U1[W]+1,U1[Y],U1.length===5?D1[U1[z]]:null)}function p1(I,k){let{source:v,line:m,column:Q1,bias:d}=k;return E6(I,v,m,Q1,d||e,!1)}function d1(I,k){let{source:v,line:m,column:Q1,bias:d}=k;return E6(I,v,m,Q1,d||i,!0)}function zG(I,k){let v=K1(I),{names:m,resolvedSources:Q1}=I;for(let d=0;d<v.length;d++){let F1=v[d];for(let A1=0;A1<F1.length;A1++){let U1=F1[A1],D1=d+1,i1=U1[0],I1=null,b1=null,r1=null,KG=null;if(U1.length!==1)I1=Q1[U1[1]],b1=U1[2]+1,r1=U1[3];if(U1.length===5)KG=m[U1[4]];k({generatedLine:D1,generatedColumn:i1,source:I1,originalLine:b1,originalColumn:r1,name:KG})}}}function ZG(I,k){let{sources:v,resolvedSources:m}=I,Q1=v.indexOf(k);if(Q1===-1)Q1=m.indexOf(k);return Q1}function _1(I,k){let{sourcesContent:v}=I;if(v==null)return null;let m=ZG(I,k);return m===-1?null:v[m]}function v1(I,k){let{ignoreList:v}=I;if(v==null)return!1;let m=ZG(I,k);return m===-1?!1:v.includes(m)}function jG(I,k){let v=new G1(bJ(I,[]),k);return n(v)._decoded=I.mappings,v}function mG(I){return bJ(I,K1(I))}function v0(I){return bJ(I,V1(I))}function bJ(I,k){return{version:I.version,file:I.file,names:I.names,sourceRoot:I.sourceRoot,sources:I.sources,sourcesContent:I.sourcesContent,mappings:k,ignoreList:I.ignoreList||I.x_google_ignoreList}}function qX(I,k,v,m){return{source:I,line:k,column:v,name:m}}function kJ(I,k){return{line:I,column:k}}function jX(I,k,v,m,Q1){let d=$1(I,m,k,v);if(w)d=(Q1===i?X1:r)(I,m,d);else if(Q1===i)d++;if(d===-1||d===I.length)return-1;return d}function nY(I,k,v,m,Q1){let d=jX(I,k,v,m,e);if(!w&&Q1===i)d++;if(d===-1||d===I.length)return[];let F1=w?m:I[d][Z];if(!w)d=r(I,F1,d);let A1=X1(I,F1,d),U1=[];for(;d<=A1;d++){let D1=I[d];U1.push(kJ(D1[U]+1,D1[q]))}return U1}function E6(I,k,v,m,Q1,d){var F1;if(v--,v<0)throw new Error(_);if(m<0)throw new Error(l);let{sources:A1,resolvedSources:U1}=I,D1=A1.indexOf(k);if(D1===-1)D1=U1.indexOf(k);if(D1===-1)return d?[]:kJ(null,null);let I1=((F1=n(I))._bySources||(F1._bySources=L1(K1(I),n(I)._bySourceMemos=A1.map(H1))))[D1][v];if(I1==null)return d?[]:kJ(null,null);let b1=n(I)._bySourceMemos[D1];if(d)return nY(I1,b1,v,m,Q1);let r1=jX(I1,b1,v,m,Q1);if(r1===-1)return kJ(null,null);let KG=I1[r1];return kJ(KG[U]+1,KG[q])}G.AnyMap=x,G.GREATEST_LOWER_BOUND=e,G.LEAST_UPPER_BOUND=i,G.TraceMap=G1,G.allGeneratedPositionsFor=d1,G.decodedMap=mG,G.decodedMappings=K1,G.eachMapping=zG,G.encodedMap=v0,G.encodedMappings=V1,G.generatedPositionFor=p1,G.isIgnored=v1,G.originalPositionFor=VG,G.presortedDecodedMap=jG,G.sourceContentFor=_1,G.traceSegment=E1})});var t6=f((SX,d6)=>{(function(G,J){typeof SX==="object"&&typeof d6!=="undefined"?J(SX,a6(),u0(),m0()):typeof define==="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],J):(G=typeof globalThis!=="undefined"?globalThis:G||self,J(G.genMapping={},G.setArray,G.sourcemapCodec,G.traceMapping))})(SX,function(G,J,X,H){class U{constructor({file:h,sourceRoot:_}={}){this._names=new J.SetArray,this._sources=new J.SetArray,this._sourcesContent=[],this._mappings=[],this.file=h,this.sourceRoot=_,this._ignoreList=new J.SetArray}}function q(h){return h}function A(h,_,l,i,e,G1,n,V1){return $1(!1,h,_,l,i,e,G1,n,V1)}function C(h,_){return R1(!1,h,_)}let D=(h,_,l,i,e,G1,n,V1)=>{return $1(!0,h,_,l,i,e,G1,n,V1)},L=(h,_)=>{return R1(!0,h,_)};function P(h,_,l){let{_sources:i,_sourcesContent:e}=q(h),G1=J.put(i,_);e[G1]=l}function w(h,_,l=!0){let{_sources:i,_sourcesContent:e,_ignoreList:G1}=q(h),n=J.put(i,_);if(n===e.length)e[n]=null;if(l)J.put(G1,n);else J.remove(G1,n)}function b(h){let{_mappings:_,_sources:l,_sourcesContent:i,_names:e,_ignoreList:G1}=q(h);return x(_),{version:3,file:h.file||void 0,names:e.array,sourceRoot:h.sourceRoot||void 0,sources:l.array,sourcesContent:i,mappings:_,ignoreList:G1.array}}function X1(h){let _=b(h);return Object.assign(Object.assign({},_),{mappings:X.encode(_.mappings)})}function r(h){let _=new H.TraceMap(h),l=new U({file:_.file,sourceRoot:_.sourceRoot});if(N(q(l)._names,_.names),N(q(l)._sources,_.sources),q(l)._sourcesContent=_.sourcesContent||_.sources.map(()=>null),q(l)._mappings=H.decodedMappings(_),_.ignoreList)N(q(l)._ignoreList,_.ignoreList);return l}function H1(h){let _=[],{_mappings:l,_sources:i,_names:e}=q(h);for(let G1=0;G1<l.length;G1++){let n=l[G1];for(let V1=0;V1<n.length;V1++){let K1=n[V1],E1={line:G1+1,column:K1[0]},VG=void 0,p1=void 0,d1=void 0;if(K1.length!==1){if(VG=i.array[K1[1]],p1={line:K1[2]+1,column:K1[3]},K1.length===5)d1=e.array[K1[4]]}_.push({generated:E1,source:VG,original:p1,name:d1})}}return _}function $1(h,_,l,i,e,G1,n,V1,K1){let{_mappings:E1,_sources:VG,_sourcesContent:p1,_names:d1}=q(_),zG=L1(E1,l),ZG=k1(zG,i);if(!e){if(h&&c(zG,ZG))return;return y(zG,ZG,[i])}let _1=J.put(VG,e),v1=V1?J.put(d1,V1):-1;if(_1===p1.length)p1[_1]=K1!==null&&K1!==void 0?K1:null;if(h&&Z1(zG,ZG,_1,G1,n,v1))return;return y(zG,ZG,V1?[i,_1,G1,n,v1]:[i,_1,G1,n])}function L1(h,_){for(let l=h.length;l<=_;l++)h[l]=[];return h[_]}function k1(h,_){let l=h.length;for(let i=l-1;i>=0;l=i--){let e=h[i];if(_>=e[0])break}return l}function y(h,_,l){for(let i=h.length;i>_;i--)h[i]=h[i-1];h[_]=l}function x(h){let{length:_}=h,l=_;for(let i=l-1;i>=0;l=i,i--)if(h[i].length>0)break;if(l<_)h.length=l}function N(h,_){for(let l=0;l<_.length;l++)J.put(h,_[l])}function c(h,_){if(_===0)return!0;return h[_-1].length===1}function Z1(h,_,l,i,e,G1){if(_===0)return!1;let n=h[_-1];if(n.length===1)return!1;return l===n[1]&&i===n[2]&&e===n[3]&&G1===(n.length===5?n[4]:-1)}function R1(h,_,l){let{generated:i,source:e,original:G1,name:n,content:V1}=l;if(!e)return $1(h,_,i.line-1,i.column,null,null,null,null,null);return $1(h,_,i.line-1,i.column,e,G1.line-1,G1.column,n,V1)}G.GenMapping=U,G.addMapping=C,G.addSegment=A,G.allMappings=H1,G.fromMap=r,G.maybeAddMapping=L,G.maybeAddSegment=D,G.setIgnore=w,G.setSourceContent=P,G.toDecodedMap=b,G.toEncodedMap=X1,Object.defineProperty(G,"__esModule",{value:!0})})});var GH=f((o6)=>{Object.defineProperty(o6,"__esModule",{value:!0});o6.default=void 0;var bG=t6(),c0=m0();class n6{constructor(G,J){var X;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let H=this._map=new bG.GenMapping({sourceRoot:G.sourceRoot});if(this._sourceFileName=(X=G.sourceFileName)==null?void 0:X.replace(/\\/g,"/"),this._rawMappings=void 0,G.inputSourceMap){this._inputMap=new c0.TraceMap(G.inputSourceMap);let Z=this._inputMap.resolvedSources;if(Z.length)for(let Q=0;Q<Z.length;Q++){var V;bG.setSourceContent(H,Z[Q],(V=this._inputMap.sourcesContent)==null?void 0:V[Q])}}if(typeof J==="string"&&!G.inputSourceMap)bG.setSourceContent(H,this._sourceFileName,J);else if(typeof J==="object")for(let Z of Object.keys(J))bG.setSourceContent(H,Z.replace(/\\/g,"/"),J[Z])}get(){return bG.toEncodedMap(this._map)}getDecoded(){return bG.toDecodedMap(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=bG.allMappings(this._map))}mark(G,J,X,H,V,Z){var Q;this._rawMappings=void 0;let W;if(J!=null)if(this._inputMap){if(W=c0.originalPositionFor(this._inputMap,{line:J,column:X}),!W.name&&V){let Y=c0.originalPositionFor(this._inputMap,V);if(Y.name)H=Y.name}}else W={source:(Z==null?void 0:Z.replace(/\\/g,"/"))||this._sourceFileName,line:J,column:X};bG.maybeAddMapping(this._map,{name:H,generated:G,source:(Q=W)==null?void 0:Q.source,original:W})}}o6.default=n6});var VH=f((XH)=>{Object.defineProperty(XH,"__esModule",{value:!0});XH.default=void 0;class JH{constructor(G,J){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=G,this._indentChar=J;for(let X=0;X<64;X++)this._fastIndentations.push(J.repeat(X));this._allocQueue()}_allocQueue(){let G=this._queue;for(let J=0;J<16;J++)G.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(G,J,X,H,V){let Z=this._queueCursor;if(Z===this._queue.length)this._allocQueue();let Q=this._queue[Z];Q.char=G,Q.repeat=J,Q.line=X,Q.column=H,Q.filename=V,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let G=this._map,J={code:(this._buf+this._str).trimRight(),decodedMap:G==null?void 0:G.getDecoded(),get __mergedMap(){return this.map},get map(){let X=G?G.get():null;return J.map=X,X},set map(X){Object.defineProperty(J,"map",{value:X,writable:!0})},get rawMappings(){let X=G==null?void 0:G.getRawMappings();return J.rawMappings=X,X},set rawMappings(X){Object.defineProperty(J,"rawMappings",{value:X,writable:!0})}};return J}append(G,J){this._flush(),this._append(G,this._sourcePosition,J)}appendChar(G){this._flush(),this._appendChar(G,1,this._sourcePosition)}queue(G){if(G===10)while(this._queueCursor!==0){let X=this._queue[this._queueCursor-1].char;if(X!==32&&X!==9)break;this._queueCursor--}let J=this._sourcePosition;this._pushQueue(G,1,J.line,J.column,J.filename)}queueIndentation(G){if(G===0)return;this._pushQueue(-1,G,void 0,void 0,void 0)}_flush(){let G=this._queueCursor,J=this._queue;for(let X=0;X<G;X++){let H=J[X];this._appendChar(H.char,H.repeat,H)}this._queueCursor=0}_appendChar(G,J,X){if(this._last=G,G===-1){let H=this._fastIndentations[J];if(H!==void 0)this._str+=H;else this._str+=J>1?this._indentChar.repeat(J):this._indentChar}else this._str+=J>1?String.fromCharCode(G).repeat(J):String.fromCharCode(G);if(G!==10)this._mark(X.line,X.column,X.identifierName,X.identifierNamePos,X.filename),this._position.column+=J;else this._position.line++,this._position.column=0;if(this._canMarkIdName)X.identifierName=void 0,X.identifierNamePos=void 0}_append(G,J,X){let H=G.length,V=this._position;if(this._last=G.charCodeAt(H-1),++this._appendCount>4096)+this._str,this._buf+=this._str,this._str=G,this._appendCount=0;else this._str+=G;if(!X&&!this._map){V.column+=H;return}let{column:Z,identifierName:Q,identifierNamePos:W,filename:Y}=J,z=J.line;if((Q!=null||W!=null)&&this._canMarkIdName)J.identifierName=void 0,J.identifierNamePos=void 0;let U=G.indexOf(`
3
+ `),q=0;if(U!==0)this._mark(z,Z,Q,W,Y);while(U!==-1){if(V.line++,V.column=0,q=U+1,q<H&&z!==void 0)this._mark(++z,0,null,null,Y);U=G.indexOf(`
4
+ `,q)}V.column+=H-q}_mark(G,J,X,H,V){var Z;(Z=this._map)==null||Z.mark(this._position,G,J,X,H,V)}removeTrailingNewline(){let G=this._queueCursor;if(G!==0&&this._queue[G-1].char===10)this._queueCursor--}removeLastSemicolon(){let G=this._queueCursor;if(G!==0&&this._queue[G-1].char===59)this._queueCursor--}getLastChar(){let G=this._queueCursor;return G!==0?this._queue[G-1].char:this._last}getNewlineCount(){let G=this._queueCursor,J=0;if(G===0)return this._last===10?1:0;for(let X=G-1;X>=0;X--){if(this._queue[X].char!==10)break;J++}return J===G&&this._last===10?J+1:J}endsWithCharAndNewline(){let G=this._queue,J=this._queueCursor;if(J!==0){if(G[J-1].char!==10)return;if(J>1)return G[J-2].char;else return this._last}}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(G,J){if(!this._map){J();return}this.source("start",G);let X=G.identifierName,H=this._sourcePosition;if(X)this._canMarkIdName=!1,H.identifierName=X;if(J(),X)this._canMarkIdName=!0,H.identifierName=void 0,H.identifierNamePos=void 0;this.source("end",G)}source(G,J){if(!this._map)return;this._normalizePosition(G,J,0)}sourceWithOffset(G,J,X){if(!this._map)return;this._normalizePosition(G,J,X)}_normalizePosition(G,J,X){let H=J[G],V=this._sourcePosition;if(H)V.line=H.line,V.column=Math.max(H.column+X,0),V.filename=J.filename}getCurrentColumn(){let G=this._queue,J=this._queueCursor,X=-1,H=0;for(let V=0;V<J;V++){let Z=G[V];if(Z.char===10)X=H;H+=Z.repeat}return X===-1?this._position.column+H:H-1-X}getCurrentLine(){let G=0,J=this._queue;for(let X=0;X<this._queueCursor;X++)if(J[X].char===10)G++;return this._position.line+G}}XH.default=JH});var fX=f((ZH)=>{Object.defineProperty(ZH,"__esModule",{value:!0});ZH.default=Zz;function Zz(G,J){let X=Object.keys(J);for(let H of X)if(G[H]!==J[H])return!1;return!0}});var EJ=f((WH)=>{Object.defineProperty(WH,"__esModule",{value:!0});WH.default=Wz;var QH=new Set;function Wz(G,J,X=""){if(QH.has(G))return;QH.add(G);let{internal:H,trace:V}=Yz(1,2);if(H)return;console.warn(`${X}\`${G}\` has been deprecated, please migrate to \`${J}\`
5
+ ${V}`)}function Yz(G,J){let{stackTraceLimit:X,prepareStackTrace:H}=Error,V;if(Error.stackTraceLimit=1+G+J,Error.prepareStackTrace=function(Q,W){V=W},new Error().stack,Error.stackTraceLimit=X,Error.prepareStackTrace=H,!V)return{internal:!1,trace:""};let Z=V.slice(1+G,1+G+J);return{internal:/[\\/]@babel[\\/]/.test(Z[1].getFileName()),trace:Z.map((Q)=>` at ${Q}`).join(`
6
+ `)}}});var N1=f((zH)=>{Object.defineProperty(zH,"__esModule",{value:!0});zH.isAccessor=fB;zH.isAnyTypeAnnotation=i3;zH.isArgumentPlaceholder=OU;zH.isArrayExpression=Kz;zH.isArrayPattern=Y3;zH.isArrayTypeAnnotation=a3;zH.isArrowFunctionExpression=z3;zH.isAssignmentExpression=Uz;zH.isAssignmentPattern=W3;zH.isAwaitExpression=k3;zH.isBigIntLiteral=E3;zH.isBinary=rR;zH.isBinaryExpression=Rz;zH.isBindExpression=AU;zH.isBlock=tR;zH.isBlockParent=dR;zH.isBlockStatement=Fz;zH.isBooleanLiteral=hz;zH.isBooleanLiteralTypeAnnotation=r3;zH.isBooleanTypeAnnotation=p3;zH.isBreakStatement=qz;zH.isCallExpression=jz;zH.isCatchClause=Oz;zH.isClass=CB;zH.isClassAccessorProperty=y3;zH.isClassBody=K3;zH.isClassDeclaration=R3;zH.isClassExpression=U3;zH.isClassImplements=d3;zH.isClassMethod=f3;zH.isClassPrivateMethod=m3;zH.isClassPrivateProperty=x3;zH.isClassProperty=u3;zH.isCompletionStatement=eR;zH.isConditional=GB;zH.isConditionalExpression=Az;zH.isContinueStatement=Cz;zH.isDebuggerStatement=Dz;zH.isDecimalLiteral=NU;zH.isDeclaration=zB;zH.isDeclareClass=t3;zH.isDeclareExportAllDeclaration=ZK;zH.isDeclareExportDeclaration=VK;zH.isDeclareFunction=n3;zH.isDeclareInterface=o3;zH.isDeclareModule=e3;zH.isDeclareModuleExports=GK;zH.isDeclareOpaqueType=XK;zH.isDeclareTypeAlias=JK;zH.isDeclareVariable=HK;zH.isDeclaredPredicate=QK;zH.isDecorator=DU;zH.isDirective=Mz;zH.isDirectiveLiteral=$z;zH.isDoExpression=SU;zH.isDoWhileStatement=Sz;zH.isEmptyStatement=fz;zH.isEmptyTypeAnnotation=qK;zH.isEnumBody=bB;zH.isEnumBooleanBody=aK;zH.isEnumBooleanMember=dK;zH.isEnumDeclaration=iK;zH.isEnumDefaultedMember=oK;zH.isEnumMember=kB;zH.isEnumNumberBody=pK;zH.isEnumNumberMember=tK;zH.isEnumStringBody=rK;zH.isEnumStringMember=nK;zH.isEnumSymbolBody=sK;zH.isExistsTypeAnnotation=WK;zH.isExportAllDeclaration=B3;zH.isExportDeclaration=DB;zH.isExportDefaultDeclaration=M3;zH.isExportDefaultSpecifier=fU;zH.isExportNamedDeclaration=$3;zH.isExportNamespaceSpecifier=g3;zH.isExportSpecifier=F3;zH.isExpression=pR;zH.isExpressionStatement=Iz;zH.isExpressionWrapper=HB;zH.isFile=Pz;zH.isFlow=PB;zH.isFlowBaseAnnotation=TB;zH.isFlowDeclaration=wB;zH.isFlowPredicate=LB;zH.isFlowType=NB;zH.isFor=VB;zH.isForInStatement=Nz;zH.isForOfStatement=q3;zH.isForStatement=Tz;zH.isForXStatement=ZB;zH.isFunction=QB;zH.isFunctionDeclaration=wz;zH.isFunctionExpression=Lz;zH.isFunctionParent=WB;zH.isFunctionTypeAnnotation=YK;zH.isFunctionTypeParam=zK;zH.isGenericTypeAnnotation=KK;zH.isIdentifier=bz;zH.isIfStatement=kz;zH.isImmutable=MB;zH.isImport=v3;zH.isImportAttribute=CU;zH.isImportDeclaration=j3;zH.isImportDefaultSpecifier=O3;zH.isImportExpression=D3;zH.isImportNamespaceSpecifier=A3;zH.isImportOrExportDeclaration=YH;zH.isImportSpecifier=C3;zH.isIndexedAccessType=eK;zH.isInferredPredicate=UK;zH.isInterfaceDeclaration=BK;zH.isInterfaceExtends=RK;zH.isInterfaceTypeAnnotation=MK;zH.isInterpreterDirective=Bz;zH.isIntersectionTypeAnnotation=$K;zH.isJSX=vB;zH.isJSXAttribute=JU;zH.isJSXClosingElement=XU;zH.isJSXClosingFragment=$U;zH.isJSXElement=HU;zH.isJSXEmptyExpression=VU;zH.isJSXExpressionContainer=ZU;zH.isJSXFragment=BU;zH.isJSXIdentifier=WU;zH.isJSXMemberExpression=YU;zH.isJSXNamespacedName=zU;zH.isJSXOpeningElement=KU;zH.isJSXOpeningFragment=MU;zH.isJSXSpreadAttribute=UU;zH.isJSXSpreadChild=QU;zH.isJSXText=RU;zH.isLVal=UB;zH.isLabeledStatement=vz;zH.isLiteral=BB;zH.isLogicalExpression=yz;zH.isLoop=JB;zH.isMemberExpression=xz;zH.isMetaProperty=S3;zH.isMethod=FB;zH.isMiscellaneous=EB;zH.isMixedTypeAnnotation=FK;zH.isModuleDeclaration=lB;zH.isModuleExpression=TU;zH.isModuleSpecifier=SB;zH.isNewExpression=mz;zH.isNoop=FU;zH.isNullLiteral=_z;zH.isNullLiteralTypeAnnotation=s3;zH.isNullableTypeAnnotation=jK;zH.isNumberLiteral=yB;zH.isNumberLiteralTypeAnnotation=OK;zH.isNumberTypeAnnotation=AK;zH.isNumericLiteral=gz;zH.isObjectExpression=lz;zH.isObjectMember=qB;zH.isObjectMethod=iz;zH.isObjectPattern=I3;zH.isObjectProperty=az;zH.isObjectTypeAnnotation=CK;zH.isObjectTypeCallProperty=SK;zH.isObjectTypeIndexer=fK;zH.isObjectTypeInternalSlot=DK;zH.isObjectTypeProperty=IK;zH.isObjectTypeSpreadProperty=PK;zH.isOpaqueType=NK;zH.isOptionalCallExpression=h3;zH.isOptionalIndexedAccessType=GU;zH.isOptionalMemberExpression=_3;zH.isParenthesizedExpression=dz;zH.isPattern=AB;zH.isPatternLike=KB;zH.isPipelineBareFunction=bU;zH.isPipelinePrimaryTopicReference=kU;zH.isPipelineTopicExpression=LU;zH.isPlaceholder=qU;zH.isPrivate=IB;zH.isPrivateName=c3;zH.isProgram=cz;zH.isProperty=jB;zH.isPureish=YB;zH.isQualifiedTypeIdentifier=TK;zH.isRecordExpression=IU;zH.isRegExpLiteral=uz;zH.isRegexLiteral=xB;zH.isRestElement=pz;zH.isRestProperty=mB;zH.isReturnStatement=rz;zH.isScopable=sR;zH.isSequenceExpression=sz;zH.isSpreadElement=P3;zH.isSpreadProperty=cB;zH.isStandardized=aR;zH.isStatement=nR;zH.isStaticBlock=l3;zH.isStringLiteral=Ez;zH.isStringLiteralTypeAnnotation=wK;zH.isStringTypeAnnotation=LK;zH.isSuper=N3;zH.isSwitchCase=tz;zH.isSwitchStatement=nz;zH.isSymbolTypeAnnotation=bK;zH.isTSAnyKeyword=cU;zH.isTSArrayType=YR;zH.isTSAsExpression=NR;zH.isTSBaseType=uB;zH.isTSBigIntKeyword=iU;zH.isTSBooleanKeyword=lU;zH.isTSCallSignatureDeclaration=hU;zH.isTSConditionalType=$R;zH.isTSConstructSignatureDeclaration=uU;zH.isTSConstructorType=HR;zH.isTSDeclareFunction=EU;zH.isTSDeclareMethod=gU;zH.isTSEntityName=RB;zH.isTSEnumBody=LR;zH.isTSEnumDeclaration=bR;zH.isTSEnumMember=kR;zH.isTSExportAssignment=yR;zH.isTSExpressionWithTypeArguments=DR;zH.isTSExternalModuleReference=hR;zH.isTSFunctionType=XR;zH.isTSImportEqualsDeclaration=_R;zH.isTSImportType=gR;zH.isTSIndexSignature=mU;zH.isTSIndexedAccessType=OR;zH.isTSInferType=FR;zH.isTSInstantiationExpression=PR;zH.isTSInterfaceBody=fR;zH.isTSInterfaceDeclaration=SR;zH.isTSIntersectionType=MR;zH.isTSIntrinsicKeyword=aU;zH.isTSLiteralType=CR;zH.isTSMappedType=AR;zH.isTSMethodSignature=xU;zH.isTSModuleBlock=ER;zH.isTSModuleDeclaration=vR;zH.isTSNamedTupleMember=RR;zH.isTSNamespaceExportDeclaration=xR;zH.isTSNeverKeyword=pU;zH.isTSNonNullExpression=uR;zH.isTSNullKeyword=rU;zH.isTSNumberKeyword=sU;zH.isTSObjectKeyword=dU;zH.isTSOptionalType=KR;zH.isTSParameterProperty=vU;zH.isTSParenthesizedType=qR;zH.isTSPropertySignature=yU;zH.isTSQualifiedName=_U;zH.isTSRestType=UR;zH.isTSSatisfiesExpression=TR;zH.isTSStringKeyword=tU;zH.isTSSymbolKeyword=nU;zH.isTSThisType=JR;zH.isTSTupleType=zR;zH.isTSType=hB;zH.isTSTypeAliasDeclaration=IR;zH.isTSTypeAnnotation=mR;zH.isTSTypeAssertion=wR;zH.isTSTypeElement=_B;zH.isTSTypeLiteral=WR;zH.isTSTypeOperator=jR;zH.isTSTypeParameter=iR;zH.isTSTypeParameterDeclaration=lR;zH.isTSTypeParameterInstantiation=cR;zH.isTSTypePredicate=ZR;zH.isTSTypeQuery=QR;zH.isTSTypeReference=VR;zH.isTSUndefinedKeyword=oU;zH.isTSUnionType=BR;zH.isTSUnknownKeyword=eU;zH.isTSVoidKeyword=GR;zH.isTaggedTemplateExpression=T3;zH.isTemplateElement=w3;zH.isTemplateLiteral=L3;zH.isTerminatorless=oR;zH.isThisExpression=oz;zH.isThisTypeAnnotation=kK;zH.isThrowStatement=ez;zH.isTopicReference=wU;zH.isTryStatement=G3;zH.isTupleExpression=PU;zH.isTupleTypeAnnotation=vK;zH.isTypeAlias=gK;zH.isTypeAnnotation=_K;zH.isTypeCastExpression=hK;zH.isTypeParameter=uK;zH.isTypeParameterDeclaration=yK;zH.isTypeParameterInstantiation=xK;zH.isTypeScript=gB;zH.isTypeofTypeAnnotation=EK;zH.isUnaryExpression=J3;zH.isUnaryLike=OB;zH.isUnionTypeAnnotation=mK;zH.isUpdateExpression=X3;zH.isUserWhitespacable=$B;zH.isV8IntrinsicIdentifier=jU;zH.isVariableDeclaration=H3;zH.isVariableDeclarator=V3;zH.isVariance=cK;zH.isVoidTypeAnnotation=lK;zH.isWhile=XB;zH.isWhileStatement=Z3;zH.isWithStatement=Q3;zH.isYieldExpression=b3;var B=fX(),gJ=EJ();function Kz(G,J){if(!G)return!1;if(G.type!=="ArrayExpression")return!1;return J==null||B.default(G,J)}function Uz(G,J){if(!G)return!1;if(G.type!=="AssignmentExpression")return!1;return J==null||B.default(G,J)}function Rz(G,J){if(!G)return!1;if(G.type!=="BinaryExpression")return!1;return J==null||B.default(G,J)}function Bz(G,J){if(!G)return!1;if(G.type!=="InterpreterDirective")return!1;return J==null||B.default(G,J)}function Mz(G,J){if(!G)return!1;if(G.type!=="Directive")return!1;return J==null||B.default(G,J)}function $z(G,J){if(!G)return!1;if(G.type!=="DirectiveLiteral")return!1;return J==null||B.default(G,J)}function Fz(G,J){if(!G)return!1;if(G.type!=="BlockStatement")return!1;return J==null||B.default(G,J)}function qz(G,J){if(!G)return!1;if(G.type!=="BreakStatement")return!1;return J==null||B.default(G,J)}function jz(G,J){if(!G)return!1;if(G.type!=="CallExpression")return!1;return J==null||B.default(G,J)}function Oz(G,J){if(!G)return!1;if(G.type!=="CatchClause")return!1;return J==null||B.default(G,J)}function Az(G,J){if(!G)return!1;if(G.type!=="ConditionalExpression")return!1;return J==null||B.default(G,J)}function Cz(G,J){if(!G)return!1;if(G.type!=="ContinueStatement")return!1;return J==null||B.default(G,J)}function Dz(G,J){if(!G)return!1;if(G.type!=="DebuggerStatement")return!1;return J==null||B.default(G,J)}function Sz(G,J){if(!G)return!1;if(G.type!=="DoWhileStatement")return!1;return J==null||B.default(G,J)}function fz(G,J){if(!G)return!1;if(G.type!=="EmptyStatement")return!1;return J==null||B.default(G,J)}function Iz(G,J){if(!G)return!1;if(G.type!=="ExpressionStatement")return!1;return J==null||B.default(G,J)}function Pz(G,J){if(!G)return!1;if(G.type!=="File")return!1;return J==null||B.default(G,J)}function Nz(G,J){if(!G)return!1;if(G.type!=="ForInStatement")return!1;return J==null||B.default(G,J)}function Tz(G,J){if(!G)return!1;if(G.type!=="ForStatement")return!1;return J==null||B.default(G,J)}function wz(G,J){if(!G)return!1;if(G.type!=="FunctionDeclaration")return!1;return J==null||B.default(G,J)}function Lz(G,J){if(!G)return!1;if(G.type!=="FunctionExpression")return!1;return J==null||B.default(G,J)}function bz(G,J){if(!G)return!1;if(G.type!=="Identifier")return!1;return J==null||B.default(G,J)}function kz(G,J){if(!G)return!1;if(G.type!=="IfStatement")return!1;return J==null||B.default(G,J)}function vz(G,J){if(!G)return!1;if(G.type!=="LabeledStatement")return!1;return J==null||B.default(G,J)}function Ez(G,J){if(!G)return!1;if(G.type!=="StringLiteral")return!1;return J==null||B.default(G,J)}function gz(G,J){if(!G)return!1;if(G.type!=="NumericLiteral")return!1;return J==null||B.default(G,J)}function _z(G,J){if(!G)return!1;if(G.type!=="NullLiteral")return!1;return J==null||B.default(G,J)}function hz(G,J){if(!G)return!1;if(G.type!=="BooleanLiteral")return!1;return J==null||B.default(G,J)}function uz(G,J){if(!G)return!1;if(G.type!=="RegExpLiteral")return!1;return J==null||B.default(G,J)}function yz(G,J){if(!G)return!1;if(G.type!=="LogicalExpression")return!1;return J==null||B.default(G,J)}function xz(G,J){if(!G)return!1;if(G.type!=="MemberExpression")return!1;return J==null||B.default(G,J)}function mz(G,J){if(!G)return!1;if(G.type!=="NewExpression")return!1;return J==null||B.default(G,J)}function cz(G,J){if(!G)return!1;if(G.type!=="Program")return!1;return J==null||B.default(G,J)}function lz(G,J){if(!G)return!1;if(G.type!=="ObjectExpression")return!1;return J==null||B.default(G,J)}function iz(G,J){if(!G)return!1;if(G.type!=="ObjectMethod")return!1;return J==null||B.default(G,J)}function az(G,J){if(!G)return!1;if(G.type!=="ObjectProperty")return!1;return J==null||B.default(G,J)}function pz(G,J){if(!G)return!1;if(G.type!=="RestElement")return!1;return J==null||B.default(G,J)}function rz(G,J){if(!G)return!1;if(G.type!=="ReturnStatement")return!1;return J==null||B.default(G,J)}function sz(G,J){if(!G)return!1;if(G.type!=="SequenceExpression")return!1;return J==null||B.default(G,J)}function dz(G,J){if(!G)return!1;if(G.type!=="ParenthesizedExpression")return!1;return J==null||B.default(G,J)}function tz(G,J){if(!G)return!1;if(G.type!=="SwitchCase")return!1;return J==null||B.default(G,J)}function nz(G,J){if(!G)return!1;if(G.type!=="SwitchStatement")return!1;return J==null||B.default(G,J)}function oz(G,J){if(!G)return!1;if(G.type!=="ThisExpression")return!1;return J==null||B.default(G,J)}function ez(G,J){if(!G)return!1;if(G.type!=="ThrowStatement")return!1;return J==null||B.default(G,J)}function G3(G,J){if(!G)return!1;if(G.type!=="TryStatement")return!1;return J==null||B.default(G,J)}function J3(G,J){if(!G)return!1;if(G.type!=="UnaryExpression")return!1;return J==null||B.default(G,J)}function X3(G,J){if(!G)return!1;if(G.type!=="UpdateExpression")return!1;return J==null||B.default(G,J)}function H3(G,J){if(!G)return!1;if(G.type!=="VariableDeclaration")return!1;return J==null||B.default(G,J)}function V3(G,J){if(!G)return!1;if(G.type!=="VariableDeclarator")return!1;return J==null||B.default(G,J)}function Z3(G,J){if(!G)return!1;if(G.type!=="WhileStatement")return!1;return J==null||B.default(G,J)}function Q3(G,J){if(!G)return!1;if(G.type!=="WithStatement")return!1;return J==null||B.default(G,J)}function W3(G,J){if(!G)return!1;if(G.type!=="AssignmentPattern")return!1;return J==null||B.default(G,J)}function Y3(G,J){if(!G)return!1;if(G.type!=="ArrayPattern")return!1;return J==null||B.default(G,J)}function z3(G,J){if(!G)return!1;if(G.type!=="ArrowFunctionExpression")return!1;return J==null||B.default(G,J)}function K3(G,J){if(!G)return!1;if(G.type!=="ClassBody")return!1;return J==null||B.default(G,J)}function U3(G,J){if(!G)return!1;if(G.type!=="ClassExpression")return!1;return J==null||B.default(G,J)}function R3(G,J){if(!G)return!1;if(G.type!=="ClassDeclaration")return!1;return J==null||B.default(G,J)}function B3(G,J){if(!G)return!1;if(G.type!=="ExportAllDeclaration")return!1;return J==null||B.default(G,J)}function M3(G,J){if(!G)return!1;if(G.type!=="ExportDefaultDeclaration")return!1;return J==null||B.default(G,J)}function $3(G,J){if(!G)return!1;if(G.type!=="ExportNamedDeclaration")return!1;return J==null||B.default(G,J)}function F3(G,J){if(!G)return!1;if(G.type!=="ExportSpecifier")return!1;return J==null||B.default(G,J)}function q3(G,J){if(!G)return!1;if(G.type!=="ForOfStatement")return!1;return J==null||B.default(G,J)}function j3(G,J){if(!G)return!1;if(G.type!=="ImportDeclaration")return!1;return J==null||B.default(G,J)}function O3(G,J){if(!G)return!1;if(G.type!=="ImportDefaultSpecifier")return!1;return J==null||B.default(G,J)}function A3(G,J){if(!G)return!1;if(G.type!=="ImportNamespaceSpecifier")return!1;return J==null||B.default(G,J)}function C3(G,J){if(!G)return!1;if(G.type!=="ImportSpecifier")return!1;return J==null||B.default(G,J)}function D3(G,J){if(!G)return!1;if(G.type!=="ImportExpression")return!1;return J==null||B.default(G,J)}function S3(G,J){if(!G)return!1;if(G.type!=="MetaProperty")return!1;return J==null||B.default(G,J)}function f3(G,J){if(!G)return!1;if(G.type!=="ClassMethod")return!1;return J==null||B.default(G,J)}function I3(G,J){if(!G)return!1;if(G.type!=="ObjectPattern")return!1;return J==null||B.default(G,J)}function P3(G,J){if(!G)return!1;if(G.type!=="SpreadElement")return!1;return J==null||B.default(G,J)}function N3(G,J){if(!G)return!1;if(G.type!=="Super")return!1;return J==null||B.default(G,J)}function T3(G,J){if(!G)return!1;if(G.type!=="TaggedTemplateExpression")return!1;return J==null||B.default(G,J)}function w3(G,J){if(!G)return!1;if(G.type!=="TemplateElement")return!1;return J==null||B.default(G,J)}function L3(G,J){if(!G)return!1;if(G.type!=="TemplateLiteral")return!1;return J==null||B.default(G,J)}function b3(G,J){if(!G)return!1;if(G.type!=="YieldExpression")return!1;return J==null||B.default(G,J)}function k3(G,J){if(!G)return!1;if(G.type!=="AwaitExpression")return!1;return J==null||B.default(G,J)}function v3(G,J){if(!G)return!1;if(G.type!=="Import")return!1;return J==null||B.default(G,J)}function E3(G,J){if(!G)return!1;if(G.type!=="BigIntLiteral")return!1;return J==null||B.default(G,J)}function g3(G,J){if(!G)return!1;if(G.type!=="ExportNamespaceSpecifier")return!1;return J==null||B.default(G,J)}function _3(G,J){if(!G)return!1;if(G.type!=="OptionalMemberExpression")return!1;return J==null||B.default(G,J)}function h3(G,J){if(!G)return!1;if(G.type!=="OptionalCallExpression")return!1;return J==null||B.default(G,J)}function u3(G,J){if(!G)return!1;if(G.type!=="ClassProperty")return!1;return J==null||B.default(G,J)}function y3(G,J){if(!G)return!1;if(G.type!=="ClassAccessorProperty")return!1;return J==null||B.default(G,J)}function x3(G,J){if(!G)return!1;if(G.type!=="ClassPrivateProperty")return!1;return J==null||B.default(G,J)}function m3(G,J){if(!G)return!1;if(G.type!=="ClassPrivateMethod")return!1;return J==null||B.default(G,J)}function c3(G,J){if(!G)return!1;if(G.type!=="PrivateName")return!1;return J==null||B.default(G,J)}function l3(G,J){if(!G)return!1;if(G.type!=="StaticBlock")return!1;return J==null||B.default(G,J)}function i3(G,J){if(!G)return!1;if(G.type!=="AnyTypeAnnotation")return!1;return J==null||B.default(G,J)}function a3(G,J){if(!G)return!1;if(G.type!=="ArrayTypeAnnotation")return!1;return J==null||B.default(G,J)}function p3(G,J){if(!G)return!1;if(G.type!=="BooleanTypeAnnotation")return!1;return J==null||B.default(G,J)}function r3(G,J){if(!G)return!1;if(G.type!=="BooleanLiteralTypeAnnotation")return!1;return J==null||B.default(G,J)}function s3(G,J){if(!G)return!1;if(G.type!=="NullLiteralTypeAnnotation")return!1;return J==null||B.default(G,J)}function d3(G,J){if(!G)return!1;if(G.type!=="ClassImplements")return!1;return J==null||B.default(G,J)}function t3(G,J){if(!G)return!1;if(G.type!=="DeclareClass")return!1;return J==null||B.default(G,J)}function n3(G,J){if(!G)return!1;if(G.type!=="DeclareFunction")return!1;return J==null||B.default(G,J)}function o3(G,J){if(!G)return!1;if(G.type!=="DeclareInterface")return!1;return J==null||B.default(G,J)}function e3(G,J){if(!G)return!1;if(G.type!=="DeclareModule")return!1;return J==null||B.default(G,J)}function GK(G,J){if(!G)return!1;if(G.type!=="DeclareModuleExports")return!1;return J==null||B.default(G,J)}function JK(G,J){if(!G)return!1;if(G.type!=="DeclareTypeAlias")return!1;return J==null||B.default(G,J)}function XK(G,J){if(!G)return!1;if(G.type!=="DeclareOpaqueType")return!1;return J==null||B.default(G,J)}function HK(G,J){if(!G)return!1;if(G.type!=="DeclareVariable")return!1;return J==null||B.default(G,J)}function VK(G,J){if(!G)return!1;if(G.type!=="DeclareExportDeclaration")return!1;return J==null||B.default(G,J)}function ZK(G,J){if(!G)return!1;if(G.type!=="DeclareExportAllDeclaration")return!1;return J==null||B.default(G,J)}function QK(G,J){if(!G)return!1;if(G.type!=="DeclaredPredicate")return!1;return J==null||B.default(G,J)}function WK(G,J){if(!G)return!1;if(G.type!=="ExistsTypeAnnotation")return!1;return J==null||B.default(G,J)}function YK(G,J){if(!G)return!1;if(G.type!=="FunctionTypeAnnotation")return!1;return J==null||B.default(G,J)}function zK(G,J){if(!G)return!1;if(G.type!=="FunctionTypeParam")return!1;return J==null||B.default(G,J)}function KK(G,J){if(!G)return!1;if(G.type!=="GenericTypeAnnotation")return!1;return J==null||B.default(G,J)}function UK(G,J){if(!G)return!1;if(G.type!=="InferredPredicate")return!1;return J==null||B.default(G,J)}function RK(G,J){if(!G)return!1;if(G.type!=="InterfaceExtends")return!1;return J==null||B.default(G,J)}function BK(G,J){if(!G)return!1;if(G.type!=="InterfaceDeclaration")return!1;return J==null||B.default(G,J)}function MK(G,J){if(!G)return!1;if(G.type!=="InterfaceTypeAnnotation")return!1;return J==null||B.default(G,J)}function $K(G,J){if(!G)return!1;if(G.type!=="IntersectionTypeAnnotation")return!1;return J==null||B.default(G,J)}function FK(G,J){if(!G)return!1;if(G.type!=="MixedTypeAnnotation")return!1;return J==null||B.default(G,J)}function qK(G,J){if(!G)return!1;if(G.type!=="EmptyTypeAnnotation")return!1;return J==null||B.default(G,J)}function jK(G,J){if(!G)return!1;if(G.type!=="NullableTypeAnnotation")return!1;return J==null||B.default(G,J)}function OK(G,J){if(!G)return!1;if(G.type!=="NumberLiteralTypeAnnotation")return!1;return J==null||B.default(G,J)}function AK(G,J){if(!G)return!1;if(G.type!=="NumberTypeAnnotation")return!1;return J==null||B.default(G,J)}function CK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeAnnotation")return!1;return J==null||B.default(G,J)}function DK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeInternalSlot")return!1;return J==null||B.default(G,J)}function SK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeCallProperty")return!1;return J==null||B.default(G,J)}function fK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeIndexer")return!1;return J==null||B.default(G,J)}function IK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeProperty")return!1;return J==null||B.default(G,J)}function PK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeSpreadProperty")return!1;return J==null||B.default(G,J)}function NK(G,J){if(!G)return!1;if(G.type!=="OpaqueType")return!1;return J==null||B.default(G,J)}function TK(G,J){if(!G)return!1;if(G.type!=="QualifiedTypeIdentifier")return!1;return J==null||B.default(G,J)}function wK(G,J){if(!G)return!1;if(G.type!=="StringLiteralTypeAnnotation")return!1;return J==null||B.default(G,J)}function LK(G,J){if(!G)return!1;if(G.type!=="StringTypeAnnotation")return!1;return J==null||B.default(G,J)}function bK(G,J){if(!G)return!1;if(G.type!=="SymbolTypeAnnotation")return!1;return J==null||B.default(G,J)}function kK(G,J){if(!G)return!1;if(G.type!=="ThisTypeAnnotation")return!1;return J==null||B.default(G,J)}function vK(G,J){if(!G)return!1;if(G.type!=="TupleTypeAnnotation")return!1;return J==null||B.default(G,J)}function EK(G,J){if(!G)return!1;if(G.type!=="TypeofTypeAnnotation")return!1;return J==null||B.default(G,J)}function gK(G,J){if(!G)return!1;if(G.type!=="TypeAlias")return!1;return J==null||B.default(G,J)}function _K(G,J){if(!G)return!1;if(G.type!=="TypeAnnotation")return!1;return J==null||B.default(G,J)}function hK(G,J){if(!G)return!1;if(G.type!=="TypeCastExpression")return!1;return J==null||B.default(G,J)}function uK(G,J){if(!G)return!1;if(G.type!=="TypeParameter")return!1;return J==null||B.default(G,J)}function yK(G,J){if(!G)return!1;if(G.type!=="TypeParameterDeclaration")return!1;return J==null||B.default(G,J)}function xK(G,J){if(!G)return!1;if(G.type!=="TypeParameterInstantiation")return!1;return J==null||B.default(G,J)}function mK(G,J){if(!G)return!1;if(G.type!=="UnionTypeAnnotation")return!1;return J==null||B.default(G,J)}function cK(G,J){if(!G)return!1;if(G.type!=="Variance")return!1;return J==null||B.default(G,J)}function lK(G,J){if(!G)return!1;if(G.type!=="VoidTypeAnnotation")return!1;return J==null||B.default(G,J)}function iK(G,J){if(!G)return!1;if(G.type!=="EnumDeclaration")return!1;return J==null||B.default(G,J)}function aK(G,J){if(!G)return!1;if(G.type!=="EnumBooleanBody")return!1;return J==null||B.default(G,J)}function pK(G,J){if(!G)return!1;if(G.type!=="EnumNumberBody")return!1;return J==null||B.default(G,J)}function rK(G,J){if(!G)return!1;if(G.type!=="EnumStringBody")return!1;return J==null||B.default(G,J)}function sK(G,J){if(!G)return!1;if(G.type!=="EnumSymbolBody")return!1;return J==null||B.default(G,J)}function dK(G,J){if(!G)return!1;if(G.type!=="EnumBooleanMember")return!1;return J==null||B.default(G,J)}function tK(G,J){if(!G)return!1;if(G.type!=="EnumNumberMember")return!1;return J==null||B.default(G,J)}function nK(G,J){if(!G)return!1;if(G.type!=="EnumStringMember")return!1;return J==null||B.default(G,J)}function oK(G,J){if(!G)return!1;if(G.type!=="EnumDefaultedMember")return!1;return J==null||B.default(G,J)}function eK(G,J){if(!G)return!1;if(G.type!=="IndexedAccessType")return!1;return J==null||B.default(G,J)}function GU(G,J){if(!G)return!1;if(G.type!=="OptionalIndexedAccessType")return!1;return J==null||B.default(G,J)}function JU(G,J){if(!G)return!1;if(G.type!=="JSXAttribute")return!1;return J==null||B.default(G,J)}function XU(G,J){if(!G)return!1;if(G.type!=="JSXClosingElement")return!1;return J==null||B.default(G,J)}function HU(G,J){if(!G)return!1;if(G.type!=="JSXElement")return!1;return J==null||B.default(G,J)}function VU(G,J){if(!G)return!1;if(G.type!=="JSXEmptyExpression")return!1;return J==null||B.default(G,J)}function ZU(G,J){if(!G)return!1;if(G.type!=="JSXExpressionContainer")return!1;return J==null||B.default(G,J)}function QU(G,J){if(!G)return!1;if(G.type!=="JSXSpreadChild")return!1;return J==null||B.default(G,J)}function WU(G,J){if(!G)return!1;if(G.type!=="JSXIdentifier")return!1;return J==null||B.default(G,J)}function YU(G,J){if(!G)return!1;if(G.type!=="JSXMemberExpression")return!1;return J==null||B.default(G,J)}function zU(G,J){if(!G)return!1;if(G.type!=="JSXNamespacedName")return!1;return J==null||B.default(G,J)}function KU(G,J){if(!G)return!1;if(G.type!=="JSXOpeningElement")return!1;return J==null||B.default(G,J)}function UU(G,J){if(!G)return!1;if(G.type!=="JSXSpreadAttribute")return!1;return J==null||B.default(G,J)}function RU(G,J){if(!G)return!1;if(G.type!=="JSXText")return!1;return J==null||B.default(G,J)}function BU(G,J){if(!G)return!1;if(G.type!=="JSXFragment")return!1;return J==null||B.default(G,J)}function MU(G,J){if(!G)return!1;if(G.type!=="JSXOpeningFragment")return!1;return J==null||B.default(G,J)}function $U(G,J){if(!G)return!1;if(G.type!=="JSXClosingFragment")return!1;return J==null||B.default(G,J)}function FU(G,J){if(!G)return!1;if(G.type!=="Noop")return!1;return J==null||B.default(G,J)}function qU(G,J){if(!G)return!1;if(G.type!=="Placeholder")return!1;return J==null||B.default(G,J)}function jU(G,J){if(!G)return!1;if(G.type!=="V8IntrinsicIdentifier")return!1;return J==null||B.default(G,J)}function OU(G,J){if(!G)return!1;if(G.type!=="ArgumentPlaceholder")return!1;return J==null||B.default(G,J)}function AU(G,J){if(!G)return!1;if(G.type!=="BindExpression")return!1;return J==null||B.default(G,J)}function CU(G,J){if(!G)return!1;if(G.type!=="ImportAttribute")return!1;return J==null||B.default(G,J)}function DU(G,J){if(!G)return!1;if(G.type!=="Decorator")return!1;return J==null||B.default(G,J)}function SU(G,J){if(!G)return!1;if(G.type!=="DoExpression")return!1;return J==null||B.default(G,J)}function fU(G,J){if(!G)return!1;if(G.type!=="ExportDefaultSpecifier")return!1;return J==null||B.default(G,J)}function IU(G,J){if(!G)return!1;if(G.type!=="RecordExpression")return!1;return J==null||B.default(G,J)}function PU(G,J){if(!G)return!1;if(G.type!=="TupleExpression")return!1;return J==null||B.default(G,J)}function NU(G,J){if(!G)return!1;if(G.type!=="DecimalLiteral")return!1;return J==null||B.default(G,J)}function TU(G,J){if(!G)return!1;if(G.type!=="ModuleExpression")return!1;return J==null||B.default(G,J)}function wU(G,J){if(!G)return!1;if(G.type!=="TopicReference")return!1;return J==null||B.default(G,J)}function LU(G,J){if(!G)return!1;if(G.type!=="PipelineTopicExpression")return!1;return J==null||B.default(G,J)}function bU(G,J){if(!G)return!1;if(G.type!=="PipelineBareFunction")return!1;return J==null||B.default(G,J)}function kU(G,J){if(!G)return!1;if(G.type!=="PipelinePrimaryTopicReference")return!1;return J==null||B.default(G,J)}function vU(G,J){if(!G)return!1;if(G.type!=="TSParameterProperty")return!1;return J==null||B.default(G,J)}function EU(G,J){if(!G)return!1;if(G.type!=="TSDeclareFunction")return!1;return J==null||B.default(G,J)}function gU(G,J){if(!G)return!1;if(G.type!=="TSDeclareMethod")return!1;return J==null||B.default(G,J)}function _U(G,J){if(!G)return!1;if(G.type!=="TSQualifiedName")return!1;return J==null||B.default(G,J)}function hU(G,J){if(!G)return!1;if(G.type!=="TSCallSignatureDeclaration")return!1;return J==null||B.default(G,J)}function uU(G,J){if(!G)return!1;if(G.type!=="TSConstructSignatureDeclaration")return!1;return J==null||B.default(G,J)}function yU(G,J){if(!G)return!1;if(G.type!=="TSPropertySignature")return!1;return J==null||B.default(G,J)}function xU(G,J){if(!G)return!1;if(G.type!=="TSMethodSignature")return!1;return J==null||B.default(G,J)}function mU(G,J){if(!G)return!1;if(G.type!=="TSIndexSignature")return!1;return J==null||B.default(G,J)}function cU(G,J){if(!G)return!1;if(G.type!=="TSAnyKeyword")return!1;return J==null||B.default(G,J)}function lU(G,J){if(!G)return!1;if(G.type!=="TSBooleanKeyword")return!1;return J==null||B.default(G,J)}function iU(G,J){if(!G)return!1;if(G.type!=="TSBigIntKeyword")return!1;return J==null||B.default(G,J)}function aU(G,J){if(!G)return!1;if(G.type!=="TSIntrinsicKeyword")return!1;return J==null||B.default(G,J)}function pU(G,J){if(!G)return!1;if(G.type!=="TSNeverKeyword")return!1;return J==null||B.default(G,J)}function rU(G,J){if(!G)return!1;if(G.type!=="TSNullKeyword")return!1;return J==null||B.default(G,J)}function sU(G,J){if(!G)return!1;if(G.type!=="TSNumberKeyword")return!1;return J==null||B.default(G,J)}function dU(G,J){if(!G)return!1;if(G.type!=="TSObjectKeyword")return!1;return J==null||B.default(G,J)}function tU(G,J){if(!G)return!1;if(G.type!=="TSStringKeyword")return!1;return J==null||B.default(G,J)}function nU(G,J){if(!G)return!1;if(G.type!=="TSSymbolKeyword")return!1;return J==null||B.default(G,J)}function oU(G,J){if(!G)return!1;if(G.type!=="TSUndefinedKeyword")return!1;return J==null||B.default(G,J)}function eU(G,J){if(!G)return!1;if(G.type!=="TSUnknownKeyword")return!1;return J==null||B.default(G,J)}function GR(G,J){if(!G)return!1;if(G.type!=="TSVoidKeyword")return!1;return J==null||B.default(G,J)}function JR(G,J){if(!G)return!1;if(G.type!=="TSThisType")return!1;return J==null||B.default(G,J)}function XR(G,J){if(!G)return!1;if(G.type!=="TSFunctionType")return!1;return J==null||B.default(G,J)}function HR(G,J){if(!G)return!1;if(G.type!=="TSConstructorType")return!1;return J==null||B.default(G,J)}function VR(G,J){if(!G)return!1;if(G.type!=="TSTypeReference")return!1;return J==null||B.default(G,J)}function ZR(G,J){if(!G)return!1;if(G.type!=="TSTypePredicate")return!1;return J==null||B.default(G,J)}function QR(G,J){if(!G)return!1;if(G.type!=="TSTypeQuery")return!1;return J==null||B.default(G,J)}function WR(G,J){if(!G)return!1;if(G.type!=="TSTypeLiteral")return!1;return J==null||B.default(G,J)}function YR(G,J){if(!G)return!1;if(G.type!=="TSArrayType")return!1;return J==null||B.default(G,J)}function zR(G,J){if(!G)return!1;if(G.type!=="TSTupleType")return!1;return J==null||B.default(G,J)}function KR(G,J){if(!G)return!1;if(G.type!=="TSOptionalType")return!1;return J==null||B.default(G,J)}function UR(G,J){if(!G)return!1;if(G.type!=="TSRestType")return!1;return J==null||B.default(G,J)}function RR(G,J){if(!G)return!1;if(G.type!=="TSNamedTupleMember")return!1;return J==null||B.default(G,J)}function BR(G,J){if(!G)return!1;if(G.type!=="TSUnionType")return!1;return J==null||B.default(G,J)}function MR(G,J){if(!G)return!1;if(G.type!=="TSIntersectionType")return!1;return J==null||B.default(G,J)}function $R(G,J){if(!G)return!1;if(G.type!=="TSConditionalType")return!1;return J==null||B.default(G,J)}function FR(G,J){if(!G)return!1;if(G.type!=="TSInferType")return!1;return J==null||B.default(G,J)}function qR(G,J){if(!G)return!1;if(G.type!=="TSParenthesizedType")return!1;return J==null||B.default(G,J)}function jR(G,J){if(!G)return!1;if(G.type!=="TSTypeOperator")return!1;return J==null||B.default(G,J)}function OR(G,J){if(!G)return!1;if(G.type!=="TSIndexedAccessType")return!1;return J==null||B.default(G,J)}function AR(G,J){if(!G)return!1;if(G.type!=="TSMappedType")return!1;return J==null||B.default(G,J)}function CR(G,J){if(!G)return!1;if(G.type!=="TSLiteralType")return!1;return J==null||B.default(G,J)}function DR(G,J){if(!G)return!1;if(G.type!=="TSExpressionWithTypeArguments")return!1;return J==null||B.default(G,J)}function SR(G,J){if(!G)return!1;if(G.type!=="TSInterfaceDeclaration")return!1;return J==null||B.default(G,J)}function fR(G,J){if(!G)return!1;if(G.type!=="TSInterfaceBody")return!1;return J==null||B.default(G,J)}function IR(G,J){if(!G)return!1;if(G.type!=="TSTypeAliasDeclaration")return!1;return J==null||B.default(G,J)}function PR(G,J){if(!G)return!1;if(G.type!=="TSInstantiationExpression")return!1;return J==null||B.default(G,J)}function NR(G,J){if(!G)return!1;if(G.type!=="TSAsExpression")return!1;return J==null||B.default(G,J)}function TR(G,J){if(!G)return!1;if(G.type!=="TSSatisfiesExpression")return!1;return J==null||B.default(G,J)}function wR(G,J){if(!G)return!1;if(G.type!=="TSTypeAssertion")return!1;return J==null||B.default(G,J)}function LR(G,J){if(!G)return!1;if(G.type!=="TSEnumBody")return!1;return J==null||B.default(G,J)}function bR(G,J){if(!G)return!1;if(G.type!=="TSEnumDeclaration")return!1;return J==null||B.default(G,J)}function kR(G,J){if(!G)return!1;if(G.type!=="TSEnumMember")return!1;return J==null||B.default(G,J)}function vR(G,J){if(!G)return!1;if(G.type!=="TSModuleDeclaration")return!1;return J==null||B.default(G,J)}function ER(G,J){if(!G)return!1;if(G.type!=="TSModuleBlock")return!1;return J==null||B.default(G,J)}function gR(G,J){if(!G)return!1;if(G.type!=="TSImportType")return!1;return J==null||B.default(G,J)}function _R(G,J){if(!G)return!1;if(G.type!=="TSImportEqualsDeclaration")return!1;return J==null||B.default(G,J)}function hR(G,J){if(!G)return!1;if(G.type!=="TSExternalModuleReference")return!1;return J==null||B.default(G,J)}function uR(G,J){if(!G)return!1;if(G.type!=="TSNonNullExpression")return!1;return J==null||B.default(G,J)}function yR(G,J){if(!G)return!1;if(G.type!=="TSExportAssignment")return!1;return J==null||B.default(G,J)}function xR(G,J){if(!G)return!1;if(G.type!=="TSNamespaceExportDeclaration")return!1;return J==null||B.default(G,J)}function mR(G,J){if(!G)return!1;if(G.type!=="TSTypeAnnotation")return!1;return J==null||B.default(G,J)}function cR(G,J){if(!G)return!1;if(G.type!=="TSTypeParameterInstantiation")return!1;return J==null||B.default(G,J)}function lR(G,J){if(!G)return!1;if(G.type!=="TSTypeParameterDeclaration")return!1;return J==null||B.default(G,J)}function iR(G,J){if(!G)return!1;if(G.type!=="TSTypeParameter")return!1;return J==null||B.default(G,J)}function aR(G,J){if(!G)return!1;switch(G.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(G.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return J==null||B.default(G,J)}function pR(G,J){if(!G)return!1;switch(G.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(G.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return J==null||B.default(G,J)}function rR(G,J){if(!G)return!1;switch(G.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return J==null||B.default(G,J)}function sR(G,J){if(!G)return!1;switch(G.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(G.expectedNode==="BlockStatement")break;default:return!1}return J==null||B.default(G,J)}function dR(G,J){if(!G)return!1;switch(G.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(G.expectedNode==="BlockStatement")break;default:return!1}return J==null||B.default(G,J)}function tR(G,J){if(!G)return!1;switch(G.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(G.expectedNode==="BlockStatement")break;default:return!1}return J==null||B.default(G,J)}function nR(G,J){if(!G)return!1;switch(G.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(G.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return J==null||B.default(G,J)}function oR(G,J){if(!G)return!1;switch(G.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return J==null||B.default(G,J)}function eR(G,J){if(!G)return!1;switch(G.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return J==null||B.default(G,J)}function GB(G,J){if(!G)return!1;switch(G.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return J==null||B.default(G,J)}function JB(G,J){if(!G)return!1;switch(G.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return J==null||B.default(G,J)}function XB(G,J){if(!G)return!1;switch(G.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return J==null||B.default(G,J)}function HB(G,J){if(!G)return!1;switch(G.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return J==null||B.default(G,J)}function VB(G,J){if(!G)return!1;switch(G.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return J==null||B.default(G,J)}function ZB(G,J){if(!G)return!1;switch(G.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return J==null||B.default(G,J)}function QB(G,J){if(!G)return!1;switch(G.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return J==null||B.default(G,J)}function WB(G,J){if(!G)return!1;switch(G.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return J==null||B.default(G,J)}function YB(G,J){if(!G)return!1;switch(G.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(G.expectedNode==="StringLiteral")break;default:return!1}return J==null||B.default(G,J)}function zB(G,J){if(!G)return!1;switch(G.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if(G.expectedNode==="Declaration")break;default:return!1}return J==null||B.default(G,J)}function KB(G,J){if(!G)return!1;switch(G.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(G.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return J==null||B.default(G,J)}function UB(G,J){if(!G)return!1;switch(G.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(G.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return J==null||B.default(G,J)}function RB(G,J){if(!G)return!1;switch(G.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(G.expectedNode==="Identifier")break;default:return!1}return J==null||B.default(G,J)}function BB(G,J){if(!G)return!1;switch(G.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(G.expectedNode==="StringLiteral")break;default:return!1}return J==null||B.default(G,J)}function MB(G,J){if(!G)return!1;switch(G.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(G.expectedNode==="StringLiteral")break;default:return!1}return J==null||B.default(G,J)}function $B(G,J){if(!G)return!1;switch(G.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return J==null||B.default(G,J)}function FB(G,J){if(!G)return!1;switch(G.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return J==null||B.default(G,J)}function qB(G,J){if(!G)return!1;switch(G.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return J==null||B.default(G,J)}function jB(G,J){if(!G)return!1;switch(G.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return J==null||B.default(G,J)}function OB(G,J){if(!G)return!1;switch(G.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return J==null||B.default(G,J)}function AB(G,J){if(!G)return!1;switch(G.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(G.expectedNode==="Pattern")break;default:return!1}return J==null||B.default(G,J)}function CB(G,J){if(!G)return!1;switch(G.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return J==null||B.default(G,J)}function YH(G,J){if(!G)return!1;switch(G.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return J==null||B.default(G,J)}function DB(G,J){if(!G)return!1;switch(G.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return J==null||B.default(G,J)}function SB(G,J){if(!G)return!1;switch(G.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return J==null||B.default(G,J)}function fB(G,J){if(!G)return!1;switch(G.type){case"ClassAccessorProperty":break;default:return!1}return J==null||B.default(G,J)}function IB(G,J){if(!G)return!1;switch(G.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return J==null||B.default(G,J)}function PB(G,J){if(!G)return!1;switch(G.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return J==null||B.default(G,J)}function NB(G,J){if(!G)return!1;switch(G.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return J==null||B.default(G,J)}function TB(G,J){if(!G)return!1;switch(G.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return J==null||B.default(G,J)}function wB(G,J){if(!G)return!1;switch(G.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return J==null||B.default(G,J)}function LB(G,J){if(!G)return!1;switch(G.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return J==null||B.default(G,J)}function bB(G,J){if(!G)return!1;switch(G.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return J==null||B.default(G,J)}function kB(G,J){if(!G)return!1;switch(G.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return J==null||B.default(G,J)}function vB(G,J){if(!G)return!1;switch(G.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return J==null||B.default(G,J)}function EB(G,J){if(!G)return!1;switch(G.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return J==null||B.default(G,J)}function gB(G,J){if(!G)return!1;switch(G.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return J==null||B.default(G,J)}function _B(G,J){if(!G)return!1;switch(G.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return J==null||B.default(G,J)}function hB(G,J){if(!G)return!1;switch(G.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return J==null||B.default(G,J)}function uB(G,J){if(!G)return!1;switch(G.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return!1}return J==null||B.default(G,J)}function yB(G,J){if(gJ.default("isNumberLiteral","isNumericLiteral"),!G)return!1;if(G.type!=="NumberLiteral")return!1;return J==null||B.default(G,J)}function xB(G,J){if(gJ.default("isRegexLiteral","isRegExpLiteral"),!G)return!1;if(G.type!=="RegexLiteral")return!1;return J==null||B.default(G,J)}function mB(G,J){if(gJ.default("isRestProperty","isRestElement"),!G)return!1;if(G.type!=="RestProperty")return!1;return J==null||B.default(G,J)}function cB(G,J){if(gJ.default("isSpreadProperty","isSpreadElement"),!G)return!1;if(G.type!=="SpreadProperty")return!1;return J==null||B.default(G,J)}function lB(G,J){return gJ.default("isModuleDeclaration","isImportOrExportDeclaration"),YH(G,J)}});var l0=f((KH)=>{Object.defineProperty(KH,"__esModule",{value:!0});KH.default=IO;var _J=N1();function IO(G,J,X){if(!_J.isMemberExpression(G))return!1;let H=Array.isArray(J)?J:J.split("."),V=[],Z;for(Z=G;_J.isMemberExpression(Z);Z=Z.object)V.push(Z.property);if(V.push(Z),V.length<H.length)return!1;if(!X&&V.length>H.length)return!1;for(let Q=0,W=V.length-1;Q<H.length;Q++,W--){let Y=V[W],z;if(_J.isIdentifier(Y))z=Y.name;else if(_J.isStringLiteral(Y))z=Y.value;else if(_J.isThisExpression(Y))z="this";else return!1;if(H[Q]!==z)return!1}return!0}});var i0=f((UH)=>{Object.defineProperty(UH,"__esModule",{value:!0});UH.default=TO;var NO=l0();function TO(G,J){let X=G.split(".");return(H)=>NO.default(H,X,J)}});var MH=f((RH)=>{Object.defineProperty(RH,"__esModule",{value:!0});RH.default=void 0;var LO=i0(),bO=LO.default("React.Component"),BK1=RH.default=bO});var FH=f(($H)=>{Object.defineProperty($H,"__esModule",{value:!0});$H.default=kO;function kO(G){return!!G&&/^[a-z]/.test(G)}});var IX=f((jH)=>{Object.defineProperty(jH,"__esModule",{value:!0});jH.default=EO;var qH=n1();function EO(G,J){if(G===J)return!0;if(G==null)return!1;if(qH.ALIAS_KEYS[J])return!1;let X=qH.FLIPPED_ALIAS_KEYS[J];if(X){if(X[0]===G)return!0;for(let H of X)if(G===H)return!0}return!1}});var a0=f((OH)=>{Object.defineProperty(OH,"__esModule",{value:!0});OH.default=hO;var _O=n1();function hO(G,J){if(G===J)return!0;let X=_O.PLACEHOLDERS_ALIAS[G];if(X){for(let H of X)if(J===H)return!0}return!1}});var KJ=f((AH)=>{Object.defineProperty(AH,"__esModule",{value:!0});AH.default=lO;var yO=fX(),xO=IX(),mO=a0(),cO=n1();function lO(G,J,X){if(!J)return!1;if(!xO.default(J.type,G)){if(!X&&J.type==="Placeholder"&&G in cO.FLIPPED_ALIAS_KEYS)return mO.default(J.expectedNode,G);return!1}if(X===void 0)return!0;else return yO.default(J,X)}});var PH=f((IH)=>{Object.defineProperty(IH,"__esModule",{value:!0});IH.isIdentifierChar=fH;IH.isIdentifierName=sO;IH.isIdentifierStart=SH;var r0="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",CH="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",aO=new RegExp("["+r0+"]"),pO=new RegExp("["+r0+CH+"]");r0=CH=null;var DH=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],rO=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function p0(G,J){let X=65536;for(let H=0,V=J.length;H<V;H+=2){if(X+=J[H],X>G)return!1;if(X+=J[H+1],X>=G)return!0}return!1}function SH(G){if(G<65)return G===36;if(G<=90)return!0;if(G<97)return G===95;if(G<=122)return!0;if(G<=65535)return G>=170&&aO.test(String.fromCharCode(G));return p0(G,DH)}function fH(G){if(G<48)return G===36;if(G<58)return!0;if(G<65)return!1;if(G<=90)return!0;if(G<97)return G===95;if(G<=122)return!0;if(G<=65535)return G>=170&&pO.test(String.fromCharCode(G));return p0(G,DH)||p0(G,rO)}function sO(G){let J=!0;for(let X=0;X<G.length;X++){let H=G.charCodeAt(X);if((H&64512)===55296&&X+1<G.length){let V=G.charCodeAt(++X);if((V&64512)===56320)H=65536+((H&1023)<<10)+(V&1023)}if(J){if(J=!1,!SH(H))return!1}else if(!fH(H))return!1}return!J}});var bH=f((LH)=>{Object.defineProperty(LH,"__esModule",{value:!0});LH.isKeyword=XA;LH.isReservedWord=NH;LH.isStrictBindOnlyReservedWord=wH;LH.isStrictBindReservedWord=JA;LH.isStrictReservedWord=TH;var s0={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},oO=new Set(s0.keyword),eO=new Set(s0.strict),GA=new Set(s0.strictBind);function NH(G,J){return J&&G==="await"||G==="enum"}function TH(G,J){return NH(G,J)||eO.has(G)}function wH(G){return GA.has(G)}function JA(G,J){return TH(G,J)||wH(G)}function XA(G){return oO.has(G)}});var uJ=f((UG)=>{Object.defineProperty(UG,"__esModule",{value:!0});Object.defineProperty(UG,"isIdentifierChar",{enumerable:!0,get:function(){return d0.isIdentifierChar}});Object.defineProperty(UG,"isIdentifierName",{enumerable:!0,get:function(){return d0.isIdentifierName}});Object.defineProperty(UG,"isIdentifierStart",{enumerable:!0,get:function(){return d0.isIdentifierStart}});Object.defineProperty(UG,"isKeyword",{enumerable:!0,get:function(){return hJ.isKeyword}});Object.defineProperty(UG,"isReservedWord",{enumerable:!0,get:function(){return hJ.isReservedWord}});Object.defineProperty(UG,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return hJ.isStrictBindOnlyReservedWord}});Object.defineProperty(UG,"isStrictBindReservedWord",{enumerable:!0,get:function(){return hJ.isStrictBindReservedWord}});Object.defineProperty(UG,"isStrictReservedWord",{enumerable:!0,get:function(){return hJ.isStrictReservedWord}});var d0=PH(),hJ=bH()});var UJ=f((kH)=>{Object.defineProperty(kH,"__esModule",{value:!0});kH.default=YA;var t0=uJ();function YA(G,J=!0){if(typeof G!=="string")return!1;if(J){if(t0.isKeyword(G)||t0.isStrictReservedWord(G,!0))return!1}return t0.isIdentifierName(G)}});var hH=f((_H)=>{Object.defineProperty(_H,"__esModule",{value:!0});_H.readCodePoint=gH;_H.readInt=EH;_H.readStringContents=UA;var KA=function G(J){return J>=48&&J<=57},vH={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},PX={bin:(G)=>G===48||G===49,oct:(G)=>G>=48&&G<=55,dec:(G)=>G>=48&&G<=57,hex:(G)=>G>=48&&G<=57||G>=65&&G<=70||G>=97&&G<=102};function UA(G,J,X,H,V,Z){let Q=X,W=H,Y=V,z="",U=null,q=X,{length:A}=J;for(;;){if(X>=A){Z.unterminated(Q,W,Y),z+=J.slice(q,X);break}let C=J.charCodeAt(X);if(RA(G,C,J,X)){z+=J.slice(q,X);break}if(C===92){z+=J.slice(q,X);let D=BA(J,X,H,V,G==="template",Z);if(D.ch===null&&!U)U={pos:X,lineStart:H,curLine:V};else z+=D.ch;({pos:X,lineStart:H,curLine:V}=D),q=X}else if(C===8232||C===8233)++X,++V,H=X;else if(C===10||C===13)if(G==="template"){if(z+=J.slice(q,X)+`
7
+ `,++X,C===13&&J.charCodeAt(X)===10)++X;++V,q=H=X}else Z.unterminated(Q,W,Y);else++X}return{pos:X,str:z,firstInvalidLoc:U,lineStart:H,curLine:V,containsInvalid:!!U}}function RA(G,J,X,H){if(G==="template")return J===96||J===36&&X.charCodeAt(H+1)===123;return J===(G==="double"?34:39)}function BA(G,J,X,H,V,Z){let Q=!V;J++;let W=(z)=>({pos:J,ch:z,lineStart:X,curLine:H}),Y=G.charCodeAt(J++);switch(Y){case 110:return W(`
8
+ `);case 114:return W("\r");case 120:{let z;return{code:z,pos:J}=n0(G,J,X,H,2,!1,Q,Z),W(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:J}=gH(G,J,X,H,Q,Z),W(z===null?null:String.fromCodePoint(z))}case 116:return W("\t");case 98:return W("\b");case 118:return W("\v");case 102:return W("\f");case 13:if(G.charCodeAt(J)===10)++J;case 10:X=J,++H;case 8232:case 8233:return W("");case 56:case 57:if(V)return W(null);else Z.strictNumericEscape(J-1,X,H);default:if(Y>=48&&Y<=55){let z=J-1,q=/^[0-7]+/.exec(G.slice(z,J+2))[0],A=parseInt(q,8);if(A>255)q=q.slice(0,-1),A=parseInt(q,8);J+=q.length-1;let C=G.charCodeAt(J);if(q!=="0"||C===56||C===57)if(V)return W(null);else Z.strictNumericEscape(z,X,H);return W(String.fromCharCode(A))}return W(String.fromCharCode(Y))}}function n0(G,J,X,H,V,Z,Q,W){let Y=J,z;if({n:z,pos:J}=EH(G,J,X,H,16,V,Z,!1,W,!Q),z===null)if(Q)W.invalidEscapeSequence(Y,X,H);else J=Y-1;return{code:z,pos:J}}function EH(G,J,X,H,V,Z,Q,W,Y,z){let U=J,q=V===16?vH.hex:vH.decBinOct,A=V===16?PX.hex:V===10?PX.dec:V===8?PX.oct:PX.bin,C=!1,D=0;for(let L=0,P=Z==null?1/0:Z;L<P;++L){let w=G.charCodeAt(J),b;if(w===95&&W!=="bail"){let X1=G.charCodeAt(J-1),r=G.charCodeAt(J+1);if(!W){if(z)return{n:null,pos:J};Y.numericSeparatorInEscapeSequence(J,X,H)}else if(Number.isNaN(r)||!A(r)||q.has(X1)||q.has(r)){if(z)return{n:null,pos:J};Y.unexpectedNumericSeparator(J,X,H)}++J;continue}if(w>=97)b=w-97+10;else if(w>=65)b=w-65+10;else if(KA(w))b=w-48;else b=1/0;if(b>=V)if(b<=9&&z)return{n:null,pos:J};else if(b<=9&&Y.invalidDigit(J,X,H,V))b=0;else if(Q)b=0,C=!0;else break;++J,D=D*V+b}if(J===U||Z!=null&&J-U!==Z||C)return{n:null,pos:J};return{n:D,pos:J}}function gH(G,J,X,H,V,Z){let Q=G.charCodeAt(J),W;if(Q===123){if(++J,{code:W,pos:J}=n0(G,J,X,H,G.indexOf("}",J)-J,!0,V,Z),++J,W!==null&&W>1114111)if(V)Z.invalidCodePoint(J,X,H);else return{code:null,pos:J}}else({code:W,pos:J}=n0(G,J,X,H,4,!1,V,Z));return{code:W,pos:J}}});var kG=f((yH)=>{Object.defineProperty(yH,"__esModule",{value:!0});yH.UPDATE_OPERATORS=yH.UNARY_OPERATORS=yH.STRING_UNARY_OPERATORS=yH.STATEMENT_OR_BLOCK_KEYS=yH.NUMBER_UNARY_OPERATORS=yH.NUMBER_BINARY_OPERATORS=yH.NOT_LOCAL_BINDING=yH.LOGICAL_OPERATORS=yH.INHERIT_KEYS=yH.FOR_INIT_KEYS=yH.FLATTENABLE_KEYS=yH.EQUALITY_BINARY_OPERATORS=yH.COMPARISON_BINARY_OPERATORS=yH.COMMENT_KEYS=yH.BOOLEAN_UNARY_OPERATORS=yH.BOOLEAN_NUMBER_BINARY_OPERATORS=yH.BOOLEAN_BINARY_OPERATORS=yH.BLOCK_SCOPED_SYMBOL=yH.BINARY_OPERATORS=yH.ASSIGNMENT_OPERATORS=void 0;var fK1=yH.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],IK1=yH.FLATTENABLE_KEYS=["body","expressions"],PK1=yH.FOR_INIT_KEYS=["left","init"],NK1=yH.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],qA=yH.LOGICAL_OPERATORS=["||","&&","??"],TK1=yH.UPDATE_OPERATORS=["++","--"],jA=yH.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],OA=yH.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],AA=yH.COMPARISON_BINARY_OPERATORS=[...OA,"in","instanceof"],CA=yH.BOOLEAN_BINARY_OPERATORS=[...AA,...jA],uH=yH.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],wK1=yH.BINARY_OPERATORS=["+",...uH,...CA,"|>"],LK1=yH.ASSIGNMENT_OPERATORS=["=","+=",...uH.map((G)=>G+"="),...qA.map((G)=>G+"=")],DA=yH.BOOLEAN_UNARY_OPERATORS=["delete","!"],SA=yH.NUMBER_UNARY_OPERATORS=["+","-","~"],fA=yH.STRING_UNARY_OPERATORS=["typeof"],bK1=yH.UNARY_OPERATORS=["void","throw",...DA,...SA,...fA],kK1=yH.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},vK1=yH.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),EK1=yH.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var RG=f((rH)=>{Object.defineProperty(rH,"__esModule",{value:!0});rH.VISITOR_KEYS=rH.NODE_PARENT_VALIDATIONS=rH.NODE_FIELDS=rH.FLIPPED_ALIAS_KEYS=rH.DEPRECATED_KEYS=rH.BUILDER_KEYS=rH.ALIAS_KEYS=void 0;rH.arrayOf=cH;rH.arrayOfType=lH;rH.assertEach=iH;rH.assertNodeOrValueType=JC;rH.assertNodeType=wX;rH.assertOneOf=GC;rH.assertOptionalChainStart=HC;rH.assertShape=XC;rH.assertValueType=J9;rH.chain=aH;rH.default=pH;rH.defineAliasedType=QC;rH.validate=G9;rH.validateArrayOfType=eA;rH.validateOptional=nA;rH.validateOptionalType=oA;rH.validateType=tA;var mH=KJ(),TX=LX(),iA=rH.VISITOR_KEYS={},aA=rH.ALIAS_KEYS={},o0=rH.FLIPPED_ALIAS_KEYS={},pA=rH.NODE_FIELDS={},rA=rH.BUILDER_KEYS={},sA=rH.DEPRECATED_KEYS={},dA=rH.NODE_PARENT_VALIDATIONS={};function NX(G){if(Array.isArray(G))return"array";else if(G===null)return"null";else return typeof G}function G9(G){return{validate:G}}function tA(...G){return G9(wX(...G))}function nA(G){return{validate:G,optional:!0}}function oA(...G){return{validate:wX(...G),optional:!0}}function cH(G){return aH(J9("array"),iH(G))}function lH(...G){return cH(wX(...G))}function eA(...G){return G9(lH(...G))}function iH(G){let J=process.env.BABEL_TYPES_8_BREAKING?TX.validateChild:()=>{};function X(H,V,Z){if(!Array.isArray(Z))return;for(let Q=0;Q<Z.length;Q++){let W=`${V}[${Q}]`,Y=Z[Q];G(H,W,Y),J(H,W,Y)}}return X.each=G,X}function GC(...G){function J(X,H,V){if(!G.includes(V))throw new TypeError(`Property ${H} expected value to be one of ${JSON.stringify(G)} but got ${JSON.stringify(V)}`)}return J.oneOf=G,J}function wX(...G){function J(X,H,V){for(let Z of G)if(mH.default(Z,V)){TX.validateChild(X,H,V);return}throw new TypeError(`Property ${H} of ${X.type} expected node to be of a type ${JSON.stringify(G)} but instead got ${JSON.stringify(V==null?void 0:V.type)}`)}return J.oneOfNodeTypes=G,J}function JC(...G){function J(X,H,V){for(let Z of G)if(NX(V)===Z||mH.default(Z,V)){TX.validateChild(X,H,V);return}throw new TypeError(`Property ${H} of ${X.type} expected node to be of a type ${JSON.stringify(G)} but instead got ${JSON.stringify(V==null?void 0:V.type)}`)}return J.oneOfNodeOrValueTypes=G,J}function J9(G){function J(X,H,V){if(NX(V)!==G)throw new TypeError(`Property ${H} expected type of ${G} but got ${NX(V)}`)}return J.type=G,J}function XC(G){function J(X,H,V){let Z=[];for(let Q of Object.keys(G))try{TX.validateField(X,Q,V[Q],G[Q])}catch(W){if(W instanceof TypeError){Z.push(W.message);continue}throw W}if(Z.length)throw new TypeError(`Property ${H} of ${X.type} expected to have the following:
9
+ ${Z.join(`
10
+ `)}`)}return J.shapeOf=G,J}function HC(){function G(J){var X;let H=J;while(J){let{type:V}=H;if(V==="OptionalCallExpression"){if(H.optional)return;H=H.callee;continue}if(V==="OptionalMemberExpression"){if(H.optional)return;H=H.object;continue}break}throw new TypeError(`Non-optional ${J.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(X=H)==null?void 0:X.type}`)}return G}function aH(...G){function J(...X){for(let H of G)H(...X)}if(J.chainOf=G,G.length>=2&&"type"in G[0]&&G[0].type==="array"&&!("each"in G[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return J}var VC=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),ZC=new Set(["default","optional","deprecated","validate"]),e0={};function QC(...G){return(J,X={})=>{let H=X.aliases;if(!H){var V,Z;if(X.inherits)H=(V=e0[X.inherits].aliases)==null?void 0:V.slice();(Z=H)!=null||(H=[]),X.aliases=H}let Q=G.filter((W)=>!H.includes(W));H.unshift(...Q),pH(J,X)}}function pH(G,J={}){let X=J.inherits&&e0[J.inherits]||{},H=J.fields;if(!H){if(H={},X.fields){let W=Object.getOwnPropertyNames(X.fields);for(let Y of W){let z=X.fields[Y],U=z.default;if(Array.isArray(U)?U.length>0:U&&typeof U==="object")throw new Error("field defaults can only be primitives or empty arrays currently");H[Y]={default:Array.isArray(U)?[]:U,optional:z.optional,deprecated:z.deprecated,validate:z.validate}}}}let V=J.visitor||X.visitor||[],Z=J.aliases||X.aliases||[],Q=J.builder||X.builder||J.visitor||[];for(let W of Object.keys(J))if(!VC.has(W))throw new Error(`Unknown type option "${W}" on ${G}`);if(J.deprecatedAlias)sA[J.deprecatedAlias]=G;for(let W of V.concat(Q))H[W]=H[W]||{};for(let W of Object.keys(H)){let Y=H[W];if(Y.default!==void 0&&!Q.includes(W))Y.optional=!0;if(Y.default===void 0)Y.default=null;else if(!Y.validate&&Y.default!=null)Y.validate=J9(NX(Y.default));for(let z of Object.keys(Y))if(!ZC.has(z))throw new Error(`Unknown field key "${z}" on ${G}.${W}`)}if(iA[G]=J.visitor=V,rA[G]=J.builder=Q,pA[G]=J.fields=H,aA[G]=J.aliases=Z,Z.forEach((W)=>{o0[W]=o0[W]||[],o0[W].push(G)}),J.validate)dA[G]=J.validate;e0[G]=J}});var xJ=f((nH)=>{Object.defineProperty(nH,"__esModule",{value:!0});nH.patternLikeCommon=nH.importAttributes=nH.functionTypeAnnotationCommon=nH.functionDeclarationCommon=nH.functionCommon=nH.classMethodOrPropertyCommon=nH.classMethodOrDeclareMethodCommon=void 0;var h1=KJ(),LC=UJ(),dH=uJ(),bC=hH(),yJ=kG(),M=RG(),E=M.defineAliasedType("Standardized");E("ArrayExpression",{fields:{elements:{validate:M.arrayOf(M.assertNodeOrValueType("null","Expression","SpreadElement")),default:!process.env.BABEL_TYPES_8_BREAKING?[]:void 0}},visitor:["elements"],aliases:["Expression"]});E("AssignmentExpression",{fields:{operator:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("string"):Object.assign(function(){let G=M.assertOneOf(...yJ.ASSIGNMENT_OPERATORS),J=M.assertOneOf("=");return function(X,H,V){(h1.default("Pattern",X.left)?J:G)(X,H,V)}}(),{type:"string"})},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("LVal","OptionalMemberExpression"):M.assertNodeType("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:M.assertNodeType("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});E("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:M.assertOneOf(...yJ.BINARY_OPERATORS)},left:{validate:function(){let G=M.assertNodeType("Expression"),J=M.assertNodeType("Expression","PrivateName");return Object.assign(function(H,V,Z){(H.operator==="in"?J:G)(H,V,Z)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:M.assertNodeType("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});E("InterpreterDirective",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}}});E("Directive",{visitor:["value"],fields:{value:{validate:M.assertNodeType("DirectiveLiteral")}}});E("DirectiveLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}}});E("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:M.arrayOfType("Directive"),default:[]},body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]});E("BreakStatement",{visitor:["label"],fields:{label:{validate:M.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});E("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:M.assertNodeType("Expression","Super","V8IntrinsicIdentifier")},arguments:M.validateArrayOfType("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:M.assertNodeType("TypeParameterInstantiation"),optional:!0}},{optional:{validate:M.assertValueType("boolean"),optional:!0},typeParameters:{validate:M.assertNodeType("TSTypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:M.assertValueType("boolean"),optional:!0}})});E("CatchClause",{visitor:["param","body"],fields:{param:{validate:M.assertNodeType("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")}},aliases:["Scopable","BlockParent"]});E("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:M.assertNodeType("Expression")},consequent:{validate:M.assertNodeType("Expression")},alternate:{validate:M.assertNodeType("Expression")}},aliases:["Expression","Conditional"]});E("ContinueStatement",{visitor:["label"],fields:{label:{validate:M.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});E("DebuggerStatement",{aliases:["Statement"]});E("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});E("EmptyStatement",{aliases:["Statement"]});E("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:M.assertNodeType("Expression")}},aliases:["Statement","ExpressionWrapper"]});E("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:M.assertNodeType("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):M.assertEach(M.assertNodeType("CommentBlock","CommentLine")),optional:!0},tokens:{validate:M.assertEach(Object.assign(()=>{},{type:"any"})),optional:!0}}});E("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("VariableDeclaration","LVal"):M.assertNodeType("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});E("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:M.assertNodeType("VariableDeclaration","Expression"),optional:!0},test:{validate:M.assertNodeType("Expression"),optional:!0},update:{validate:M.assertNodeType("Expression"),optional:!0},body:{validate:M.assertNodeType("Statement")}}});var RJ=()=>({params:M.validateArrayOfType("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});nH.functionCommon=RJ;var iG=()=>({returnType:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:M.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});nH.functionTypeAnnotationCommon=iG;var tH=()=>Object.assign({},RJ(),{declare:{validate:M.assertValueType("boolean"),optional:!0},id:{validate:M.assertNodeType("Identifier"),optional:!0}});nH.functionDeclarationCommon=tH;E("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},tH(),iG(),{body:{validate:M.assertNodeType("BlockStatement")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let G=M.assertNodeType("Identifier");return function(J,X,H){if(!h1.default("ExportDefaultDeclaration",J))G(H,"id",H.id)}}()});E("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},RJ(),iG(),{id:{validate:M.assertNodeType("Identifier"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});var BJ=()=>({typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:M.assertValueType("boolean"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}});nH.patternLikeCommon=BJ;E("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},BJ(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("string"),Object.assign(function(G,J,X){if(!LC.default(X,!1))throw new TypeError(`"${X}" is not a valid identifier name`)},{type:"string"})):M.assertValueType("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(G,J,X){let H=/\.(\w+)$/.exec(J);if(!H)return;let[,V]=H,Z={computed:!1};if(V==="property"){if(h1.default("MemberExpression",G,Z))return;if(h1.default("OptionalMemberExpression",G,Z))return}else if(V==="key"){if(h1.default("Property",G,Z))return;if(h1.default("Method",G,Z))return}else if(V==="exported"){if(h1.default("ExportSpecifier",G))return}else if(V==="imported"){if(h1.default("ImportSpecifier",G,{imported:X}))return}else if(V==="meta"){if(h1.default("MetaProperty",G,{meta:X}))return}if((dH.isKeyword(X.name)||dH.isReservedWord(X.name,!1))&&X.name!=="this")throw new TypeError(`"${X.name}" is not a valid identifier`)}:void 0});E("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:M.assertNodeType("Expression")},consequent:{validate:M.assertNodeType("Statement")},alternate:{optional:!0,validate:M.assertNodeType("Statement")}}});E("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:M.assertNodeType("Identifier")},body:{validate:M.assertNodeType("Statement")}}});E("StringLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});E("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:M.chain(M.assertValueType("number"),Object.assign(function(G,J,X){if(1/X<0||!Number.isFinite(X)){let H=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${X}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});E("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});E("BooleanLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});E("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:M.assertValueType("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("string"),Object.assign(function(G,J,X){let H=/[^gimsuy]/.exec(X);if(H)throw new TypeError(`"${H[0]}" is not a valid RegExp flag`)},{type:"string"})):M.assertValueType("string"),default:""}}});E("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:M.assertOneOf(...yJ.LOGICAL_OPERATORS)},left:{validate:M.assertNodeType("Expression")},right:{validate:M.assertNodeType("Expression")}}});E("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:M.assertNodeType("Expression","Super")},property:{validate:function(){let G=M.assertNodeType("Identifier","PrivateName"),J=M.assertNodeType("Expression"),X=function(H,V,Z){(H.computed?J:G)(H,V,Z)};return X.oneOfNodeTypes=["Expression","Identifier","PrivateName"],X}()},computed:{default:!1}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:M.assertValueType("boolean"),optional:!0}}:{})});E("NewExpression",{inherits:"CallExpression"});E("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:M.assertOneOf("script","module"),default:"script"},interpreter:{validate:M.assertNodeType("InterpreterDirective"),default:null,optional:!0},directives:{validate:M.arrayOfType("Directive"),default:[]},body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","Block"]});E("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:M.validateArrayOfType("ObjectMethod","ObjectProperty","SpreadElement")}});E("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},RJ(),iG(),{kind:Object.assign({validate:M.assertOneOf("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:!1},key:{validate:function(){let G=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),J=M.assertNodeType("Expression"),X=function(H,V,Z){(H.computed?J:G)(H,V,Z)};return X.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],X}()},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});E("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:!1},key:{validate:function(){let G=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),J=M.assertNodeType("Expression");return Object.assign(function(H,V,Z){(H.computed?J:G)(H,V,Z)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:M.assertNodeType("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("boolean"),Object.assign(function(G,J,X){if(!X)return;if(G.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!h1.default("Identifier",G.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")},{type:"boolean"})):M.assertValueType("boolean"),default:!1},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let G=M.assertNodeType("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),J=M.assertNodeType("Expression");return function(X,H,V){(h1.default("ObjectPattern",X)?G:J)(V,"value",V.value)}}()});E("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},BJ(),{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("LVal"):M.assertNodeType("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(G,J){let X=/(\w+)\[(\d+)\]/.exec(J);if(!X)throw new Error("Internal Babel error: malformed key.");let[,H,V]=X;if(G[H].length>+V+1)throw new TypeError(`RestElement must be last element of ${H}`)}:void 0});E("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:M.assertNodeType("Expression"),optional:!0}}});E("SequenceExpression",{visitor:["expressions"],fields:{expressions:M.validateArrayOfType("Expression")},aliases:["Expression"]});E("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:M.assertNodeType("Expression")}}});E("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:M.assertNodeType("Expression"),optional:!0},consequent:M.validateArrayOfType("Statement")}});E("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:M.assertNodeType("Expression")},cases:M.validateArrayOfType("SwitchCase")}});E("ThisExpression",{aliases:["Expression"]});E("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:M.assertNodeType("Expression")}}});E("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("BlockStatement"),Object.assign(function(G){if(!G.handler&&!G.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):M.assertNodeType("BlockStatement")},handler:{optional:!0,validate:M.assertNodeType("CatchClause")},finalizer:{optional:!0,validate:M.assertNodeType("BlockStatement")}}});E("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:M.assertNodeType("Expression")},operator:{validate:M.assertOneOf(...yJ.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});E("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("Expression"):M.assertNodeType("Identifier","MemberExpression")},operator:{validate:M.assertOneOf(...yJ.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});E("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:M.assertValueType("boolean"),optional:!0},kind:{validate:M.assertOneOf("var","let","const","using","await using")},declarations:M.validateArrayOfType("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let G=M.assertNodeType("Identifier");return function(J,X,H){if(h1.default("ForXStatement",J,{left:H})){if(H.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${J.type}`)}else H.declarations.forEach((V)=>{if(!V.init)G(V,"id",V.id)})}})():void 0});E("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("LVal"):M.assertNodeType("Identifier","ArrayPattern","ObjectPattern")},definite:{optional:!0,validate:M.assertValueType("boolean")},init:{optional:!0,validate:M.assertNodeType("Expression")}}});E("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});E("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});E("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},BJ(),{left:{validate:M.assertNodeType("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:M.assertNodeType("Expression")},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}})});E("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},BJ(),{elements:{validate:M.chain(M.assertValueType("array"),M.assertEach(M.assertNodeOrValueType("null","PatternLike","LVal")))}})});E("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},RJ(),iG(),{expression:{validate:M.assertValueType("boolean")},body:{validate:M.assertNodeType("BlockStatement","Expression")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});E("ClassBody",{visitor:["body"],fields:{body:M.validateArrayOfType("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}});E("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:M.assertNodeType("Identifier"),optional:!0},typeParameters:{validate:M.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:M.assertNodeType("ClassBody")},superClass:{optional:!0,validate:M.assertNodeType("Expression")},["superTypeParameters"]:{validate:M.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:M.arrayOfType("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},mixins:{validate:M.assertNodeType("InterfaceExtends"),optional:!0}}});E("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:M.assertNodeType("Identifier"),optional:!0},typeParameters:{validate:M.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:M.assertNodeType("ClassBody")},superClass:{optional:!0,validate:M.assertNodeType("Expression")},["superTypeParameters"]:{validate:M.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:M.arrayOfType("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},mixins:{validate:M.assertNodeType("InterfaceExtends"),optional:!0},declare:{validate:M.assertValueType("boolean"),optional:!0},abstract:{validate:M.assertValueType("boolean"),optional:!0}},validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let G=M.assertNodeType("Identifier");return function(J,X,H){if(!h1.default("ExportDefaultDeclaration",J))G(H,"id",H.id)}}()});var X9=nH.importAttributes={attributes:{optional:!0,validate:M.arrayOfType("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:M.arrayOfType("ImportAttribute")}};E("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:M.assertNodeType("StringLiteral")},exportKind:M.validateOptional(M.assertOneOf("type","value"))},X9)});E("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:M.validateType("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:M.validateOptional(M.assertOneOf("value"))}});E("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:process.env?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("Declaration"),Object.assign(function(G,J,X){if(X&&G.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(X&&G.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):M.assertNodeType("Declaration")}},X9,{specifiers:{default:[],validate:M.arrayOf(function(){let G=M.assertNodeType("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),J=M.assertNodeType("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return G;return Object.assign(function(X,H,V){(X.source?G:J)(X,H,V)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]})}())},source:{validate:M.assertNodeType("StringLiteral"),optional:!0},exportKind:M.validateOptional(M.assertOneOf("type","value"))})});E("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")},exported:{validate:M.assertNodeType("Identifier","StringLiteral")},exportKind:{validate:M.assertOneOf("type","value"),optional:!0}}});E("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return M.assertNodeType("VariableDeclaration","LVal");let G=M.assertNodeType("VariableDeclaration"),J=M.assertNodeType("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(X,H,V){if(h1.default("VariableDeclaration",V))G(X,H,V);else J(X,H,V)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")},await:{default:!1}}});E("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},X9,{module:{optional:!0,validate:M.assertValueType("boolean")},phase:{default:null,validate:M.assertOneOf("source","defer")},specifiers:M.validateArrayOfType("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:M.assertNodeType("StringLiteral")},importKind:{validate:M.assertOneOf("type","typeof","value"),optional:!0}})});E("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")}}});E("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")}}});E("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")},imported:{validate:M.assertNodeType("Identifier","StringLiteral")},importKind:{validate:M.assertOneOf("type","typeof","value"),optional:!0}}});E("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:M.assertOneOf("source","defer")},source:{validate:M.assertNodeType("Expression")},options:{validate:M.assertNodeType("Expression"),optional:!0}}});E("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("Identifier"),Object.assign(function(G,J,X){let H;switch(X.name){case"function":H="sent";break;case"new":H="target";break;case"import":H="meta";break}if(!h1.default("Identifier",G.property,{name:H}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):M.assertNodeType("Identifier")},property:{validate:M.assertNodeType("Identifier")}}});var bX=()=>({abstract:{validate:M.assertValueType("boolean"),optional:!0},accessibility:{validate:M.assertOneOf("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:M.assertValueType("boolean"),optional:!0},key:{validate:M.chain(function(){let G=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),J=M.assertNodeType("Expression");return function(X,H,V){(X.computed?J:G)(X,H,V)}}(),M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});nH.classMethodOrPropertyCommon=bX;var H9=()=>Object.assign({},RJ(),bX(),{params:M.validateArrayOfType("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:M.assertOneOf("get","set","method","constructor"),default:"method"},access:{validate:M.chain(M.assertValueType("string"),M.assertOneOf("public","private","protected")),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}});nH.classMethodOrDeclareMethodCommon=H9;E("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},H9(),iG(),{body:{validate:M.assertNodeType("BlockStatement")}})});E("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},BJ(),{properties:M.validateArrayOfType("RestElement","ObjectProperty")})});E("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:M.assertNodeType("Expression")}}});E("Super",{aliases:["Expression"]});E("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:M.assertNodeType("Expression")},quasi:{validate:M.assertNodeType("TemplateLiteral")},["typeParameters"]:{validate:M.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});E("TemplateElement",{builder:["value","tail"],fields:{value:{validate:M.chain(M.assertShape({raw:{validate:M.assertValueType("string")},cooked:{validate:M.assertValueType("string"),optional:!0}}),function G(J){let X=J.value.raw,H=!1,V=()=>{throw new Error("Internal @babel/types error.")},{str:Z,firstInvalidLoc:Q}=bC.readStringContents("template",X,0,0,0,{unterminated(){H=!0},strictNumericEscape:V,invalidEscapeSequence:V,numericSeparatorInEscapeSequence:V,unexpectedNumericSeparator:V,invalidDigit:V,invalidCodePoint:V});if(!H)throw new Error("Invalid raw");J.value.cooked=Q?null:Z})},tail:{default:!1}}});E("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:M.validateArrayOfType("TemplateElement"),expressions:{validate:M.chain(M.assertValueType("array"),M.assertEach(M.assertNodeType("Expression","TSType")),function(G,J,X){if(G.quasis.length!==X.length+1)throw new TypeError(`Number of ${G.type} quasis should be exactly one more than the number of expressions.
11
+ Expected ${X.length+1} quasis but got ${G.quasis.length}`)})}}});E("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("boolean"),Object.assign(function(G,J,X){if(X&&!G.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):M.assertValueType("boolean"),default:!1},argument:{optional:!0,validate:M.assertNodeType("Expression")}}});E("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:M.assertNodeType("Expression")}}});E("Import",{aliases:["Expression"]});E("BigIntLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});E("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:M.assertNodeType("Identifier")}}});E("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:M.assertNodeType("Expression")},property:{validate:function(){let G=M.assertNodeType("Identifier"),J=M.assertNodeType("Expression");return Object.assign(function(H,V,Z){(H.computed?J:G)(H,V,Z)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("boolean"):M.chain(M.assertValueType("boolean"),M.assertOptionalChainStart())}}});E("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:M.assertNodeType("Expression")},arguments:M.validateArrayOfType("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("boolean"):M.chain(M.assertValueType("boolean"),M.assertOptionalChainStart())},typeArguments:{validate:M.assertNodeType("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:M.assertNodeType("TSTypeParameterInstantiation"),optional:!0}})});E("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},bX(),{value:{validate:M.assertNodeType("Expression"),optional:!0},definite:{validate:M.assertValueType("boolean"),optional:!0},typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},readonly:{validate:M.assertValueType("boolean"),optional:!0},declare:{validate:M.assertValueType("boolean"),optional:!0},variance:{validate:M.assertNodeType("Variance"),optional:!0}})});E("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},bX(),{key:{validate:M.chain(function(){let G=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),J=M.assertNodeType("Expression");return function(X,H,V){(X.computed?J:G)(X,H,V)}}(),M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:M.assertNodeType("Expression"),optional:!0},definite:{validate:M.assertValueType("boolean"),optional:!0},typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},readonly:{validate:M.assertValueType("boolean"),optional:!0},declare:{validate:M.assertValueType("boolean"),optional:!0},variance:{validate:M.assertNodeType("Variance"),optional:!0}})});E("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:M.assertNodeType("PrivateName")},value:{validate:M.assertNodeType("Expression"),optional:!0},typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},static:{validate:M.assertValueType("boolean"),default:!1},readonly:{validate:M.assertValueType("boolean"),optional:!0},definite:{validate:M.assertValueType("boolean"),optional:!0},variance:{validate:M.assertNodeType("Variance"),optional:!0}}});E("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},H9(),iG(),{kind:{validate:M.assertOneOf("get","set","method"),default:"method"},key:{validate:M.assertNodeType("PrivateName")},body:{validate:M.assertNodeType("BlockStatement")}})});E("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:M.assertNodeType("Identifier")}}});E("StaticBlock",{visitor:["body"],fields:{body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]})});var G8=f(()=>{var eH=xJ(),S=RG(),p=S.defineAliasedType("Flow"),V9=(G)=>{let J=G==="DeclareClass";p(G,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...J?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),extends:S.validateOptional(S.arrayOfType("InterfaceExtends"))},J?{mixins:S.validateOptional(S.arrayOfType("InterfaceExtends")),implements:S.validateOptional(S.arrayOfType("ClassImplements"))}:{},{body:S.validateType("ObjectTypeAnnotation")})})};p("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:S.validateType("FlowType")}});p("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("boolean"))}});p("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ClassImplements",{visitor:["id","typeParameters"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});V9("DeclareClass");p("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),predicate:S.validateOptionalType("DeclaredPredicate")}});V9("DeclareInterface");p("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier","StringLiteral"),body:S.validateType("BlockStatement"),kind:S.validateOptional(S.assertOneOf("CommonJS","ES"))}});p("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:S.validateType("TypeAnnotation")}});p("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),right:S.validateType("FlowType")}});p("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),supertype:S.validateOptionalType("FlowType"),impltype:S.validateOptionalType("FlowType")}});p("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier")}});p("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:S.validateOptionalType("Flow"),specifiers:S.validateOptional(S.arrayOfType("ExportSpecifier","ExportNamespaceSpecifier")),source:S.validateOptionalType("StringLiteral"),default:S.validateOptional(S.assertValueType("boolean"))},eH.importAttributes)});p("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:S.validateType("StringLiteral"),exportKind:S.validateOptional(S.assertOneOf("type","value"))},eH.importAttributes)});p("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:S.validateType("Flow")}});p("ExistsTypeAnnotation",{aliases:["FlowType"]});p("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:S.validateOptionalType("TypeParameterDeclaration"),params:S.validateArrayOfType("FunctionTypeParam"),rest:S.validateOptionalType("FunctionTypeParam"),this:S.validateOptionalType("FunctionTypeParam"),returnType:S.validateType("FlowType")}});p("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:S.validateOptionalType("Identifier"),typeAnnotation:S.validateType("FlowType"),optional:S.validateOptional(S.assertValueType("boolean"))}});p("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:S.validateType("Identifier","QualifiedTypeIdentifier"),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});p("InferredPredicate",{aliases:["FlowPredicate"]});p("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:S.validateType("Identifier","QualifiedTypeIdentifier"),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});V9("InterfaceDeclaration");p("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:S.validateOptional(S.arrayOfType("InterfaceExtends")),body:S.validateType("ObjectTypeAnnotation")}});p("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});p("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:S.validateType("FlowType")}});p("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("number"))}});p("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:S.validate(S.arrayOfType("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:S.arrayOfType("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:S.arrayOfType("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:S.arrayOfType("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:S.assertValueType("boolean"),default:!1},inexact:S.validateOptional(S.assertValueType("boolean"))}});p("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:S.validateType("Identifier"),value:S.validateType("FlowType"),optional:S.validate(S.assertValueType("boolean")),static:S.validate(S.assertValueType("boolean")),method:S.validate(S.assertValueType("boolean"))}});p("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:S.validateType("FlowType"),static:S.validate(S.assertValueType("boolean"))}});p("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:S.validateOptionalType("Identifier"),key:S.validateType("FlowType"),value:S.validateType("FlowType"),static:S.validate(S.assertValueType("boolean")),variance:S.validateOptionalType("Variance")}});p("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:S.validateType("Identifier","StringLiteral"),value:S.validateType("FlowType"),kind:S.validate(S.assertOneOf("init","get","set")),static:S.validate(S.assertValueType("boolean")),proto:S.validate(S.assertValueType("boolean")),optional:S.validate(S.assertValueType("boolean")),variance:S.validateOptionalType("Variance"),method:S.validate(S.assertValueType("boolean"))}});p("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:S.validateType("FlowType")}});p("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),supertype:S.validateOptionalType("FlowType"),impltype:S.validateType("FlowType")}});p("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:S.validateType("Identifier"),qualification:S.validateType("Identifier","QualifiedTypeIdentifier")}});p("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("string"))}});p("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});p("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:S.validateType("FlowType")}});p("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),right:S.validateType("FlowType")}});p("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:S.validateType("FlowType")}});p("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:S.validateType("Expression"),typeAnnotation:S.validateType("TypeAnnotation")}});p("TypeParameter",{visitor:["bound","default","variance"],fields:{name:S.validate(S.assertValueType("string")),bound:S.validateOptionalType("TypeAnnotation"),default:S.validateOptionalType("FlowType"),variance:S.validateOptionalType("Variance")}});p("TypeParameterDeclaration",{visitor:["params"],fields:{params:S.validate(S.arrayOfType("TypeParameter"))}});p("TypeParameterInstantiation",{visitor:["params"],fields:{params:S.validate(S.arrayOfType("FlowType"))}});p("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});p("Variance",{builder:["kind"],fields:{kind:S.validate(S.assertOneOf("minus","plus"))}});p("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:S.validateType("Identifier"),body:S.validateType("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}});p("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumBooleanMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumNumberMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:S.validateArrayOfType("EnumDefaultedMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:S.validateType("Identifier"),init:S.validateType("BooleanLiteral")}});p("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:S.validateType("Identifier"),init:S.validateType("NumericLiteral")}});p("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:S.validateType("Identifier"),init:S.validateType("StringLiteral")}});p("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:S.validateType("Identifier")}});p("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:S.validateType("FlowType"),indexType:S.validateType("FlowType")}});p("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:S.validateType("FlowType"),indexType:S.validateType("FlowType"),optional:S.validate(S.assertValueType("boolean"))}})});var J8=f(()=>{var f1=RG(),u1=f1.defineAliasedType("JSX");u1("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:f1.assertNodeType("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});u1("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});u1("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:f1.assertNodeType("JSXOpeningElement")},closingElement:{optional:!0,validate:f1.assertNodeType("JSXClosingElement")},children:f1.validateArrayOfType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:f1.assertValueType("boolean"),optional:!0}})});u1("JSXEmptyExpression",{});u1("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression","JSXEmptyExpression")}}});u1("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression")}}});u1("JSXIdentifier",{builder:["name"],fields:{name:{validate:f1.assertValueType("string")}}});u1("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:f1.assertNodeType("JSXMemberExpression","JSXIdentifier")},property:{validate:f1.assertNodeType("JSXIdentifier")}}});u1("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:f1.assertNodeType("JSXIdentifier")},name:{validate:f1.assertNodeType("JSXIdentifier")}}});u1("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:f1.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:f1.validateArrayOfType("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:f1.assertNodeType("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:f1.assertNodeType("TSTypeParameterInstantiation"),optional:!0}})});u1("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:f1.assertNodeType("Expression")}}});u1("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:f1.assertValueType("string")}}});u1("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:f1.assertNodeType("JSXOpeningFragment")},closingFragment:{validate:f1.assertNodeType("JSXClosingFragment")},children:f1.validateArrayOfType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}});u1("JSXOpeningFragment",{aliases:["Immutable"]});u1("JSXClosingFragment",{aliases:["Immutable"]})});var W9=f((X8)=>{Object.defineProperty(X8,"__esModule",{value:!0});X8.PLACEHOLDERS_FLIPPED_ALIAS=X8.PLACEHOLDERS_ALIAS=X8.PLACEHOLDERS=void 0;var uC=RG(),yC=X8.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Q9=X8.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let G of yC){let J=uC.ALIAS_KEYS[G];if(J!=null&&J.length)Q9[G]=J}var Z9=X8.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(Q9).forEach((G)=>{Q9[G].forEach((J)=>{if(!hasOwnProperty.call(Z9,J))Z9[J]=[];Z9[J].push(G)})})});var V8=f(()=>{var kX=RG(),cC=W9(),lC=xJ(),Y9=kX.defineAliasedType("Miscellaneous");Y9("Noop",{visitor:[]});Y9("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:kX.assertNodeType("Identifier")},expectedNode:{validate:kX.assertOneOf(...cC.PLACEHOLDERS)}},lC.patternLikeCommon())});Y9("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:kX.assertValueType("string")}}})});var Z8=f(()=>{var C1=RG();C1.default("ArgumentPlaceholder",{});C1.default("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:C1.assertNodeType("Expression")},callee:{validate:C1.assertNodeType("Expression")}}});C1.default("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:C1.assertNodeType("Identifier","StringLiteral")},value:{validate:C1.assertNodeType("StringLiteral")}}});C1.default("Decorator",{visitor:["expression"],fields:{expression:{validate:C1.assertNodeType("Expression")}}});C1.default("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:C1.assertNodeType("BlockStatement")},async:{validate:C1.assertValueType("boolean"),default:!1}}});C1.default("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:C1.assertNodeType("Identifier")}}});C1.default("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:C1.validateArrayOfType("ObjectProperty","SpreadElement")}});C1.default("TupleExpression",{fields:{elements:{validate:C1.arrayOfType("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]});C1.default("DecimalLiteral",{builder:["value"],fields:{value:{validate:C1.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});C1.default("ModuleExpression",{visitor:["body"],fields:{body:{validate:C1.assertNodeType("Program")}},aliases:["Expression"]});C1.default("TopicReference",{aliases:["Expression"]});C1.default("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:C1.assertNodeType("Expression")}},aliases:["Expression"]});C1.default("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:C1.assertNodeType("Expression")}},aliases:["Expression"]});C1.default("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var B8=f(()=>{var T=RG(),Q8=xJ(),iC=KJ(),o=T.defineAliasedType("TypeScript"),a1=T.assertValueType("boolean"),W8=()=>({returnType:{validate:T.assertNodeType("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:T.assertNodeType("TSTypeParameterDeclaration","Noop"),optional:!0}});o("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:T.assertOneOf("public","private","protected"),optional:!0},readonly:{validate:T.assertValueType("boolean"),optional:!0},parameter:{validate:T.assertNodeType("Identifier","AssignmentPattern")},override:{validate:T.assertValueType("boolean"),optional:!0},decorators:{validate:T.arrayOfType("Decorator"),optional:!0}}});o("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},Q8.functionDeclarationCommon(),W8())});o("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},Q8.classMethodOrDeclareMethodCommon(),W8())});o("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:T.validateType("TSEntityName"),right:T.validateType("Identifier")}});var vX=()=>({typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),["parameters"]:T.validateArrayOfType("ArrayPattern","Identifier","ObjectPattern","RestElement"),["typeAnnotation"]:T.validateOptionalType("TSTypeAnnotation")}),Y8={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:vX()};o("TSCallSignatureDeclaration",Y8);o("TSConstructSignatureDeclaration",Y8);var z8=()=>({key:T.validateType("Expression"),computed:{default:!1},optional:T.validateOptional(a1)});o("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},z8(),{readonly:T.validateOptional(a1),typeAnnotation:T.validateOptionalType("TSTypeAnnotation"),kind:{validate:T.assertOneOf("get","set")}})});o("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},vX(),z8(),{kind:{validate:T.assertOneOf("method","get","set")}})});o("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:T.validateOptional(a1),static:T.validateOptional(a1),parameters:T.validateArrayOfType("Identifier"),typeAnnotation:T.validateOptionalType("TSTypeAnnotation")}});var aC=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let G of aC)o(G,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});o("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var K8={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};o("TSFunctionType",Object.assign({},K8,{fields:vX()}));o("TSConstructorType",Object.assign({},K8,{fields:Object.assign({},vX(),{abstract:T.validateOptional(a1)})}));o("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:T.validateType("TSEntityName"),["typeParameters"]:T.validateOptionalType("TSTypeParameterInstantiation")}});o("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:T.validateType("Identifier","TSThisType"),typeAnnotation:T.validateOptionalType("TSTypeAnnotation"),asserts:T.validateOptional(a1)}});o("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:T.validateType("TSEntityName","TSImportType"),["typeParameters"]:T.validateOptionalType("TSTypeParameterInstantiation")}});o("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:T.validateArrayOfType("TSTypeElement")}});o("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:T.validateType("TSType")}});o("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:T.validateArrayOfType("TSType","TSNamedTupleMember")}});o("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:T.validateType("TSType")}});o("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:T.validateType("TSType")}});o("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:T.validateType("Identifier"),optional:{validate:a1,default:!1},elementType:T.validateType("TSType")}});var U8={aliases:["TSType"],visitor:["types"],fields:{types:T.validateArrayOfType("TSType")}};o("TSUnionType",U8);o("TSIntersectionType",U8);o("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:T.validateType("TSType"),extendsType:T.validateType("TSType"),trueType:T.validateType("TSType"),falseType:T.validateType("TSType")}});o("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:T.validateType("TSTypeParameter")}});o("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:T.validateType("TSType")}});o("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:T.validate(T.assertValueType("string")),typeAnnotation:T.validateType("TSType")}});o("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:T.validateType("TSType"),indexType:T.validateType("TSType")}});o("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:T.validateType("TSTypeParameter")},{readonly:T.validateOptional(T.assertOneOf(!0,!1,"+","-")),optional:T.validateOptional(T.assertOneOf(!0,!1,"+","-")),typeAnnotation:T.validateOptionalType("TSType"),nameType:T.validateOptionalType("TSType")})});o("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let G=T.assertNodeType("NumericLiteral","BigIntLiteral"),J=T.assertOneOf("-"),X=T.assertNodeType("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function H(V,Z,Q){if(iC.default("UnaryExpression",Q))J(Q,"operator",Q.operator),G(Q,"argument",Q.argument);else X(V,Z,Q)}return H.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],H}()}}});o("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:T.validateType("TSEntityName"),typeParameters:T.validateOptionalType("TSTypeParameterInstantiation")}});o("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:T.validateOptional(a1),id:T.validateType("Identifier"),typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),extends:T.validateOptional(T.arrayOfType("TSExpressionWithTypeArguments")),body:T.validateType("TSInterfaceBody")}});o("TSInterfaceBody",{visitor:["body"],fields:{body:T.validateArrayOfType("TSTypeElement")}});o("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:T.validateOptional(a1),id:T.validateType("Identifier"),typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),typeAnnotation:T.validateType("TSType")}});o("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:T.validateType("Expression"),["typeParameters"]:T.validateOptionalType("TSTypeParameterInstantiation")}});var R8={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:T.validateType("Expression"),typeAnnotation:T.validateType("TSType")}};o("TSAsExpression",R8);o("TSSatisfiesExpression",R8);o("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:T.validateType("TSType"),expression:T.validateType("Expression")}});o("TSEnumBody",{visitor:["members"],fields:{members:T.validateArrayOfType("TSEnumMember")}});o("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:T.validateOptional(a1),const:T.validateOptional(a1),id:T.validateType("Identifier"),members:T.validateArrayOfType("TSEnumMember"),initializer:T.validateOptionalType("Expression"),body:T.validateOptionalType("TSEnumBody")}});o("TSEnumMember",{visitor:["id","initializer"],fields:{id:T.validateType("Identifier","StringLiteral"),initializer:T.validateOptionalType("Expression")}});o("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:T.assertOneOf("global","module","namespace")},declare:T.validateOptional(a1)},{global:T.validateOptional(a1)},{id:T.validateType("Identifier","StringLiteral"),body:T.validateType("TSModuleBlock","TSModuleDeclaration")})});o("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:T.validateArrayOfType("Statement")}});o("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:T.validateType("StringLiteral"),qualifier:T.validateOptionalType("TSEntityName"),["typeParameters"]:T.validateOptionalType("TSTypeParameterInstantiation"),options:{validate:T.assertNodeType("Expression"),optional:!0}}});o("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:T.validate(a1),id:T.validateType("Identifier"),moduleReference:T.validateType("TSEntityName","TSExternalModuleReference"),importKind:{validate:T.assertOneOf("type","value"),optional:!0}}});o("TSExternalModuleReference",{visitor:["expression"],fields:{expression:T.validateType("StringLiteral")}});o("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:T.validateType("Expression")}});o("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:T.validateType("Expression")}});o("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:T.validateType("Identifier")}});o("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:T.assertNodeType("TSType")}}});o("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:T.validateArrayOfType("TSType")}});o("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:T.validateArrayOfType("TSTypeParameter")}});o("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:T.assertValueType("string")},in:{validate:T.assertValueType("boolean"),optional:!0},out:{validate:T.assertValueType("boolean"),optional:!0},const:{validate:T.assertValueType("boolean"),optional:!0},constraint:{validate:T.assertNodeType("TSType"),optional:!0},default:{validate:T.assertNodeType("TSType"),optional:!0}}})});var F8=f((M8)=>{Object.defineProperty(M8,"__esModule",{value:!0});M8.DEPRECATED_ALIASES=void 0;var dK1=M8.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var n1=f((s1)=>{Object.defineProperty(s1,"__esModule",{value:!0});Object.defineProperty(s1,"ALIAS_KEYS",{enumerable:!0,get:function(){return o1.ALIAS_KEYS}});Object.defineProperty(s1,"BUILDER_KEYS",{enumerable:!0,get:function(){return o1.BUILDER_KEYS}});Object.defineProperty(s1,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return z9.DEPRECATED_ALIASES}});Object.defineProperty(s1,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return o1.DEPRECATED_KEYS}});Object.defineProperty(s1,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return o1.FLIPPED_ALIAS_KEYS}});Object.defineProperty(s1,"NODE_FIELDS",{enumerable:!0,get:function(){return o1.NODE_FIELDS}});Object.defineProperty(s1,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return o1.NODE_PARENT_VALIDATIONS}});Object.defineProperty(s1,"PLACEHOLDERS",{enumerable:!0,get:function(){return K9.PLACEHOLDERS}});Object.defineProperty(s1,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return K9.PLACEHOLDERS_ALIAS}});Object.defineProperty(s1,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return K9.PLACEHOLDERS_FLIPPED_ALIAS}});s1.TYPES=void 0;Object.defineProperty(s1,"VISITOR_KEYS",{enumerable:!0,get:function(){return o1.VISITOR_KEYS}});xJ();G8();J8();V8();Z8();B8();var o1=RG(),K9=W9(),z9=F8();Object.keys(z9.DEPRECATED_ALIASES).forEach((G)=>{o1.FLIPPED_ALIAS_KEYS[G]=o1.FLIPPED_ALIAS_KEYS[z9.DEPRECATED_ALIASES[G]]});var nK1=s1.TYPES=[].concat(Object.keys(o1.VISITOR_KEYS),Object.keys(o1.FLIPPED_ALIAS_KEYS),Object.keys(o1.DEPRECATED_KEYS))});var LX=f((A8)=>{Object.defineProperty(A8,"__esModule",{value:!0});A8.default=pC;A8.validateChild=O8;A8.validateField=j8;A8.validateInternal=rC;var mJ=n1();function pC(G,J,X){if(!G)return;let H=mJ.NODE_FIELDS[G.type];if(!H)return;let V=H[J];j8(G,J,X,V),O8(G,J,X)}function rC(G,J,X,H,V){if(!(G!=null&&G.validate))return;if(G.optional&&H==null)return;if(G.validate(J,X,H),V){var Z;let Q=H.type;if(Q==null)return;(Z=mJ.NODE_PARENT_VALIDATIONS[Q])==null||Z.call(mJ.NODE_PARENT_VALIDATIONS,J,X,H)}}function j8(G,J,X,H){if(!(H!=null&&H.validate))return;if(H.optional&&X==null)return;H.validate(G,J,X)}function O8(G,J,X){var H;let V=X==null?void 0:X.type;if(V==null)return;(H=mJ.NODE_PARENT_VALIDATIONS[V])==null||H.call(mJ.NODE_PARENT_VALIDATIONS,G,J,X)}});var y1=f((I8)=>{Object.defineProperty(I8,"__esModule",{value:!0});I8.anyTypeAnnotation=LS;I8.argumentPlaceholder=QI;I8.arrayExpression=GD;I8.arrayPattern=dD;I8.arrayTypeAnnotation=bS;I8.arrowFunctionExpression=tD;I8.assignmentExpression=JD;I8.assignmentPattern=sD;I8.awaitExpression=jS;I8.bigIntLiteral=AS;I8.binaryExpression=XD;I8.bindExpression=WI;I8.blockStatement=QD;I8.booleanLiteral=PD;I8.booleanLiteralTypeAnnotation=vS;I8.booleanTypeAnnotation=kS;I8.breakStatement=WD;I8.callExpression=YD;I8.catchClause=zD;I8.classAccessorProperty=IS;I8.classBody=nD;I8.classDeclaration=eD;I8.classExpression=oD;I8.classImplements=gS;I8.classMethod=US;I8.classPrivateMethod=NS;I8.classPrivateProperty=PS;I8.classProperty=fS;I8.conditionalExpression=KD;I8.continueStatement=UD;I8.debuggerStatement=RD;I8.decimalLiteral=MI;I8.declareClass=_S;I8.declareExportAllDeclaration=aS;I8.declareExportDeclaration=iS;I8.declareFunction=hS;I8.declareInterface=uS;I8.declareModule=yS;I8.declareModuleExports=xS;I8.declareOpaqueType=cS;I8.declareTypeAlias=mS;I8.declareVariable=lS;I8.declaredPredicate=pS;I8.decorator=zI;I8.directive=VD;I8.directiveLiteral=ZD;I8.doExpression=KI;I8.doWhileStatement=BD;I8.emptyStatement=MD;I8.emptyTypeAnnotation=Hf;I8.enumBooleanBody=bf;I8.enumBooleanMember=gf;I8.enumDeclaration=Lf;I8.enumDefaultedMember=uf;I8.enumNumberBody=kf;I8.enumNumberMember=_f;I8.enumStringBody=vf;I8.enumStringMember=hf;I8.enumSymbolBody=Ef;I8.existsTypeAnnotation=rS;I8.exportAllDeclaration=GS;I8.exportDefaultDeclaration=JS;I8.exportDefaultSpecifier=UI;I8.exportNamedDeclaration=XS;I8.exportNamespaceSpecifier=CS;I8.exportSpecifier=HS;I8.expressionStatement=$D;I8.file=FD;I8.forInStatement=qD;I8.forOfStatement=VS;I8.forStatement=jD;I8.functionDeclaration=OD;I8.functionExpression=AD;I8.functionTypeAnnotation=sS;I8.functionTypeParam=dS;I8.genericTypeAnnotation=tS;I8.identifier=CD;I8.ifStatement=DD;I8.import=OS;I8.importAttribute=YI;I8.importDeclaration=ZS;I8.importDefaultSpecifier=QS;I8.importExpression=zS;I8.importNamespaceSpecifier=WS;I8.importSpecifier=YS;I8.indexedAccessType=yf;I8.inferredPredicate=nS;I8.interfaceDeclaration=eS;I8.interfaceExtends=oS;I8.interfaceTypeAnnotation=Gf;I8.interpreterDirective=HD;I8.intersectionTypeAnnotation=Jf;I8.jSXAttribute=I8.jsxAttribute=mf;I8.jSXClosingElement=I8.jsxClosingElement=cf;I8.jSXClosingFragment=I8.jsxClosingFragment=XI;I8.jSXElement=I8.jsxElement=lf;I8.jSXEmptyExpression=I8.jsxEmptyExpression=af;I8.jSXExpressionContainer=I8.jsxExpressionContainer=pf;I8.jSXFragment=I8.jsxFragment=GI;I8.jSXIdentifier=I8.jsxIdentifier=sf;I8.jSXMemberExpression=I8.jsxMemberExpression=df;I8.jSXNamespacedName=I8.jsxNamespacedName=tf;I8.jSXOpeningElement=I8.jsxOpeningElement=nf;I8.jSXOpeningFragment=I8.jsxOpeningFragment=JI;I8.jSXSpreadAttribute=I8.jsxSpreadAttribute=of;I8.jSXSpreadChild=I8.jsxSpreadChild=rf;I8.jSXText=I8.jsxText=ef;I8.labeledStatement=SD;I8.logicalExpression=ND;I8.memberExpression=TD;I8.metaProperty=KS;I8.mixedTypeAnnotation=Xf;I8.moduleExpression=$I;I8.newExpression=wD;I8.noop=HI;I8.nullLiteral=ID;I8.nullLiteralTypeAnnotation=ES;I8.nullableTypeAnnotation=Vf;I8.numberLiteral=kP;I8.numberLiteralTypeAnnotation=Zf;I8.numberTypeAnnotation=Qf;I8.numericLiteral=C8;I8.objectExpression=bD;I8.objectMethod=kD;I8.objectPattern=RS;I8.objectProperty=vD;I8.objectTypeAnnotation=Wf;I8.objectTypeCallProperty=zf;I8.objectTypeIndexer=Kf;I8.objectTypeInternalSlot=Yf;I8.objectTypeProperty=Uf;I8.objectTypeSpreadProperty=Rf;I8.opaqueType=Bf;I8.optionalCallExpression=SS;I8.optionalIndexedAccessType=xf;I8.optionalMemberExpression=DS;I8.parenthesizedExpression=_D;I8.pipelineBareFunction=jI;I8.pipelinePrimaryTopicReference=OI;I8.pipelineTopicExpression=qI;I8.placeholder=VI;I8.privateName=TS;I8.program=LD;I8.qualifiedTypeIdentifier=Mf;I8.recordExpression=RI;I8.regExpLiteral=D8;I8.regexLiteral=vP;I8.restElement=S8;I8.restProperty=EP;I8.returnStatement=ED;I8.sequenceExpression=gD;I8.spreadElement=f8;I8.spreadProperty=gP;I8.staticBlock=wS;I8.stringLiteral=fD;I8.stringLiteralTypeAnnotation=$f;I8.stringTypeAnnotation=Ff;I8.super=BS;I8.switchCase=hD;I8.switchStatement=uD;I8.symbolTypeAnnotation=qf;I8.taggedTemplateExpression=MS;I8.templateElement=$S;I8.templateLiteral=FS;I8.thisExpression=yD;I8.thisTypeAnnotation=jf;I8.throwStatement=xD;I8.topicReference=FI;I8.tryStatement=mD;I8.tSAnyKeyword=I8.tsAnyKeyword=wI;I8.tSArrayType=I8.tsArrayType=dI;I8.tSAsExpression=I8.tsAsExpression=MP;I8.tSBigIntKeyword=I8.tsBigIntKeyword=bI;I8.tSBooleanKeyword=I8.tsBooleanKeyword=LI;I8.tSCallSignatureDeclaration=I8.tsCallSignatureDeclaration=fI;I8.tSConditionalType=I8.tsConditionalType=XP;I8.tSConstructSignatureDeclaration=I8.tsConstructSignatureDeclaration=II;I8.tSConstructorType=I8.tsConstructorType=iI;I8.tSDeclareFunction=I8.tsDeclareFunction=CI;I8.tSDeclareMethod=I8.tsDeclareMethod=DI;I8.tSEnumBody=I8.tsEnumBody=qP;I8.tSEnumDeclaration=I8.tsEnumDeclaration=jP;I8.tSEnumMember=I8.tsEnumMember=OP;I8.tSExportAssignment=I8.tsExportAssignment=PP;I8.tSExpressionWithTypeArguments=I8.tsExpressionWithTypeArguments=zP;I8.tSExternalModuleReference=I8.tsExternalModuleReference=fP;I8.tSFunctionType=I8.tsFunctionType=lI;I8.tSImportEqualsDeclaration=I8.tsImportEqualsDeclaration=SP;I8.tSImportType=I8.tsImportType=DP;I8.tSIndexSignature=I8.tsIndexSignature=TI;I8.tSIndexedAccessType=I8.tsIndexedAccessType=QP;I8.tSInferType=I8.tsInferType=HP;I8.tSInstantiationExpression=I8.tsInstantiationExpression=BP;I8.tSInterfaceBody=I8.tsInterfaceBody=UP;I8.tSInterfaceDeclaration=I8.tsInterfaceDeclaration=KP;I8.tSIntersectionType=I8.tsIntersectionType=JP;I8.tSIntrinsicKeyword=I8.tsIntrinsicKeyword=kI;I8.tSLiteralType=I8.tsLiteralType=YP;I8.tSMappedType=I8.tsMappedType=WP;I8.tSMethodSignature=I8.tsMethodSignature=NI;I8.tSModuleBlock=I8.tsModuleBlock=CP;I8.tSModuleDeclaration=I8.tsModuleDeclaration=AP;I8.tSNamedTupleMember=I8.tsNamedTupleMember=eI;I8.tSNamespaceExportDeclaration=I8.tsNamespaceExportDeclaration=NP;I8.tSNeverKeyword=I8.tsNeverKeyword=vI;I8.tSNonNullExpression=I8.tsNonNullExpression=IP;I8.tSNullKeyword=I8.tsNullKeyword=EI;I8.tSNumberKeyword=I8.tsNumberKeyword=gI;I8.tSObjectKeyword=I8.tsObjectKeyword=_I;I8.tSOptionalType=I8.tsOptionalType=nI;I8.tSParameterProperty=I8.tsParameterProperty=AI;I8.tSParenthesizedType=I8.tsParenthesizedType=VP;I8.tSPropertySignature=I8.tsPropertySignature=PI;I8.tSQualifiedName=I8.tsQualifiedName=SI;I8.tSRestType=I8.tsRestType=oI;I8.tSSatisfiesExpression=I8.tsSatisfiesExpression=$P;I8.tSStringKeyword=I8.tsStringKeyword=hI;I8.tSSymbolKeyword=I8.tsSymbolKeyword=uI;I8.tSThisType=I8.tsThisType=cI;I8.tSTupleType=I8.tsTupleType=tI;I8.tSTypeAliasDeclaration=I8.tsTypeAliasDeclaration=RP;I8.tSTypeAnnotation=I8.tsTypeAnnotation=TP;I8.tSTypeAssertion=I8.tsTypeAssertion=FP;I8.tSTypeLiteral=I8.tsTypeLiteral=sI;I8.tSTypeOperator=I8.tsTypeOperator=ZP;I8.tSTypeParameter=I8.tsTypeParameter=bP;I8.tSTypeParameterDeclaration=I8.tsTypeParameterDeclaration=LP;I8.tSTypeParameterInstantiation=I8.tsTypeParameterInstantiation=wP;I8.tSTypePredicate=I8.tsTypePredicate=pI;I8.tSTypeQuery=I8.tsTypeQuery=rI;I8.tSTypeReference=I8.tsTypeReference=aI;I8.tSUndefinedKeyword=I8.tsUndefinedKeyword=yI;I8.tSUnionType=I8.tsUnionType=GP;I8.tSUnknownKeyword=I8.tsUnknownKeyword=xI;I8.tSVoidKeyword=I8.tsVoidKeyword=mI;I8.tupleExpression=BI;I8.tupleTypeAnnotation=Of;I8.typeAlias=Cf;I8.typeAnnotation=Df;I8.typeCastExpression=Sf;I8.typeParameter=ff;I8.typeParameterDeclaration=If;I8.typeParameterInstantiation=Pf;I8.typeofTypeAnnotation=Af;I8.unaryExpression=cD;I8.unionTypeAnnotation=Nf;I8.updateExpression=lD;I8.v8IntrinsicIdentifier=ZI;I8.variableDeclaration=iD;I8.variableDeclarator=aD;I8.variance=Tf;I8.voidTypeAnnotation=wf;I8.whileStatement=pD;I8.withStatement=rD;I8.yieldExpression=qS;var oC=LX(),EX=EJ(),eC=RG(),{validateInternal:K}=oC,{NODE_FIELDS:O}=eC;function GD(G=[]){let J={type:"ArrayExpression",elements:G},X=O.ArrayExpression;return K(X.elements,J,"elements",G,1),J}function JD(G,J,X){let H={type:"AssignmentExpression",operator:G,left:J,right:X},V=O.AssignmentExpression;return K(V.operator,H,"operator",G),K(V.left,H,"left",J,1),K(V.right,H,"right",X,1),H}function XD(G,J,X){let H={type:"BinaryExpression",operator:G,left:J,right:X},V=O.BinaryExpression;return K(V.operator,H,"operator",G),K(V.left,H,"left",J,1),K(V.right,H,"right",X,1),H}function HD(G){let J={type:"InterpreterDirective",value:G},X=O.InterpreterDirective;return K(X.value,J,"value",G),J}function VD(G){let J={type:"Directive",value:G},X=O.Directive;return K(X.value,J,"value",G,1),J}function ZD(G){let J={type:"DirectiveLiteral",value:G},X=O.DirectiveLiteral;return K(X.value,J,"value",G),J}function QD(G,J=[]){let X={type:"BlockStatement",body:G,directives:J},H=O.BlockStatement;return K(H.body,X,"body",G,1),K(H.directives,X,"directives",J,1),X}function WD(G=null){let J={type:"BreakStatement",label:G},X=O.BreakStatement;return K(X.label,J,"label",G,1),J}function YD(G,J){let X={type:"CallExpression",callee:G,arguments:J},H=O.CallExpression;return K(H.callee,X,"callee",G,1),K(H.arguments,X,"arguments",J,1),X}function zD(G=null,J){let X={type:"CatchClause",param:G,body:J},H=O.CatchClause;return K(H.param,X,"param",G,1),K(H.body,X,"body",J,1),X}function KD(G,J,X){let H={type:"ConditionalExpression",test:G,consequent:J,alternate:X},V=O.ConditionalExpression;return K(V.test,H,"test",G,1),K(V.consequent,H,"consequent",J,1),K(V.alternate,H,"alternate",X,1),H}function UD(G=null){let J={type:"ContinueStatement",label:G},X=O.ContinueStatement;return K(X.label,J,"label",G,1),J}function RD(){return{type:"DebuggerStatement"}}function BD(G,J){let X={type:"DoWhileStatement",test:G,body:J},H=O.DoWhileStatement;return K(H.test,X,"test",G,1),K(H.body,X,"body",J,1),X}function MD(){return{type:"EmptyStatement"}}function $D(G){let J={type:"ExpressionStatement",expression:G},X=O.ExpressionStatement;return K(X.expression,J,"expression",G,1),J}function FD(G,J=null,X=null){let H={type:"File",program:G,comments:J,tokens:X},V=O.File;return K(V.program,H,"program",G,1),K(V.comments,H,"comments",J,1),K(V.tokens,H,"tokens",X),H}function qD(G,J,X){let H={type:"ForInStatement",left:G,right:J,body:X},V=O.ForInStatement;return K(V.left,H,"left",G,1),K(V.right,H,"right",J,1),K(V.body,H,"body",X,1),H}function jD(G=null,J=null,X=null,H){let V={type:"ForStatement",init:G,test:J,update:X,body:H},Z=O.ForStatement;return K(Z.init,V,"init",G,1),K(Z.test,V,"test",J,1),K(Z.update,V,"update",X,1),K(Z.body,V,"body",H,1),V}function OD(G=null,J,X,H=!1,V=!1){let Z={type:"FunctionDeclaration",id:G,params:J,body:X,generator:H,async:V},Q=O.FunctionDeclaration;return K(Q.id,Z,"id",G,1),K(Q.params,Z,"params",J,1),K(Q.body,Z,"body",X,1),K(Q.generator,Z,"generator",H),K(Q.async,Z,"async",V),Z}function AD(G=null,J,X,H=!1,V=!1){let Z={type:"FunctionExpression",id:G,params:J,body:X,generator:H,async:V},Q=O.FunctionExpression;return K(Q.id,Z,"id",G,1),K(Q.params,Z,"params",J,1),K(Q.body,Z,"body",X,1),K(Q.generator,Z,"generator",H),K(Q.async,Z,"async",V),Z}function CD(G){let J={type:"Identifier",name:G},X=O.Identifier;return K(X.name,J,"name",G),J}function DD(G,J,X=null){let H={type:"IfStatement",test:G,consequent:J,alternate:X},V=O.IfStatement;return K(V.test,H,"test",G,1),K(V.consequent,H,"consequent",J,1),K(V.alternate,H,"alternate",X,1),H}function SD(G,J){let X={type:"LabeledStatement",label:G,body:J},H=O.LabeledStatement;return K(H.label,X,"label",G,1),K(H.body,X,"body",J,1),X}function fD(G){let J={type:"StringLiteral",value:G},X=O.StringLiteral;return K(X.value,J,"value",G),J}function C8(G){let J={type:"NumericLiteral",value:G},X=O.NumericLiteral;return K(X.value,J,"value",G),J}function ID(){return{type:"NullLiteral"}}function PD(G){let J={type:"BooleanLiteral",value:G},X=O.BooleanLiteral;return K(X.value,J,"value",G),J}function D8(G,J=""){let X={type:"RegExpLiteral",pattern:G,flags:J},H=O.RegExpLiteral;return K(H.pattern,X,"pattern",G),K(H.flags,X,"flags",J),X}function ND(G,J,X){let H={type:"LogicalExpression",operator:G,left:J,right:X},V=O.LogicalExpression;return K(V.operator,H,"operator",G),K(V.left,H,"left",J,1),K(V.right,H,"right",X,1),H}function TD(G,J,X=!1,H=null){let V={type:"MemberExpression",object:G,property:J,computed:X,optional:H},Z=O.MemberExpression;return K(Z.object,V,"object",G,1),K(Z.property,V,"property",J,1),K(Z.computed,V,"computed",X),K(Z.optional,V,"optional",H),V}function wD(G,J){let X={type:"NewExpression",callee:G,arguments:J},H=O.NewExpression;return K(H.callee,X,"callee",G,1),K(H.arguments,X,"arguments",J,1),X}function LD(G,J=[],X="script",H=null){let V={type:"Program",body:G,directives:J,sourceType:X,interpreter:H},Z=O.Program;return K(Z.body,V,"body",G,1),K(Z.directives,V,"directives",J,1),K(Z.sourceType,V,"sourceType",X),K(Z.interpreter,V,"interpreter",H,1),V}function bD(G){let J={type:"ObjectExpression",properties:G},X=O.ObjectExpression;return K(X.properties,J,"properties",G,1),J}function kD(G="method",J,X,H,V=!1,Z=!1,Q=!1){let W={type:"ObjectMethod",kind:G,key:J,params:X,body:H,computed:V,generator:Z,async:Q},Y=O.ObjectMethod;return K(Y.kind,W,"kind",G),K(Y.key,W,"key",J,1),K(Y.params,W,"params",X,1),K(Y.body,W,"body",H,1),K(Y.computed,W,"computed",V),K(Y.generator,W,"generator",Z),K(Y.async,W,"async",Q),W}function vD(G,J,X=!1,H=!1,V=null){let Z={type:"ObjectProperty",key:G,value:J,computed:X,shorthand:H,decorators:V},Q=O.ObjectProperty;return K(Q.key,Z,"key",G,1),K(Q.value,Z,"value",J,1),K(Q.computed,Z,"computed",X),K(Q.shorthand,Z,"shorthand",H),K(Q.decorators,Z,"decorators",V,1),Z}function S8(G){let J={type:"RestElement",argument:G},X=O.RestElement;return K(X.argument,J,"argument",G,1),J}function ED(G=null){let J={type:"ReturnStatement",argument:G},X=O.ReturnStatement;return K(X.argument,J,"argument",G,1),J}function gD(G){let J={type:"SequenceExpression",expressions:G},X=O.SequenceExpression;return K(X.expressions,J,"expressions",G,1),J}function _D(G){let J={type:"ParenthesizedExpression",expression:G},X=O.ParenthesizedExpression;return K(X.expression,J,"expression",G,1),J}function hD(G=null,J){let X={type:"SwitchCase",test:G,consequent:J},H=O.SwitchCase;return K(H.test,X,"test",G,1),K(H.consequent,X,"consequent",J,1),X}function uD(G,J){let X={type:"SwitchStatement",discriminant:G,cases:J},H=O.SwitchStatement;return K(H.discriminant,X,"discriminant",G,1),K(H.cases,X,"cases",J,1),X}function yD(){return{type:"ThisExpression"}}function xD(G){let J={type:"ThrowStatement",argument:G},X=O.ThrowStatement;return K(X.argument,J,"argument",G,1),J}function mD(G,J=null,X=null){let H={type:"TryStatement",block:G,handler:J,finalizer:X},V=O.TryStatement;return K(V.block,H,"block",G,1),K(V.handler,H,"handler",J,1),K(V.finalizer,H,"finalizer",X,1),H}function cD(G,J,X=!0){let H={type:"UnaryExpression",operator:G,argument:J,prefix:X},V=O.UnaryExpression;return K(V.operator,H,"operator",G),K(V.argument,H,"argument",J,1),K(V.prefix,H,"prefix",X),H}function lD(G,J,X=!1){let H={type:"UpdateExpression",operator:G,argument:J,prefix:X},V=O.UpdateExpression;return K(V.operator,H,"operator",G),K(V.argument,H,"argument",J,1),K(V.prefix,H,"prefix",X),H}function iD(G,J){let X={type:"VariableDeclaration",kind:G,declarations:J},H=O.VariableDeclaration;return K(H.kind,X,"kind",G),K(H.declarations,X,"declarations",J,1),X}function aD(G,J=null){let X={type:"VariableDeclarator",id:G,init:J},H=O.VariableDeclarator;return K(H.id,X,"id",G,1),K(H.init,X,"init",J,1),X}function pD(G,J){let X={type:"WhileStatement",test:G,body:J},H=O.WhileStatement;return K(H.test,X,"test",G,1),K(H.body,X,"body",J,1),X}function rD(G,J){let X={type:"WithStatement",object:G,body:J},H=O.WithStatement;return K(H.object,X,"object",G,1),K(H.body,X,"body",J,1),X}function sD(G,J){let X={type:"AssignmentPattern",left:G,right:J},H=O.AssignmentPattern;return K(H.left,X,"left",G,1),K(H.right,X,"right",J,1),X}function dD(G){let J={type:"ArrayPattern",elements:G},X=O.ArrayPattern;return K(X.elements,J,"elements",G,1),J}function tD(G,J,X=!1){let H={type:"ArrowFunctionExpression",params:G,body:J,async:X,expression:null},V=O.ArrowFunctionExpression;return K(V.params,H,"params",G,1),K(V.body,H,"body",J,1),K(V.async,H,"async",X),H}function nD(G){let J={type:"ClassBody",body:G},X=O.ClassBody;return K(X.body,J,"body",G,1),J}function oD(G=null,J=null,X,H=null){let V={type:"ClassExpression",id:G,superClass:J,body:X,decorators:H},Z=O.ClassExpression;return K(Z.id,V,"id",G,1),K(Z.superClass,V,"superClass",J,1),K(Z.body,V,"body",X,1),K(Z.decorators,V,"decorators",H,1),V}function eD(G=null,J=null,X,H=null){let V={type:"ClassDeclaration",id:G,superClass:J,body:X,decorators:H},Z=O.ClassDeclaration;return K(Z.id,V,"id",G,1),K(Z.superClass,V,"superClass",J,1),K(Z.body,V,"body",X,1),K(Z.decorators,V,"decorators",H,1),V}function GS(G){let J={type:"ExportAllDeclaration",source:G},X=O.ExportAllDeclaration;return K(X.source,J,"source",G,1),J}function JS(G){let J={type:"ExportDefaultDeclaration",declaration:G},X=O.ExportDefaultDeclaration;return K(X.declaration,J,"declaration",G,1),J}function XS(G=null,J=[],X=null){let H={type:"ExportNamedDeclaration",declaration:G,specifiers:J,source:X},V=O.ExportNamedDeclaration;return K(V.declaration,H,"declaration",G,1),K(V.specifiers,H,"specifiers",J,1),K(V.source,H,"source",X,1),H}function HS(G,J){let X={type:"ExportSpecifier",local:G,exported:J},H=O.ExportSpecifier;return K(H.local,X,"local",G,1),K(H.exported,X,"exported",J,1),X}function VS(G,J,X,H=!1){let V={type:"ForOfStatement",left:G,right:J,body:X,await:H},Z=O.ForOfStatement;return K(Z.left,V,"left",G,1),K(Z.right,V,"right",J,1),K(Z.body,V,"body",X,1),K(Z.await,V,"await",H),V}function ZS(G,J){let X={type:"ImportDeclaration",specifiers:G,source:J},H=O.ImportDeclaration;return K(H.specifiers,X,"specifiers",G,1),K(H.source,X,"source",J,1),X}function QS(G){let J={type:"ImportDefaultSpecifier",local:G},X=O.ImportDefaultSpecifier;return K(X.local,J,"local",G,1),J}function WS(G){let J={type:"ImportNamespaceSpecifier",local:G},X=O.ImportNamespaceSpecifier;return K(X.local,J,"local",G,1),J}function YS(G,J){let X={type:"ImportSpecifier",local:G,imported:J},H=O.ImportSpecifier;return K(H.local,X,"local",G,1),K(H.imported,X,"imported",J,1),X}function zS(G,J=null){let X={type:"ImportExpression",source:G,options:J},H=O.ImportExpression;return K(H.source,X,"source",G,1),K(H.options,X,"options",J,1),X}function KS(G,J){let X={type:"MetaProperty",meta:G,property:J},H=O.MetaProperty;return K(H.meta,X,"meta",G,1),K(H.property,X,"property",J,1),X}function US(G="method",J,X,H,V=!1,Z=!1,Q=!1,W=!1){let Y={type:"ClassMethod",kind:G,key:J,params:X,body:H,computed:V,static:Z,generator:Q,async:W},z=O.ClassMethod;return K(z.kind,Y,"kind",G),K(z.key,Y,"key",J,1),K(z.params,Y,"params",X,1),K(z.body,Y,"body",H,1),K(z.computed,Y,"computed",V),K(z.static,Y,"static",Z),K(z.generator,Y,"generator",Q),K(z.async,Y,"async",W),Y}function RS(G){let J={type:"ObjectPattern",properties:G},X=O.ObjectPattern;return K(X.properties,J,"properties",G,1),J}function f8(G){let J={type:"SpreadElement",argument:G},X=O.SpreadElement;return K(X.argument,J,"argument",G,1),J}function BS(){return{type:"Super"}}function MS(G,J){let X={type:"TaggedTemplateExpression",tag:G,quasi:J},H=O.TaggedTemplateExpression;return K(H.tag,X,"tag",G,1),K(H.quasi,X,"quasi",J,1),X}function $S(G,J=!1){let X={type:"TemplateElement",value:G,tail:J},H=O.TemplateElement;return K(H.value,X,"value",G),K(H.tail,X,"tail",J),X}function FS(G,J){let X={type:"TemplateLiteral",quasis:G,expressions:J},H=O.TemplateLiteral;return K(H.quasis,X,"quasis",G,1),K(H.expressions,X,"expressions",J,1),X}function qS(G=null,J=!1){let X={type:"YieldExpression",argument:G,delegate:J},H=O.YieldExpression;return K(H.argument,X,"argument",G,1),K(H.delegate,X,"delegate",J),X}function jS(G){let J={type:"AwaitExpression",argument:G},X=O.AwaitExpression;return K(X.argument,J,"argument",G,1),J}function OS(){return{type:"Import"}}function AS(G){let J={type:"BigIntLiteral",value:G},X=O.BigIntLiteral;return K(X.value,J,"value",G),J}function CS(G){let J={type:"ExportNamespaceSpecifier",exported:G},X=O.ExportNamespaceSpecifier;return K(X.exported,J,"exported",G,1),J}function DS(G,J,X=!1,H){let V={type:"OptionalMemberExpression",object:G,property:J,computed:X,optional:H},Z=O.OptionalMemberExpression;return K(Z.object,V,"object",G,1),K(Z.property,V,"property",J,1),K(Z.computed,V,"computed",X),K(Z.optional,V,"optional",H),V}function SS(G,J,X){let H={type:"OptionalCallExpression",callee:G,arguments:J,optional:X},V=O.OptionalCallExpression;return K(V.callee,H,"callee",G,1),K(V.arguments,H,"arguments",J,1),K(V.optional,H,"optional",X),H}function fS(G,J=null,X=null,H=null,V=!1,Z=!1){let Q={type:"ClassProperty",key:G,value:J,typeAnnotation:X,decorators:H,computed:V,static:Z},W=O.ClassProperty;return K(W.key,Q,"key",G,1),K(W.value,Q,"value",J,1),K(W.typeAnnotation,Q,"typeAnnotation",X,1),K(W.decorators,Q,"decorators",H,1),K(W.computed,Q,"computed",V),K(W.static,Q,"static",Z),Q}function IS(G,J=null,X=null,H=null,V=!1,Z=!1){let Q={type:"ClassAccessorProperty",key:G,value:J,typeAnnotation:X,decorators:H,computed:V,static:Z},W=O.ClassAccessorProperty;return K(W.key,Q,"key",G,1),K(W.value,Q,"value",J,1),K(W.typeAnnotation,Q,"typeAnnotation",X,1),K(W.decorators,Q,"decorators",H,1),K(W.computed,Q,"computed",V),K(W.static,Q,"static",Z),Q}function PS(G,J=null,X=null,H=!1){let V={type:"ClassPrivateProperty",key:G,value:J,decorators:X,static:H},Z=O.ClassPrivateProperty;return K(Z.key,V,"key",G,1),K(Z.value,V,"value",J,1),K(Z.decorators,V,"decorators",X,1),K(Z.static,V,"static",H),V}function NS(G="method",J,X,H,V=!1){let Z={type:"ClassPrivateMethod",kind:G,key:J,params:X,body:H,static:V},Q=O.ClassPrivateMethod;return K(Q.kind,Z,"kind",G),K(Q.key,Z,"key",J,1),K(Q.params,Z,"params",X,1),K(Q.body,Z,"body",H,1),K(Q.static,Z,"static",V),Z}function TS(G){let J={type:"PrivateName",id:G},X=O.PrivateName;return K(X.id,J,"id",G,1),J}function wS(G){let J={type:"StaticBlock",body:G},X=O.StaticBlock;return K(X.body,J,"body",G,1),J}function LS(){return{type:"AnyTypeAnnotation"}}function bS(G){let J={type:"ArrayTypeAnnotation",elementType:G},X=O.ArrayTypeAnnotation;return K(X.elementType,J,"elementType",G,1),J}function kS(){return{type:"BooleanTypeAnnotation"}}function vS(G){let J={type:"BooleanLiteralTypeAnnotation",value:G},X=O.BooleanLiteralTypeAnnotation;return K(X.value,J,"value",G),J}function ES(){return{type:"NullLiteralTypeAnnotation"}}function gS(G,J=null){let X={type:"ClassImplements",id:G,typeParameters:J},H=O.ClassImplements;return K(H.id,X,"id",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function _S(G,J=null,X=null,H){let V={type:"DeclareClass",id:G,typeParameters:J,extends:X,body:H},Z=O.DeclareClass;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function hS(G){let J={type:"DeclareFunction",id:G},X=O.DeclareFunction;return K(X.id,J,"id",G,1),J}function uS(G,J=null,X=null,H){let V={type:"DeclareInterface",id:G,typeParameters:J,extends:X,body:H},Z=O.DeclareInterface;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function yS(G,J,X=null){let H={type:"DeclareModule",id:G,body:J,kind:X},V=O.DeclareModule;return K(V.id,H,"id",G,1),K(V.body,H,"body",J,1),K(V.kind,H,"kind",X),H}function xS(G){let J={type:"DeclareModuleExports",typeAnnotation:G},X=O.DeclareModuleExports;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function mS(G,J=null,X){let H={type:"DeclareTypeAlias",id:G,typeParameters:J,right:X},V=O.DeclareTypeAlias;return K(V.id,H,"id",G,1),K(V.typeParameters,H,"typeParameters",J,1),K(V.right,H,"right",X,1),H}function cS(G,J=null,X=null){let H={type:"DeclareOpaqueType",id:G,typeParameters:J,supertype:X},V=O.DeclareOpaqueType;return K(V.id,H,"id",G,1),K(V.typeParameters,H,"typeParameters",J,1),K(V.supertype,H,"supertype",X,1),H}function lS(G){let J={type:"DeclareVariable",id:G},X=O.DeclareVariable;return K(X.id,J,"id",G,1),J}function iS(G=null,J=null,X=null,H=null){let V={type:"DeclareExportDeclaration",declaration:G,specifiers:J,source:X,attributes:H},Z=O.DeclareExportDeclaration;return K(Z.declaration,V,"declaration",G,1),K(Z.specifiers,V,"specifiers",J,1),K(Z.source,V,"source",X,1),K(Z.attributes,V,"attributes",H,1),V}function aS(G,J=null){let X={type:"DeclareExportAllDeclaration",source:G,attributes:J},H=O.DeclareExportAllDeclaration;return K(H.source,X,"source",G,1),K(H.attributes,X,"attributes",J,1),X}function pS(G){let J={type:"DeclaredPredicate",value:G},X=O.DeclaredPredicate;return K(X.value,J,"value",G,1),J}function rS(){return{type:"ExistsTypeAnnotation"}}function sS(G=null,J,X=null,H){let V={type:"FunctionTypeAnnotation",typeParameters:G,params:J,rest:X,returnType:H},Z=O.FunctionTypeAnnotation;return K(Z.typeParameters,V,"typeParameters",G,1),K(Z.params,V,"params",J,1),K(Z.rest,V,"rest",X,1),K(Z.returnType,V,"returnType",H,1),V}function dS(G=null,J){let X={type:"FunctionTypeParam",name:G,typeAnnotation:J},H=O.FunctionTypeParam;return K(H.name,X,"name",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function tS(G,J=null){let X={type:"GenericTypeAnnotation",id:G,typeParameters:J},H=O.GenericTypeAnnotation;return K(H.id,X,"id",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function nS(){return{type:"InferredPredicate"}}function oS(G,J=null){let X={type:"InterfaceExtends",id:G,typeParameters:J},H=O.InterfaceExtends;return K(H.id,X,"id",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function eS(G,J=null,X=null,H){let V={type:"InterfaceDeclaration",id:G,typeParameters:J,extends:X,body:H},Z=O.InterfaceDeclaration;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function Gf(G=null,J){let X={type:"InterfaceTypeAnnotation",extends:G,body:J},H=O.InterfaceTypeAnnotation;return K(H.extends,X,"extends",G,1),K(H.body,X,"body",J,1),X}function Jf(G){let J={type:"IntersectionTypeAnnotation",types:G},X=O.IntersectionTypeAnnotation;return K(X.types,J,"types",G,1),J}function Xf(){return{type:"MixedTypeAnnotation"}}function Hf(){return{type:"EmptyTypeAnnotation"}}function Vf(G){let J={type:"NullableTypeAnnotation",typeAnnotation:G},X=O.NullableTypeAnnotation;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function Zf(G){let J={type:"NumberLiteralTypeAnnotation",value:G},X=O.NumberLiteralTypeAnnotation;return K(X.value,J,"value",G),J}function Qf(){return{type:"NumberTypeAnnotation"}}function Wf(G,J=[],X=[],H=[],V=!1){let Z={type:"ObjectTypeAnnotation",properties:G,indexers:J,callProperties:X,internalSlots:H,exact:V},Q=O.ObjectTypeAnnotation;return K(Q.properties,Z,"properties",G,1),K(Q.indexers,Z,"indexers",J,1),K(Q.callProperties,Z,"callProperties",X,1),K(Q.internalSlots,Z,"internalSlots",H,1),K(Q.exact,Z,"exact",V),Z}function Yf(G,J,X,H,V){let Z={type:"ObjectTypeInternalSlot",id:G,value:J,optional:X,static:H,method:V},Q=O.ObjectTypeInternalSlot;return K(Q.id,Z,"id",G,1),K(Q.value,Z,"value",J,1),K(Q.optional,Z,"optional",X),K(Q.static,Z,"static",H),K(Q.method,Z,"method",V),Z}function zf(G){let J={type:"ObjectTypeCallProperty",value:G,static:null},X=O.ObjectTypeCallProperty;return K(X.value,J,"value",G,1),J}function Kf(G=null,J,X,H=null){let V={type:"ObjectTypeIndexer",id:G,key:J,value:X,variance:H,static:null},Z=O.ObjectTypeIndexer;return K(Z.id,V,"id",G,1),K(Z.key,V,"key",J,1),K(Z.value,V,"value",X,1),K(Z.variance,V,"variance",H,1),V}function Uf(G,J,X=null){let H={type:"ObjectTypeProperty",key:G,value:J,variance:X,kind:null,method:null,optional:null,proto:null,static:null},V=O.ObjectTypeProperty;return K(V.key,H,"key",G,1),K(V.value,H,"value",J,1),K(V.variance,H,"variance",X,1),H}function Rf(G){let J={type:"ObjectTypeSpreadProperty",argument:G},X=O.ObjectTypeSpreadProperty;return K(X.argument,J,"argument",G,1),J}function Bf(G,J=null,X=null,H){let V={type:"OpaqueType",id:G,typeParameters:J,supertype:X,impltype:H},Z=O.OpaqueType;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.supertype,V,"supertype",X,1),K(Z.impltype,V,"impltype",H,1),V}function Mf(G,J){let X={type:"QualifiedTypeIdentifier",id:G,qualification:J},H=O.QualifiedTypeIdentifier;return K(H.id,X,"id",G,1),K(H.qualification,X,"qualification",J,1),X}function $f(G){let J={type:"StringLiteralTypeAnnotation",value:G},X=O.StringLiteralTypeAnnotation;return K(X.value,J,"value",G),J}function Ff(){return{type:"StringTypeAnnotation"}}function qf(){return{type:"SymbolTypeAnnotation"}}function jf(){return{type:"ThisTypeAnnotation"}}function Of(G){let J={type:"TupleTypeAnnotation",types:G},X=O.TupleTypeAnnotation;return K(X.types,J,"types",G,1),J}function Af(G){let J={type:"TypeofTypeAnnotation",argument:G},X=O.TypeofTypeAnnotation;return K(X.argument,J,"argument",G,1),J}function Cf(G,J=null,X){let H={type:"TypeAlias",id:G,typeParameters:J,right:X},V=O.TypeAlias;return K(V.id,H,"id",G,1),K(V.typeParameters,H,"typeParameters",J,1),K(V.right,H,"right",X,1),H}function Df(G){let J={type:"TypeAnnotation",typeAnnotation:G},X=O.TypeAnnotation;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function Sf(G,J){let X={type:"TypeCastExpression",expression:G,typeAnnotation:J},H=O.TypeCastExpression;return K(H.expression,X,"expression",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function ff(G=null,J=null,X=null){let H={type:"TypeParameter",bound:G,default:J,variance:X,name:null},V=O.TypeParameter;return K(V.bound,H,"bound",G,1),K(V.default,H,"default",J,1),K(V.variance,H,"variance",X,1),H}function If(G){let J={type:"TypeParameterDeclaration",params:G},X=O.TypeParameterDeclaration;return K(X.params,J,"params",G,1),J}function Pf(G){let J={type:"TypeParameterInstantiation",params:G},X=O.TypeParameterInstantiation;return K(X.params,J,"params",G,1),J}function Nf(G){let J={type:"UnionTypeAnnotation",types:G},X=O.UnionTypeAnnotation;return K(X.types,J,"types",G,1),J}function Tf(G){let J={type:"Variance",kind:G},X=O.Variance;return K(X.kind,J,"kind",G),J}function wf(){return{type:"VoidTypeAnnotation"}}function Lf(G,J){let X={type:"EnumDeclaration",id:G,body:J},H=O.EnumDeclaration;return K(H.id,X,"id",G,1),K(H.body,X,"body",J,1),X}function bf(G){let J={type:"EnumBooleanBody",members:G,explicitType:null,hasUnknownMembers:null},X=O.EnumBooleanBody;return K(X.members,J,"members",G,1),J}function kf(G){let J={type:"EnumNumberBody",members:G,explicitType:null,hasUnknownMembers:null},X=O.EnumNumberBody;return K(X.members,J,"members",G,1),J}function vf(G){let J={type:"EnumStringBody",members:G,explicitType:null,hasUnknownMembers:null},X=O.EnumStringBody;return K(X.members,J,"members",G,1),J}function Ef(G){let J={type:"EnumSymbolBody",members:G,hasUnknownMembers:null},X=O.EnumSymbolBody;return K(X.members,J,"members",G,1),J}function gf(G){let J={type:"EnumBooleanMember",id:G,init:null},X=O.EnumBooleanMember;return K(X.id,J,"id",G,1),J}function _f(G,J){let X={type:"EnumNumberMember",id:G,init:J},H=O.EnumNumberMember;return K(H.id,X,"id",G,1),K(H.init,X,"init",J,1),X}function hf(G,J){let X={type:"EnumStringMember",id:G,init:J},H=O.EnumStringMember;return K(H.id,X,"id",G,1),K(H.init,X,"init",J,1),X}function uf(G){let J={type:"EnumDefaultedMember",id:G},X=O.EnumDefaultedMember;return K(X.id,J,"id",G,1),J}function yf(G,J){let X={type:"IndexedAccessType",objectType:G,indexType:J},H=O.IndexedAccessType;return K(H.objectType,X,"objectType",G,1),K(H.indexType,X,"indexType",J,1),X}function xf(G,J){let X={type:"OptionalIndexedAccessType",objectType:G,indexType:J,optional:null},H=O.OptionalIndexedAccessType;return K(H.objectType,X,"objectType",G,1),K(H.indexType,X,"indexType",J,1),X}function mf(G,J=null){let X={type:"JSXAttribute",name:G,value:J},H=O.JSXAttribute;return K(H.name,X,"name",G,1),K(H.value,X,"value",J,1),X}function cf(G){let J={type:"JSXClosingElement",name:G},X=O.JSXClosingElement;return K(X.name,J,"name",G,1),J}function lf(G,J=null,X,H=null){let V={type:"JSXElement",openingElement:G,closingElement:J,children:X,selfClosing:H},Z=O.JSXElement;return K(Z.openingElement,V,"openingElement",G,1),K(Z.closingElement,V,"closingElement",J,1),K(Z.children,V,"children",X,1),K(Z.selfClosing,V,"selfClosing",H),V}function af(){return{type:"JSXEmptyExpression"}}function pf(G){let J={type:"JSXExpressionContainer",expression:G},X=O.JSXExpressionContainer;return K(X.expression,J,"expression",G,1),J}function rf(G){let J={type:"JSXSpreadChild",expression:G},X=O.JSXSpreadChild;return K(X.expression,J,"expression",G,1),J}function sf(G){let J={type:"JSXIdentifier",name:G},X=O.JSXIdentifier;return K(X.name,J,"name",G),J}function df(G,J){let X={type:"JSXMemberExpression",object:G,property:J},H=O.JSXMemberExpression;return K(H.object,X,"object",G,1),K(H.property,X,"property",J,1),X}function tf(G,J){let X={type:"JSXNamespacedName",namespace:G,name:J},H=O.JSXNamespacedName;return K(H.namespace,X,"namespace",G,1),K(H.name,X,"name",J,1),X}function nf(G,J,X=!1){let H={type:"JSXOpeningElement",name:G,attributes:J,selfClosing:X},V=O.JSXOpeningElement;return K(V.name,H,"name",G,1),K(V.attributes,H,"attributes",J,1),K(V.selfClosing,H,"selfClosing",X),H}function of(G){let J={type:"JSXSpreadAttribute",argument:G},X=O.JSXSpreadAttribute;return K(X.argument,J,"argument",G,1),J}function ef(G){let J={type:"JSXText",value:G},X=O.JSXText;return K(X.value,J,"value",G),J}function GI(G,J,X){let H={type:"JSXFragment",openingFragment:G,closingFragment:J,children:X},V=O.JSXFragment;return K(V.openingFragment,H,"openingFragment",G,1),K(V.closingFragment,H,"closingFragment",J,1),K(V.children,H,"children",X,1),H}function JI(){return{type:"JSXOpeningFragment"}}function XI(){return{type:"JSXClosingFragment"}}function HI(){return{type:"Noop"}}function VI(G,J){let X={type:"Placeholder",expectedNode:G,name:J},H=O.Placeholder;return K(H.expectedNode,X,"expectedNode",G),K(H.name,X,"name",J,1),X}function ZI(G){let J={type:"V8IntrinsicIdentifier",name:G},X=O.V8IntrinsicIdentifier;return K(X.name,J,"name",G),J}function QI(){return{type:"ArgumentPlaceholder"}}function WI(G,J){let X={type:"BindExpression",object:G,callee:J},H=O.BindExpression;return K(H.object,X,"object",G,1),K(H.callee,X,"callee",J,1),X}function YI(G,J){let X={type:"ImportAttribute",key:G,value:J},H=O.ImportAttribute;return K(H.key,X,"key",G,1),K(H.value,X,"value",J,1),X}function zI(G){let J={type:"Decorator",expression:G},X=O.Decorator;return K(X.expression,J,"expression",G,1),J}function KI(G,J=!1){let X={type:"DoExpression",body:G,async:J},H=O.DoExpression;return K(H.body,X,"body",G,1),K(H.async,X,"async",J),X}function UI(G){let J={type:"ExportDefaultSpecifier",exported:G},X=O.ExportDefaultSpecifier;return K(X.exported,J,"exported",G,1),J}function RI(G){let J={type:"RecordExpression",properties:G},X=O.RecordExpression;return K(X.properties,J,"properties",G,1),J}function BI(G=[]){let J={type:"TupleExpression",elements:G},X=O.TupleExpression;return K(X.elements,J,"elements",G,1),J}function MI(G){let J={type:"DecimalLiteral",value:G},X=O.DecimalLiteral;return K(X.value,J,"value",G),J}function $I(G){let J={type:"ModuleExpression",body:G},X=O.ModuleExpression;return K(X.body,J,"body",G,1),J}function FI(){return{type:"TopicReference"}}function qI(G){let J={type:"PipelineTopicExpression",expression:G},X=O.PipelineTopicExpression;return K(X.expression,J,"expression",G,1),J}function jI(G){let J={type:"PipelineBareFunction",callee:G},X=O.PipelineBareFunction;return K(X.callee,J,"callee",G,1),J}function OI(){return{type:"PipelinePrimaryTopicReference"}}function AI(G){let J={type:"TSParameterProperty",parameter:G},X=O.TSParameterProperty;return K(X.parameter,J,"parameter",G,1),J}function CI(G=null,J=null,X,H=null){let V={type:"TSDeclareFunction",id:G,typeParameters:J,params:X,returnType:H},Z=O.TSDeclareFunction;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.params,V,"params",X,1),K(Z.returnType,V,"returnType",H,1),V}function DI(G=null,J,X=null,H,V=null){let Z={type:"TSDeclareMethod",decorators:G,key:J,typeParameters:X,params:H,returnType:V},Q=O.TSDeclareMethod;return K(Q.decorators,Z,"decorators",G,1),K(Q.key,Z,"key",J,1),K(Q.typeParameters,Z,"typeParameters",X,1),K(Q.params,Z,"params",H,1),K(Q.returnType,Z,"returnType",V,1),Z}function SI(G,J){let X={type:"TSQualifiedName",left:G,right:J},H=O.TSQualifiedName;return K(H.left,X,"left",G,1),K(H.right,X,"right",J,1),X}function fI(G=null,J,X=null){let H={type:"TSCallSignatureDeclaration",typeParameters:G,parameters:J,typeAnnotation:X},V=O.TSCallSignatureDeclaration;return K(V.typeParameters,H,"typeParameters",G,1),K(V.parameters,H,"parameters",J,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function II(G=null,J,X=null){let H={type:"TSConstructSignatureDeclaration",typeParameters:G,parameters:J,typeAnnotation:X},V=O.TSConstructSignatureDeclaration;return K(V.typeParameters,H,"typeParameters",G,1),K(V.parameters,H,"parameters",J,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function PI(G,J=null){let X={type:"TSPropertySignature",key:G,typeAnnotation:J,kind:null},H=O.TSPropertySignature;return K(H.key,X,"key",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function NI(G,J=null,X,H=null){let V={type:"TSMethodSignature",key:G,typeParameters:J,parameters:X,typeAnnotation:H,kind:null},Z=O.TSMethodSignature;return K(Z.key,V,"key",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.parameters,V,"parameters",X,1),K(Z.typeAnnotation,V,"typeAnnotation",H,1),V}function TI(G,J=null){let X={type:"TSIndexSignature",parameters:G,typeAnnotation:J},H=O.TSIndexSignature;return K(H.parameters,X,"parameters",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function wI(){return{type:"TSAnyKeyword"}}function LI(){return{type:"TSBooleanKeyword"}}function bI(){return{type:"TSBigIntKeyword"}}function kI(){return{type:"TSIntrinsicKeyword"}}function vI(){return{type:"TSNeverKeyword"}}function EI(){return{type:"TSNullKeyword"}}function gI(){return{type:"TSNumberKeyword"}}function _I(){return{type:"TSObjectKeyword"}}function hI(){return{type:"TSStringKeyword"}}function uI(){return{type:"TSSymbolKeyword"}}function yI(){return{type:"TSUndefinedKeyword"}}function xI(){return{type:"TSUnknownKeyword"}}function mI(){return{type:"TSVoidKeyword"}}function cI(){return{type:"TSThisType"}}function lI(G=null,J,X=null){let H={type:"TSFunctionType",typeParameters:G,parameters:J,typeAnnotation:X},V=O.TSFunctionType;return K(V.typeParameters,H,"typeParameters",G,1),K(V.parameters,H,"parameters",J,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function iI(G=null,J,X=null){let H={type:"TSConstructorType",typeParameters:G,parameters:J,typeAnnotation:X},V=O.TSConstructorType;return K(V.typeParameters,H,"typeParameters",G,1),K(V.parameters,H,"parameters",J,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function aI(G,J=null){let X={type:"TSTypeReference",typeName:G,typeParameters:J},H=O.TSTypeReference;return K(H.typeName,X,"typeName",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function pI(G,J=null,X=null){let H={type:"TSTypePredicate",parameterName:G,typeAnnotation:J,asserts:X},V=O.TSTypePredicate;return K(V.parameterName,H,"parameterName",G,1),K(V.typeAnnotation,H,"typeAnnotation",J,1),K(V.asserts,H,"asserts",X),H}function rI(G,J=null){let X={type:"TSTypeQuery",exprName:G,typeParameters:J},H=O.TSTypeQuery;return K(H.exprName,X,"exprName",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function sI(G){let J={type:"TSTypeLiteral",members:G},X=O.TSTypeLiteral;return K(X.members,J,"members",G,1),J}function dI(G){let J={type:"TSArrayType",elementType:G},X=O.TSArrayType;return K(X.elementType,J,"elementType",G,1),J}function tI(G){let J={type:"TSTupleType",elementTypes:G},X=O.TSTupleType;return K(X.elementTypes,J,"elementTypes",G,1),J}function nI(G){let J={type:"TSOptionalType",typeAnnotation:G},X=O.TSOptionalType;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function oI(G){let J={type:"TSRestType",typeAnnotation:G},X=O.TSRestType;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function eI(G,J,X=!1){let H={type:"TSNamedTupleMember",label:G,elementType:J,optional:X},V=O.TSNamedTupleMember;return K(V.label,H,"label",G,1),K(V.elementType,H,"elementType",J,1),K(V.optional,H,"optional",X),H}function GP(G){let J={type:"TSUnionType",types:G},X=O.TSUnionType;return K(X.types,J,"types",G,1),J}function JP(G){let J={type:"TSIntersectionType",types:G},X=O.TSIntersectionType;return K(X.types,J,"types",G,1),J}function XP(G,J,X,H){let V={type:"TSConditionalType",checkType:G,extendsType:J,trueType:X,falseType:H},Z=O.TSConditionalType;return K(Z.checkType,V,"checkType",G,1),K(Z.extendsType,V,"extendsType",J,1),K(Z.trueType,V,"trueType",X,1),K(Z.falseType,V,"falseType",H,1),V}function HP(G){let J={type:"TSInferType",typeParameter:G},X=O.TSInferType;return K(X.typeParameter,J,"typeParameter",G,1),J}function VP(G){let J={type:"TSParenthesizedType",typeAnnotation:G},X=O.TSParenthesizedType;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function ZP(G){let J={type:"TSTypeOperator",typeAnnotation:G,operator:null},X=O.TSTypeOperator;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function QP(G,J){let X={type:"TSIndexedAccessType",objectType:G,indexType:J},H=O.TSIndexedAccessType;return K(H.objectType,X,"objectType",G,1),K(H.indexType,X,"indexType",J,1),X}function WP(G,J=null,X=null){let H={type:"TSMappedType",typeParameter:G,typeAnnotation:J,nameType:X},V=O.TSMappedType;return K(V.typeParameter,H,"typeParameter",G,1),K(V.typeAnnotation,H,"typeAnnotation",J,1),K(V.nameType,H,"nameType",X,1),H}function YP(G){let J={type:"TSLiteralType",literal:G},X=O.TSLiteralType;return K(X.literal,J,"literal",G,1),J}function zP(G,J=null){let X={type:"TSExpressionWithTypeArguments",expression:G,typeParameters:J},H=O.TSExpressionWithTypeArguments;return K(H.expression,X,"expression",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function KP(G,J=null,X=null,H){let V={type:"TSInterfaceDeclaration",id:G,typeParameters:J,extends:X,body:H},Z=O.TSInterfaceDeclaration;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function UP(G){let J={type:"TSInterfaceBody",body:G},X=O.TSInterfaceBody;return K(X.body,J,"body",G,1),J}function RP(G,J=null,X){let H={type:"TSTypeAliasDeclaration",id:G,typeParameters:J,typeAnnotation:X},V=O.TSTypeAliasDeclaration;return K(V.id,H,"id",G,1),K(V.typeParameters,H,"typeParameters",J,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function BP(G,J=null){let X={type:"TSInstantiationExpression",expression:G,typeParameters:J},H=O.TSInstantiationExpression;return K(H.expression,X,"expression",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function MP(G,J){let X={type:"TSAsExpression",expression:G,typeAnnotation:J},H=O.TSAsExpression;return K(H.expression,X,"expression",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function $P(G,J){let X={type:"TSSatisfiesExpression",expression:G,typeAnnotation:J},H=O.TSSatisfiesExpression;return K(H.expression,X,"expression",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function FP(G,J){let X={type:"TSTypeAssertion",typeAnnotation:G,expression:J},H=O.TSTypeAssertion;return K(H.typeAnnotation,X,"typeAnnotation",G,1),K(H.expression,X,"expression",J,1),X}function qP(G){let J={type:"TSEnumBody",members:G},X=O.TSEnumBody;return K(X.members,J,"members",G,1),J}function jP(G,J){let X={type:"TSEnumDeclaration",id:G,members:J},H=O.TSEnumDeclaration;return K(H.id,X,"id",G,1),K(H.members,X,"members",J,1),X}function OP(G,J=null){let X={type:"TSEnumMember",id:G,initializer:J},H=O.TSEnumMember;return K(H.id,X,"id",G,1),K(H.initializer,X,"initializer",J,1),X}function AP(G,J){let X={type:"TSModuleDeclaration",id:G,body:J,kind:null},H=O.TSModuleDeclaration;return K(H.id,X,"id",G,1),K(H.body,X,"body",J,1),X}function CP(G){let J={type:"TSModuleBlock",body:G},X=O.TSModuleBlock;return K(X.body,J,"body",G,1),J}function DP(G,J=null,X=null){let H={type:"TSImportType",argument:G,qualifier:J,typeParameters:X},V=O.TSImportType;return K(V.argument,H,"argument",G,1),K(V.qualifier,H,"qualifier",J,1),K(V.typeParameters,H,"typeParameters",X,1),H}function SP(G,J){let X={type:"TSImportEqualsDeclaration",id:G,moduleReference:J,isExport:null},H=O.TSImportEqualsDeclaration;return K(H.id,X,"id",G,1),K(H.moduleReference,X,"moduleReference",J,1),X}function fP(G){let J={type:"TSExternalModuleReference",expression:G},X=O.TSExternalModuleReference;return K(X.expression,J,"expression",G,1),J}function IP(G){let J={type:"TSNonNullExpression",expression:G},X=O.TSNonNullExpression;return K(X.expression,J,"expression",G,1),J}function PP(G){let J={type:"TSExportAssignment",expression:G},X=O.TSExportAssignment;return K(X.expression,J,"expression",G,1),J}function NP(G){let J={type:"TSNamespaceExportDeclaration",id:G},X=O.TSNamespaceExportDeclaration;return K(X.id,J,"id",G,1),J}function TP(G){let J={type:"TSTypeAnnotation",typeAnnotation:G},X=O.TSTypeAnnotation;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function wP(G){let J={type:"TSTypeParameterInstantiation",params:G},X=O.TSTypeParameterInstantiation;return K(X.params,J,"params",G,1),J}function LP(G){let J={type:"TSTypeParameterDeclaration",params:G},X=O.TSTypeParameterDeclaration;return K(X.params,J,"params",G,1),J}function bP(G=null,J=null,X){let H={type:"TSTypeParameter",constraint:G,default:J,name:X},V=O.TSTypeParameter;return K(V.constraint,H,"constraint",G,1),K(V.default,H,"default",J,1),K(V.name,H,"name",X),H}function kP(G){return EX.default("NumberLiteral","NumericLiteral","The node type "),C8(G)}function vP(G,J=""){return EX.default("RegexLiteral","RegExpLiteral","The node type "),D8(G,J)}function EP(G){return EX.default("RestProperty","RestElement","The node type "),S8(G)}function gP(G){return EX.default("SpreadProperty","SpreadElement","The node type "),f8(G)}});var N8=f((P8)=>{Object.defineProperty(P8,"__esModule",{value:!0});P8.default=Sb;var Cb=y1(),Db=W1();function Sb(G,J){let X=G.value.split(/\r\n|\n|\r/),H=0;for(let Z=0;Z<X.length;Z++)if(/[^ \t]/.exec(X[Z]))H=Z;let V="";for(let Z=0;Z<X.length;Z++){let Q=X[Z],W=Z===0,Y=Z===X.length-1,z=Z===H,U=Q.replace(/\t/g," ");if(!W)U=U.replace(/^ +/,"");if(!Y)U=U.replace(/ +$/,"");if(U){if(!z)U+=" ";V+=U}}if(V)J.push(Db.inherits(Cb.stringLiteral(V),G))}});var w8=f((T8)=>{Object.defineProperty(T8,"__esModule",{value:!0});T8.default=Pb;var U9=N1(),Ib=N8();function Pb(G){let J=[];for(let X=0;X<G.children.length;X++){let H=G.children[X];if(U9.isJSXText(H)){Ib.default(H,J);continue}if(U9.isJSXExpressionContainer(H))H=H.expression;if(U9.isJSXEmptyExpression(H))continue;J.push(H)}return J}});var R9=f((L8)=>{Object.defineProperty(L8,"__esModule",{value:!0});L8.default=wb;var Tb=n1();function wb(G){return!!(G&&Tb.VISITOR_KEYS[G.type])}});var k8=f((b8)=>{Object.defineProperty(b8,"__esModule",{value:!0});b8.default=kb;var bb=R9();function kb(G){if(!bb.default(G)){var J;let X=(J=G==null?void 0:G.type)!=null?J:JSON.stringify(G);throw new TypeError(`Not a valid node of type "${X}"`)}}});var E8=f((v8)=>{Object.defineProperty(v8,"__esModule",{value:!0});v8.assertAccessor=t_;v8.assertAnyTypeAnnotation=$v;v8.assertArgumentPlaceholder=iE;v8.assertArrayExpression=gb;v8.assertArrayPattern=vk;v8.assertArrayTypeAnnotation=Fv;v8.assertArrowFunctionExpression=Ek;v8.assertAssignmentExpression=_b;v8.assertAssignmentPattern=kk;v8.assertAwaitExpression=Hv;v8.assertBigIntLiteral=Zv;v8.assertBinary=j_;v8.assertBinaryExpression=hb;v8.assertBindExpression=aE;v8.assertBlock=C_;v8.assertBlockParent=A_;v8.assertBlockStatement=mb;v8.assertBooleanLiteral=Yk;v8.assertBooleanLiteralTypeAnnotation=jv;v8.assertBooleanTypeAnnotation=qv;v8.assertBreakStatement=cb;v8.assertCallExpression=lb;v8.assertCatchClause=ib;v8.assertClass=p_;v8.assertClassAccessorProperty=Kv;v8.assertClassBody=gk;v8.assertClassDeclaration=hk;v8.assertClassExpression=_k;v8.assertClassImplements=Av;v8.assertClassMethod=dk;v8.assertClassPrivateMethod=Rv;v8.assertClassPrivateProperty=Uv;v8.assertClassProperty=zv;v8.assertCompletionStatement=f_;v8.assertConditional=I_;v8.assertConditionalExpression=ab;v8.assertContinueStatement=pb;v8.assertDebuggerStatement=rb;v8.assertDecimalLiteral=oE;v8.assertDeclaration=E_;v8.assertDeclareClass=Cv;v8.assertDeclareExportAllDeclaration=Lv;v8.assertDeclareExportDeclaration=wv;v8.assertDeclareFunction=Dv;v8.assertDeclareInterface=Sv;v8.assertDeclareModule=fv;v8.assertDeclareModuleExports=Iv;v8.assertDeclareOpaqueType=Nv;v8.assertDeclareTypeAlias=Pv;v8.assertDeclareVariable=Tv;v8.assertDeclaredPredicate=bv;v8.assertDecorator=rE;v8.assertDirective=yb;v8.assertDirectiveLiteral=xb;v8.assertDoExpression=sE;v8.assertDoWhileStatement=sb;v8.assertEmptyStatement=db;v8.assertEmptyTypeAnnotation=cv;v8.assertEnumBody=Hh;v8.assertEnumBooleanBody=FE;v8.assertEnumBooleanMember=AE;v8.assertEnumDeclaration=$E;v8.assertEnumDefaultedMember=SE;v8.assertEnumMember=Vh;v8.assertEnumNumberBody=qE;v8.assertEnumNumberMember=CE;v8.assertEnumStringBody=jE;v8.assertEnumStringMember=DE;v8.assertEnumSymbolBody=OE;v8.assertExistsTypeAnnotation=kv;v8.assertExportAllDeclaration=uk;v8.assertExportDeclaration=s_;v8.assertExportDefaultDeclaration=yk;v8.assertExportDefaultSpecifier=dE;v8.assertExportNamedDeclaration=xk;v8.assertExportNamespaceSpecifier=Qv;v8.assertExportSpecifier=mk;v8.assertExpression=q_;v8.assertExpressionStatement=tb;v8.assertExpressionWrapper=T_;v8.assertFile=nb;v8.assertFlow=o_;v8.assertFlowBaseAnnotation=Gh;v8.assertFlowDeclaration=Jh;v8.assertFlowPredicate=Xh;v8.assertFlowType=e_;v8.assertFor=w_;v8.assertForInStatement=ob;v8.assertForOfStatement=ck;v8.assertForStatement=eb;v8.assertForXStatement=L_;v8.assertFunction=b_;v8.assertFunctionDeclaration=Gk;v8.assertFunctionExpression=Jk;v8.assertFunctionParent=k_;v8.assertFunctionTypeAnnotation=vv;v8.assertFunctionTypeParam=Ev;v8.assertGenericTypeAnnotation=gv;v8.assertIdentifier=Xk;v8.assertIfStatement=Hk;v8.assertImmutable=y_;v8.assertImport=Vv;v8.assertImportAttribute=pE;v8.assertImportDeclaration=lk;v8.assertImportDefaultSpecifier=ik;v8.assertImportExpression=rk;v8.assertImportNamespaceSpecifier=ak;v8.assertImportOrExportDeclaration=r_;v8.assertImportSpecifier=pk;v8.assertIndexedAccessType=fE;v8.assertInferredPredicate=_v;v8.assertInterfaceDeclaration=uv;v8.assertInterfaceExtends=hv;v8.assertInterfaceTypeAnnotation=yv;v8.assertInterpreterDirective=ub;v8.assertIntersectionTypeAnnotation=xv;v8.assertJSX=Zh;v8.assertJSXAttribute=PE;v8.assertJSXClosingElement=NE;v8.assertJSXClosingFragment=xE;v8.assertJSXElement=TE;v8.assertJSXEmptyExpression=wE;v8.assertJSXExpressionContainer=LE;v8.assertJSXFragment=uE;v8.assertJSXIdentifier=kE;v8.assertJSXMemberExpression=vE;v8.assertJSXNamespacedName=EE;v8.assertJSXOpeningElement=gE;v8.assertJSXOpeningFragment=yE;v8.assertJSXSpreadAttribute=_E;v8.assertJSXSpreadChild=bE;v8.assertJSXText=hE;v8.assertLVal=__;v8.assertLabeledStatement=Vk;v8.assertLiteral=u_;v8.assertLogicalExpression=Kk;v8.assertLoop=P_;v8.assertMemberExpression=Uk;v8.assertMetaProperty=sk;v8.assertMethod=m_;v8.assertMiscellaneous=Qh;v8.assertMixedTypeAnnotation=mv;v8.assertModuleDeclaration=$h;v8.assertModuleExpression=eE;v8.assertModuleSpecifier=d_;v8.assertNewExpression=Rk;v8.assertNoop=mE;v8.assertNullLiteral=Wk;v8.assertNullLiteralTypeAnnotation=Ov;v8.assertNullableTypeAnnotation=lv;v8.assertNumberLiteral=Uh;v8.assertNumberLiteralTypeAnnotation=iv;v8.assertNumberTypeAnnotation=av;v8.assertNumericLiteral=Qk;v8.assertObjectExpression=Mk;v8.assertObjectMember=c_;v8.assertObjectMethod=$k;v8.assertObjectPattern=tk;v8.assertObjectProperty=Fk;v8.assertObjectTypeAnnotation=pv;v8.assertObjectTypeCallProperty=sv;v8.assertObjectTypeIndexer=dv;v8.assertObjectTypeInternalSlot=rv;v8.assertObjectTypeProperty=tv;v8.assertObjectTypeSpreadProperty=nv;v8.assertOpaqueType=ov;v8.assertOptionalCallExpression=Yv;v8.assertOptionalIndexedAccessType=IE;v8.assertOptionalMemberExpression=Wv;v8.assertParenthesizedExpression=Ak;v8.assertPattern=a_;v8.assertPatternLike=g_;v8.assertPipelineBareFunction=Xg;v8.assertPipelinePrimaryTopicReference=Hg;v8.assertPipelineTopicExpression=Jg;v8.assertPlaceholder=cE;v8.assertPrivate=n_;v8.assertPrivateName=Bv;v8.assertProgram=Bk;v8.assertProperty=l_;v8.assertPureish=v_;v8.assertQualifiedTypeIdentifier=ev;v8.assertRecordExpression=tE;v8.assertRegExpLiteral=zk;v8.assertRegexLiteral=Rh;v8.assertRestElement=qk;v8.assertRestProperty=Bh;v8.assertReturnStatement=jk;v8.assertScopable=O_;v8.assertSequenceExpression=Ok;v8.assertSpreadElement=nk;v8.assertSpreadProperty=Mh;v8.assertStandardized=F_;v8.assertStatement=D_;v8.assertStaticBlock=Mv;v8.assertStringLiteral=Zk;v8.assertStringLiteralTypeAnnotation=GE;v8.assertStringTypeAnnotation=JE;v8.assertSuper=ok;v8.assertSwitchCase=Ck;v8.assertSwitchStatement=Dk;v8.assertSymbolTypeAnnotation=XE;v8.assertTSAnyKeyword=Bg;v8.assertTSArrayType=vg;v8.assertTSAsExpression=og;v8.assertTSBaseType=Kh;v8.assertTSBigIntKeyword=$g;v8.assertTSBooleanKeyword=Mg;v8.assertTSCallSignatureDeclaration=Yg;v8.assertTSConditionalType=xg;v8.assertTSConstructSignatureDeclaration=zg;v8.assertTSConstructorType=Tg;v8.assertTSDeclareFunction=Zg;v8.assertTSDeclareMethod=Qg;v8.assertTSEntityName=h_;v8.assertTSEnumBody=J_;v8.assertTSEnumDeclaration=X_;v8.assertTSEnumMember=H_;v8.assertTSExportAssignment=K_;v8.assertTSExpressionWithTypeArguments=rg;v8.assertTSExternalModuleReference=Y_;v8.assertTSFunctionType=Ng;v8.assertTSImportEqualsDeclaration=W_;v8.assertTSImportType=Q_;v8.assertTSIndexSignature=Rg;v8.assertTSIndexedAccessType=ig;v8.assertTSInferType=mg;v8.assertTSInstantiationExpression=ng;v8.assertTSInterfaceBody=dg;v8.assertTSInterfaceDeclaration=sg;v8.assertTSIntersectionType=yg;v8.assertTSIntrinsicKeyword=Fg;v8.assertTSLiteralType=pg;v8.assertTSMappedType=ag;v8.assertTSMethodSignature=Ug;v8.assertTSModuleBlock=Z_;v8.assertTSModuleDeclaration=V_;v8.assertTSNamedTupleMember=hg;v8.assertTSNamespaceExportDeclaration=U_;v8.assertTSNeverKeyword=qg;v8.assertTSNonNullExpression=z_;v8.assertTSNullKeyword=jg;v8.assertTSNumberKeyword=Og;v8.assertTSObjectKeyword=Ag;v8.assertTSOptionalType=gg;v8.assertTSParameterProperty=Vg;v8.assertTSParenthesizedType=cg;v8.assertTSPropertySignature=Kg;v8.assertTSQualifiedName=Wg;v8.assertTSRestType=_g;v8.assertTSSatisfiesExpression=eg;v8.assertTSStringKeyword=Cg;v8.assertTSSymbolKeyword=Dg;v8.assertTSThisType=Pg;v8.assertTSTupleType=Eg;v8.assertTSType=zh;v8.assertTSTypeAliasDeclaration=tg;v8.assertTSTypeAnnotation=R_;v8.assertTSTypeAssertion=G_;v8.assertTSTypeElement=Yh;v8.assertTSTypeLiteral=kg;v8.assertTSTypeOperator=lg;v8.assertTSTypeParameter=$_;v8.assertTSTypeParameterDeclaration=M_;v8.assertTSTypeParameterInstantiation=B_;v8.assertTSTypePredicate=Lg;v8.assertTSTypeQuery=bg;v8.assertTSTypeReference=wg;v8.assertTSUndefinedKeyword=Sg;v8.assertTSUnionType=ug;v8.assertTSUnknownKeyword=fg;v8.assertTSVoidKeyword=Ig;v8.assertTaggedTemplateExpression=ek;v8.assertTemplateElement=Gv;v8.assertTemplateLiteral=Jv;v8.assertTerminatorless=S_;v8.assertThisExpression=Sk;v8.assertThisTypeAnnotation=HE;v8.assertThrowStatement=fk;v8.assertTopicReference=Gg;v8.assertTryStatement=Ik;v8.assertTupleExpression=nE;v8.assertTupleTypeAnnotation=VE;v8.assertTypeAlias=QE;v8.assertTypeAnnotation=WE;v8.assertTypeCastExpression=YE;v8.assertTypeParameter=zE;v8.assertTypeParameterDeclaration=KE;v8.assertTypeParameterInstantiation=UE;v8.assertTypeScript=Wh;v8.assertTypeofTypeAnnotation=ZE;v8.assertUnaryExpression=Pk;v8.assertUnaryLike=i_;v8.assertUnionTypeAnnotation=RE;v8.assertUpdateExpression=Nk;v8.assertUserWhitespacable=x_;v8.assertV8IntrinsicIdentifier=lE;v8.assertVariableDeclaration=Tk;v8.assertVariableDeclarator=wk;v8.assertVariance=BE;v8.assertVoidTypeAnnotation=ME;v8.assertWhile=N_;v8.assertWhileStatement=Lk;v8.assertWithStatement=bk;v8.assertYieldExpression=Xv;var Eb=KJ(),cJ=EJ();function R(G,J,X){if(!Eb.default(G,J,X))throw new Error(`Expected type "${G}" with option ${JSON.stringify(X)}, but instead got "${J.type}".`)}function gb(G,J){R("ArrayExpression",G,J)}function _b(G,J){R("AssignmentExpression",G,J)}function hb(G,J){R("BinaryExpression",G,J)}function ub(G,J){R("InterpreterDirective",G,J)}function yb(G,J){R("Directive",G,J)}function xb(G,J){R("DirectiveLiteral",G,J)}function mb(G,J){R("BlockStatement",G,J)}function cb(G,J){R("BreakStatement",G,J)}function lb(G,J){R("CallExpression",G,J)}function ib(G,J){R("CatchClause",G,J)}function ab(G,J){R("ConditionalExpression",G,J)}function pb(G,J){R("ContinueStatement",G,J)}function rb(G,J){R("DebuggerStatement",G,J)}function sb(G,J){R("DoWhileStatement",G,J)}function db(G,J){R("EmptyStatement",G,J)}function tb(G,J){R("ExpressionStatement",G,J)}function nb(G,J){R("File",G,J)}function ob(G,J){R("ForInStatement",G,J)}function eb(G,J){R("ForStatement",G,J)}function Gk(G,J){R("FunctionDeclaration",G,J)}function Jk(G,J){R("FunctionExpression",G,J)}function Xk(G,J){R("Identifier",G,J)}function Hk(G,J){R("IfStatement",G,J)}function Vk(G,J){R("LabeledStatement",G,J)}function Zk(G,J){R("StringLiteral",G,J)}function Qk(G,J){R("NumericLiteral",G,J)}function Wk(G,J){R("NullLiteral",G,J)}function Yk(G,J){R("BooleanLiteral",G,J)}function zk(G,J){R("RegExpLiteral",G,J)}function Kk(G,J){R("LogicalExpression",G,J)}function Uk(G,J){R("MemberExpression",G,J)}function Rk(G,J){R("NewExpression",G,J)}function Bk(G,J){R("Program",G,J)}function Mk(G,J){R("ObjectExpression",G,J)}function $k(G,J){R("ObjectMethod",G,J)}function Fk(G,J){R("ObjectProperty",G,J)}function qk(G,J){R("RestElement",G,J)}function jk(G,J){R("ReturnStatement",G,J)}function Ok(G,J){R("SequenceExpression",G,J)}function Ak(G,J){R("ParenthesizedExpression",G,J)}function Ck(G,J){R("SwitchCase",G,J)}function Dk(G,J){R("SwitchStatement",G,J)}function Sk(G,J){R("ThisExpression",G,J)}function fk(G,J){R("ThrowStatement",G,J)}function Ik(G,J){R("TryStatement",G,J)}function Pk(G,J){R("UnaryExpression",G,J)}function Nk(G,J){R("UpdateExpression",G,J)}function Tk(G,J){R("VariableDeclaration",G,J)}function wk(G,J){R("VariableDeclarator",G,J)}function Lk(G,J){R("WhileStatement",G,J)}function bk(G,J){R("WithStatement",G,J)}function kk(G,J){R("AssignmentPattern",G,J)}function vk(G,J){R("ArrayPattern",G,J)}function Ek(G,J){R("ArrowFunctionExpression",G,J)}function gk(G,J){R("ClassBody",G,J)}function _k(G,J){R("ClassExpression",G,J)}function hk(G,J){R("ClassDeclaration",G,J)}function uk(G,J){R("ExportAllDeclaration",G,J)}function yk(G,J){R("ExportDefaultDeclaration",G,J)}function xk(G,J){R("ExportNamedDeclaration",G,J)}function mk(G,J){R("ExportSpecifier",G,J)}function ck(G,J){R("ForOfStatement",G,J)}function lk(G,J){R("ImportDeclaration",G,J)}function ik(G,J){R("ImportDefaultSpecifier",G,J)}function ak(G,J){R("ImportNamespaceSpecifier",G,J)}function pk(G,J){R("ImportSpecifier",G,J)}function rk(G,J){R("ImportExpression",G,J)}function sk(G,J){R("MetaProperty",G,J)}function dk(G,J){R("ClassMethod",G,J)}function tk(G,J){R("ObjectPattern",G,J)}function nk(G,J){R("SpreadElement",G,J)}function ok(G,J){R("Super",G,J)}function ek(G,J){R("TaggedTemplateExpression",G,J)}function Gv(G,J){R("TemplateElement",G,J)}function Jv(G,J){R("TemplateLiteral",G,J)}function Xv(G,J){R("YieldExpression",G,J)}function Hv(G,J){R("AwaitExpression",G,J)}function Vv(G,J){R("Import",G,J)}function Zv(G,J){R("BigIntLiteral",G,J)}function Qv(G,J){R("ExportNamespaceSpecifier",G,J)}function Wv(G,J){R("OptionalMemberExpression",G,J)}function Yv(G,J){R("OptionalCallExpression",G,J)}function zv(G,J){R("ClassProperty",G,J)}function Kv(G,J){R("ClassAccessorProperty",G,J)}function Uv(G,J){R("ClassPrivateProperty",G,J)}function Rv(G,J){R("ClassPrivateMethod",G,J)}function Bv(G,J){R("PrivateName",G,J)}function Mv(G,J){R("StaticBlock",G,J)}function $v(G,J){R("AnyTypeAnnotation",G,J)}function Fv(G,J){R("ArrayTypeAnnotation",G,J)}function qv(G,J){R("BooleanTypeAnnotation",G,J)}function jv(G,J){R("BooleanLiteralTypeAnnotation",G,J)}function Ov(G,J){R("NullLiteralTypeAnnotation",G,J)}function Av(G,J){R("ClassImplements",G,J)}function Cv(G,J){R("DeclareClass",G,J)}function Dv(G,J){R("DeclareFunction",G,J)}function Sv(G,J){R("DeclareInterface",G,J)}function fv(G,J){R("DeclareModule",G,J)}function Iv(G,J){R("DeclareModuleExports",G,J)}function Pv(G,J){R("DeclareTypeAlias",G,J)}function Nv(G,J){R("DeclareOpaqueType",G,J)}function Tv(G,J){R("DeclareVariable",G,J)}function wv(G,J){R("DeclareExportDeclaration",G,J)}function Lv(G,J){R("DeclareExportAllDeclaration",G,J)}function bv(G,J){R("DeclaredPredicate",G,J)}function kv(G,J){R("ExistsTypeAnnotation",G,J)}function vv(G,J){R("FunctionTypeAnnotation",G,J)}function Ev(G,J){R("FunctionTypeParam",G,J)}function gv(G,J){R("GenericTypeAnnotation",G,J)}function _v(G,J){R("InferredPredicate",G,J)}function hv(G,J){R("InterfaceExtends",G,J)}function uv(G,J){R("InterfaceDeclaration",G,J)}function yv(G,J){R("InterfaceTypeAnnotation",G,J)}function xv(G,J){R("IntersectionTypeAnnotation",G,J)}function mv(G,J){R("MixedTypeAnnotation",G,J)}function cv(G,J){R("EmptyTypeAnnotation",G,J)}function lv(G,J){R("NullableTypeAnnotation",G,J)}function iv(G,J){R("NumberLiteralTypeAnnotation",G,J)}function av(G,J){R("NumberTypeAnnotation",G,J)}function pv(G,J){R("ObjectTypeAnnotation",G,J)}function rv(G,J){R("ObjectTypeInternalSlot",G,J)}function sv(G,J){R("ObjectTypeCallProperty",G,J)}function dv(G,J){R("ObjectTypeIndexer",G,J)}function tv(G,J){R("ObjectTypeProperty",G,J)}function nv(G,J){R("ObjectTypeSpreadProperty",G,J)}function ov(G,J){R("OpaqueType",G,J)}function ev(G,J){R("QualifiedTypeIdentifier",G,J)}function GE(G,J){R("StringLiteralTypeAnnotation",G,J)}function JE(G,J){R("StringTypeAnnotation",G,J)}function XE(G,J){R("SymbolTypeAnnotation",G,J)}function HE(G,J){R("ThisTypeAnnotation",G,J)}function VE(G,J){R("TupleTypeAnnotation",G,J)}function ZE(G,J){R("TypeofTypeAnnotation",G,J)}function QE(G,J){R("TypeAlias",G,J)}function WE(G,J){R("TypeAnnotation",G,J)}function YE(G,J){R("TypeCastExpression",G,J)}function zE(G,J){R("TypeParameter",G,J)}function KE(G,J){R("TypeParameterDeclaration",G,J)}function UE(G,J){R("TypeParameterInstantiation",G,J)}function RE(G,J){R("UnionTypeAnnotation",G,J)}function BE(G,J){R("Variance",G,J)}function ME(G,J){R("VoidTypeAnnotation",G,J)}function $E(G,J){R("EnumDeclaration",G,J)}function FE(G,J){R("EnumBooleanBody",G,J)}function qE(G,J){R("EnumNumberBody",G,J)}function jE(G,J){R("EnumStringBody",G,J)}function OE(G,J){R("EnumSymbolBody",G,J)}function AE(G,J){R("EnumBooleanMember",G,J)}function CE(G,J){R("EnumNumberMember",G,J)}function DE(G,J){R("EnumStringMember",G,J)}function SE(G,J){R("EnumDefaultedMember",G,J)}function fE(G,J){R("IndexedAccessType",G,J)}function IE(G,J){R("OptionalIndexedAccessType",G,J)}function PE(G,J){R("JSXAttribute",G,J)}function NE(G,J){R("JSXClosingElement",G,J)}function TE(G,J){R("JSXElement",G,J)}function wE(G,J){R("JSXEmptyExpression",G,J)}function LE(G,J){R("JSXExpressionContainer",G,J)}function bE(G,J){R("JSXSpreadChild",G,J)}function kE(G,J){R("JSXIdentifier",G,J)}function vE(G,J){R("JSXMemberExpression",G,J)}function EE(G,J){R("JSXNamespacedName",G,J)}function gE(G,J){R("JSXOpeningElement",G,J)}function _E(G,J){R("JSXSpreadAttribute",G,J)}function hE(G,J){R("JSXText",G,J)}function uE(G,J){R("JSXFragment",G,J)}function yE(G,J){R("JSXOpeningFragment",G,J)}function xE(G,J){R("JSXClosingFragment",G,J)}function mE(G,J){R("Noop",G,J)}function cE(G,J){R("Placeholder",G,J)}function lE(G,J){R("V8IntrinsicIdentifier",G,J)}function iE(G,J){R("ArgumentPlaceholder",G,J)}function aE(G,J){R("BindExpression",G,J)}function pE(G,J){R("ImportAttribute",G,J)}function rE(G,J){R("Decorator",G,J)}function sE(G,J){R("DoExpression",G,J)}function dE(G,J){R("ExportDefaultSpecifier",G,J)}function tE(G,J){R("RecordExpression",G,J)}function nE(G,J){R("TupleExpression",G,J)}function oE(G,J){R("DecimalLiteral",G,J)}function eE(G,J){R("ModuleExpression",G,J)}function Gg(G,J){R("TopicReference",G,J)}function Jg(G,J){R("PipelineTopicExpression",G,J)}function Xg(G,J){R("PipelineBareFunction",G,J)}function Hg(G,J){R("PipelinePrimaryTopicReference",G,J)}function Vg(G,J){R("TSParameterProperty",G,J)}function Zg(G,J){R("TSDeclareFunction",G,J)}function Qg(G,J){R("TSDeclareMethod",G,J)}function Wg(G,J){R("TSQualifiedName",G,J)}function Yg(G,J){R("TSCallSignatureDeclaration",G,J)}function zg(G,J){R("TSConstructSignatureDeclaration",G,J)}function Kg(G,J){R("TSPropertySignature",G,J)}function Ug(G,J){R("TSMethodSignature",G,J)}function Rg(G,J){R("TSIndexSignature",G,J)}function Bg(G,J){R("TSAnyKeyword",G,J)}function Mg(G,J){R("TSBooleanKeyword",G,J)}function $g(G,J){R("TSBigIntKeyword",G,J)}function Fg(G,J){R("TSIntrinsicKeyword",G,J)}function qg(G,J){R("TSNeverKeyword",G,J)}function jg(G,J){R("TSNullKeyword",G,J)}function Og(G,J){R("TSNumberKeyword",G,J)}function Ag(G,J){R("TSObjectKeyword",G,J)}function Cg(G,J){R("TSStringKeyword",G,J)}function Dg(G,J){R("TSSymbolKeyword",G,J)}function Sg(G,J){R("TSUndefinedKeyword",G,J)}function fg(G,J){R("TSUnknownKeyword",G,J)}function Ig(G,J){R("TSVoidKeyword",G,J)}function Pg(G,J){R("TSThisType",G,J)}function Ng(G,J){R("TSFunctionType",G,J)}function Tg(G,J){R("TSConstructorType",G,J)}function wg(G,J){R("TSTypeReference",G,J)}function Lg(G,J){R("TSTypePredicate",G,J)}function bg(G,J){R("TSTypeQuery",G,J)}function kg(G,J){R("TSTypeLiteral",G,J)}function vg(G,J){R("TSArrayType",G,J)}function Eg(G,J){R("TSTupleType",G,J)}function gg(G,J){R("TSOptionalType",G,J)}function _g(G,J){R("TSRestType",G,J)}function hg(G,J){R("TSNamedTupleMember",G,J)}function ug(G,J){R("TSUnionType",G,J)}function yg(G,J){R("TSIntersectionType",G,J)}function xg(G,J){R("TSConditionalType",G,J)}function mg(G,J){R("TSInferType",G,J)}function cg(G,J){R("TSParenthesizedType",G,J)}function lg(G,J){R("TSTypeOperator",G,J)}function ig(G,J){R("TSIndexedAccessType",G,J)}function ag(G,J){R("TSMappedType",G,J)}function pg(G,J){R("TSLiteralType",G,J)}function rg(G,J){R("TSExpressionWithTypeArguments",G,J)}function sg(G,J){R("TSInterfaceDeclaration",G,J)}function dg(G,J){R("TSInterfaceBody",G,J)}function tg(G,J){R("TSTypeAliasDeclaration",G,J)}function ng(G,J){R("TSInstantiationExpression",G,J)}function og(G,J){R("TSAsExpression",G,J)}function eg(G,J){R("TSSatisfiesExpression",G,J)}function G_(G,J){R("TSTypeAssertion",G,J)}function J_(G,J){R("TSEnumBody",G,J)}function X_(G,J){R("TSEnumDeclaration",G,J)}function H_(G,J){R("TSEnumMember",G,J)}function V_(G,J){R("TSModuleDeclaration",G,J)}function Z_(G,J){R("TSModuleBlock",G,J)}function Q_(G,J){R("TSImportType",G,J)}function W_(G,J){R("TSImportEqualsDeclaration",G,J)}function Y_(G,J){R("TSExternalModuleReference",G,J)}function z_(G,J){R("TSNonNullExpression",G,J)}function K_(G,J){R("TSExportAssignment",G,J)}function U_(G,J){R("TSNamespaceExportDeclaration",G,J)}function R_(G,J){R("TSTypeAnnotation",G,J)}function B_(G,J){R("TSTypeParameterInstantiation",G,J)}function M_(G,J){R("TSTypeParameterDeclaration",G,J)}function $_(G,J){R("TSTypeParameter",G,J)}function F_(G,J){R("Standardized",G,J)}function q_(G,J){R("Expression",G,J)}function j_(G,J){R("Binary",G,J)}function O_(G,J){R("Scopable",G,J)}function A_(G,J){R("BlockParent",G,J)}function C_(G,J){R("Block",G,J)}function D_(G,J){R("Statement",G,J)}function S_(G,J){R("Terminatorless",G,J)}function f_(G,J){R("CompletionStatement",G,J)}function I_(G,J){R("Conditional",G,J)}function P_(G,J){R("Loop",G,J)}function N_(G,J){R("While",G,J)}function T_(G,J){R("ExpressionWrapper",G,J)}function w_(G,J){R("For",G,J)}function L_(G,J){R("ForXStatement",G,J)}function b_(G,J){R("Function",G,J)}function k_(G,J){R("FunctionParent",G,J)}function v_(G,J){R("Pureish",G,J)}function E_(G,J){R("Declaration",G,J)}function g_(G,J){R("PatternLike",G,J)}function __(G,J){R("LVal",G,J)}function h_(G,J){R("TSEntityName",G,J)}function u_(G,J){R("Literal",G,J)}function y_(G,J){R("Immutable",G,J)}function x_(G,J){R("UserWhitespacable",G,J)}function m_(G,J){R("Method",G,J)}function c_(G,J){R("ObjectMember",G,J)}function l_(G,J){R("Property",G,J)}function i_(G,J){R("UnaryLike",G,J)}function a_(G,J){R("Pattern",G,J)}function p_(G,J){R("Class",G,J)}function r_(G,J){R("ImportOrExportDeclaration",G,J)}function s_(G,J){R("ExportDeclaration",G,J)}function d_(G,J){R("ModuleSpecifier",G,J)}function t_(G,J){R("Accessor",G,J)}function n_(G,J){R("Private",G,J)}function o_(G,J){R("Flow",G,J)}function e_(G,J){R("FlowType",G,J)}function Gh(G,J){R("FlowBaseAnnotation",G,J)}function Jh(G,J){R("FlowDeclaration",G,J)}function Xh(G,J){R("FlowPredicate",G,J)}function Hh(G,J){R("EnumBody",G,J)}function Vh(G,J){R("EnumMember",G,J)}function Zh(G,J){R("JSX",G,J)}function Qh(G,J){R("Miscellaneous",G,J)}function Wh(G,J){R("TypeScript",G,J)}function Yh(G,J){R("TSTypeElement",G,J)}function zh(G,J){R("TSType",G,J)}function Kh(G,J){R("TSBaseType",G,J)}function Uh(G,J){cJ.default("assertNumberLiteral","assertNumericLiteral"),R("NumberLiteral",G,J)}function Rh(G,J){cJ.default("assertRegexLiteral","assertRegExpLiteral"),R("RegexLiteral",G,J)}function Bh(G,J){cJ.default("assertRestProperty","assertRestElement"),R("RestProperty",G,J)}function Mh(G,J){cJ.default("assertSpreadProperty","assertSpreadElement"),R("SpreadProperty",G,J)}function $h(G,J){cJ.default("assertModuleDeclaration","assertImportOrExportDeclaration"),R("ModuleDeclaration",G,J)}});var h8=f((g8)=>{Object.defineProperty(g8,"__esModule",{value:!0});g8.default=void 0;var QG=y1(),vR1=g8.default=nc;function nc(G){switch(G){case"string":return QG.stringTypeAnnotation();case"number":return QG.numberTypeAnnotation();case"undefined":return QG.voidTypeAnnotation();case"boolean":return QG.booleanTypeAnnotation();case"function":return QG.genericTypeAnnotation(QG.identifier("Function"));case"object":return QG.genericTypeAnnotation(QG.identifier("Object"));case"symbol":return QG.genericTypeAnnotation(QG.identifier("Symbol"));case"bigint":return QG.anyTypeAnnotation()}throw new Error("Invalid typeof value: "+G)}});var B9=f((x8)=>{Object.defineProperty(x8,"__esModule",{value:!0});x8.default=y8;var lJ=N1();function u8(G){return lJ.isIdentifier(G)?G.name:`${G.id.name}.${u8(G.qualification)}`}function y8(G){let J=Array.from(G),X=new Map,H=new Map,V=new Set,Z=[];for(let Q=0;Q<J.length;Q++){let W=J[Q];if(!W)continue;if(Z.includes(W))continue;if(lJ.isAnyTypeAnnotation(W))return[W];if(lJ.isFlowBaseAnnotation(W)){H.set(W.type,W);continue}if(lJ.isUnionTypeAnnotation(W)){if(!V.has(W.types))J.push(...W.types),V.add(W.types);continue}if(lJ.isGenericTypeAnnotation(W)){let Y=u8(W.id);if(X.has(Y)){let z=X.get(Y);if(z.typeParameters){if(W.typeParameters)z.typeParameters.params.push(...W.typeParameters.params),z.typeParameters.params=y8(z.typeParameters.params)}else z=W.typeParameters}else X.set(Y,W);continue}Z.push(W)}for(let[,Q]of H)Z.push(Q);for(let[,Q]of X)Z.push(Q);return Z}});var c8=f((m8)=>{Object.defineProperty(m8,"__esModule",{value:!0});m8.default=Jl;var ec=y1(),Gl=B9();function Jl(G){let J=Gl.default(G);if(J.length===1)return J[0];else return ec.unionTypeAnnotation(J)}});var p8=f((a8)=>{Object.defineProperty(a8,"__esModule",{value:!0});a8.default=i8;var MJ=N1();function l8(G){return MJ.isIdentifier(G)?G.name:MJ.isThisExpression(G)?"this":`${G.right.name}.${l8(G.left)}`}function i8(G){let J=Array.from(G),X=new Map,H=new Map,V=new Set,Z=[];for(let Q=0;Q<J.length;Q++){let W=J[Q];if(!W)continue;if(Z.includes(W))continue;if(MJ.isTSAnyKeyword(W))return[W];if(MJ.isTSBaseType(W)){H.set(W.type,W);continue}if(MJ.isTSUnionType(W)){if(!V.has(W.types))J.push(...W.types),V.add(W.types);continue}let Y="typeParameters";if(MJ.isTSTypeReference(W)&&W[Y]){let z=W[Y],U=l8(W.typeName);if(X.has(U)){let q=X.get(U),A=q[Y];if(A)A.params.push(...z.params),A.params=i8(A.params);else q=z}else X.set(U,W);continue}Z.push(W)}for(let[,Q]of H)Z.push(Q);for(let[,Q]of X)Z.push(Q);return Z}});var s8=f((r8)=>{Object.defineProperty(r8,"__esModule",{value:!0});r8.default=Wl;var Vl=y1(),Zl=p8(),Ql=N1();function Wl(G){let J=G.map((H)=>{return Ql.isTSTypeAnnotation(H)?H.typeAnnotation:H}),X=Zl.default(J);if(X.length===1)return X[0];else return Vl.tsUnionType(X)}});var d8=f(($)=>{Object.defineProperty($,"__esModule",{value:!0});Object.defineProperty($,"AnyTypeAnnotation",{enumerable:!0,get:function(){return F.anyTypeAnnotation}});Object.defineProperty($,"ArgumentPlaceholder",{enumerable:!0,get:function(){return F.argumentPlaceholder}});Object.defineProperty($,"ArrayExpression",{enumerable:!0,get:function(){return F.arrayExpression}});Object.defineProperty($,"ArrayPattern",{enumerable:!0,get:function(){return F.arrayPattern}});Object.defineProperty($,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return F.arrayTypeAnnotation}});Object.defineProperty($,"ArrowFunctionExpression",{enumerable:!0,get:function(){return F.arrowFunctionExpression}});Object.defineProperty($,"AssignmentExpression",{enumerable:!0,get:function(){return F.assignmentExpression}});Object.defineProperty($,"AssignmentPattern",{enumerable:!0,get:function(){return F.assignmentPattern}});Object.defineProperty($,"AwaitExpression",{enumerable:!0,get:function(){return F.awaitExpression}});Object.defineProperty($,"BigIntLiteral",{enumerable:!0,get:function(){return F.bigIntLiteral}});Object.defineProperty($,"BinaryExpression",{enumerable:!0,get:function(){return F.binaryExpression}});Object.defineProperty($,"BindExpression",{enumerable:!0,get:function(){return F.bindExpression}});Object.defineProperty($,"BlockStatement",{enumerable:!0,get:function(){return F.blockStatement}});Object.defineProperty($,"BooleanLiteral",{enumerable:!0,get:function(){return F.booleanLiteral}});Object.defineProperty($,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.booleanLiteralTypeAnnotation}});Object.defineProperty($,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return F.booleanTypeAnnotation}});Object.defineProperty($,"BreakStatement",{enumerable:!0,get:function(){return F.breakStatement}});Object.defineProperty($,"CallExpression",{enumerable:!0,get:function(){return F.callExpression}});Object.defineProperty($,"CatchClause",{enumerable:!0,get:function(){return F.catchClause}});Object.defineProperty($,"ClassAccessorProperty",{enumerable:!0,get:function(){return F.classAccessorProperty}});Object.defineProperty($,"ClassBody",{enumerable:!0,get:function(){return F.classBody}});Object.defineProperty($,"ClassDeclaration",{enumerable:!0,get:function(){return F.classDeclaration}});Object.defineProperty($,"ClassExpression",{enumerable:!0,get:function(){return F.classExpression}});Object.defineProperty($,"ClassImplements",{enumerable:!0,get:function(){return F.classImplements}});Object.defineProperty($,"ClassMethod",{enumerable:!0,get:function(){return F.classMethod}});Object.defineProperty($,"ClassPrivateMethod",{enumerable:!0,get:function(){return F.classPrivateMethod}});Object.defineProperty($,"ClassPrivateProperty",{enumerable:!0,get:function(){return F.classPrivateProperty}});Object.defineProperty($,"ClassProperty",{enumerable:!0,get:function(){return F.classProperty}});Object.defineProperty($,"ConditionalExpression",{enumerable:!0,get:function(){return F.conditionalExpression}});Object.defineProperty($,"ContinueStatement",{enumerable:!0,get:function(){return F.continueStatement}});Object.defineProperty($,"DebuggerStatement",{enumerable:!0,get:function(){return F.debuggerStatement}});Object.defineProperty($,"DecimalLiteral",{enumerable:!0,get:function(){return F.decimalLiteral}});Object.defineProperty($,"DeclareClass",{enumerable:!0,get:function(){return F.declareClass}});Object.defineProperty($,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return F.declareExportAllDeclaration}});Object.defineProperty($,"DeclareExportDeclaration",{enumerable:!0,get:function(){return F.declareExportDeclaration}});Object.defineProperty($,"DeclareFunction",{enumerable:!0,get:function(){return F.declareFunction}});Object.defineProperty($,"DeclareInterface",{enumerable:!0,get:function(){return F.declareInterface}});Object.defineProperty($,"DeclareModule",{enumerable:!0,get:function(){return F.declareModule}});Object.defineProperty($,"DeclareModuleExports",{enumerable:!0,get:function(){return F.declareModuleExports}});Object.defineProperty($,"DeclareOpaqueType",{enumerable:!0,get:function(){return F.declareOpaqueType}});Object.defineProperty($,"DeclareTypeAlias",{enumerable:!0,get:function(){return F.declareTypeAlias}});Object.defineProperty($,"DeclareVariable",{enumerable:!0,get:function(){return F.declareVariable}});Object.defineProperty($,"DeclaredPredicate",{enumerable:!0,get:function(){return F.declaredPredicate}});Object.defineProperty($,"Decorator",{enumerable:!0,get:function(){return F.decorator}});Object.defineProperty($,"Directive",{enumerable:!0,get:function(){return F.directive}});Object.defineProperty($,"DirectiveLiteral",{enumerable:!0,get:function(){return F.directiveLiteral}});Object.defineProperty($,"DoExpression",{enumerable:!0,get:function(){return F.doExpression}});Object.defineProperty($,"DoWhileStatement",{enumerable:!0,get:function(){return F.doWhileStatement}});Object.defineProperty($,"EmptyStatement",{enumerable:!0,get:function(){return F.emptyStatement}});Object.defineProperty($,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return F.emptyTypeAnnotation}});Object.defineProperty($,"EnumBooleanBody",{enumerable:!0,get:function(){return F.enumBooleanBody}});Object.defineProperty($,"EnumBooleanMember",{enumerable:!0,get:function(){return F.enumBooleanMember}});Object.defineProperty($,"EnumDeclaration",{enumerable:!0,get:function(){return F.enumDeclaration}});Object.defineProperty($,"EnumDefaultedMember",{enumerable:!0,get:function(){return F.enumDefaultedMember}});Object.defineProperty($,"EnumNumberBody",{enumerable:!0,get:function(){return F.enumNumberBody}});Object.defineProperty($,"EnumNumberMember",{enumerable:!0,get:function(){return F.enumNumberMember}});Object.defineProperty($,"EnumStringBody",{enumerable:!0,get:function(){return F.enumStringBody}});Object.defineProperty($,"EnumStringMember",{enumerable:!0,get:function(){return F.enumStringMember}});Object.defineProperty($,"EnumSymbolBody",{enumerable:!0,get:function(){return F.enumSymbolBody}});Object.defineProperty($,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return F.existsTypeAnnotation}});Object.defineProperty($,"ExportAllDeclaration",{enumerable:!0,get:function(){return F.exportAllDeclaration}});Object.defineProperty($,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return F.exportDefaultDeclaration}});Object.defineProperty($,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return F.exportDefaultSpecifier}});Object.defineProperty($,"ExportNamedDeclaration",{enumerable:!0,get:function(){return F.exportNamedDeclaration}});Object.defineProperty($,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return F.exportNamespaceSpecifier}});Object.defineProperty($,"ExportSpecifier",{enumerable:!0,get:function(){return F.exportSpecifier}});Object.defineProperty($,"ExpressionStatement",{enumerable:!0,get:function(){return F.expressionStatement}});Object.defineProperty($,"File",{enumerable:!0,get:function(){return F.file}});Object.defineProperty($,"ForInStatement",{enumerable:!0,get:function(){return F.forInStatement}});Object.defineProperty($,"ForOfStatement",{enumerable:!0,get:function(){return F.forOfStatement}});Object.defineProperty($,"ForStatement",{enumerable:!0,get:function(){return F.forStatement}});Object.defineProperty($,"FunctionDeclaration",{enumerable:!0,get:function(){return F.functionDeclaration}});Object.defineProperty($,"FunctionExpression",{enumerable:!0,get:function(){return F.functionExpression}});Object.defineProperty($,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return F.functionTypeAnnotation}});Object.defineProperty($,"FunctionTypeParam",{enumerable:!0,get:function(){return F.functionTypeParam}});Object.defineProperty($,"GenericTypeAnnotation",{enumerable:!0,get:function(){return F.genericTypeAnnotation}});Object.defineProperty($,"Identifier",{enumerable:!0,get:function(){return F.identifier}});Object.defineProperty($,"IfStatement",{enumerable:!0,get:function(){return F.ifStatement}});Object.defineProperty($,"Import",{enumerable:!0,get:function(){return F.import}});Object.defineProperty($,"ImportAttribute",{enumerable:!0,get:function(){return F.importAttribute}});Object.defineProperty($,"ImportDeclaration",{enumerable:!0,get:function(){return F.importDeclaration}});Object.defineProperty($,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return F.importDefaultSpecifier}});Object.defineProperty($,"ImportExpression",{enumerable:!0,get:function(){return F.importExpression}});Object.defineProperty($,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return F.importNamespaceSpecifier}});Object.defineProperty($,"ImportSpecifier",{enumerable:!0,get:function(){return F.importSpecifier}});Object.defineProperty($,"IndexedAccessType",{enumerable:!0,get:function(){return F.indexedAccessType}});Object.defineProperty($,"InferredPredicate",{enumerable:!0,get:function(){return F.inferredPredicate}});Object.defineProperty($,"InterfaceDeclaration",{enumerable:!0,get:function(){return F.interfaceDeclaration}});Object.defineProperty($,"InterfaceExtends",{enumerable:!0,get:function(){return F.interfaceExtends}});Object.defineProperty($,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return F.interfaceTypeAnnotation}});Object.defineProperty($,"InterpreterDirective",{enumerable:!0,get:function(){return F.interpreterDirective}});Object.defineProperty($,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return F.intersectionTypeAnnotation}});Object.defineProperty($,"JSXAttribute",{enumerable:!0,get:function(){return F.jsxAttribute}});Object.defineProperty($,"JSXClosingElement",{enumerable:!0,get:function(){return F.jsxClosingElement}});Object.defineProperty($,"JSXClosingFragment",{enumerable:!0,get:function(){return F.jsxClosingFragment}});Object.defineProperty($,"JSXElement",{enumerable:!0,get:function(){return F.jsxElement}});Object.defineProperty($,"JSXEmptyExpression",{enumerable:!0,get:function(){return F.jsxEmptyExpression}});Object.defineProperty($,"JSXExpressionContainer",{enumerable:!0,get:function(){return F.jsxExpressionContainer}});Object.defineProperty($,"JSXFragment",{enumerable:!0,get:function(){return F.jsxFragment}});Object.defineProperty($,"JSXIdentifier",{enumerable:!0,get:function(){return F.jsxIdentifier}});Object.defineProperty($,"JSXMemberExpression",{enumerable:!0,get:function(){return F.jsxMemberExpression}});Object.defineProperty($,"JSXNamespacedName",{enumerable:!0,get:function(){return F.jsxNamespacedName}});Object.defineProperty($,"JSXOpeningElement",{enumerable:!0,get:function(){return F.jsxOpeningElement}});Object.defineProperty($,"JSXOpeningFragment",{enumerable:!0,get:function(){return F.jsxOpeningFragment}});Object.defineProperty($,"JSXSpreadAttribute",{enumerable:!0,get:function(){return F.jsxSpreadAttribute}});Object.defineProperty($,"JSXSpreadChild",{enumerable:!0,get:function(){return F.jsxSpreadChild}});Object.defineProperty($,"JSXText",{enumerable:!0,get:function(){return F.jsxText}});Object.defineProperty($,"LabeledStatement",{enumerable:!0,get:function(){return F.labeledStatement}});Object.defineProperty($,"LogicalExpression",{enumerable:!0,get:function(){return F.logicalExpression}});Object.defineProperty($,"MemberExpression",{enumerable:!0,get:function(){return F.memberExpression}});Object.defineProperty($,"MetaProperty",{enumerable:!0,get:function(){return F.metaProperty}});Object.defineProperty($,"MixedTypeAnnotation",{enumerable:!0,get:function(){return F.mixedTypeAnnotation}});Object.defineProperty($,"ModuleExpression",{enumerable:!0,get:function(){return F.moduleExpression}});Object.defineProperty($,"NewExpression",{enumerable:!0,get:function(){return F.newExpression}});Object.defineProperty($,"Noop",{enumerable:!0,get:function(){return F.noop}});Object.defineProperty($,"NullLiteral",{enumerable:!0,get:function(){return F.nullLiteral}});Object.defineProperty($,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.nullLiteralTypeAnnotation}});Object.defineProperty($,"NullableTypeAnnotation",{enumerable:!0,get:function(){return F.nullableTypeAnnotation}});Object.defineProperty($,"NumberLiteral",{enumerable:!0,get:function(){return F.numberLiteral}});Object.defineProperty($,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.numberLiteralTypeAnnotation}});Object.defineProperty($,"NumberTypeAnnotation",{enumerable:!0,get:function(){return F.numberTypeAnnotation}});Object.defineProperty($,"NumericLiteral",{enumerable:!0,get:function(){return F.numericLiteral}});Object.defineProperty($,"ObjectExpression",{enumerable:!0,get:function(){return F.objectExpression}});Object.defineProperty($,"ObjectMethod",{enumerable:!0,get:function(){return F.objectMethod}});Object.defineProperty($,"ObjectPattern",{enumerable:!0,get:function(){return F.objectPattern}});Object.defineProperty($,"ObjectProperty",{enumerable:!0,get:function(){return F.objectProperty}});Object.defineProperty($,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return F.objectTypeAnnotation}});Object.defineProperty($,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return F.objectTypeCallProperty}});Object.defineProperty($,"ObjectTypeIndexer",{enumerable:!0,get:function(){return F.objectTypeIndexer}});Object.defineProperty($,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return F.objectTypeInternalSlot}});Object.defineProperty($,"ObjectTypeProperty",{enumerable:!0,get:function(){return F.objectTypeProperty}});Object.defineProperty($,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return F.objectTypeSpreadProperty}});Object.defineProperty($,"OpaqueType",{enumerable:!0,get:function(){return F.opaqueType}});Object.defineProperty($,"OptionalCallExpression",{enumerable:!0,get:function(){return F.optionalCallExpression}});Object.defineProperty($,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return F.optionalIndexedAccessType}});Object.defineProperty($,"OptionalMemberExpression",{enumerable:!0,get:function(){return F.optionalMemberExpression}});Object.defineProperty($,"ParenthesizedExpression",{enumerable:!0,get:function(){return F.parenthesizedExpression}});Object.defineProperty($,"PipelineBareFunction",{enumerable:!0,get:function(){return F.pipelineBareFunction}});Object.defineProperty($,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return F.pipelinePrimaryTopicReference}});Object.defineProperty($,"PipelineTopicExpression",{enumerable:!0,get:function(){return F.pipelineTopicExpression}});Object.defineProperty($,"Placeholder",{enumerable:!0,get:function(){return F.placeholder}});Object.defineProperty($,"PrivateName",{enumerable:!0,get:function(){return F.privateName}});Object.defineProperty($,"Program",{enumerable:!0,get:function(){return F.program}});Object.defineProperty($,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return F.qualifiedTypeIdentifier}});Object.defineProperty($,"RecordExpression",{enumerable:!0,get:function(){return F.recordExpression}});Object.defineProperty($,"RegExpLiteral",{enumerable:!0,get:function(){return F.regExpLiteral}});Object.defineProperty($,"RegexLiteral",{enumerable:!0,get:function(){return F.regexLiteral}});Object.defineProperty($,"RestElement",{enumerable:!0,get:function(){return F.restElement}});Object.defineProperty($,"RestProperty",{enumerable:!0,get:function(){return F.restProperty}});Object.defineProperty($,"ReturnStatement",{enumerable:!0,get:function(){return F.returnStatement}});Object.defineProperty($,"SequenceExpression",{enumerable:!0,get:function(){return F.sequenceExpression}});Object.defineProperty($,"SpreadElement",{enumerable:!0,get:function(){return F.spreadElement}});Object.defineProperty($,"SpreadProperty",{enumerable:!0,get:function(){return F.spreadProperty}});Object.defineProperty($,"StaticBlock",{enumerable:!0,get:function(){return F.staticBlock}});Object.defineProperty($,"StringLiteral",{enumerable:!0,get:function(){return F.stringLiteral}});Object.defineProperty($,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.stringLiteralTypeAnnotation}});Object.defineProperty($,"StringTypeAnnotation",{enumerable:!0,get:function(){return F.stringTypeAnnotation}});Object.defineProperty($,"Super",{enumerable:!0,get:function(){return F.super}});Object.defineProperty($,"SwitchCase",{enumerable:!0,get:function(){return F.switchCase}});Object.defineProperty($,"SwitchStatement",{enumerable:!0,get:function(){return F.switchStatement}});Object.defineProperty($,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return F.symbolTypeAnnotation}});Object.defineProperty($,"TSAnyKeyword",{enumerable:!0,get:function(){return F.tsAnyKeyword}});Object.defineProperty($,"TSArrayType",{enumerable:!0,get:function(){return F.tsArrayType}});Object.defineProperty($,"TSAsExpression",{enumerable:!0,get:function(){return F.tsAsExpression}});Object.defineProperty($,"TSBigIntKeyword",{enumerable:!0,get:function(){return F.tsBigIntKeyword}});Object.defineProperty($,"TSBooleanKeyword",{enumerable:!0,get:function(){return F.tsBooleanKeyword}});Object.defineProperty($,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return F.tsCallSignatureDeclaration}});Object.defineProperty($,"TSConditionalType",{enumerable:!0,get:function(){return F.tsConditionalType}});Object.defineProperty($,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return F.tsConstructSignatureDeclaration}});Object.defineProperty($,"TSConstructorType",{enumerable:!0,get:function(){return F.tsConstructorType}});Object.defineProperty($,"TSDeclareFunction",{enumerable:!0,get:function(){return F.tsDeclareFunction}});Object.defineProperty($,"TSDeclareMethod",{enumerable:!0,get:function(){return F.tsDeclareMethod}});Object.defineProperty($,"TSEnumBody",{enumerable:!0,get:function(){return F.tsEnumBody}});Object.defineProperty($,"TSEnumDeclaration",{enumerable:!0,get:function(){return F.tsEnumDeclaration}});Object.defineProperty($,"TSEnumMember",{enumerable:!0,get:function(){return F.tsEnumMember}});Object.defineProperty($,"TSExportAssignment",{enumerable:!0,get:function(){return F.tsExportAssignment}});Object.defineProperty($,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return F.tsExpressionWithTypeArguments}});Object.defineProperty($,"TSExternalModuleReference",{enumerable:!0,get:function(){return F.tsExternalModuleReference}});Object.defineProperty($,"TSFunctionType",{enumerable:!0,get:function(){return F.tsFunctionType}});Object.defineProperty($,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return F.tsImportEqualsDeclaration}});Object.defineProperty($,"TSImportType",{enumerable:!0,get:function(){return F.tsImportType}});Object.defineProperty($,"TSIndexSignature",{enumerable:!0,get:function(){return F.tsIndexSignature}});Object.defineProperty($,"TSIndexedAccessType",{enumerable:!0,get:function(){return F.tsIndexedAccessType}});Object.defineProperty($,"TSInferType",{enumerable:!0,get:function(){return F.tsInferType}});Object.defineProperty($,"TSInstantiationExpression",{enumerable:!0,get:function(){return F.tsInstantiationExpression}});Object.defineProperty($,"TSInterfaceBody",{enumerable:!0,get:function(){return F.tsInterfaceBody}});Object.defineProperty($,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return F.tsInterfaceDeclaration}});Object.defineProperty($,"TSIntersectionType",{enumerable:!0,get:function(){return F.tsIntersectionType}});Object.defineProperty($,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return F.tsIntrinsicKeyword}});Object.defineProperty($,"TSLiteralType",{enumerable:!0,get:function(){return F.tsLiteralType}});Object.defineProperty($,"TSMappedType",{enumerable:!0,get:function(){return F.tsMappedType}});Object.defineProperty($,"TSMethodSignature",{enumerable:!0,get:function(){return F.tsMethodSignature}});Object.defineProperty($,"TSModuleBlock",{enumerable:!0,get:function(){return F.tsModuleBlock}});Object.defineProperty($,"TSModuleDeclaration",{enumerable:!0,get:function(){return F.tsModuleDeclaration}});Object.defineProperty($,"TSNamedTupleMember",{enumerable:!0,get:function(){return F.tsNamedTupleMember}});Object.defineProperty($,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return F.tsNamespaceExportDeclaration}});Object.defineProperty($,"TSNeverKeyword",{enumerable:!0,get:function(){return F.tsNeverKeyword}});Object.defineProperty($,"TSNonNullExpression",{enumerable:!0,get:function(){return F.tsNonNullExpression}});Object.defineProperty($,"TSNullKeyword",{enumerable:!0,get:function(){return F.tsNullKeyword}});Object.defineProperty($,"TSNumberKeyword",{enumerable:!0,get:function(){return F.tsNumberKeyword}});Object.defineProperty($,"TSObjectKeyword",{enumerable:!0,get:function(){return F.tsObjectKeyword}});Object.defineProperty($,"TSOptionalType",{enumerable:!0,get:function(){return F.tsOptionalType}});Object.defineProperty($,"TSParameterProperty",{enumerable:!0,get:function(){return F.tsParameterProperty}});Object.defineProperty($,"TSParenthesizedType",{enumerable:!0,get:function(){return F.tsParenthesizedType}});Object.defineProperty($,"TSPropertySignature",{enumerable:!0,get:function(){return F.tsPropertySignature}});Object.defineProperty($,"TSQualifiedName",{enumerable:!0,get:function(){return F.tsQualifiedName}});Object.defineProperty($,"TSRestType",{enumerable:!0,get:function(){return F.tsRestType}});Object.defineProperty($,"TSSatisfiesExpression",{enumerable:!0,get:function(){return F.tsSatisfiesExpression}});Object.defineProperty($,"TSStringKeyword",{enumerable:!0,get:function(){return F.tsStringKeyword}});Object.defineProperty($,"TSSymbolKeyword",{enumerable:!0,get:function(){return F.tsSymbolKeyword}});Object.defineProperty($,"TSThisType",{enumerable:!0,get:function(){return F.tsThisType}});Object.defineProperty($,"TSTupleType",{enumerable:!0,get:function(){return F.tsTupleType}});Object.defineProperty($,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return F.tsTypeAliasDeclaration}});Object.defineProperty($,"TSTypeAnnotation",{enumerable:!0,get:function(){return F.tsTypeAnnotation}});Object.defineProperty($,"TSTypeAssertion",{enumerable:!0,get:function(){return F.tsTypeAssertion}});Object.defineProperty($,"TSTypeLiteral",{enumerable:!0,get:function(){return F.tsTypeLiteral}});Object.defineProperty($,"TSTypeOperator",{enumerable:!0,get:function(){return F.tsTypeOperator}});Object.defineProperty($,"TSTypeParameter",{enumerable:!0,get:function(){return F.tsTypeParameter}});Object.defineProperty($,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return F.tsTypeParameterDeclaration}});Object.defineProperty($,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return F.tsTypeParameterInstantiation}});Object.defineProperty($,"TSTypePredicate",{enumerable:!0,get:function(){return F.tsTypePredicate}});Object.defineProperty($,"TSTypeQuery",{enumerable:!0,get:function(){return F.tsTypeQuery}});Object.defineProperty($,"TSTypeReference",{enumerable:!0,get:function(){return F.tsTypeReference}});Object.defineProperty($,"TSUndefinedKeyword",{enumerable:!0,get:function(){return F.tsUndefinedKeyword}});Object.defineProperty($,"TSUnionType",{enumerable:!0,get:function(){return F.tsUnionType}});Object.defineProperty($,"TSUnknownKeyword",{enumerable:!0,get:function(){return F.tsUnknownKeyword}});Object.defineProperty($,"TSVoidKeyword",{enumerable:!0,get:function(){return F.tsVoidKeyword}});Object.defineProperty($,"TaggedTemplateExpression",{enumerable:!0,get:function(){return F.taggedTemplateExpression}});Object.defineProperty($,"TemplateElement",{enumerable:!0,get:function(){return F.templateElement}});Object.defineProperty($,"TemplateLiteral",{enumerable:!0,get:function(){return F.templateLiteral}});Object.defineProperty($,"ThisExpression",{enumerable:!0,get:function(){return F.thisExpression}});Object.defineProperty($,"ThisTypeAnnotation",{enumerable:!0,get:function(){return F.thisTypeAnnotation}});Object.defineProperty($,"ThrowStatement",{enumerable:!0,get:function(){return F.throwStatement}});Object.defineProperty($,"TopicReference",{enumerable:!0,get:function(){return F.topicReference}});Object.defineProperty($,"TryStatement",{enumerable:!0,get:function(){return F.tryStatement}});Object.defineProperty($,"TupleExpression",{enumerable:!0,get:function(){return F.tupleExpression}});Object.defineProperty($,"TupleTypeAnnotation",{enumerable:!0,get:function(){return F.tupleTypeAnnotation}});Object.defineProperty($,"TypeAlias",{enumerable:!0,get:function(){return F.typeAlias}});Object.defineProperty($,"TypeAnnotation",{enumerable:!0,get:function(){return F.typeAnnotation}});Object.defineProperty($,"TypeCastExpression",{enumerable:!0,get:function(){return F.typeCastExpression}});Object.defineProperty($,"TypeParameter",{enumerable:!0,get:function(){return F.typeParameter}});Object.defineProperty($,"TypeParameterDeclaration",{enumerable:!0,get:function(){return F.typeParameterDeclaration}});Object.defineProperty($,"TypeParameterInstantiation",{enumerable:!0,get:function(){return F.typeParameterInstantiation}});Object.defineProperty($,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return F.typeofTypeAnnotation}});Object.defineProperty($,"UnaryExpression",{enumerable:!0,get:function(){return F.unaryExpression}});Object.defineProperty($,"UnionTypeAnnotation",{enumerable:!0,get:function(){return F.unionTypeAnnotation}});Object.defineProperty($,"UpdateExpression",{enumerable:!0,get:function(){return F.updateExpression}});Object.defineProperty($,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return F.v8IntrinsicIdentifier}});Object.defineProperty($,"VariableDeclaration",{enumerable:!0,get:function(){return F.variableDeclaration}});Object.defineProperty($,"VariableDeclarator",{enumerable:!0,get:function(){return F.variableDeclarator}});Object.defineProperty($,"Variance",{enumerable:!0,get:function(){return F.variance}});Object.defineProperty($,"VoidTypeAnnotation",{enumerable:!0,get:function(){return F.voidTypeAnnotation}});Object.defineProperty($,"WhileStatement",{enumerable:!0,get:function(){return F.whileStatement}});Object.defineProperty($,"WithStatement",{enumerable:!0,get:function(){return F.withStatement}});Object.defineProperty($,"YieldExpression",{enumerable:!0,get:function(){return F.yieldExpression}});var F=y1()});var M9=f((n8)=>{Object.defineProperty(n8,"__esModule",{value:!0});n8.buildUndefinedNode=zl;var t8=y1();function zl(){return t8.unaryExpression("void",t8.numericLiteral(0),!0)}});var vG=f((X4)=>{Object.defineProperty(X4,"__esModule",{value:!0});X4.default=Ul;var o8=n1(),e8=N1(),{hasOwn:BG}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function G4(G,J,X,H){if(G&&typeof G.type==="string")return J4(G,J,X,H);return G}function $9(G,J,X,H){if(Array.isArray(G))return G.map((V)=>G4(V,J,X,H));return G4(G,J,X,H)}function Ul(G,J=!0,X=!1){return J4(G,J,X,new Map)}function J4(G,J=!0,X=!1,H){if(!G)return G;let{type:V}=G,Z={type:G.type};if(e8.isIdentifier(G)){if(Z.name=G.name,BG(G,"optional")&&typeof G.optional==="boolean")Z.optional=G.optional;if(BG(G,"typeAnnotation"))Z.typeAnnotation=J?$9(G.typeAnnotation,!0,X,H):G.typeAnnotation;if(BG(G,"decorators"))Z.decorators=J?$9(G.decorators,!0,X,H):G.decorators}else if(!BG(o8.NODE_FIELDS,V))throw new Error(`Unknown node type: "${V}"`);else for(let Q of Object.keys(o8.NODE_FIELDS[V]))if(BG(G,Q))if(J)Z[Q]=e8.isFile(G)&&Q==="comments"?gX(G.comments,J,X,H):$9(G[Q],!0,X,H);else Z[Q]=G[Q];if(BG(G,"loc"))if(X)Z.loc=null;else Z.loc=G.loc;if(BG(G,"leadingComments"))Z.leadingComments=gX(G.leadingComments,J,X,H);if(BG(G,"innerComments"))Z.innerComments=gX(G.innerComments,J,X,H);if(BG(G,"trailingComments"))Z.trailingComments=gX(G.trailingComments,J,X,H);if(BG(G,"extra"))Z.extra=Object.assign({},G.extra);return Z}function gX(G,J,X,H){if(!G||!J)return G;return G.map((V)=>{let Z=H.get(V);if(Z)return Z;let{type:Q,value:W,loc:Y}=V,z={type:Q,value:W,loc:Y};if(X)z.loc=null;return H.set(V,z),z})}});var V4=f((H4)=>{Object.defineProperty(H4,"__esModule",{value:!0});H4.default=Ml;var Bl=vG();function Ml(G){return Bl.default(G,!1)}});var Q4=f((Z4)=>{Object.defineProperty(Z4,"__esModule",{value:!0});Z4.default=ql;var Fl=vG();function ql(G){return Fl.default(G)}});var Y4=f((W4)=>{Object.defineProperty(W4,"__esModule",{value:!0});W4.default=Al;var Ol=vG();function Al(G){return Ol.default(G,!0,!0)}});var K4=f((z4)=>{Object.defineProperty(z4,"__esModule",{value:!0});z4.default=Sl;var Dl=vG();function Sl(G){return Dl.default(G,!1,!0)}});var F9=f((U4)=>{Object.defineProperty(U4,"__esModule",{value:!0});U4.default=Il;function Il(G,J,X){if(!X||!G)return G;let H=`${J}Comments`;if(G[H])if(J==="leading")G[H]=X.concat(G[H]);else G[H].push(...X);else G[H]=X;return G}});var B4=f((R4)=>{Object.defineProperty(R4,"__esModule",{value:!0});R4.default=Tl;var Nl=F9();function Tl(G,J,X,H){return Nl.default(G,J,[{type:H?"CommentLine":"CommentBlock",value:X}])}});var _X=f((M4)=>{Object.defineProperty(M4,"__esModule",{value:!0});M4.default=Ll;function Ll(G,J,X){if(J&&X)J[G]=Array.from(new Set([].concat(J[G],X[G]).filter(Boolean)))}});var q9=f(($4)=>{Object.defineProperty($4,"__esModule",{value:!0});$4.default=vl;var kl=_X();function vl(G,J){kl.default("innerComments",G,J)}});var j9=f((F4)=>{Object.defineProperty(F4,"__esModule",{value:!0});F4.default=_l;var gl=_X();function _l(G,J){gl.default("leadingComments",G,J)}});var O9=f((q4)=>{Object.defineProperty(q4,"__esModule",{value:!0});q4.default=yl;var ul=_X();function yl(G,J){ul.default("trailingComments",G,J)}});var A9=f((j4)=>{Object.defineProperty(j4,"__esModule",{value:!0});j4.default=il;var ml=O9(),cl=j9(),ll=q9();function il(G,J){return ml.default(G,J),cl.default(G,J),ll.default(G,J),G}});var A4=f((O4)=>{Object.defineProperty(O4,"__esModule",{value:!0});O4.default=rl;var pl=kG();function rl(G){return pl.COMMENT_KEYS.forEach((J)=>{G[J]=null}),G}});var S4=f((C4)=>{Object.defineProperty(C4,"__esModule",{value:!0});C4.WHILE_TYPES=C4.USERWHITESPACABLE_TYPES=C4.UNARYLIKE_TYPES=C4.TYPESCRIPT_TYPES=C4.TSTYPE_TYPES=C4.TSTYPEELEMENT_TYPES=C4.TSENTITYNAME_TYPES=C4.TSBASETYPE_TYPES=C4.TERMINATORLESS_TYPES=C4.STATEMENT_TYPES=C4.STANDARDIZED_TYPES=C4.SCOPABLE_TYPES=C4.PUREISH_TYPES=C4.PROPERTY_TYPES=C4.PRIVATE_TYPES=C4.PATTERN_TYPES=C4.PATTERNLIKE_TYPES=C4.OBJECTMEMBER_TYPES=C4.MODULESPECIFIER_TYPES=C4.MODULEDECLARATION_TYPES=C4.MISCELLANEOUS_TYPES=C4.METHOD_TYPES=C4.LVAL_TYPES=C4.LOOP_TYPES=C4.LITERAL_TYPES=C4.JSX_TYPES=C4.IMPORTOREXPORTDECLARATION_TYPES=C4.IMMUTABLE_TYPES=C4.FUNCTION_TYPES=C4.FUNCTIONPARENT_TYPES=C4.FOR_TYPES=C4.FORXSTATEMENT_TYPES=C4.FLOW_TYPES=C4.FLOWTYPE_TYPES=C4.FLOWPREDICATE_TYPES=C4.FLOWDECLARATION_TYPES=C4.FLOWBASEANNOTATION_TYPES=C4.EXPRESSION_TYPES=C4.EXPRESSIONWRAPPER_TYPES=C4.EXPORTDECLARATION_TYPES=C4.ENUMMEMBER_TYPES=C4.ENUMBODY_TYPES=C4.DECLARATION_TYPES=C4.CONDITIONAL_TYPES=C4.COMPLETIONSTATEMENT_TYPES=C4.CLASS_TYPES=C4.BLOCK_TYPES=C4.BLOCKPARENT_TYPES=C4.BINARY_TYPES=C4.ACCESSOR_TYPES=void 0;var J1=n1(),GB1=C4.STANDARDIZED_TYPES=J1.FLIPPED_ALIAS_KEYS.Standardized,JB1=C4.EXPRESSION_TYPES=J1.FLIPPED_ALIAS_KEYS.Expression,XB1=C4.BINARY_TYPES=J1.FLIPPED_ALIAS_KEYS.Binary,HB1=C4.SCOPABLE_TYPES=J1.FLIPPED_ALIAS_KEYS.Scopable,VB1=C4.BLOCKPARENT_TYPES=J1.FLIPPED_ALIAS_KEYS.BlockParent,ZB1=C4.BLOCK_TYPES=J1.FLIPPED_ALIAS_KEYS.Block,QB1=C4.STATEMENT_TYPES=J1.FLIPPED_ALIAS_KEYS.Statement,WB1=C4.TERMINATORLESS_TYPES=J1.FLIPPED_ALIAS_KEYS.Terminatorless,YB1=C4.COMPLETIONSTATEMENT_TYPES=J1.FLIPPED_ALIAS_KEYS.CompletionStatement,zB1=C4.CONDITIONAL_TYPES=J1.FLIPPED_ALIAS_KEYS.Conditional,KB1=C4.LOOP_TYPES=J1.FLIPPED_ALIAS_KEYS.Loop,UB1=C4.WHILE_TYPES=J1.FLIPPED_ALIAS_KEYS.While,RB1=C4.EXPRESSIONWRAPPER_TYPES=J1.FLIPPED_ALIAS_KEYS.ExpressionWrapper,BB1=C4.FOR_TYPES=J1.FLIPPED_ALIAS_KEYS.For,MB1=C4.FORXSTATEMENT_TYPES=J1.FLIPPED_ALIAS_KEYS.ForXStatement,$B1=C4.FUNCTION_TYPES=J1.FLIPPED_ALIAS_KEYS.Function,FB1=C4.FUNCTIONPARENT_TYPES=J1.FLIPPED_ALIAS_KEYS.FunctionParent,qB1=C4.PUREISH_TYPES=J1.FLIPPED_ALIAS_KEYS.Pureish,jB1=C4.DECLARATION_TYPES=J1.FLIPPED_ALIAS_KEYS.Declaration,OB1=C4.PATTERNLIKE_TYPES=J1.FLIPPED_ALIAS_KEYS.PatternLike,AB1=C4.LVAL_TYPES=J1.FLIPPED_ALIAS_KEYS.LVal,CB1=C4.TSENTITYNAME_TYPES=J1.FLIPPED_ALIAS_KEYS.TSEntityName,DB1=C4.LITERAL_TYPES=J1.FLIPPED_ALIAS_KEYS.Literal,SB1=C4.IMMUTABLE_TYPES=J1.FLIPPED_ALIAS_KEYS.Immutable,fB1=C4.USERWHITESPACABLE_TYPES=J1.FLIPPED_ALIAS_KEYS.UserWhitespacable,IB1=C4.METHOD_TYPES=J1.FLIPPED_ALIAS_KEYS.Method,PB1=C4.OBJECTMEMBER_TYPES=J1.FLIPPED_ALIAS_KEYS.ObjectMember,NB1=C4.PROPERTY_TYPES=J1.FLIPPED_ALIAS_KEYS.Property,TB1=C4.UNARYLIKE_TYPES=J1.FLIPPED_ALIAS_KEYS.UnaryLike,wB1=C4.PATTERN_TYPES=J1.FLIPPED_ALIAS_KEYS.Pattern,LB1=C4.CLASS_TYPES=J1.FLIPPED_ALIAS_KEYS.Class,dl=C4.IMPORTOREXPORTDECLARATION_TYPES=J1.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,bB1=C4.EXPORTDECLARATION_TYPES=J1.FLIPPED_ALIAS_KEYS.ExportDeclaration,kB1=C4.MODULESPECIFIER_TYPES=J1.FLIPPED_ALIAS_KEYS.ModuleSpecifier,vB1=C4.ACCESSOR_TYPES=J1.FLIPPED_ALIAS_KEYS.Accessor,EB1=C4.PRIVATE_TYPES=J1.FLIPPED_ALIAS_KEYS.Private,gB1=C4.FLOW_TYPES=J1.FLIPPED_ALIAS_KEYS.Flow,_B1=C4.FLOWTYPE_TYPES=J1.FLIPPED_ALIAS_KEYS.FlowType,hB1=C4.FLOWBASEANNOTATION_TYPES=J1.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,uB1=C4.FLOWDECLARATION_TYPES=J1.FLIPPED_ALIAS_KEYS.FlowDeclaration,yB1=C4.FLOWPREDICATE_TYPES=J1.FLIPPED_ALIAS_KEYS.FlowPredicate,xB1=C4.ENUMBODY_TYPES=J1.FLIPPED_ALIAS_KEYS.EnumBody,mB1=C4.ENUMMEMBER_TYPES=J1.FLIPPED_ALIAS_KEYS.EnumMember,cB1=C4.JSX_TYPES=J1.FLIPPED_ALIAS_KEYS.JSX,lB1=C4.MISCELLANEOUS_TYPES=J1.FLIPPED_ALIAS_KEYS.Miscellaneous,iB1=C4.TYPESCRIPT_TYPES=J1.FLIPPED_ALIAS_KEYS.TypeScript,aB1=C4.TSTYPEELEMENT_TYPES=J1.FLIPPED_ALIAS_KEYS.TSTypeElement,pB1=C4.TSTYPE_TYPES=J1.FLIPPED_ALIAS_KEYS.TSType,rB1=C4.TSBASETYPE_TYPES=J1.FLIPPED_ALIAS_KEYS.TSBaseType,sB1=C4.MODULEDECLARATION_TYPES=dl});var D9=f((f4)=>{Object.defineProperty(f4,"__esModule",{value:!0});f4.default=ai;var hX=N1(),C9=y1();function ai(G,J){if(hX.isBlockStatement(G))return G;let X=[];if(hX.isEmptyStatement(G))X=[];else{if(!hX.isStatement(G))if(hX.isFunction(J))G=C9.returnStatement(G);else G=C9.expressionStatement(G);X=[G]}return C9.blockStatement(X)}});var P4=f((I4)=>{Object.defineProperty(I4,"__esModule",{value:!0});I4.default=si;var ri=D9();function si(G,J="body"){let X=ri.default(G[J],G);return G[J]=X,X}});var S9=f((N4)=>{Object.defineProperty(N4,"__esModule",{value:!0});N4.default=oi;var ti=UJ(),ni=uJ();function oi(G){G=G+"";let J="";for(let X of G)J+=ni.isIdentifierChar(X.codePointAt(0))?X:"-";if(J=J.replace(/^[-0-9]+/,""),J=J.replace(/[-\s]+(.)?/g,function(X,H){return H?H.toUpperCase():""}),!ti.default(J))J=`_${J}`;return J||"_"}});var w4=f((T4)=>{Object.defineProperty(T4,"__esModule",{value:!0});T4.default=Ja;var Ga=S9();function Ja(G){if(G=Ga.default(G),G==="eval"||G==="arguments")G="_"+G;return G}});var b4=f((L4)=>{Object.defineProperty(L4,"__esModule",{value:!0});L4.default=Za;var Ha=N1(),Va=y1();function Za(G,J=G.key||G.property){if(!G.computed&&Ha.isIdentifier(J))J=Va.stringLiteral(J.name);return J}});var E4=f((k4)=>{Object.defineProperty(k4,"__esModule",{value:!0});k4.default=void 0;var iJ=N1(),JM1=k4.default=Wa;function Wa(G){if(iJ.isExpressionStatement(G))G=G.expression;if(iJ.isExpression(G))return G;if(iJ.isClass(G))G.type="ClassExpression";else if(iJ.isFunction(G))G.type="FunctionExpression";if(!iJ.isExpression(G))throw new Error(`cannot turn ${G.type} to an expression`);return G}});var I9=f((g4)=>{Object.defineProperty(g4,"__esModule",{value:!0});g4.default=f9;var Ya=n1();function f9(G,J,X){if(!G)return;let H=Ya.VISITOR_KEYS[G.type];if(!H)return;X=X||{},J(G,X);for(let V of H){let Z=G[V];if(Array.isArray(Z))for(let Q of Z)f9(Q,J,X);else f9(Z,J,X)}}});var P9=f((h4)=>{Object.defineProperty(h4,"__esModule",{value:!0});h4.default=Ra;var Ka=kG(),_4=["tokens","start","end","loc","raw","rawValue"],Ua=[...Ka.COMMENT_KEYS,"comments",..._4];function Ra(G,J={}){let X=J.preserveComments?_4:Ua;for(let V of X)if(G[V]!=null)G[V]=void 0;for(let V of Object.keys(G))if(V[0]==="_"&&G[V]!=null)G[V]=void 0;let H=Object.getOwnPropertySymbols(G);for(let V of H)G[V]=null}});var N9=f((u4)=>{Object.defineProperty(u4,"__esModule",{value:!0});u4.default=Fa;var Ma=I9(),$a=P9();function Fa(G,J){return Ma.default(G,$a.default,J),G}});var m4=f((x4)=>{Object.defineProperty(x4,"__esModule",{value:!0});x4.default=aG;var y4=N1(),ja=vG(),Oa=N9();function aG(G,J=G.key){let X;if(G.kind==="method")return aG.increment()+"";else if(y4.isIdentifier(J))X=J.name;else if(y4.isStringLiteral(J))X=JSON.stringify(J.value);else X=JSON.stringify(Oa.default(ja.default(J)));if(G.computed)X=`[${X}]`;if(G.static)X=`static:${X}`;return X}aG.uid=0;aG.increment=function(){if(aG.uid>=Number.MAX_SAFE_INTEGER)return aG.uid=0;else return aG.uid++}});var i4=f((c4)=>{Object.defineProperty(c4,"__esModule",{value:!0});c4.default=void 0;var uX=N1(),Ca=y1(),WM1=c4.default=Da;function Da(G,J){if(uX.isStatement(G))return G;let X=!1,H;if(uX.isClass(G))X=!0,H="ClassDeclaration";else if(uX.isFunction(G))X=!0,H="FunctionDeclaration";else if(uX.isAssignmentExpression(G))return Ca.expressionStatement(G);if(X&&!G.id)H=!1;if(!H)if(J)return!1;else throw new Error(`cannot turn ${G.type} to a statement`);return G.type=H,G}});var r4=f((a4)=>{Object.defineProperty(a4,"__esModule",{value:!0});a4.default=void 0;var Sa=UJ(),g1=y1(),zM1=a4.default=T9,fa=Function.call.bind(Object.prototype.toString);function Ia(G){return fa(G)==="[object RegExp]"}function Pa(G){if(typeof G!=="object"||G===null||Object.prototype.toString.call(G)!=="[object Object]")return!1;let J=Object.getPrototypeOf(G);return J===null||Object.getPrototypeOf(J)===null}function T9(G){if(G===void 0)return g1.identifier("undefined");if(G===!0||G===!1)return g1.booleanLiteral(G);if(G===null)return g1.nullLiteral();if(typeof G==="string")return g1.stringLiteral(G);if(typeof G==="number"){let J;if(Number.isFinite(G))J=g1.numericLiteral(Math.abs(G));else{let X;if(Number.isNaN(G))X=g1.numericLiteral(0);else X=g1.numericLiteral(1);J=g1.binaryExpression("/",X,g1.numericLiteral(0))}if(G<0||Object.is(G,-0))J=g1.unaryExpression("-",J);return J}if(Ia(G)){let J=G.source,X=/\/([a-z]*)$/.exec(G.toString())[1];return g1.regExpLiteral(J,X)}if(Array.isArray(G))return g1.arrayExpression(G.map(T9));if(Pa(G)){let J=[];for(let X of Object.keys(G)){let H;if(Sa.default(X))H=g1.identifier(X);else H=g1.stringLiteral(X);J.push(g1.objectProperty(H,T9(G[X])))}return g1.objectExpression(J)}throw new Error("don't know how to turn this value into a node")}});var d4=f((s4)=>{Object.defineProperty(s4,"__esModule",{value:!0});s4.default=Ta;var Na=y1();function Ta(G,J,X=!1){return G.object=Na.memberExpression(G.object,G.property,G.computed),G.property=J,G.computed=!!X,G}});var o4=f((n4)=>{Object.defineProperty(n4,"__esModule",{value:!0});n4.default=ba;var t4=kG(),La=A9();function ba(G,J){if(!G||!J)return G;for(let X of t4.INHERIT_KEYS.optional)if(G[X]==null)G[X]=J[X];for(let X of Object.keys(J))if(X[0]==="_"&&X!=="__clone")G[X]=J[X];for(let X of t4.INHERIT_KEYS.force)G[X]=J[X];return La.default(G,J),G}});var G7=f((e4)=>{Object.defineProperty(e4,"__esModule",{value:!0});e4.default=ga;var va=y1(),Ea=W1();function ga(G,J){if(Ea.isSuper(G.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return G.object=va.memberExpression(J,G.object),G}});var X7=f((J7)=>{Object.defineProperty(J7,"__esModule",{value:!0});J7.default=ha;function ha(G){let J=[].concat(G),X=Object.create(null);while(J.length){let H=J.pop();if(!H)continue;switch(H.type){case"ArrayPattern":J.push(...H.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":J.push(H.left);break;case"ObjectPattern":J.push(...H.properties);break;case"ObjectProperty":J.push(H.value);break;case"RestElement":case"UpdateExpression":J.push(H.argument);break;case"UnaryExpression":if(H.operator==="delete")J.push(H.argument);break;case"Identifier":X[H.name]=H;break;default:break}}return X}});var aJ=f((H7)=>{Object.defineProperty(H7,"__esModule",{value:!0});H7.default=w9;var OG=N1();function w9(G,J,X,H){let V=[].concat(G),Z=Object.create(null);while(V.length){let Q=V.shift();if(!Q)continue;if(H&&(OG.isAssignmentExpression(Q)||OG.isUnaryExpression(Q)||OG.isUpdateExpression(Q)))continue;if(OG.isIdentifier(Q)){if(J)(Z[Q.name]=Z[Q.name]||[]).push(Q);else Z[Q.name]=Q;continue}if(OG.isExportDeclaration(Q)&&!OG.isExportAllDeclaration(Q)){if(OG.isDeclaration(Q.declaration))V.push(Q.declaration);continue}if(X){if(OG.isFunctionDeclaration(Q)){V.push(Q.id);continue}if(OG.isFunctionExpression(Q))continue}let W=w9.keys[Q.type];if(W)for(let Y=0;Y<W.length;Y++){let z=W[Y],U=Q[z];if(U)if(Array.isArray(U))V.push(...U);else V.push(U)}}return Z}var ya={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};w9.keys=ya});var Q7=f((V7)=>{Object.defineProperty(V7,"__esModule",{value:!0});V7.default=void 0;var ma=aJ(),FM1=V7.default=ca;function ca(G,J){return ma.default(G,J,!0)}});var z7=f((Y7)=>{Object.defineProperty(Y7,"__esModule",{value:!0});Y7.default=ia;var e1=N1();function la(G){if(e1.isNullLiteral(G))return"null";if(e1.isRegExpLiteral(G))return`/${G.pattern}/${G.flags}`;if(e1.isTemplateLiteral(G))return G.quasis.map((J)=>J.value.raw).join("");if(G.value!==void 0)return String(G.value);return null}function W7(G){if(!G.computed||e1.isLiteral(G.key))return G.key}function ia(G,J){if("id"in G&&G.id)return{name:G.id.name,originalNode:G.id};let X="",H;if(e1.isObjectProperty(J,{value:G}))H=W7(J);else if(e1.isObjectMethod(G)||e1.isClassMethod(G)){if(H=W7(G),G.kind==="get")X="get ";else if(G.kind==="set")X="set "}else if(e1.isVariableDeclarator(J,{init:G}))H=J.id;else if(e1.isAssignmentExpression(J,{operator:"=",right:G}))H=J.left;if(!H)return null;let V=e1.isLiteral(H)?la(H):e1.isIdentifier(H)?H.name:e1.isPrivateName(H)?H.id.name:null;if(V==null)return null;return{name:X+V,originalNode:H}}});var U7=f((K7)=>{Object.defineProperty(K7,"__esModule",{value:!0});K7.default=ra;var pa=n1();function ra(G,J,X){if(typeof J==="function")J={enter:J};let{enter:H,exit:V}=J;L9(G,H,V,X,[])}function L9(G,J,X,H,V){let Z=pa.VISITOR_KEYS[G.type];if(!Z)return;if(J)J(G,V,H);for(let Q of Z){let W=G[Q];if(Array.isArray(W))for(let Y=0;Y<W.length;Y++){let z=W[Y];if(!z)continue;V.push({node:G,key:Q,index:Y}),L9(z,J,X,H,V),V.pop()}else if(W)V.push({node:G,key:Q}),L9(W,J,X,H,V),V.pop()}if(X)X(G,V,H)}});var B7=f((R7)=>{Object.defineProperty(R7,"__esModule",{value:!0});R7.default=ta;var da=aJ();function ta(G,J,X){if(X&&G.type==="Identifier"&&J.type==="ObjectProperty"&&X.type==="ObjectExpression")return!1;let H=da.default.keys[J.type];if(H)for(let V=0;V<H.length;V++){let Z=H[V],Q=J[Z];if(Array.isArray(Q)){if(Q.includes(G))return!0}else if(Q===G)return!0}return!1}});var b9=f((M7)=>{Object.defineProperty(M7,"__esModule",{value:!0});M7.default=Gp;var oa=N1(),ea=kG();function Gp(G){return oa.isVariableDeclaration(G)&&(G.kind!=="var"||G[ea.BLOCK_SCOPED_SYMBOL])}});var q7=f((F7)=>{Object.defineProperty(F7,"__esModule",{value:!0});F7.default=Hp;var $7=N1(),Xp=b9();function Hp(G){return $7.isFunctionDeclaration(G)||$7.isClassDeclaration(G)||Xp.default(G)}});var O7=f((j7)=>{Object.defineProperty(j7,"__esModule",{value:!0});j7.default=Wp;var Zp=IX(),Qp=N1();function Wp(G){if(Zp.default(G.type,"Immutable"))return!0;if(Qp.isIdentifier(G))if(G.name==="undefined")return!0;else return!1;return!1}});var D7=f((C7)=>{Object.defineProperty(C7,"__esModule",{value:!0});C7.default=k9;var A7=n1();function k9(G,J){if(typeof G!=="object"||typeof J!=="object"||G==null||J==null)return G===J;if(G.type!==J.type)return!1;let X=Object.keys(A7.NODE_FIELDS[G.type]||G.type),H=A7.VISITOR_KEYS[G.type];for(let V of X){let Z=G[V],Q=J[V];if(typeof Z!==typeof Q)return!1;if(Z==null&&Q==null)continue;else if(Z==null||Q==null)return!1;if(Array.isArray(Z)){if(!Array.isArray(Q))return!1;if(Z.length!==Q.length)return!1;for(let W=0;W<Z.length;W++)if(!k9(Z[W],Q[W]))return!1;continue}if(typeof Z==="object"&&!(H!=null&&H.includes(V))){for(let W of Object.keys(Z))if(Z[W]!==Q[W])return!1;continue}if(!k9(Z,Q))return!1}return!0}});var f7=f((S7)=>{Object.defineProperty(S7,"__esModule",{value:!0});S7.default=Kp;function Kp(G,J,X){switch(J.type){case"MemberExpression":case"OptionalMemberExpression":if(J.property===G)return!!J.computed;return J.object===G;case"JSXMemberExpression":return J.object===G;case"VariableDeclarator":return J.init===G;case"ArrowFunctionExpression":return J.body===G;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(J.key===G)return!!J.computed;return!1;case"ObjectProperty":if(J.key===G)return!!J.computed;return!X||X.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(J.key===G)return!!J.computed;return!0;case"ClassPrivateProperty":return J.key!==G;case"ClassDeclaration":case"ClassExpression":return J.superClass===G;case"AssignmentExpression":return J.right===G;case"AssignmentPattern":return J.right===G;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":if(X!=null&&X.source)return!1;return J.local===G;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return J.key!==G;case"TSEnumMember":return J.id!==G;case"TSPropertySignature":if(J.key===G)return!!J.computed;return!0}return!0}});var P7=f((I7)=>{Object.defineProperty(I7,"__esModule",{value:!0});I7.default=Rp;var pG=N1();function Rp(G,J){if(pG.isBlockStatement(G)&&(pG.isFunction(J)||pG.isCatchClause(J)))return!1;if(pG.isPattern(G)&&(pG.isFunction(J)||pG.isCatchClause(J)))return!0;return pG.isScopable(G)}});var w7=f((T7)=>{Object.defineProperty(T7,"__esModule",{value:!0});T7.default=Mp;var N7=N1();function Mp(G){return N7.isImportDefaultSpecifier(G)||N7.isIdentifier(G.imported||G.exported,{name:"default"})}});var b7=f((L7)=>{Object.defineProperty(L7,"__esModule",{value:!0});L7.default=jp;var Fp=UJ(),qp=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function jp(G){return Fp.default(G)&&!qp.has(G)}});var v7=f((k7)=>{Object.defineProperty(k7,"__esModule",{value:!0});k7.default=Dp;var Ap=N1(),Cp=kG();function Dp(G){return Ap.isVariableDeclaration(G,{kind:"var"})&&!G[Cp.BLOCK_SCOPED_SYMBOL]}});var g7=f((E7)=>{Object.defineProperty(E7,"__esModule",{value:!0});E7.default=yX;var fp=aJ(),rG=N1(),v9=y1(),E9=M9(),Ip=vG();function yX(G,J){let X=[],H=!0;for(let V of G){if(!rG.isEmptyStatement(V))H=!1;if(rG.isExpression(V))X.push(V);else if(rG.isExpressionStatement(V))X.push(V.expression);else if(rG.isVariableDeclaration(V)){if(V.kind!=="var")return;for(let Z of V.declarations){let Q=fp.default(Z);for(let W of Object.keys(Q))J.push({kind:V.kind,id:Ip.default(Q[W])});if(Z.init)X.push(v9.assignmentExpression("=",Z.id,Z.init))}H=!0}else if(rG.isIfStatement(V)){let Z=V.consequent?yX([V.consequent],J):E9.buildUndefinedNode(),Q=V.alternate?yX([V.alternate],J):E9.buildUndefinedNode();if(!Z||!Q)return;X.push(v9.conditionalExpression(V.test,Z,Q))}else if(rG.isBlockStatement(V)){let Z=yX(V.body,J);if(!Z)return;X.push(Z)}else if(rG.isEmptyStatement(V)){if(G.indexOf(V)===0)H=!0}else return}if(H)X.push(E9.buildUndefinedNode());if(X.length===1)return X[0];else return v9.sequenceExpression(X)}});var h7=f((_7)=>{Object.defineProperty(_7,"__esModule",{value:!0});_7.default=Tp;var Np=g7();function Tp(G,J){if(!(G!=null&&G.length))return;let X=[],H=Np.default(G,X);if(!H)return;for(let V of X)J.push(V);return H}});var W1=f((g)=>{Object.defineProperty(g,"__esModule",{value:!0});var AG={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(g,"__internal__deprecationWarning",{enumerable:!0,get:function(){return vr.default}});Object.defineProperty(g,"addComment",{enumerable:!0,get:function(){return mp.default}});Object.defineProperty(g,"addComments",{enumerable:!0,get:function(){return cp.default}});Object.defineProperty(g,"appendToMemberExpression",{enumerable:!0,get:function(){return Hr.default}});Object.defineProperty(g,"assertNode",{enumerable:!0,get:function(){return vp.default}});Object.defineProperty(g,"buildMatchMemberExpression",{enumerable:!0,get:function(){return kr.default}});Object.defineProperty(g,"clone",{enumerable:!0,get:function(){return hp.default}});Object.defineProperty(g,"cloneDeep",{enumerable:!0,get:function(){return up.default}});Object.defineProperty(g,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return yp.default}});Object.defineProperty(g,"cloneNode",{enumerable:!0,get:function(){return _p.default}});Object.defineProperty(g,"cloneWithoutLoc",{enumerable:!0,get:function(){return xp.default}});Object.defineProperty(g,"createFlowUnionType",{enumerable:!0,get:function(){return u7.default}});Object.defineProperty(g,"createTSUnionType",{enumerable:!0,get:function(){return gp.default}});Object.defineProperty(g,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return Ep.default}});Object.defineProperty(g,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return u7.default}});Object.defineProperty(g,"ensureBlock",{enumerable:!0,get:function(){return sp.default}});Object.defineProperty(g,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return zr.default}});Object.defineProperty(g,"getBindingIdentifiers",{enumerable:!0,get:function(){return Kr.default}});Object.defineProperty(g,"getFunctionName",{enumerable:!0,get:function(){return Rr.default}});Object.defineProperty(g,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return Ur.default}});Object.defineProperty(g,"inheritInnerComments",{enumerable:!0,get:function(){return lp.default}});Object.defineProperty(g,"inheritLeadingComments",{enumerable:!0,get:function(){return ip.default}});Object.defineProperty(g,"inheritTrailingComments",{enumerable:!0,get:function(){return pp.default}});Object.defineProperty(g,"inherits",{enumerable:!0,get:function(){return Vr.default}});Object.defineProperty(g,"inheritsComments",{enumerable:!0,get:function(){return ap.default}});Object.defineProperty(g,"is",{enumerable:!0,get:function(){return $r.default}});Object.defineProperty(g,"isBinding",{enumerable:!0,get:function(){return Fr.default}});Object.defineProperty(g,"isBlockScoped",{enumerable:!0,get:function(){return qr.default}});Object.defineProperty(g,"isImmutable",{enumerable:!0,get:function(){return jr.default}});Object.defineProperty(g,"isLet",{enumerable:!0,get:function(){return Or.default}});Object.defineProperty(g,"isNode",{enumerable:!0,get:function(){return Ar.default}});Object.defineProperty(g,"isNodesEquivalent",{enumerable:!0,get:function(){return Cr.default}});Object.defineProperty(g,"isPlaceholderType",{enumerable:!0,get:function(){return Dr.default}});Object.defineProperty(g,"isReferenced",{enumerable:!0,get:function(){return Sr.default}});Object.defineProperty(g,"isScope",{enumerable:!0,get:function(){return fr.default}});Object.defineProperty(g,"isSpecifierDefault",{enumerable:!0,get:function(){return Ir.default}});Object.defineProperty(g,"isType",{enumerable:!0,get:function(){return Pr.default}});Object.defineProperty(g,"isValidES3Identifier",{enumerable:!0,get:function(){return Nr.default}});Object.defineProperty(g,"isValidIdentifier",{enumerable:!0,get:function(){return Tr.default}});Object.defineProperty(g,"isVar",{enumerable:!0,get:function(){return wr.default}});Object.defineProperty(g,"matchesPattern",{enumerable:!0,get:function(){return Lr.default}});Object.defineProperty(g,"prependToMemberExpression",{enumerable:!0,get:function(){return Zr.default}});g.react=void 0;Object.defineProperty(g,"removeComments",{enumerable:!0,get:function(){return rp.default}});Object.defineProperty(g,"removeProperties",{enumerable:!0,get:function(){return Qr.default}});Object.defineProperty(g,"removePropertiesDeep",{enumerable:!0,get:function(){return Wr.default}});Object.defineProperty(g,"removeTypeDuplicates",{enumerable:!0,get:function(){return Yr.default}});Object.defineProperty(g,"shallowEqual",{enumerable:!0,get:function(){return Mr.default}});Object.defineProperty(g,"toBindingIdentifierName",{enumerable:!0,get:function(){return dp.default}});Object.defineProperty(g,"toBlock",{enumerable:!0,get:function(){return tp.default}});Object.defineProperty(g,"toComputedKey",{enumerable:!0,get:function(){return np.default}});Object.defineProperty(g,"toExpression",{enumerable:!0,get:function(){return op.default}});Object.defineProperty(g,"toIdentifier",{enumerable:!0,get:function(){return ep.default}});Object.defineProperty(g,"toKeyAlias",{enumerable:!0,get:function(){return Gr.default}});Object.defineProperty(g,"toStatement",{enumerable:!0,get:function(){return Jr.default}});Object.defineProperty(g,"traverse",{enumerable:!0,get:function(){return xX.default}});Object.defineProperty(g,"traverseFast",{enumerable:!0,get:function(){return Br.default}});Object.defineProperty(g,"validate",{enumerable:!0,get:function(){return br.default}});Object.defineProperty(g,"valueToNode",{enumerable:!0,get:function(){return Xr.default}});var Lp=MH(),bp=FH(),kp=w8(),vp=k8(),g9=E8();Object.keys(g9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===g9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return g9[G]}})});var Ep=h8(),u7=c8(),gp=s8(),_9=y1();Object.keys(_9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===_9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return _9[G]}})});var h9=d8();Object.keys(h9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===h9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return h9[G]}})});var u9=M9();Object.keys(u9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===u9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return u9[G]}})});var _p=vG(),hp=V4(),up=Q4(),yp=Y4(),xp=K4(),mp=B4(),cp=F9(),lp=q9(),ip=j9(),ap=A9(),pp=O9(),rp=A4(),y9=S4();Object.keys(y9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===y9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return y9[G]}})});var x9=kG();Object.keys(x9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===x9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return x9[G]}})});var sp=P4(),dp=w4(),tp=D9(),np=b4(),op=E4(),ep=S9(),Gr=m4(),Jr=i4(),Xr=r4(),m9=n1();Object.keys(m9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===m9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return m9[G]}})});var Hr=d4(),Vr=o4(),Zr=G7(),Qr=P9(),Wr=N9(),Yr=B9(),zr=X7(),Kr=aJ(),Ur=Q7(),Rr=z7(),xX=U7();Object.keys(xX).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===xX[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return xX[G]}})});var Br=I9(),Mr=fX(),$r=KJ(),Fr=B7(),qr=q7(),jr=O7(),Or=b9(),Ar=R9(),Cr=D7(),Dr=a0(),Sr=f7(),fr=P7(),Ir=w7(),Pr=IX(),Nr=b7(),Tr=UJ(),wr=v7(),Lr=l0(),br=LX(),kr=i0(),c9=N1();Object.keys(c9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===c9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return c9[G]}})});var vr=EJ(),kM1=g.react={isReactComponent:Lp.default,isCompatTag:bp.default,buildChildren:kp.default};g.toSequenceExpression=h7().default;if(process.env.BABEL_TYPES_8_BREAKING)console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")});var p7=f((i7)=>{Object.defineProperty(i7,"__esModule",{value:!0});i7.nodes=void 0;var Er=W1(),{FLIPPED_ALIAS_KEYS:gr,isArrayExpression:_r,isAssignmentExpression:m7,isBinary:c7,isBlockStatement:hr,isCallExpression:l7,isFunction:pJ,isIdentifier:mX,isLiteral:ur,isMemberExpression:l9,isObjectExpression:yr,isOptionalCallExpression:xr,isOptionalMemberExpression:mr,isStringLiteral:cr}=Er;function $J(G,J){if(!G)return J;if(l9(G)||mr(G)){if($J(G.object,J),G.computed)$J(G.property,J)}else if(c7(G)||m7(G))$J(G.left,J),$J(G.right,J);else if(l7(G)||xr(G))J.hasCall=!0,$J(G.callee,J);else if(pJ(G))J.hasFunction=!0;else if(mX(G))J.hasHelper=J.hasHelper||G.callee&&CG(G.callee);return J}function x7(G){return $J(G,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function CG(G){if(!G)return!1;if(l9(G))return CG(G.object)||CG(G.property);else if(mX(G))return G.name==="require"||G.name.charCodeAt(0)===95;else if(l7(G))return CG(G.callee);else if(c7(G)||m7(G))return mX(G.left)&&CG(G.left)||CG(G.right);else return!1}function lr(G){return ur(G)||yr(G)||_r(G)||mX(G)||l9(G)}var sG=i7.nodes={AssignmentExpression(G){let J=x7(G.right);if(J.hasCall&&J.hasHelper||J.hasFunction)return J.hasFunction?3:2},SwitchCase(G,J){return(!!G.consequent.length||J.cases[0]===G?1:0)|(!G.consequent.length&&J.cases[J.cases.length-1]===G?2:0)},LogicalExpression(G){if(pJ(G.left)||pJ(G.right))return 2},Literal(G){if(cr(G)&&G.value==="use strict")return 2},CallExpression(G){if(pJ(G.callee)||CG(G))return 3},OptionalCallExpression(G){if(pJ(G.callee))return 3},VariableDeclaration(G){for(let J=0;J<G.declarations.length;J++){let X=G.declarations[J],H=CG(X.id)&&!lr(X.init);if(!H&&X.init){let V=x7(X.init);H=CG(X.init)&&V.hasCall||V.hasFunction}if(H)return 3}},IfStatement(G){if(hr(G.consequent))return 3}};sG.ObjectProperty=sG.ObjectTypeProperty=sG.ObjectMethod=function(G,J){if(J.properties[0]===G)return 1};sG.ObjectTypeCallProperty=function(G,J){var X;if(J.callProperties[0]===G&&!((X=J.properties)!=null&&X.length))return 1};sG.ObjectTypeIndexer=function(G,J){var X,H;if(J.indexers[0]===G&&!((X=J.properties)!=null&&X.length)&&!((H=J.callProperties)!=null&&H.length))return 1};sG.ObjectTypeInternalSlot=function(G,J){var X,H,V;if(J.internalSlots[0]===G&&!((X=J.properties)!=null&&X.length)&&!((H=J.callProperties)!=null&&H.length)&&!((V=J.indexers)!=null&&V.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([G,J]){[G].concat(gr[G]||[]).forEach(function(X){let H=J?3:0;sG[X]=()=>H})})});var J5=f((G5)=>{Object.defineProperty(G5,"__esModule",{value:!0});G5.AssignmentExpression=qs;G5.Binary=n7;G5.BinaryExpression=Us;G5.ClassExpression=Ms;G5.ArrowFunctionExpression=G5.ConditionalExpression=e7;G5.DoExpression=Vs;G5.FunctionExpression=$s;G5.FunctionTypeAnnotation=Js;G5.Identifier=Os;G5.LogicalExpression=js;G5.NullableTypeAnnotation=Gs;G5.ObjectExpression=Hs;G5.OptionalIndexedAccessType=Qs;G5.OptionalCallExpression=G5.OptionalMemberExpression=Fs;G5.SequenceExpression=Rs;G5.TSSatisfiesExpression=G5.TSAsExpression=Ws;G5.TSInferType=zs;G5.TSInstantiationExpression=Ks;G5.UnaryLike=G5.TSTypeAssertion=o7;G5.TSIntersectionType=G5.TSUnionType=Ys;G5.IntersectionTypeAnnotation=G5.UnionTypeAnnotation=Zs;G5.UpdateExpression=Xs;G5.AwaitExpression=G5.YieldExpression=Bs;var ir=W1(),GG=EG(),{isArrayTypeAnnotation:ar,isBinaryExpression:pr,isCallExpression:rr,isForOfStatement:sr,isIndexedAccessType:dr,isMemberExpression:d7,isObjectPattern:tr,isOptionalMemberExpression:nr,isYieldExpression:or,isStatement:er}=ir,r7=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function s7(G,J){if(J==="BinaryExpression"||J==="LogicalExpression")return r7.get(G.operator);if(J==="TSAsExpression"||J==="TSSatisfiesExpression")return r7.get("in")}function i9(G){return G==="TSAsExpression"||G==="TSSatisfiesExpression"||G==="TSTypeAssertion"}var cX=(G,J)=>{let X=J.type;return(X==="ClassDeclaration"||X==="ClassExpression")&&J.superClass===G},lX=(G,J)=>{let X=J.type;return(X==="MemberExpression"||X==="OptionalMemberExpression")&&J.object===G||(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression")&&J.callee===G||X==="TaggedTemplateExpression"&&J.tag===G||X==="TSNonNullExpression"};function Gs(G,J){return ar(J)}function Js(G,J,X){let H=J.type;return H==="UnionTypeAnnotation"||H==="IntersectionTypeAnnotation"||H==="ArrayTypeAnnotation"||Boolean(X&GG.TokenContext.arrowFlowReturnType)}function Xs(G,J){return lX(G,J)||cX(G,J)}function t7(G){return Boolean(G&(GG.TokenContext.expressionStatement|GG.TokenContext.arrowBody))}function Hs(G,J,X){return t7(X)}function Vs(G,J,X){return!G.async&&Boolean(X&GG.TokenContext.expressionStatement)}function n7(G,J){let X=J.type;if(G.type==="BinaryExpression"&&G.operator==="**"&&X==="BinaryExpression"&&J.operator==="**")return J.left===G;if(cX(G,J))return!0;if(lX(G,J)||X==="UnaryExpression"||X==="SpreadElement"||X==="AwaitExpression")return!0;let H=s7(J,X);if(H!=null){let V=s7(G,G.type);if(H===V&&X==="BinaryExpression"&&J.right===G||H>V)return!0}return}function Zs(G,J){let X=J.type;return X==="ArrayTypeAnnotation"||X==="NullableTypeAnnotation"||X==="IntersectionTypeAnnotation"||X==="UnionTypeAnnotation"}function Qs(G,J){return dr(J)&&J.objectType===G}function Ws(G,J){if((J.type==="AssignmentExpression"||J.type==="AssignmentPattern")&&J.left===G)return!0;if(J.type==="BinaryExpression"&&(J.operator==="|"||J.operator==="&")&&G===J.left)return!0;return n7(G,J)}function Ys(G,J){let X=J.type;return X==="TSArrayType"||X==="TSOptionalType"||X==="TSIntersectionType"||X==="TSRestType"}function zs(G,J){let X=J.type;return X==="TSArrayType"||X==="TSOptionalType"}function Ks(G,J){let X=J.type;return(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression"||X==="TSInstantiationExpression")&&!!J.typeParameters}function Us(G,J,X,H){return G.operator==="in"&&H}function Rs(G,J){let X=J.type;if(X==="SequenceExpression"||X==="ParenthesizedExpression"||X==="MemberExpression"&&J.property===G||X==="OptionalMemberExpression"&&J.property===G||X==="TemplateLiteral")return!1;if(X==="ClassDeclaration")return!0;if(X==="ForOfStatement")return J.right===G;if(X==="ExportDefaultDeclaration")return!0;return!er(J)}function Bs(G,J){let X=J.type;return X==="BinaryExpression"||X==="LogicalExpression"||X==="UnaryExpression"||X==="SpreadElement"||lX(G,J)||X==="AwaitExpression"&&or(G)||X==="ConditionalExpression"&&G===J.test||cX(G,J)||i9(X)}function Ms(G,J,X){return Boolean(X&(GG.TokenContext.expressionStatement|GG.TokenContext.exportDefault))}function o7(G,J){return lX(G,J)||pr(J)&&J.operator==="**"&&J.left===G||cX(G,J)}function $s(G,J,X){return Boolean(X&(GG.TokenContext.expressionStatement|GG.TokenContext.exportDefault))}function e7(G,J){let X=J.type;if(X==="UnaryExpression"||X==="SpreadElement"||X==="BinaryExpression"||X==="LogicalExpression"||X==="ConditionalExpression"&&J.test===G||X==="AwaitExpression"||i9(X))return!0;return o7(G,J)}function Fs(G,J){return rr(J)&&J.callee===G||d7(J)&&J.object===G}function qs(G,J,X){if(t7(X)&&tr(G.left))return!0;else return e7(G,J)}function js(G,J){let X=J.type;if(i9(X))return!0;if(X!=="LogicalExpression")return!1;switch(G.operator){case"||":return J.operator==="??"||J.operator==="&&";case"&&":return J.operator==="??";case"??":return J.operator!=="??"}}function Os(G,J,X,H,V){var Z;let Q=J.type;if((Z=G.extra)!=null&&Z.parenthesized&&Q==="AssignmentExpression"&&J.left===G){let W=J.right.type;if((W==="FunctionExpression"||W==="ClassExpression")&&J.right.id==null)return!0}if(V&&V(G)!==G.name)return!1;if(G.name==="let"){if((d7(J,{object:G,computed:!0})||nr(J,{object:G,computed:!0,optional:!1}))&&X&(GG.TokenContext.expressionStatement|GG.TokenContext.forHead|GG.TokenContext.forInHead))return!0;return Boolean(X&GG.TokenContext.forOfHead)}return G.name==="async"&&sr(J,{left:G,await:!1})}});var EG=f((Z5)=>{Object.defineProperty(Z5,"__esModule",{value:!0});Z5.TokenContext=void 0;Z5.isLastChild=Vd;Z5.needsParens=Hd;Z5.needsWhitespace=p9;Z5.needsWhitespaceAfter=Xd;Z5.needsWhitespaceBefore=Jd;var ls=p7(),is=J5(),as=W1(),{FLIPPED_ALIAS_KEYS:ps,VISITOR_KEYS:rs,isCallExpression:X5,isDecorator:ss,isExpressionStatement:ds,isMemberExpression:ts,isNewExpression:ns,isParenthesizedExpression:os}=as,iM1=Z5.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function H5(G){let J=new Map;function X(H,V){let Z=J.get(H);J.set(H,Z?function(Q,W,Y,z,U){var q;return(q=Z(Q,W,Y,z,U))!=null?q:V(Q,W,Y,z,U)}:V)}for(let H of Object.keys(G)){let V=ps[H];if(V)for(let Z of V)X(Z,G[H]);else X(H,G[H])}return J}var es=H5(is),Gd=H5(ls.nodes);function V5(G){if(X5(G))return!0;return ts(G)&&V5(G.object)}function p9(G,J,X){var H;if(!G)return!1;if(ds(G))G=G.expression;let V=(H=Gd.get(G.type))==null?void 0:H(G,J);if(typeof V==="number")return(V&X)!==0;return!1}function Jd(G,J){return p9(G,J,1)}function Xd(G,J){return p9(G,J,2)}function Hd(G,J,X,H,V){var Z;if(!J)return!1;if(ns(J)&&J.callee===G){if(V5(G))return!0}if(ss(J))return!a9(G)&&!(X5(G)&&a9(G.callee))&&!os(G);return(Z=es.get(G.type))==null?void 0:Z(G,J,X,H,V)}function a9(G){switch(G.type){case"Identifier":return!0;case"MemberExpression":return!G.computed&&G.property.type==="Identifier"&&a9(G.object);default:return!1}}function Vd(G,J){let X=rs[G.type];for(let H=X.length-1;H>=0;H--){let V=G[X[H]];if(V===J)return!0;else if(Array.isArray(V)){let Z=V.length-1;while(Z>=0&&V[Z]===null)Z--;return Z>=0&&V[Z]===J}else if(V)return!1}return!1}});var K5=f((Y5)=>{Object.defineProperty(Y5,"__esModule",{value:!0});Y5.TokenMap=void 0;var Kd=W1(),{traverseFast:Ud,VISITOR_KEYS:Rd}=Kd;class W5{constructor(G,J,X){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=J,this._source=X,Ud(G,(H)=>{let V=this._getTokensIndexesOfNode(H);if(V.length>0)this._nodesToTokenIndexes.set(H,V)}),this._tokensCache=null}has(G){return this._nodesToTokenIndexes.has(G)}getIndexes(G){return this._nodesToTokenIndexes.get(G)}find(G,J){let X=this._nodesToTokenIndexes.get(G);if(X)for(let H=0;H<X.length;H++){let V=X[H],Z=this._tokens[V];if(J(Z,V))return Z}return null}findLastIndex(G,J){let X=this._nodesToTokenIndexes.get(G);if(X)for(let H=X.length-1;H>=0;H--){let V=X[H],Z=this._tokens[V];if(J(Z,V))return V}return-1}findMatching(G,J,X=0){let H=this._nodesToTokenIndexes.get(G);if(H){let V=0,Z=X;if(Z>1){let Q=this._nodesOccurrencesCountCache.get(G);if(Q&&Q.test===J&&Q.count<Z)V=Q.i+1,X-=Q.count+1}for(;V<H.length;V++){let Q=this._tokens[H[V]];if(this.matchesOriginal(Q,J)){if(X===0){if(Z>0)this._nodesOccurrencesCountCache.set(G,{test:J,count:Z,i:V});return Q}X--}}}return null}matchesOriginal(G,J){if(G.end-G.start!==J.length)return!1;if(G.value!=null)return G.value===J;return this._source.startsWith(J,G.start)}startMatches(G,J){let X=this._nodesToTokenIndexes.get(G);if(!X)return!1;let H=this._tokens[X[0]];if(H.start!==G.start)return!1;return this.matchesOriginal(H,J)}endMatches(G,J){let X=this._nodesToTokenIndexes.get(G);if(!X)return!1;let H=this._tokens[X[X.length-1]];if(H.end!==G.end)return!1;return this.matchesOriginal(H,J)}_getTokensIndexesOfNode(G){if(G.start==null||G.end==null)return[];let{first:J,last:X}=this._findTokensOfNode(G,0,this._tokens.length-1),H=J,V=Bd(G);if((G.type==="ExportNamedDeclaration"||G.type==="ExportDefaultDeclaration")&&G.declaration&&G.declaration.type==="ClassDeclaration")V.next();let Z=[];for(let Q of V){if(Q==null)continue;if(Q.start==null||Q.end==null)continue;let W=this._findTokensOfNode(Q,H,X),Y=W.first;for(let z=H;z<Y;z++)Z.push(z);H=W.last+1}for(let Q=H;Q<=X;Q++)Z.push(Q);return Z}_findTokensOfNode(G,J,X){let H=this._tokensCache.get(G);if(H)return H;let V=this._findFirstTokenOfNode(G.start,J,X),Z=this._findLastTokenOfNode(G.end,V,X);return this._tokensCache.set(G,{first:V,last:Z}),{first:V,last:Z}}_findFirstTokenOfNode(G,J,X){while(J<=X){let H=X+J>>1;if(G<this._tokens[H].start)X=H-1;else if(G>this._tokens[H].start)J=H+1;else return H}return J}_findLastTokenOfNode(G,J,X){while(J<=X){let H=X+J>>1;if(G<this._tokens[H].end)X=H-1;else if(G>this._tokens[H].end)J=H+1;else return H}return X}}Y5.TokenMap=W5;function*Bd(G){if(G.type==="TemplateLiteral"){yield G.quasis[0];for(let X=1;X<G.quasis.length;X++)yield G.expressions[X-1],yield G.quasis[X];return}let J=Rd[G.type];for(let X of J){let H=G[X];if(!H)continue;if(Array.isArray(H))yield*H;else yield H}}});var R5=f((U5)=>{Object.defineProperty(U5,"__esModule",{value:!0});U5.TaggedTemplateExpression=Md;U5.TemplateElement=$d;U5.TemplateLiteral=Fd;function Md(G){this.print(G.tag),this.print(G.typeParameters),this.print(G.quasi)}function $d(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function Fd(G){let J=G.quasis,X="`";for(let H=0;H<J.length;H++)if(X+=J[H].value.raw,H+1<J.length){if(this.token(X+"${",!0),this.print(G.expressions[H]),X="}",this.tokenMap){let V=this.tokenMap.findMatching(G,"}",H);if(V)this._catchUpTo(V.loc.start)}}this.token(X+"`",!0)}});var $5=f((M5)=>{Object.defineProperty(M5,"__esModule",{value:!0});M5.LogicalExpression=M5.BinaryExpression=M5.AssignmentExpression=ad;M5.AssignmentPattern=id;M5.AwaitExpression=xd;M5.BindExpression=pd;M5.CallExpression=ud;M5.ConditionalExpression=wd;M5.Decorator=gd;M5.DoExpression=Pd;M5.EmptyStatement=cd;M5.ExpressionStatement=ld;M5.Import=yd;M5.MemberExpression=rd;M5.MetaProperty=sd;M5.ModuleExpression=nd;M5.NewExpression=Ld;M5.OptionalCallExpression=hd;M5.OptionalMemberExpression=_d;M5.ParenthesizedExpression=Nd;M5.PrivateName=dd;M5.SequenceExpression=bd;M5.Super=vd;M5.ThisExpression=kd;M5.UnaryExpression=Id;M5.UpdateExpression=Td;M5.V8IntrinsicIdentifier=td;M5.YieldExpression=md;M5._shouldPrintDecoratorsBeforeExport=Ed;var Ad=W1(),Cd=EG(),{isCallExpression:Dd,isLiteral:B5,isMemberExpression:r9,isNewExpression:Sd,isPattern:fd}=Ad;function Id(G){let{operator:J}=G;if(J==="void"||J==="delete"||J==="typeof"||J==="throw")this.word(J),this.space();else this.token(J);this.print(G.argument)}function Pd(G){if(G.async)this.word("async",!0),this.space();this.word("do"),this.space(),this.print(G.body)}function Nd(G){this.tokenChar(40);let J=this.enterDelimited();this.print(G.expression),J(),this.rightParens(G)}function Td(G){if(G.prefix)this.token(G.operator),this.print(G.argument);else this.print(G.argument,!0),this.token(G.operator)}function wd(G){this.print(G.test),this.space(),this.tokenChar(63),this.space(),this.print(G.consequent),this.space(),this.tokenChar(58),this.space(),this.print(G.alternate)}function Ld(G,J){if(this.word("new"),this.space(),this.print(G.callee),this.format.minified&&G.arguments.length===0&&!G.optional&&!Dd(J,{callee:G})&&!r9(J)&&!Sd(J))return;if(this.print(G.typeArguments),this.print(G.typeParameters),G.optional)this.token("?.");if(G.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(G,")"))return;this.tokenChar(40);let X=this.enterDelimited();this.printList(G.arguments,this.shouldPrintTrailingComma(")")),X(),this.rightParens(G)}function bd(G){this.printList(G.expressions)}function kd(){this.word("this")}function vd(){this.word("super")}function Ed(G){if(typeof this.format.decoratorsBeforeExport==="boolean")return this.format.decoratorsBeforeExport;return typeof G.start==="number"&&G.start===G.declaration.start}function gd(G){this.tokenChar(64),this.print(G.expression),this.newline()}function _d(G){let{computed:J}=G,{optional:X,property:H}=G;if(this.print(G.object),!J&&r9(H))throw new TypeError("Got a MemberExpression for MemberExpression property");if(B5(H)&&typeof H.value==="number")J=!0;if(X)this.token("?.");if(J)this.tokenChar(91),this.print(H),this.tokenChar(93);else{if(!X)this.tokenChar(46);this.print(H)}}function hd(G){if(this.print(G.callee),this.print(G.typeParameters),G.optional)this.token("?.");this.print(G.typeArguments),this.tokenChar(40);let J=this.enterDelimited();this.printList(G.arguments),J(),this.rightParens(G)}function ud(G){this.print(G.callee),this.print(G.typeArguments),this.print(G.typeParameters),this.tokenChar(40);let J=this.enterDelimited();this.printList(G.arguments,this.shouldPrintTrailingComma(")")),J(),this.rightParens(G)}function yd(){this.word("import")}function xd(G){if(this.word("await"),G.argument)this.space(),this.printTerminatorless(G.argument)}function md(G){if(this.word("yield",!0),G.delegate){if(this.tokenChar(42),G.argument)this.space(),this.print(G.argument)}else if(G.argument)this.space(),this.printTerminatorless(G.argument)}function cd(){this.semicolon(!0)}function ld(G){this.tokenContext|=Cd.TokenContext.expressionStatement,this.print(G.expression),this.semicolon()}function id(G){if(this.print(G.left),G.left.type==="Identifier"||fd(G.left)){if(G.left.optional)this.tokenChar(63);this.print(G.left.typeAnnotation)}this.space(),this.tokenChar(61),this.space(),this.print(G.right)}function ad(G){if(this.print(G.left),this.space(),G.operator==="in"||G.operator==="instanceof")this.word(G.operator);else this.token(G.operator),this._endsWithDiv=G.operator==="/";this.space(),this.print(G.right)}function pd(G){this.print(G.object),this.token("::"),this.print(G.callee)}function rd(G){if(this.print(G.object),!G.computed&&r9(G.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let J=G.computed;if(B5(G.property)&&typeof G.property.value==="number")J=!0;if(J){let X=this.enterDelimited();this.tokenChar(91),this.print(G.property),this.tokenChar(93),X()}else this.tokenChar(46),this.print(G.property)}function sd(G){this.print(G.meta),this.tokenChar(46),this.print(G.property)}function dd(G){this.tokenChar(35),this.print(G.id)}function td(G){this.tokenChar(37),this.word(G.name)}function nd(G){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:J}=G;if(J.body.length||J.directives.length)this.newline();this.print(J),this.dedent(),this.rightBrace(G)}});var C5=f((O5)=>{Object.defineProperty(O5,"__esModule",{value:!0});O5.BreakStatement=Et;O5.CatchClause=xt;O5.ContinueStatement=gt;O5.DebuggerStatement=lt;O5.DoWhileStatement=vt;O5.ForOfStatement=O5.ForInStatement=void 0;O5.ForStatement=bt;O5.IfStatement=Lt;O5.LabeledStatement=ut;O5.ReturnStatement=_t;O5.SwitchCase=ct;O5.SwitchStatement=mt;O5.ThrowStatement=ht;O5.TryStatement=yt;O5.VariableDeclaration=it;O5.VariableDeclarator=at;O5.WhileStatement=kt;O5.WithStatement=wt;var It=W1(),s9=EG(),{isFor:F5,isForStatement:Pt,isIfStatement:Nt,isStatement:Tt}=It;function wt(G){this.word("with"),this.space(),this.tokenChar(40),this.print(G.object),this.tokenChar(41),this.printBlock(G)}function Lt(G){this.word("if"),this.space(),this.tokenChar(40),this.print(G.test),this.tokenChar(41),this.space();let J=G.alternate&&Nt(q5(G.consequent));if(J)this.tokenChar(123),this.newline(),this.indent();if(this.printAndIndentOnComments(G.consequent),J)this.dedent(),this.newline(),this.tokenChar(125);if(G.alternate){if(this.endsWith(125))this.space();this.word("else"),this.space(),this.printAndIndentOnComments(G.alternate)}}function q5(G){let{body:J}=G;if(Tt(J)===!1)return G;return q5(J)}function bt(G){this.word("for"),this.space(),this.tokenChar(40);{let J=this.enterForStatementInit();this.tokenContext|=s9.TokenContext.forHead,this.print(G.init),J()}if(this.tokenChar(59),G.test)this.space(),this.print(G.test);if(this.token(";",!1,1),G.update)this.space(),this.print(G.update);this.tokenChar(41),this.printBlock(G)}function kt(G){this.word("while"),this.space(),this.tokenChar(40),this.print(G.test),this.tokenChar(41),this.printBlock(G)}function j5(G){this.word("for"),this.space();let J=G.type==="ForOfStatement";if(J&&G.await)this.word("await"),this.space();this.noIndentInnerCommentsHere(),this.tokenChar(40);{let X=J?null:this.enterForStatementInit();this.tokenContext|=J?s9.TokenContext.forOfHead:s9.TokenContext.forInHead,this.print(G.left),X==null||X()}this.space(),this.word(J?"of":"in"),this.space(),this.print(G.right),this.tokenChar(41),this.printBlock(G)}var nM1=O5.ForInStatement=j5,oM1=O5.ForOfStatement=j5;function vt(G){this.word("do"),this.space(),this.print(G.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(G.test),this.tokenChar(41),this.semicolon()}function iX(G,J){if(J)G.space(),G.printTerminatorless(J);G.semicolon()}function Et(G){this.word("break"),iX(this,G.label)}function gt(G){this.word("continue"),iX(this,G.label)}function _t(G){this.word("return"),iX(this,G.argument)}function ht(G){this.word("throw"),iX(this,G.argument)}function ut(G){this.print(G.label),this.tokenChar(58),this.space(),this.print(G.body)}function yt(G){if(this.word("try"),this.space(),this.print(G.block),this.space(),G.handlers)this.print(G.handlers[0]);else this.print(G.handler);if(G.finalizer)this.space(),this.word("finally"),this.space(),this.print(G.finalizer)}function xt(G){if(this.word("catch"),this.space(),G.param)this.tokenChar(40),this.print(G.param),this.print(G.param.typeAnnotation),this.tokenChar(41),this.space();this.print(G.body)}function mt(G){this.word("switch"),this.space(),this.tokenChar(40),this.print(G.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(G.cases,!0,void 0,function J(X,H){if(!X&&G.cases[G.cases.length-1]===H)return-1}),this.rightBrace(G)}function ct(G){if(G.test)this.word("case"),this.space(),this.print(G.test),this.tokenChar(58);else this.word("default"),this.tokenChar(58);if(G.consequent.length)this.newline(),this.printSequence(G.consequent,!0)}function lt(){this.word("debugger"),this.semicolon()}function it(G,J){if(G.declare)this.word("declare"),this.space();let{kind:X}=G;if(X==="await using")this.word("await"),this.space(),this.word("using",!0);else this.word(X,X==="using");this.space();let H=!1;if(!F5(J)){for(let V of G.declarations)if(V.init)H=!0}if(this.printList(G.declarations,void 0,void 0,G.declarations.length>1,H?function(V){this.token(",",!1,V),this.newline()}:void 0),F5(J)){if(Pt(J)){if(J.init===G)return}else if(J.left===G)return}this.semicolon()}function at(G){if(this.print(G.id),G.definite)this.tokenChar(33);if(this.print(G.id.typeAnnotation),G.init)this.space(),this.tokenChar(61),this.space(),this.print(G.init)}});var S5=f((D5)=>{Object.defineProperty(D5,"__esModule",{value:!0});D5.ClassAccessorProperty=qn;D5.ClassBody=Mn;D5.ClassExpression=D5.ClassDeclaration=Bn;D5.ClassMethod=On;D5.ClassPrivateMethod=An;D5.ClassPrivateProperty=jn;D5.ClassProperty=Fn;D5.StaticBlock=Dn;D5._classMethodHead=Cn;var Kn=W1(),{isExportDefaultDeclaration:Un,isExportNamedDeclaration:Rn}=Kn;function Bn(G,J){if(!(Un(J)||Rn(J))||!this._shouldPrintDecoratorsBeforeExport(J))this.printJoin(G.decorators);if(G.declare)this.word("declare"),this.space();if(G.abstract)this.word("abstract"),this.space();if(this.word("class"),G.id)this.space(),this.print(G.id);if(this.print(G.typeParameters),G.superClass)this.space(),this.word("extends"),this.space(),this.print(G.superClass),this.print(G.superTypeParameters);if(G.implements)this.space(),this.word("implements"),this.space(),this.printList(G.implements);this.space(),this.print(G.body)}function Mn(G){if(this.tokenChar(123),G.body.length===0)this.tokenChar(125);else{this.newline();let J=$n(this,G);J==null||J(-1);let X=this.enterDelimited();if(this.printJoin(G.body,!0,!0,J,!0),X(),!this.endsWith(10))this.newline();this.rightBrace(G)}}function $n(G,J){if(!G.tokenMap||J.start==null||J.end==null)return null;let X=G.tokenMap.getIndexes(J);if(!X)return null;let H=1,V=0,Z=0,Q=()=>{while(Z<J.body.length&&J.body[Z].start==null)Z++};return Q(),(W)=>{if(Z<=W)Z=W+1,Q();let Y=Z===J.body.length?J.end:J.body[Z].start,z;while(H<X.length&&G.tokenMap.matchesOriginal(z=G._tokens[X[H]],";")&&z.start<Y)G.token(";",void 0,V++),H++}}function Fn(G){if(this.printJoin(G.decorators),!G.static&&!this.format.preserveFormat){var J;let X=(J=G.key.loc)==null||(J=J.end)==null?void 0:J.line;if(X)this.catchUp(X)}if(this.tsPrintClassMemberModifiers(G),G.computed)this.tokenChar(91),this.print(G.key),this.tokenChar(93);else this._variance(G),this.print(G.key);if(G.optional)this.tokenChar(63);if(G.definite)this.tokenChar(33);if(this.print(G.typeAnnotation),G.value)this.space(),this.tokenChar(61),this.space(),this.print(G.value);this.semicolon()}function qn(G){var J;this.printJoin(G.decorators);let X=(J=G.key.loc)==null||(J=J.end)==null?void 0:J.line;if(X)this.catchUp(X);if(this.tsPrintClassMemberModifiers(G),this.word("accessor",!0),this.space(),G.computed)this.tokenChar(91),this.print(G.key),this.tokenChar(93);else this._variance(G),this.print(G.key);if(G.optional)this.tokenChar(63);if(G.definite)this.tokenChar(33);if(this.print(G.typeAnnotation),G.value)this.space(),this.tokenChar(61),this.space(),this.print(G.value);this.semicolon()}function jn(G){if(this.printJoin(G.decorators),G.static)this.word("static"),this.space();if(this.print(G.key),this.print(G.typeAnnotation),G.value)this.space(),this.tokenChar(61),this.space(),this.print(G.value);this.semicolon()}function On(G){this._classMethodHead(G),this.space(),this.print(G.body)}function An(G){this._classMethodHead(G),this.space(),this.print(G.body)}function Cn(G){if(this.printJoin(G.decorators),!this.format.preserveFormat){var J;let X=(J=G.key.loc)==null||(J=J.end)==null?void 0:J.line;if(X)this.catchUp(X)}this.tsPrintClassMemberModifiers(G),this._methodHead(G)}function Dn(G){if(this.word("static"),this.space(),this.tokenChar(123),G.body.length===0)this.tokenChar(125);else this.newline(),this.printSequence(G.body,!0),this.rightBrace(G)}});var I5=f((f5)=>{Object.defineProperty(f5,"__esModule",{value:!0});f5.ArrowFunctionExpression=cn;f5.FunctionDeclaration=f5.FunctionExpression=mn;f5._functionHead=xn;f5._methodHead=un;f5._param=hn;f5._parameters=_n;f5._params=gn;f5._predicate=yn;f5._shouldPrintArrowParamsParens=ln;var kn=W1(),vn=EG(),{isIdentifier:En}=kn;function gn(G,J,X){this.print(G.typeParameters);let H=an.call(this,J,X);if(H)this.sourceIdentifierName(H.name,H.pos);this.tokenChar(40),this._parameters(G.params,")");let V=G.type==="ArrowFunctionExpression";this.print(G.returnType,V),this._noLineTerminator=V}function _n(G,J){let X=this.enterDelimited(),H=this.shouldPrintTrailingComma(J),V=G.length;for(let Z=0;Z<V;Z++)if(this._param(G[Z]),H||Z<V-1)this.token(",",null,Z),this.space();this.token(J),X()}function hn(G){if(this.printJoin(G.decorators),this.print(G),G.optional)this.tokenChar(63);this.print(G.typeAnnotation)}function un(G){let{kind:J,key:X}=G;if(J==="get"||J==="set")this.word(J),this.space();if(G.async)this.word("async",!0),this.space();if(J==="method"||J==="init"){if(G.generator)this.tokenChar(42)}if(G.computed)this.tokenChar(91),this.print(X),this.tokenChar(93);else this.print(X);if(G.optional)this.tokenChar(63);this._params(G,G.computed&&G.key.type!=="StringLiteral"?void 0:G.key,void 0)}function yn(G,J){if(G.predicate){if(!G.returnType)this.tokenChar(58);this.space(),this.print(G.predicate,J)}}function xn(G,J){if(G.async){if(this.word("async"),!this.format.preserveFormat)this._endsWithInnerRaw=!1;this.space()}if(this.word("function"),G.generator){if(!this.format.preserveFormat)this._endsWithInnerRaw=!1;this.tokenChar(42)}if(this.space(),G.id)this.print(G.id);if(this._params(G,G.id,J),G.type!=="TSDeclareFunction")this._predicate(G)}function mn(G,J){this._functionHead(G,J),this.space(),this.print(G.body)}function cn(G,J){if(G.async)this.word("async",!0),this.space();if(this._shouldPrintArrowParamsParens(G))this._params(G,void 0,J);else this.print(G.params[0],!0);this._predicate(G,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=vn.TokenContext.arrowBody,this.print(G.body)}function ln(G){var J,X;if(G.params.length!==1)return!0;if(G.typeParameters||G.returnType||G.predicate)return!0;let H=G.params[0];if(!En(H)||H.typeAnnotation||H.optional||(J=H.leadingComments)!=null&&J.length||(X=H.trailingComments)!=null&&X.length)return!0;if(this.tokenMap){if(G.loc==null)return!0;if(this.tokenMap.findMatching(G,"(")!==null)return!0;let V=this.tokenMap.findMatching(G,"=>");if((V==null?void 0:V.loc)==null)return!0;return V.loc.start.line!==G.loc.start.line}if(this.format.retainLines)return!0;return!1}function an(G,J){let X=G;if(!X&&J){let Y=J.type;if(Y==="VariableDeclarator")X=J.id;else if(Y==="AssignmentExpression"||Y==="AssignmentPattern")X=J.left;else if(Y==="ObjectProperty"||Y==="ClassProperty"){if(!J.computed||J.key.type==="StringLiteral")X=J.key}else if(Y==="ClassPrivateProperty"||Y==="ClassAccessorProperty")X=J.key}if(!X)return;let H;if(X.type==="Identifier"){var V,Z;H={pos:(V=X.loc)==null?void 0:V.start,name:((Z=X.loc)==null?void 0:Z.identifierName)||X.name}}else if(X.type==="PrivateName"){var Q;H={pos:(Q=X.loc)==null?void 0:Q.start,name:"#"+X.id.name}}else if(X.type==="StringLiteral"){var W;H={pos:(W=X.loc)==null?void 0:W.start,name:X.value}}return H}});var d9=f((w5)=>{Object.defineProperty(w5,"__esModule",{value:!0});w5.ExportAllDeclaration=Mo;w5.ExportDefaultDeclaration=Fo;w5.ExportDefaultSpecifier=Ko;w5.ExportNamedDeclaration=$o;w5.ExportNamespaceSpecifier=Ro;w5.ExportSpecifier=Uo;w5.ImportAttribute=jo;w5.ImportDeclaration=qo;w5.ImportDefaultSpecifier=zo;w5.ImportExpression=Ao;w5.ImportNamespaceSpecifier=Oo;w5.ImportSpecifier=Yo;w5._printAttributes=Bo;var Jo=W1(),Xo=EG(),{isClassDeclaration:Ho,isExportDefaultSpecifier:Vo,isExportNamespaceSpecifier:Zo,isImportDefaultSpecifier:Qo,isImportNamespaceSpecifier:Wo,isStatement:N5}=Jo;function Yo(G){if(G.importKind==="type"||G.importKind==="typeof")this.word(G.importKind),this.space();if(this.print(G.imported),G.local&&G.local.name!==G.imported.name)this.space(),this.word("as"),this.space(),this.print(G.local)}function zo(G){this.print(G.local)}function Ko(G){this.print(G.exported)}function Uo(G){if(G.exportKind==="type")this.word("type"),this.space();if(this.print(G.local),G.exported&&G.local.name!==G.exported.name)this.space(),this.word("as"),this.space(),this.print(G.exported)}function Ro(G){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(G.exported)}var P5=!1;function Bo(G,J){let{importAttributesKeyword:X}=this.format,{attributes:H,assertions:V}=G;if(H&&!X&&!P5)P5=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n');let Z=X==="assert"||!X&&V;if(this.word(Z?"assert":"with"),this.space(),!Z&&X!=="with"){this.printList(H||V);return}let Q=J?1:0;this.token("{",null,Q),this.space(),this.printList(H||V,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,Q)}function Mo(G){var J,X;if(this.word("export"),this.space(),G.exportKind==="type")this.word("type"),this.space();if(this.tokenChar(42),this.space(),this.word("from"),this.space(),(J=G.attributes)!=null&&J.length||(X=G.assertions)!=null&&X.length)this.print(G.source,!0),this.space(),this._printAttributes(G,!1);else this.print(G.source);this.semicolon()}function T5(G,J){if(Ho(J.declaration)&&G._shouldPrintDecoratorsBeforeExport(J))G.printJoin(J.declaration.decorators)}function $o(G){if(T5(this,G),this.word("export"),this.space(),G.declaration){let H=G.declaration;if(this.print(H),!N5(H))this.semicolon()}else{if(G.exportKind==="type")this.word("type"),this.space();let H=G.specifiers.slice(0),V=!1;for(;;){let Q=H[0];if(Vo(Q)||Zo(Q)){if(V=!0,this.print(H.shift()),H.length)this.tokenChar(44),this.space()}else break}let Z=!1;if(H.length||!H.length&&!V){if(Z=!0,this.tokenChar(123),H.length)this.space(),this.printList(H,this.shouldPrintTrailingComma("}")),this.space();this.tokenChar(125)}if(G.source){var J,X;if(this.space(),this.word("from"),this.space(),(J=G.attributes)!=null&&J.length||(X=G.assertions)!=null&&X.length)this.print(G.source,!0),this.space(),this._printAttributes(G,Z);else this.print(G.source)}this.semicolon()}}function Fo(G){T5(this,G),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=Xo.TokenContext.exportDefault;let J=G.declaration;if(this.print(J),!N5(J))this.semicolon()}function qo(G){var J,X;this.word("import"),this.space();let H=G.importKind==="type"||G.importKind==="typeof";if(H)this.noIndentInnerCommentsHere(),this.word(G.importKind),this.space();else if(G.module)this.noIndentInnerCommentsHere(),this.word("module"),this.space();else if(G.phase)this.noIndentInnerCommentsHere(),this.word(G.phase),this.space();let V=G.specifiers.slice(0),Z=!!V.length;while(Z){let W=V[0];if(Qo(W)||Wo(W)){if(this.print(V.shift()),V.length)this.tokenChar(44),this.space()}else break}let Q=!1;if(V.length)Q=!0,this.tokenChar(123),this.space(),this.printList(V,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125);else if(H&&!Z)Q=!0,this.tokenChar(123),this.tokenChar(125);if(Z||H)this.space(),this.word("from"),this.space();if((J=G.attributes)!=null&&J.length||(X=G.assertions)!=null&&X.length)this.print(G.source,!0),this.space(),this._printAttributes(G,Q);else this.print(G.source);this.semicolon()}function jo(G){this.print(G.key),this.tokenChar(58),this.space(),this.print(G.value)}function Oo(G){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(G.local)}function Ao(G){if(this.word("import"),G.phase)this.tokenChar(46),this.word(G.phase);if(this.tokenChar(40),this.print(G.source),G.options!=null)this.tokenChar(44),this.space(),this.print(G.options);this.tokenChar(41)}});var v5=f((Z$1,k5)=>{var L5={},Eo=L5.hasOwnProperty,b5=(G,J)=>{for(let X in G)if(Eo.call(G,X))J(X,G[X])},go=(G,J)=>{if(!J)return G;return b5(J,(X,H)=>{G[X]=H}),G},_o=(G,J)=>{let X=G.length,H=-1;while(++H<X)J(G[H])},aX=(G)=>{return"\\u"+("0000"+G).slice(-4)},rJ=(G,J)=>{let X=G.toString(16);if(J)return X;return X.toUpperCase()},sJ=L5.toString,ho=Array.isArray,uo=(G)=>{return typeof Buffer==="function"&&Buffer.isBuffer(G)},yo=(G)=>{return sJ.call(G)=="[object Object]"},xo=(G)=>{return typeof G=="string"||sJ.call(G)=="[object String]"},mo=(G)=>{return typeof G=="number"||sJ.call(G)=="[object Number]"},t9=(G)=>{return typeof G=="bigint"},co=(G)=>{return typeof G=="function"},lo=(G)=>{return sJ.call(G)=="[object Map]"},io=(G)=>{return sJ.call(G)=="[object Set]"},ao={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},po=/[\\\b\f\n\r\t]/,ro=/[0-9]/,so=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,to=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,no=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,gG=(G,J)=>{let X=()=>{z=Y,++J.indentLevel,Y=J.indent.repeat(J.indentLevel)},H={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},V=J&&J.json;if(V)H.quotes="double",H.wrap=!0;if(J=go(H,J),J.quotes!="single"&&J.quotes!="double"&&J.quotes!="backtick")J.quotes="single";let Z=J.quotes=="double"?'"':J.quotes=="backtick"?"`":"'",Q=J.compact,W=J.lowercaseHex,Y=J.indent.repeat(J.indentLevel),z="",U=J.__inline1__,q=J.__inline2__,A=Q?"":`
12
+ `,C,D=!0,L=J.numbers=="binary",P=J.numbers=="octal",w=J.numbers=="decimal",b=J.numbers=="hexadecimal";if(V&&G&&co(G.toJSON))G=G.toJSON();if(!xo(G)){if(lo(G)){if(G.size==0)return"new Map()";if(!Q)J.__inline1__=!0,J.__inline2__=!1;return"new Map("+gG(Array.from(G),J)+")"}if(io(G)){if(G.size==0)return"new Set()";return"new Set("+gG(Array.from(G),J)+")"}if(uo(G)){if(G.length==0)return"Buffer.from([])";return"Buffer.from("+gG(Array.from(G),J)+")"}if(ho(G)){if(C=[],J.wrap=!0,U)J.__inline1__=!1,J.__inline2__=!0;if(!q)X();if(_o(G,(r)=>{if(D=!1,q)J.__inline2__=!1;C.push((Q||q?"":Y)+gG(r,J))}),D)return"[]";if(q)return"["+C.join(", ")+"]";return"["+A+C.join(","+A)+A+(Q?"":z)+"]"}else if(mo(G)||t9(G)){if(V)return JSON.stringify(Number(G));let r;if(w)r=String(G);else if(b){let H1=G.toString(16);if(!W)H1=H1.toUpperCase();r="0x"+H1}else if(L)r="0b"+G.toString(2);else if(P)r="0o"+G.toString(8);if(t9(G))return r+"n";return r}else if(t9(G)){if(V)return JSON.stringify(Number(G));return G+"n"}else if(!yo(G)){if(V)return JSON.stringify(G)||"null";return String(G)}else{if(C=[],J.wrap=!0,X(),b5(G,(r,H1)=>{D=!1,C.push((Q?"":Y)+gG(r,J)+":"+(Q?"":" ")+gG(H1,J))}),D)return"{}";return"{"+A+C.join(","+A)+A+(Q?"":z)+"}"}}let X1=J.escapeEverything?to:no;if(C=G.replace(X1,(r,H1,$1,L1,k1,y)=>{if(H1){if(J.minimal)return H1;let N=H1.charCodeAt(0),c=H1.charCodeAt(1);if(J.es6){let Z1=(N-55296)*1024+c-56320+65536;return"\\u{"+rJ(Z1,W)+"}"}return aX(rJ(N,W))+aX(rJ(c,W))}if($1)return aX(rJ($1.charCodeAt(0),W));if(r=="\x00"&&!V&&!ro.test(y.charAt(k1+1)))return"\\0";if(L1){if(L1==Z||J.escapeEverything)return"\\"+L1;return L1}if(po.test(r))return ao[r];if(J.minimal&&!so.test(r))return r;let x=rJ(r.charCodeAt(0),W);if(V||x.length>2)return aX(x);return"\\x"+("00"+x).slice(-2)}),Z=="`")C=C.replace(/\$\{/g,"\\${");if(J.isScriptContext)C=C.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,V?"\\u003C!--":"\\x3C!--");if(J.wrap)C=Z+C+Z;return C};gG.version="3.0.2";k5.exports=gG});var o9=f((h5)=>{Object.defineProperty(h5,"__esModule",{value:!0});h5.ArgumentPlaceholder=Xe;h5.ArrayPattern=h5.ArrayExpression=We;h5.BigIntLiteral=$e;h5.BooleanLiteral=Ue;h5.Identifier=Je;h5.NullLiteral=Re;h5.NumericLiteral=Be;h5.ObjectPattern=h5.ObjectExpression=Ve;h5.ObjectMethod=Ze;h5.ObjectProperty=Qe;h5.PipelineBareFunction=je;h5.PipelinePrimaryTopicReference=Oe;h5.PipelineTopicExpression=qe;h5.RecordExpression=Ye;h5.RegExpLiteral=Ke;h5.SpreadElement=h5.RestElement=He;h5.StringLiteral=Me;h5.TopicReference=Fe;h5.TupleExpression=ze;h5._getRawIdentifier=Ge;var oo=W1(),_5=v5(),{isAssignmentPattern:eo,isIdentifier:n9}=oo,E5=null,pX="";function Ge(G){if(G===E5)return pX;E5=G;let{name:J}=G,X=this.tokenMap.find(G,(H)=>H.value===J);if(X)return pX=this._originalCode.slice(X.start,X.end),pX;return pX=G.name}function Je(G){var J;this.sourceIdentifierName(((J=G.loc)==null?void 0:J.identifierName)||G.name),this.word(this.tokenMap?this._getRawIdentifier(G):G.name)}function Xe(){this.tokenChar(63)}function He(G){this.token("..."),this.print(G.argument)}function Ve(G){let J=G.properties;if(this.tokenChar(123),J.length){let X=this.enterDelimited();this.space(),this.printList(J,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),X()}this.sourceWithOffset("end",G.loc,-1),this.tokenChar(125)}function Ze(G){this.printJoin(G.decorators),this._methodHead(G),this.space(),this.print(G.body)}function Qe(G){if(this.printJoin(G.decorators),G.computed)this.tokenChar(91),this.print(G.key),this.tokenChar(93);else{if(eo(G.value)&&n9(G.key)&&G.key.name===G.value.left.name){this.print(G.value);return}if(this.print(G.key),G.shorthand&&n9(G.key)&&n9(G.value)&&G.key.name===G.value.name)return}this.tokenChar(58),this.space(),this.print(G.value)}function We(G){let J=G.elements,X=J.length;this.tokenChar(91);let H=this.enterDelimited();for(let V=0;V<J.length;V++){let Z=J[V];if(Z){if(V>0)this.space();if(this.print(Z),V<X-1||this.shouldPrintTrailingComma("]"))this.token(",",!1,V)}else this.token(",",!1,V)}H(),this.tokenChar(93)}function Ye(G){let J=G.properties,X,H;if(this.format.recordAndTupleSyntaxType==="bar")X="{|",H="|}";else if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);else X="#{",H="}";if(this.token(X),J.length)this.space(),this.printList(J,this.shouldPrintTrailingComma(H),!0,!0),this.space();this.token(H)}function ze(G){let J=G.elements,X=J.length,H,V;if(this.format.recordAndTupleSyntaxType==="bar")H="[|",V="|]";else if(this.format.recordAndTupleSyntaxType==="hash")H="#[",V="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(H);for(let Z=0;Z<J.length;Z++){let Q=J[Z];if(Q){if(Z>0)this.space();if(this.print(Q),Z<X-1||this.shouldPrintTrailingComma(V))this.token(",",!1,Z)}}this.token(V)}function Ke(G){this.word(`/${G.pattern}/${G.flags}`)}function Ue(G){this.word(G.value?"true":"false")}function Re(){this.word("null")}function Be(G){let J=this.getPossibleRaw(G),X=this.format.jsescOption,H=G.value,V=H+"";if(X.numbers)this.number(_5(H,X),H);else if(J==null)this.number(V,H);else if(this.format.minified)this.number(J.length<V.length?J:V,H);else this.number(J,H)}function Me(G){let J=this.getPossibleRaw(G);if(!this.format.minified&&J!==void 0){this.token(J);return}let X=_5(G.value,this.format.jsescOption);this.token(X)}function $e(G){let J=this.getPossibleRaw(G);if(!this.format.minified&&J!==void 0){this.word(J);return}this.word(G.value+"n")}var g5=new Set(["^^","@@","^","%","#"]);function Fe(){let{topicToken:G}=this.format;if(g5.has(G))this.token(G);else{let J=JSON.stringify(G),X=Array.from(g5,(H)=>JSON.stringify(H));throw new Error(`The "topicToken" generator option must be one of ${X.join(", ")} (${J} received instead).`)}}function qe(G){this.print(G.expression)}function je(G){this.print(G.callee)}function Oe(){this.tokenChar(35)}});var y5=f((tX)=>{Object.defineProperty(tX,"__esModule",{value:!0});tX.AnyTypeAnnotation=ie;tX.ArrayTypeAnnotation=ae;tX.BooleanLiteralTypeAnnotation=re;tX.BooleanTypeAnnotation=pe;tX.DeclareClass=de;tX.DeclareExportAllDeclaration=Q11;tX.DeclareExportDeclaration=Z11;tX.DeclareFunction=te;tX.DeclareInterface=ee;tX.DeclareModule=G11;tX.DeclareModuleExports=J11;tX.DeclareOpaqueType=H11;tX.DeclareTypeAlias=X11;tX.DeclareVariable=V11;tX.DeclaredPredicate=oe;tX.EmptyTypeAnnotation=T11;tX.EnumBooleanBody=Y11;tX.EnumBooleanMember=B11;tX.EnumDeclaration=W11;tX.EnumDefaultedMember=R11;tX.EnumNumberBody=z11;tX.EnumNumberMember=M11;tX.EnumStringBody=K11;tX.EnumStringMember=$11;tX.EnumSymbolBody=U11;tX.ExistsTypeAnnotation=q11;tX.FunctionTypeAnnotation=j11;tX.FunctionTypeParam=O11;tX.IndexedAccessType=e11;tX.InferredPredicate=ne;tX.InterfaceDeclaration=S11;tX.GenericTypeAnnotation=tX.ClassImplements=tX.InterfaceExtends=A11;tX.InterfaceTypeAnnotation=I11;tX.IntersectionTypeAnnotation=P11;tX.MixedTypeAnnotation=N11;tX.NullLiteralTypeAnnotation=se;tX.NullableTypeAnnotation=w11;Object.defineProperty(tX,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return u5.NumericLiteral}});tX.NumberTypeAnnotation=L11;tX.ObjectTypeAnnotation=x11;tX.ObjectTypeCallProperty=c11;tX.ObjectTypeIndexer=l11;tX.ObjectTypeInternalSlot=m11;tX.ObjectTypeProperty=i11;tX.ObjectTypeSpreadProperty=a11;tX.OpaqueType=y11;tX.OptionalIndexedAccessType=GG1;tX.QualifiedTypeIdentifier=p11;Object.defineProperty(tX,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return u5.StringLiteral}});tX.StringTypeAnnotation=b11;tX.SymbolTypeAnnotation=r11;tX.ThisTypeAnnotation=k11;tX.TupleTypeAnnotation=v11;tX.TypeAlias=g11;tX.TypeAnnotation=_11;tX.TypeCastExpression=t11;tX.TypeParameter=u11;tX.TypeParameterDeclaration=tX.TypeParameterInstantiation=h11;tX.TypeofTypeAnnotation=E11;tX.UnionTypeAnnotation=d11;tX.Variance=n11;tX.VoidTypeAnnotation=o11;tX._interfaceish=C11;tX._variance=D11;var xe=W1(),me=d9(),ce=EG(),u5=o9(),{isDeclareExportDeclaration:rX,isStatement:le}=xe;function ie(){this.word("any")}function ae(G){this.print(G.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function pe(){this.word("boolean")}function re(G){this.word(G.value?"true":"false")}function se(){this.word("null")}function de(G,J){if(!rX(J))this.word("declare"),this.space();this.word("class"),this.space(),this._interfaceish(G)}function te(G,J){if(!rX(J))this.word("declare"),this.space();if(this.word("function"),this.space(),this.print(G.id),this.print(G.id.typeAnnotation.typeAnnotation),G.predicate)this.space(),this.print(G.predicate);this.semicolon()}function ne(){this.tokenChar(37),this.word("checks")}function oe(G){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(G.value),this.tokenChar(41)}function ee(G){this.word("declare"),this.space(),this.InterfaceDeclaration(G)}function G11(G){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(G.id),this.space(),this.print(G.body)}function J11(G){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(G.typeAnnotation)}function X11(G){this.word("declare"),this.space(),this.TypeAlias(G)}function H11(G,J){if(!rX(J))this.word("declare"),this.space();this.OpaqueType(G)}function V11(G,J){if(!rX(J))this.word("declare"),this.space();this.word("var"),this.space(),this.print(G.id),this.print(G.id.typeAnnotation),this.semicolon()}function Z11(G){if(this.word("declare"),this.space(),this.word("export"),this.space(),G.default)this.word("default"),this.space();F11.call(this,G)}function Q11(G){this.word("declare"),this.space(),me.ExportAllDeclaration.call(this,G)}function W11(G){let{id:J,body:X}=G;this.word("enum"),this.space(),this.print(J),this.print(X)}function sX(G,J,X){if(X)G.space(),G.word("of"),G.space(),G.word(J);G.space()}function dX(G,J){let{members:X}=J;G.token("{"),G.indent(),G.newline();for(let H of X)G.print(H),G.newline();if(J.hasUnknownMembers)G.token("..."),G.newline();G.dedent(),G.token("}")}function Y11(G){let{explicitType:J}=G;sX(this,"boolean",J),dX(this,G)}function z11(G){let{explicitType:J}=G;sX(this,"number",J),dX(this,G)}function K11(G){let{explicitType:J}=G;sX(this,"string",J),dX(this,G)}function U11(G){sX(this,"symbol",!0),dX(this,G)}function R11(G){let{id:J}=G;this.print(J),this.tokenChar(44)}function e9(G,J){G.print(J.id),G.space(),G.token("="),G.space(),G.print(J.init),G.token(",")}function B11(G){e9(this,G)}function M11(G){e9(this,G)}function $11(G){e9(this,G)}function F11(G){if(G.declaration){let J=G.declaration;if(this.print(J),!le(J))this.semicolon()}else{if(this.tokenChar(123),G.specifiers.length)this.space(),this.printList(G.specifiers),this.space();if(this.tokenChar(125),G.source)this.space(),this.word("from"),this.space(),this.print(G.source);this.semicolon()}}function q11(){this.tokenChar(42)}function j11(G,J){if(this.print(G.typeParameters),this.tokenChar(40),G.this){if(this.word("this"),this.tokenChar(58),this.space(),this.print(G.this.typeAnnotation),G.params.length||G.rest)this.tokenChar(44),this.space()}if(this.printList(G.params),G.rest){if(G.params.length)this.tokenChar(44),this.space();this.token("..."),this.print(G.rest)}this.tokenChar(41);let X=J==null?void 0:J.type;if(X!=null&&(X==="ObjectTypeCallProperty"||X==="ObjectTypeInternalSlot"||X==="DeclareFunction"||X==="ObjectTypeProperty"&&J.method))this.tokenChar(58);else this.space(),this.token("=>");this.space(),this.print(G.returnType)}function O11(G){if(this.print(G.name),G.optional)this.tokenChar(63);if(G.name)this.tokenChar(58),this.space();this.print(G.typeAnnotation)}function A11(G){this.print(G.id),this.print(G.typeParameters,!0)}function C11(G){var J;if(this.print(G.id),this.print(G.typeParameters),(J=G.extends)!=null&&J.length)this.space(),this.word("extends"),this.space(),this.printList(G.extends);if(G.type==="DeclareClass"){var X,H;if((X=G.mixins)!=null&&X.length)this.space(),this.word("mixins"),this.space(),this.printList(G.mixins);if((H=G.implements)!=null&&H.length)this.space(),this.word("implements"),this.space(),this.printList(G.implements)}this.space(),this.print(G.body)}function D11(G){var J;let X=(J=G.variance)==null?void 0:J.kind;if(X!=null){if(X==="plus")this.tokenChar(43);else if(X==="minus")this.tokenChar(45)}}function S11(G){this.word("interface"),this.space(),this._interfaceish(G)}function f11(G){this.space(),this.token("&",!1,G),this.space()}function I11(G){var J;if(this.word("interface"),(J=G.extends)!=null&&J.length)this.space(),this.word("extends"),this.space(),this.printList(G.extends);this.space(),this.print(G.body)}function P11(G){this.printJoin(G.types,void 0,void 0,f11)}function N11(){this.word("mixed")}function T11(){this.word("empty")}function w11(G){this.tokenChar(63),this.print(G.typeAnnotation)}function L11(){this.word("number")}function b11(){this.word("string")}function k11(){this.word("this")}function v11(G){this.tokenChar(91),this.printList(G.types),this.tokenChar(93)}function E11(G){this.word("typeof"),this.space(),this.print(G.argument)}function g11(G){this.word("type"),this.space(),this.print(G.id),this.print(G.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(G.right),this.semicolon()}function _11(G,J){if(this.tokenChar(58),this.space(),J.type==="ArrowFunctionExpression")this.tokenContext|=ce.TokenContext.arrowFlowReturnType;else if(G.optional)this.tokenChar(63);this.print(G.typeAnnotation)}function h11(G){this.tokenChar(60),this.printList(G.params),this.tokenChar(62)}function u11(G){if(this._variance(G),this.word(G.name),G.bound)this.print(G.bound);if(G.default)this.space(),this.tokenChar(61),this.space(),this.print(G.default)}function y11(G){if(this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(G.id),this.print(G.typeParameters),G.supertype)this.tokenChar(58),this.space(),this.print(G.supertype);if(G.impltype)this.space(),this.tokenChar(61),this.space(),this.print(G.impltype);this.semicolon()}function x11(G){if(G.exact)this.token("{|");else this.tokenChar(123);let J=[...G.properties,...G.callProperties||[],...G.indexers||[],...G.internalSlots||[]];if(J.length)this.newline(),this.space(),this.printJoin(J,!0,!0,void 0,void 0,function X(H){if(H&&!J[0])return 1},()=>{if(J.length!==1||G.inexact)this.tokenChar(44),this.space()}),this.space();if(G.inexact){if(this.indent(),this.token("..."),J.length)this.newline();this.dedent()}if(G.exact)this.token("|}");else this.tokenChar(125)}function m11(G){if(G.static)this.word("static"),this.space();if(this.tokenChar(91),this.tokenChar(91),this.print(G.id),this.tokenChar(93),this.tokenChar(93),G.optional)this.tokenChar(63);if(!G.method)this.tokenChar(58),this.space();this.print(G.value)}function c11(G){if(G.static)this.word("static"),this.space();this.print(G.value)}function l11(G){if(G.static)this.word("static"),this.space();if(this._variance(G),this.tokenChar(91),G.id)this.print(G.id),this.tokenChar(58),this.space();this.print(G.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(G.value)}function i11(G){if(G.proto)this.word("proto"),this.space();if(G.static)this.word("static"),this.space();if(G.kind==="get"||G.kind==="set")this.word(G.kind),this.space();if(this._variance(G),this.print(G.key),G.optional)this.tokenChar(63);if(!G.method)this.tokenChar(58),this.space();this.print(G.value)}function a11(G){this.token("..."),this.print(G.argument)}function p11(G){this.print(G.qualification),this.tokenChar(46),this.print(G.id)}function r11(){this.word("symbol")}function s11(G){this.space(),this.token("|",!1,G),this.space()}function d11(G){this.printJoin(G.types,void 0,void 0,s11)}function t11(G){this.tokenChar(40),this.print(G.expression),this.print(G.typeAnnotation),this.tokenChar(41)}function n11(G){if(G.kind==="plus")this.tokenChar(43);else this.tokenChar(45)}function o11(){this.word("void")}function e11(G){this.print(G.objectType,!0),this.tokenChar(91),this.print(G.indexType),this.tokenChar(93)}function GG1(G){if(this.print(G.objectType),G.optional)this.token("?.");this.tokenChar(91),this.print(G.indexType),this.tokenChar(93)}});var m5=f((x5)=>{Object.defineProperty(x5,"__esModule",{value:!0});x5.BlockStatement=UJ1;x5.Directive=RJ1;x5.DirectiveLiteral=$J1;x5.File=zJ1;x5.InterpreterDirective=FJ1;x5.Placeholder=qJ1;x5.Program=KJ1;function zJ1(G){if(G.program)this.print(G.program.interpreter);this.print(G.program)}function KJ1(G){var J;this.noIndentInnerCommentsHere(),this.printInnerComments();let X=(J=G.directives)==null?void 0:J.length;if(X){var H;let V=G.body.length?2:1;if(this.printSequence(G.directives,void 0,V),!((H=G.directives[X-1].trailingComments)!=null&&H.length))this.newline(V)}this.printSequence(G.body)}function UJ1(G){var J;this.tokenChar(123);let X=this.enterDelimited(),H=(J=G.directives)==null?void 0:J.length;if(H){var V;let Z=G.body.length?2:1;if(this.printSequence(G.directives,!0,Z),!((V=G.directives[H-1].trailingComments)!=null&&V.length))this.newline(Z)}this.printSequence(G.body,!0),X(),this.rightBrace(G)}function RJ1(G){this.print(G.value),this.semicolon()}var BJ1=/(?:^|[^\\])(?:\\\\)*'/,MJ1=/(?:^|[^\\])(?:\\\\)*"/;function $J1(G){let J=this.getPossibleRaw(G);if(!this.format.minified&&J!==void 0){this.token(J);return}let{value:X}=G;if(!MJ1.test(X))this.token(`"${X}"`);else if(!BJ1.test(X))this.token(`'${X}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function FJ1(G){this.token(`#!${G.value}`),this.newline(1,!0)}function qJ1(G){if(this.token("%%"),this.print(G.name),this.token("%%"),G.expectedNode==="Statement")this.semicolon()}});var l5=f((c5)=>{Object.defineProperty(c5,"__esModule",{value:!0});c5.JSXAttribute=IJ1;c5.JSXClosingElement=_J1;c5.JSXClosingFragment=xJ1;c5.JSXElement=vJ1;c5.JSXEmptyExpression=hJ1;c5.JSXExpressionContainer=LJ1;c5.JSXFragment=uJ1;c5.JSXIdentifier=PJ1;c5.JSXMemberExpression=TJ1;c5.JSXNamespacedName=NJ1;c5.JSXOpeningElement=gJ1;c5.JSXOpeningFragment=yJ1;c5.JSXSpreadAttribute=wJ1;c5.JSXSpreadChild=bJ1;c5.JSXText=kJ1;function IJ1(G){if(this.print(G.name),G.value)this.tokenChar(61),this.print(G.value)}function PJ1(G){this.word(G.name)}function NJ1(G){this.print(G.namespace),this.tokenChar(58),this.print(G.name)}function TJ1(G){this.print(G.object),this.tokenChar(46),this.print(G.property)}function wJ1(G){this.tokenChar(123),this.token("..."),this.print(G.argument),this.rightBrace(G)}function LJ1(G){this.tokenChar(123),this.print(G.expression),this.rightBrace(G)}function bJ1(G){this.tokenChar(123),this.token("..."),this.print(G.expression),this.rightBrace(G)}function kJ1(G){let J=this.getPossibleRaw(G);if(J!==void 0)this.token(J,!0);else this.token(G.value,!0)}function vJ1(G){let J=G.openingElement;if(this.print(J),J.selfClosing)return;this.indent();for(let X of G.children)this.print(X);this.dedent(),this.print(G.closingElement)}function EJ1(){this.space()}function gJ1(G){this.tokenChar(60),this.print(G.name);{if(G.typeArguments)this.print(G.typeArguments);this.print(G.typeParameters)}if(G.attributes.length>0)this.space(),this.printJoin(G.attributes,void 0,void 0,EJ1);if(G.selfClosing)this.space(),this.tokenChar(47);this.tokenChar(62)}function _J1(G){this.tokenChar(60),this.tokenChar(47),this.print(G.name),this.tokenChar(62)}function hJ1(){this.printInnerComments()}function uJ1(G){this.print(G.openingFragment),this.indent();for(let J of G.children)this.print(J);this.dedent(),this.print(G.closingFragment)}function yJ1(){this.tokenChar(60),this.tokenChar(62)}function xJ1(){this.token("</"),this.tokenChar(62)}});var d5=f((s5)=>{Object.defineProperty(s5,"__esModule",{value:!0});s5.TSAnyKeyword=$X1;s5.TSArrayType=_X1;s5.TSSatisfiesExpression=s5.TSAsExpression=G01;s5.TSBigIntKeyword=FX1;s5.TSBooleanKeyword=AX1;s5.TSCallSignatureDeclaration=zX1;s5.TSInterfaceHeritage=s5.TSClassImplements=tX1;s5.TSConditionalType=lX1;s5.TSConstructSignatureDeclaration=KX1;s5.TSConstructorType=LX1;s5.TSDeclareFunction=QX1;s5.TSDeclareMethod=WX1;s5.TSEnumBody=r5;s5.TSEnumDeclaration=H01;s5.TSEnumMember=V01;s5.TSExportAssignment=U01;s5.TSExternalModuleReference=z01;s5.TSFunctionType=wX1;s5.TSImportEqualsDeclaration=Y01;s5.TSImportType=W01;s5.TSIndexSignature=MX1;s5.TSIndexedAccessType=rX1;s5.TSInferType=iX1;s5.TSInstantiationExpression=X01;s5.TSInterfaceBody=oX1;s5.TSInterfaceDeclaration=nX1;s5.TSIntersectionType=cX1;s5.TSIntrinsicKeyword=NX1;s5.TSLiteralType=dX1;s5.TSMappedType=sX1;s5.TSMethodSignature=BX1;s5.TSModuleBlock=Q01;s5.TSModuleDeclaration=Z01;s5.TSNamedTupleMember=xX1;s5.TSNamespaceExportDeclaration=R01;s5.TSNeverKeyword=PX1;s5.TSNonNullExpression=K01;s5.TSNullKeyword=IX1;s5.TSNumberKeyword=jX1;s5.TSObjectKeyword=OX1;s5.TSOptionalType=uX1;s5.TSParameterProperty=ZX1;s5.TSParenthesizedType=aX1;s5.TSPropertySignature=UX1;s5.TSQualifiedName=YX1;s5.TSRestType=yX1;s5.TSStringKeyword=CX1;s5.TSSymbolKeyword=DX1;s5.TSThisType=TX1;s5.TSTupleType=hX1;s5.TSTypeAliasDeclaration=eX1;s5.TSTypeAnnotation=XX1;s5.TSTypeAssertion=J01;s5.TSTypeLiteral=gX1;s5.TSTypeOperator=pX1;s5.TSTypeParameter=VX1;s5.TSTypeParameterDeclaration=s5.TSTypeParameterInstantiation=HX1;s5.TSTypePredicate=vX1;s5.TSTypeQuery=EX1;s5.TSTypeReference=kX1;s5.TSUndefinedKeyword=fX1;s5.TSUnionType=mX1;s5.TSUnknownKeyword=qX1;s5.TSVoidKeyword=SX1;s5.tsPrintClassMemberModifiers=M01;s5.tsPrintFunctionOrConstructorType=bX1;s5.tsPrintPropertyOrMethodName=RX1;s5.tsPrintSignatureDeclarationBase=B01;function XX1(G,J){if(this.token((J.type==="TSFunctionType"||J.type==="TSConstructorType")&&J.typeAnnotation===G?"=>":":"),this.space(),G.optional)this.tokenChar(63);this.print(G.typeAnnotation)}function HX1(G,J){this.tokenChar(60);let X=J.type==="ArrowFunctionExpression"&&G.params.length===1;if(this.tokenMap&&G.start!=null&&G.end!=null)X&&(X=!!this.tokenMap.find(G,(H)=>this.tokenMap.matchesOriginal(H,","))),X||(X=this.shouldPrintTrailingComma(">"));this.printList(G.params,X),this.tokenChar(62)}function VX1(G){if(G.in)this.word("in"),this.space();if(G.out)this.word("out"),this.space();if(this.word(G.name),G.constraint)this.space(),this.word("extends"),this.space(),this.print(G.constraint);if(G.default)this.space(),this.tokenChar(61),this.space(),this.print(G.default)}function ZX1(G){if(G.accessibility)this.word(G.accessibility),this.space();if(G.readonly)this.word("readonly"),this.space();this._param(G.parameter)}function QX1(G,J){if(G.declare)this.word("declare"),this.space();this._functionHead(G,J),this.semicolon()}function WX1(G){this._classMethodHead(G),this.semicolon()}function YX1(G){this.print(G.left),this.tokenChar(46),this.print(G.right)}function zX1(G){this.tsPrintSignatureDeclarationBase(G),dJ(this,G)}function dJ(G,J){if(!G.tokenMap||!J.start||!J.end){G.semicolon();return}if(G.tokenMap.endMatches(J,","))G.token(",");else if(G.tokenMap.endMatches(J,";"))G.semicolon()}function KX1(G){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(G),dJ(this,G)}function UX1(G){let{readonly:J}=G;if(J)this.word("readonly"),this.space();this.tsPrintPropertyOrMethodName(G),this.print(G.typeAnnotation),dJ(this,G)}function RX1(G){if(G.computed)this.tokenChar(91);if(this.print(G.key),G.computed)this.tokenChar(93);if(G.optional)this.tokenChar(63)}function BX1(G){let{kind:J}=G;if(J==="set"||J==="get")this.word(J),this.space();this.tsPrintPropertyOrMethodName(G),this.tsPrintSignatureDeclarationBase(G),dJ(this,G)}function MX1(G){let{readonly:J,static:X}=G;if(X)this.word("static"),this.space();if(J)this.word("readonly"),this.space();this.tokenChar(91),this._parameters(G.parameters,"]"),this.print(G.typeAnnotation),dJ(this,G)}function $X1(){this.word("any")}function FX1(){this.word("bigint")}function qX1(){this.word("unknown")}function jX1(){this.word("number")}function OX1(){this.word("object")}function AX1(){this.word("boolean")}function CX1(){this.word("string")}function DX1(){this.word("symbol")}function SX1(){this.word("void")}function fX1(){this.word("undefined")}function IX1(){this.word("null")}function PX1(){this.word("never")}function NX1(){this.word("intrinsic")}function TX1(){this.word("this")}function wX1(G){this.tsPrintFunctionOrConstructorType(G)}function LX1(G){if(G.abstract)this.word("abstract"),this.space();this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(G)}function bX1(G){let{typeParameters:J}=G,X=G.parameters;this.print(J),this.tokenChar(40),this._parameters(X,")"),this.space();let H=G.typeAnnotation;this.print(H)}function kX1(G){let J=G.typeParameters;this.print(G.typeName,!!J),this.print(J)}function vX1(G){if(G.asserts)this.word("asserts"),this.space();if(this.print(G.parameterName),G.typeAnnotation)this.space(),this.word("is"),this.space(),this.print(G.typeAnnotation.typeAnnotation)}function EX1(G){this.word("typeof"),this.space(),this.print(G.exprName);let J=G.typeParameters;if(J)this.print(J)}function gX1(G){nX(this,G,()=>this.printJoin(G.members,!0,!0))}function _X1(G){this.print(G.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function hX1(G){this.tokenChar(91),this.printList(G.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function uX1(G){this.print(G.typeAnnotation),this.tokenChar(63)}function yX1(G){this.token("..."),this.print(G.typeAnnotation)}function xX1(G){if(this.print(G.label),G.optional)this.tokenChar(63);this.tokenChar(58),this.space(),this.print(G.elementType)}function mX1(G){p5(this,G,"|")}function cX1(G){p5(this,G,"&")}function p5(G,J,X){var H;let V=0;if((H=G.tokenMap)!=null&&H.startMatches(J,X))V=1,G.token(X);G.printJoin(J.types,void 0,void 0,function(Z){this.space(),this.token(X,null,Z+V),this.space()})}function lX1(G){this.print(G.checkType),this.space(),this.word("extends"),this.space(),this.print(G.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(G.trueType),this.space(),this.tokenChar(58),this.space(),this.print(G.falseType)}function iX1(G){this.word("infer"),this.print(G.typeParameter)}function aX1(G){this.tokenChar(40),this.print(G.typeAnnotation),this.tokenChar(41)}function pX1(G){this.word(G.operator),this.space(),this.print(G.typeAnnotation)}function rX1(G){this.print(G.objectType,!0),this.tokenChar(91),this.print(G.indexType),this.tokenChar(93)}function sX1(G){let{nameType:J,optional:X,readonly:H,typeAnnotation:V}=G;this.tokenChar(123);let Z=this.enterDelimited();if(this.space(),H)i5(this,H),this.word("readonly"),this.space();if(this.tokenChar(91),this.word(G.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(G.typeParameter.constraint),J)this.space(),this.word("as"),this.space(),this.print(J);if(this.tokenChar(93),X)i5(this,X),this.tokenChar(63);if(V)this.tokenChar(58),this.space(),this.print(V);this.space(),Z(),this.tokenChar(125)}function i5(G,J){if(J!==!0)G.token(J)}function dX1(G){this.print(G.literal)}function tX1(G){this.print(G.expression),this.print(G.typeArguments)}function nX1(G){let{declare:J,id:X,typeParameters:H,extends:V,body:Z}=G;if(J)this.word("declare"),this.space();if(this.word("interface"),this.space(),this.print(X),this.print(H),V!=null&&V.length)this.space(),this.word("extends"),this.space(),this.printList(V);this.space(),this.print(Z)}function oX1(G){nX(this,G,()=>this.printJoin(G.body,!0,!0))}function eX1(G){let{declare:J,id:X,typeParameters:H,typeAnnotation:V}=G;if(J)this.word("declare"),this.space();this.word("type"),this.space(),this.print(X),this.print(H),this.space(),this.tokenChar(61),this.space(),this.print(V),this.semicolon()}function G01(G){let{type:J,expression:X,typeAnnotation:H}=G;this.print(X,!0),this.space(),this.word(J==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(H)}function J01(G){let{typeAnnotation:J,expression:X}=G;this.tokenChar(60),this.print(J),this.tokenChar(62),this.space(),this.print(X)}function X01(G){this.print(G.expression),this.print(G.typeParameters)}function H01(G){let{declare:J,const:X,id:H}=G;if(J)this.word("declare"),this.space();if(X)this.word("const"),this.space();this.word("enum"),this.space(),this.print(H),this.space(),r5.call(this,G)}function r5(G){nX(this,G,()=>{var J;return this.printList(G.members,(J=this.shouldPrintTrailingComma("}"))!=null?J:!0,!0,!0)})}function V01(G){let{id:J,initializer:X}=G;if(this.print(J),X)this.space(),this.tokenChar(61),this.space(),this.print(X)}function Z01(G){let{declare:J,id:X,kind:H}=G;if(J)this.word("declare"),this.space();{if(!G.global)this.word(H!=null?H:X.type==="Identifier"?"namespace":"module"),this.space();if(this.print(X),!G.body){this.semicolon();return}let V=G.body;while(V.type==="TSModuleDeclaration")this.tokenChar(46),this.print(V.id),V=V.body;this.space(),this.print(V)}}function Q01(G){nX(this,G,()=>this.printSequence(G.body,!0))}function W01(G){let{argument:J,qualifier:X,options:H}=G;if(this.word("import"),this.tokenChar(40),this.print(J),H)this.tokenChar(44),this.print(H);if(this.tokenChar(41),X)this.tokenChar(46),this.print(X);let V=G.typeParameters;if(V)this.print(V)}function Y01(G){let{isExport:J,id:X,moduleReference:H}=G;if(J)this.word("export"),this.space();this.word("import"),this.space(),this.print(X),this.space(),this.tokenChar(61),this.space(),this.print(H),this.semicolon()}function z01(G){this.token("require("),this.print(G.expression),this.tokenChar(41)}function K01(G){this.print(G.expression),this.tokenChar(33)}function U01(G){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(G.expression),this.semicolon()}function R01(G){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(G.id),this.semicolon()}function B01(G){let{typeParameters:J}=G,X=G.parameters;this.print(J),this.tokenChar(40),this._parameters(X,")");let H=G.typeAnnotation;this.print(H)}function M01(G){let J=G.type==="ClassAccessorProperty"||G.type==="ClassProperty";if(a5(this,G,[J&&G.declare&&"declare",G.accessibility]),G.static)this.word("static"),this.space();a5(this,G,[G.override&&"override",G.abstract&&"abstract",J&&G.readonly&&"readonly"])}function nX(G,J,X){G.token("{");let H=G.enterDelimited();X(),H(),G.rightBrace(J)}function a5(G,J,X){var H;let V=new Set;for(let Z of X)if(Z)V.add(Z);(H=G.tokenMap)==null||H.find(J,(Z)=>{if(V.has(Z.value))return G.token(Z.value),G.space(),V.delete(Z.value),V.size===0});for(let Z of V)G.word(Z),G.space()}});var t5=f((B1)=>{Object.defineProperty(B1,"__esModule",{value:!0});var G2=R5();Object.keys(G2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===G2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return G2[G]}})});var J2=$5();Object.keys(J2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===J2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return J2[G]}})});var X2=C5();Object.keys(X2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===X2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return X2[G]}})});var H2=S5();Object.keys(H2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===H2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return H2[G]}})});var V2=I5();Object.keys(V2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===V2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return V2[G]}})});var Z2=d9();Object.keys(Z2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===Z2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return Z2[G]}})});var Q2=o9();Object.keys(Q2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===Q2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return Q2[G]}})});var W2=y5();Object.keys(W2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===W2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return W2[G]}})});var Y2=m5();Object.keys(Y2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===Y2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return Y2[G]}})});var z2=l5();Object.keys(z2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===z2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return z2[G]}})});var K2=d5();Object.keys(K2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===K2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return K2[G]}})})});var o5=f((n5)=>{Object.defineProperty(n5,"__esModule",{value:!0});n5.addDeprecatedGenerators=w91;function w91(G){{let J={Noop(){},TSExpressionWithTypeArguments(X){this.print(X.expression),this.print(X.typeParameters)},DecimalLiteral(X){let H=this.getPossibleRaw(X);if(!this.format.minified&&H!==void 0){this.word(H);return}this.word(X.value+"m")}};Object.assign(G.prototype,J)}}});var VV=f((XV)=>{Object.defineProperty(XV,"__esModule",{value:!0});XV.default=void 0;var b91=VH(),GV=EG(),k91=W1(),v91=K5(),E91=t5(),g91=o5(),{isExpression:_91,isFunction:h91,isStatement:u91,isClassBody:y91,isTSInterfaceBody:x91,isTSEnumMember:m91}=k91,c91=/e/i,l91=/\.0+$/,JV=/[\n\r\u2028\u2029]/,i91=/[\n\r\u2028\u2029]|\*\//;function e5(G){return G.type==="CommentLine"||JV.test(G.value)}var{needsParens:a91}=GV;class oX{constructor(G,J,X,H){this.inForStatementInit=!1,this.tokenContext=0,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=G,this._tokens=X,this._originalCode=H,this._indentRepeat=G.indent.style.length,this._inputMap=J==null?void 0:J._inputMap,this._buf=new b91.default(J,G.indent.style[0])}enterForStatementInit(){if(this.inForStatementInit)return()=>{};return this.inForStatementInit=!0,()=>{this.inForStatementInit=!1}}enterDelimited(){let G=this.inForStatementInit,J=this._noLineTerminatorAfterNode;if(G===!1&&J===null)return()=>{};return this.inForStatementInit=!1,this._noLineTerminatorAfterNode=null,()=>{this.inForStatementInit=G,this._noLineTerminatorAfterNode=J}}generate(G){if(this.format.preserveFormat)this.tokenMap=new v91.TokenMap(G,this._tokens,this._originalCode);return this.print(G),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:G}=this;if(G.preserveFormat||G.compact||G.concise)return;this._indent++}dedent(){let{format:G}=this;if(G.preserveFormat||G.compact||G.concise)return;this._indent--}semicolon(G=!1){if(this._maybeAddAuxComment(),G){this._appendChar(59),this._noLineTerminator=!1;return}if(this.tokenMap){let J=this._currentNode;if(J.start!=null&&J.end!=null){if(!this.tokenMap.endMatches(J,";")){this._printSemicolonBeforeNextNode=this._buf.getCurrentLine();return}let X=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[X[X.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(G){if(this.format.minified)this._buf.removeLastSemicolon();this.sourceWithOffset("end",G.loc,-1),this.tokenChar(125)}rightParens(G){this.sourceWithOffset("end",G.loc,-1),this.tokenChar(41)}space(G=!1){let{format:J}=this;if(J.compact||J.preserveFormat)return;if(G)this._space();else if(this._buf.hasContent()){let X=this.getLastChar();if(X!==32&&X!==10)this._space()}}word(G,J=!1){if(this.tokenContext=0,this._maybePrintInnerComments(G),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(G);if(this._endsWithWord||this._endsWithDiv&&G.charCodeAt(0)===47)this._space();this._append(G,!1),this._endsWithWord=!0,this._noLineTerminator=J}number(G,J){function X(H){if(H.length>2&&H.charCodeAt(0)===48){let V=H.charCodeAt(1);return V===98||V===111||V===120}return!1}this.word(G),this._endsWithInteger=Number.isInteger(J)&&!X(G)&&!c91.test(G)&&!l91.test(G)&&G.charCodeAt(G.length-1)!==46}token(G,J=!1,X=0){if(this.tokenContext=0,this._maybePrintInnerComments(G,X),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(G,X);let H=this.getLastChar(),V=G.charCodeAt(0);if(H===33&&(G==="--"||V===61)||V===43&&H===43||V===45&&H===45||V===46&&this._endsWithInteger)this._space();this._append(G,J),this._noLineTerminator=!1}tokenChar(G){this.tokenContext=0;let J=String.fromCharCode(G);if(this._maybePrintInnerComments(J),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(J);let X=this.getLastChar();if(G===43&&X===43||G===45&&X===45||G===46&&this._endsWithInteger)this._space();this._appendChar(G),this._noLineTerminator=!1}newline(G=1,J){if(G<=0)return;if(!J){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}if(G>2)G=2;G-=this._buf.getNewlineCount();for(let X=0;X<G;X++)this._newline();return}endsWith(G){return this.getLastChar()===G}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(G,J){if(!G){J();return}this._catchUp("start",G),this._buf.exactSource(G,J)}source(G,J){if(!J)return;this._catchUp(G,J),this._buf.source(G,J)}sourceWithOffset(G,J,X){if(!J||this.format.preserveFormat)return;this._catchUp(G,J),this._buf.sourceWithOffset(G,J,X)}sourceIdentifierName(G,J){if(!this._buf._canMarkIdName)return;let X=this._buf._sourcePosition;X.identifierNamePos=J,X.identifierName=G}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(G,J=0){let X=this.tokenMap.findMatching(this._currentNode,G,J);if(X)this._catchUpTo(X.loc.start);if(this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine())this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(G,J){this._maybeIndent(G.charCodeAt(0)),this._buf.append(G,J),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(G){this._maybeIndent(G),this._buf.appendChar(G),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(G){this._maybeIndent(G),this._buf.queue(G),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(G){if(this._indent&&G!==10&&this.endsWith(10))this._buf.queueIndentation(this._getIndent())}_shouldIndent(G){if(this._indent&&G!==10&&this.endsWith(10))return!0}catchUp(G){if(!this.format.retainLines)return;let J=G-this._buf.getCurrentLine();for(let X=0;X<J;X++)this._newline()}_catchUp(G,J){let{format:X}=this;if(!X.preserveFormat){if(X.retainLines&&J!=null&&J[G])this.catchUp(J[G].line);return}let H=J==null?void 0:J[G];if(H!=null)this._catchUpTo(H)}_catchUpTo({line:G,column:J,index:X}){let H=G-this._buf.getCurrentLine();if(H>0&&this._noLineTerminator)return;for(let Z=0;Z<H;Z++)this._newline();let V=H>0?J:J-this._buf.getCurrentColumn();if(V>0){let Z=this._originalCode?this._originalCode.slice(X-V,X).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(V);this._append(Z,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(G){this._noLineTerminator=!0,this.print(G)}print(G,J,X){var H,V,Z;if(!G)return;this._endsWithInnerRaw=!1;let Q=G.type,W=this.format,Y=W.concise;if(G._compact)W.concise=!0;let z=this[Q];if(z===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(Q)} with constructor ${JSON.stringify(G.constructor.name)}`);let U=this._currentNode;if(this._currentNode=G,this.tokenMap)this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode;let q=this._insideAux;this._insideAux=G.loc==null,this._maybeAddAuxComment(this._insideAux&&!q);let A=(H=G.extra)==null?void 0:H.parenthesized,C=A&&W.preserveFormat||A&&W.retainFunctionParens&&Q==="FunctionExpression"||a91(G,U,this.tokenContext,this.inForStatementInit,W.preserveFormat?this._boundGetRawIdentifier:void 0);if(!C&&A&&(V=G.leadingComments)!=null&&V.length&&G.leadingComments[0].type==="CommentBlock")switch(U==null?void 0:U.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(U.callee!==G)break;default:C=!0}let D=!1;if(!C&&this._noLineTerminator&&((Z=G.leadingComments)!=null&&Z.some(e5)||this.format.retainLines&&G.loc&&G.loc.start.line>this._buf.getCurrentLine()))C=!0,D=!0;let L,P;if(!C){if(J||(J=U&&this._noLineTerminatorAfterNode===U&&GV.isLastChild(U,G)),J){var w;if((w=G.trailingComments)!=null&&w.some(e5)){if(_91(G))C=!0}else L=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=G}}if(C){if(this.tokenChar(40),D)this.indent();if(this._endsWithInnerRaw=!1,this.inForStatementInit)P=!0,this.inForStatementInit=!1;L=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null}this._lastCommentLine=0,this._printLeadingComments(G,U);let b=Q==="Program"||Q==="File"?null:G.loc;if(this.exactSource(b,z.bind(this,G,U)),C){if(this._printTrailingComments(G,U),D)this.dedent(),this.newline();if(this.tokenChar(41),this._noLineTerminator=J,P)this.inForStatementInit=!0}else if(J&&!this._noLineTerminator)this._noLineTerminator=!0,this._printTrailingComments(G,U);else this._printTrailingComments(G,U,X);if(this._currentNode=U,W.concise=Y,this._insideAux=q,L!==void 0)this._noLineTerminatorAfterNode=L;this._endsWithInnerRaw=!1}_maybeAddAuxComment(G){if(G)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let G=this.format.auxiliaryCommentBefore;if(G)this._printComment({type:"CommentBlock",value:G},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let G=this.format.auxiliaryCommentAfter;if(G)this._printComment({type:"CommentBlock",value:G},0)}getPossibleRaw(G){let J=G.extra;if((J==null?void 0:J.raw)!=null&&J.rawValue!=null&&G.value===J.rawValue)return J.raw}printJoin(G,J,X,H,V,Z,Q,W){if(!(G!=null&&G.length))return;if(X==null&&this.format.retainLines){var Y;let D=(Y=G[0].loc)==null?void 0:Y.start.line;if(D!=null&&D!==this._buf.getCurrentLine())X=!0}if(X)this.indent();let z={addNewlines:Z,nextNodeStartLine:0},U=H==null?void 0:H.bind(this),q=G.length;for(let D=0;D<q;D++){let L=G[D];if(!L)continue;if(J)this._printNewline(D===0,z);if(this.print(L,void 0,W||0),Q==null||Q(L,D),U!=null){if(D<q-1)U(D,!1);else if(V)U(D,!0)}if(J){var A;if(!((A=L.trailingComments)!=null&&A.length))this._lastCommentLine=0;if(D+1===q)this.newline(1);else{var C;let P=G[D+1];z.nextNodeStartLine=((C=P.loc)==null?void 0:C.start.line)||0,this._printNewline(!0,z)}}}if(X)this.dedent()}printAndIndentOnComments(G){let J=G.leadingComments&&G.leadingComments.length>0;if(J)this.indent();if(this.print(G),J)this.dedent()}printBlock(G){let J=G.body;if(J.type!=="EmptyStatement")this.space();this.print(J)}_printTrailingComments(G,J,X){let{innerComments:H,trailingComments:V}=G;if(H!=null&&H.length)this._printComments(2,H,G,J,X);if(V!=null&&V.length)this._printComments(2,V,G,J,X)}_printLeadingComments(G,J){let X=G.leadingComments;if(!(X!=null&&X.length))return;this._printComments(0,X,G,J)}_maybePrintInnerComments(G,J){if(this._endsWithInnerRaw){var X;this.printInnerComments((X=this.tokenMap)==null?void 0:X.findMatching(this._currentNode,G,J))}this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(G){let J=this._currentNode,X=J.innerComments;if(!(X!=null&&X.length))return;let H=this.endsWith(32),V=this._indentInnerComments,Z=this._printedComments.size;if(V)this.indent();if(this._printComments(1,X,J,void 0,void 0,G),H&&Z!==this._printedComments.size)this.space();if(V)this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(G,J,X,H){this.printJoin(G,!0,J!=null?J:!1,void 0,void 0,H,void 0,X)}printList(G,J,X,H,V,Z){this.printJoin(G,X,H,V!=null?V:p91,J,void 0,Z)}shouldPrintTrailingComma(G){if(!this.tokenMap)return null;let J=this.tokenMap.findLastIndex(this._currentNode,(X)=>this.tokenMap.matchesOriginal(X,G));if(J<=0)return null;return this.tokenMap.matchesOriginal(this._tokens[J-1],",")}_printNewline(G,J){let X=this.format;if(X.retainLines||X.compact)return;if(X.concise){this.space();return}if(!G)return;let H=J.nextNodeStartLine,V=this._lastCommentLine;if(H>0&&V>0){let Z=H-V;if(Z>=0){this.newline(Z||1);return}}if(this._buf.hasContent())this.newline(1)}_shouldPrintComment(G,J){if(G.ignore)return 0;if(this._printedComments.has(G))return 0;if(this._noLineTerminator&&i91.test(G.value))return 2;if(J&&this.tokenMap){let X=this.tokenMap.find(this._currentNode,(H)=>H.value===G.value);if(X&&X.start>J.start)return 2}if(this._printedComments.add(G),!this.format.shouldPrintComment(G.value))return 0;return 1}_printComment(G,J){let X=this._noLineTerminator,H=G.type==="CommentBlock",V=H&&J!==1&&!this._noLineTerminator;if(V&&this._buf.hasContent()&&J!==2)this.newline(1);let Z=this.getLastChar();if(Z!==91&&Z!==123&&Z!==40)this.space();let Q;if(H){if(Q=`/*${G.value}*/`,this.format.indent.adjustMultilineComment){var W;let Y=(W=G.loc)==null?void 0:W.start.column;if(Y){let z=new RegExp("\\n\\s{1,"+Y+"}","g");Q=Q.replace(z,`
13
+ `)}if(this.format.concise)Q=Q.replace(/\n(?!$)/g,`
14
+ `);else{let z=this.format.retainLines?0:this._buf.getCurrentColumn();if(this._shouldIndent(47)||this.format.retainLines)z+=this._getIndent();Q=Q.replace(/\n(?!$)/g,`
15
+ ${" ".repeat(z)}`)}}}else if(!X)Q=`//${G.value}`;else Q=`/*${G.value}*/`;if(this._endsWithDiv)this._space();if(this.tokenMap){let{_printSemicolonBeforeNextToken:Y,_printSemicolonBeforeNextNode:z}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",G.loc),this._append(Q,H),this._printSemicolonBeforeNextNode=z,this._printSemicolonBeforeNextToken=Y}else this.source("start",G.loc),this._append(Q,H);if(!H&&!X)this.newline(1,!0);if(V&&J!==3)this.newline(1)}_printComments(G,J,X,H,V=0,Z){let Q=X.loc,W=J.length,Y=!!Q,z=Y?Q.start.line:0,U=Y?Q.end.line:0,q=0,A=0,C=this._noLineTerminator?function(){}:this.newline.bind(this);for(let D=0;D<W;D++){let L=J[D],P=this._shouldPrintComment(L,Z);if(P===2){Y=!1;break}if(Y&&L.loc&&P===1){let w=L.loc.start.line,b=L.loc.end.line;if(G===0){let X1=0;if(D===0){if(this._buf.hasContent()&&(L.type==="CommentLine"||w!==b))X1=A=1}else X1=w-q;if(q=b,C(X1),this._printComment(L,1),D+1===W)C(Math.max(z-q,A)),q=z}else if(G===1){let X1=w-(D===0?z:q);if(q=b,C(X1),this._printComment(L,1),D+1===W)C(Math.min(1,U-q)),q=U}else{let X1=w-(D===0?U-V:q);q=b,C(X1),this._printComment(L,1)}}else{if(Y=!1,P!==1)continue;if(W===1){let w=L.loc?L.loc.start.line===L.loc.end.line:!JV.test(L.value),b=w&&!u91(X)&&!y91(H)&&!x91(H)&&!m91(X);if(G===0)this._printComment(L,b&&X.type!=="ObjectExpression"||w&&h91(H,{body:X})?1:0);else if(b&&G===2)this._printComment(L,1);else this._printComment(L,0)}else if(G===1&&!(X.type==="ObjectExpression"&&X.properties.length>1)&&X.type!=="ClassBody"&&X.type!=="TSInterfaceBody")this._printComment(L,D===0?2:D===W-1?3:0);else this._printComment(L,0)}}if(G===2&&Y&&q)this._lastCommentLine=q}}Object.assign(oX.prototype,E91);g91.addDeprecatedGenerators(oX);var D$1=XV.default=oX;function p91(G,J){if(this.token(",",!1,G),!J)this.space()}});var U2=f((YV)=>{Object.defineProperty(YV,"__esModule",{value:!0});YV.default=r91;var ZV=GH(),QV=VV();function WV(G,J,X){if(J.experimental_preserveFormat){if(typeof G!=="string")throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!J.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(J.compact&&J.compact!=="auto")throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(J.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(J.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(X.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}let H={auxiliaryCommentBefore:J.auxiliaryCommentBefore,auxiliaryCommentAfter:J.auxiliaryCommentAfter,shouldPrintComment:J.shouldPrintComment,preserveFormat:J.experimental_preserveFormat,retainLines:J.retainLines,retainFunctionParens:J.retainFunctionParens,comments:J.comments==null||J.comments,compact:J.compact,minified:J.minified,concise:J.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},J.jsescOption),topicToken:J.topicToken,importAttributesKeyword:J.importAttributesKeyword};{var V;H.decoratorsBeforeExport=J.decoratorsBeforeExport,H.jsescOption.json=J.jsonCompatibleStrings,H.recordAndTupleSyntaxType=(V=J.recordAndTupleSyntaxType)!=null?V:"hash"}if(H.minified)H.compact=!0,H.shouldPrintComment=H.shouldPrintComment||(()=>H.comments);else H.shouldPrintComment=H.shouldPrintComment||((Y)=>H.comments||Y.includes("@license")||Y.includes("@preserve"));if(H.compact==="auto"){if(H.compact=typeof G==="string"&&G.length>500000,H.compact)console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${J.filename} as it exceeds the max of 500KB.`)}if(H.compact||H.preserveFormat)H.indent.adjustMultilineComment=!1;let{auxiliaryCommentBefore:Z,auxiliaryCommentAfter:Q,shouldPrintComment:W}=H;if(Z&&!W(Z))H.auxiliaryCommentBefore=void 0;if(Q&&!W(Q))H.auxiliaryCommentAfter=void 0;return H}YV.CodeGenerator=class G{constructor(J,X={},H){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=J,this._format=WV(H,X,J),this._map=X.sourceMaps?new ZV.default(X,H):null}generate(){return new QV.default(this._format,this._map).generate(this._ast)}};function r91(G,J={},X){let H=WV(X,J,G),V=J.sourceMaps?new ZV.default(J,X):null;return new QV.default(H,V,G.tokens,typeof X==="string"?X:null).generate(G)}});var W0=f((JZ)=>{Object.defineProperty(JZ,"__esModule",{value:!0});function d91(G,J){if(G==null)return{};var X={};for(var H in G)if({}.hasOwnProperty.call(G,H)){if(J.includes(H))continue;X[H]=G[H]}return X}class NG{constructor(G,J,X){this.line=void 0,this.column=void 0,this.index=void 0,this.line=G,this.column=J,this.index=X}}class XX{constructor(G,J){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=G,this.end=J}}function m1(G,J){let{line:X,column:H,index:V}=G;return new NG(X,H+J,V+J)}var zV="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",t91={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:zV},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:zV}},KV={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},J0=(G)=>G.type==="UpdateExpression"?KV.UpdateExpression[`${G.prefix}`]:KV[G.type],n91={AccessorIsGenerator:({kind:G})=>`A ${G}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:G})=>`Missing initializer in ${G} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:G})=>`\`${G}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:G})=>`'import.${G}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:G,exportName:J})=>`A string literal cannot be used as an exported binding without \`from\`.
16
+ - Did you mean \`export { '${G}' as '${J}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:G})=>`'${G==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:G})=>`Unsyntactic ${G==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:G})=>`A string literal cannot be used as an imported binding.
17
+ - Did you mean \`import { "${G}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:G})=>`Expected number in radix ${G}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:G})=>`Escape sequence in keyword ${G}.`,InvalidIdentifier:({identifierName:G})=>`Invalid identifier ${G}.`,InvalidLhs:({ancestor:G})=>`Invalid left-hand side in ${J0(G)}.`,InvalidLhsBinding:({ancestor:G})=>`Binding invalid left-hand side in ${J0(G)}.`,InvalidLhsOptionalChaining:({ancestor:G})=>`Invalid optional chaining in the left-hand side of ${J0(G)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:G})=>`Unexpected character '${G}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:G})=>`Private name #${G} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:G})=>`Label '${G}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:G})=>`This experimental syntax requires enabling the parser plugin: ${G.map((J)=>JSON.stringify(J)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:G})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${G.map((J)=>JSON.stringify(J)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:G})=>`Duplicate key "${G}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:G})=>`An export name cannot include a lone surrogate, found '\\u${G.toString(16)}'.`,ModuleExportUndefined:({localName:G})=>`Export '${G}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:G})=>`Private names are only allowed in property accesses (\`obj.#${G}\`) or in \`in\` expressions (\`#${G} in obj\`).`,PrivateNameRedeclaration:({identifierName:G})=>`Duplicate private name #${G}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:G})=>`Unexpected keyword '${G}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:G})=>`Unexpected reserved word '${G}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:G,unexpected:J})=>`Unexpected token${J?` '${J}'.`:""}${G?`, expected "${G}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:G,onlyValidPropertyName:J})=>`The only valid meta property for ${G} is ${G}.${J}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:G})=>`Identifier '${G}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},o91={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:G})=>`Assigning to '${G}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:G})=>`Binding '${G}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},e91=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),G21=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:G})=>`Invalid topic token ${G}. In order to use ${G} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${G}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:G})=>`Hack-style pipe body cannot be an unparenthesized ${J0({type:G})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'}),J21=["message"];function UV(G,J,X){Object.defineProperty(G,J,{enumerable:!1,configurable:!0,value:X})}function X21({toMessage:G,code:J,reasonCode:X,syntaxPlugin:H}){let V=X==="MissingPlugin"||X==="MissingOneOfPlugins";{let Z={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};if(Z[X])X=Z[X]}return function Z(Q,W){let Y=new SyntaxError;if(Y.code=J,Y.reasonCode=X,Y.loc=Q,Y.pos=Q.index,Y.syntaxPlugin=H,V)Y.missingPlugin=W.missingPlugin;return UV(Y,"clone",function z(U={}){var q;let{line:A,column:C,index:D}=(q=U.loc)!=null?q:Q;return Z(new NG(A,C,D),Object.assign({},W,U.details))}),UV(Y,"details",W),Object.defineProperty(Y,"message",{configurable:!0,get(){let z=`${G(W)} (${Q.line}:${Q.column})`;return this.message=z,z},set(z){Object.defineProperty(this,"message",{value:z,writable:!0})}}),Y}}function PG(G,J){if(Array.isArray(G))return(H)=>PG(H,G[0]);let X={};for(let H of Object.keys(G)){let V=G[H],Z=typeof V==="string"?{message:()=>V}:typeof V==="function"?{message:V}:V,{message:Q}=Z,W=d91(Z,J21),Y=typeof Q==="string"?()=>Q:Q;X[H]=X21(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:H,toMessage:Y},J?{syntaxPlugin:J}:{},W))}return X}var j=Object.assign({},PG(t91),PG(n91),PG(o91),PG`pipelineOperator`(G21));function H21(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function V21(G){let J=H21();if(G==null)return J;if(G.annexB!=null&&G.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let X of Object.keys(J))if(G[X]!=null)J[X]=G[X];if(J.startLine===1){if(G.startIndex==null&&J.startColumn>0)J.startIndex=J.startColumn;else if(G.startColumn==null&&J.startIndex>0)J.startColumn=J.startIndex}else if(G.startColumn==null||G.startIndex==null){if(G.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.")}return J}var{defineProperty:Z21}=Object,RV=(G,J)=>{if(G)Z21(G,J,{enumerable:!1,value:G[J]})};function tJ(G){return RV(G.loc.start,"index"),RV(G.loc.end,"index"),G}var Q21=(G)=>class J extends G{parse(){let X=tJ(super.parse());if(this.optionFlags&128)X.tokens=X.tokens.map(tJ);return X}parseRegExpLiteral({pattern:X,flags:H}){let V=null;try{V=new RegExp(X,H)}catch(Q){}let Z=this.estreeParseLiteral(V);return Z.regex={pattern:X,flags:H},Z}parseBigIntLiteral(X){let H;try{H=BigInt(X)}catch(Z){H=null}let V=this.estreeParseLiteral(H);return V.bigint=String(V.value||X),V}parseDecimalLiteral(X){let V=this.estreeParseLiteral(null);return V.decimal=String(V.value||X),V}estreeParseLiteral(X){return this.parseLiteral(X,"Literal")}parseStringLiteral(X){return this.estreeParseLiteral(X)}parseNumericLiteral(X){return this.estreeParseLiteral(X)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(X){return this.estreeParseLiteral(X)}directiveToStmt(X){let H=X.value;delete X.value,H.type="Literal",H.raw=H.extra.raw,H.value=H.extra.expressionValue;let V=X;return V.type="ExpressionStatement",V.expression=H,V.directive=H.extra.rawValue,delete H.extra,V}initFunction(X,H){super.initFunction(X,H),X.expression=!1}checkDeclaration(X){if(X!=null&&this.isObjectProperty(X))this.checkDeclaration(X.value);else super.checkDeclaration(X)}getObjectOrClassMethodParams(X){return X.value.params}isValidDirective(X){var H;return X.type==="ExpressionStatement"&&X.expression.type==="Literal"&&typeof X.expression.value==="string"&&!((H=X.expression.extra)!=null&&H.parenthesized)}parseBlockBody(X,H,V,Z,Q){super.parseBlockBody(X,H,V,Z,Q);let W=X.directives.map((Y)=>this.directiveToStmt(Y));X.body=W.concat(X.body),delete X.directives}parsePrivateName(){let X=super.parsePrivateName();if(!this.getPluginOption("estree","classFeatures"))return X;return this.convertPrivateNameToPrivateIdentifier(X)}convertPrivateNameToPrivateIdentifier(X){let H=super.getPrivateNameSV(X);return X=X,delete X.id,X.name=H,X.type="PrivateIdentifier",X}isPrivateName(X){if(!this.getPluginOption("estree","classFeatures"))return super.isPrivateName(X);return X.type==="PrivateIdentifier"}getPrivateNameSV(X){if(!this.getPluginOption("estree","classFeatures"))return super.getPrivateNameSV(X);return X.name}parseLiteral(X,H){let V=super.parseLiteral(X,H);return V.raw=V.extra.raw,delete V.extra,V}parseFunctionBody(X,H,V=!1){super.parseFunctionBody(X,H,V),X.expression=X.body.type!=="BlockStatement"}parseMethod(X,H,V,Z,Q,W,Y=!1){let z=this.startNode();z.kind=X.kind,z=super.parseMethod(z,H,V,Z,Q,W,Y),z.type="FunctionExpression",delete z.kind,X.value=z;let{typeParameters:U}=X;if(U)delete X.typeParameters,z.typeParameters=U,this.resetStartLocationFromNode(z,U);if(W==="ClassPrivateMethod")X.computed=!1;return this.finishNode(X,"MethodDefinition")}nameIsConstructor(X){if(X.type==="Literal")return X.value==="constructor";return super.nameIsConstructor(X)}parseClassProperty(...X){let H=super.parseClassProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return H;return H.type="PropertyDefinition",H}parseClassPrivateProperty(...X){let H=super.parseClassPrivateProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return H;return H.type="PropertyDefinition",H.computed=!1,H}parseObjectMethod(X,H,V,Z,Q){let W=super.parseObjectMethod(X,H,V,Z,Q);if(W){if(W.type="Property",W.kind==="method")W.kind="init";W.shorthand=!1}return W}parseObjectProperty(X,H,V,Z){let Q=super.parseObjectProperty(X,H,V,Z);if(Q)Q.kind="init",Q.type="Property";return Q}isValidLVal(X,H,V){return X==="Property"?"value":super.isValidLVal(X,H,V)}isAssignable(X,H){if(X!=null&&this.isObjectProperty(X))return this.isAssignable(X.value,H);return super.isAssignable(X,H)}toAssignable(X,H=!1){if(X!=null&&this.isObjectProperty(X)){let{key:V,value:Z}=X;if(this.isPrivateName(V))this.classScope.usePrivateName(this.getPrivateNameSV(V),V.loc.start);this.toAssignable(Z,H)}else super.toAssignable(X,H)}toAssignableObjectExpressionProp(X,H,V){if(X.type==="Property"&&(X.kind==="get"||X.kind==="set"))this.raise(j.PatternHasAccessor,X.key);else if(X.type==="Property"&&X.method)this.raise(j.PatternHasMethod,X.key);else super.toAssignableObjectExpressionProp(X,H,V)}finishCallExpression(X,H){let V=super.finishCallExpression(X,H);if(V.callee.type==="Import"){var Z,Q;V.type="ImportExpression",V.source=V.arguments[0],V.options=(Z=V.arguments[1])!=null?Z:null,V.attributes=(Q=V.arguments[1])!=null?Q:null,delete V.arguments,delete V.callee}return V}toReferencedArguments(X){if(X.type==="ImportExpression")return;super.toReferencedArguments(X)}parseExport(X,H){let V=this.state.lastTokStartLoc,Z=super.parseExport(X,H);switch(Z.type){case"ExportAllDeclaration":Z.exported=null;break;case"ExportNamedDeclaration":if(Z.specifiers.length===1&&Z.specifiers[0].type==="ExportNamespaceSpecifier")Z.type="ExportAllDeclaration",Z.exported=Z.specifiers[0].exported,delete Z.specifiers;case"ExportDefaultDeclaration":{var Q;let{declaration:W}=Z;if((W==null?void 0:W.type)==="ClassDeclaration"&&((Q=W.decorators)==null?void 0:Q.length)>0&&W.start===Z.start)this.resetStartLocation(Z,V)}break}return Z}parseSubscript(X,H,V,Z){let Q=super.parseSubscript(X,H,V,Z);if(Z.optionalChainMember){if(Q.type==="OptionalMemberExpression"||Q.type==="OptionalCallExpression")Q.type=Q.type.substring(8);if(Z.stop){let W=this.startNodeAtNode(Q);return W.expression=Q,this.finishNode(W,"ChainExpression")}}else if(Q.type==="MemberExpression"||Q.type==="CallExpression")Q.optional=!1;return Q}isOptionalMemberExpression(X){if(X.type==="ChainExpression")return X.expression.type==="MemberExpression";return super.isOptionalMemberExpression(X)}hasPropertyAsPrivateName(X){if(X.type==="ChainExpression")X=X.expression;return super.hasPropertyAsPrivateName(X)}isObjectProperty(X){return X.type==="Property"&&X.kind==="init"&&!X.method}isObjectMethod(X){return X.type==="Property"&&(X.method||X.kind==="get"||X.kind==="set")}finishNodeAt(X,H,V){return tJ(super.finishNodeAt(X,H,V))}resetStartLocation(X,H){super.resetStartLocation(X,H),tJ(X)}resetEndLocation(X,H=this.state.lastTokEndLoc){super.resetEndLocation(X,H),tJ(X)}};class FJ{constructor(G,J){this.token=void 0,this.preserveSpace=void 0,this.token=G,this.preserveSpace=!!J}}var q1={brace:new FJ("{"),j_oTag:new FJ("<tag"),j_cTag:new FJ("</tag"),j_expr:new FJ("<tag>...</tag>",!0)};q1.template=new FJ("`",!0);var z1=!0,u=!0,R2=!0,nJ=!0,_G=!0,W21=!0;class A2{constructor(G,J={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=G,this.keyword=J.keyword,this.beforeExpr=!!J.beforeExpr,this.startsExpr=!!J.startsExpr,this.rightAssociative=!!J.rightAssociative,this.isLoop=!!J.isLoop,this.isAssign=!!J.isAssign,this.prefix=!!J.prefix,this.postfix=!!J.postfix,this.binop=J.binop!=null?J.binop:null,this.updateContext=null}}var C2=new Map;function M1(G,J={}){J.keyword=G;let X=s(G,J);return C2.set(G,X),X}function x1(G,J){return s(G,{beforeExpr:z1,binop:J})}var GX=-1,fG=[],D2=[],S2=[],f2=[],I2=[],P2=[];function s(G,J={}){var X,H,V,Z;return++GX,D2.push(G),S2.push((X=J.binop)!=null?X:-1),f2.push((H=J.beforeExpr)!=null?H:!1),I2.push((V=J.startsExpr)!=null?V:!1),P2.push((Z=J.prefix)!=null?Z:!1),fG.push(new A2(G,J)),GX}function Y1(G,J={}){var X,H,V,Z;return++GX,C2.set(G,GX),D2.push(G),S2.push((X=J.binop)!=null?X:-1),f2.push((H=J.beforeExpr)!=null?H:!1),I2.push((V=J.startsExpr)!=null?V:!1),P2.push((Z=J.prefix)!=null?Z:!1),fG.push(new A2("name",J)),GX}var Y21={bracketL:s("[",{beforeExpr:z1,startsExpr:u}),bracketHashL:s("#[",{beforeExpr:z1,startsExpr:u}),bracketBarL:s("[|",{beforeExpr:z1,startsExpr:u}),bracketR:s("]"),bracketBarR:s("|]"),braceL:s("{",{beforeExpr:z1,startsExpr:u}),braceBarL:s("{|",{beforeExpr:z1,startsExpr:u}),braceHashL:s("#{",{beforeExpr:z1,startsExpr:u}),braceR:s("}"),braceBarR:s("|}"),parenL:s("(",{beforeExpr:z1,startsExpr:u}),parenR:s(")"),comma:s(",",{beforeExpr:z1}),semi:s(";",{beforeExpr:z1}),colon:s(":",{beforeExpr:z1}),doubleColon:s("::",{beforeExpr:z1}),dot:s("."),question:s("?",{beforeExpr:z1}),questionDot:s("?."),arrow:s("=>",{beforeExpr:z1}),template:s("template"),ellipsis:s("...",{beforeExpr:z1}),backQuote:s("`",{startsExpr:u}),dollarBraceL:s("${",{beforeExpr:z1,startsExpr:u}),templateTail:s("...`",{startsExpr:u}),templateNonTail:s("...${",{beforeExpr:z1,startsExpr:u}),at:s("@"),hash:s("#",{startsExpr:u}),interpreterDirective:s("#!..."),eq:s("=",{beforeExpr:z1,isAssign:nJ}),assign:s("_=",{beforeExpr:z1,isAssign:nJ}),slashAssign:s("_=",{beforeExpr:z1,isAssign:nJ}),xorAssign:s("_=",{beforeExpr:z1,isAssign:nJ}),moduloAssign:s("_=",{beforeExpr:z1,isAssign:nJ}),incDec:s("++/--",{prefix:_G,postfix:W21,startsExpr:u}),bang:s("!",{beforeExpr:z1,prefix:_G,startsExpr:u}),tilde:s("~",{beforeExpr:z1,prefix:_G,startsExpr:u}),doubleCaret:s("^^",{startsExpr:u}),doubleAt:s("@@",{startsExpr:u}),pipeline:x1("|>",0),nullishCoalescing:x1("??",1),logicalOR:x1("||",1),logicalAND:x1("&&",2),bitwiseOR:x1("|",3),bitwiseXOR:x1("^",4),bitwiseAND:x1("&",5),equality:x1("==/!=/===/!==",6),lt:x1("</>/<=/>=",7),gt:x1("</>/<=/>=",7),relational:x1("</>/<=/>=",7),bitShift:x1("<</>>/>>>",8),bitShiftL:x1("<</>>/>>>",8),bitShiftR:x1("<</>>/>>>",8),plusMin:s("+/-",{beforeExpr:z1,binop:9,prefix:_G,startsExpr:u}),modulo:s("%",{binop:10,startsExpr:u}),star:s("*",{binop:10}),slash:x1("/",10),exponent:s("**",{beforeExpr:z1,binop:11,rightAssociative:!0}),_in:M1("in",{beforeExpr:z1,binop:7}),_instanceof:M1("instanceof",{beforeExpr:z1,binop:7}),_break:M1("break"),_case:M1("case",{beforeExpr:z1}),_catch:M1("catch"),_continue:M1("continue"),_debugger:M1("debugger"),_default:M1("default",{beforeExpr:z1}),_else:M1("else",{beforeExpr:z1}),_finally:M1("finally"),_function:M1("function",{startsExpr:u}),_if:M1("if"),_return:M1("return",{beforeExpr:z1}),_switch:M1("switch"),_throw:M1("throw",{beforeExpr:z1,prefix:_G,startsExpr:u}),_try:M1("try"),_var:M1("var"),_const:M1("const"),_with:M1("with"),_new:M1("new",{beforeExpr:z1,startsExpr:u}),_this:M1("this",{startsExpr:u}),_super:M1("super",{startsExpr:u}),_class:M1("class",{startsExpr:u}),_extends:M1("extends",{beforeExpr:z1}),_export:M1("export"),_import:M1("import",{startsExpr:u}),_null:M1("null",{startsExpr:u}),_true:M1("true",{startsExpr:u}),_false:M1("false",{startsExpr:u}),_typeof:M1("typeof",{beforeExpr:z1,prefix:_G,startsExpr:u}),_void:M1("void",{beforeExpr:z1,prefix:_G,startsExpr:u}),_delete:M1("delete",{beforeExpr:z1,prefix:_G,startsExpr:u}),_do:M1("do",{isLoop:R2,beforeExpr:z1}),_for:M1("for",{isLoop:R2}),_while:M1("while",{isLoop:R2}),_as:Y1("as",{startsExpr:u}),_assert:Y1("assert",{startsExpr:u}),_async:Y1("async",{startsExpr:u}),_await:Y1("await",{startsExpr:u}),_defer:Y1("defer",{startsExpr:u}),_from:Y1("from",{startsExpr:u}),_get:Y1("get",{startsExpr:u}),_let:Y1("let",{startsExpr:u}),_meta:Y1("meta",{startsExpr:u}),_of:Y1("of",{startsExpr:u}),_sent:Y1("sent",{startsExpr:u}),_set:Y1("set",{startsExpr:u}),_source:Y1("source",{startsExpr:u}),_static:Y1("static",{startsExpr:u}),_using:Y1("using",{startsExpr:u}),_yield:Y1("yield",{startsExpr:u}),_asserts:Y1("asserts",{startsExpr:u}),_checks:Y1("checks",{startsExpr:u}),_exports:Y1("exports",{startsExpr:u}),_global:Y1("global",{startsExpr:u}),_implements:Y1("implements",{startsExpr:u}),_intrinsic:Y1("intrinsic",{startsExpr:u}),_infer:Y1("infer",{startsExpr:u}),_is:Y1("is",{startsExpr:u}),_mixins:Y1("mixins",{startsExpr:u}),_proto:Y1("proto",{startsExpr:u}),_require:Y1("require",{startsExpr:u}),_satisfies:Y1("satisfies",{startsExpr:u}),_keyof:Y1("keyof",{startsExpr:u}),_readonly:Y1("readonly",{startsExpr:u}),_unique:Y1("unique",{startsExpr:u}),_abstract:Y1("abstract",{startsExpr:u}),_declare:Y1("declare",{startsExpr:u}),_enum:Y1("enum",{startsExpr:u}),_module:Y1("module",{startsExpr:u}),_namespace:Y1("namespace",{startsExpr:u}),_interface:Y1("interface",{startsExpr:u}),_type:Y1("type",{startsExpr:u}),_opaque:Y1("opaque",{startsExpr:u}),name:s("name",{startsExpr:u}),placeholder:s("%%",{startsExpr:!0}),string:s("string",{startsExpr:u}),num:s("num",{startsExpr:u}),bigint:s("bigint",{startsExpr:u}),decimal:s("decimal",{startsExpr:u}),regexp:s("regexp",{startsExpr:u}),privateName:s("#name",{startsExpr:u}),eof:s("eof"),jsxName:s("jsxName"),jsxText:s("jsxText",{beforeExpr:!0}),jsxTagStart:s("jsxTagStart",{startsExpr:!0}),jsxTagEnd:s("jsxTagEnd")};function j1(G){return G>=93&&G<=133}function z21(G){return G<=92}function WG(G){return G>=58&&G<=133}function fV(G){return G>=58&&G<=137}function K21(G){return f2[G]}function q2(G){return I2[G]}function U21(G){return G>=29&&G<=33}function BV(G){return G>=129&&G<=131}function R21(G){return G>=90&&G<=92}function N2(G){return G>=58&&G<=92}function B21(G){return G>=39&&G<=59}function M21(G){return G===34}function $21(G){return P2[G]}function F21(G){return G>=121&&G<=123}function q21(G){return G>=124&&G<=130}function uG(G){return D2[G]}function X0(G){return S2[G]}function j21(G){return G===57}function V0(G){return G>=24&&G<=25}function DG(G){return fG[G]}fG[8].updateContext=(G)=>{G.pop()},fG[5].updateContext=fG[7].updateContext=fG[23].updateContext=(G)=>{G.push(q1.brace)},fG[22].updateContext=(G)=>{if(G[G.length-1]===q1.template)G.pop();else G.push(q1.template)},fG[143].updateContext=(G)=>{G.push(q1.j_expr,q1.j_oTag)};var T2="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",IV="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",O21=new RegExp("["+T2+"]"),A21=new RegExp("["+T2+IV+"]");T2=IV=null;var PV=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],C21=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function j2(G,J){let X=65536;for(let H=0,V=J.length;H<V;H+=2){if(X+=J[H],X>G)return!1;if(X+=J[H+1],X>=G)return!0}return!1}function IG(G){if(G<65)return G===36;if(G<=90)return!0;if(G<97)return G===95;if(G<=122)return!0;if(G<=65535)return G>=170&&O21.test(String.fromCharCode(G));return j2(G,PV)}function jJ(G){if(G<48)return G===36;if(G<58)return!0;if(G<65)return!1;if(G<=90)return!0;if(G<97)return G===95;if(G<=122)return!0;if(G<=65535)return G>=170&&A21.test(String.fromCharCode(G));return j2(G,PV)||j2(G,C21)}var w2={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},D21=new Set(w2.keyword),S21=new Set(w2.strict),f21=new Set(w2.strictBind);function NV(G,J){return J&&G==="await"||G==="enum"}function TV(G,J){return NV(G,J)||S21.has(G)}function wV(G){return f21.has(G)}function LV(G,J){return TV(G,J)||wV(G)}function I21(G){return D21.has(G)}function P21(G,J,X){return G===64&&J===64&&IG(X)}var N21=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function T21(G){return N21.has(G)}class Z0{constructor(G){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=G}}class Q0{constructor(G,J){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=G,this.inModule=J}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let G=this.currentThisScopeFlags();return(G&64)>0&&(G&2)===0}get inStaticBlock(){for(let G=this.scopeStack.length-1;;G--){let{flags:J}=this.scopeStack[G];if(J&128)return!0;if(J&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(G){return new Z0(G)}enter(G){this.scopeStack.push(this.createScope(G))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(G){return!!(G.flags&130||!this.parser.inModule&&G.flags&1)}declareName(G,J,X){let H=this.currentScope();if(J&8||J&16){this.checkRedeclarationInScope(H,G,J,X);let V=H.names.get(G)||0;if(J&16)V=V|4;else{if(!H.firstLexicalName)H.firstLexicalName=G;V=V|2}if(H.names.set(G,V),J&8)this.maybeExportDefined(H,G)}else if(J&4){for(let V=this.scopeStack.length-1;V>=0;--V)if(H=this.scopeStack[V],this.checkRedeclarationInScope(H,G,J,X),H.names.set(G,(H.names.get(G)||0)|1),this.maybeExportDefined(H,G),H.flags&387)break}if(this.parser.inModule&&H.flags&1)this.undefinedExports.delete(G)}maybeExportDefined(G,J){if(this.parser.inModule&&G.flags&1)this.undefinedExports.delete(J)}checkRedeclarationInScope(G,J,X,H){if(this.isRedeclaredInScope(G,J,X))this.parser.raise(j.VarRedeclaration,H,{identifierName:J})}isRedeclaredInScope(G,J,X){if(!(X&1))return!1;if(X&8)return G.names.has(J);let H=G.names.get(J);if(X&16)return(H&2)>0||!this.treatFunctionsAsVarInScope(G)&&(H&1)>0;return(H&2)>0&&!(G.flags&8&&G.firstLexicalName===J)||!this.treatFunctionsAsVarInScope(G)&&(H&4)>0}checkLocalExport(G){let{name:J}=G;if(!this.scopeStack[0].names.has(J))this.undefinedExports.set(J,G.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let G=this.scopeStack.length-1;;G--){let{flags:J}=this.scopeStack[G];if(J&387)return J}}currentThisScopeFlags(){for(let G=this.scopeStack.length-1;;G--){let{flags:J}=this.scopeStack[G];if(J&451&&!(J&4))return J}}}class bV extends Z0{constructor(...G){super(...G);this.declareFunctions=new Set}}class kV extends Q0{createScope(G){return new bV(G)}declareName(G,J,X){let H=this.currentScope();if(J&2048){this.checkRedeclarationInScope(H,G,J,X),this.maybeExportDefined(H,G),H.declareFunctions.add(G);return}super.declareName(G,J,X)}isRedeclaredInScope(G,J,X){if(super.isRedeclaredInScope(G,J,X))return!0;if(X&2048&&!G.declareFunctions.has(J)){let H=G.names.get(J);return(H&4)>0||(H&2)>0}return!1}checkLocalExport(G){if(!this.scopeStack[0].declareFunctions.has(G.name))super.checkLocalExport(G)}}class vV{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(G){return G+this.startIndex}offsetToSourcePos(G){return G-this.startIndex}hasPlugin(G){if(typeof G==="string")return this.plugins.has(G);else{let[J,X]=G;if(!this.hasPlugin(J))return!1;let H=this.plugins.get(J);for(let V of Object.keys(X))if((H==null?void 0:H[V])!==X[V])return!1;return!0}}getPluginOption(G,J){var X;return(X=this.plugins.get(G))==null?void 0:X[J]}}function EV(G,J){if(G.trailingComments===void 0)G.trailingComments=J;else G.trailingComments.unshift(...J)}function w21(G,J){if(G.leadingComments===void 0)G.leadingComments=J;else G.leadingComments.unshift(...J)}function HX(G,J){if(G.innerComments===void 0)G.innerComments=J;else G.innerComments.unshift(...J)}function dG(G,J,X){let H=null,V=J.length;while(H===null&&V>0)H=J[--V];if(H===null||H.start>X.start)HX(G,X.comments);else EV(H,X.comments)}class gV extends vV{addComment(G){if(this.filename)G.loc.filename=this.filename;let{commentsLen:J}=this.state;if(this.comments.length!==J)this.comments.length=J;this.comments.push(G),this.state.commentsLen++}processComment(G){let{commentStack:J}=this.state,X=J.length;if(X===0)return;let H=X-1,V=J[H];if(V.start===G.end)V.leadingNode=G,H--;let{start:Z}=G;for(;H>=0;H--){let Q=J[H],W=Q.end;if(W>Z)Q.containingNode=G,this.finalizeComment(Q),J.splice(H,1);else{if(W===Z)Q.trailingNode=G;break}}}finalizeComment(G){let{comments:J}=G;if(G.leadingNode!==null||G.trailingNode!==null){if(G.leadingNode!==null)EV(G.leadingNode,J);if(G.trailingNode!==null)w21(G.trailingNode,J)}else{let{containingNode:X,start:H}=G;if(this.input.charCodeAt(this.offsetToSourcePos(H)-1)===44)switch(X.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":dG(X,X.properties,G);break;case"CallExpression":case"OptionalCallExpression":dG(X,X.arguments,G);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":dG(X,X.params,G);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":dG(X,X.elements,G);break;case"ExportNamedDeclaration":case"ImportDeclaration":dG(X,X.specifiers,G);break;case"TSEnumDeclaration":dG(X,X.members,G);break;case"TSEnumBody":dG(X,X.members,G);break;default:HX(X,J)}else HX(X,J)}}finalizeRemainingComments(){let{commentStack:G}=this.state;for(let J=G.length-1;J>=0;J--)this.finalizeComment(G[J]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(G){let{commentStack:J}=this.state,{length:X}=J;if(X===0)return;let H=J[X-1];if(H.leadingNode===G)H.leadingNode=null}resetPreviousIdentifierLeadingComments(G){let{commentStack:J}=this.state,{length:X}=J;if(X===0)return;if(J[X-1].trailingNode===G)J[X-1].trailingNode=null;else if(X>=2&&J[X-2].trailingNode===G)J[X-2].trailingNode=null}takeSurroundingComments(G,J,X){let{commentStack:H}=this.state,V=H.length;if(V===0)return;let Z=V-1;for(;Z>=0;Z--){let Q=H[Z],W=Q.end;if(Q.start===X)Q.leadingNode=G;else if(W===J)Q.trailingNode=G;else if(W<J)break}}}var L21=/\r\n|[\r\n\u2028\u2029]/,eX=new RegExp(L21.source,"g");function OJ(G){switch(G){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function MV(G,J,X){for(let H=J;H<X;H++)if(OJ(G.charCodeAt(H)))return!0;return!1}var B2=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,M2=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function b21(G){switch(G){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class L2{constructor(){this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[q1.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(G){if(G)this.flags|=1;else this.flags&=-2}init({strictMode:G,sourceType:J,startIndex:X,startLine:H,startColumn:V}){this.strict=G===!1?!1:G===!0?!0:J==="module",this.startIndex=X,this.curLine=H,this.lineStart=-V,this.startLoc=this.endLoc=new NG(H,V,X)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(G){if(G)this.flags|=2;else this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(G){if(G)this.flags|=4;else this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(G){if(G)this.flags|=8;else this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(G){if(G)this.flags|=16;else this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(G){if(G)this.flags|=32;else this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(G){if(G)this.flags|=64;else this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(G){if(G)this.flags|=128;else this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(G){if(G)this.flags|=256;else this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(G){if(G)this.flags|=512;else this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(G){if(G)this.flags|=1024;else this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(G){if(G)this.flags|=2048;else this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(G){if(G)this.flags|=4096;else this.flags&=-4097}curPosition(){return new NG(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let G=new L2;return G.flags=this.flags,G.startIndex=this.startIndex,G.curLine=this.curLine,G.lineStart=this.lineStart,G.startLoc=this.startLoc,G.endLoc=this.endLoc,G.errors=this.errors.slice(),G.potentialArrowAt=this.potentialArrowAt,G.noArrowAt=this.noArrowAt.slice(),G.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),G.topicContext=this.topicContext,G.labels=this.labels.slice(),G.commentsLen=this.commentsLen,G.commentStack=this.commentStack.slice(),G.pos=this.pos,G.type=this.type,G.value=this.value,G.start=this.start,G.end=this.end,G.lastTokEndLoc=this.lastTokEndLoc,G.lastTokStartLoc=this.lastTokStartLoc,G.context=this.context.slice(),G.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,G.strictErrors=this.strictErrors,G.tokensLength=this.tokensLength,G}}var k21=function G(J){return J>=48&&J<=57},$V={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},G0={bin:(G)=>G===48||G===49,oct:(G)=>G>=48&&G<=55,dec:(G)=>G>=48&&G<=57,hex:(G)=>G>=48&&G<=57||G>=65&&G<=70||G>=97&&G<=102};function FV(G,J,X,H,V,Z){let Q=X,W=H,Y=V,z="",U=null,q=X,{length:A}=J;for(;;){if(X>=A){Z.unterminated(Q,W,Y),z+=J.slice(q,X);break}let C=J.charCodeAt(X);if(v21(G,C,J,X)){z+=J.slice(q,X);break}if(C===92){z+=J.slice(q,X);let D=E21(J,X,H,V,G==="template",Z);if(D.ch===null&&!U)U={pos:X,lineStart:H,curLine:V};else z+=D.ch;({pos:X,lineStart:H,curLine:V}=D),q=X}else if(C===8232||C===8233)++X,++V,H=X;else if(C===10||C===13)if(G==="template"){if(z+=J.slice(q,X)+`
18
+ `,++X,C===13&&J.charCodeAt(X)===10)++X;++V,q=H=X}else Z.unterminated(Q,W,Y);else++X}return{pos:X,str:z,firstInvalidLoc:U,lineStart:H,curLine:V,containsInvalid:!!U}}function v21(G,J,X,H){if(G==="template")return J===96||J===36&&X.charCodeAt(H+1)===123;return J===(G==="double"?34:39)}function E21(G,J,X,H,V,Z){let Q=!V;J++;let W=(z)=>({pos:J,ch:z,lineStart:X,curLine:H}),Y=G.charCodeAt(J++);switch(Y){case 110:return W(`
19
+ `);case 114:return W("\r");case 120:{let z;return{code:z,pos:J}=O2(G,J,X,H,2,!1,Q,Z),W(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:J}=hV(G,J,X,H,Q,Z),W(z===null?null:String.fromCodePoint(z))}case 116:return W("\t");case 98:return W("\b");case 118:return W("\v");case 102:return W("\f");case 13:if(G.charCodeAt(J)===10)++J;case 10:X=J,++H;case 8232:case 8233:return W("");case 56:case 57:if(V)return W(null);else Z.strictNumericEscape(J-1,X,H);default:if(Y>=48&&Y<=55){let z=J-1,q=/^[0-7]+/.exec(G.slice(z,J+2))[0],A=parseInt(q,8);if(A>255)q=q.slice(0,-1),A=parseInt(q,8);J+=q.length-1;let C=G.charCodeAt(J);if(q!=="0"||C===56||C===57)if(V)return W(null);else Z.strictNumericEscape(z,X,H);return W(String.fromCharCode(A))}return W(String.fromCharCode(Y))}}function O2(G,J,X,H,V,Z,Q,W){let Y=J,z;if({n:z,pos:J}=_V(G,J,X,H,16,V,Z,!1,W,!Q),z===null)if(Q)W.invalidEscapeSequence(Y,X,H);else J=Y-1;return{code:z,pos:J}}function _V(G,J,X,H,V,Z,Q,W,Y,z){let U=J,q=V===16?$V.hex:$V.decBinOct,A=V===16?G0.hex:V===10?G0.dec:V===8?G0.oct:G0.bin,C=!1,D=0;for(let L=0,P=Z==null?1/0:Z;L<P;++L){let w=G.charCodeAt(J),b;if(w===95&&W!=="bail"){let X1=G.charCodeAt(J-1),r=G.charCodeAt(J+1);if(!W){if(z)return{n:null,pos:J};Y.numericSeparatorInEscapeSequence(J,X,H)}else if(Number.isNaN(r)||!A(r)||q.has(X1)||q.has(r)){if(z)return{n:null,pos:J};Y.unexpectedNumericSeparator(J,X,H)}++J;continue}if(w>=97)b=w-97+10;else if(w>=65)b=w-65+10;else if(k21(w))b=w-48;else b=1/0;if(b>=V)if(b<=9&&z)return{n:null,pos:J};else if(b<=9&&Y.invalidDigit(J,X,H,V))b=0;else if(Q)b=0,C=!0;else break;++J,D=D*V+b}if(J===U||Z!=null&&J-U!==Z||C)return{n:null,pos:J};return{n:D,pos:J}}function hV(G,J,X,H,V,Z){let Q=G.charCodeAt(J),W;if(Q===123){if(++J,{code:W,pos:J}=O2(G,J,X,H,G.indexOf("}",J)-J,!0,V,Z),++J,W!==null&&W>1114111)if(V)Z.invalidCodePoint(J,X,H);else return{code:null,pos:J}}else({code:W,pos:J}=O2(G,J,X,H,4,!1,V,Z));return{code:W,pos:J}}function oJ(G,J,X){return new NG(X,G-J,G)}var g21=new Set([103,109,115,105,121,117,100,118]);class SG{constructor(G){let J=G.startIndex||0;this.type=G.type,this.value=G.value,this.start=J+G.start,this.end=J+G.end,this.loc=new XX(G.startLoc,G.endLoc)}}class uV extends gV{constructor(G,J){super();this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(X,H,V,Z)=>{if(!(this.optionFlags&1024))return!1;return this.raise(j.InvalidDigit,oJ(X,H,V),{radix:Z}),!0},numericSeparatorInEscapeSequence:this.errorBuilder(j.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(j.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(j.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(j.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(X,H,V)=>{this.recordStrictModeErrors(j.StrictNumericEscape,oJ(X,H,V))},unterminated:(X,H,V)=>{throw this.raise(j.UnterminatedString,oJ(X-1,H,V))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(j.StrictNumericEscape),unterminated:(X,H,V)=>{throw this.raise(j.UnterminatedTemplate,oJ(X,H,V))}}),this.state=new L2,this.state.init(G),this.input=J,this.length=J.length,this.comments=[],this.isLookahead=!1}pushToken(G){this.tokens.length=this.state.tokensLength,this.tokens.push(G),++this.state.tokensLength}next(){if(this.checkKeywordEscapes(),this.optionFlags&128)this.pushToken(new SG(this.state));this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(G){if(this.match(G))return this.next(),!0;else return!1}match(G){return this.state.type===G}createLookaheadState(G){return{pos:G.pos,value:null,type:G.type,start:G.start,end:G.end,context:[this.curContext()],inType:G.inType,startLoc:G.startLoc,lastTokEndLoc:G.lastTokEndLoc,curLine:G.curLine,lineStart:G.lineStart,curPosition:G.curPosition}}lookahead(){let G=this.state;this.state=this.createLookaheadState(G),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let J=this.state;return this.state=G,J}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(G){return B2.lastIndex=G,B2.test(this.input)?B2.lastIndex:G}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(G){return M2.lastIndex=G,M2.test(this.input)?M2.lastIndex:G}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(G){let J=this.input.charCodeAt(G);if((J&64512)===55296&&++G<this.input.length){let X=this.input.charCodeAt(G);if((X&64512)===56320)J=65536+((J&1023)<<10)+(X&1023)}return J}setStrict(G){if(this.state.strict=G,G)this.state.strictErrors.forEach(([J,X])=>this.raise(J,X)),this.state.strictErrors.clear()}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(G){let J;if(!this.isLookahead)J=this.state.curPosition();let X=this.state.pos,H=this.input.indexOf(G,X+2);if(H===-1)throw this.raise(j.UnterminatedComment,this.state.curPosition());this.state.pos=H+G.length,eX.lastIndex=X+2;while(eX.test(this.input)&&eX.lastIndex<=H)++this.state.curLine,this.state.lineStart=eX.lastIndex;if(this.isLookahead)return;let V={type:"CommentBlock",value:this.input.slice(X+2,H),start:this.sourceToOffsetPos(X),end:this.sourceToOffsetPos(H+G.length),loc:new XX(J,this.state.curPosition())};if(this.optionFlags&128)this.pushToken(V);return V}skipLineComment(G){let J=this.state.pos,X;if(!this.isLookahead)X=this.state.curPosition();let H=this.input.charCodeAt(this.state.pos+=G);if(this.state.pos<this.length)while(!OJ(H)&&++this.state.pos<this.length)H=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let V=this.state.pos,Q={type:"CommentLine",value:this.input.slice(J+G,V),start:this.sourceToOffsetPos(J),end:this.sourceToOffsetPos(V),loc:new XX(X,this.state.curPosition())};if(this.optionFlags&128)this.pushToken(Q);return Q}skipSpace(){let G=this.state.pos,J=this.optionFlags&2048?[]:null;G:while(this.state.pos<this.length){let X=this.input.charCodeAt(this.state.pos);switch(X){case 32:case 160:case 9:++this.state.pos;break;case 13:if(this.input.charCodeAt(this.state.pos+1)===10)++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let H=this.skipBlockComment("*/");if(H!==void 0)this.addComment(H),J==null||J.push(H);break}case 47:{let H=this.skipLineComment(2);if(H!==void 0)this.addComment(H),J==null||J.push(H);break}default:break G}break;default:if(b21(X))++this.state.pos;else if(X===45&&!this.inModule&&this.optionFlags&4096){let H=this.state.pos;if(this.input.charCodeAt(H+1)===45&&this.input.charCodeAt(H+2)===62&&(G===0||this.state.lineStart>G)){let V=this.skipLineComment(3);if(V!==void 0)this.addComment(V),J==null||J.push(V)}else break G}else if(X===60&&!this.inModule&&this.optionFlags&4096){let H=this.state.pos;if(this.input.charCodeAt(H+1)===33&&this.input.charCodeAt(H+2)===45&&this.input.charCodeAt(H+3)===45){let V=this.skipLineComment(4);if(V!==void 0)this.addComment(V),J==null||J.push(V)}else break G}else break G}}if((J==null?void 0:J.length)>0){let X=this.state.pos,H={start:this.sourceToOffsetPos(G),end:this.sourceToOffsetPos(X),comments:J,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(H)}}finishToken(G,J){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let X=this.state.type;if(this.state.type=G,this.state.value=J,!this.isLookahead)this.updateContext(X)}replaceToken(G){this.state.type=G,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let G=this.state.pos+1,J=this.codePointAtPos(G);if(J>=48&&J<=57)throw this.raise(j.UnexpectedDigitAfterHash,this.state.curPosition());if(J===123||J===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(J===123?j.RecordExpressionHashIncorrectStartSyntaxType:j.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());if(this.state.pos+=2,J===123)this.finishToken(7);else this.finishToken(1)}else if(IG(J))++this.state.pos,this.finishToken(139,this.readWord1(J));else if(J===92)++this.state.pos,this.finishToken(139,this.readWord1());else this.finishOp(27,1)}readToken_dot(){let G=this.input.charCodeAt(this.state.pos+1);if(G>=48&&G<=57){this.readNumber(!0);return}if(G===46&&this.input.charCodeAt(this.state.pos+2)===46)this.state.pos+=3,this.finishToken(21);else++this.state.pos,this.finishToken(16)}readToken_slash(){if(this.input.charCodeAt(this.state.pos+1)===61)this.finishOp(31,2);else this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let G=this.input.charCodeAt(this.state.pos+1);if(G!==33)return!1;let J=this.state.pos;this.state.pos+=1;while(!OJ(G)&&++this.state.pos<this.length)G=this.input.charCodeAt(this.state.pos);let X=this.input.slice(J+2,this.state.pos);return this.finishToken(28,X),!0}readToken_mult_modulo(G){let J=G===42?55:54,X=1,H=this.input.charCodeAt(this.state.pos+1);if(G===42&&H===42)X++,H=this.input.charCodeAt(this.state.pos+2),J=57;if(H===61&&!this.state.inType)X++,J=G===37?33:30;this.finishOp(J,X)}readToken_pipe_amp(G){let J=this.input.charCodeAt(this.state.pos+1);if(J===G){if(this.input.charCodeAt(this.state.pos+2)===61)this.finishOp(30,3);else this.finishOp(G===124?41:42,2);return}if(G===124){if(J===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&J===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(j.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&J===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(j.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(J===61){this.finishOp(30,2);return}this.finishOp(G===124?43:45,1)}readToken_caret(){let G=this.input.charCodeAt(this.state.pos+1);if(G===61&&!this.state.inType)this.finishOp(32,2);else if(G===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){if(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94)this.unexpected()}else this.finishOp(44,1)}readToken_atSign(){if(this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}]))this.finishOp(38,2);else this.finishOp(26,1)}readToken_plus_min(G){let J=this.input.charCodeAt(this.state.pos+1);if(J===G){this.finishOp(34,2);return}if(J===61)this.finishOp(30,2);else this.finishOp(53,1)}readToken_lt(){let{pos:G}=this.state,J=this.input.charCodeAt(G+1);if(J===60){if(this.input.charCodeAt(G+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(J===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:G}=this.state,J=this.input.charCodeAt(G+1);if(J===62){let X=this.input.charCodeAt(G+2)===62?3:2;if(this.input.charCodeAt(G+X)===61){this.finishOp(30,X+1);return}this.finishOp(52,X);return}if(J===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(G){let J=this.input.charCodeAt(this.state.pos+1);if(J===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(G===61&&J===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(G===61?29:35,1)}readToken_question(){let G=this.input.charCodeAt(this.state.pos+1),J=this.input.charCodeAt(this.state.pos+2);if(G===63)if(J===61)this.finishOp(30,3);else this.finishOp(40,2);else if(G===46&&!(J>=48&&J<=57))this.state.pos+=2,this.finishToken(18);else++this.state.pos,this.finishToken(17)}getTokenFromCode(G){switch(G){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(j.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(j.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58)this.finishOp(15,2);else++this.state.pos,this.finishToken(14);return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let J=this.input.charCodeAt(this.state.pos+1);if(J===120||J===88){this.readRadixNumber(16);return}if(J===111||J===79){this.readRadixNumber(8);return}if(J===98||J===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(G);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(G);return;case 124:case 38:this.readToken_pipe_amp(G);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(G);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(G);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(IG(G)){this.readWord(G);return}}throw this.raise(j.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(G)})}finishOp(G,J){let X=this.input.slice(this.state.pos,this.state.pos+J);this.state.pos+=J,this.finishToken(G,X)}readRegexp(){let G=this.state.startLoc,J=this.state.start+1,X,H,{pos:V}=this.state;for(;;++V){if(V>=this.length)throw this.raise(j.UnterminatedRegExp,m1(G,1));let Y=this.input.charCodeAt(V);if(OJ(Y))throw this.raise(j.UnterminatedRegExp,m1(G,1));if(X)X=!1;else{if(Y===91)H=!0;else if(Y===93&&H)H=!1;else if(Y===47&&!H)break;X=Y===92}}let Z=this.input.slice(J,V);++V;let Q="",W=()=>m1(G,V+2-J);while(V<this.length){let Y=this.codePointAtPos(V),z=String.fromCharCode(Y);if(g21.has(Y)){if(Y===118){if(Q.includes("u"))this.raise(j.IncompatibleRegExpUVFlags,W())}else if(Y===117){if(Q.includes("v"))this.raise(j.IncompatibleRegExpUVFlags,W())}if(Q.includes(z))this.raise(j.DuplicateRegExpFlags,W())}else if(jJ(Y)||Y===92)this.raise(j.MalformedRegExpFlags,W());else break;++V,Q+=z}this.state.pos=V,this.finishToken(138,{pattern:Z,flags:Q})}readInt(G,J,X=!1,H=!0){let{n:V,pos:Z}=_V(this.input,this.state.pos,this.state.lineStart,this.state.curLine,G,J,X,H,this.errorHandlers_readInt,!1);return this.state.pos=Z,V}readRadixNumber(G){let J=this.state.pos,X=this.state.curPosition(),H=!1;this.state.pos+=2;let V=this.readInt(G);if(V==null)this.raise(j.InvalidDigit,m1(X,2),{radix:G});let Z=this.input.charCodeAt(this.state.pos);if(Z===110)++this.state.pos,H=!0;else if(Z===109)throw this.raise(j.InvalidDecimal,X);if(IG(this.codePointAtPos(this.state.pos)))throw this.raise(j.NumberIdentifier,this.state.curPosition());if(H){let Q=this.input.slice(J,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,Q);return}this.finishToken(135,V)}readNumber(G){let J=this.state.pos,X=this.state.curPosition(),H=!1,V=!1,Z=!1,Q=!1;if(!G&&this.readInt(10)===null)this.raise(j.InvalidNumber,this.state.curPosition());let W=this.state.pos-J>=2&&this.input.charCodeAt(J)===48;if(W){let A=this.input.slice(J,this.state.pos);if(this.recordStrictModeErrors(j.StrictOctalLiteral,X),!this.state.strict){let C=A.indexOf("_");if(C>0)this.raise(j.ZeroDigitNumericSeparator,m1(X,C))}Q=W&&!/[89]/.test(A)}let Y=this.input.charCodeAt(this.state.pos);if(Y===46&&!Q)++this.state.pos,this.readInt(10),H=!0,Y=this.input.charCodeAt(this.state.pos);if((Y===69||Y===101)&&!Q){if(Y=this.input.charCodeAt(++this.state.pos),Y===43||Y===45)++this.state.pos;if(this.readInt(10)===null)this.raise(j.InvalidOrMissingExponent,X);H=!0,Z=!0,Y=this.input.charCodeAt(this.state.pos)}if(Y===110){if(H||W)this.raise(j.InvalidBigIntLiteral,X);++this.state.pos,V=!0}if(Y===109){if(this.expectPlugin("decimal",this.state.curPosition()),Z||W)this.raise(j.InvalidDecimal,X);++this.state.pos;var z=!0}if(IG(this.codePointAtPos(this.state.pos)))throw this.raise(j.NumberIdentifier,this.state.curPosition());let U=this.input.slice(J,this.state.pos).replace(/[_mn]/g,"");if(V){this.finishToken(136,U);return}if(z){this.finishToken(137,U);return}let q=Q?parseInt(U,8):parseFloat(U);this.finishToken(135,q)}readCodePoint(G){let{code:J,pos:X}=hV(this.input,this.state.pos,this.state.lineStart,this.state.curLine,G,this.errorHandlers_readCodePoint);return this.state.pos=X,J}readString(G){let{str:J,pos:X,curLine:H,lineStart:V}=FV(G===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=X+1,this.state.lineStart=V,this.state.curLine=H,this.finishToken(134,J)}readTemplateContinuation(){if(!this.match(8))this.unexpected(null,8);this.state.pos--,this.readTemplateToken()}readTemplateToken(){let G=this.input[this.state.pos],{str:J,firstInvalidLoc:X,pos:H,curLine:V,lineStart:Z}=FV("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);if(this.state.pos=H+1,this.state.lineStart=Z,this.state.curLine=V,X)this.state.firstInvalidTemplateEscapePos=new NG(X.curLine,X.pos-X.lineStart,this.sourceToOffsetPos(X.pos));if(this.input.codePointAt(H)===96)this.finishToken(24,X?null:G+J+"`");else this.state.pos++,this.finishToken(25,X?null:G+J+"${")}recordStrictModeErrors(G,J){let X=J.index;if(this.state.strict&&!this.state.strictErrors.has(X))this.raise(G,J);else this.state.strictErrors.set(X,[G,J])}readWord1(G){this.state.containsEsc=!1;let J="",X=this.state.pos,H=this.state.pos;if(G!==void 0)this.state.pos+=G<=65535?1:2;while(this.state.pos<this.length){let V=this.codePointAtPos(this.state.pos);if(jJ(V))this.state.pos+=V<=65535?1:2;else if(V===92){this.state.containsEsc=!0,J+=this.input.slice(H,this.state.pos);let Z=this.state.curPosition(),Q=this.state.pos===X?IG:jJ;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(j.MissingUnicodeEscape,this.state.curPosition()),H=this.state.pos-1;continue}++this.state.pos;let W=this.readCodePoint(!0);if(W!==null){if(!Q(W))this.raise(j.EscapedCharNotAnIdentifier,Z);J+=String.fromCodePoint(W)}H=this.state.pos}else break}return J+this.input.slice(H,this.state.pos)}readWord(G){let J=this.readWord1(G),X=C2.get(J);if(X!==void 0)this.finishToken(X,uG(X));else this.finishToken(132,J)}checkKeywordEscapes(){let{type:G}=this.state;if(N2(G)&&this.state.containsEsc)this.raise(j.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:uG(G)})}raise(G,J,X={}){let H=J instanceof NG?J:J.loc.start,V=G(H,X);if(!(this.optionFlags&1024))throw V;if(!this.isLookahead)this.state.errors.push(V);return V}raiseOverwrite(G,J,X={}){let H=J instanceof NG?J:J.loc.start,V=H.index,Z=this.state.errors;for(let Q=Z.length-1;Q>=0;Q--){let W=Z[Q];if(W.loc.index===V)return Z[Q]=G(H,X);if(W.loc.index<V)break}return this.raise(G,J,X)}updateContext(G){}unexpected(G,J){throw this.raise(j.UnexpectedToken,G!=null?G:this.state.startLoc,{expected:J?uG(J):null})}expectPlugin(G,J){if(this.hasPlugin(G))return!0;throw this.raise(j.MissingPlugin,J!=null?J:this.state.startLoc,{missingPlugin:[G]})}expectOnePlugin(G){if(!G.some((J)=>this.hasPlugin(J)))throw this.raise(j.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:G})}errorBuilder(G){return(J,X,H)=>{this.raise(G,oJ(J,X,H))}}}class yV{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class xV{constructor(G){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=G}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new yV)}exit(){let G=this.stack.pop(),J=this.current();for(let[X,H]of Array.from(G.undefinedPrivateNames))if(J){if(!J.undefinedPrivateNames.has(X))J.undefinedPrivateNames.set(X,H)}else this.parser.raise(j.InvalidPrivateFieldResolution,H,{identifierName:X})}declarePrivateName(G,J,X){let{privateNames:H,loneAccessors:V,undefinedPrivateNames:Z}=this.current(),Q=H.has(G);if(J&3){let W=Q&&V.get(G);if(W){let Y=W&4,z=J&4,U=W&3,q=J&3;if(Q=U===q||Y!==z,!Q)V.delete(G)}else if(!Q)V.set(G,J)}if(Q)this.parser.raise(j.PrivateNameRedeclaration,X,{identifierName:G});H.add(G),Z.delete(G)}usePrivateName(G,J){let X;for(X of this.stack)if(X.privateNames.has(G))return;if(X)X.undefinedPrivateNames.set(G,J);else this.parser.raise(j.InvalidPrivateFieldResolution,J,{identifierName:G})}}class ZX{constructor(G=0){this.type=G}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class b2 extends ZX{constructor(G){super(G);this.declarationErrors=new Map}recordDeclarationError(G,J){let X=J.index;this.declarationErrors.set(X,[G,J])}clearDeclarationError(G){this.declarationErrors.delete(G)}iterateErrors(G){this.declarationErrors.forEach(G)}}class mV{constructor(G){this.parser=void 0,this.stack=[new ZX],this.parser=G}enter(G){this.stack.push(G)}exit(){this.stack.pop()}recordParameterInitializerError(G,J){let X=J.loc.start,{stack:H}=this,V=H.length-1,Z=H[V];while(!Z.isCertainlyParameterDeclaration()){if(Z.canBeArrowParameterDeclaration())Z.recordDeclarationError(G,X);else return;Z=H[--V]}this.parser.raise(G,X)}recordArrowParameterBindingError(G,J){let{stack:X}=this,H=X[X.length-1],V=J.loc.start;if(H.isCertainlyParameterDeclaration())this.parser.raise(G,V);else if(H.canBeArrowParameterDeclaration())H.recordDeclarationError(G,V);else return}recordAsyncArrowParametersError(G){let{stack:J}=this,X=J.length-1,H=J[X];while(H.canBeArrowParameterDeclaration()){if(H.type===2)H.recordDeclarationError(j.AwaitBindingIdentifier,G);H=J[--X]}}validateAsPattern(){let{stack:G}=this,J=G[G.length-1];if(!J.canBeArrowParameterDeclaration())return;J.iterateErrors(([X,H])=>{this.parser.raise(X,H);let V=G.length-2,Z=G[V];while(Z.canBeArrowParameterDeclaration())Z.clearDeclarationError(H.index),Z=G[--V]})}}function _21(){return new ZX(3)}function h21(){return new b2(1)}function u21(){return new b2(2)}function cV(){return new ZX}class lV{constructor(){this.stacks=[]}enter(G){this.stacks.push(G)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function H0(G,J){return(G?2:0)|(J?1:0)}class iV extends uV{addExtra(G,J,X,H=!0){if(!G)return;let{extra:V}=G;if(V==null)V={},G.extra=V;if(H)V[J]=X;else Object.defineProperty(V,J,{enumerable:H,value:X})}isContextual(G){return this.state.type===G&&!this.state.containsEsc}isUnparsedContextual(G,J){let X=G+J.length;if(this.input.slice(G,X)===J){let H=this.input.charCodeAt(X);return!(jJ(H)||(H&64512)===55296)}return!1}isLookaheadContextual(G){let J=this.nextTokenStart();return this.isUnparsedContextual(J,G)}eatContextual(G){if(this.isContextual(G))return this.next(),!0;return!1}expectContextual(G,J){if(!this.eatContextual(G)){if(J!=null)throw this.raise(J,this.state.startLoc);this.unexpected(null,G)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return MV(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return MV(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(G=!0){if(G?this.isLineTerminator():this.eat(13))return;this.raise(j.MissingSemicolon,this.state.lastTokEndLoc)}expect(G,J){if(!this.eat(G))this.unexpected(J,G)}tryParse(G,J=this.state.clone()){let X={node:null};try{let H=G((V=null)=>{throw X.node=V,X});if(this.state.errors.length>J.errors.length){let V=this.state;return this.state=J,this.state.tokensLength=V.tokensLength,{node:H,error:V.errors[J.errors.length],thrown:!1,aborted:!1,failState:V}}return{node:H,error:null,thrown:!1,aborted:!1,failState:null}}catch(H){let V=this.state;if(this.state=J,H instanceof SyntaxError)return{node:null,error:H,thrown:!0,aborted:!1,failState:V};if(H===X)return{node:X.node,error:null,thrown:!1,aborted:!0,failState:V};throw H}}checkExpressionErrors(G,J){if(!G)return!1;let{shorthandAssignLoc:X,doubleProtoLoc:H,privateKeyLoc:V,optionalParametersLoc:Z}=G,Q=!!X||!!H||!!Z||!!V;if(!J)return Q;if(X!=null)this.raise(j.InvalidCoverInitializedName,X);if(H!=null)this.raise(j.DuplicateProto,H);if(V!=null)this.raise(j.UnexpectedPrivateField,V);if(Z!=null)this.unexpected(Z)}isLiteralPropertyName(){return fV(this.state.type)}isPrivateName(G){return G.type==="PrivateName"}getPrivateNameSV(G){return G.id.name}hasPropertyAsPrivateName(G){return(G.type==="MemberExpression"||G.type==="OptionalMemberExpression")&&this.isPrivateName(G.property)}isObjectProperty(G){return G.type==="ObjectProperty"}isObjectMethod(G){return G.type==="ObjectMethod"}initializeScopes(G=this.options.sourceType==="module"){let J=this.state.labels;this.state.labels=[];let X=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let H=this.inModule;this.inModule=G;let V=this.scope,Z=this.getScopeHandler();this.scope=new Z(this,G);let Q=this.prodParam;this.prodParam=new lV;let W=this.classScope;this.classScope=new xV(this);let Y=this.expressionScope;return this.expressionScope=new mV(this),()=>{this.state.labels=J,this.exportedIdentifiers=X,this.inModule=H,this.scope=V,this.prodParam=Q,this.classScope=W,this.expressionScope=Y}}enterInitialScopes(){let G=0;if(this.inModule)G|=2;this.scope.enter(1),this.prodParam.enter(G)}checkDestructuringPrivate(G){let{privateKeyLoc:J}=G;if(J!==null)this.expectPlugin("destructuringPrivate",J)}}class JX{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class VX{constructor(G,J,X){if(this.type="",this.start=J,this.end=0,this.loc=new XX(X),(G==null?void 0:G.optionFlags)&64)this.range=[J,0];if(G!=null&&G.filename)this.loc.filename=G.filename}}var k2=VX.prototype;k2.__clone=function(){let G=new VX(void 0,this.start,this.loc.start),J=Object.keys(this);for(let X=0,H=J.length;X<H;X++){let V=J[X];if(V!=="leadingComments"&&V!=="trailingComments"&&V!=="innerComments")G[V]=this[V]}return G};function y21(G){return TG(G)}function TG(G){let{type:J,start:X,end:H,loc:V,range:Z,extra:Q,name:W}=G,Y=Object.create(k2);if(Y.type=J,Y.start=X,Y.end=H,Y.loc=V,Y.range=Z,Y.extra=Q,Y.name=W,J==="Placeholder")Y.expectedNode=G.expectedNode;return Y}function x21(G){let{type:J,start:X,end:H,loc:V,range:Z,extra:Q}=G;if(J==="Placeholder")return y21(G);let W=Object.create(k2);if(W.type=J,W.start=X,W.end=H,W.loc=V,W.range=Z,G.raw!==void 0)W.raw=G.raw;else W.extra=Q;return W.value=G.value,W}class aV extends iV{startNode(){let G=this.state.startLoc;return new VX(this,G.index,G)}startNodeAt(G){return new VX(this,G.index,G)}startNodeAtNode(G){return this.startNodeAt(G.loc.start)}finishNode(G,J){return this.finishNodeAt(G,J,this.state.lastTokEndLoc)}finishNodeAt(G,J,X){if(G.type=J,G.end=X.index,G.loc.end=X,this.optionFlags&64)G.range[1]=X.index;if(this.optionFlags&2048)this.processComment(G);return G}resetStartLocation(G,J){if(G.start=J.index,G.loc.start=J,this.optionFlags&64)G.range[0]=J.index}resetEndLocation(G,J=this.state.lastTokEndLoc){if(G.end=J.index,G.loc.end=J,this.optionFlags&64)G.range[1]=J.index}resetStartLocationFromNode(G,J){this.resetStartLocation(G,J.loc.start)}}var m21=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),t=PG`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:G})=>`Cannot overwrite reserved type ${G}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:G,enumName:J})=>`Boolean enum members need to be initialized. Use either \`${G} = true,\` or \`${G} = false,\` in enum \`${J}\`.`,EnumDuplicateMemberName:({memberName:G,enumName:J})=>`Enum member names need to be unique, but the name \`${G}\` has already been used before in enum \`${J}\`.`,EnumInconsistentMemberValues:({enumName:G})=>`Enum \`${G}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:G,enumName:J})=>`Enum type \`${G}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${J}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:G})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${G}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:G,memberName:J,explicitType:X})=>`Enum \`${G}\` has type \`${X}\`, so the initializer of \`${J}\` needs to be a ${X} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:G,memberName:J})=>`Symbol enum members cannot be initialized. Use \`${J},\` in enum \`${G}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:G,memberName:J})=>`The enum member initializer for \`${J}\` needs to be a literal (either a boolean, number, or string) in enum \`${G}\`.`,EnumInvalidMemberName:({enumName:G,memberName:J,suggestion:X})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${J}\`, consider using \`${X}\`, in enum \`${G}\`.`,EnumNumberMemberNotInitialized:({enumName:G,memberName:J})=>`Number enum members need to be initialized, e.g. \`${J} = 1\` in enum \`${G}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:G})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${G}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:G})=>`Unexpected reserved type ${G}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:G,suggestion:J})=>`\`declare export ${G}\` is not supported. Use \`${J}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function c21(G){return G.type==="DeclareExportAllDeclaration"||G.type==="DeclareExportDeclaration"&&(!G.declaration||G.declaration.type!=="TypeAlias"&&G.declaration.type!=="InterfaceDeclaration")}function qV(G){return G.importKind==="type"||G.importKind==="typeof"}var l21={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function i21(G,J){let X=[],H=[];for(let V=0;V<G.length;V++)(J(G[V],V,G)?X:H).push(G[V]);return[X,H]}var a21=/\*?\s*@((?:no)?flow)\b/,p21=(G)=>class J extends G{constructor(...X){super(...X);this.flowPragma=void 0}getScopeHandler(){return kV}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(X,H){if(X!==134&&X!==13&&X!==28){if(this.flowPragma===void 0)this.flowPragma=null}super.finishToken(X,H)}addComment(X){if(this.flowPragma===void 0){let H=a21.exec(X.value);if(!H);else if(H[1]==="flow")this.flowPragma="flow";else if(H[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(X)}flowParseTypeInitialiser(X){let H=this.state.inType;this.state.inType=!0,this.expect(X||14);let V=this.flowParseType();return this.state.inType=H,V}flowParsePredicate(){let X=this.startNode(),H=this.state.startLoc;if(this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>H.index+1)this.raise(t.UnexpectedSpaceBetweenModuloChecks,H);if(this.eat(10))return X.value=super.parseExpression(),this.expect(11),this.finishNode(X,"DeclaredPredicate");else return this.finishNode(X,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let X=this.state.inType;this.state.inType=!0,this.expect(14);let H=null,V=null;if(this.match(54))this.state.inType=X,V=this.flowParsePredicate();else if(H=this.flowParseType(),this.state.inType=X,this.match(54))V=this.flowParsePredicate();return[H,V]}flowParseDeclareClass(X){return this.next(),this.flowParseInterfaceish(X,!0),this.finishNode(X,"DeclareClass")}flowParseDeclareFunction(X){this.next();let H=X.id=this.parseIdentifier(),V=this.startNode(),Z=this.startNode();if(this.match(47))V.typeParameters=this.flowParseTypeParameterDeclaration();else V.typeParameters=null;this.expect(10);let Q=this.flowParseFunctionTypeParams();return V.params=Q.params,V.rest=Q.rest,V.this=Q._this,this.expect(11),[V.returnType,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),Z.typeAnnotation=this.finishNode(V,"FunctionTypeAnnotation"),H.typeAnnotation=this.finishNode(Z,"TypeAnnotation"),this.resetEndLocation(H),this.semicolon(),this.scope.declareName(X.id.name,2048,X.id.loc.start),this.finishNode(X,"DeclareFunction")}flowParseDeclare(X,H){if(this.match(80))return this.flowParseDeclareClass(X);else if(this.match(68))return this.flowParseDeclareFunction(X);else if(this.match(74))return this.flowParseDeclareVariable(X);else if(this.eatContextual(127))if(this.match(16))return this.flowParseDeclareModuleExports(X);else{if(H)this.raise(t.NestedDeclareModule,this.state.lastTokStartLoc);return this.flowParseDeclareModule(X)}else if(this.isContextual(130))return this.flowParseDeclareTypeAlias(X);else if(this.isContextual(131))return this.flowParseDeclareOpaqueType(X);else if(this.isContextual(129))return this.flowParseDeclareInterface(X);else if(this.match(82))return this.flowParseDeclareExportDeclaration(X,H);else this.unexpected()}flowParseDeclareVariable(X){return this.next(),X.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(X.id.name,5,X.id.loc.start),this.semicolon(),this.finishNode(X,"DeclareVariable")}flowParseDeclareModule(X){if(this.scope.enter(0),this.match(134))X.id=super.parseExprAtom();else X.id=this.parseIdentifier();let H=X.body=this.startNode(),V=H.body=[];this.expect(5);while(!this.match(8)){let W=this.startNode();if(this.match(83)){if(this.next(),!this.isContextual(130)&&!this.match(87))this.raise(t.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc);super.parseImport(W)}else this.expectContextual(125,t.UnsupportedStatementInDeclareModule),W=this.flowParseDeclare(W,!0);V.push(W)}this.scope.exit(),this.expect(8),this.finishNode(H,"BlockStatement");let Z=null,Q=!1;return V.forEach((W)=>{if(c21(W)){if(Z==="CommonJS")this.raise(t.AmbiguousDeclareModuleKind,W);Z="ES"}else if(W.type==="DeclareModuleExports"){if(Q)this.raise(t.DuplicateDeclareModuleExports,W);if(Z==="ES")this.raise(t.AmbiguousDeclareModuleKind,W);Z="CommonJS",Q=!0}}),X.kind=Z||"CommonJS",this.finishNode(X,"DeclareModule")}flowParseDeclareExportDeclaration(X,H){if(this.expect(82),this.eat(65)){if(this.match(68)||this.match(80))X.declaration=this.flowParseDeclare(this.startNode());else X.declaration=this.flowParseType(),this.semicolon();return X.default=!0,this.finishNode(X,"DeclareExportDeclaration")}else{if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!H){let V=this.state.value;throw this.raise(t.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:V,suggestion:l21[V]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return X.declaration=this.flowParseDeclare(this.startNode()),X.default=!1,this.finishNode(X,"DeclareExportDeclaration");else if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)){if(X=this.parseExport(X,null),X.type==="ExportNamedDeclaration")X.type="ExportDeclaration",X.default=!1,delete X.exportKind;return X.type="Declare"+X.type,X}}this.unexpected()}flowParseDeclareModuleExports(X){return this.next(),this.expectContextual(111),X.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(X,"DeclareModuleExports")}flowParseDeclareTypeAlias(X){this.next();let H=this.flowParseTypeAlias(X);return H.type="DeclareTypeAlias",H}flowParseDeclareOpaqueType(X){this.next();let H=this.flowParseOpaqueType(X,!0);return H.type="DeclareOpaqueType",H}flowParseDeclareInterface(X){return this.next(),this.flowParseInterfaceish(X,!1),this.finishNode(X,"DeclareInterface")}flowParseInterfaceish(X,H){if(X.id=this.flowParseRestrictedIdentifier(!H,!0),this.scope.declareName(X.id.name,H?17:8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;if(X.extends=[],this.eat(81))do X.extends.push(this.flowParseInterfaceExtends());while(!H&&this.eat(12));if(H){if(X.implements=[],X.mixins=[],this.eatContextual(117))do X.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do X.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}X.body=this.flowParseObjectType({allowStatic:H,allowExact:!1,allowSpread:!1,allowProto:H,allowInexact:!1})}flowParseInterfaceExtends(){let X=this.startNode();if(X.id=this.flowParseQualifiedTypeIdentifier(),this.match(47))X.typeParameters=this.flowParseTypeParameterInstantiation();else X.typeParameters=null;return this.finishNode(X,"InterfaceExtends")}flowParseInterface(X){return this.flowParseInterfaceish(X,!1),this.finishNode(X,"InterfaceDeclaration")}checkNotUnderscore(X){if(X==="_")this.raise(t.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(X,H,V){if(!m21.has(X))return;this.raise(V?t.AssignReservedType:t.UnexpectedReservedType,H,{reservedType:X})}flowParseRestrictedIdentifier(X,H){return this.checkReservedType(this.state.value,this.state.startLoc,H),this.parseIdentifier(X)}flowParseTypeAlias(X){if(X.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(X.id.name,8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;return X.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(X,"TypeAlias")}flowParseOpaqueType(X,H){if(this.expectContextual(130),X.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(X.id.name,8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;if(X.supertype=null,this.match(14))X.supertype=this.flowParseTypeInitialiser(14);if(X.impltype=null,!H)X.impltype=this.flowParseTypeInitialiser(29);return this.semicolon(),this.finishNode(X,"OpaqueType")}flowParseTypeParameter(X=!1){let H=this.state.startLoc,V=this.startNode(),Z=this.flowParseVariance(),Q=this.flowParseTypeAnnotatableIdentifier();if(V.name=Q.name,V.variance=Z,V.bound=Q.typeAnnotation,this.match(29))this.eat(29),V.default=this.flowParseType();else if(X)this.raise(t.MissingTypeParamDefault,H);return this.finishNode(V,"TypeParameter")}flowParseTypeParameterDeclaration(){let X=this.state.inType,H=this.startNode();if(H.params=[],this.state.inType=!0,this.match(47)||this.match(143))this.next();else this.unexpected();let V=!1;do{let Z=this.flowParseTypeParameter(V);if(H.params.push(Z),Z.default)V=!0;if(!this.match(48))this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=X,this.finishNode(H,"TypeParameterDeclaration")}flowInTopLevelContext(X){if(this.curContext()!==q1.brace){let H=this.state.context;this.state.context=[H[0]];try{return X()}finally{this.state.context=H}}else return X()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()!==47)return;return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let X=this.startNode(),H=this.state.inType;if(this.state.inType=!0,X.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let V=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!1;while(!this.match(48))if(X.params.push(this.flowParseType()),!this.match(48))this.expect(12);this.state.noAnonFunctionType=V}),this.state.inType=H,!this.state.inType&&this.curContext()===q1.brace)this.reScan_lt_gt();return this.expect(48),this.finishNode(X,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;let X=this.startNode(),H=this.state.inType;X.params=[],this.state.inType=!0,this.expect(47);while(!this.match(48))if(X.params.push(this.flowParseTypeOrImplicitInstantiation()),!this.match(48))this.expect(12);return this.expect(48),this.state.inType=H,this.finishNode(X,"TypeParameterInstantiation")}flowParseInterfaceType(){let X=this.startNode();if(this.expectContextual(129),X.extends=[],this.eat(81))do X.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return X.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(X,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(X,H,V){if(X.static=H,this.lookahead().type===14)X.id=this.flowParseObjectPropertyKey(),X.key=this.flowParseTypeInitialiser();else X.id=null,X.key=this.flowParseType();return this.expect(3),X.value=this.flowParseTypeInitialiser(),X.variance=V,this.finishNode(X,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(X,H){if(X.static=H,X.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10))X.method=!0,X.optional=!1,X.value=this.flowParseObjectTypeMethodish(this.startNodeAt(X.loc.start));else{if(X.method=!1,this.eat(17))X.optional=!0;X.value=this.flowParseTypeInitialiser()}return this.finishNode(X,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(X){if(X.params=[],X.rest=null,X.typeParameters=null,X.this=null,this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();if(this.expect(10),this.match(78)){if(X.this=this.flowParseFunctionTypeParam(!0),X.this.name=null,!this.match(11))this.expect(12)}while(!this.match(11)&&!this.match(21))if(X.params.push(this.flowParseFunctionTypeParam(!1)),!this.match(11))this.expect(12);if(this.eat(21))X.rest=this.flowParseFunctionTypeParam(!1);return this.expect(11),X.returnType=this.flowParseTypeInitialiser(),this.finishNode(X,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(X,H){let V=this.startNode();return X.static=H,X.value=this.flowParseObjectTypeMethodish(V),this.finishNode(X,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:X,allowExact:H,allowSpread:V,allowProto:Z,allowInexact:Q}){let W=this.state.inType;this.state.inType=!0;let Y=this.startNode();Y.callProperties=[],Y.properties=[],Y.indexers=[],Y.internalSlots=[];let z,U,q=!1;if(H&&this.match(6))this.expect(6),z=9,U=!0;else this.expect(5),z=8,U=!1;Y.exact=U;while(!this.match(z)){let C=!1,D=null,L=null,P=this.startNode();if(Z&&this.isContextual(118)){let b=this.lookahead();if(b.type!==14&&b.type!==17)this.next(),D=this.state.startLoc,X=!1}if(X&&this.isContextual(106)){let b=this.lookahead();if(b.type!==14&&b.type!==17)this.next(),C=!0}let w=this.flowParseVariance();if(this.eat(0)){if(D!=null)this.unexpected(D);if(this.eat(0)){if(w)this.unexpected(w.loc.start);Y.internalSlots.push(this.flowParseObjectTypeInternalSlot(P,C))}else Y.indexers.push(this.flowParseObjectTypeIndexer(P,C,w))}else if(this.match(10)||this.match(47)){if(D!=null)this.unexpected(D);if(w)this.unexpected(w.loc.start);Y.callProperties.push(this.flowParseObjectTypeCallProperty(P,C))}else{let b="init";if(this.isContextual(99)||this.isContextual(104)){let r=this.lookahead();if(fV(r.type))b=this.state.value,this.next()}let X1=this.flowParseObjectTypeProperty(P,C,D,w,b,V,Q!=null?Q:!U);if(X1===null)q=!0,L=this.state.lastTokStartLoc;else Y.properties.push(X1)}if(this.flowObjectTypeSemicolon(),L&&!this.match(8)&&!this.match(9))this.raise(t.UnexpectedExplicitInexactInObject,L)}if(this.expect(z),V)Y.inexact=q;let A=this.finishNode(Y,"ObjectTypeAnnotation");return this.state.inType=W,A}flowParseObjectTypeProperty(X,H,V,Z,Q,W,Y){if(this.eat(21)){if(this.match(12)||this.match(13)||this.match(8)||this.match(9)){if(!W)this.raise(t.InexactInsideNonObject,this.state.lastTokStartLoc);else if(!Y)this.raise(t.InexactInsideExact,this.state.lastTokStartLoc);if(Z)this.raise(t.InexactVariance,Z);return null}if(!W)this.raise(t.UnexpectedSpreadType,this.state.lastTokStartLoc);if(V!=null)this.unexpected(V);if(Z)this.raise(t.SpreadVariance,Z);return X.argument=this.flowParseType(),this.finishNode(X,"ObjectTypeSpreadProperty")}else{X.key=this.flowParseObjectPropertyKey(),X.static=H,X.proto=V!=null,X.kind=Q;let z=!1;if(this.match(47)||this.match(10)){if(X.method=!0,V!=null)this.unexpected(V);if(Z)this.unexpected(Z.loc.start);if(X.value=this.flowParseObjectTypeMethodish(this.startNodeAt(X.loc.start)),Q==="get"||Q==="set")this.flowCheckGetterSetterParams(X);if(!W&&X.key.name==="constructor"&&X.value.this)this.raise(t.ThisParamBannedInConstructor,X.value.this)}else{if(Q!=="init")this.unexpected();if(X.method=!1,this.eat(17))z=!0;X.value=this.flowParseTypeInitialiser(),X.variance=Z}return X.optional=z,this.finishNode(X,"ObjectTypeProperty")}}flowCheckGetterSetterParams(X){let H=X.kind==="get"?0:1,V=X.value.params.length+(X.value.rest?1:0);if(X.value.this)this.raise(X.kind==="get"?t.GetterMayNotHaveThisParam:t.SetterMayNotHaveThisParam,X.value.this);if(V!==H)this.raise(X.kind==="get"?j.BadGetterArity:j.BadSetterArity,X);if(X.kind==="set"&&X.value.rest)this.raise(j.BadSetterRestParameter,X)}flowObjectTypeSemicolon(){if(!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9))this.unexpected()}flowParseQualifiedTypeIdentifier(X,H){var V;(V=X)!=null||(X=this.state.startLoc);let Z=H||this.flowParseRestrictedIdentifier(!0);while(this.eat(16)){let Q=this.startNodeAt(X);Q.qualification=Z,Q.id=this.flowParseRestrictedIdentifier(!0),Z=this.finishNode(Q,"QualifiedTypeIdentifier")}return Z}flowParseGenericType(X,H){let V=this.startNodeAt(X);if(V.typeParameters=null,V.id=this.flowParseQualifiedTypeIdentifier(X,H),this.match(47))V.typeParameters=this.flowParseTypeParameterInstantiation();return this.finishNode(V,"GenericTypeAnnotation")}flowParseTypeofType(){let X=this.startNode();return this.expect(87),X.argument=this.flowParsePrimaryType(),this.finishNode(X,"TypeofTypeAnnotation")}flowParseTupleType(){let X=this.startNode();X.types=[],this.expect(0);while(this.state.pos<this.length&&!this.match(3)){if(X.types.push(this.flowParseType()),this.match(3))break;this.expect(12)}return this.expect(3),this.finishNode(X,"TupleTypeAnnotation")}flowParseFunctionTypeParam(X){let H=null,V=!1,Z=null,Q=this.startNode(),W=this.lookahead(),Y=this.state.type===78;if(W.type===14||W.type===17){if(Y&&!X)this.raise(t.ThisParamMustBeFirst,Q);if(H=this.parseIdentifier(Y),this.eat(17)){if(V=!0,Y)this.raise(t.ThisParamMayNotBeOptional,Q)}Z=this.flowParseTypeInitialiser()}else Z=this.flowParseType();return Q.name=H,Q.optional=V,Q.typeAnnotation=Z,this.finishNode(Q,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(X){let H=this.startNodeAt(X.loc.start);return H.name=null,H.optional=!1,H.typeAnnotation=X,this.finishNode(H,"FunctionTypeParam")}flowParseFunctionTypeParams(X=[]){let H=null,V=null;if(this.match(78)){if(V=this.flowParseFunctionTypeParam(!0),V.name=null,!this.match(11))this.expect(12)}while(!this.match(11)&&!this.match(21))if(X.push(this.flowParseFunctionTypeParam(!1)),!this.match(11))this.expect(12);if(this.eat(21))H=this.flowParseFunctionTypeParam(!1);return{params:X,rest:H,_this:V}}flowIdentToTypeAnnotation(X,H,V){switch(V.name){case"any":return this.finishNode(H,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(H,"BooleanTypeAnnotation");case"mixed":return this.finishNode(H,"MixedTypeAnnotation");case"empty":return this.finishNode(H,"EmptyTypeAnnotation");case"number":return this.finishNode(H,"NumberTypeAnnotation");case"string":return this.finishNode(H,"StringTypeAnnotation");case"symbol":return this.finishNode(H,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(V.name),this.flowParseGenericType(X,V)}}flowParsePrimaryType(){let X=this.state.startLoc,H=this.startNode(),V,Z,Q=!1,W=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,Z=this.flowParseTupleType(),this.state.noAnonFunctionType=W,Z;case 47:{let Y=this.startNode();return Y.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),V=this.flowParseFunctionTypeParams(),Y.params=V.params,Y.rest=V.rest,Y.this=V._this,this.expect(11),this.expect(19),Y.returnType=this.flowParseType(),this.finishNode(Y,"FunctionTypeAnnotation")}case 10:{let Y=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(j1(this.state.type)||this.match(78)){let z=this.lookahead().type;Q=z!==17&&z!==14}else Q=!0;if(Q)if(this.state.noAnonFunctionType=!1,Z=this.flowParseType(),this.state.noAnonFunctionType=W,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),Z;else this.eat(12);if(Z)V=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(Z)]);else V=this.flowParseFunctionTypeParams();return Y.params=V.params,Y.rest=V.rest,Y.this=V._this,this.expect(11),this.expect(19),Y.returnType=this.flowParseType(),Y.typeParameters=null,this.finishNode(Y,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return H.value=this.match(85),this.next(),this.finishNode(H,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",H);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",H);throw this.raise(t.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(H,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(H,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(H,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(H,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(N2(this.state.type)){let Y=uG(this.state.type);return this.next(),super.createIdentifier(H,Y)}else if(j1(this.state.type)){if(this.isContextual(129))return this.flowParseInterfaceType();return this.flowIdentToTypeAnnotation(X,H,this.parseIdentifier())}}this.unexpected()}flowParsePostfixType(){let X=this.state.startLoc,H=this.flowParsePrimaryType(),V=!1;while((this.match(0)||this.match(18))&&!this.canInsertSemicolon()){let Z=this.startNodeAt(X),Q=this.eat(18);if(V=V||Q,this.expect(0),!Q&&this.match(3))Z.elementType=H,this.next(),H=this.finishNode(Z,"ArrayTypeAnnotation");else if(Z.objectType=H,Z.indexType=this.flowParseType(),this.expect(3),V)Z.optional=Q,H=this.finishNode(Z,"OptionalIndexedAccessType");else H=this.finishNode(Z,"IndexedAccessType")}return H}flowParsePrefixType(){let X=this.startNode();if(this.eat(17))return X.typeAnnotation=this.flowParsePrefixType(),this.finishNode(X,"NullableTypeAnnotation");else return this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let X=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let H=this.startNodeAt(X.loc.start);return H.params=[this.reinterpretTypeAsFunctionTypeParam(X)],H.rest=null,H.this=null,H.returnType=this.flowParseType(),H.typeParameters=null,this.finishNode(H,"FunctionTypeAnnotation")}return X}flowParseIntersectionType(){let X=this.startNode();this.eat(45);let H=this.flowParseAnonFunctionWithoutParens();X.types=[H];while(this.eat(45))X.types.push(this.flowParseAnonFunctionWithoutParens());return X.types.length===1?H:this.finishNode(X,"IntersectionTypeAnnotation")}flowParseUnionType(){let X=this.startNode();this.eat(43);let H=this.flowParseIntersectionType();X.types=[H];while(this.eat(43))X.types.push(this.flowParseIntersectionType());return X.types.length===1?H:this.finishNode(X,"UnionTypeAnnotation")}flowParseType(){let X=this.state.inType;this.state.inType=!0;let H=this.flowParseUnionType();return this.state.inType=X,H}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let X=this.state.startLoc,H=this.parseIdentifier();return this.flowParseGenericType(X,H)}else return this.flowParseType()}flowParseTypeAnnotation(){let X=this.startNode();return X.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(X,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(X){let H=X?this.parseIdentifier():this.flowParseRestrictedIdentifier();if(this.match(14))H.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(H);return H}typeCastToParameter(X){return X.expression.typeAnnotation=X.typeAnnotation,this.resetEndLocation(X.expression,X.typeAnnotation.loc.end),X.expression}flowParseVariance(){let X=null;if(this.match(53)){if(X=this.startNode(),this.state.value==="+")X.kind="plus";else X.kind="minus";return this.next(),this.finishNode(X,"Variance")}return X}parseFunctionBody(X,H,V=!1){if(H){this.forwardNoArrowParamsConversionAt(X,()=>super.parseFunctionBody(X,!0,V));return}super.parseFunctionBody(X,!1,V)}parseFunctionBodyAndFinish(X,H,V=!1){if(this.match(14)){let Z=this.startNode();[Z.typeAnnotation,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),X.returnType=Z.typeAnnotation?this.finishNode(Z,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(X,H,V)}parseStatementLike(X){if(this.state.strict&&this.isContextual(129)){let V=this.lookahead();if(WG(V.type)){let Z=this.startNode();return this.next(),this.flowParseInterface(Z)}}else if(this.isContextual(126)){let V=this.startNode();return this.next(),this.flowParseEnumDeclaration(V)}let H=super.parseStatementLike(X);if(this.flowPragma===void 0&&!this.isValidDirective(H))this.flowPragma=null;return H}parseExpressionStatement(X,H,V){if(H.type==="Identifier"){if(H.name==="declare"){if(this.match(80)||j1(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(X)}else if(j1(this.state.type)){if(H.name==="interface")return this.flowParseInterface(X);else if(H.name==="type")return this.flowParseTypeAlias(X);else if(H.name==="opaque")return this.flowParseOpaqueType(X,!1)}}return super.parseExpressionStatement(X,H,V)}shouldParseExportDeclaration(){let{type:X}=this.state;if(X===126||BV(X))return!this.state.containsEsc;return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:X}=this.state;if(X===126||BV(X))return this.state.containsEsc;return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let X=this.startNode();return this.next(),this.flowParseEnumDeclaration(X)}return super.parseExportDefaultExpression()}parseConditional(X,H,V){if(!this.match(17))return X;if(this.state.maybeInArrowParameters){let A=this.lookaheadCharCode();if(A===44||A===61||A===58||A===41)return this.setOptionalParametersError(V),X}this.expect(17);let Z=this.state.clone(),Q=this.state.noArrowAt,W=this.startNodeAt(H),{consequent:Y,failed:z}=this.tryParseConditionalConsequent(),[U,q]=this.getArrowLikeExpressions(Y);if(z||q.length>0){let A=[...Q];if(q.length>0){this.state=Z,this.state.noArrowAt=A;for(let C=0;C<q.length;C++)A.push(q[C].start);({consequent:Y,failed:z}=this.tryParseConditionalConsequent()),[U,q]=this.getArrowLikeExpressions(Y)}if(z&&U.length>1)this.raise(t.AmbiguousConditionalArrow,Z.startLoc);if(z&&U.length===1)this.state=Z,A.push(U[0].start),this.state.noArrowAt=A,{consequent:Y,failed:z}=this.tryParseConditionalConsequent()}return this.getArrowLikeExpressions(Y,!0),this.state.noArrowAt=Q,this.expect(14),W.test=X,W.consequent=Y,W.alternate=this.forwardNoArrowParamsConversionAt(W,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(W,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let X=this.parseMaybeAssignAllowIn(),H=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:X,failed:H}}getArrowLikeExpressions(X,H){let V=[X],Z=[];while(V.length!==0){let Q=V.pop();if(Q.type==="ArrowFunctionExpression"&&Q.body.type!=="BlockStatement"){if(Q.typeParameters||!Q.returnType)this.finishArrowValidation(Q);else Z.push(Q);V.push(Q.body)}else if(Q.type==="ConditionalExpression")V.push(Q.consequent),V.push(Q.alternate)}if(H)return Z.forEach((Q)=>this.finishArrowValidation(Q)),[Z,[]];return i21(Z,(Q)=>Q.params.every((W)=>this.isAssignable(W,!0)))}finishArrowValidation(X){var H;this.toAssignableList(X.params,(H=X.extra)==null?void 0:H.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(X,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(X,H){let V;if(this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))this.state.noArrowParamsConversionAt.push(this.state.start),V=H(),this.state.noArrowParamsConversionAt.pop();else V=H();return V}parseParenItem(X,H){let V=super.parseParenItem(X,H);if(this.eat(17))V.optional=!0,this.resetEndLocation(X);if(this.match(14)){let Z=this.startNodeAt(H);return Z.expression=V,Z.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(Z,"TypeCastExpression")}return V}assertModuleNodeAllowed(X){if(X.type==="ImportDeclaration"&&(X.importKind==="type"||X.importKind==="typeof")||X.type==="ExportNamedDeclaration"&&X.exportKind==="type"||X.type==="ExportAllDeclaration"&&X.exportKind==="type")return;super.assertModuleNodeAllowed(X)}parseExportDeclaration(X){if(this.isContextual(130)){X.exportKind="type";let H=this.startNode();if(this.next(),this.match(5))return X.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(X),null;else return this.flowParseTypeAlias(H)}else if(this.isContextual(131)){X.exportKind="type";let H=this.startNode();return this.next(),this.flowParseOpaqueType(H,!1)}else if(this.isContextual(129)){X.exportKind="type";let H=this.startNode();return this.next(),this.flowParseInterface(H)}else if(this.isContextual(126)){X.exportKind="value";let H=this.startNode();return this.next(),this.flowParseEnumDeclaration(H)}else return super.parseExportDeclaration(X)}eatExportStar(X){if(super.eatExportStar(X))return!0;if(this.isContextual(130)&&this.lookahead().type===55)return X.exportKind="type",this.next(),this.next(),!0;return!1}maybeParseExportNamespaceSpecifier(X){let{startLoc:H}=this.state,V=super.maybeParseExportNamespaceSpecifier(X);if(V&&X.exportKind==="type")this.unexpected(H);return V}parseClassId(X,H,V){if(super.parseClassId(X,H,V),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration()}parseClassMember(X,H,V){let{startLoc:Z}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(X,H))return;H.declare=!0}if(super.parseClassMember(X,H,V),H.declare){if(H.type!=="ClassProperty"&&H.type!=="ClassPrivateProperty"&&H.type!=="PropertyDefinition")this.raise(t.DeclareClassElement,Z);else if(H.value)this.raise(t.DeclareClassFieldInitializer,H.value)}}isIterator(X){return X==="iterator"||X==="asyncIterator"}readIterator(){let X=super.readWord1(),H="@@"+X;if(!this.isIterator(X)||!this.state.inType)this.raise(j.InvalidIdentifier,this.state.curPosition(),{identifierName:H});this.finishToken(132,H)}getTokenFromCode(X){let H=this.input.charCodeAt(this.state.pos+1);if(X===123&&H===124)this.finishOp(6,2);else if(this.state.inType&&(X===62||X===60))this.finishOp(X===62?48:47,1);else if(this.state.inType&&X===63)if(H===46)this.finishOp(18,2);else this.finishOp(17,1);else if(P21(X,H,this.input.charCodeAt(this.state.pos+2)))this.state.pos+=2,this.readIterator();else super.getTokenFromCode(X)}isAssignable(X,H){if(X.type==="TypeCastExpression")return this.isAssignable(X.expression,H);else return super.isAssignable(X,H)}toAssignable(X,H=!1){if(!H&&X.type==="AssignmentExpression"&&X.left.type==="TypeCastExpression")X.left=this.typeCastToParameter(X.left);super.toAssignable(X,H)}toAssignableList(X,H,V){for(let Z=0;Z<X.length;Z++){let Q=X[Z];if((Q==null?void 0:Q.type)==="TypeCastExpression")X[Z]=this.typeCastToParameter(Q)}super.toAssignableList(X,H,V)}toReferencedList(X,H){for(let Z=0;Z<X.length;Z++){var V;let Q=X[Z];if(Q&&Q.type==="TypeCastExpression"&&!((V=Q.extra)!=null&&V.parenthesized)&&(X.length>1||!H))this.raise(t.TypeCastInPattern,Q.typeAnnotation)}return X}parseArrayLike(X,H,V,Z){let Q=super.parseArrayLike(X,H,V,Z);if(H&&!this.state.maybeInArrowParameters)this.toReferencedList(Q.elements);return Q}isValidLVal(X,H,V){return X==="TypeCastExpression"||super.isValidLVal(X,H,V)}parseClassProperty(X){if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();return super.parseClassProperty(X)}parseClassPrivateProperty(X){if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();return super.parseClassPrivateProperty(X)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(X){return!this.match(14)&&super.isNonstaticConstructor(X)}pushClassMethod(X,H,V,Z,Q,W){if(H.variance)this.unexpected(H.variance.loc.start);if(delete H.variance,this.match(47))H.typeParameters=this.flowParseTypeParameterDeclaration();if(super.pushClassMethod(X,H,V,Z,Q,W),H.params&&Q){let Y=H.params;if(Y.length>0&&this.isThisParam(Y[0]))this.raise(t.ThisParamBannedInConstructor,H)}else if(H.type==="MethodDefinition"&&Q&&H.value.params){let Y=H.value.params;if(Y.length>0&&this.isThisParam(Y[0]))this.raise(t.ThisParamBannedInConstructor,H)}}pushClassPrivateMethod(X,H,V,Z){if(H.variance)this.unexpected(H.variance.loc.start);if(delete H.variance,this.match(47))H.typeParameters=this.flowParseTypeParameterDeclaration();super.pushClassPrivateMethod(X,H,V,Z)}parseClassSuper(X){if(super.parseClassSuper(X),X.superClass&&(this.match(47)||this.match(51)))X.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression();if(this.isContextual(113)){this.next();let H=X.implements=[];do{let V=this.startNode();if(V.id=this.flowParseRestrictedIdentifier(!0),this.match(47))V.typeParameters=this.flowParseTypeParameterInstantiation();else V.typeParameters=null;H.push(this.finishNode(V,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(X){super.checkGetterSetterParams(X);let H=this.getObjectOrClassMethodParams(X);if(H.length>0){let V=H[0];if(this.isThisParam(V)&&X.kind==="get")this.raise(t.GetterMayNotHaveThisParam,V);else if(this.isThisParam(V))this.raise(t.SetterMayNotHaveThisParam,V)}}parsePropertyNamePrefixOperator(X){X.variance=this.flowParseVariance()}parseObjPropValue(X,H,V,Z,Q,W,Y){if(X.variance)this.unexpected(X.variance.loc.start);delete X.variance;let z;if(this.match(47)&&!W){if(z=this.flowParseTypeParameterDeclaration(),!this.match(10))this.unexpected()}let U=super.parseObjPropValue(X,H,V,Z,Q,W,Y);if(z)(U.value||U).typeParameters=z;return U}parseFunctionParamType(X){if(this.eat(17)){if(X.type!=="Identifier")this.raise(t.PatternIsOptional,X);if(this.isThisParam(X))this.raise(t.ThisParamMayNotBeOptional,X);X.optional=!0}if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();else if(this.isThisParam(X))this.raise(t.ThisParamAnnotationRequired,X);if(this.match(29)&&this.isThisParam(X))this.raise(t.ThisParamNoDefault,X);return this.resetEndLocation(X),X}parseMaybeDefault(X,H){let V=super.parseMaybeDefault(X,H);if(V.type==="AssignmentPattern"&&V.typeAnnotation&&V.right.start<V.typeAnnotation.start)this.raise(t.TypeBeforeInitializer,V.typeAnnotation);return V}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(t.ImportReflectionHasImportType,X.specifiers[0].loc.start)}parseImportSpecifierLocal(X,H,V){H.local=qV(X)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),X.specifiers.push(this.finishImportSpecifier(H,V))}isPotentialImportPhase(X){if(super.isPotentialImportPhase(X))return!0;if(this.isContextual(130)){if(!X)return!0;let H=this.lookaheadCharCode();return H===123||H===42}return!X&&this.isContextual(87)}applyImportPhase(X,H,V,Z){if(super.applyImportPhase(X,H,V,Z),H){if(!V&&this.match(65))return;X.exportKind=V==="type"?V:"value"}else{if(V==="type"&&this.match(55))this.unexpected();X.importKind=V==="type"||V==="typeof"?V:"value"}}parseImportSpecifier(X,H,V,Z,Q){let W=X.imported,Y=null;if(W.type==="Identifier"){if(W.name==="type")Y="type";else if(W.name==="typeof")Y="typeof"}let z=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let q=this.parseIdentifier(!0);if(Y!==null&&!WG(this.state.type))X.imported=q,X.importKind=Y,X.local=TG(q);else X.imported=W,X.importKind=null,X.local=this.parseIdentifier()}else{if(Y!==null&&WG(this.state.type))X.imported=this.parseIdentifier(!0),X.importKind=Y;else{if(H)throw this.raise(j.ImportBindingIsString,X,{importName:W.value});X.imported=W,X.importKind=null}if(this.eatContextual(93))X.local=this.parseIdentifier();else z=!0,X.local=TG(X.imported)}let U=qV(X);if(V&&U)this.raise(t.ImportTypeShorthandOnlyInPureImport,X);if(V||U)this.checkReservedType(X.local.name,X.local.loc.start,!0);if(z&&!V&&!U)this.checkReservedWord(X.local.name,X.loc.start,!0,!0);return this.finishImportSpecifier(X,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(X,H){let V=X.kind;if(V!=="get"&&V!=="set"&&this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();super.parseFunctionParams(X,H)}parseVarId(X,H){if(super.parseVarId(X,H),this.match(14))X.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(X.id)}parseAsyncArrowFromCallExpression(X,H){if(this.match(14)){let V=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,X.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=V}return super.parseAsyncArrowFromCallExpression(X,H)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(X,H){var V;let Z=null,Q;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(Z=this.state.clone(),Q=this.tryParse(()=>super.parseMaybeAssign(X,H),Z),!Q.error)return Q.node;let{context:z}=this.state,U=z[z.length-1];if(U===q1.j_oTag||U===q1.j_expr)z.pop()}if((V=Q)!=null&&V.error||this.match(47)){var W,Y;Z=Z||this.state.clone();let z,U=this.tryParse((A)=>{var C;z=this.flowParseTypeParameterDeclaration();let D=this.forwardNoArrowParamsConversionAt(z,()=>{let P=super.parseMaybeAssign(X,H);return this.resetStartLocationFromNode(P,z),P});if((C=D.extra)!=null&&C.parenthesized)A();let L=this.maybeUnwrapTypeCastExpression(D);if(L.type!=="ArrowFunctionExpression")A();return L.typeParameters=z,this.resetStartLocationFromNode(L,z),D},Z),q=null;if(U.node&&this.maybeUnwrapTypeCastExpression(U.node).type==="ArrowFunctionExpression"){if(!U.error&&!U.aborted){if(U.node.async)this.raise(t.UnexpectedTypeParameterBeforeAsyncArrowFunction,z);return U.node}q=U.node}if((W=Q)!=null&&W.node)return this.state=Q.failState,Q.node;if(q)return this.state=U.failState,q;if((Y=Q)!=null&&Y.thrown)throw Q.error;if(U.thrown)throw U.error;throw this.raise(t.UnexpectedTokenAfterTypeParameter,z)}return super.parseMaybeAssign(X,H)}parseArrow(X){if(this.match(14)){let H=this.tryParse(()=>{let V=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let Z=this.startNode();if([Z.typeAnnotation,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=V,this.canInsertSemicolon())this.unexpected();if(!this.match(19))this.unexpected();return Z});if(H.thrown)return null;if(H.error)this.state=H.failState;X.returnType=H.node.typeAnnotation?this.finishNode(H.node,"TypeAnnotation"):null}return super.parseArrow(X)}shouldParseArrow(X){return this.match(14)||super.shouldParseArrow(X)}setArrowFunctionParameters(X,H){if(this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))X.params=H;else super.setArrowFunctionParameters(X,H)}checkParams(X,H,V,Z=!0){if(V&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))return;for(let Q=0;Q<X.params.length;Q++)if(this.isThisParam(X.params[Q])&&Q>0)this.raise(t.ThisParamMustBeFirst,X.params[Q]);super.checkParams(X,H,V,Z)}parseParenAndDistinguishExpression(X){return super.parseParenAndDistinguishExpression(X&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(X,H,V){if(X.type==="Identifier"&&X.name==="async"&&this.state.noArrowAt.includes(H.index)){this.next();let Z=this.startNodeAt(H);Z.callee=X,Z.arguments=super.parseCallExpressionArguments(11),X=this.finishNode(Z,"CallExpression")}else if(X.type==="Identifier"&&X.name==="async"&&this.match(47)){let Z=this.state.clone(),Q=this.tryParse((Y)=>this.parseAsyncArrowWithTypeParameters(H)||Y(),Z);if(!Q.error&&!Q.aborted)return Q.node;let W=this.tryParse(()=>super.parseSubscripts(X,H,V),Z);if(W.node&&!W.error)return W.node;if(Q.node)return this.state=Q.failState,Q.node;if(W.node)return this.state=W.failState,W.node;throw Q.error||W.error}return super.parseSubscripts(X,H,V)}parseSubscript(X,H,V,Z){if(this.match(18)&&this.isLookaheadToken_lt()){if(Z.optionalChainMember=!0,V)return Z.stop=!0,X;this.next();let Q=this.startNodeAt(H);return Q.callee=X,Q.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),Q.arguments=this.parseCallExpressionArguments(11),Q.optional=!0,this.finishCallExpression(Q,!0)}else if(!V&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let Q=this.startNodeAt(H);Q.callee=X;let W=this.tryParse(()=>{if(Q.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),Q.arguments=super.parseCallExpressionArguments(11),Z.optionalChainMember)Q.optional=!1;return this.finishCallExpression(Q,Z.optionalChainMember)});if(W.node){if(W.error)this.state=W.failState;return W.node}}return super.parseSubscript(X,H,V,Z)}parseNewCallee(X){super.parseNewCallee(X);let H=null;if(this.shouldParseTypes()&&this.match(47))H=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node;X.typeArguments=H}parseAsyncArrowWithTypeParameters(X){let H=this.startNodeAt(X);if(this.parseFunctionParams(H,!1),!this.parseArrow(H))return;return super.parseArrowExpression(H,void 0,!0)}readToken_mult_modulo(X){let H=this.input.charCodeAt(this.state.pos+1);if(X===42&&H===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(X)}readToken_pipe_amp(X){let H=this.input.charCodeAt(this.state.pos+1);if(X===124&&H===125){this.finishOp(9,2);return}super.readToken_pipe_amp(X)}parseTopLevel(X,H){let V=super.parseTopLevel(X,H);if(this.state.hasFlowComment)this.raise(t.UnterminatedFlowComment,this.state.curPosition());return V}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(t.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let X=this.skipFlowComment();if(X)this.state.pos+=X,this.state.hasFlowComment=!0;return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:X}=this.state,H=2;while([32,9].includes(this.input.charCodeAt(X+H)))H++;let V=this.input.charCodeAt(H+X),Z=this.input.charCodeAt(H+X+1);if(V===58&&Z===58)return H+2;if(this.input.slice(H+X,H+X+12)==="flow-include")return H+12;if(V===58&&Z!==58)return H;return!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(j.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(X,{enumName:H,memberName:V}){this.raise(t.EnumBooleanMemberNotInitialized,X,{memberName:V,enumName:H})}flowEnumErrorInvalidMemberInitializer(X,H){return this.raise(!H.explicitType?t.EnumInvalidMemberInitializerUnknownType:H.explicitType==="symbol"?t.EnumInvalidMemberInitializerSymbolType:t.EnumInvalidMemberInitializerPrimaryType,X,H)}flowEnumErrorNumberMemberNotInitialized(X,H){this.raise(t.EnumNumberMemberNotInitialized,X,H)}flowEnumErrorStringMemberInconsistentlyInitialized(X,H){this.raise(t.EnumStringMemberInconsistentlyInitialized,X,H)}flowEnumMemberInit(){let X=this.state.startLoc,H=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let V=this.parseNumericLiteral(this.state.value);if(H())return{type:"number",loc:V.loc.start,value:V};return{type:"invalid",loc:X}}case 134:{let V=this.parseStringLiteral(this.state.value);if(H())return{type:"string",loc:V.loc.start,value:V};return{type:"invalid",loc:X}}case 85:case 86:{let V=this.parseBooleanLiteral(this.match(85));if(H())return{type:"boolean",loc:V.loc.start,value:V};return{type:"invalid",loc:X}}default:return{type:"invalid",loc:X}}}flowEnumMemberRaw(){let X=this.state.startLoc,H=this.parseIdentifier(!0),V=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:X};return{id:H,init:V}}flowEnumCheckExplicitTypeMismatch(X,H,V){let{explicitType:Z}=H;if(Z===null)return;if(Z!==V)this.flowEnumErrorInvalidMemberInitializer(X,H)}flowEnumMembers({enumName:X,explicitType:H}){let V=new Set,Z={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},Q=!1;while(!this.match(8)){if(this.eat(21)){Q=!0;break}let W=this.startNode(),{id:Y,init:z}=this.flowEnumMemberRaw(),U=Y.name;if(U==="")continue;if(/^[a-z]/.test(U))this.raise(t.EnumInvalidMemberName,Y,{memberName:U,suggestion:U[0].toUpperCase()+U.slice(1),enumName:X});if(V.has(U))this.raise(t.EnumDuplicateMemberName,Y,{memberName:U,enumName:X});V.add(U);let q={enumName:X,explicitType:H,memberName:U};switch(W.id=Y,z.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(z.loc,q,"boolean"),W.init=z.value,Z.booleanMembers.push(this.finishNode(W,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(z.loc,q,"number"),W.init=z.value,Z.numberMembers.push(this.finishNode(W,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(z.loc,q,"string"),W.init=z.value,Z.stringMembers.push(this.finishNode(W,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(z.loc,q);case"none":switch(H){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(z.loc,q);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(z.loc,q);break;default:Z.defaultedMembers.push(this.finishNode(W,"EnumDefaultedMember"))}}if(!this.match(8))this.expect(12)}return{members:Z,hasUnknownMembers:Q}}flowEnumStringMembers(X,H,{enumName:V}){if(X.length===0)return H;else if(H.length===0)return X;else if(H.length>X.length){for(let Z of X)this.flowEnumErrorStringMemberInconsistentlyInitialized(Z,{enumName:V});return H}else{for(let Z of H)this.flowEnumErrorStringMemberInconsistentlyInitialized(Z,{enumName:V});return X}}flowEnumParseExplicitType({enumName:X}){if(!this.eatContextual(102))return null;if(!j1(this.state.type))throw this.raise(t.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:X});let{value:H}=this.state;if(this.next(),H!=="boolean"&&H!=="number"&&H!=="string"&&H!=="symbol")this.raise(t.EnumInvalidExplicitType,this.state.startLoc,{enumName:X,invalidEnumType:H});return H}flowEnumBody(X,H){let V=H.name,Z=H.loc.start,Q=this.flowEnumParseExplicitType({enumName:V});this.expect(5);let{members:W,hasUnknownMembers:Y}=this.flowEnumMembers({enumName:V,explicitType:Q});switch(X.hasUnknownMembers=Y,Q){case"boolean":return X.explicitType=!0,X.members=W.booleanMembers,this.expect(8),this.finishNode(X,"EnumBooleanBody");case"number":return X.explicitType=!0,X.members=W.numberMembers,this.expect(8),this.finishNode(X,"EnumNumberBody");case"string":return X.explicitType=!0,X.members=this.flowEnumStringMembers(W.stringMembers,W.defaultedMembers,{enumName:V}),this.expect(8),this.finishNode(X,"EnumStringBody");case"symbol":return X.members=W.defaultedMembers,this.expect(8),this.finishNode(X,"EnumSymbolBody");default:{let z=()=>{return X.members=[],this.expect(8),this.finishNode(X,"EnumStringBody")};X.explicitType=!1;let U=W.booleanMembers.length,q=W.numberMembers.length,A=W.stringMembers.length,C=W.defaultedMembers.length;if(!U&&!q&&!A&&!C)return z();else if(!U&&!q)return X.members=this.flowEnumStringMembers(W.stringMembers,W.defaultedMembers,{enumName:V}),this.expect(8),this.finishNode(X,"EnumStringBody");else if(!q&&!A&&U>=C){for(let D of W.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(D.loc.start,{enumName:V,memberName:D.id.name});return X.members=W.booleanMembers,this.expect(8),this.finishNode(X,"EnumBooleanBody")}else if(!U&&!A&&q>=C){for(let D of W.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(D.loc.start,{enumName:V,memberName:D.id.name});return X.members=W.numberMembers,this.expect(8),this.finishNode(X,"EnumNumberBody")}else return this.raise(t.EnumInconsistentMemberValues,Z,{enumName:V}),z()}}}flowParseEnumDeclaration(X){let H=this.parseIdentifier();return X.id=H,X.body=this.flowEnumBody(this.startNode(),H),this.finishNode(X,"EnumDeclaration")}jsxParseOpeningElementAfterName(X){if(this.shouldParseTypes()){if(this.match(47)||this.match(51))X.typeArguments=this.flowParseTypeParameterInstantiationInExpression()}return super.jsxParseOpeningElementAfterName(X)}isLookaheadToken_lt(){let X=this.nextTokenStart();if(this.input.charCodeAt(X)===60){let H=this.input.charCodeAt(X+1);return H!==60&&H!==61}return!1}reScan_lt_gt(){let{type:X}=this.state;if(X===47)this.state.pos-=1,this.readToken_lt();else if(X===48)this.state.pos-=1,this.readToken_gt()}reScan_lt(){let{type:X}=this.state;if(X===51)return this.state.pos-=2,this.finishOp(47,1),47;return X}maybeUnwrapTypeCastExpression(X){return X.type==="TypeCastExpression"?X.expression:X}},r21={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},tG=PG`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:G})=>`Expected corresponding JSX closing tag for <${G}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:G,HTMLEntity:J})=>`Unexpected token \`${G}\`. Did you mean \`${J}\` or \`{'${G}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function hG(G){return G?G.type==="JSXOpeningFragment"||G.type==="JSXClosingFragment":!1}function qJ(G){if(G.type==="JSXIdentifier")return G.name;if(G.type==="JSXNamespacedName")return G.namespace.name+":"+G.name.name;if(G.type==="JSXMemberExpression")return qJ(G.object)+"."+qJ(G.property);throw new Error("Node had unexpected type: "+G.type)}var s21=(G)=>class J extends G{jsxReadToken(){let X="",H=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(tG.UnterminatedJsxContent,this.state.startLoc);let V=this.input.charCodeAt(this.state.pos);switch(V){case 60:case 123:if(this.state.pos===this.state.start){if(V===60&&this.state.canStartJSXElement)++this.state.pos,this.finishToken(143);else super.getTokenFromCode(V);return}X+=this.input.slice(H,this.state.pos),this.finishToken(142,X);return;case 38:X+=this.input.slice(H,this.state.pos),X+=this.jsxReadEntity(),H=this.state.pos;break;case 62:case 125:default:if(OJ(V))X+=this.input.slice(H,this.state.pos),X+=this.jsxReadNewLine(!0),H=this.state.pos;else++this.state.pos}}}jsxReadNewLine(X){let H=this.input.charCodeAt(this.state.pos),V;if(++this.state.pos,H===13&&this.input.charCodeAt(this.state.pos)===10)++this.state.pos,V=X?`
20
+ `:`\r
21
+ `;else V=String.fromCharCode(H);return++this.state.curLine,this.state.lineStart=this.state.pos,V}jsxReadString(X){let H="",V=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(j.UnterminatedString,this.state.startLoc);let Z=this.input.charCodeAt(this.state.pos);if(Z===X)break;if(Z===38)H+=this.input.slice(V,this.state.pos),H+=this.jsxReadEntity(),V=this.state.pos;else if(OJ(Z))H+=this.input.slice(V,this.state.pos),H+=this.jsxReadNewLine(!1),V=this.state.pos;else++this.state.pos}H+=this.input.slice(V,this.state.pos++),this.finishToken(134,H)}jsxReadEntity(){let X=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let H=10;if(this.codePointAtPos(this.state.pos)===120)H=16,++this.state.pos;let V=this.readInt(H,void 0,!1,"bail");if(V!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(V)}else{let H=0,V=!1;while(H++<10&&this.state.pos<this.length&&!(V=this.codePointAtPos(this.state.pos)===59))++this.state.pos;if(V){let Z=this.input.slice(X,this.state.pos),Q=r21[Z];if(++this.state.pos,Q)return Q}}return this.state.pos=X,"&"}jsxReadWord(){let X,H=this.state.pos;do X=this.input.charCodeAt(++this.state.pos);while(jJ(X)||X===45);this.finishToken(141,this.input.slice(H,this.state.pos))}jsxParseIdentifier(){let X=this.startNode();if(this.match(141))X.name=this.state.value;else if(N2(this.state.type))X.name=uG(this.state.type);else this.unexpected();return this.next(),this.finishNode(X,"JSXIdentifier")}jsxParseNamespacedName(){let X=this.state.startLoc,H=this.jsxParseIdentifier();if(!this.eat(14))return H;let V=this.startNodeAt(X);return V.namespace=H,V.name=this.jsxParseIdentifier(),this.finishNode(V,"JSXNamespacedName")}jsxParseElementName(){let X=this.state.startLoc,H=this.jsxParseNamespacedName();if(H.type==="JSXNamespacedName")return H;while(this.eat(16)){let V=this.startNodeAt(X);V.object=H,V.property=this.jsxParseIdentifier(),H=this.finishNode(V,"JSXMemberExpression")}return H}jsxParseAttributeValue(){let X;switch(this.state.type){case 5:if(X=this.startNode(),this.setContext(q1.brace),this.next(),X=this.jsxParseExpressionContainer(X,q1.j_oTag),X.expression.type==="JSXEmptyExpression")this.raise(tG.AttributeIsEmpty,X);return X;case 143:case 134:return this.parseExprAtom();default:throw this.raise(tG.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let X=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(X,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(X){return this.next(),X.expression=this.parseExpression(),this.setContext(q1.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadChild")}jsxParseExpressionContainer(X,H){if(this.match(8))X.expression=this.jsxParseEmptyExpression();else{let V=this.parseExpression();X.expression=V}return this.setContext(H),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXExpressionContainer")}jsxParseAttribute(){let X=this.startNode();if(this.match(5))return this.setContext(q1.brace),this.next(),this.expect(21),X.argument=this.parseMaybeAssignAllowIn(),this.setContext(q1.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadAttribute");return X.name=this.jsxParseNamespacedName(),X.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(X,"JSXAttribute")}jsxParseOpeningElementAt(X){let H=this.startNodeAt(X);if(this.eat(144))return this.finishNode(H,"JSXOpeningFragment");return H.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(H)}jsxParseOpeningElementAfterName(X){let H=[];while(!this.match(56)&&!this.match(144))H.push(this.jsxParseAttribute());return X.attributes=H,X.selfClosing=this.eat(56),this.expect(144),this.finishNode(X,"JSXOpeningElement")}jsxParseClosingElementAt(X){let H=this.startNodeAt(X);if(this.eat(144))return this.finishNode(H,"JSXClosingFragment");return H.name=this.jsxParseElementName(),this.expect(144),this.finishNode(H,"JSXClosingElement")}jsxParseElementAt(X){let H=this.startNodeAt(X),V=[],Z=this.jsxParseOpeningElementAt(X),Q=null;if(!Z.selfClosing){G:for(;;)switch(this.state.type){case 143:if(X=this.state.startLoc,this.next(),this.eat(56)){Q=this.jsxParseClosingElementAt(X);break G}V.push(this.jsxParseElementAt(X));break;case 142:V.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let W=this.startNode();if(this.setContext(q1.brace),this.next(),this.match(21))V.push(this.jsxParseSpreadChild(W));else V.push(this.jsxParseExpressionContainer(W,q1.j_expr));break}default:this.unexpected()}if(hG(Z)&&!hG(Q)&&Q!==null)this.raise(tG.MissingClosingTagFragment,Q);else if(!hG(Z)&&hG(Q))this.raise(tG.MissingClosingTagElement,Q,{openingTagName:qJ(Z.name)});else if(!hG(Z)&&!hG(Q)){if(qJ(Q.name)!==qJ(Z.name))this.raise(tG.MissingClosingTagElement,Q,{openingTagName:qJ(Z.name)})}}if(hG(Z))H.openingFragment=Z,H.closingFragment=Q;else H.openingElement=Z,H.closingElement=Q;if(H.children=V,this.match(47))throw this.raise(tG.UnwrappedAdjacentJSXElements,this.state.startLoc);return hG(Z)?this.finishNode(H,"JSXFragment"):this.finishNode(H,"JSXElement")}jsxParseElement(){let X=this.state.startLoc;return this.next(),this.jsxParseElementAt(X)}setContext(X){let{context:H}=this.state;H[H.length-1]=X}parseExprAtom(X){if(this.match(143))return this.jsxParseElement();else if(this.match(47)&&this.input.charCodeAt(this.state.pos)!==33)return this.replaceToken(143),this.jsxParseElement();else return super.parseExprAtom(X)}skipSpace(){if(!this.curContext().preserveSpace)super.skipSpace()}getTokenFromCode(X){let H=this.curContext();if(H===q1.j_expr){this.jsxReadToken();return}if(H===q1.j_oTag||H===q1.j_cTag){if(IG(X)){this.jsxReadWord();return}if(X===62){++this.state.pos,this.finishToken(144);return}if((X===34||X===39)&&H===q1.j_oTag){this.jsxReadString(X);return}}if(X===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(X)}updateContext(X){let{context:H,type:V}=this.state;if(V===56&&X===143)H.splice(-2,2,q1.j_cTag),this.state.canStartJSXElement=!1;else if(V===143)H.push(q1.j_oTag);else if(V===144){let Z=H[H.length-1];if(Z===q1.j_oTag&&X===56||Z===q1.j_cTag)H.pop(),this.state.canStartJSXElement=H[H.length-1]===q1.j_expr;else this.setContext(q1.j_expr),this.state.canStartJSXElement=!0}else this.state.canStartJSXElement=K21(V)}};class pV extends Z0{constructor(...G){super(...G);this.tsNames=new Map}}class rV extends Q0{constructor(...G){super(...G);this.importsStack=[]}createScope(G){return this.importsStack.push(new Set),new pV(G)}enter(G){if(G===256)this.importsStack.push(new Set);super.enter(G)}exit(){let G=super.exit();if(G===256)this.importsStack.pop();return G}hasImport(G,J){let X=this.importsStack.length;if(this.importsStack[X-1].has(G))return!0;if(!J&&X>1){for(let H=0;H<X-1;H++)if(this.importsStack[H].has(G))return!0}return!1}declareName(G,J,X){if(J&4096){if(this.hasImport(G,!0))this.parser.raise(j.VarRedeclaration,X,{identifierName:G});this.importsStack[this.importsStack.length-1].add(G);return}let H=this.currentScope(),V=H.tsNames.get(G)||0;if(J&1024){this.maybeExportDefined(H,G),H.tsNames.set(G,V|16);return}if(super.declareName(G,J,X),J&2){if(!(J&1))this.checkRedeclarationInScope(H,G,J,X),this.maybeExportDefined(H,G);V=V|1}if(J&256)V=V|2;if(J&512)V=V|4;if(J&128)V=V|8;if(V)H.tsNames.set(G,V)}isRedeclaredInScope(G,J,X){let H=G.tsNames.get(J);if((H&2)>0){if(X&256){let V=!!(X&512),Z=(H&4)>0;return V!==Z}return!0}if(X&128&&(H&8)>0)if(G.names.get(J)&2)return!!(X&1);else return!1;if(X&2&&(H&1)>0)return!0;return super.isRedeclaredInScope(G,J,X)}checkLocalExport(G){let{name:J}=G;if(this.hasImport(J))return;let X=this.scopeStack.length;for(let H=X-1;H>=0;H--){let Z=this.scopeStack[H].tsNames.get(J);if((Z&1)>0||(Z&16)>0)return}super.checkLocalExport(G)}}var sV=(G)=>{return G.type==="ParenthesizedExpression"?sV(G.expression):G};class dV extends aV{toAssignable(G,J=!1){var X,H;let V=void 0;if(G.type==="ParenthesizedExpression"||(X=G.extra)!=null&&X.parenthesized)if(V=sV(G),J){if(V.type==="Identifier")this.expressionScope.recordArrowParameterBindingError(j.InvalidParenthesizedAssignment,G);else if(V.type!=="MemberExpression"&&!this.isOptionalMemberExpression(V))this.raise(j.InvalidParenthesizedAssignment,G)}else this.raise(j.InvalidParenthesizedAssignment,G);switch(G.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":G.type="ObjectPattern";for(let Q=0,W=G.properties.length,Y=W-1;Q<W;Q++){var Z;let z=G.properties[Q],U=Q===Y;if(this.toAssignableObjectExpressionProp(z,U,J),U&&z.type==="RestElement"&&(Z=G.extra)!=null&&Z.trailingCommaLoc)this.raise(j.RestTrailingComma,G.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:Q,value:W}=G;if(this.isPrivateName(Q))this.classScope.usePrivateName(this.getPrivateNameSV(Q),Q.loc.start);this.toAssignable(W,J);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":G.type="ArrayPattern",this.toAssignableList(G.elements,(H=G.extra)==null?void 0:H.trailingCommaLoc,J);break;case"AssignmentExpression":if(G.operator!=="=")this.raise(j.MissingEqInAssignment,G.left.loc.end);G.type="AssignmentPattern",delete G.operator,this.toAssignable(G.left,J);break;case"ParenthesizedExpression":this.toAssignable(V,J);break}}toAssignableObjectExpressionProp(G,J,X){if(G.type==="ObjectMethod")this.raise(G.kind==="get"||G.kind==="set"?j.PatternHasAccessor:j.PatternHasMethod,G.key);else if(G.type==="SpreadElement"){G.type="RestElement";let H=G.argument;if(this.checkToRestConversion(H,!1),this.toAssignable(H,X),!J)this.raise(j.RestTrailingComma,G)}else this.toAssignable(G,X)}toAssignableList(G,J,X){let H=G.length-1;for(let V=0;V<=H;V++){let Z=G[V];if(!Z)continue;if(Z.type==="SpreadElement"){Z.type="RestElement";let Q=Z.argument;this.checkToRestConversion(Q,!0),this.toAssignable(Q,X)}else this.toAssignable(Z,X);if(Z.type==="RestElement"){if(V<H)this.raise(j.RestTrailingComma,Z);else if(J)this.raise(j.RestTrailingComma,J)}}}isAssignable(G,J){switch(G.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let X=G.properties.length-1;return G.properties.every((H,V)=>{return H.type!=="ObjectMethod"&&(V===X||H.type!=="SpreadElement")&&this.isAssignable(H)})}case"ObjectProperty":return this.isAssignable(G.value);case"SpreadElement":return this.isAssignable(G.argument);case"ArrayExpression":return G.elements.every((X)=>X===null||this.isAssignable(X));case"AssignmentExpression":return G.operator==="=";case"ParenthesizedExpression":return this.isAssignable(G.expression);case"MemberExpression":case"OptionalMemberExpression":return!J;default:return!1}}toReferencedList(G,J){return G}toReferencedListDeep(G,J){this.toReferencedList(G,J);for(let X of G)if((X==null?void 0:X.type)==="ArrayExpression")this.toReferencedListDeep(X.elements)}parseSpread(G){let J=this.startNode();return this.next(),J.argument=this.parseMaybeAssignAllowIn(G,void 0),this.finishNode(J,"SpreadElement")}parseRestBinding(){let G=this.startNode();return this.next(),G.argument=this.parseBindingAtom(),this.finishNode(G,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let G=this.startNode();return this.next(),G.elements=this.parseBindingList(3,93,1),this.finishNode(G,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(G,J,X){let H=X&1,V=[],Z=!0;while(!this.eat(G)){if(Z)Z=!1;else this.expect(12);if(H&&this.match(12))V.push(null);else if(this.eat(G))break;else if(this.match(21)){let Q=this.parseRestBinding();if(this.hasPlugin("flow")||X&2)Q=this.parseFunctionParamType(Q);if(V.push(Q),!this.checkCommaAfterRest(J)){this.expect(G);break}}else{let Q=[];if(this.match(26)&&this.hasPlugin("decorators"))this.raise(j.UnsupportedParameterDecorator,this.state.startLoc);while(this.match(26))Q.push(this.parseDecorator());V.push(this.parseAssignableListItem(X,Q))}}return V}parseBindingRestProperty(G){return this.next(),G.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(G,"RestElement")}parseBindingProperty(){let{type:G,startLoc:J}=this.state;if(G===21)return this.parseBindingRestProperty(this.startNode());let X=this.startNode();if(G===139)this.expectPlugin("destructuringPrivate",J),this.classScope.usePrivateName(this.state.value,J),X.key=this.parsePrivateName();else this.parsePropertyName(X);return X.method=!1,this.parseObjPropValue(X,J,!1,!1,!0,!1)}parseAssignableListItem(G,J){let X=this.parseMaybeDefault();if(this.hasPlugin("flow")||G&2)this.parseFunctionParamType(X);let H=this.parseMaybeDefault(X.loc.start,X);if(J.length)X.decorators=J;return H}parseFunctionParamType(G){return G}parseMaybeDefault(G,J){var X,H;if((X=G)!=null||(G=this.state.startLoc),J=(H=J)!=null?H:this.parseBindingAtom(),!this.eat(29))return J;let V=this.startNodeAt(G);return V.left=J,V.right=this.parseMaybeAssignAllowIn(),this.finishNode(V,"AssignmentPattern")}isValidLVal(G,J,X){switch(G){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(G){return G.type==="OptionalMemberExpression"}checkLVal(G,J,X=64,H=!1,V=!1,Z=!1){var Q;let W=G.type;if(this.isObjectMethod(G))return;let Y=this.isOptionalMemberExpression(G);if(Y||W==="MemberExpression"){if(Y){if(this.expectPlugin("optionalChainingAssign",G.loc.start),J.type!=="AssignmentExpression")this.raise(j.InvalidLhsOptionalChaining,G,{ancestor:J})}if(X!==64)this.raise(j.InvalidPropertyBindingPattern,G);return}if(W==="Identifier"){this.checkIdentifier(G,X,V);let{name:D}=G;if(H)if(H.has(D))this.raise(j.ParamDupe,G);else H.add(D);return}let z=this.isValidLVal(W,!(Z||(Q=G.extra)!=null&&Q.parenthesized)&&J.type==="AssignmentExpression",X);if(z===!0)return;if(z===!1){let D=X===64?j.InvalidLhs:j.InvalidLhsBinding;this.raise(D,G,{ancestor:J});return}let U,q;if(typeof z==="string")U=z,q=W==="ParenthesizedExpression";else[U,q]=z;let A=W==="ArrayPattern"||W==="ObjectPattern"?{type:W}:J,C=G[U];if(Array.isArray(C)){for(let D of C)if(D)this.checkLVal(D,A,X,H,V,q)}else if(C)this.checkLVal(C,A,X,H,V,q)}checkIdentifier(G,J,X=!1){if(this.state.strict&&(X?LV(G.name,this.inModule):wV(G.name)))if(J===64)this.raise(j.StrictEvalArguments,G,{referenceName:G.name});else this.raise(j.StrictEvalArgumentsBinding,G,{bindingName:G.name});if(J&8192&&G.name==="let")this.raise(j.LetInLexicalBinding,G);if(!(J&64))this.declareNameFromIdentifier(G,J)}declareNameFromIdentifier(G,J){this.scope.declareName(G.name,J,G.loc.start)}checkToRestConversion(G,J){switch(G.type){case"ParenthesizedExpression":this.checkToRestConversion(G.expression,J);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(J)break;default:this.raise(j.InvalidRestAssignmentPattern,G)}}checkCommaAfterRest(G){if(!this.match(12))return!1;return this.raise(this.lookaheadCharCode()===G?j.RestTrailingComma:j.ElementAfterRest,this.state.startLoc),!0}}function d21(G){if(G==null)throw new Error(`Unexpected ${G} value.`);return G}function jV(G){if(!G)throw new Error("Assert fail")}var a=PG`typescript`({AbstractMethodHasImplementation:({methodName:G})=>`Method '${G}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:G})=>`Property '${G}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:G})=>`'declare' is not allowed in ${G}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:G})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:G})=>`Duplicate modifier: '${G}'.`,EmptyHeritageClauseType:({token:G})=>`'${G}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:G})=>`'${G[0]}' modifier cannot be used with '${G[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:G})=>`Index signatures cannot have an accessibility modifier ('${G}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:G})=>`'${G}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:G})=>`'${G}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:G})=>`'${G}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:G})=>`'${G[0]}' modifier must precede '${G[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:G})=>`Private elements cannot have an accessibility modifier ('${G}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:G})=>`Single type parameter ${G} should have a trailing comma. Example usage: <${G},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:G})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${G}.`});function t21(G){switch(G){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function OV(G){return G==="private"||G==="public"||G==="protected"}function n21(G){return G==="in"||G==="out"}var o21=(G)=>class J extends G{constructor(...X){super(...X);this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:a.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:a.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:a.InvalidModifierOnTypeParameter})}getScopeHandler(){return rV}tsIsIdentifier(){return j1(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){if(this.next(),this.hasPrecedingLineBreak())return!1;return this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){if(this.match(106))return this.next(),this.tsTokenCanFollowModifier();return this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(X,H){if(!j1(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let V=this.state.value;if(X.includes(V)){if(H&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return V}return}tsParseModifiers({allowedModifiers:X,disallowedModifiers:H,stopOnStartOfClassStaticBlock:V,errorTemplate:Z=a.InvalidModifierOnTypeMember},Q){let W=(z,U,q,A)=>{if(U===q&&Q[A])this.raise(a.InvalidModifiersOrder,z,{orderedModifiers:[q,A]})},Y=(z,U,q,A)=>{if(Q[q]&&U===A||Q[A]&&U===q)this.raise(a.IncompatibleModifiers,z,{modifiers:[q,A]})};for(;;){let{startLoc:z}=this.state,U=this.tsParseModifier(X.concat(H!=null?H:[]),V);if(!U)break;if(OV(U))if(Q.accessibility)this.raise(a.DuplicateAccessibilityModifier,z,{modifier:U});else W(z,U,U,"override"),W(z,U,U,"static"),W(z,U,U,"readonly"),Q.accessibility=U;else if(n21(U)){if(Q[U])this.raise(a.DuplicateModifier,z,{modifier:U});Q[U]=!0,W(z,U,"in","out")}else{if(hasOwnProperty.call(Q,U))this.raise(a.DuplicateModifier,z,{modifier:U});else W(z,U,"static","readonly"),W(z,U,"static","override"),W(z,U,"override","readonly"),W(z,U,"abstract","override"),Y(z,U,"declare","override"),Y(z,U,"static","abstract");Q[U]=!0}if(H!=null&&H.includes(U))this.raise(Z,z,{modifier:U})}}tsIsListTerminator(X){switch(X){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(X,H){let V=[];while(!this.tsIsListTerminator(X))V.push(H());return V}tsParseDelimitedList(X,H,V){return d21(this.tsParseDelimitedListWorker(X,H,!0,V))}tsParseDelimitedListWorker(X,H,V,Z){let Q=[],W=-1;for(;;){if(this.tsIsListTerminator(X))break;W=-1;let Y=H();if(Y==null)return;if(Q.push(Y),this.eat(12)){W=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(X))break;if(V)this.expect(12);return}if(Z)Z.value=W;return Q}tsParseBracketedList(X,H,V,Z,Q){if(!Z)if(V)this.expect(0);else this.expect(47);let W=this.tsParseDelimitedList(X,H,Q);if(V)this.expect(3);else this.expect(48);return W}tsParseImportType(){let X=this.startNode();if(this.expect(83),this.expect(10),!this.match(134))this.raise(a.UnsupportedImportTypeArgument,this.state.startLoc),X.argument=super.parseExprAtom();else X.argument=this.parseStringLiteral(this.state.value);if(this.eat(12)&&!this.match(11))X.options=super.parseMaybeAssignAllowIn(),this.eat(12);else X.options=null;if(this.expect(11),this.eat(16))X.qualifier=this.tsParseEntityName(3);if(this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSImportType")}tsParseEntityName(X){let H;if(X&1&&this.match(78))if(X&2)H=this.parseIdentifier(!0);else{let V=this.startNode();this.next(),H=this.finishNode(V,"ThisExpression")}else H=this.parseIdentifier(!!(X&1));while(this.eat(16)){let V=this.startNodeAtNode(H);V.left=H,V.right=this.parseIdentifier(!!(X&1)),H=this.finishNode(V,"TSQualifiedName")}return H}tsParseTypeReference(){let X=this.startNode();if(X.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSTypeReference")}tsParseThisTypePredicate(X){this.next();let H=this.startNodeAtNode(X);return H.parameterName=X,H.typeAnnotation=this.tsParseTypeAnnotation(!1),H.asserts=!1,this.finishNode(H,"TSTypePredicate")}tsParseThisTypeNode(){let X=this.startNode();return this.next(),this.finishNode(X,"TSThisType")}tsParseTypeQuery(){let X=this.startNode();if(this.expect(87),this.match(83))X.exprName=this.tsParseImportType();else X.exprName=this.tsParseEntityName(3);if(!this.hasPrecedingLineBreak()&&this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSTypeQuery")}tsParseTypeParameter(X){let H=this.startNode();return X(H),H.name=this.tsParseTypeParameterName(),H.constraint=this.tsEatThenParseType(81),H.default=this.tsEatThenParseType(29),this.finishNode(H,"TSTypeParameter")}tsTryParseTypeParameters(X){if(this.match(47))return this.tsParseTypeParameters(X)}tsParseTypeParameters(X){let H=this.startNode();if(this.match(47)||this.match(143))this.next();else this.unexpected();let V={value:-1};if(H.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,X),!1,!0,V),H.params.length===0)this.raise(a.EmptyTypeParameters,H);if(V.value!==-1)this.addExtra(H,"trailingComma",V.value);return this.finishNode(H,"TSTypeParameterDeclaration")}tsFillSignature(X,H){let V=X===19,Z="parameters",Q="typeAnnotation";if(H.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),H.parameters=this.tsParseBindingListForSignature(),V)H.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(X);else if(this.match(X))H.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(X)}tsParseBindingListForSignature(){let X=super.parseBindingList(11,41,2);for(let H of X){let{type:V}=H;if(V==="AssignmentPattern"||V==="TSParameterProperty")this.raise(a.UnsupportedSignatureParameterKind,H,{type:V})}return X}tsParseTypeMemberSemicolon(){if(!this.eat(12)&&!this.isLineTerminator())this.expect(13)}tsParseSignatureMember(X,H){return this.tsFillSignature(14,H),this.tsParseTypeMemberSemicolon(),this.finishNode(H,X)}tsIsUnambiguouslyIndexSignature(){if(this.next(),j1(this.state.type))return this.next(),this.match(14);return!1}tsTryParseIndexSignature(X){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let H=this.parseIdentifier();H.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(H),this.expect(3),X.parameters=[H];let V=this.tsTryParseTypeAnnotation();if(V)X.typeAnnotation=V;return this.tsParseTypeMemberSemicolon(),this.finishNode(X,"TSIndexSignature")}tsParsePropertyOrMethodSignature(X,H){if(this.eat(17))X.optional=!0;let V=X;if(this.match(10)||this.match(47)){if(H)this.raise(a.ReadonlyForMethodSignature,X);let Z=V;if(Z.kind&&this.match(47))this.raise(a.AccessorCannotHaveTypeParameters,this.state.curPosition());this.tsFillSignature(14,Z),this.tsParseTypeMemberSemicolon();let Q="parameters",W="typeAnnotation";if(Z.kind==="get"){if(Z[Q].length>0){if(this.raise(j.BadGetterArity,this.state.curPosition()),this.isThisParam(Z[Q][0]))this.raise(a.AccessorCannotDeclareThisParameter,this.state.curPosition())}}else if(Z.kind==="set"){if(Z[Q].length!==1)this.raise(j.BadSetterArity,this.state.curPosition());else{let Y=Z[Q][0];if(this.isThisParam(Y))this.raise(a.AccessorCannotDeclareThisParameter,this.state.curPosition());if(Y.type==="Identifier"&&Y.optional)this.raise(a.SetAccessorCannotHaveOptionalParameter,this.state.curPosition());if(Y.type==="RestElement")this.raise(a.SetAccessorCannotHaveRestParameter,this.state.curPosition())}if(Z[W])this.raise(a.SetAccessorCannotHaveReturnType,Z[W])}else Z.kind="method";return this.finishNode(Z,"TSMethodSignature")}else{let Z=V;if(H)Z.readonly=!0;let Q=this.tsTryParseTypeAnnotation();if(Q)Z.typeAnnotation=Q;return this.tsParseTypeMemberSemicolon(),this.finishNode(Z,"TSPropertySignature")}}tsParseTypeMember(){let X=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",X);if(this.match(77)){let V=this.startNode();if(this.next(),this.match(10)||this.match(47))return this.tsParseSignatureMember("TSConstructSignatureDeclaration",X);else return X.key=this.createIdentifier(V,"new"),this.tsParsePropertyOrMethodSignature(X,!1)}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},X);let H=this.tsTryParseIndexSignature(X);if(H)return H;if(super.parsePropertyName(X),!X.computed&&X.key.type==="Identifier"&&(X.key.name==="get"||X.key.name==="set")&&this.tsTokenCanFollowModifier())X.kind=X.key.name,super.parsePropertyName(X);return this.tsParsePropertyOrMethodSignature(X,!!X.readonly)}tsParseTypeLiteral(){let X=this.startNode();return X.members=this.tsParseObjectTypeMembers(),this.finishNode(X,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let X=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),X}tsIsStartOfMappedType(){if(this.next(),this.eat(53))return this.isContextual(122);if(this.isContextual(122))this.next();if(!this.match(0))return!1;if(this.next(),!this.tsIsIdentifier())return!1;return this.next(),this.match(58)}tsParseMappedType(){let X=this.startNode();if(this.expect(5),this.match(53))X.readonly=this.state.value,this.next(),this.expectContextual(122);else if(this.eatContextual(122))X.readonly=!0;this.expect(0);{let H=this.startNode();H.name=this.tsParseTypeParameterName(),H.constraint=this.tsExpectThenParseType(58),X.typeParameter=this.finishNode(H,"TSTypeParameter")}if(X.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53))X.optional=this.state.value,this.next(),this.expect(17);else if(this.eat(17))X.optional=!0;return X.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(X,"TSMappedType")}tsParseTupleType(){let X=this.startNode();X.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let H=!1;return X.elementTypes.forEach((V)=>{let{type:Z}=V;if(H&&Z!=="TSRestType"&&Z!=="TSOptionalType"&&!(Z==="TSNamedTupleMember"&&V.optional))this.raise(a.OptionalTypeBeforeRequired,V);H||(H=Z==="TSNamedTupleMember"&&V.optional||Z==="TSOptionalType")}),this.finishNode(X,"TSTupleType")}tsParseTupleElementType(){let{startLoc:X}=this.state,H=this.eat(21),V,Z,Q,W,z=WG(this.state.type)?this.lookaheadCharCode():null;if(z===58)V=!0,Q=!1,Z=this.parseIdentifier(!0),this.expect(14),W=this.tsParseType();else if(z===63){Q=!0;let U=this.state.startLoc,q=this.state.value,A=this.tsParseNonArrayType();if(this.lookaheadCharCode()===58)V=!0,Z=this.createIdentifier(this.startNodeAt(U),q),this.expect(17),this.expect(14),W=this.tsParseType();else V=!1,W=A,this.expect(17)}else W=this.tsParseType(),Q=this.eat(17),V=this.eat(14);if(V){let U;if(Z){if(U=this.startNodeAtNode(Z),U.optional=Q,U.label=Z,U.elementType=W,this.eat(17))U.optional=!0,this.raise(a.TupleOptionalAfterType,this.state.lastTokStartLoc)}else U=this.startNodeAtNode(W),U.optional=Q,this.raise(a.InvalidTupleMemberLabel,W),U.label=W,U.elementType=this.tsParseType();W=this.finishNode(U,"TSNamedTupleMember")}else if(Q){let U=this.startNodeAtNode(W);U.typeAnnotation=W,W=this.finishNode(U,"TSOptionalType")}if(H){let U=this.startNodeAt(X);U.typeAnnotation=W,W=this.finishNode(U,"TSRestType")}return W}tsParseParenthesizedType(){let X=this.startNode();return this.expect(10),X.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(X,"TSParenthesizedType")}tsParseFunctionOrConstructorType(X,H){let V=this.startNode();if(X==="TSConstructorType"){if(V.abstract=!!H,H)this.next();this.next()}return this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,V)),this.finishNode(V,X)}tsParseLiteralTypeNode(){let X=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:X.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(X,"TSLiteralType")}tsParseTemplateLiteralType(){let X=this.startNode();return X.literal=super.parseTemplate(!1),this.finishNode(X,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let X=this.tsParseThisTypeNode();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.tsParseThisTypePredicate(X);else return X}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let X=this.startNode(),H=this.lookahead();if(H.type!==135&&H.type!==136)this.unexpected();return X.literal=this.parseMaybeUnary(),this.finishNode(X,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:X}=this.state;if(j1(X)||X===88||X===84){let H=X===88?"TSVoidKeyword":X===84?"TSNullKeyword":t21(this.state.value);if(H!==void 0&&this.lookaheadCharCode()!==46){let V=this.startNode();return this.next(),this.finishNode(V,H)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let X=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(0))if(this.match(3)){let H=this.startNodeAtNode(X);H.elementType=X,this.expect(3),X=this.finishNode(H,"TSArrayType")}else{let H=this.startNodeAtNode(X);H.objectType=X,H.indexType=this.tsParseType(),this.expect(3),X=this.finishNode(H,"TSIndexedAccessType")}return X}tsParseTypeOperator(){let X=this.startNode(),H=this.state.value;if(this.next(),X.operator=H,X.typeAnnotation=this.tsParseTypeOperatorOrHigher(),H==="readonly")this.tsCheckTypeAnnotationForReadOnly(X);return this.finishNode(X,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(X){switch(X.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(a.UnexpectedReadonly,X)}}tsParseInferType(){let X=this.startNode();this.expectContextual(115);let H=this.startNode();return H.name=this.tsParseTypeParameterName(),H.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),X.typeParameter=this.finishNode(H,"TSTypeParameter"),this.finishNode(X,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let X=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return X}}tsParseTypeOperatorOrHigher(){return F21(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(X,H,V){let Z=this.startNode(),Q=this.eat(V),W=[];do W.push(H());while(this.eat(V));if(W.length===1&&!Q)return W[0];return Z.types=W,this.finishNode(Z,X)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){if(this.match(47))return!0;return this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(j1(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:X}=this.state,H=X.length;try{return this.parseObjectLike(8,!0),X.length===H}catch(V){return!1}}if(this.match(0)){this.next();let{errors:X}=this.state,H=X.length;try{return super.parseBindingList(3,93,1),X.length===H}catch(V){return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)){if(this.next(),this.match(19))return!0}}return!1}tsParseTypeOrTypePredicateAnnotation(X){return this.tsInType(()=>{let H=this.startNode();this.expect(X);let V=this.startNode(),Z=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(Z&&this.match(78)){let Y=this.tsParseThisTypeOrThisTypePredicate();if(Y.type==="TSThisType")V.parameterName=Y,V.asserts=!0,V.typeAnnotation=null,Y=this.finishNode(V,"TSTypePredicate");else this.resetStartLocationFromNode(Y,V),Y.asserts=!0;return H.typeAnnotation=Y,this.finishNode(H,"TSTypeAnnotation")}let Q=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!Q){if(!Z)return this.tsParseTypeAnnotation(!1,H);return V.parameterName=this.parseIdentifier(),V.asserts=Z,V.typeAnnotation=null,H.typeAnnotation=this.finishNode(V,"TSTypePredicate"),this.finishNode(H,"TSTypeAnnotation")}let W=this.tsParseTypeAnnotation(!1);return V.parameterName=Q,V.typeAnnotation=W,V.asserts=Z,H.typeAnnotation=this.finishNode(V,"TSTypePredicate"),this.finishNode(H,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let X=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),X}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let X=this.state.containsEsc;if(this.next(),!j1(this.state.type)&&!this.match(78))return!1;if(X)this.raise(j.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"});return!0}tsParseTypeAnnotation(X=!0,H=this.startNode()){return this.tsInType(()=>{if(X)this.expect(14);H.typeAnnotation=this.tsParseType()}),this.finishNode(H,"TSTypeAnnotation")}tsParseType(){jV(this.state.inType);let X=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return X;let H=this.startNodeAtNode(X);return H.checkType=X,H.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),H.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),H.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(H,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType())return this.tsParseFunctionOrConstructorType("TSFunctionType");if(this.match(77))return this.tsParseFunctionOrConstructorType("TSConstructorType");else if(this.isAbstractConstructorSignature())return this.tsParseFunctionOrConstructorType("TSConstructorType",!0);return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){if(this.getPluginOption("typescript","disallowAmbiguousJSXLike"))this.raise(a.ReservedTypeAssertion,this.state.startLoc);let X=this.startNode();return X.typeAnnotation=this.tsInType(()=>{return this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()}),this.expect(48),X.expression=this.parseMaybeUnary(),this.finishNode(X,"TSTypeAssertion")}tsParseHeritageClause(X){let H=this.state.startLoc,V=this.tsParseDelimitedList("HeritageClauseElement",()=>{let Z=this.startNode();{if(Z.expression=this.tsParseEntityName(3),this.match(47))Z.typeParameters=this.tsParseTypeArguments();return this.finishNode(Z,"TSExpressionWithTypeArguments")}});if(!V.length)this.raise(a.EmptyHeritageClauseType,H,{token:X});return V}tsParseInterfaceDeclaration(X,H={}){if(this.hasFollowingLineBreak())return null;if(this.expectContextual(129),H.declare)X.declare=!0;if(j1(this.state.type))X.id=this.parseIdentifier(),this.checkIdentifier(X.id,130);else X.id=null,this.raise(a.MissingInterfaceName,this.state.startLoc);if(X.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81))X.extends=this.tsParseHeritageClause("extends");let V=this.startNode();return V.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),X.body=this.finishNode(V,"TSInterfaceBody"),this.finishNode(X,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(X){return X.id=this.parseIdentifier(),this.checkIdentifier(X.id,2),X.typeAnnotation=this.tsInType(()=>{if(X.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let H=this.startNode();return this.next(),this.finishNode(H,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(X,"TSTypeAliasDeclaration")}tsInTopLevelContext(X){if(this.curContext()!==q1.brace){let H=this.state.context;this.state.context=[H[0]];try{return X()}finally{this.state.context=H}}else return X()}tsInType(X){let H=this.state.inType;this.state.inType=!0;try{return X()}finally{this.state.inType=H}}tsInDisallowConditionalTypesContext(X){let H=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return X()}finally{this.state.inDisallowConditionalTypesContext=H}}tsInAllowConditionalTypesContext(X){let H=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return X()}finally{this.state.inDisallowConditionalTypesContext=H}}tsEatThenParseType(X){if(this.match(X))return this.tsNextThenParseType()}tsExpectThenParseType(X){return this.tsInType(()=>{return this.expect(X),this.tsParseType()})}tsNextThenParseType(){return this.tsInType(()=>{return this.next(),this.tsParseType()})}tsParseEnumMember(){let X=this.startNode();if(X.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29))X.initializer=super.parseMaybeAssignAllowIn();return this.finishNode(X,"TSEnumMember")}tsParseEnumDeclaration(X,H={}){if(H.const)X.const=!0;if(H.declare)X.declare=!0;return this.expectContextual(126),X.id=this.parseIdentifier(),this.checkIdentifier(X.id,X.const?8971:8459),this.expect(5),X.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(X,"TSEnumDeclaration")}tsParseEnumBody(){let X=this.startNode();return this.expect(5),X.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(X,"TSEnumBody")}tsParseModuleBlock(){let X=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(X.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(X,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(X,H=!1){if(X.id=this.parseIdentifier(),!H)this.checkIdentifier(X.id,1024);if(this.eat(16)){let V=this.startNode();this.tsParseModuleOrNamespaceDeclaration(V,!0),X.body=V}else this.scope.enter(256),this.prodParam.enter(0),X.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(X,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(X){if(this.isContextual(112))X.kind="global",X.global=!0,X.id=this.parseIdentifier();else if(this.match(134))X.kind="module",X.id=super.parseStringLiteral(this.state.value);else this.unexpected();if(this.match(5))this.scope.enter(256),this.prodParam.enter(0),X.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();else this.semicolon();return this.finishNode(X,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(X,H,V){X.isExport=V||!1,X.id=H||this.parseIdentifier(),this.checkIdentifier(X.id,4096),this.expect(29);let Z=this.tsParseModuleReference();if(X.importKind==="type"&&Z.type!=="TSExternalModuleReference")this.raise(a.ImportAliasHasImportType,Z);return X.moduleReference=Z,this.semicolon(),this.finishNode(X,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let X=this.startNode();if(this.expectContextual(119),this.expect(10),!this.match(134))this.unexpected();return X.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(X,"TSExternalModuleReference")}tsLookAhead(X){let H=this.state.clone(),V=X();return this.state=H,V}tsTryParseAndCatch(X){let H=this.tryParse((V)=>X()||V());if(H.aborted||!H.node)return;if(H.error)this.state=H.failState;return H.node}tsTryParse(X){let H=this.state.clone(),V=X();if(V!==void 0&&V!==!1)return V;this.state=H}tsTryParseDeclare(X){if(this.isLineTerminator())return;let H=this.state.type,V;if(this.isContextual(100))H=74,V="let";return this.tsInAmbientContext(()=>{switch(H){case 68:return X.declare=!0,super.parseFunctionStatement(X,!1,!1);case 80:return X.declare=!0,this.parseClass(X,!0,!1);case 126:return this.tsParseEnumDeclaration(X,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(X);case 75:case 74:if(!this.match(75)||!this.isLookaheadContextual("enum"))return X.declare=!0,this.parseVarStatement(X,V||this.state.value,!0);return this.expect(75),this.tsParseEnumDeclaration(X,{const:!0,declare:!0});case 129:{let Z=this.tsParseInterfaceDeclaration(X,{declare:!0});if(Z)return Z}default:if(j1(H))return this.tsParseDeclaration(X,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(X,H,V){switch(H.name){case"declare":{let Z=this.tsTryParseDeclare(X);if(Z)Z.declare=!0;return Z}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let Z=X;return Z.kind="global",X.global=!0,Z.id=H,Z.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(Z,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(X,H.name,!1,V)}}tsParseDeclaration(X,H,V,Z){switch(H){case"abstract":if(this.tsCheckLineTerminator(V)&&(this.match(80)||j1(this.state.type)))return this.tsParseAbstractDeclaration(X,Z);break;case"module":if(this.tsCheckLineTerminator(V)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(X);else if(j1(this.state.type))return X.kind="module",this.tsParseModuleOrNamespaceDeclaration(X)}break;case"namespace":if(this.tsCheckLineTerminator(V)&&j1(this.state.type))return X.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(X);break;case"type":if(this.tsCheckLineTerminator(V)&&j1(this.state.type))return this.tsParseTypeAliasDeclaration(X);break}}tsCheckLineTerminator(X){if(X){if(this.hasFollowingLineBreak())return!1;return this.next(),!0}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(X){if(!this.match(47))return;let H=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let V=this.tsTryParseAndCatch(()=>{let Z=this.startNodeAt(X);return Z.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(Z),Z.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),Z});if(this.state.maybeInArrowParameters=H,!V)return;return super.parseArrowExpression(V,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()!==47)return;return this.tsParseTypeArguments()}tsParseTypeArguments(){let X=this.startNode();if(X.params=this.tsInType(()=>this.tsInTopLevelContext(()=>{return this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))})),X.params.length===0)this.raise(a.EmptyTypeArguments,X);else if(!this.state.inType&&this.curContext()===q1.brace)this.reScan_lt_gt();return this.expect(48),this.finishNode(X,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return q21(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return!1;return super.isExportDefaultSpecifier()}parseAssignableListItem(X,H){let V=this.state.startLoc,Z={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},Z);let{accessibility:Q,override:W,readonly:Y}=Z;if(!(X&4)&&(Q||Y||W))this.raise(a.UnexpectedParameterModifier,V);let z=this.parseMaybeDefault();if(X&2)this.parseFunctionParamType(z);let U=this.parseMaybeDefault(z.loc.start,z);if(Q||Y||W){let q=this.startNodeAt(V);if(H.length)q.decorators=H;if(Q)q.accessibility=Q;if(Y)q.readonly=Y;if(W)q.override=W;if(U.type!=="Identifier"&&U.type!=="AssignmentPattern")this.raise(a.UnsupportedParameterPropertyKind,q);return q.parameter=U,this.finishNode(q,"TSParameterProperty")}if(H.length)z.decorators=H;return U}isSimpleParameter(X){return X.type==="TSParameterProperty"&&super.isSimpleParameter(X.parameter)||super.isSimpleParameter(X)}tsDisallowOptionalPattern(X){for(let H of X.params)if(H.type!=="Identifier"&&H.optional&&!this.state.isAmbientContext)this.raise(a.PatternIsOptional,H)}setArrowFunctionParameters(X,H,V){super.setArrowFunctionParameters(X,H,V),this.tsDisallowOptionalPattern(X)}parseFunctionBodyAndFinish(X,H,V=!1){if(this.match(14))X.returnType=this.tsParseTypeOrTypePredicateAnnotation(14);let Z=H==="FunctionDeclaration"?"TSDeclareFunction":H==="ClassMethod"||H==="ClassPrivateMethod"?"TSDeclareMethod":void 0;if(Z&&!this.match(5)&&this.isLineTerminator())return this.finishNode(X,Z);if(Z==="TSDeclareFunction"&&this.state.isAmbientContext){if(this.raise(a.DeclareFunctionHasImplementation,X),X.declare)return super.parseFunctionBodyAndFinish(X,Z,V)}return this.tsDisallowOptionalPattern(X),super.parseFunctionBodyAndFinish(X,H,V)}registerFunctionStatementId(X){if(!X.body&&X.id)this.checkIdentifier(X.id,1024);else super.registerFunctionStatementId(X)}tsCheckForInvalidTypeCasts(X){X.forEach((H)=>{if((H==null?void 0:H.type)==="TSTypeCastExpression")this.raise(a.UnexpectedTypeAnnotation,H.typeAnnotation)})}toReferencedList(X,H){return this.tsCheckForInvalidTypeCasts(X),X}parseArrayLike(X,H,V,Z){let Q=super.parseArrayLike(X,H,V,Z);if(Q.type==="ArrayExpression")this.tsCheckForInvalidTypeCasts(Q.elements);return Q}parseSubscript(X,H,V,Z){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let W=this.startNodeAt(H);return W.expression=X,this.finishNode(W,"TSNonNullExpression")}let Q=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(V)return Z.stop=!0,X;Z.optionalChainMember=Q=!0,this.next()}if(this.match(47)||this.match(51)){let W,Y=this.tsTryParseAndCatch(()=>{if(!V&&this.atPossibleAsyncArrow(X)){let A=this.tsTryParseGenericAsyncArrowFunction(H);if(A)return A}let z=this.tsParseTypeArgumentsInExpression();if(!z)return;if(Q&&!this.match(10)){W=this.state.curPosition();return}if(V0(this.state.type)){let A=super.parseTaggedTemplateExpression(X,H,Z);return A.typeParameters=z,A}if(!V&&this.eat(10)){let A=this.startNodeAt(H);if(A.callee=X,A.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(A.arguments),A.typeParameters=z,Z.optionalChainMember)A.optional=Q;return this.finishCallExpression(A,Z.optionalChainMember)}let U=this.state.type;if(U===48||U===52||U!==10&&q2(U)&&!this.hasPrecedingLineBreak())return;let q=this.startNodeAt(H);return q.expression=X,q.typeParameters=z,this.finishNode(q,"TSInstantiationExpression")});if(W)this.unexpected(W,10);if(Y){if(Y.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40))this.raise(a.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc);return Y}}return super.parseSubscript(X,H,V,Z)}parseNewCallee(X){var H;super.parseNewCallee(X);let{callee:V}=X;if(V.type==="TSInstantiationExpression"&&!((H=V.extra)!=null&&H.parenthesized))X.typeParameters=V.typeParameters,X.callee=V.expression}parseExprOp(X,H,V){let Z;if(X0(58)>V&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(Z=this.isContextual(120)))){let Q=this.startNodeAt(H);return Q.expression=X,Q.typeAnnotation=this.tsInType(()=>{if(this.next(),this.match(75)){if(Z)this.raise(j.UnexpectedKeyword,this.state.startLoc,{keyword:"const"});return this.tsParseTypeReference()}return this.tsParseType()}),this.finishNode(Q,Z?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(Q,H,V)}return super.parseExprOp(X,H,V)}checkReservedWord(X,H,V,Z){if(!this.state.isAmbientContext)super.checkReservedWord(X,H,V,Z)}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(a.ImportReflectionHasImportType,X.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(X){if(super.isPotentialImportPhase(X))return!0;if(this.isContextual(130)){let H=this.lookaheadCharCode();return X?H===123||H===42:H!==61}return!X&&this.isContextual(87)}applyImportPhase(X,H,V,Z){if(super.applyImportPhase(X,H,V,Z),H)X.exportKind=V==="type"?"type":"value";else X.importKind=V==="type"||V==="typeof"?V:"value"}parseImport(X){if(this.match(134))return X.importKind="value",super.parseImport(X);let H;if(j1(this.state.type)&&this.lookaheadCharCode()===61)return X.importKind="value",this.tsParseImportEqualsDeclaration(X);else if(this.isContextual(130)){let V=this.parseMaybeImportPhase(X,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(X,V);else H=super.parseImportSpecifiersAndAfter(X,V)}else H=super.parseImport(X);if(H.importKind==="type"&&H.specifiers.length>1&&H.specifiers[0].type==="ImportDefaultSpecifier")this.raise(a.TypeImportCannotSpecifyDefaultAndNamed,H);return H}parseExport(X,H){if(this.match(83)){this.next();let V=X,Z=null;if(this.isContextual(130)&&this.isPotentialImportPhase(!1))Z=this.parseMaybeImportPhase(V,!1);else V.importKind="value";return this.tsParseImportEqualsDeclaration(V,Z,!0)}else if(this.eat(29)){let V=X;return V.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(V,"TSExportAssignment")}else if(this.eatContextual(93)){let V=X;return this.expectContextual(128),V.id=this.parseIdentifier(),this.semicolon(),this.finishNode(V,"TSNamespaceExportDeclaration")}else return super.parseExport(X,H)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let X=this.startNode();return this.next(),X.abstract=!0,this.parseClass(X,!0,!0)}if(this.match(129)){let X=this.tsParseInterfaceDeclaration(this.startNode());if(X)return X}return super.parseExportDefaultExpression()}parseVarStatement(X,H,V=!1){let{isAmbientContext:Z}=this.state,Q=super.parseVarStatement(X,H,V||Z);if(!Z)return Q;for(let{id:W,init:Y}of Q.declarations){if(!Y)continue;if(H!=="const"||!!W.typeAnnotation)this.raise(a.InitializerNotAllowedInAmbientContext,Y);else if(!G61(Y,this.hasPlugin("estree")))this.raise(a.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,Y)}return Q}parseStatementContent(X,H){if(this.match(75)&&this.isLookaheadContextual("enum")){let V=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(V,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let V=this.tsParseInterfaceDeclaration(this.startNode());if(V)return V}return super.parseStatementContent(X,H)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(X,H){return H.some((V)=>{if(OV(V))return X.accessibility===V;return!!X[V]})}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(X,H,V){let Z=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:Z,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:a.InvalidModifierOnTypeParameterPositions},H);let Q=()=>{if(this.tsIsStartOfStaticBlocks()){if(this.next(),this.next(),this.tsHasSomeModifiers(H,Z))this.raise(a.StaticBlockCannotHaveModifier,this.state.curPosition());super.parseClassStaticBlock(X,H)}else this.parseClassMemberWithIsStatic(X,H,V,!!H.static)};if(H.declare)this.tsInAmbientContext(Q);else Q()}parseClassMemberWithIsStatic(X,H,V,Z){let Q=this.tsTryParseIndexSignature(H);if(Q){if(X.body.push(Q),H.abstract)this.raise(a.IndexSignatureHasAbstract,H);if(H.accessibility)this.raise(a.IndexSignatureHasAccessibility,H,{modifier:H.accessibility});if(H.declare)this.raise(a.IndexSignatureHasDeclare,H);if(H.override)this.raise(a.IndexSignatureHasOverride,H);return}if(!this.state.inAbstractClass&&H.abstract)this.raise(a.NonAbstractClassHasAbstractMethod,H);if(H.override){if(!V.hadSuperClass)this.raise(a.OverrideNotInSubClass,H)}super.parseClassMemberWithIsStatic(X,H,V,Z)}parsePostMemberNameModifiers(X){if(this.eat(17))X.optional=!0;if(X.readonly&&this.match(10))this.raise(a.ClassMethodHasReadonly,X);if(X.declare&&this.match(10))this.raise(a.ClassMethodHasDeclare,X)}parseExpressionStatement(X,H,V){return(H.type==="Identifier"?this.tsParseExpressionStatement(X,H,V):void 0)||super.parseExpressionStatement(X,H,V)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return!0;return super.shouldParseExportDeclaration()}parseConditional(X,H,V){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(X,H,V);let Z=this.tryParse(()=>super.parseConditional(X,H));if(!Z.node){if(Z.error)super.setOptionalParametersError(V,Z.error);return X}if(Z.error)this.state=Z.failState;return Z.node}parseParenItem(X,H){let V=super.parseParenItem(X,H);if(this.eat(17))V.optional=!0,this.resetEndLocation(X);if(this.match(14)){let Z=this.startNodeAt(H);return Z.expression=X,Z.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(Z,"TSTypeCastExpression")}return X}parseExportDeclaration(X){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(X));let H=this.state.startLoc,V=this.eatContextual(125);if(V&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(a.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let Q=j1(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(X);if(!Q)return null;if(Q.type==="TSInterfaceDeclaration"||Q.type==="TSTypeAliasDeclaration"||V)X.exportKind="type";if(V)this.resetStartLocation(Q,H),Q.declare=!0;return Q}parseClassId(X,H,V,Z){if((!H||V)&&this.isContextual(113))return;super.parseClassId(X,H,V,X.declare?1024:8331);let Q=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);if(Q)X.typeParameters=Q}parseClassPropertyAnnotation(X){if(!X.optional){if(this.eat(35))X.definite=!0;else if(this.eat(17))X.optional=!0}let H=this.tsTryParseTypeAnnotation();if(H)X.typeAnnotation=H}parseClassProperty(X){if(this.parseClassPropertyAnnotation(X),this.state.isAmbientContext&&!(X.readonly&&!X.typeAnnotation)&&this.match(29))this.raise(a.DeclareClassFieldHasInitializer,this.state.startLoc);if(X.abstract&&this.match(29)){let{key:H}=X;this.raise(a.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:H.type==="Identifier"&&!X.computed?H.name:`[${this.input.slice(this.offsetToSourcePos(H.start),this.offsetToSourcePos(H.end))}]`})}return super.parseClassProperty(X)}parseClassPrivateProperty(X){if(X.abstract)this.raise(a.PrivateElementHasAbstract,X);if(X.accessibility)this.raise(a.PrivateElementHasAccessibility,X,{modifier:X.accessibility});return this.parseClassPropertyAnnotation(X),super.parseClassPrivateProperty(X)}parseClassAccessorProperty(X){if(this.parseClassPropertyAnnotation(X),X.optional)this.raise(a.AccessorCannotBeOptional,X);return super.parseClassAccessorProperty(X)}pushClassMethod(X,H,V,Z,Q,W){let Y=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(Y&&Q)this.raise(a.ConstructorHasTypeParameters,Y);let{declare:z=!1,kind:U}=H;if(z&&(U==="get"||U==="set"))this.raise(a.DeclareAccessor,H,{kind:U});if(Y)H.typeParameters=Y;super.pushClassMethod(X,H,V,Z,Q,W)}pushClassPrivateMethod(X,H,V,Z){let Q=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(Q)H.typeParameters=Q;super.pushClassPrivateMethod(X,H,V,Z)}declareClassPrivateMethodInScope(X,H){if(X.type==="TSDeclareMethod")return;if(X.type==="MethodDefinition"&&!hasOwnProperty.call(X.value,"body"))return;super.declareClassPrivateMethodInScope(X,H)}parseClassSuper(X){if(super.parseClassSuper(X),X.superClass&&(this.match(47)||this.match(51)))X.superTypeParameters=this.tsParseTypeArgumentsInExpression();if(this.eatContextual(113))X.implements=this.tsParseHeritageClause("implements")}parseObjPropValue(X,H,V,Z,Q,W,Y){let z=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(z)X.typeParameters=z;return super.parseObjPropValue(X,H,V,Z,Q,W,Y)}parseFunctionParams(X,H){let V=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(V)X.typeParameters=V;super.parseFunctionParams(X,H)}parseVarId(X,H){if(super.parseVarId(X,H),X.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35))X.definite=!0;let V=this.tsTryParseTypeAnnotation();if(V)X.id.typeAnnotation=V,this.resetEndLocation(X.id)}parseAsyncArrowFromCallExpression(X,H){if(this.match(14))X.returnType=this.tsParseTypeAnnotation();return super.parseAsyncArrowFromCallExpression(X,H)}parseMaybeAssign(X,H){var V,Z,Q,W,Y;let z,U,q;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(z=this.state.clone(),U=this.tryParse(()=>super.parseMaybeAssign(X,H),z),!U.error)return U.node;let{context:D}=this.state,L=D[D.length-1];if(L===q1.j_oTag||L===q1.j_expr)D.pop()}if(!((V=U)!=null&&V.error)&&!this.match(47))return super.parseMaybeAssign(X,H);if(!z||z===this.state)z=this.state.clone();let A,C=this.tryParse((D)=>{var L,P;A=this.tsParseTypeParameters(this.tsParseConstModifier);let w=super.parseMaybeAssign(X,H);if(w.type!=="ArrowFunctionExpression"||(L=w.extra)!=null&&L.parenthesized)D();if(((P=A)==null?void 0:P.params.length)!==0)this.resetStartLocationFromNode(w,A);return w.typeParameters=A,w},z);if(!C.error&&!C.aborted){if(A)this.reportReservedArrowTypeParam(A);return C.node}if(!U){if(jV(!this.hasPlugin("jsx")),q=this.tryParse(()=>super.parseMaybeAssign(X,H),z),!q.error)return q.node}if((Z=U)!=null&&Z.node)return this.state=U.failState,U.node;if(C.node){if(this.state=C.failState,A)this.reportReservedArrowTypeParam(A);return C.node}if((Q=q)!=null&&Q.node)return this.state=q.failState,q.node;throw((W=U)==null?void 0:W.error)||C.error||((Y=q)==null?void 0:Y.error)}reportReservedArrowTypeParam(X){var H;if(X.params.length===1&&!X.params[0].constraint&&!((H=X.extra)!=null&&H.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike"))this.raise(a.ReservedArrowTypeParam,X)}parseMaybeUnary(X,H){if(!this.hasPlugin("jsx")&&this.match(47))return this.tsParseTypeAssertion();return super.parseMaybeUnary(X,H)}parseArrow(X){if(this.match(14)){let H=this.tryParse((V)=>{let Z=this.tsParseTypeOrTypePredicateAnnotation(14);if(this.canInsertSemicolon()||!this.match(19))V();return Z});if(H.aborted)return;if(!H.thrown){if(H.error)this.state=H.failState;X.returnType=H.node}}return super.parseArrow(X)}parseFunctionParamType(X){if(this.eat(17))X.optional=!0;let H=this.tsTryParseTypeAnnotation();if(H)X.typeAnnotation=H;return this.resetEndLocation(X),X}isAssignable(X,H){switch(X.type){case"TSTypeCastExpression":return this.isAssignable(X.expression,H);case"TSParameterProperty":return!0;default:return super.isAssignable(X,H)}}toAssignable(X,H=!1){switch(X.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(X,H);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":if(H)this.expressionScope.recordArrowParameterBindingError(a.UnexpectedTypeCastInParameter,X);else this.raise(a.UnexpectedTypeCastInParameter,X);this.toAssignable(X.expression,H);break;case"AssignmentExpression":if(!H&&X.left.type==="TSTypeCastExpression")X.left=this.typeCastToParameter(X.left);default:super.toAssignable(X,H)}}toAssignableParenthesizedExpression(X,H){switch(X.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(X.expression,H);break;default:super.toAssignable(X,H)}}checkToRestConversion(X,H){switch(X.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(X.expression,!1);break;default:super.checkToRestConversion(X,H)}}isValidLVal(X,H,V){switch(X){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(V!==64||!H)&&["expression",!0];default:return super.isValidLVal(X,H,V)}}parseBindingAtom(){if(this.state.type===78)return this.parseIdentifier(!0);return super.parseBindingAtom()}parseMaybeDecoratorArguments(X,H){if(this.match(47)||this.match(51)){let V=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let Z=super.parseMaybeDecoratorArguments(X,H);return Z.typeParameters=V,Z}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(X,H)}checkCommaAfterRest(X){if(this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===X)return this.next(),!1;return super.checkCommaAfterRest(X)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(X,H){let V=super.parseMaybeDefault(X,H);if(V.type==="AssignmentPattern"&&V.typeAnnotation&&V.right.start<V.typeAnnotation.start)this.raise(a.TypeAnnotationAfterAssign,V.typeAnnotation);return V}getTokenFromCode(X){if(this.state.inType){if(X===62){this.finishOp(48,1);return}if(X===60){this.finishOp(47,1);return}}super.getTokenFromCode(X)}reScan_lt_gt(){let{type:X}=this.state;if(X===47)this.state.pos-=1,this.readToken_lt();else if(X===48)this.state.pos-=1,this.readToken_gt()}reScan_lt(){let{type:X}=this.state;if(X===51)return this.state.pos-=2,this.finishOp(47,1),47;return X}toAssignableList(X,H,V){for(let Z=0;Z<X.length;Z++){let Q=X[Z];if((Q==null?void 0:Q.type)==="TSTypeCastExpression")X[Z]=this.typeCastToParameter(Q)}super.toAssignableList(X,H,V)}typeCastToParameter(X){return X.expression.typeAnnotation=X.typeAnnotation,this.resetEndLocation(X.expression,X.typeAnnotation.loc.end),X.expression}shouldParseArrow(X){if(this.match(14))return X.every((H)=>this.isAssignable(H,!0));return super.shouldParseArrow(X)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(X){if(this.match(47)||this.match(51)){let H=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());if(H)X.typeParameters=H}return super.jsxParseOpeningElementAfterName(X)}getGetterSetterExpectedParamCount(X){let H=super.getGetterSetterExpectedParamCount(X),Z=this.getObjectOrClassMethodParams(X)[0];return Z&&this.isThisParam(Z)?H+1:H}parseCatchClauseParam(){let X=super.parseCatchClauseParam(),H=this.tsTryParseTypeAnnotation();if(H)X.typeAnnotation=H,this.resetEndLocation(X);return X}tsInAmbientContext(X){let{isAmbientContext:H,strict:V}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return X()}finally{this.state.isAmbientContext=H,this.state.strict=V}}parseClass(X,H,V){let Z=this.state.inAbstractClass;this.state.inAbstractClass=!!X.abstract;try{return super.parseClass(X,H,V)}finally{this.state.inAbstractClass=Z}}tsParseAbstractDeclaration(X,H){if(this.match(80))return X.abstract=!0,this.maybeTakeDecorators(H,this.parseClass(X,!0,!1));else if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return X.abstract=!0,this.raise(a.NonClassMethodPropertyHasAbstractModifer,X),this.tsParseInterfaceDeclaration(X)}else this.unexpected(null,80)}parseMethod(X,H,V,Z,Q,W,Y){let z=super.parseMethod(X,H,V,Z,Q,W,Y);if(z.abstract){if((this.hasPlugin("estree")?z.value:z).body){let{key:A}=z;this.raise(a.AbstractMethodHasImplementation,z,{methodName:A.type==="Identifier"&&!z.computed?A.name:`[${this.input.slice(this.offsetToSourcePos(A.start),this.offsetToSourcePos(A.end))}]`})}}return z}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext())this.state.isAmbientContext=!0;return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext())this.state.isAmbientContext=!0;return super.getExpression()}parseExportSpecifier(X,H,V,Z){if(!H&&Z)return this.parseTypeOnlyImportExportSpecifier(X,!1,V),this.finishNode(X,"ExportSpecifier");return X.exportKind="value",super.parseExportSpecifier(X,H,V,Z)}parseImportSpecifier(X,H,V,Z,Q){if(!H&&Z)return this.parseTypeOnlyImportExportSpecifier(X,!0,V),this.finishNode(X,"ImportSpecifier");return X.importKind="value",super.parseImportSpecifier(X,H,V,Z,V?4098:4096)}parseTypeOnlyImportExportSpecifier(X,H,V){let Z=H?"imported":"local",Q=H?"local":"exported",W=X[Z],Y,z=!1,U=!0,q=W.loc.start;if(this.isContextual(93)){let C=this.parseIdentifier();if(this.isContextual(93)){let D=this.parseIdentifier();if(WG(this.state.type))z=!0,W=C,Y=H?this.parseIdentifier():this.parseModuleExportName(),U=!1;else Y=D,U=!1}else if(WG(this.state.type))U=!1,Y=H?this.parseIdentifier():this.parseModuleExportName();else z=!0,W=C}else if(WG(this.state.type))if(z=!0,H){if(W=this.parseIdentifier(!0),!this.isContextual(93))this.checkReservedWord(W.name,W.loc.start,!0,!0)}else W=this.parseModuleExportName();if(z&&V)this.raise(H?a.TypeModifierIsUsedInTypeImports:a.TypeModifierIsUsedInTypeExports,q);X[Z]=W,X[Q]=Y;let A=H?"importKind":"exportKind";if(X[A]=z?"type":"value",U&&this.eatContextual(93))X[Q]=H?this.parseIdentifier():this.parseModuleExportName();if(!X[Q])X[Q]=TG(X[Z]);if(H)this.checkIdentifier(X[Q],z?4098:4096)}};function e21(G){if(G.type!=="MemberExpression")return!1;let{computed:J,property:X}=G;if(J&&X.type!=="StringLiteral"&&(X.type!=="TemplateLiteral"||X.expressions.length>0))return!1;return nV(G.object)}function G61(G,J){var X;let{type:H}=G;if((X=G.extra)!=null&&X.parenthesized)return!1;if(J){if(H==="Literal"){let{value:V}=G;if(typeof V==="string"||typeof V==="boolean")return!0}}else if(H==="StringLiteral"||H==="BooleanLiteral")return!0;if(tV(G,J)||J61(G,J))return!0;if(H==="TemplateLiteral"&&G.expressions.length===0)return!0;if(e21(G))return!0;return!1}function tV(G,J){if(J)return G.type==="Literal"&&(typeof G.value==="number"||("bigint"in G));return G.type==="NumericLiteral"||G.type==="BigIntLiteral"}function J61(G,J){if(G.type==="UnaryExpression"){let{operator:X,argument:H}=G;if(X==="-"&&tV(H,J))return!0}return!1}function nV(G){if(G.type==="Identifier")return!0;if(G.type!=="MemberExpression"||G.computed)return!1;return nV(G.object)}var AV=PG`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),X61=(G)=>class J extends G{parsePlaceholder(X){if(this.match(133)){let H=this.startNode();return this.next(),this.assertNoSpace(),H.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(H,X)}}finishPlaceholder(X,H){let V=X;if(!V.expectedNode||!V.type)V=this.finishNode(V,"Placeholder");return V.expectedNode=H,V}getTokenFromCode(X){if(X===37&&this.input.charCodeAt(this.state.pos+1)===37)this.finishOp(133,2);else super.getTokenFromCode(X)}parseExprAtom(X){return this.parsePlaceholder("Expression")||super.parseExprAtom(X)}parseIdentifier(X){return this.parsePlaceholder("Identifier")||super.parseIdentifier(X)}checkReservedWord(X,H,V,Z){if(X!==void 0)super.checkReservedWord(X,H,V,Z)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(X,H,V){return X==="Placeholder"||super.isValidLVal(X,H,V)}toAssignable(X,H){if(X&&X.type==="Placeholder"&&X.expectedNode==="Expression")X.expectedNode="Pattern";else super.toAssignable(X,H)}chStartsBindingIdentifier(X,H){if(super.chStartsBindingIdentifier(X,H))return!0;if(this.lookahead().type===133)return!0;return!1}verifyBreakContinue(X,H){if(X.label&&X.label.type==="Placeholder")return;super.verifyBreakContinue(X,H)}parseExpressionStatement(X,H){var V;if(H.type!=="Placeholder"||(V=H.extra)!=null&&V.parenthesized)return super.parseExpressionStatement(X,H);if(this.match(14)){let Q=X;return Q.label=this.finishPlaceholder(H,"Identifier"),this.next(),Q.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(Q,"LabeledStatement")}this.semicolon();let Z=X;return Z.name=H.name,this.finishPlaceholder(Z,"Statement")}parseBlock(X,H,V){return this.parsePlaceholder("BlockStatement")||super.parseBlock(X,H,V)}parseFunctionId(X){return this.parsePlaceholder("Identifier")||super.parseFunctionId(X)}parseClass(X,H,V){let Z=H?"ClassDeclaration":"ClassExpression";this.next();let Q=this.state.strict,W=this.parsePlaceholder("Identifier");if(W)if(this.match(81)||this.match(133)||this.match(5))X.id=W;else if(V||!H)return X.id=null,X.body=this.finishPlaceholder(W,"ClassBody"),this.finishNode(X,Z);else throw this.raise(AV.ClassNameIsRequired,this.state.startLoc);else this.parseClassId(X,H,V);return super.parseClassSuper(X),X.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!X.superClass,Q),this.finishNode(X,Z)}parseExport(X,H){let V=this.parsePlaceholder("Identifier");if(!V)return super.parseExport(X,H);let Z=X;if(!this.isContextual(98)&&!this.match(12))return Z.specifiers=[],Z.source=null,Z.declaration=this.finishPlaceholder(V,"Declaration"),this.finishNode(Z,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let Q=this.startNode();return Q.exported=V,Z.specifiers=[this.finishNode(Q,"ExportDefaultSpecifier")],super.parseExport(Z,H)}isExportDefaultSpecifier(){if(this.match(65)){let X=this.nextTokenStart();if(this.isUnparsedContextual(X,"from")){if(this.input.startsWith(uG(133),this.nextTokenStartSince(X+4)))return!0}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(X,H){var V;if((V=X.specifiers)!=null&&V.length)return!0;return super.maybeParseExportDefaultSpecifier(X,H)}checkExport(X){let{specifiers:H}=X;if(H!=null&&H.length)X.specifiers=H.filter((V)=>V.exported.type==="Placeholder");super.checkExport(X),X.specifiers=H}parseImport(X){let H=this.parsePlaceholder("Identifier");if(!H)return super.parseImport(X);if(X.specifiers=[],!this.isContextual(98)&&!this.match(12))return X.source=this.finishPlaceholder(H,"StringLiteral"),this.semicolon(),this.finishNode(X,"ImportDeclaration");let V=this.startNodeAtNode(H);if(V.local=H,X.specifiers.push(this.finishNode(V,"ImportDefaultSpecifier")),this.eat(12)){if(!this.maybeParseStarImportSpecifier(X))this.parseNamedImportSpecifiers(X)}return this.expectContextual(98),X.source=this.parseImportSource(),this.semicolon(),this.finishNode(X,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){if(this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index))this.raise(AV.UnexpectedSpace,this.state.lastTokEndLoc)}},H61=(G)=>class J extends G{parseV8Intrinsic(){if(this.match(54)){let X=this.state.startLoc,H=this.startNode();if(this.next(),j1(this.state.type)){let V=this.parseIdentifierName(),Z=this.createIdentifier(H,V);if(Z.type="V8IntrinsicIdentifier",this.match(10))return Z}this.unexpected(X)}}parseExprAtom(X){return this.parseV8Intrinsic()||super.parseExprAtom(X)}},CV=["minimal","fsharp","hack","smart"],DV=["^^","@@","^","%","#"];function V61(G){if(G.has("decorators")){if(G.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let X=G.get("decorators").decoratorsBeforeExport;if(X!=null&&typeof X!=="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let H=G.get("decorators").allowCallParenthesized;if(H!=null&&typeof H!=="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(G.has("flow")&&G.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(G.has("placeholders")&&G.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(G.has("pipelineOperator")){var J;let X=G.get("pipelineOperator").proposal;if(!CV.includes(X)){let V=CV.map((Z)=>`"${Z}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${V}.`)}let H=((J=G.get("recordAndTuple"))==null?void 0:J.syntaxType)==="hash";if(X==="hack"){if(G.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(G.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let V=G.get("pipelineOperator").topicToken;if(!DV.includes(V)){let Z=DV.map((Q)=>`"${Q}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${Z}.`)}if(V==="#"&&H)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",G.get("recordAndTuple")])}\`.`)}else if(X==="smart"&&H)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",G.get("recordAndTuple")])}\`.`)}if(G.has("moduleAttributes")){if(G.has("deprecatedImportAssert")||G.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(G.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(G.has("importAssertions")){if(G.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.")}if(!G.has("deprecatedImportAssert")&&G.has("importAttributes")&&G.get("importAttributes").deprecatedAssertSyntax)G.set("deprecatedImportAssert",{});if(G.has("recordAndTuple")){let X=G.get("recordAndTuple").syntaxType;if(X!=null){let H=["hash","bar"];if(!H.includes(X))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+H.map((V)=>`'${V}'`).join(", "))}}if(G.has("asyncDoExpressions")&&!G.has("doExpressions")){let X=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw X.missingPlugins="doExpressions",X}if(G.has("optionalChainingAssign")&&G.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var oV={estree:Q21,jsx:s21,flow:p21,typescript:o21,v8intrinsic:H61,placeholders:X61},Z61=Object.keys(oV);class eV extends dV{checkProto(G,J,X,H){if(G.type==="SpreadElement"||this.isObjectMethod(G)||G.computed||G.shorthand)return;let V=G.key;if((V.type==="Identifier"?V.name:V.value)==="__proto__"){if(J){this.raise(j.RecordNoProto,V);return}if(X.used)if(H){if(H.doubleProtoLoc===null)H.doubleProtoLoc=V.loc.start}else this.raise(j.DuplicateProto,V);X.used=!0}}shouldExitDescending(G,J){return G.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(G.start)===J}getExpression(){this.enterInitialScopes(),this.nextToken();let G=this.parseExpression();if(!this.match(140))this.unexpected();if(this.finalizeRemainingComments(),G.comments=this.comments,G.errors=this.state.errors,this.optionFlags&128)G.tokens=this.tokens;return G}parseExpression(G,J){if(G)return this.disallowInAnd(()=>this.parseExpressionBase(J));return this.allowInAnd(()=>this.parseExpressionBase(J))}parseExpressionBase(G){let J=this.state.startLoc,X=this.parseMaybeAssign(G);if(this.match(12)){let H=this.startNodeAt(J);H.expressions=[X];while(this.eat(12))H.expressions.push(this.parseMaybeAssign(G));return this.toReferencedList(H.expressions),this.finishNode(H,"SequenceExpression")}return X}parseMaybeAssignDisallowIn(G,J){return this.disallowInAnd(()=>this.parseMaybeAssign(G,J))}parseMaybeAssignAllowIn(G,J){return this.allowInAnd(()=>this.parseMaybeAssign(G,J))}setOptionalParametersError(G,J){var X;G.optionalParametersLoc=(X=J==null?void 0:J.loc)!=null?X:this.state.startLoc}parseMaybeAssign(G,J){let X=this.state.startLoc;if(this.isContextual(108)){if(this.prodParam.hasYield){let Q=this.parseYield();if(J)Q=J.call(this,Q,X);return Q}}let H;if(G)H=!1;else G=new JX,H=!0;let{type:V}=this.state;if(V===10||j1(V))this.state.potentialArrowAt=this.state.start;let Z=this.parseMaybeConditional(G);if(J)Z=J.call(this,Z,X);if(U21(this.state.type)){let Q=this.startNodeAt(X),W=this.state.value;if(Q.operator=W,this.match(29)){this.toAssignable(Z,!0),Q.left=Z;let Y=X.index;if(G.doubleProtoLoc!=null&&G.doubleProtoLoc.index>=Y)G.doubleProtoLoc=null;if(G.shorthandAssignLoc!=null&&G.shorthandAssignLoc.index>=Y)G.shorthandAssignLoc=null;if(G.privateKeyLoc!=null&&G.privateKeyLoc.index>=Y)this.checkDestructuringPrivate(G),G.privateKeyLoc=null}else Q.left=Z;return this.next(),Q.right=this.parseMaybeAssign(),this.checkLVal(Z,this.finishNode(Q,"AssignmentExpression")),Q}else if(H)this.checkExpressionErrors(G,!0);return Z}parseMaybeConditional(G){let J=this.state.startLoc,X=this.state.potentialArrowAt,H=this.parseExprOps(G);if(this.shouldExitDescending(H,X))return H;return this.parseConditional(H,J,G)}parseConditional(G,J,X){if(this.eat(17)){let H=this.startNodeAt(J);return H.test=G,H.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),H.alternate=this.parseMaybeAssign(),this.finishNode(H,"ConditionalExpression")}return G}parseMaybeUnaryOrPrivate(G){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(G)}parseExprOps(G){let J=this.state.startLoc,X=this.state.potentialArrowAt,H=this.parseMaybeUnaryOrPrivate(G);if(this.shouldExitDescending(H,X))return H;return this.parseExprOp(H,J,-1)}parseExprOp(G,J,X){if(this.isPrivateName(G)){let V=this.getPrivateNameSV(G);if(X>=X0(58)||!this.prodParam.hasIn||!this.match(58))this.raise(j.PrivateInExpectedIn,G,{identifierName:V});this.classScope.usePrivateName(V,G.loc.start)}let H=this.state.type;if(B21(H)&&(this.prodParam.hasIn||!this.match(58))){let V=X0(H);if(V>X){if(H===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return G;this.checkPipelineAtInfixOperator(G,J)}let Z=this.startNodeAt(J);Z.left=G,Z.operator=this.state.value;let Q=H===41||H===42,W=H===40;if(W)V=X0(42);if(this.next(),H===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait)throw this.raise(j.UnexpectedAwaitAfterPipelineBody,this.state.startLoc)}Z.right=this.parseExprOpRightExpr(H,V);let Y=this.finishNode(Z,Q||W?"LogicalExpression":"BinaryExpression"),z=this.state.type;if(W&&(z===41||z===42)||Q&&z===40)throw this.raise(j.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(Y,J,X)}}return G}parseExprOpRightExpr(G,J){let X=this.state.startLoc;switch(G){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>{return this.parseHackPipeBody()});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(J)})}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(j.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(G,J),X)});default:return this.parseExprOpBaseRightExpr(G,J)}}parseExprOpBaseRightExpr(G,J){let X=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),X,j21(G)?J-1:J)}parseHackPipeBody(){var G;let{startLoc:J}=this.state,X=this.parseMaybeAssign();if(e91.has(X.type)&&!((G=X.extra)!=null&&G.parenthesized))this.raise(j.PipeUnparenthesizedBody,J,{type:X.type});if(!this.topicReferenceWasUsedInCurrentContext())this.raise(j.PipeTopicUnused,J);return X}checkExponentialAfterUnary(G){if(this.match(57))this.raise(j.UnexpectedTokenUnaryExponentiation,G.argument)}parseMaybeUnary(G,J){let X=this.state.startLoc,H=this.isContextual(96);if(H&&this.recordAwaitIfAllowed()){this.next();let W=this.parseAwait(X);if(!J)this.checkExponentialAfterUnary(W);return W}let V=this.match(34),Z=this.startNode();if($21(this.state.type)){if(Z.operator=this.state.value,Z.prefix=!0,this.match(72))this.expectPlugin("throwExpressions");let W=this.match(89);if(this.next(),Z.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(G,!0),this.state.strict&&W){let Y=Z.argument;if(Y.type==="Identifier")this.raise(j.StrictDelete,Z);else if(this.hasPropertyAsPrivateName(Y))this.raise(j.DeletePrivateField,Z)}if(!V){if(!J)this.checkExponentialAfterUnary(Z);return this.finishNode(Z,"UnaryExpression")}}let Q=this.parseUpdate(Z,V,G);if(H){let{type:W}=this.state;if((this.hasPlugin("v8intrinsic")?q2(W):q2(W)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(j.AwaitNotInAsyncContext,X),this.parseAwait(X)}return Q}parseUpdate(G,J,X){if(J){let Z=G;return this.checkLVal(Z.argument,this.finishNode(Z,"UpdateExpression")),G}let H=this.state.startLoc,V=this.parseExprSubscripts(X);if(this.checkExpressionErrors(X,!1))return V;while(M21(this.state.type)&&!this.canInsertSemicolon()){let Z=this.startNodeAt(H);Z.operator=this.state.value,Z.prefix=!1,Z.argument=V,this.next(),this.checkLVal(V,V=this.finishNode(Z,"UpdateExpression"))}return V}parseExprSubscripts(G){let J=this.state.startLoc,X=this.state.potentialArrowAt,H=this.parseExprAtom(G);if(this.shouldExitDescending(H,X))return H;return this.parseSubscripts(H,J)}parseSubscripts(G,J,X){let H={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(G),stop:!1};do G=this.parseSubscript(G,J,X,H),H.maybeAsyncArrow=!1;while(!H.stop);return G}parseSubscript(G,J,X,H){let{type:V}=this.state;if(!X&&V===15)return this.parseBind(G,J,X,H);else if(V0(V))return this.parseTaggedTemplateExpression(G,J,H);let Z=!1;if(V===18){if(X){if(this.raise(j.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40)return H.stop=!0,G}H.optionalChainMember=Z=!0,this.next()}if(!X&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(G,J,H,Z);else{let Q=this.eat(0);if(Q||Z||this.eat(16))return this.parseMember(G,J,H,Q,Z);else return H.stop=!0,G}}parseMember(G,J,X,H,V){let Z=this.startNodeAt(J);if(Z.object=G,Z.computed=H,H)Z.property=this.parseExpression(),this.expect(3);else if(this.match(139)){if(G.type==="Super")this.raise(j.SuperPrivateField,J);this.classScope.usePrivateName(this.state.value,this.state.startLoc),Z.property=this.parsePrivateName()}else Z.property=this.parseIdentifier(!0);if(X.optionalChainMember)return Z.optional=V,this.finishNode(Z,"OptionalMemberExpression");else return this.finishNode(Z,"MemberExpression")}parseBind(G,J,X,H){let V=this.startNodeAt(J);return V.object=G,this.next(),V.callee=this.parseNoCallExpr(),H.stop=!0,this.parseSubscripts(this.finishNode(V,"BindExpression"),J,X)}parseCoverCallAndAsyncArrowHead(G,J,X,H){let V=this.state.maybeInArrowParameters,Z=null;this.state.maybeInArrowParameters=!0,this.next();let Q=this.startNodeAt(J);Q.callee=G;let{maybeAsyncArrow:W,optionalChainMember:Y}=X;if(W)this.expressionScope.enter(u21()),Z=new JX;if(Y)Q.optional=H;if(H)Q.arguments=this.parseCallExpressionArguments(11);else Q.arguments=this.parseCallExpressionArguments(11,G.type!=="Super",Q,Z);let z=this.finishCallExpression(Q,Y);if(W&&this.shouldParseAsyncArrow()&&!H)X.stop=!0,this.checkDestructuringPrivate(Z),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),z=this.parseAsyncArrowFromCallExpression(this.startNodeAt(J),z);else{if(W)this.checkExpressionErrors(Z,!0),this.expressionScope.exit();this.toReferencedArguments(z)}return this.state.maybeInArrowParameters=V,z}toReferencedArguments(G,J){this.toReferencedListDeep(G.arguments,J)}parseTaggedTemplateExpression(G,J,X){let H=this.startNodeAt(J);if(H.tag=G,H.quasi=this.parseTemplate(!0),X.optionalChainMember)this.raise(j.OptionalChainingNoTemplate,J);return this.finishNode(H,"TaggedTemplateExpression")}atPossibleAsyncArrow(G){return G.type==="Identifier"&&G.name==="async"&&this.state.lastTokEndLoc.index===G.end&&!this.canInsertSemicolon()&&G.end-G.start===5&&this.offsetToSourcePos(G.start)===this.state.potentialArrowAt}finishCallExpression(G,J){if(G.callee.type==="Import"){if(G.arguments.length===0||G.arguments.length>2)this.raise(j.ImportCallArity,G);else for(let X of G.arguments)if(X.type==="SpreadElement")this.raise(j.ImportCallSpreadArgument,X)}return this.finishNode(G,J?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(G,J,X,H){let V=[],Z=!0,Q=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;while(!this.eat(G)){if(Z)Z=!1;else if(this.expect(12),this.match(G)){if(X)this.addTrailingCommaExtraToNode(X);this.next();break}V.push(this.parseExprListItem(!1,H,J))}return this.state.inFSharpPipelineDirectBody=Q,V}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(G,J){var X;if(this.resetPreviousNodeTrailingComments(J),this.expect(19),this.parseArrowExpression(G,J.arguments,!0,(X=J.extra)==null?void 0:X.trailingCommaLoc),J.innerComments)HX(G,J.innerComments);if(J.callee.trailingComments)HX(G,J.callee.trailingComments);return G}parseNoCallExpr(){let G=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),G,!0)}parseExprAtom(G){let J,X=null,{type:H}=this.state;switch(H){case 79:return this.parseSuper();case 83:if(J=this.startNode(),this.next(),this.match(16))return this.parseImportMetaProperty(J);if(this.match(10))if(this.optionFlags&256)return this.parseImportCall(J);else return this.finishNode(J,"Import");else return this.raise(j.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(J,"Import");case 78:return J=this.startNode(),this.next(),this.finishNode(J,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let V=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(V)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,G);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,G);case 68:return this.parseFunctionOrFunctionSent();case 26:X=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(X,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{J=this.startNode(),this.next(),J.object=null;let V=J.callee=this.parseNoCallExpr();if(V.type==="MemberExpression")return this.finishNode(J,"BindExpression");else throw this.raise(j.UnsupportedBind,V)}case 139:return this.raise(j.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let V=this.getPluginOption("pipelineOperator","proposal");if(V)return this.parseTopicReference(V);this.unexpected();break}case 47:{let V=this.input.codePointAt(this.nextTokenStart());if(IG(V)||V===62)this.expectOnePlugin(["jsx","flow","typescript"]);else this.unexpected();break}default:if(H===137)return this.parseDecimalLiteral(this.state.value);if(j1(H)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let V=this.state.potentialArrowAt===this.state.start,Z=this.state.containsEsc,Q=this.parseIdentifier();if(!Z&&Q.name==="async"&&!this.canInsertSemicolon()){let{type:W}=this.state;if(W===68)return this.resetPreviousNodeTrailingComments(Q),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(Q));else if(j1(W))if(this.lookaheadCharCode()===61)return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(Q));else return Q;else if(W===90)return this.resetPreviousNodeTrailingComments(Q),this.parseDo(this.startNodeAtNode(Q),!0)}if(V&&this.match(19)&&!this.canInsertSemicolon())return this.next(),this.parseArrowExpression(this.startNodeAtNode(Q),[Q],!1);return Q}else this.unexpected()}}parseTopicReferenceThenEqualsSign(G,J){let X=this.getPluginOption("pipelineOperator","proposal");if(X)return this.state.type=G,this.state.value=J,this.state.pos--,this.state.end--,this.state.endLoc=m1(this.state.endLoc,-1),this.parseTopicReference(X);else this.unexpected()}parseTopicReference(G){let J=this.startNode(),X=this.state.startLoc,H=this.state.type;return this.next(),this.finishTopicReference(J,X,G,H)}finishTopicReference(G,J,X,H){if(this.testTopicReferenceConfiguration(X,J,H))if(X==="hack"){if(!this.topicReferenceIsAllowedInCurrentContext())this.raise(j.PipeTopicUnbound,J);return this.registerTopicReference(),this.finishNode(G,"TopicReference")}else{if(!this.topicReferenceIsAllowedInCurrentContext())this.raise(j.PrimaryTopicNotAllowed,J);return this.registerTopicReference(),this.finishNode(G,"PipelinePrimaryTopicReference")}else throw this.raise(j.PipeTopicUnconfiguredToken,J,{token:uG(H)})}testTopicReferenceConfiguration(G,J,X){switch(G){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:uG(X)}]);case"smart":return X===27;default:throw this.raise(j.PipeTopicRequiresHackPipes,J)}}parseAsyncArrowUnaryFunction(G){this.prodParam.enter(H0(!0,this.prodParam.hasYield));let J=[this.parseIdentifier()];if(this.prodParam.exit(),this.hasPrecedingLineBreak())this.raise(j.LineTerminatorBeforeArrow,this.state.curPosition());return this.expect(19),this.parseArrowExpression(G,J,!0)}parseDo(G,J){if(this.expectPlugin("doExpressions"),J)this.expectPlugin("asyncDoExpressions");G.async=J,this.next();let X=this.state.labels;if(this.state.labels=[],J)this.prodParam.enter(2),G.body=this.parseBlock(),this.prodParam.exit();else G.body=this.parseBlock();return this.state.labels=X,this.finishNode(G,"DoExpression")}parseSuper(){let G=this.startNode();if(this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16))this.raise(j.SuperNotAllowed,G);else if(!this.scope.allowSuper&&!(this.optionFlags&16))this.raise(j.UnexpectedSuper,G);if(!this.match(10)&&!this.match(0)&&!this.match(16))this.raise(j.UnsupportedSuper,G);return this.finishNode(G,"Super")}parsePrivateName(){let G=this.startNode(),J=this.startNodeAt(m1(this.state.startLoc,1)),X=this.state.value;return this.next(),G.id=this.createIdentifier(J,X),this.finishNode(G,"PrivateName")}parseFunctionOrFunctionSent(){let G=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let J=this.createIdentifier(this.startNodeAtNode(G),"function");if(this.next(),this.match(103))this.expectPlugin("functionSent");else if(!this.hasPlugin("functionSent"))this.unexpected();return this.parseMetaProperty(G,J,"sent")}return this.parseFunction(G)}parseMetaProperty(G,J,X){G.meta=J;let H=this.state.containsEsc;if(G.property=this.parseIdentifier(!0),G.property.name!==X||H)this.raise(j.UnsupportedMetaProperty,G.property,{target:J.name,onlyValidPropertyName:X});return this.finishNode(G,"MetaProperty")}parseImportMetaProperty(G){let J=this.createIdentifier(this.startNodeAtNode(G),"import");if(this.next(),this.isContextual(101)){if(!this.inModule)this.raise(j.ImportMetaOutsideModule,J);this.sawUnambiguousESM=!0}else if(this.isContextual(105)||this.isContextual(97)){let X=this.isContextual(105);if(this.expectPlugin(X?"sourcePhaseImports":"deferredImportEvaluation"),!(this.optionFlags&256))throw this.raise(j.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),G.phase=X?"source":"defer",this.parseImportCall(G)}return this.parseMetaProperty(G,J,"meta")}parseLiteralAtNode(G,J,X){return this.addExtra(X,"rawValue",G),this.addExtra(X,"raw",this.input.slice(this.offsetToSourcePos(X.start),this.state.end)),X.value=G,this.next(),this.finishNode(X,J)}parseLiteral(G,J){let X=this.startNode();return this.parseLiteralAtNode(G,J,X)}parseStringLiteral(G){return this.parseLiteral(G,"StringLiteral")}parseNumericLiteral(G){return this.parseLiteral(G,"NumericLiteral")}parseBigIntLiteral(G){return this.parseLiteral(G,"BigIntLiteral")}parseDecimalLiteral(G){return this.parseLiteral(G,"DecimalLiteral")}parseRegExpLiteral(G){let J=this.startNode();return this.addExtra(J,"raw",this.input.slice(this.offsetToSourcePos(J.start),this.state.end)),J.pattern=G.pattern,J.flags=G.flags,this.next(),this.finishNode(J,"RegExpLiteral")}parseBooleanLiteral(G){let J=this.startNode();return J.value=G,this.next(),this.finishNode(J,"BooleanLiteral")}parseNullLiteral(){let G=this.startNode();return this.next(),this.finishNode(G,"NullLiteral")}parseParenAndDistinguishExpression(G){let J=this.state.startLoc,X;this.next(),this.expressionScope.enter(h21());let H=this.state.maybeInArrowParameters,V=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let Z=this.state.startLoc,Q=[],W=new JX,Y=!0,z,U;while(!this.match(11)){if(Y)Y=!1;else if(this.expect(12,W.optionalParametersLoc===null?null:W.optionalParametersLoc),this.match(11)){U=this.state.startLoc;break}if(this.match(21)){let C=this.state.startLoc;if(z=this.state.startLoc,Q.push(this.parseParenItem(this.parseRestBinding(),C)),!this.checkCommaAfterRest(41))break}else Q.push(this.parseMaybeAssignAllowIn(W,this.parseParenItem))}let q=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=H,this.state.inFSharpPipelineDirectBody=V;let A=this.startNodeAt(J);if(G&&this.shouldParseArrow(Q)&&(A=this.parseArrow(A)))return this.checkDestructuringPrivate(W),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(A,Q,!1),A;if(this.expressionScope.exit(),!Q.length)this.unexpected(this.state.lastTokStartLoc);if(U)this.unexpected(U);if(z)this.unexpected(z);if(this.checkExpressionErrors(W,!0),this.toReferencedListDeep(Q,!0),Q.length>1)X=this.startNodeAt(Z),X.expressions=Q,this.finishNode(X,"SequenceExpression"),this.resetEndLocation(X,q);else X=Q[0];return this.wrapParenthesis(J,X)}wrapParenthesis(G,J){if(!(this.optionFlags&512))return this.addExtra(J,"parenthesized",!0),this.addExtra(J,"parenStart",G.index),this.takeSurroundingComments(J,G.index,this.state.lastTokEndLoc.index),J;let X=this.startNodeAt(G);return X.expression=J,this.finishNode(X,"ParenthesizedExpression")}shouldParseArrow(G){return!this.canInsertSemicolon()}parseArrow(G){if(this.eat(19))return G}parseParenItem(G,J){return G}parseNewOrNewTarget(){let G=this.startNode();if(this.next(),this.match(16)){let J=this.createIdentifier(this.startNodeAtNode(G),"new");this.next();let X=this.parseMetaProperty(G,J,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass&&!(this.optionFlags&4))this.raise(j.UnexpectedNewTarget,X);return X}return this.parseNew(G)}parseNew(G){if(this.parseNewCallee(G),this.eat(10)){let J=this.parseExprList(11);this.toReferencedList(J),G.arguments=J}else G.arguments=[];return this.finishNode(G,"NewExpression")}parseNewCallee(G){let J=this.match(83),X=this.parseNoCallExpr();if(G.callee=X,J&&(X.type==="Import"||X.type==="ImportExpression"))this.raise(j.ImportCallNotNewExpression,X)}parseTemplateElement(G){let{start:J,startLoc:X,end:H,value:V}=this.state,Z=J+1,Q=this.startNodeAt(m1(X,1));if(V===null){if(!G)this.raise(j.InvalidEscapeSequenceTemplate,m1(this.state.firstInvalidTemplateEscapePos,1))}let W=this.match(24),Y=W?-1:-2,z=H+Y;Q.value={raw:this.input.slice(Z,z).replace(/\r\n?/g,`
22
+ `),cooked:V===null?null:V.slice(1,Y)},Q.tail=W,this.next();let U=this.finishNode(Q,"TemplateElement");return this.resetEndLocation(U,m1(this.state.lastTokEndLoc,Y)),U}parseTemplate(G){let J=this.startNode(),X=this.parseTemplateElement(G),H=[X],V=[];while(!X.tail)V.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),H.push(X=this.parseTemplateElement(G));return J.expressions=V,J.quasis=H,this.finishNode(J,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(G,J,X,H){if(X)this.expectPlugin("recordAndTuple");let V=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let Z=Object.create(null),Q=!0,W=this.startNode();W.properties=[],this.next();while(!this.match(G)){if(Q)Q=!1;else if(this.expect(12),this.match(G)){this.addTrailingCommaExtraToNode(W);break}let z;if(J)z=this.parseBindingProperty();else z=this.parsePropertyDefinition(H),this.checkProto(z,X,Z,H);if(X&&!this.isObjectProperty(z)&&z.type!=="SpreadElement")this.raise(j.InvalidRecordProperty,z);if(z.shorthand)this.addExtra(z,"shorthand",!0);W.properties.push(z)}this.next(),this.state.inFSharpPipelineDirectBody=V;let Y="ObjectExpression";if(J)Y="ObjectPattern";else if(X)Y="RecordExpression";return this.finishNode(W,Y)}addTrailingCommaExtraToNode(G){this.addExtra(G,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(G,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(G){return!G.computed&&G.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(G){let J=[];if(this.match(26)){if(this.hasPlugin("decorators"))this.raise(j.UnsupportedPropertyDecorator,this.state.startLoc);while(this.match(26))J.push(this.parseDecorator())}let X=this.startNode(),H=!1,V=!1,Z;if(this.match(21)){if(J.length)this.unexpected();return this.parseSpread()}if(J.length)X.decorators=J,J=[];if(X.method=!1,G)Z=this.state.startLoc;let Q=this.eat(55);this.parsePropertyNamePrefixOperator(X);let W=this.state.containsEsc;if(this.parsePropertyName(X,G),!Q&&!W&&this.maybeAsyncOrAccessorProp(X)){let{key:Y}=X,z=Y.name;if(z==="async"&&!this.hasPrecedingLineBreak())H=!0,this.resetPreviousNodeTrailingComments(Y),Q=this.eat(55),this.parsePropertyName(X);if(z==="get"||z==="set"){if(V=!0,this.resetPreviousNodeTrailingComments(Y),X.kind=z,this.match(55))Q=!0,this.raise(j.AccessorIsGenerator,this.state.curPosition(),{kind:z}),this.next();this.parsePropertyName(X)}}return this.parseObjPropValue(X,Z,Q,H,!1,V,G)}getGetterSetterExpectedParamCount(G){return G.kind==="get"?0:1}getObjectOrClassMethodParams(G){return G.params}checkGetterSetterParams(G){var J;let X=this.getGetterSetterExpectedParamCount(G),H=this.getObjectOrClassMethodParams(G);if(H.length!==X)this.raise(G.kind==="get"?j.BadGetterArity:j.BadSetterArity,G);if(G.kind==="set"&&((J=H[H.length-1])==null?void 0:J.type)==="RestElement")this.raise(j.BadSetterRestParameter,G)}parseObjectMethod(G,J,X,H,V){if(V){let Z=this.parseMethod(G,J,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(Z),Z}if(X||J||this.match(10)){if(H)this.unexpected();return G.kind="method",G.method=!0,this.parseMethod(G,J,X,!1,!1,"ObjectMethod")}}parseObjectProperty(G,J,X,H){if(G.shorthand=!1,this.eat(14))return G.value=X?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(H),this.finishNode(G,"ObjectProperty");if(!G.computed&&G.key.type==="Identifier"){if(this.checkReservedWord(G.key.name,G.key.loc.start,!0,!1),X)G.value=this.parseMaybeDefault(J,TG(G.key));else if(this.match(29)){let V=this.state.startLoc;if(H!=null){if(H.shorthandAssignLoc===null)H.shorthandAssignLoc=V}else this.raise(j.InvalidCoverInitializedName,V);G.value=this.parseMaybeDefault(J,TG(G.key))}else G.value=TG(G.key);return G.shorthand=!0,this.finishNode(G,"ObjectProperty")}}parseObjPropValue(G,J,X,H,V,Z,Q){let W=this.parseObjectMethod(G,X,H,V,Z)||this.parseObjectProperty(G,J,V,Q);if(!W)this.unexpected();return W}parsePropertyName(G,J){if(this.eat(0))G.computed=!0,G.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:X,value:H}=this.state,V;if(WG(X))V=this.parseIdentifier(!0);else switch(X){case 135:V=this.parseNumericLiteral(H);break;case 134:V=this.parseStringLiteral(H);break;case 136:V=this.parseBigIntLiteral(H);break;case 139:{let Z=this.state.startLoc;if(J!=null){if(J.privateKeyLoc===null)J.privateKeyLoc=Z}else this.raise(j.UnexpectedPrivateField,Z);V=this.parsePrivateName();break}default:if(X===137){V=this.parseDecimalLiteral(H);break}this.unexpected()}if(G.key=V,X!==139)G.computed=!1}}initFunction(G,J){G.id=null,G.generator=!1,G.async=J}parseMethod(G,J,X,H,V,Z,Q=!1){this.initFunction(G,X),G.generator=J,this.scope.enter(18|(Q?64:0)|(V?32:0)),this.prodParam.enter(H0(X,G.generator)),this.parseFunctionParams(G,H);let W=this.parseFunctionBodyAndFinish(G,Z,!0);return this.prodParam.exit(),this.scope.exit(),W}parseArrayLike(G,J,X,H){if(X)this.expectPlugin("recordAndTuple");let V=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let Z=this.startNode();return this.next(),Z.elements=this.parseExprList(G,!X,H,Z),this.state.inFSharpPipelineDirectBody=V,this.finishNode(Z,X?"TupleExpression":"ArrayExpression")}parseArrowExpression(G,J,X,H){this.scope.enter(6);let V=H0(X,!1);if(!this.match(5)&&this.prodParam.hasIn)V|=8;this.prodParam.enter(V),this.initFunction(G,X);let Z=this.state.maybeInArrowParameters;if(J)this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(G,J,H);return this.state.maybeInArrowParameters=!1,this.parseFunctionBody(G,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=Z,this.finishNode(G,"ArrowFunctionExpression")}setArrowFunctionParameters(G,J,X){this.toAssignableList(J,X,!1),G.params=J}parseFunctionBodyAndFinish(G,J,X=!1){return this.parseFunctionBody(G,!1,X),this.finishNode(G,J)}parseFunctionBody(G,J,X=!1){let H=J&&!this.match(5);if(this.expressionScope.enter(cV()),H)G.body=this.parseMaybeAssign(),this.checkParams(G,!1,J,!1);else{let V=this.state.strict,Z=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),G.body=this.parseBlock(!0,!1,(Q)=>{let W=!this.isSimpleParamList(G.params);if(Q&&W)this.raise(j.IllegalLanguageModeDirective,(G.kind==="method"||G.kind==="constructor")&&!!G.key?G.key.loc.end:G);let Y=!V&&this.state.strict;if(this.checkParams(G,!this.state.strict&&!J&&!X&&!W,J,Y),this.state.strict&&G.id)this.checkIdentifier(G.id,65,Y)}),this.prodParam.exit(),this.state.labels=Z}this.expressionScope.exit()}isSimpleParameter(G){return G.type==="Identifier"}isSimpleParamList(G){for(let J=0,X=G.length;J<X;J++)if(!this.isSimpleParameter(G[J]))return!1;return!0}checkParams(G,J,X,H=!0){let V=!J&&new Set,Z={type:"FormalParameters"};for(let Q of G.params)this.checkLVal(Q,Z,5,V,H)}parseExprList(G,J,X,H){let V=[],Z=!0;while(!this.eat(G)){if(Z)Z=!1;else if(this.expect(12),this.match(G)){if(H)this.addTrailingCommaExtraToNode(H);this.next();break}V.push(this.parseExprListItem(J,X))}return V}parseExprListItem(G,J,X){let H;if(this.match(12)){if(!G)this.raise(j.UnexpectedToken,this.state.curPosition(),{unexpected:","});H=null}else if(this.match(21)){let V=this.state.startLoc;H=this.parseParenItem(this.parseSpread(J),V)}else if(this.match(17)){if(this.expectPlugin("partialApplication"),!X)this.raise(j.UnexpectedArgumentPlaceholder,this.state.startLoc);let V=this.startNode();this.next(),H=this.finishNode(V,"ArgumentPlaceholder")}else H=this.parseMaybeAssignAllowIn(J,this.parseParenItem);return H}parseIdentifier(G){let J=this.startNode(),X=this.parseIdentifierName(G);return this.createIdentifier(J,X)}createIdentifier(G,J){return G.name=J,G.loc.identifierName=J,this.finishNode(G,"Identifier")}parseIdentifierName(G){let J,{startLoc:X,type:H}=this.state;if(WG(H))J=this.state.value;else this.unexpected();let V=z21(H);if(G){if(V)this.replaceToken(132)}else this.checkReservedWord(J,X,V,!1);return this.next(),J}checkReservedWord(G,J,X,H){if(G.length>10)return;if(!T21(G))return;if(X&&I21(G)){this.raise(j.UnexpectedKeyword,J,{keyword:G});return}if((!this.state.strict?NV:H?LV:TV)(G,this.inModule)){this.raise(j.UnexpectedReservedWord,J,{reservedWord:G});return}else if(G==="yield"){if(this.prodParam.hasYield){this.raise(j.YieldBindingIdentifier,J);return}}else if(G==="await"){if(this.prodParam.hasAwait){this.raise(j.AwaitBindingIdentifier,J);return}if(this.scope.inStaticBlock){this.raise(j.AwaitBindingIdentifierInStaticBlock,J);return}this.expressionScope.recordAsyncArrowParametersError(J)}else if(G==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(j.ArgumentsInClass,J);return}}}recordAwaitIfAllowed(){let G=this.prodParam.hasAwait||this.optionFlags&1&&!this.scope.inFunction;if(G&&!this.scope.inFunction)this.state.hasTopLevelAwait=!0;return G}parseAwait(G){let J=this.startNodeAt(G);if(this.expressionScope.recordParameterInitializerError(j.AwaitExpressionFormalParameter,J),this.eat(55))this.raise(j.ObsoleteAwaitStar,J);if(!this.scope.inFunction&&!(this.optionFlags&1))if(this.isAmbiguousAwait())this.ambiguousScriptDifferentAst=!0;else this.sawUnambiguousESM=!0;if(!this.state.soloAwait)J.argument=this.parseMaybeUnary(null,!0);return this.finishNode(J,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:G}=this.state;return G===53||G===10||G===0||V0(G)||G===102&&!this.state.containsEsc||G===138||G===56||this.hasPlugin("v8intrinsic")&&G===54}parseYield(){let G=this.startNode();this.expressionScope.recordParameterInitializerError(j.YieldInParameter,G),this.next();let J=!1,X=null;if(!this.hasPrecedingLineBreak())switch(J=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!J)break;default:X=this.parseMaybeAssign()}return G.delegate=J,G.argument=X,this.finishNode(G,"YieldExpression")}parseImportCall(G){if(this.next(),G.source=this.parseMaybeAssignAllowIn(),G.options=null,this.eat(12)){if(!this.match(11)){if(G.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11)){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(j.ImportCallArity,G)}}}return this.expect(11),this.finishNode(G,"ImportExpression")}checkPipelineAtInfixOperator(G,J){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){if(G.type==="SequenceExpression")this.raise(j.PipelineHeadSequenceExpression,J)}}parseSmartPipelineBodyInStyle(G,J){if(this.isSimpleReference(G)){let X=this.startNodeAt(J);return X.callee=G,this.finishNode(X,"PipelineBareFunction")}else{let X=this.startNodeAt(J);return this.checkSmartPipeTopicBodyEarlyErrors(J),X.expression=G,this.finishNode(X,"PipelineTopicExpression")}}isSimpleReference(G){switch(G.type){case"MemberExpression":return!G.computed&&this.isSimpleReference(G.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(G){if(this.match(19))throw this.raise(j.PipelineBodyNoArrow,this.state.startLoc);if(!this.topicReferenceWasUsedInCurrentContext())this.raise(j.PipelineTopicUnused,G)}withTopicBindingContext(G){let J=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return G()}finally{this.state.topicContext=J}}withSmartMixTopicForbiddingContext(G){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let J=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return G()}finally{this.state.topicContext=J}}else return G()}withSoloAwaitPermittingContext(G){let J=this.state.soloAwait;this.state.soloAwait=!0;try{return G()}finally{this.state.soloAwait=J}}allowInAnd(G){let J=this.prodParam.currentFlags();if(8&~J){this.prodParam.enter(J|8);try{return G()}finally{this.prodParam.exit()}}return G()}disallowInAnd(G){let J=this.prodParam.currentFlags();if(8&J){this.prodParam.enter(J&-9);try{return G()}finally{this.prodParam.exit()}}return G()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(G){let J=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let X=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let H=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),J,G);return this.state.inFSharpPipelineDirectBody=X,H}parseModuleExpression(){this.expectPlugin("moduleBlocks");let G=this.startNode();if(this.next(),!this.match(5))this.unexpected(null,5);let J=this.startNodeAt(this.state.endLoc);this.next();let X=this.initializeScopes(!0);this.enterInitialScopes();try{G.body=this.parseProgram(J,8,"module")}finally{X()}return this.finishNode(G,"ModuleExpression")}parsePropertyNamePrefixOperator(G){}}var $2={kind:1},Q61={kind:2},W61=/[\uD800-\uDFFF]/u,F2=/in(?:stanceof)?/y;function Y61(G,J,X){for(let H=0;H<G.length;H++){let V=G[H],{type:Z}=V;if(typeof Z==="number"){{if(Z===139){let{loc:Q,start:W,value:Y,end:z}=V,U=W+1,q=m1(Q.start,1);G.splice(H,1,new SG({type:DG(27),value:"#",start:W,end:U,startLoc:Q.start,endLoc:q}),new SG({type:DG(132),value:Y,start:U,end:z,startLoc:q,endLoc:Q.end})),H++;continue}if(V0(Z)){let{loc:Q,start:W,value:Y,end:z}=V,U=W+1,q=m1(Q.start,1),A;if(J.charCodeAt(W-X)===96)A=new SG({type:DG(22),value:"`",start:W,end:U,startLoc:Q.start,endLoc:q});else A=new SG({type:DG(8),value:"}",start:W,end:U,startLoc:Q.start,endLoc:q});let C,D,L,P;if(Z===24)D=z-1,L=m1(Q.end,-1),C=Y===null?null:Y.slice(1,-1),P=new SG({type:DG(22),value:"`",start:D,end:z,startLoc:L,endLoc:Q.end});else D=z-2,L=m1(Q.end,-2),C=Y===null?null:Y.slice(1,-2),P=new SG({type:DG(23),value:"${",start:D,end:z,startLoc:L,endLoc:Q.end});G.splice(H,1,A,new SG({type:DG(20),value:C,start:U,end:D,startLoc:q,endLoc:L}),P),H+=2;continue}}V.type=DG(Z)}}return G}class GZ extends eV{parseTopLevel(G,J){if(G.program=this.parseProgram(J),G.comments=this.comments,this.optionFlags&128)G.tokens=Y61(this.tokens,this.input,this.startIndex);return this.finishNode(G,"File")}parseProgram(G,J=140,X=this.options.sourceType){if(G.sourceType=X,G.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(G,!0,!0,J),this.inModule){if(!(this.optionFlags&32)&&this.scope.undefinedExports.size>0)for(let[V,Z]of Array.from(this.scope.undefinedExports))this.raise(j.ModuleExportUndefined,Z,{localName:V});this.addExtra(G,"topLevelAwait",this.state.hasTopLevelAwait)}let H;if(J===140)H=this.finishNode(G,"Program");else H=this.finishNodeAt(G,"Program",m1(this.state.startLoc,-1));return H}stmtToDirective(G){let J=G;J.type="Directive",J.value=J.expression,delete J.expression;let X=J.value,H=X.value,V=this.input.slice(this.offsetToSourcePos(X.start),this.offsetToSourcePos(X.end)),Z=X.value=V.slice(1,-1);return this.addExtra(X,"raw",V),this.addExtra(X,"rawValue",Z),this.addExtra(X,"expressionValue",H),X.type="DirectiveLiteral",J}parseInterpreterDirective(){if(!this.match(28))return null;let G=this.startNode();return G.value=this.state.value,this.next(),this.finishNode(G,"InterpreterDirective")}isLet(){if(!this.isContextual(100))return!1;return this.hasFollowingBindingAtom()}chStartsBindingIdentifier(G,J){if(IG(G)){if(F2.lastIndex=J,F2.test(this.input)){let X=this.codePointAtPos(F2.lastIndex);if(!jJ(X)&&X!==92)return!1}return!0}else if(G===92)return!0;else return!1}chStartsBindingPattern(G){return G===91||G===123}hasFollowingBindingAtom(){let G=this.nextTokenStart(),J=this.codePointAtPos(G);return this.chStartsBindingPattern(J)||this.chStartsBindingIdentifier(J,G)}hasInLineFollowingBindingIdentifierOrBrace(){let G=this.nextTokenInLineStart(),J=this.codePointAtPos(G);return J===123||this.chStartsBindingIdentifier(J,G)}startsUsingForOf(){let{type:G,containsEsc:J}=this.lookahead();if(G===102&&!J)return!1;else if(j1(G)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let G=this.nextTokenInLineStart();if(this.isUnparsedContextual(G,"using")){G=this.nextTokenInLineStartSince(G+5);let J=this.codePointAtPos(G);if(this.chStartsBindingIdentifier(J,G))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(G=!1){let J=0;if(this.options.annexB&&!this.state.strict){if(J|=4,G)J|=8}return this.parseStatementLike(J)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(G){let J=null;if(this.match(26))J=this.parseDecorators(!0);return this.parseStatementContent(G,J)}parseStatementContent(G,J){let X=this.state.type,H=this.startNode(),V=!!(G&2),Z=!!(G&4),Q=G&1;switch(X){case 60:return this.parseBreakContinueStatement(H,!0);case 63:return this.parseBreakContinueStatement(H,!1);case 64:return this.parseDebuggerStatement(H);case 90:return this.parseDoWhileStatement(H);case 91:return this.parseForStatement(H);case 68:if(this.lookaheadCharCode()===46)break;if(!Z)this.raise(this.state.strict?j.StrictFunction:this.options.annexB?j.SloppyFunctionAnnexB:j.SloppyFunction,this.state.startLoc);return this.parseFunctionStatement(H,!1,!V&&Z);case 80:if(!V)this.unexpected();return this.parseClass(this.maybeTakeDecorators(J,H),!0);case 69:return this.parseIfStatement(H);case 70:return this.parseReturnStatement(H);case 71:return this.parseSwitchStatement(H);case 72:return this.parseThrowStatement(H);case 73:return this.parseTryStatement(H);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing()){if(!this.recordAwaitIfAllowed())this.raise(j.AwaitUsingNotInAsyncContext,H);else if(!V)this.raise(j.UnexpectedLexicalDeclaration,H);return this.next(),this.parseVarStatement(H,"await using")}break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;if(this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel)this.raise(j.UnexpectedUsingDeclaration,this.state.startLoc);else if(!V)this.raise(j.UnexpectedLexicalDeclaration,this.state.startLoc);return this.parseVarStatement(H,"using");case 100:{if(this.state.containsEsc)break;let z=this.nextTokenStart(),U=this.codePointAtPos(z);if(U!==91){if(!V&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(U,z)&&U!==123)break}}case 75:if(!V)this.raise(j.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let z=this.state.value;return this.parseVarStatement(H,z)}case 92:return this.parseWhileStatement(H);case 76:return this.parseWithStatement(H);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(H);case 83:{let z=this.lookaheadCharCode();if(z===40||z===46)break}case 82:{if(!(this.optionFlags&8)&&!Q)this.raise(j.UnexpectedImportExport,this.state.startLoc);this.next();let z;if(X===83){if(z=this.parseImport(H),z.type==="ImportDeclaration"&&(!z.importKind||z.importKind==="value"))this.sawUnambiguousESM=!0}else if(z=this.parseExport(H,J),z.type==="ExportNamedDeclaration"&&(!z.exportKind||z.exportKind==="value")||z.type==="ExportAllDeclaration"&&(!z.exportKind||z.exportKind==="value")||z.type==="ExportDefaultDeclaration")this.sawUnambiguousESM=!0;return this.assertModuleNodeAllowed(z),z}default:if(this.isAsyncFunction()){if(!V)this.raise(j.AsyncFunctionInSingleStatementContext,this.state.startLoc);return this.next(),this.parseFunctionStatement(H,!0,!V&&Z)}}let W=this.state.value,Y=this.parseExpression();if(j1(X)&&Y.type==="Identifier"&&this.eat(14))return this.parseLabeledStatement(H,W,Y,G);else return this.parseExpressionStatement(H,Y,J)}assertModuleNodeAllowed(G){if(!(this.optionFlags&8)&&!this.inModule)this.raise(j.ImportOutsideModule,G)}decoratorsEnabledBeforeExport(){if(this.hasPlugin("decorators-legacy"))return!0;return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(G,J,X){if(G){var H;if((H=J.decorators)!=null&&H.length){if(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!=="boolean")this.raise(j.DecoratorsBeforeAfterExport,J.decorators[0]);J.decorators.unshift(...G)}else J.decorators=G;if(this.resetStartLocationFromNode(J,G[0]),X)this.resetStartLocationFromNode(X,J)}return J}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(G){let J=[];do J.push(this.parseDecorator());while(this.match(26));if(this.match(82)){if(!G)this.unexpected();if(!this.decoratorsEnabledBeforeExport())this.raise(j.DecoratorExportClass,this.state.startLoc)}else if(!this.canHaveLeadingDecorator())throw this.raise(j.UnexpectedLeadingDecorator,this.state.startLoc);return J}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let G=this.startNode();if(this.next(),this.hasPlugin("decorators")){let J=this.state.startLoc,X;if(this.match(10)){let H=this.state.startLoc;this.next(),X=this.parseExpression(),this.expect(11),X=this.wrapParenthesis(H,X);let V=this.state.startLoc;if(G.expression=this.parseMaybeDecoratorArguments(X,H),this.getPluginOption("decorators","allowCallParenthesized")===!1&&G.expression!==X)this.raise(j.DecoratorArgumentsOutsideParentheses,V)}else{X=this.parseIdentifier(!1);while(this.eat(16)){let H=this.startNodeAt(J);if(H.object=X,this.match(139))this.classScope.usePrivateName(this.state.value,this.state.startLoc),H.property=this.parsePrivateName();else H.property=this.parseIdentifier(!0);H.computed=!1,X=this.finishNode(H,"MemberExpression")}G.expression=this.parseMaybeDecoratorArguments(X,J)}}else G.expression=this.parseExprSubscripts();return this.finishNode(G,"Decorator")}parseMaybeDecoratorArguments(G,J){if(this.eat(10)){let X=this.startNodeAt(J);return X.callee=G,X.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(X.arguments),this.finishNode(X,"CallExpression")}return G}parseBreakContinueStatement(G,J){if(this.next(),this.isLineTerminator())G.label=null;else G.label=this.parseIdentifier(),this.semicolon();return this.verifyBreakContinue(G,J),this.finishNode(G,J?"BreakStatement":"ContinueStatement")}verifyBreakContinue(G,J){let X;for(X=0;X<this.state.labels.length;++X){let H=this.state.labels[X];if(G.label==null||H.name===G.label.name){if(H.kind!=null&&(J||H.kind===1))break;if(G.label&&J)break}}if(X===this.state.labels.length){let H=J?"BreakStatement":"ContinueStatement";this.raise(j.IllegalBreakContinue,G,{type:H})}}parseDebuggerStatement(G){return this.next(),this.semicolon(),this.finishNode(G,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let G=this.parseExpression();return this.expect(11),G}parseDoWhileStatement(G){return this.next(),this.state.labels.push($2),G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),G.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(G,"DoWhileStatement")}parseForStatement(G){this.next(),this.state.labels.push($2);let J=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed())J=this.state.startLoc,this.next();if(this.scope.enter(0),this.expect(10),this.match(13)){if(J!==null)this.unexpected(J);return this.parseFor(G,null)}let X=this.isContextual(100);{let W=this.isContextual(96)&&this.startsAwaitUsing(),Y=W||this.isContextual(107)&&this.startsUsingForOf(),z=X&&this.hasFollowingBindingAtom()||Y;if(this.match(74)||this.match(75)||z){let U=this.startNode(),q;if(W){if(q="await using",!this.recordAwaitIfAllowed())this.raise(j.AwaitUsingNotInAsyncContext,this.state.startLoc);this.next()}else q=this.state.value;this.next(),this.parseVar(U,!0,q);let A=this.finishNode(U,"VariableDeclaration"),C=this.match(58);if(C&&Y)this.raise(j.ForInUsing,A);if((C||this.isContextual(102))&&A.declarations.length===1)return this.parseForIn(G,A,J);if(J!==null)this.unexpected(J);return this.parseFor(G,A)}}let H=this.isContextual(95),V=new JX,Z=this.parseExpression(!0,V),Q=this.isContextual(102);if(Q){if(X)this.raise(j.ForOfLet,Z);if(J===null&&H&&Z.type==="Identifier")this.raise(j.ForOfAsync,Z)}if(Q||this.match(58)){this.checkDestructuringPrivate(V),this.toAssignable(Z,!0);let W=Q?"ForOfStatement":"ForInStatement";return this.checkLVal(Z,{type:W}),this.parseForIn(G,Z,J)}else this.checkExpressionErrors(V,!0);if(J!==null)this.unexpected(J);return this.parseFor(G,Z)}parseFunctionStatement(G,J,X){return this.next(),this.parseFunction(G,1|(X?2:0)|(J?8:0))}parseIfStatement(G){return this.next(),G.test=this.parseHeaderExpression(),G.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),G.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(G,"IfStatement")}parseReturnStatement(G){if(!this.prodParam.hasReturn&&!(this.optionFlags&2))this.raise(j.IllegalReturn,this.state.startLoc);if(this.next(),this.isLineTerminator())G.argument=null;else G.argument=this.parseExpression(),this.semicolon();return this.finishNode(G,"ReturnStatement")}parseSwitchStatement(G){this.next(),G.discriminant=this.parseHeaderExpression();let J=G.cases=[];this.expect(5),this.state.labels.push(Q61),this.scope.enter(0);let X;for(let H;!this.match(8);)if(this.match(61)||this.match(65)){let V=this.match(61);if(X)this.finishNode(X,"SwitchCase");if(J.push(X=this.startNode()),X.consequent=[],this.next(),V)X.test=this.parseExpression();else{if(H)this.raise(j.MultipleDefaultsInSwitch,this.state.lastTokStartLoc);H=!0,X.test=null}this.expect(14)}else if(X)X.consequent.push(this.parseStatementListItem());else this.unexpected();if(this.scope.exit(),X)this.finishNode(X,"SwitchCase");return this.next(),this.state.labels.pop(),this.finishNode(G,"SwitchStatement")}parseThrowStatement(G){if(this.next(),this.hasPrecedingLineBreak())this.raise(j.NewlineAfterThrow,this.state.lastTokEndLoc);return G.argument=this.parseExpression(),this.semicolon(),this.finishNode(G,"ThrowStatement")}parseCatchClauseParam(){let G=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&G.type==="Identifier"?8:0),this.checkLVal(G,{type:"CatchClause"},9),G}parseTryStatement(G){if(this.next(),G.block=this.parseBlock(),G.handler=null,this.match(62)){let J=this.startNode();if(this.next(),this.match(10))this.expect(10),J.param=this.parseCatchClauseParam(),this.expect(11);else J.param=null,this.scope.enter(0);J.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),G.handler=this.finishNode(J,"CatchClause")}if(G.finalizer=this.eat(67)?this.parseBlock():null,!G.handler&&!G.finalizer)this.raise(j.NoCatchOrFinally,G);return this.finishNode(G,"TryStatement")}parseVarStatement(G,J,X=!1){return this.next(),this.parseVar(G,!1,J,X),this.semicolon(),this.finishNode(G,"VariableDeclaration")}parseWhileStatement(G){return this.next(),G.test=this.parseHeaderExpression(),this.state.labels.push($2),G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(G,"WhileStatement")}parseWithStatement(G){if(this.state.strict)this.raise(j.StrictWith,this.state.startLoc);return this.next(),G.object=this.parseHeaderExpression(),G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(G,"WithStatement")}parseEmptyStatement(G){return this.next(),this.finishNode(G,"EmptyStatement")}parseLabeledStatement(G,J,X,H){for(let Z of this.state.labels)if(Z.name===J)this.raise(j.LabelRedeclaration,X,{labelName:J});let V=R21(this.state.type)?1:this.match(71)?2:null;for(let Z=this.state.labels.length-1;Z>=0;Z--){let Q=this.state.labels[Z];if(Q.statementStart===G.start)Q.statementStart=this.sourceToOffsetPos(this.state.start),Q.kind=V;else break}return this.state.labels.push({name:J,kind:V,statementStart:this.sourceToOffsetPos(this.state.start)}),G.body=H&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),G.label=X,this.finishNode(G,"LabeledStatement")}parseExpressionStatement(G,J,X){return G.expression=J,this.semicolon(),this.finishNode(G,"ExpressionStatement")}parseBlock(G=!1,J=!0,X){let H=this.startNode();if(G)this.state.strictErrors.clear();if(this.expect(5),J)this.scope.enter(0);if(this.parseBlockBody(H,G,!1,8,X),J)this.scope.exit();return this.finishNode(H,"BlockStatement")}isValidDirective(G){return G.type==="ExpressionStatement"&&G.expression.type==="StringLiteral"&&!G.expression.extra.parenthesized}parseBlockBody(G,J,X,H,V){let Z=G.body=[],Q=G.directives=[];this.parseBlockOrModuleBlockBody(Z,J?Q:void 0,X,H,V)}parseBlockOrModuleBlockBody(G,J,X,H,V){let Z=this.state.strict,Q=!1,W=!1;while(!this.match(H)){let Y=X?this.parseModuleItem():this.parseStatementListItem();if(J&&!W){if(this.isValidDirective(Y)){let z=this.stmtToDirective(Y);if(J.push(z),!Q&&z.value.value==="use strict")Q=!0,this.setStrict(!0);continue}W=!0,this.state.strictErrors.clear()}G.push(Y)}if(V==null||V.call(this,Q),!Z)this.setStrict(!1);this.next()}parseFor(G,J){return G.init=J,this.semicolon(!1),G.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),G.update=this.match(11)?null:this.parseExpression(),this.expect(11),G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(G,"ForStatement")}parseForIn(G,J,X){let H=this.match(58);if(this.next(),H){if(X!==null)this.unexpected(X)}else G.await=X!==null;if(J.type==="VariableDeclaration"&&J.declarations[0].init!=null&&(!H||!this.options.annexB||this.state.strict||J.kind!=="var"||J.declarations[0].id.type!=="Identifier"))this.raise(j.ForInOfLoopInitializer,J,{type:H?"ForInStatement":"ForOfStatement"});if(J.type==="AssignmentPattern")this.raise(j.InvalidLhs,J,{ancestor:{type:"ForStatement"}});return G.left=J,G.right=H?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(G,H?"ForInStatement":"ForOfStatement")}parseVar(G,J,X,H=!1){let V=G.declarations=[];G.kind=X;for(;;){let Z=this.startNode();if(this.parseVarId(Z,X),Z.init=!this.eat(29)?null:J?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn(),Z.init===null&&!H){if(Z.id.type!=="Identifier"&&!(J&&(this.match(58)||this.isContextual(102))))this.raise(j.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"});else if((X==="const"||X==="using"||X==="await using")&&!(this.match(58)||this.isContextual(102)))this.raise(j.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:X})}if(V.push(this.finishNode(Z,"VariableDeclarator")),!this.eat(12))break}return G}parseVarId(G,J){let X=this.parseBindingAtom();if(J==="using"||J==="await using"){if(X.type==="ArrayPattern"||X.type==="ObjectPattern")this.raise(j.UsingDeclarationHasBindingPattern,X.loc.start)}this.checkLVal(X,{type:"VariableDeclarator"},J==="var"?5:8201),G.id=X}parseAsyncFunctionExpression(G){return this.parseFunction(G,8)}parseFunction(G,J=0){let X=J&2,H=!!(J&1),V=H&&!(J&4),Z=!!(J&8);if(this.initFunction(G,Z),this.match(55)){if(X)this.raise(j.GeneratorInSingleStatementContext,this.state.startLoc);this.next(),G.generator=!0}if(H)G.id=this.parseFunctionId(V);let Q=this.state.maybeInArrowParameters;if(this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(H0(Z,G.generator)),!H)G.id=this.parseFunctionId();if(this.parseFunctionParams(G,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(G,H?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),H&&!X)this.registerFunctionStatementId(G);return this.state.maybeInArrowParameters=Q,G}parseFunctionId(G){return G||j1(this.state.type)?this.parseIdentifier():null}parseFunctionParams(G,J){this.expect(10),this.expressionScope.enter(_21()),G.params=this.parseBindingList(11,41,2|(J?4:0)),this.expressionScope.exit()}registerFunctionStatementId(G){if(!G.id)return;this.scope.declareName(G.id.name,!this.options.annexB||this.state.strict||G.generator||G.async?this.scope.treatFunctionsAsVar?5:8201:17,G.id.loc.start)}parseClass(G,J,X){this.next();let H=this.state.strict;return this.state.strict=!0,this.parseClassId(G,J,X),this.parseClassSuper(G),G.body=this.parseClassBody(!!G.superClass,H),this.finishNode(G,J?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(G){return G.type==="Identifier"&&G.name==="constructor"||G.type==="StringLiteral"&&G.value==="constructor"}isNonstaticConstructor(G){return!G.computed&&!G.static&&this.nameIsConstructor(G.key)}parseClassBody(G,J){this.classScope.enter();let X={hadConstructor:!1,hadSuperClass:G},H=[],V=this.startNode();if(V.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{while(!this.match(8)){if(this.eat(13)){if(H.length>0)throw this.raise(j.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){H.push(this.parseDecorator());continue}let Z=this.startNode();if(H.length)Z.decorators=H,this.resetStartLocationFromNode(Z,H[0]),H=[];if(this.parseClassMember(V,Z,X),Z.kind==="constructor"&&Z.decorators&&Z.decorators.length>0)this.raise(j.DecoratorConstructor,Z)}}),this.state.strict=J,this.next(),H.length)throw this.raise(j.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(V,"ClassBody")}parseClassMemberFromModifier(G,J){let X=this.parseIdentifier(!0);if(this.isClassMethod()){let H=J;return H.kind="method",H.computed=!1,H.key=X,H.static=!1,this.pushClassMethod(G,H,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let H=J;return H.computed=!1,H.key=X,H.static=!1,G.body.push(this.parseClassProperty(H)),!0}return this.resetPreviousNodeTrailingComments(X),!1}parseClassMember(G,J,X){let H=this.isContextual(106);if(H){if(this.parseClassMemberFromModifier(G,J))return;if(this.eat(5)){this.parseClassStaticBlock(G,J);return}}this.parseClassMemberWithIsStatic(G,J,X,H)}parseClassMemberWithIsStatic(G,J,X,H){let V=J,Z=J,Q=J,W=J,Y=J,z=V,U=V;if(J.static=H,this.parsePropertyNamePrefixOperator(J),this.eat(55)){z.kind="method";let P=this.match(139);if(this.parseClassElementName(z),P){this.pushClassPrivateMethod(G,Z,!0,!1);return}if(this.isNonstaticConstructor(V))this.raise(j.ConstructorIsGenerator,V.key);this.pushClassMethod(G,V,!0,!1,!1,!1);return}let q=!this.state.containsEsc&&j1(this.state.type),A=this.parseClassElementName(J),C=q?A.name:null,D=this.isPrivateName(A),L=this.state.startLoc;if(this.parsePostMemberNameModifiers(U),this.isClassMethod()){if(z.kind="method",D){this.pushClassPrivateMethod(G,Z,!1,!1);return}let P=this.isNonstaticConstructor(V),w=!1;if(P){if(V.kind="constructor",X.hadConstructor&&!this.hasPlugin("typescript"))this.raise(j.DuplicateConstructor,A);if(P&&this.hasPlugin("typescript")&&J.override)this.raise(j.OverrideOnConstructor,A);X.hadConstructor=!0,w=X.hadSuperClass}this.pushClassMethod(G,V,!1,!1,P,w)}else if(this.isClassProperty())if(D)this.pushClassPrivateProperty(G,W);else this.pushClassProperty(G,Q);else if(C==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(A);let P=this.eat(55);if(U.optional)this.unexpected(L);z.kind="method";let w=this.match(139);if(this.parseClassElementName(z),this.parsePostMemberNameModifiers(U),w)this.pushClassPrivateMethod(G,Z,P,!0);else{if(this.isNonstaticConstructor(V))this.raise(j.ConstructorIsAsync,V.key);this.pushClassMethod(G,V,P,!0,!1,!1)}}else if((C==="get"||C==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(A),z.kind=C;let P=this.match(139);if(this.parseClassElementName(V),P)this.pushClassPrivateMethod(G,Z,!1,!1);else{if(this.isNonstaticConstructor(V))this.raise(j.ConstructorIsAccessor,V.key);this.pushClassMethod(G,V,!1,!1,!1,!1)}this.checkGetterSetterParams(V)}else if(C==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(A);let P=this.match(139);this.parseClassElementName(Q),this.pushClassAccessorProperty(G,Y,P)}else if(this.isLineTerminator())if(D)this.pushClassPrivateProperty(G,W);else this.pushClassProperty(G,Q);else this.unexpected()}parseClassElementName(G){let{type:J,value:X}=this.state;if((J===132||J===134)&&G.static&&X==="prototype")this.raise(j.StaticPrototype,this.state.startLoc);if(J===139){if(X==="constructor")this.raise(j.ConstructorClassPrivateField,this.state.startLoc);let H=this.parsePrivateName();return G.key=H,H}return this.parsePropertyName(G),G.key}parseClassStaticBlock(G,J){var X;this.scope.enter(208);let H=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let V=J.body=[];if(this.parseBlockOrModuleBlockBody(V,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=H,G.body.push(this.finishNode(J,"StaticBlock")),(X=J.decorators)!=null&&X.length)this.raise(j.DecoratorStaticBlock,J)}pushClassProperty(G,J){if(!J.computed&&this.nameIsConstructor(J.key))this.raise(j.ConstructorClassField,J.key);G.body.push(this.parseClassProperty(J))}pushClassPrivateProperty(G,J){let X=this.parseClassPrivateProperty(J);G.body.push(X),this.classScope.declarePrivateName(this.getPrivateNameSV(X.key),0,X.key.loc.start)}pushClassAccessorProperty(G,J,X){if(!X&&!J.computed&&this.nameIsConstructor(J.key))this.raise(j.ConstructorClassField,J.key);let H=this.parseClassAccessorProperty(J);if(G.body.push(H),X)this.classScope.declarePrivateName(this.getPrivateNameSV(H.key),0,H.key.loc.start)}pushClassMethod(G,J,X,H,V,Z){G.body.push(this.parseMethod(J,X,H,V,Z,"ClassMethod",!0))}pushClassPrivateMethod(G,J,X,H){let V=this.parseMethod(J,X,H,!1,!1,"ClassPrivateMethod",!0);G.body.push(V);let Z=V.kind==="get"?V.static?6:2:V.kind==="set"?V.static?5:1:0;this.declareClassPrivateMethodInScope(V,Z)}declareClassPrivateMethodInScope(G,J){this.classScope.declarePrivateName(this.getPrivateNameSV(G.key),J,G.key.loc.start)}parsePostMemberNameModifiers(G){}parseClassPrivateProperty(G){return this.parseInitializer(G),this.semicolon(),this.finishNode(G,"ClassPrivateProperty")}parseClassProperty(G){return this.parseInitializer(G),this.semicolon(),this.finishNode(G,"ClassProperty")}parseClassAccessorProperty(G){return this.parseInitializer(G),this.semicolon(),this.finishNode(G,"ClassAccessorProperty")}parseInitializer(G){this.scope.enter(80),this.expressionScope.enter(cV()),this.prodParam.enter(0),G.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(G,J,X,H=8331){if(j1(this.state.type)){if(G.id=this.parseIdentifier(),J)this.declareNameFromIdentifier(G.id,H)}else if(X||!J)G.id=null;else throw this.raise(j.MissingClassName,this.state.startLoc)}parseClassSuper(G){G.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(G,J){let X=this.parseMaybeImportPhase(G,!0),H=this.maybeParseExportDefaultSpecifier(G,X),V=!H||this.eat(12),Z=V&&this.eatExportStar(G),Q=Z&&this.maybeParseExportNamespaceSpecifier(G),W=V&&(!Q||this.eat(12)),Y=H||Z;if(Z&&!Q){if(H)this.unexpected();if(J)throw this.raise(j.UnsupportedDecoratorExport,G);return this.parseExportFrom(G,!0),this.finishNode(G,"ExportAllDeclaration")}let z=this.maybeParseExportNamedSpecifiers(G);if(H&&V&&!Z&&!z)this.unexpected(null,5);if(Q&&W)this.unexpected(null,98);let U;if(Y||z){if(U=!1,J)throw this.raise(j.UnsupportedDecoratorExport,G);this.parseExportFrom(G,Y)}else U=this.maybeParseExportDeclaration(G);if(Y||z||U){var q;let A=G;if(this.checkExport(A,!0,!1,!!A.source),((q=A.declaration)==null?void 0:q.type)==="ClassDeclaration")this.maybeTakeDecorators(J,A.declaration,A);else if(J)throw this.raise(j.UnsupportedDecoratorExport,G);return this.finishNode(A,"ExportNamedDeclaration")}if(this.eat(65)){let A=G,C=this.parseExportDefaultExpression();if(A.declaration=C,C.type==="ClassDeclaration")this.maybeTakeDecorators(J,C,A);else if(J)throw this.raise(j.UnsupportedDecoratorExport,G);return this.checkExport(A,!0,!0),this.finishNode(A,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(G){return this.eat(55)}maybeParseExportDefaultSpecifier(G,J){if(J||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",J==null?void 0:J.loc.start);let X=J||this.parseIdentifier(!0),H=this.startNodeAtNode(X);return H.exported=X,G.specifiers=[this.finishNode(H,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(G){if(this.isContextual(93)){var J,X;(X=(J=G).specifiers)!=null||(J.specifiers=[]);let H=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),H.exported=this.parseModuleExportName(),G.specifiers.push(this.finishNode(H,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(G){if(this.match(5)){let J=G;if(!J.specifiers)J.specifiers=[];let X=J.exportKind==="type";if(J.specifiers.push(...this.parseExportSpecifiers(X)),J.source=null,J.declaration=null,this.hasPlugin("importAssertions"))J.assertions=[];return!0}return!1}maybeParseExportDeclaration(G){if(this.shouldParseExportDeclaration()){if(G.specifiers=[],G.source=null,this.hasPlugin("importAssertions"))G.assertions=[];return G.declaration=this.parseExportDeclaration(G),!0}return!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let G=this.nextTokenInLineStart();return this.isUnparsedContextual(G,"function")}parseExportDefaultExpression(){let G=this.startNode();if(this.match(68))return this.next(),this.parseFunction(G,5);else if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(G,13);if(this.match(80))return this.parseClass(G,!0,!0);if(this.match(26)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0)this.raise(j.DecoratorBeforeExport,this.state.startLoc);return this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0)}if(this.match(75)||this.match(74)||this.isLet())throw this.raise(j.UnsupportedDefaultExport,this.state.startLoc);let J=this.parseMaybeAssignAllowIn();return this.semicolon(),J}parseExportDeclaration(G){if(this.match(80))return this.parseClass(this.startNode(),!0,!1);return this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:G}=this.state;if(j1(G)){if(G===95&&!this.state.containsEsc||G===100)return!1;if((G===130||G===129)&&!this.state.containsEsc){let{type:H}=this.lookahead();if(j1(H)&&H!==98||H===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let J=this.nextTokenStart(),X=this.isUnparsedContextual(J,"from");if(this.input.charCodeAt(J)===44||j1(this.state.type)&&X)return!0;if(this.match(65)&&X){let H=this.input.charCodeAt(this.nextTokenStartSince(J+4));return H===34||H===39}return!1}parseExportFrom(G,J){if(this.eatContextual(98))G.source=this.parseImportSource(),this.checkExport(G),this.maybeParseImportAttributes(G),this.checkJSONModuleImport(G);else if(J)this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:G}=this.state;if(G===26){if(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")===!0)this.raise(j.DecoratorBeforeExport,this.state.startLoc);return!0}}if(this.isContextual(107))return this.raise(j.UsingDeclarationExport,this.state.startLoc),!0;if(this.isContextual(96)&&this.startsAwaitUsing())return this.raise(j.UsingDeclarationExport,this.state.startLoc),!0;return G===74||G===75||G===68||G===80||this.isLet()||this.isAsyncFunction()}checkExport(G,J,X,H){if(J){var V;if(X){if(this.checkDuplicateExports(G,"default"),this.hasPlugin("exportDefaultFrom")){var Z;let Q=G.declaration;if(Q.type==="Identifier"&&Q.name==="from"&&Q.end-Q.start===4&&!((Z=Q.extra)!=null&&Z.parenthesized))this.raise(j.ExportDefaultFromAsIdentifier,Q)}}else if((V=G.specifiers)!=null&&V.length)for(let Q of G.specifiers){let{exported:W}=Q,Y=W.type==="Identifier"?W.name:W.value;if(this.checkDuplicateExports(Q,Y),!H&&Q.local){let{local:z}=Q;if(z.type!=="Identifier")this.raise(j.ExportBindingIsString,Q,{localName:z.value,exportName:Y});else this.checkReservedWord(z.name,z.loc.start,!0,!1),this.scope.checkLocalExport(z)}}else if(G.declaration){let Q=G.declaration;if(Q.type==="FunctionDeclaration"||Q.type==="ClassDeclaration"){let{id:W}=Q;if(!W)throw new Error("Assertion failure");this.checkDuplicateExports(G,W.name)}else if(Q.type==="VariableDeclaration")for(let W of Q.declarations)this.checkDeclaration(W.id)}}}checkDeclaration(G){if(G.type==="Identifier")this.checkDuplicateExports(G,G.name);else if(G.type==="ObjectPattern")for(let J of G.properties)this.checkDeclaration(J);else if(G.type==="ArrayPattern"){for(let J of G.elements)if(J)this.checkDeclaration(J)}else if(G.type==="ObjectProperty")this.checkDeclaration(G.value);else if(G.type==="RestElement")this.checkDeclaration(G.argument);else if(G.type==="AssignmentPattern")this.checkDeclaration(G.left)}checkDuplicateExports(G,J){if(this.exportedIdentifiers.has(J))if(J==="default")this.raise(j.DuplicateDefaultExport,G);else this.raise(j.DuplicateExport,G,{exportName:J});this.exportedIdentifiers.add(J)}parseExportSpecifiers(G){let J=[],X=!0;this.expect(5);while(!this.eat(8)){if(X)X=!1;else if(this.expect(12),this.eat(8))break;let H=this.isContextual(130),V=this.match(134),Z=this.startNode();Z.local=this.parseModuleExportName(),J.push(this.parseExportSpecifier(Z,V,G,H))}return J}parseExportSpecifier(G,J,X,H){if(this.eatContextual(93))G.exported=this.parseModuleExportName();else if(J)G.exported=x21(G.local);else if(!G.exported)G.exported=TG(G.local);return this.finishNode(G,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let G=this.parseStringLiteral(this.state.value),J=W61.exec(G.value);if(J)this.raise(j.ModuleExportNameHasLoneSurrogate,G,{surrogateCharCode:J[0].charCodeAt(0)});return G}return this.parseIdentifier(!0)}isJSONModuleImport(G){if(G.assertions!=null)return G.assertions.some(({key:J,value:X})=>{return X.value==="json"&&(J.type==="Identifier"?J.name==="type":J.value==="type")});return!1}checkImportReflection(G){let{specifiers:J}=G,X=J.length===1?J[0].type:null;if(G.phase==="source"){if(X!=="ImportDefaultSpecifier")this.raise(j.SourcePhaseImportRequiresDefault,J[0].loc.start)}else if(G.phase==="defer"){if(X!=="ImportNamespaceSpecifier")this.raise(j.DeferImportRequiresNamespace,J[0].loc.start)}else if(G.module){var H;if(X!=="ImportDefaultSpecifier")this.raise(j.ImportReflectionNotBinding,J[0].loc.start);if(((H=G.assertions)==null?void 0:H.length)>0)this.raise(j.ImportReflectionHasAssertion,J[0].loc.start)}}checkJSONModuleImport(G){if(this.isJSONModuleImport(G)&&G.type!=="ExportAllDeclaration"){let{specifiers:J}=G;if(J!=null){let X=J.find((H)=>{let V;if(H.type==="ExportSpecifier")V=H.local;else if(H.type==="ImportSpecifier")V=H.imported;if(V!==void 0)return V.type==="Identifier"?V.name!=="default":V.value!=="default"});if(X!==void 0)this.raise(j.ImportJSONBindingNotDefault,X.loc.start)}}}isPotentialImportPhase(G){if(G)return!1;return this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(G,J,X,H){if(J)return;if(X==="module")this.expectPlugin("importReflection",H),G.module=!0;else if(this.hasPlugin("importReflection"))G.module=!1;if(X==="source")this.expectPlugin("sourcePhaseImports",H),G.phase="source";else if(X==="defer")this.expectPlugin("deferredImportEvaluation",H),G.phase="defer";else if(this.hasPlugin("sourcePhaseImports"))G.phase=null}parseMaybeImportPhase(G,J){if(!this.isPotentialImportPhase(J))return this.applyImportPhase(G,J,null),null;let X=this.parseIdentifier(!0),{type:H}=this.state;if(WG(H)?H!==98||this.lookaheadCharCode()===102:H!==12)return this.resetPreviousIdentifierLeadingComments(X),this.applyImportPhase(G,J,X.name,X.loc.start),null;else return this.applyImportPhase(G,J,null),X}isPrecedingIdImportPhase(G){let{type:J}=this.state;return j1(J)?J!==98||this.lookaheadCharCode()===102:J!==12}parseImport(G){if(this.match(134))return this.parseImportSourceAndAttributes(G);return this.parseImportSpecifiersAndAfter(G,this.parseMaybeImportPhase(G,!1))}parseImportSpecifiersAndAfter(G,J){G.specifiers=[];let H=!this.maybeParseDefaultImportSpecifier(G,J)||this.eat(12),V=H&&this.maybeParseStarImportSpecifier(G);if(H&&!V)this.parseNamedImportSpecifiers(G);return this.expectContextual(98),this.parseImportSourceAndAttributes(G)}parseImportSourceAndAttributes(G){var J;return(J=G.specifiers)!=null||(G.specifiers=[]),G.source=this.parseImportSource(),this.maybeParseImportAttributes(G),this.checkImportReflection(G),this.checkJSONModuleImport(G),this.semicolon(),this.finishNode(G,"ImportDeclaration")}parseImportSource(){if(!this.match(134))this.unexpected();return this.parseExprAtom()}parseImportSpecifierLocal(G,J,X){J.local=this.parseIdentifier(),G.specifiers.push(this.finishImportSpecifier(J,X))}finishImportSpecifier(G,J,X=8201){return this.checkLVal(G.local,{type:J},X),this.finishNode(G,J)}parseImportAttributes(){this.expect(5);let G=[],J=new Set;do{if(this.match(8))break;let X=this.startNode(),H=this.state.value;if(J.has(H))this.raise(j.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:H});if(J.add(H),this.match(134))X.key=this.parseStringLiteral(H);else X.key=this.parseIdentifier(!0);if(this.expect(14),!this.match(134))throw this.raise(j.ModuleAttributeInvalidValue,this.state.startLoc);X.value=this.parseStringLiteral(this.state.value),G.push(this.finishNode(X,"ImportAttribute"))}while(this.eat(12));return this.expect(8),G}parseModuleAttributes(){let G=[],J=new Set;do{let X=this.startNode();if(X.key=this.parseIdentifier(!0),X.key.name!=="type")this.raise(j.ModuleAttributeDifferentFromType,X.key);if(J.has(X.key.name))this.raise(j.ModuleAttributesWithDuplicateKeys,X.key,{key:X.key.name});if(J.add(X.key.name),this.expect(14),!this.match(134))throw this.raise(j.ModuleAttributeInvalidValue,this.state.startLoc);X.value=this.parseStringLiteral(this.state.value),G.push(this.finishNode(X,"ImportAttribute"))}while(this.eat(12));return G}maybeParseImportAttributes(G){let J;var X=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;if(this.next(),this.hasPlugin("moduleAttributes"))J=this.parseModuleAttributes();else J=this.parseImportAttributes();X=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){if(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions"))this.raise(j.ImportAttributesUseAssert,this.state.startLoc);if(!this.hasPlugin("importAssertions"))this.addExtra(G,"deprecatedAssertSyntax",!0);this.next(),J=this.parseImportAttributes()}else J=[];if(!X&&this.hasPlugin("importAssertions"))G.assertions=J;else G.attributes=J}maybeParseDefaultImportSpecifier(G,J){if(J){let X=this.startNodeAtNode(J);return X.local=J,G.specifiers.push(this.finishImportSpecifier(X,"ImportDefaultSpecifier")),!0}else if(WG(this.state.type))return this.parseImportSpecifierLocal(G,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(G){if(this.match(55)){let J=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(G,J,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(G){let J=!0;this.expect(5);while(!this.eat(8)){if(J)J=!1;else{if(this.eat(14))throw this.raise(j.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let X=this.startNode(),H=this.match(134),V=this.isContextual(130);X.imported=this.parseModuleExportName();let Z=this.parseImportSpecifier(X,H,G.importKind==="type"||G.importKind==="typeof",V,void 0);G.specifiers.push(Z)}}parseImportSpecifier(G,J,X,H,V){if(this.eatContextual(93))G.local=this.parseIdentifier();else{let{imported:Z}=G;if(J)throw this.raise(j.ImportBindingIsString,G,{importName:Z.value});if(this.checkReservedWord(Z.name,G.loc.start,!0,!0),!G.local)G.local=TG(Z)}return this.finishImportSpecifier(G,"ImportSpecifier",V)}isThisParam(G){return G.type==="Identifier"&&G.name==="this"}}class v2 extends GZ{constructor(G,J,X){G=V21(G);super(G,J);this.options=G,this.initializeScopes(),this.plugins=X,this.filename=G.sourceFilename,this.startIndex=G.startIndex;let H=0;if(G.allowAwaitOutsideFunction)H|=1;if(G.allowReturnOutsideFunction)H|=2;if(G.allowImportExportEverywhere)H|=8;if(G.allowSuperOutsideMethod)H|=16;if(G.allowUndeclaredExports)H|=32;if(G.allowNewTargetOutsideFunction)H|=4;if(G.ranges)H|=64;if(G.tokens)H|=128;if(G.createImportExpressions)H|=256;if(G.createParenthesizedExpressions)H|=512;if(G.errorRecovery)H|=1024;if(G.attachComment)H|=2048;if(G.annexB)H|=4096;this.optionFlags=H}getScopeHandler(){return Q0}parse(){this.enterInitialScopes();let G=this.startNode(),J=this.startNode();return this.nextToken(),G.errors=null,this.parseTopLevel(G,J),G.errors=this.state.errors,G.comments.length=this.state.commentsLen,G}}function z61(G,J){var X;if(((X=J)==null?void 0:X.sourceType)==="unambiguous"){J=Object.assign({},J);try{J.sourceType="module";let H=eJ(J,G),V=H.parse();if(H.sawUnambiguousESM)return V;if(H.ambiguousScriptDifferentAst)try{return J.sourceType="script",eJ(J,G).parse()}catch(Z){}else V.program.sourceType="script";return V}catch(H){try{return J.sourceType="script",eJ(J,G).parse()}catch(V){}throw H}}else return eJ(J,G).parse()}function K61(G,J){let X=eJ(J,G);if(X.options.strictMode)X.state.strict=!0;return X.getExpression()}function U61(G){let J={};for(let X of Object.keys(G))J[X]=DG(G[X]);return J}var R61=U61(Y21);function eJ(G,J){let X=v2,H=new Map;if(G!=null&&G.plugins){for(let V of G.plugins){let Z,Q;if(typeof V==="string")Z=V;else[Z,Q]=V;if(!H.has(Z))H.set(Z,Q||{})}V61(H),X=B61(H)}return new X(G,J,H)}var SV=new Map;function B61(G){let J=[];for(let V of Z61)if(G.has(V))J.push(V);let X=J.join("|"),H=SV.get(X);if(!H){H=v2;for(let V of J)H=oV[V](H);SV.set(X,H)}return H}JZ.parse=z61;JZ.parseExpression=K61;JZ.tokTypes=R61});var E2=f((XZ)=>{Object.defineProperty(XZ,"__esModule",{value:!0});XZ.Var=XZ.User=XZ.Statement=XZ.SpreadProperty=XZ.Scope=XZ.RestProperty=XZ.ReferencedMemberExpression=XZ.ReferencedIdentifier=XZ.Referenced=XZ.Pure=XZ.NumericLiteralTypeAnnotation=XZ.Generated=XZ.ForAwaitStatement=XZ.Flow=XZ.Expression=XZ.ExistentialTypeParam=XZ.BlockScoped=XZ.BindingIdentifier=void 0;var N$1=XZ.ReferencedIdentifier=["Identifier","JSXIdentifier"],T$1=XZ.ReferencedMemberExpression=["MemberExpression"],w$1=XZ.BindingIdentifier=["Identifier"],L$1=XZ.Statement=["Statement"],b$1=XZ.Expression=["Expression"],k$1=XZ.Scope=["Scopable","Pattern"],v$1=XZ.Referenced=null,E$1=XZ.BlockScoped=null,g$1=XZ.Var=["VariableDeclaration"],_$1=XZ.User=null,h$1=XZ.Generated=null,u$1=XZ.Pure=null,y$1=XZ.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],x$1=XZ.RestProperty=["RestElement"],m$1=XZ.SpreadProperty=["RestElement"],c$1=XZ.ExistentialTypeParam=["ExistsTypeAnnotation"],l$1=XZ.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],i$1=XZ.ForAwaitStatement=["ForOfStatement"]});var ZZ=f((p$1,VZ)=>{var AJ=1000,CJ=AJ*60,DJ=CJ*60,nG=DJ*24,E61=nG*7,g61=nG*365.25;VZ.exports=function(G,J){J=J||{};var X=typeof G;if(X==="string"&&G.length>0)return _61(G);else if(X==="number"&&isFinite(G))return J.long?u61(G):h61(G);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(G))};function _61(G){if(G=String(G),G.length>100)return;var J=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(G);if(!J)return;var X=parseFloat(J[1]),H=(J[2]||"ms").toLowerCase();switch(H){case"years":case"year":case"yrs":case"yr":case"y":return X*g61;case"weeks":case"week":case"w":return X*E61;case"days":case"day":case"d":return X*nG;case"hours":case"hour":case"hrs":case"hr":case"h":return X*DJ;case"minutes":case"minute":case"mins":case"min":case"m":return X*CJ;case"seconds":case"second":case"secs":case"sec":case"s":return X*AJ;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return X;default:return}}function h61(G){var J=Math.abs(G);if(J>=nG)return Math.round(G/nG)+"d";if(J>=DJ)return Math.round(G/DJ)+"h";if(J>=CJ)return Math.round(G/CJ)+"m";if(J>=AJ)return Math.round(G/AJ)+"s";return G+"ms"}function u61(G){var J=Math.abs(G);if(J>=nG)return Y0(G,J,nG,"day");if(J>=DJ)return Y0(G,J,DJ,"hour");if(J>=CJ)return Y0(G,J,CJ,"minute");if(J>=AJ)return Y0(G,J,AJ,"second");return G+" ms"}function Y0(G,J,X,H){var V=J>=X*1.5;return Math.round(G/X)+" "+H+(V?"s":"")}});var g2=f((r$1,QZ)=>{function y61(G){X.debug=X,X.default=X,X.coerce=Y,X.disable=Q,X.enable=V,X.enabled=W,X.humanize=ZZ(),X.destroy=z,Object.keys(G).forEach((U)=>{X[U]=G[U]}),X.names=[],X.skips=[],X.formatters={};function J(U){let q=0;for(let A=0;A<U.length;A++)q=(q<<5)-q+U.charCodeAt(A),q|=0;return X.colors[Math.abs(q)%X.colors.length]}X.selectColor=J;function X(U){let q,A=null,C,D;function L(...P){if(!L.enabled)return;let w=L,b=Number(new Date),X1=b-(q||b);if(w.diff=X1,w.prev=q,w.curr=b,q=b,P[0]=X.coerce(P[0]),typeof P[0]!=="string")P.unshift("%O");let r=0;P[0]=P[0].replace(/%([a-zA-Z%])/g,($1,L1)=>{if($1==="%%")return"%";r++;let k1=X.formatters[L1];if(typeof k1==="function"){let y=P[r];$1=k1.call(w,y),P.splice(r,1),r--}return $1}),X.formatArgs.call(w,P),(w.log||X.log).apply(w,P)}if(L.namespace=U,L.useColors=X.useColors(),L.color=X.selectColor(U),L.extend=H,L.destroy=X.destroy,Object.defineProperty(L,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(A!==null)return A;if(C!==X.namespaces)C=X.namespaces,D=X.enabled(U);return D},set:(P)=>{A=P}}),typeof X.init==="function")X.init(L);return L}function H(U,q){let A=X(this.namespace+(typeof q==="undefined"?":":q)+U);return A.log=this.log,A}function V(U){X.save(U),X.namespaces=U,X.names=[],X.skips=[];let q=(typeof U==="string"?U:"").trim().replace(" ",",").split(",").filter(Boolean);for(let A of q)if(A[0]==="-")X.skips.push(A.slice(1));else X.names.push(A)}function Z(U,q){let A=0,C=0,D=-1,L=0;while(A<U.length)if(C<q.length&&(q[C]===U[A]||q[C]==="*"))if(q[C]==="*")D=C,L=A,C++;else A++,C++;else if(D!==-1)C=D+1,L++,A=L;else return!1;while(C<q.length&&q[C]==="*")C++;return C===q.length}function Q(){let U=[...X.names,...X.skips.map((q)=>"-"+q)].join(",");return X.enable(""),U}function W(U){for(let q of X.skips)if(Z(U,q))return!1;for(let q of X.names)if(Z(U,q))return!0;return!1}function Y(U){if(U instanceof Error)return U.stack||U.message;return U}function z(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return X.enable(X.load()),X}QZ.exports=y61});var YZ=f((WZ,K0)=>{WZ.formatArgs=m61;WZ.save=c61;WZ.load=l61;WZ.useColors=x61;WZ.storage=i61();WZ.destroy=(()=>{let G=!1;return()=>{if(!G)G=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();WZ.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function x61(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let G;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(G=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(G[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function m61(G){if(G[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+G[0]+(this.useColors?"%c ":" ")+"+"+K0.exports.humanize(this.diff),!this.useColors)return;let J="color: "+this.color;G.splice(1,0,J,"color: inherit");let X=0,H=0;G[0].replace(/%[a-zA-Z%]/g,(V)=>{if(V==="%%")return;if(X++,V==="%c")H=X}),G.splice(H,0,J)}WZ.log=console.debug||console.log||(()=>{});function c61(G){try{if(G)WZ.storage.setItem("debug",G);else WZ.storage.removeItem("debug")}catch(J){}}function l61(){let G;try{G=WZ.storage.getItem("debug")}catch(J){}if(!G&&typeof process!=="undefined"&&"env"in process)G=process.env.DEBUG;return G}function i61(){try{return localStorage}catch(G){}}K0.exports=g2()(WZ);var{formatters:a61}=K0.exports;a61.j=function(G){try{return JSON.stringify(G)}catch(J){return"[UnexpectedJSONParseError]: "+J.message}}});var KZ={};Hz(KZ,{default:()=>VH1,createSupportsColor:()=>_2});import h2 from"process";import e61 from"os";import zZ from"tty";function JG(G,J=globalThis.Deno?globalThis.Deno.args:h2.argv){let X=G.startsWith("-")?"":G.length===1?"-":"--",H=J.indexOf(X+G),V=J.indexOf("--");return H!==-1&&(V===-1||H<V)}function GH1(){if("FORCE_COLOR"in P1){if(P1.FORCE_COLOR==="true")return 1;if(P1.FORCE_COLOR==="false")return 0;return P1.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(P1.FORCE_COLOR,10),3)}}function JH1(G){if(G===0)return!1;return{level:G,hasBasic:!0,has256:G>=2,has16m:G>=3}}function XH1(G,{streamIsTTY:J,sniffFlags:X=!0}={}){let H=GH1();if(H!==void 0)U0=H;let V=X?U0:H;if(V===0)return 0;if(X){if(JG("color=16m")||JG("color=full")||JG("color=truecolor"))return 3;if(JG("color=256"))return 2}if("TF_BUILD"in P1&&"AGENT_NAME"in P1)return 1;if(G&&!J&&V===void 0)return 0;let Z=V||0;if(P1.TERM==="dumb")return Z;if(h2.platform==="win32"){let Q=e61.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in P1){if("GITHUB_ACTIONS"in P1||"GITEA_ACTIONS"in P1)return 3;if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in P1))||P1.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in P1)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(P1.TEAMCITY_VERSION)?1:0;if(P1.COLORTERM==="truecolor")return 3;if(P1.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in P1){let Q=Number.parseInt((P1.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(P1.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(P1.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(P1.TERM))return 1;if("COLORTERM"in P1)return 1;return Z}function _2(G,J={}){let X=XH1(G,{streamIsTTY:G&&G.isTTY,...J});return JH1(X)}var P1,U0,HH1,VH1;var UZ=Vz(()=>{({env:P1}=h2);if(JG("no-color")||JG("no-colors")||JG("color=false")||JG("color=never"))U0=0;else if(JG("color")||JG("colors")||JG("color=true")||JG("color=always"))U0=1;HH1={stdout:_2({isTTY:zZ.isatty(1)}),stderr:_2({isTTY:zZ.isatty(2)})},VH1=HH1});var $Z=f((BZ,B0)=>{var ZH1=l6("tty"),R0=l6("util");BZ.init=RH1;BZ.log=zH1;BZ.formatArgs=WH1;BZ.save=KH1;BZ.load=UH1;BZ.useColors=QH1;BZ.destroy=R0.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");BZ.colors=[6,2,3,4,5,1];try{let G=(UZ(),Xz(KZ));if(G&&(G.stderr||G).level>=2)BZ.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(G){}BZ.inspectOpts=Object.keys(process.env).filter((G)=>{return/^debug_/i.test(G)}).reduce((G,J)=>{let X=J.substring(6).toLowerCase().replace(/_([a-z])/g,(V,Z)=>{return Z.toUpperCase()}),H=process.env[J];if(/^(yes|on|true|enabled)$/i.test(H))H=!0;else if(/^(no|off|false|disabled)$/i.test(H))H=!1;else if(H==="null")H=null;else H=Number(H);return G[X]=H,G},{});function QH1(){return"colors"in BZ.inspectOpts?Boolean(BZ.inspectOpts.colors):ZH1.isatty(process.stderr.fd)}function WH1(G){let{namespace:J,useColors:X}=this;if(X){let H=this.color,V="\x1B[3"+(H<8?H:"8;5;"+H),Z=` ${V};1m${J} \x1B[0m`;G[0]=Z+G[0].split(`
23
+ `).join(`
24
+ `+Z),G.push(V+"m+"+B0.exports.humanize(this.diff)+"\x1B[0m")}else G[0]=YH1()+J+" "+G[0]}function YH1(){if(BZ.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function zH1(...G){return process.stderr.write(R0.formatWithOptions(BZ.inspectOpts,...G)+`
25
+ `)}function KH1(G){if(G)process.env.DEBUG=G;else delete process.env.DEBUG}function UH1(){return process.env.DEBUG}function RH1(G){G.inspectOpts={};let J=Object.keys(BZ.inspectOpts);for(let X=0;X<J.length;X++)G.inspectOpts[J[X]]=BZ.inspectOpts[J[X]]}B0.exports=g2()(BZ);var{formatters:RZ}=B0.exports;RZ.o=function(G){return this.inspectOpts.colors=this.useColors,R0.inspect(G,this.inspectOpts).split(`
26
+ `).map((J)=>J.trim()).join(" ")};RZ.O=function(G){return this.inspectOpts.colors=this.useColors,R0.inspect(G,this.inspectOpts)}});var FZ=f((e$1,u2)=>{if(typeof process==="undefined"||process.type==="renderer"||!1||process.__nwjs)u2.exports=YZ();else u2.exports=$Z()});var x2=f((OZ)=>{Object.defineProperty(OZ,"__esModule",{value:!0});OZ.isBindingIdentifier=cH1;OZ.isBlockScoped=rH1;OZ.isExpression=iH1;OZ.isFlow=oH1;OZ.isForAwaitStatement=J81;OZ.isGenerated=tH1;OZ.isPure=nH1;OZ.isReferenced=pH1;OZ.isReferencedIdentifier=xH1;OZ.isReferencedMemberExpression=mH1;OZ.isRestProperty=eH1;OZ.isScope=aH1;OZ.isSpreadProperty=G81;OZ.isStatement=lH1;OZ.isUser=dH1;OZ.isVar=sH1;var AH1=W1(),{isBinding:CH1,isBlockScoped:DH1,isExportDeclaration:SH1,isExpression:fH1,isFlow:IH1,isForStatement:PH1,isForXStatement:NH1,isIdentifier:qZ,isImportDeclaration:TH1,isImportSpecifier:wH1,isJSXIdentifier:LH1,isJSXMemberExpression:bH1,isMemberExpression:kH1,isRestElement:jZ,isReferenced:y2,isScope:vH1,isStatement:EH1,isVar:gH1,isVariableDeclaration:_H1,react:hH1,isForOfStatement:uH1}=AH1,{isCompatTag:yH1}=hH1;function xH1(G){let{node:J,parent:X}=this;if(!qZ(J,G)&&!bH1(X,G))if(LH1(J,G)){if(yH1(J.name))return!1}else return!1;return y2(J,X,this.parentPath.parent)}function mH1(){let{node:G,parent:J}=this;return kH1(G)&&y2(G,J)}function cH1(){let{node:G,parent:J}=this,X=this.parentPath.parent;return qZ(G)&&CH1(G,J,X)}function lH1(){let{node:G,parent:J}=this;if(EH1(G)){if(_H1(G)){if(NH1(J,{left:G}))return!1;if(PH1(J,{init:G}))return!1}return!0}else return!1}function iH1(){if(this.isIdentifier())return this.isReferencedIdentifier();else return fH1(this.node)}function aH1(){return vH1(this.node,this.parent)}function pH1(){return y2(this.node,this.parent)}function rH1(){return DH1(this.node)}function sH1(){return gH1(this.node)}function dH1(){return this.node&&!!this.node.loc}function tH1(){return!this.isUser()}function nH1(G){return this.scope.isPure(this.node,G)}function oH1(){let{node:G}=this;if(IH1(G))return!0;else if(TH1(G))return G.importKind==="type"||G.importKind==="typeof";else if(SH1(G))return G.exportKind==="type";else if(wH1(G))return G.importKind==="type"||G.importKind==="typeof";else return!1}function eH1(){var G;return jZ(this.node)&&((G=this.parentPath)==null?void 0:G.isObjectPattern())}function G81(){var G;return jZ(this.node)&&((G=this.parentPath)==null?void 0:G.isObjectExpression())}function J81(){return uH1(this.node,{await:!0})}OZ.isExistentialTypeParam=function G(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},OZ.isNumericLiteralTypeAnnotation=function G(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var WX=f((vZ)=>{Object.defineProperty(vZ,"__esModule",{value:!0});vZ.environmentVisitor=I81;vZ.explode=LZ;vZ.isExplodedVisitor=wZ;vZ.merge=kZ;vZ.verify=bZ;var TZ=E2(),j81=x2(),O81=W1(),AZ=MG(),{DEPRECATED_KEYS:CZ,DEPRECATED_ALIASES:DZ,FLIPPED_ALIAS_KEYS:SZ,TYPES:A81,__internal__deprecationWarning:fZ}=O81;function C81(G){return G in TZ}function wZ(G){return G==null?void 0:G._exploded}function LZ(G){if(wZ(G))return G;G._exploded=!0;for(let J of Object.keys(G)){if(eG(J))continue;let X=J.split("|");if(X.length===1)continue;let H=G[J];delete G[J];for(let V of X)G[V]=H}bZ(G),delete G.__esModule,D81(G),NZ(G);for(let J of Object.keys(G)){if(eG(J))continue;if(!C81(J))continue;let X=G[J];for(let V of Object.keys(X))X[V]=S81(J,X[V]);delete G[J];let H=TZ[J];if(H!==null)for(let V of H)if(G[V])QX(G[V],X);else G[V]=X;else QX(G,X)}for(let J of Object.keys(G)){if(eG(J))continue;let X=SZ[J];if(J in CZ){let V=CZ[J];fZ(J,V,"Visitor "),X=[V]}else if(J in DZ){let V=DZ[J];fZ(J,V,"Visitor "),X=SZ[V]}if(!X)continue;let H=G[J];delete G[J];for(let V of X){let Z=G[V];if(Z)QX(Z,H);else G[V]=Object.assign({},H)}}for(let J of Object.keys(G)){if(eG(J))continue;NZ(G[J])}return G}function bZ(G){if(G._verified)return;if(typeof G==="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let J of Object.keys(G)){if(J==="enter"||J==="exit")IZ(J,G[J]);if(eG(J))continue;if(!A81.includes(J))throw new Error(`You gave us a visitor for the node type ${J} but it's not a valid type in @babel/traverse 7.26.7`);let X=G[J];if(typeof X==="object")for(let H of Object.keys(X))if(H==="enter"||H==="exit")IZ(`${J}.${H}`,X[H]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${J} that has the invalid property ${H}`)}G._verified=!0}function IZ(G,J){let X=[].concat(J);for(let H of X)if(typeof H!=="function")throw new TypeError(`Non-function found defined in ${G} with type ${typeof H}`)}function kZ(G,J=[],X){let H={_verified:!0,_exploded:!0};Object.defineProperty(H,"_exploded",{enumerable:!1}),Object.defineProperty(H,"_verified",{enumerable:!1});for(let V=0;V<G.length;V++){let Z=LZ(G[V]),Q=J[V],W=Z;if(Q||X)W=PZ(W,Q,X);QX(H,W);for(let Y of Object.keys(Z)){if(eG(Y))continue;let z=Z[Y];if(Q||X)z=PZ(z,Q,X);let U=H[Y]||(H[Y]={});QX(U,z)}}return H}function PZ(G,J,X){let H={};for(let V of["enter","exit"]){let Z=G[V];if(!Array.isArray(Z))continue;Z=Z.map(function(Q){let W=Q;if(J)W=function(Y){Q.call(J,Y,J)};if(X)W=X(J==null?void 0:J.key,V,W);if(W!==Q)W.toString=()=>Q.toString();return W}),H[V]=Z}return H}function D81(G){for(let J of Object.keys(G)){if(eG(J))continue;let X=G[J];if(typeof X==="function")G[J]={enter:X}}}function NZ(G){if(G.enter&&!Array.isArray(G.enter))G.enter=[G.enter];if(G.exit&&!Array.isArray(G.exit))G.exit=[G.exit]}function S81(G,J){let X=`is${G}`,H=j81[X],V=function(Z){if(H.call(Z))return J.apply(this,arguments)};return V.toString=()=>J.toString(),V}function eG(G){if(G[0]==="_")return!0;if(G==="enter"||G==="exit"||G==="shouldSkip")return!0;if(G==="denylist"||G==="noScope"||G==="skipKeys")return!0;if(G==="blacklist")return!0;return!1}function QX(G,J){for(let X of["enter","exit"]){if(!J[X])continue;G[X]=[].concat(G[X]||[],J[X])}}var f81={FunctionParent(G){if(G.isArrowFunctionExpression())return;if(G.skip(),G.isMethod())if(!G.requeueComputedKeyAndDecorators)AZ.requeueComputedKeyAndDecorators.call(G);else G.requeueComputedKeyAndDecorators()},Property(G){if(G.isObjectProperty())return;if(G.skip(),!G.requeueComputedKeyAndDecorators)AZ.requeueComputedKeyAndDecorators.call(G);else G.requeueComputedKeyAndDecorators()}};function I81(G){return kZ([f81,G])}});var hZ=f((gZ)=>{Object.defineProperty(gZ,"__esModule",{value:!0});gZ.default=void 0;var M0=W1(),b81=M0,k81=$0(),v81=WX(),E81=MG(),{getAssignmentIdentifiers:g81}=b81,_81={ReferencedIdentifier({node:G},J){if(G.name===J.oldName)G.name=J.newName},Scope(G,J){if(!G.scope.bindingIdentifierEquals(J.oldName,J.binding.identifier)){if(G.skip(),G.isMethod())if(!G.requeueComputedKeyAndDecorators)E81.requeueComputedKeyAndDecorators.call(G);else G.requeueComputedKeyAndDecorators()}},ObjectProperty({node:G,scope:J},X){let{name:H}=G.key;if(G.shorthand&&(H===X.oldName||H===X.newName)&&J.getBindingIdentifier(H)===X.binding.identifier){G.shorthand=!1;{var V;if((V=G.extra)!=null&&V.shorthand)G.extra.shorthand=!1}}},"AssignmentExpression|Declaration|VariableDeclarator"(G,J){if(G.isVariableDeclaration())return;let X=G.isAssignmentExpression()?g81(G.node):G.getOuterBindingIdentifiers();for(let H in X)if(H===J.oldName)X[H].name=J.newName}};class EZ{constructor(G,J,X){this.newName=X,this.oldName=J,this.binding=G}maybeConvertFromExportDeclaration(G){let J=G.parentPath;if(!J.isExportDeclaration())return;if(J.isExportDefaultDeclaration()){let{declaration:X}=J.node;if(M0.isDeclaration(X)&&!X.id)return}if(J.isExportAllDeclaration())return;J.splitExportDeclaration()}maybeConvertFromClassFunctionDeclaration(G){return G}maybeConvertFromClassFunctionExpression(G){return G}rename(){let{binding:G,oldName:J,newName:X}=this,{scope:H,path:V}=G,Z=V.find((Y)=>Y.isDeclaration()||Y.isFunctionExpression()||Y.isClassExpression());if(Z){if(Z.getOuterBindingIdentifiers()[J]===G.identifier)this.maybeConvertFromExportDeclaration(Z)}let Q=arguments[0]||H.block,W={discriminant:!0};if(M0.isMethod(Q)){if(Q.computed)W.key=!0;if(!M0.isObjectMethod(Q))W.decorators=!0}if(k81.traverseNode(Q,v81.explode(_81),H,this,H.path,W),!arguments[0])H.removeOwnBinding(J),H.bindings[X]=G,this.binding.identifier.name=X;if(Z)this.maybeConvertFromClassFunctionDeclaration(V),this.maybeConvertFromClassFunctionExpression(V)}}gZ.default=EZ});var mZ=f((yZ)=>{Object.defineProperty(yZ,"__esModule",{value:!0});yZ.default=void 0;class uZ{constructor({identifier:G,scope:J,path:X,kind:H}){if(this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=G,this.scope=J,this.path=X,this.kind=H,(H==="var"||H==="hoisted")&&h81(X))this.reassign(X);this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(G){if(this.hasDeoptedValue)return;this.hasValue=!0,this.value=G}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(G){if(this.constant=!1,this.constantViolations.includes(G))return;this.constantViolations.push(G)}reference(G){if(this.referencePaths.includes(G))return;this.referenced=!0,this.references++,this.referencePaths.push(G)}dereference(){this.references--,this.referenced=!!this.references}}yZ.default=uZ;function h81(G){for(let{parentPath:J,key:X}=G;J;{parentPath:J,key:X}=J){if(J.isFunctionParent())return!1;if(J.isWhile()||J.isForXStatement()||J.isForStatement()&&X==="body")return!0}return!1}});var cZ=f((QF1,u81)=>{u81.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}}});var GJ=f((aZ)=>{Object.defineProperty(aZ,"__esModule",{value:!0});aZ.clear=x81;aZ.clearPath=lZ;aZ.clearScope=iZ;aZ.getCachedPaths=m81;aZ.getOrCreateCachedPaths=c81;aZ.scope=aZ.path=void 0;var F0=aZ.path=new WeakMap,y81=aZ.scope=new WeakMap;function x81(){lZ(),iZ()}function lZ(){aZ.path=F0=new WeakMap}function iZ(){aZ.scope=y81=new WeakMap}var m2=Object.freeze({});function m81(G,J){var X,H;return G=null,(X=F0.get((H=G)!=null?H:m2))==null?void 0:X.get(J)}function c81(G,J){var X,H;G=null;let V=F0.get((X=G)!=null?X:m2);if(!V)F0.set((H=G)!=null?H:m2,V=new WeakMap);let Z=V.get(J);if(!Z)V.set(J,Z=new Map);return Z}});var p2=f((WQ)=>{Object.defineProperty(WQ,"__esModule",{value:!0});WQ.default=void 0;var s81=hZ(),d81=YX(),t81=mZ(),n81=cZ(),JQ=W1(),XQ=JQ,rZ=GJ(),o81=WX(),{NOT_LOCAL_BINDING:sZ,assignmentExpression:e81,callExpression:dZ,cloneNode:tZ,getBindingIdentifiers:HQ,identifier:XJ,isArrayExpression:VQ,isBinary:G41,isCallExpression:nZ,isClass:J41,isClassBody:X41,isClassDeclaration:H41,isExportAllDeclaration:ZQ,isExportDefaultDeclaration:V41,isExportNamedDeclaration:l2,isFunctionDeclaration:Z41,isIdentifier:JJ,isImportDeclaration:i2,isLiteral:Q41,isMemberExpression:W41,isMethod:Y41,isModuleSpecifier:z41,isNullLiteral:K41,isObjectExpression:U41,isProperty:R41,isPureish:B41,isRegExpLiteral:M41,isSuper:$41,isTaggedTemplateExpression:F41,isTemplateLiteral:QQ,isThisExpression:oZ,isUnaryExpression:q41,isVariableDeclaration:j41,expressionStatement:O41,matchesPattern:eZ,memberExpression:a2,numericLiteral:A41,toIdentifier:C41,variableDeclaration:D41,variableDeclarator:S41,isRecordExpression:f41,isTupleExpression:I41,isObjectProperty:P41,isTopicReference:GQ,isMetaProperty:N41,isPrivateName:T41,isExportDeclaration:w41,buildUndefinedNode:L41,sequenceExpression:b41}=JQ;function S1(G,J){switch(G==null?void 0:G.type){default:if(i2(G)||w41(G)){var X;if((ZQ(G)||l2(G)||i2(G))&&G.source)S1(G.source,J);else if((l2(G)||i2(G))&&(X=G.specifiers)!=null&&X.length)for(let H of G.specifiers)S1(H,J);else if((V41(G)||l2(G))&&G.declaration)S1(G.declaration,J)}else if(z41(G))S1(G.local,J);else if(Q41(G)&&!K41(G)&&!M41(G)&&!QQ(G))J.push(G.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":S1(G.object,J),S1(G.property,J);break;case"Identifier":case"JSXIdentifier":J.push(G.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":S1(G.callee,J);break;case"ObjectExpression":case"ObjectPattern":for(let H of G.properties)S1(H,J);break;case"SpreadElement":case"RestElement":S1(G.argument,J);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":S1(G.key,J);break;case"ThisExpression":J.push("this");break;case"Super":J.push("super");break;case"Import":J.push("import");break;case"DoExpression":J.push("do");break;case"YieldExpression":J.push("yield"),S1(G.argument,J);break;case"AwaitExpression":J.push("await"),S1(G.argument,J);break;case"AssignmentExpression":S1(G.left,J);break;case"VariableDeclarator":S1(G.id,J);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":S1(G.id,J);break;case"PrivateName":S1(G.id,J);break;case"ParenthesizedExpression":S1(G.expression,J);break;case"UnaryExpression":case"UpdateExpression":S1(G.argument,J);break;case"MetaProperty":S1(G.meta,J),S1(G.property,J);break;case"JSXElement":S1(G.openingElement,J);break;case"JSXOpeningElement":S1(G.name,J);break;case"JSXFragment":S1(G.openingFragment,J);break;case"JSXOpeningFragment":J.push("Fragment");break;case"JSXNamespacedName":S1(G.namespace,J),S1(G.name,J);break}}var q0={ForStatement(G){let J=G.get("init");if(J.isVar()){let{scope:X}=G;(X.getFunctionParent()||X.getProgramParent()).registerBinding("var",J)}},Declaration(G){if(G.isBlockScoped())return;if(G.isImportDeclaration())return;if(G.isExportDeclaration())return;(G.scope.getFunctionParent()||G.scope.getProgramParent()).registerDeclaration(G)},ImportDeclaration(G){G.scope.getBlockParent().registerDeclaration(G)},TSImportEqualsDeclaration(G){G.scope.getBlockParent().registerDeclaration(G)},ReferencedIdentifier(G,J){if(XQ.isTSQualifiedName(G.parent)&&G.parent.right===G.node)return;if(G.parentPath.isTSImportEqualsDeclaration())return;J.references.push(G)},ForXStatement(G,J){let X=G.get("left");if(X.isPattern()||X.isIdentifier())J.constantViolations.push(G);else if(X.isVar()){let{scope:H}=G;(H.getFunctionParent()||H.getProgramParent()).registerBinding("var",X)}},ExportDeclaration:{exit(G){let{node:J,scope:X}=G;if(ZQ(J))return;let H=J.declaration;if(H41(H)||Z41(H)){let V=H.id;if(!V)return;let Z=X.getBinding(V.name);Z==null||Z.reference(G)}else if(j41(H))for(let V of H.declarations)for(let Z of Object.keys(HQ(V))){let Q=X.getBinding(Z);Q==null||Q.reference(G)}}},LabeledStatement(G){G.scope.getBlockParent().registerDeclaration(G)},AssignmentExpression(G,J){J.assignments.push(G)},UpdateExpression(G,J){J.constantViolations.push(G)},UnaryExpression(G,J){if(G.node.operator==="delete")J.constantViolations.push(G)},BlockScoped(G){let J=G.scope;if(J.path===G)J=J.parent;if(J.getBlockParent().registerDeclaration(G),G.isClassDeclaration()&&G.node.id){let V=G.node.id.name;G.scope.bindings[V]=G.scope.parent.getBinding(V)}},CatchClause(G){G.scope.registerBinding("let",G)},Function(G){let J=G.get("params");for(let X of J)G.scope.registerBinding("param",X);if(G.isFunctionExpression()&&G.node.id&&!G.node.id[sZ])G.scope.registerBinding("local",G.get("id"),G)},ClassExpression(G){if(G.node.id&&!G.node.id[sZ])G.scope.registerBinding("local",G.get("id"),G)},TSTypeAnnotation(G){G.skip()}},k41=0;class XG{constructor(G){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node:J}=G,X=rZ.scope.get(J);if((X==null?void 0:X.path)===G)return X;rZ.scope.set(J,this),this.uid=k41++,this.block=J,this.path=G,this.labels=new Map,this.inited=!1}get parent(){var G;let J,X=this.path;do{var H;let V=X.key==="key"||X.listKey==="decorators";if(X=X.parentPath,V&&X.isMethod())X=X.parentPath;if((H=X)!=null&&H.isScope())J=X}while(X&&!J);return(G=J)==null?void 0:G.scope}generateDeclaredUidIdentifier(G){let J=this.generateUidIdentifier(G);return this.push({id:J}),tZ(J)}generateUidIdentifier(G){return XJ(this.generateUid(G))}generateUid(G="temp"){G=C41(G).replace(/^_+/,"").replace(/\d+$/g,"");let J,X=1;do{if(J=`_${G}`,X>1)J+=X;X++}while(this.hasLabel(J)||this.hasBinding(J)||this.hasGlobal(J)||this.hasReference(J));let H=this.getProgramParent();return H.references[J]=!0,H.uids[J]=!0,J}generateUidBasedOnNode(G,J){let X=[];S1(G,X);let H=X.join("$");return H=H.replace(/^_/,"")||J||"ref",this.generateUid(H.slice(0,20))}generateUidIdentifierBasedOnNode(G,J){return XJ(this.generateUidBasedOnNode(G,J))}isStatic(G){if(oZ(G)||$41(G)||GQ(G))return!0;if(JJ(G)){let J=this.getBinding(G.name);if(J)return J.constant;else return this.hasBinding(G.name)}return!1}maybeGenerateMemoised(G,J){if(this.isStatic(G))return null;else{let X=this.generateUidIdentifierBasedOnNode(G);if(!J)return this.push({id:X}),tZ(X);return X}}checkBlockScopedCollisions(G,J,X,H){if(J==="param")return;if(G.kind==="local")return;if(J==="let"||G.kind==="let"||G.kind==="const"||G.kind==="module"||G.kind==="param"&&J==="const")throw this.path.hub.buildError(H,`Duplicate declaration "${X}"`,TypeError)}rename(G,J){let X=this.getBinding(G);if(X)J||(J=this.generateUidIdentifier(G).name),new s81.default(X,G,J).rename(arguments[2])}dump(){let G="-".repeat(60);console.log(G);let J=this;do{console.log("#",J.block.type);for(let X of Object.keys(J.bindings)){let H=J.bindings[X];console.log(" -",X,{constant:H.constant,references:H.references,violations:H.constantViolations.length,kind:H.kind})}}while(J=J.parent);console.log(G)}hasLabel(G){return!!this.getLabel(G)}getLabel(G){return this.labels.get(G)}registerLabel(G){this.labels.set(G.node.label.name,G)}registerDeclaration(G){if(G.isLabeledStatement())this.registerLabel(G);else if(G.isFunctionDeclaration())this.registerBinding("hoisted",G.get("id"),G);else if(G.isVariableDeclaration()){let J=G.get("declarations"),{kind:X}=G.node;for(let H of J)this.registerBinding(X==="using"||X==="await using"?"const":X,H)}else if(G.isClassDeclaration()){if(G.node.declare)return;this.registerBinding("let",G)}else if(G.isImportDeclaration()){let J=G.node.importKind==="type"||G.node.importKind==="typeof",X=G.get("specifiers");for(let H of X){let V=J||H.isImportSpecifier()&&(H.node.importKind==="type"||H.node.importKind==="typeof");this.registerBinding(V?"unknown":"module",H)}}else if(G.isExportDeclaration()){let J=G.get("declaration");if(J.isClassDeclaration()||J.isFunctionDeclaration()||J.isVariableDeclaration())this.registerDeclaration(J)}else this.registerBinding("unknown",G)}buildUndefinedNode(){return L41()}registerConstantViolation(G){let J=G.getAssignmentIdentifiers();for(let H of Object.keys(J)){var X;(X=this.getBinding(H))==null||X.reassign(G)}}registerBinding(G,J,X=J){if(!G)throw new ReferenceError("no `kind`");if(J.isVariableDeclaration()){let Z=J.get("declarations");for(let Q of Z)this.registerBinding(G,Q);return}let H=this.getProgramParent(),V=J.getOuterBindingIdentifiers(!0);for(let Z of Object.keys(V)){H.references[Z]=!0;for(let Q of V[Z]){let W=this.getOwnBinding(Z);if(W){if(W.identifier===Q)continue;this.checkBlockScopedCollisions(W,G,Z,Q)}if(W)W.reassign(X);else this.bindings[Z]=new t81.default({identifier:Q,scope:this,path:X,kind:G})}}}addGlobal(G){this.globals[G.name]=G}hasUid(G){let J=this;do if(J.uids[G])return!0;while(J=J.parent);return!1}hasGlobal(G){let J=this;do if(J.globals[G])return!0;while(J=J.parent);return!1}hasReference(G){return!!this.getProgramParent().references[G]}isPure(G,J){if(JJ(G)){let Z=this.getBinding(G.name);if(!Z)return!1;if(J)return Z.constant;return!0}else if(oZ(G)||N41(G)||GQ(G)||T41(G))return!0;else if(J41(G)){var X;if(G.superClass&&!this.isPure(G.superClass,J))return!1;if(((X=G.decorators)==null?void 0:X.length)>0)return!1;return this.isPure(G.body,J)}else if(X41(G)){for(let Z of G.body)if(!this.isPure(Z,J))return!1;return!0}else if(G41(G))return this.isPure(G.left,J)&&this.isPure(G.right,J);else if(VQ(G)||I41(G)){for(let Z of G.elements)if(Z!==null&&!this.isPure(Z,J))return!1;return!0}else if(U41(G)||f41(G)){for(let Z of G.properties)if(!this.isPure(Z,J))return!1;return!0}else if(Y41(G)){var H;if(G.computed&&!this.isPure(G.key,J))return!1;if(((H=G.decorators)==null?void 0:H.length)>0)return!1;return!0}else if(R41(G)){var V;if(G.computed&&!this.isPure(G.key,J))return!1;if(((V=G.decorators)==null?void 0:V.length)>0)return!1;if(P41(G)||G.static){if(G.value!==null&&!this.isPure(G.value,J))return!1}return!0}else if(q41(G))return this.isPure(G.argument,J);else if(QQ(G)){for(let Z of G.expressions)if(!this.isPure(Z,J))return!1;return!0}else if(F41(G))return eZ(G.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(G.quasi,J);else if(W41(G))return!G.computed&&JJ(G.object)&&G.object.name==="Symbol"&&JJ(G.property)&&G.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0});else if(nZ(G))return eZ(G.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&G.arguments.length===1&&XQ.isStringLiteral(G.arguments[0]);else return B41(G)}setData(G,J){return this.data[G]=J}getData(G){let J=this;do{let X=J.data[G];if(X!=null)return X}while(J=J.parent)}removeData(G){let J=this;do if(J.data[G]!=null)J.data[G]=null;while(J=J.parent)}init(){if(!this.inited)this.inited=!0,this.crawl()}crawl(){let G=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let J=this;do{if(J.crawling)return;if(J.path.isProgram())break}while(J=J.parent);let X=J,H={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,G.type!=="Program"&&o81.isExplodedVisitor(q0)){for(let Z of q0.enter)Z.call(H,G,H);let V=q0[G.type];if(V)for(let Z of V.enter)Z.call(H,G,H)}G.traverse(q0,H),this.crawling=!1;for(let V of H.assignments){let Z=V.getAssignmentIdentifiers();for(let Q of Object.keys(Z)){if(V.scope.getBinding(Q))continue;X.addGlobal(Z[Q])}V.scope.registerConstantViolation(V)}for(let V of H.references){let Z=V.scope.getBinding(V.node.name);if(Z)Z.reference(V);else X.addGlobal(V.node)}for(let V of H.constantViolations)V.scope.registerConstantViolation(V)}push(G){let J=this.path;if(J.isPattern())J=this.getPatternParent().path;else if(!J.isBlockStatement()&&!J.isProgram())J=this.getBlockParent().path;if(J.isSwitchStatement())J=(this.getFunctionParent()||this.getProgramParent()).path;let{init:X,unique:H,kind:V="var",id:Z}=G;if(!X&&!H&&(V==="var"||V==="let")&&J.isFunction()&&!J.node.name&&nZ(J.parent,{callee:J.node})&&J.parent.arguments.length<=J.node.params.length&&JJ(Z)){J.pushContainer("params",Z),J.scope.registerBinding("param",J.get("params")[J.node.params.length-1]);return}if(J.isLoop()||J.isCatchClause()||J.isFunction())J.ensureBlock(),J=J.get("body");let Q=G._blockHoist==null?2:G._blockHoist,W=`declaration:${V}:${Q}`,Y=!H&&J.getData(W);if(!Y){let q=D41(V,[]);if(q._blockHoist=Q,[Y]=J.unshiftContainer("body",[q]),!H)J.setData(W,Y)}let z=S41(Z,X),U=Y.node.declarations.push(z);J.scope.registerBinding(V,Y.get("declarations")[U-1])}getProgramParent(){let G=this;do if(G.path.isProgram())return G;while(G=G.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let G=this;do if(G.path.isFunctionParent())return G;while(G=G.parent);return null}getBlockParent(){let G=this;do if(G.path.isBlockParent())return G;while(G=G.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let G=this;do if(!G.path.isPattern())return G.getBlockParent();while(G=G.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let G=Object.create(null),J=this;do{for(let X of Object.keys(J.bindings))if(X in G===!1)G[X]=J.bindings[X];J=J.parent}while(J);return G}bindingIdentifierEquals(G,J){return this.getBindingIdentifier(G)===J}getBinding(G){let J=this,X;do{let V=J.getOwnBinding(G);if(V){var H;if((H=X)!=null&&H.isPattern()&&V.kind!=="param"&&V.kind!=="local");else return V}else if(!V&&G==="arguments"&&J.path.isFunction()&&!J.path.isArrowFunctionExpression())break;X=J.path}while(J=J.parent)}getOwnBinding(G){return this.bindings[G]}getBindingIdentifier(G){var J;return(J=this.getBinding(G))==null?void 0:J.identifier}getOwnBindingIdentifier(G){let J=this.bindings[G];return J==null?void 0:J.identifier}hasOwnBinding(G){return!!this.getOwnBinding(G)}hasBinding(G,J){if(!G)return!1;let X=this;do if(X.hasOwnBinding(G))return!0;while(X=X.parent);let H,V;if(typeof J==="object")H=J.noGlobals,V=J.noUids;else if(typeof J==="boolean")H=J;if(!V&&this.hasUid(G))return!0;if(!H&&XG.globals.includes(G))return!0;if(!H&&XG.contextVariables.includes(G))return!0;return!1}parentHasBinding(G,J){var X;return(X=this.parent)==null?void 0:X.hasBinding(G,J)}moveBindingTo(G,J){let X=this.getBinding(G);if(X)X.scope.removeOwnBinding(G),X.scope=J,J.bindings[G]=X}removeOwnBinding(G){delete this.bindings[G]}removeBinding(G){var J;(J=this.getBinding(G))==null||J.scope.removeOwnBinding(G);let X=this;do if(X.uids[G])X.uids[G]=!1;while(X=X.parent)}hoistVariables(G=(J)=>this.push({id:J})){this.crawl();let J=new Set;for(let H of Object.keys(this.bindings)){let V=this.bindings[H];if(!V)continue;let{path:Z}=V;if(!Z.isVariableDeclarator())continue;let{parent:Q,parentPath:W}=Z;if(Q.kind!=="var"||J.has(Q))continue;J.add(Z.parent);let Y,z=[];for(let U of Q.declarations){var X;if((X=Y)!=null||(Y=U.id),U.init)z.push(e81("=",U.id,U.init));let q=Object.keys(HQ(U,!1,!0,!0));for(let A of q)G(XJ(A),U.init!=null)}if(W.parentPath.isFor({left:Q}))W.replaceWith(Y);else if(z.length===0)W.remove();else{let U=z.length===1?z[0]:b41(z);if(W.parentPath.isForStatement({init:Q}))W.replaceWith(U);else W.replaceWith(O41(U))}}}}WQ.default=XG;XG.globals=Object.keys(n81.builtin);XG.contextVariables=["arguments","undefined","Infinity","NaN"];XG.prototype._renameFromMap=function G(J,X,H,V){if(J[X])J[H]=V,J[X]=null},XG.prototype.traverse=function(G,J,X){d81.default(G,J,this,X,this.path)},XG.prototype._generateUid=function G(J,X){let H=J;if(X>1)H+=X;return`_${H}`},XG.prototype.toArray=function G(J,X,H){if(JJ(J)){let Q=this.getBinding(J.name);if(Q!=null&&Q.constant&&Q.path.isGenericType("Array"))return J}if(VQ(J))return J;if(JJ(J,{name:"arguments"}))return dZ(a2(a2(a2(XJ("Array"),XJ("prototype")),XJ("slice")),XJ("call")),[J]);let V,Z=[J];if(X===!0)V="toConsumableArray";else if(typeof X==="number")Z.push(A41(X)),V="slicedToArray";else V="toArray";if(H)Z.unshift(this.path.hub.addHelper(V)),V="maybeArrayLike";return dZ(this.path.hub.addHelper(V),Z)},XG.prototype.getAllBindingsOfKind=function G(...J){let X=Object.create(null);for(let H of J){let V=this;do{for(let Z of Object.keys(V.bindings)){let Q=V.bindings[Z];if(Q.kind===H)X[Z]=Q}V=V.parent}while(V)}return X},Object.defineProperties(XG.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})});var KQ=f((zQ)=>{Object.defineProperty(zQ,"__esModule",{value:!0});zQ.find=_41;zQ.findParent=g41;zQ.getAncestry=m41;zQ.getDeepestCommonAncestorFrom=x41;zQ.getEarliestCommonAncestorFrom=y41;zQ.getFunctionParent=h41;zQ.getStatementParent=u41;zQ.inType=i41;zQ.isAncestor=c41;zQ.isDescendant=l41;var v41=W1(),{VISITOR_KEYS:E41}=v41;function g41(G){let J=this;while(J=J.parentPath)if(G(J))return J;return null}function _41(G){let J=this;do if(G(J))return J;while(J=J.parentPath);return null}function h41(){return this.findParent((G)=>G.isFunction())}function u41(){let G=this;do if(!G.parentPath||Array.isArray(G.container)&&G.isStatement())break;else G=G.parentPath;while(G);if(G&&(G.isProgram()||G.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return G}function y41(G){return this.getDeepestCommonAncestorFrom(G,function(J,X,H){let V,Z=E41[J.type];for(let Q of H){let W=Q[X+1];if(!V){V=W;continue}if(W.listKey&&V.listKey===W.listKey){if(W.key<V.key){V=W;continue}}let Y=Z.indexOf(V.parentKey),z=Z.indexOf(W.parentKey);if(Y>z)V=W}return V})}function x41(G,J){if(!G.length)return this;if(G.length===1)return G[0];let X=1/0,H,V,Z=G.map((W)=>{let Y=[];do Y.unshift(W);while((W=W.parentPath)&&W!==this);if(Y.length<X)X=Y.length;return Y}),Q=Z[0];G:for(let W=0;W<X;W++){let Y=Q[W];for(let z of Z)if(z[W]!==Y)break G;H=W,V=Y}if(V)if(J)return J(V,H,Z);else return V;else throw new Error("Couldn't find intersection")}function m41(){let G=this,J=[];do J.push(G);while(G=G.parentPath);return J}function c41(G){return G.isDescendant(this)}function l41(G){return!!this.findParent((J)=>J===G)}function i41(...G){let J=this;while(J){for(let X of G)if(J.node.type===X)return!0;J=J.parentPath}return!1}});var r2=f((BQ)=>{Object.defineProperty(BQ,"__esModule",{value:!0});BQ.createUnionType=Z71;var J71=W1(),{createFlowUnionType:UQ,createTSUnionType:RQ,createUnionTypeAnnotation:X71,isFlowType:H71,isTSType:V71}=J71;function Z71(G){if(G.every((J)=>H71(J))){if(UQ)return UQ(G);return X71(G)}else if(G.every((J)=>V71(J))){if(RQ)return RQ(G)}}});var OQ=f((jQ)=>{Object.defineProperty(jQ,"__esModule",{value:!0});jQ.default=U71;var W71=W1(),$Q=r2(),{BOOLEAN_NUMBER_BINARY_OPERATORS:Y71,createTypeAnnotationBasedOnTypeof:z71,numberTypeAnnotation:FQ,voidTypeAnnotation:K71}=W71;function U71(G){if(!this.isReferenced())return;let J=this.scope.getBinding(G.name);if(J)if(J.identifier.typeAnnotation)return J.identifier.typeAnnotation;else return R71(J,this,G.name);if(G.name==="undefined")return K71();else if(G.name==="NaN"||G.name==="Infinity")return FQ();else if(G.name==="arguments");}function R71(G,J,X){let H=[],V=[],Z=MQ(G,J,V),Q=qQ(G,J,X);if(Q){let W=MQ(G,Q.ifStatement);Z=Z.filter((Y)=>!W.includes(Y)),H.push(Q.typeAnnotation)}if(Z.length){Z.push(...V);for(let W of Z)H.push(W.getTypeAnnotation())}if(!H.length)return;return $Q.createUnionType(H)}function MQ(G,J,X){let H=G.constantViolations.slice();return H.unshift(G.path),H.filter((V)=>{V=V.resolve();let Z=V._guessExecutionStatusRelativeTo(J);if(X&&Z==="unknown")X.push(V);return Z==="before"})}function B71(G,J){let X=J.node.operator,H=J.get("right").resolve(),V=J.get("left").resolve(),Z;if(V.isIdentifier({name:G}))Z=H;else if(H.isIdentifier({name:G}))Z=V;if(Z){if(X==="===")return Z.getTypeAnnotation();if(Y71.includes(X))return FQ();return}if(X!=="==="&&X!=="==")return;let Q,W;if(V.isUnaryExpression({operator:"typeof"}))Q=V,W=H;else if(H.isUnaryExpression({operator:"typeof"}))Q=H,W=V;if(!Q)return;if(!Q.get("argument").isIdentifier({name:G}))return;if(W=W.resolve(),!W.isLiteral())return;let Y=W.node.value;if(typeof Y!=="string")return;return z71(Y)}function M71(G,J,X){let H;while(H=J.parentPath){if(H.isIfStatement()||H.isConditionalExpression()){if(J.key==="test")return;return H}if(H.isFunction()){if(H.parentPath.scope.getBinding(X)!==G)return}J=H}}function qQ(G,J,X){let H=M71(G,J,X);if(!H)return;let Z=[H.get("test")],Q=[];for(let W=0;W<Z.length;W++){let Y=Z[W];if(Y.isLogicalExpression()){if(Y.node.operator==="&&")Z.push(Y.get("left")),Z.push(Y.get("right"))}else if(Y.isBinaryExpression()){let z=B71(X,Y);if(z)Q.push(z)}}if(Q.length)return{typeAnnotation:$Q.createUnionType(Q),ifStatement:H};return qQ(G,H,X)}});var NQ=f((t2)=>{Object.defineProperty(t2,"__esModule",{value:!0});t2.ArrayExpression=fQ;t2.AssignmentExpression=u71;t2.BinaryExpression=v71;t2.BooleanLiteral=c71;t2.CallExpression=n71;t2.ConditionalExpression=g71;t2.ClassDeclaration=t2.ClassExpression=t2.FunctionDeclaration=t2.ArrowFunctionExpression=t2.FunctionExpression=p71;Object.defineProperty(t2,"Identifier",{enumerable:!0,get:function(){return q71.default}});t2.LogicalExpression=E71;t2.NewExpression=L71;t2.NullLiteral=l71;t2.NumericLiteral=m71;t2.ObjectExpression=a71;t2.ParenthesizedExpression=h71;t2.RegExpLiteral=i71;t2.RestElement=IQ;t2.SequenceExpression=_71;t2.StringLiteral=x71;t2.TSAsExpression=SQ;t2.TSNonNullExpression=w71;t2.TaggedTemplateExpression=o71;t2.TemplateLiteral=b71;t2.TypeCastExpression=DQ;t2.UnaryExpression=k71;t2.UpdateExpression=y71;t2.VariableDeclarator=T71;var F71=W1(),q71=OQ(),CQ=r2(),{BOOLEAN_BINARY_OPERATORS:j71,BOOLEAN_UNARY_OPERATORS:O71,NUMBER_BINARY_OPERATORS:A71,NUMBER_UNARY_OPERATORS:C71,STRING_UNARY_OPERATORS:D71,anyTypeAnnotation:AQ,arrayTypeAnnotation:s2,booleanTypeAnnotation:d2,buildMatchMemberExpression:j0,genericTypeAnnotation:yG,identifier:HJ,nullLiteralTypeAnnotation:S71,numberTypeAnnotation:SJ,stringTypeAnnotation:VJ,tupleTypeAnnotation:f71,unionTypeAnnotation:I71,voidTypeAnnotation:P71,isIdentifier:N71}=F71;function T71(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function DQ(G){return G.typeAnnotation}DQ.validParent=!0;function SQ(G){return G.typeAnnotation}SQ.validParent=!0;function w71(){return this.get("expression").getTypeAnnotation()}function L71(G){if(G.callee.type==="Identifier")return yG(G.callee)}function b71(){return VJ()}function k71(G){let J=G.operator;if(J==="void")return P71();else if(C71.includes(J))return SJ();else if(D71.includes(J))return VJ();else if(O71.includes(J))return d2()}function v71(G){let J=G.operator;if(A71.includes(J))return SJ();else if(j71.includes(J))return d2();else if(J==="+"){let X=this.get("right"),H=this.get("left");if(H.isBaseType("number")&&X.isBaseType("number"))return SJ();else if(H.isBaseType("string")||X.isBaseType("string"))return VJ();return I71([VJ(),SJ()])}}function E71(){let G=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return CQ.createUnionType(G)}function g71(){let G=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return CQ.createUnionType(G)}function _71(){return this.get("expressions").pop().getTypeAnnotation()}function h71(){return this.get("expression").getTypeAnnotation()}function u71(){return this.get("right").getTypeAnnotation()}function y71(G){let J=G.operator;if(J==="++"||J==="--")return SJ()}function x71(){return VJ()}function m71(){return SJ()}function c71(){return d2()}function l71(){return S71()}function i71(){return yG(HJ("RegExp"))}function a71(){return yG(HJ("Object"))}function fQ(){return yG(HJ("Array"))}function IQ(){return fQ()}IQ.validParent=!0;function p71(){return yG(HJ("Function"))}var r71=j0("Array.from"),s71=j0("Object.keys"),d71=j0("Object.values"),t71=j0("Object.entries");function n71(){let{callee:G}=this.node;if(s71(G))return s2(VJ());else if(r71(G)||d71(G)||N71(G,{name:"Array"}))return s2(AQ());else if(t71(G))return s2(f71([VJ(),AQ()]));return PQ(this.get("callee"))}function o71(){return PQ(this.get("tag"))}function PQ(G){if(G=G.resolve(),G.isFunction()){let{node:J}=G;if(J.async)if(J.generator)return yG(HJ("AsyncIterator"));else return yG(HJ("Promise"));else if(J.generator)return yG(HJ("Iterator"));else if(G.node.returnType)return G.node.returnType}}});var vQ=f((kQ)=>{Object.defineProperty(kQ,"__esModule",{value:!0});kQ._getTypeAnnotation=bQ;kQ.baseTypeStrictlyMatches=a51;kQ.couldBeBaseType=i51;kQ.getTypeAnnotation=c51;kQ.isBaseType=l51;kQ.isGenericType=p51;var TQ=NQ(),f51=W1(),{anyTypeAnnotation:LQ,isAnyTypeAnnotation:O0,isArrayTypeAnnotation:I51,isBooleanTypeAnnotation:P51,isEmptyTypeAnnotation:N51,isFlowBaseAnnotation:T51,isGenericTypeAnnotation:w51,isIdentifier:wQ,isMixedTypeAnnotation:L51,isNumberTypeAnnotation:b51,isStringTypeAnnotation:k51,isTSArrayType:v51,isTSTypeAnnotation:E51,isTSTypeReference:g51,isTupleTypeAnnotation:_51,isTypeAnnotation:h51,isUnionTypeAnnotation:u51,isVoidTypeAnnotation:y51,stringTypeAnnotation:x51,voidTypeAnnotation:m51}=f51;function c51(){let G=this.getData("typeAnnotation");if(G!=null)return G;if(G=bQ.call(this)||LQ(),h51(G)||E51(G))G=G.typeAnnotation;return this.setData("typeAnnotation",G),G}var n2=new WeakSet;function bQ(){let G=this.node;if(!G)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let X=this.parentPath.parentPath,H=X.parentPath;if(X.key==="left"&&H.isForInStatement())return x51();if(X.key==="left"&&H.isForOfStatement())return LQ();return m51()}else return;if(G.typeAnnotation)return G.typeAnnotation;if(n2.has(G))return;n2.add(G);try{var J;let X=TQ[G.type];if(X)return X.call(this,G);if(X=TQ[this.parentPath.type],(J=X)!=null&&J.validParent)return this.parentPath.getTypeAnnotation()}finally{n2.delete(G)}}function l51(G,J){return o2(G,this.getTypeAnnotation(),J)}function o2(G,J,X){if(G==="string")return k51(J);else if(G==="number")return b51(J);else if(G==="boolean")return P51(J);else if(G==="any")return O0(J);else if(G==="mixed")return L51(J);else if(G==="empty")return N51(J);else if(G==="void")return y51(J);else if(X)return!1;else throw new Error(`Unknown base type ${G}`)}function i51(G){let J=this.getTypeAnnotation();if(O0(J))return!0;if(u51(J)){for(let X of J.types)if(O0(X)||o2(G,X,!0))return!0;return!1}else return o2(G,J,!0)}function a51(G){let J=this.getTypeAnnotation(),X=G.getTypeAnnotation();if(!O0(J)&&T51(J))return X.type===J.type;return!1}function p51(G){let J=this.getTypeAnnotation();if(G==="Array"){if(v51(J)||I51(J)||_51(J))return!0}return w51(J)&&wQ(J.id,{name:G})||g51(J)&&wQ(J.typeName,{name:G})}});var _Q=f((jF1,e2)=>{var C0=process||{},EQ=C0.argv||[],A0=C0.env||{},e51=!(!!A0.NO_COLOR||EQ.includes("--no-color"))&&(!!A0.FORCE_COLOR||EQ.includes("--color")||C0.platform==="win32"||(C0.stdout||{}).isTTY&&A0.TERM!=="dumb"||!!A0.CI),GV1=(G,J,X=G)=>(H)=>{let V=""+H,Z=V.indexOf(J,G.length);return~Z?G+JV1(V,J,X,Z)+J:G+V+J},JV1=(G,J,X,H)=>{let V="",Z=0;do V+=G.substring(Z,H)+X,Z=H+J.length,H=G.indexOf(J,Z);while(~H);return V+G.substring(Z)},gQ=(G=e51)=>{let J=G?GV1:()=>String;return{isColorSupported:G,reset:J("\x1B[0m","\x1B[0m"),bold:J("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:J("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:J("\x1B[3m","\x1B[23m"),underline:J("\x1B[4m","\x1B[24m"),inverse:J("\x1B[7m","\x1B[27m"),hidden:J("\x1B[8m","\x1B[28m"),strikethrough:J("\x1B[9m","\x1B[29m"),black:J("\x1B[30m","\x1B[39m"),red:J("\x1B[31m","\x1B[39m"),green:J("\x1B[32m","\x1B[39m"),yellow:J("\x1B[33m","\x1B[39m"),blue:J("\x1B[34m","\x1B[39m"),magenta:J("\x1B[35m","\x1B[39m"),cyan:J("\x1B[36m","\x1B[39m"),white:J("\x1B[37m","\x1B[39m"),gray:J("\x1B[90m","\x1B[39m"),bgBlack:J("\x1B[40m","\x1B[49m"),bgRed:J("\x1B[41m","\x1B[49m"),bgGreen:J("\x1B[42m","\x1B[49m"),bgYellow:J("\x1B[43m","\x1B[49m"),bgBlue:J("\x1B[44m","\x1B[49m"),bgMagenta:J("\x1B[45m","\x1B[49m"),bgCyan:J("\x1B[46m","\x1B[49m"),bgWhite:J("\x1B[47m","\x1B[49m"),blackBright:J("\x1B[90m","\x1B[39m"),redBright:J("\x1B[91m","\x1B[39m"),greenBright:J("\x1B[92m","\x1B[39m"),yellowBright:J("\x1B[93m","\x1B[39m"),blueBright:J("\x1B[94m","\x1B[39m"),magentaBright:J("\x1B[95m","\x1B[39m"),cyanBright:J("\x1B[96m","\x1B[39m"),whiteBright:J("\x1B[97m","\x1B[39m"),bgBlackBright:J("\x1B[100m","\x1B[49m"),bgRedBright:J("\x1B[101m","\x1B[49m"),bgGreenBright:J("\x1B[102m","\x1B[49m"),bgYellowBright:J("\x1B[103m","\x1B[49m"),bgBlueBright:J("\x1B[104m","\x1B[49m"),bgMagentaBright:J("\x1B[105m","\x1B[49m"),bgCyanBright:J("\x1B[106m","\x1B[49m"),bgWhiteBright:J("\x1B[107m","\x1B[49m")}};e2.exports=gQ();e2.exports.createColors=gQ});var uQ=f((hQ)=>{Object.defineProperty(hQ,"__esModule",{value:!0});hQ.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;hQ.matchToToken=function(G){var J={type:"invalid",value:G[0],closed:void 0};if(G[1])J.type="string",J.closed=!!(G[3]||G[4]);else if(G[5])J.type="comment";else if(G[6])J.type="comment",J.closed=!!G[7];else if(G[8])J.type="regex";else if(G[9])J.type="number";else if(G[10])J.type="name";else if(G[11])J.type="punctuator";else if(G[12])J.type="whitespace";return J}});var J6=f((sQ)=>{Object.defineProperty(sQ,"__esModule",{value:!0});var G6=_Q(),yQ=uQ(),xQ=uJ();function VV1(){return typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?!1:G6.isColorSupported}var D0=(G,J)=>(X)=>G(J(X));function lQ(G){return{keyword:G.cyan,capitalized:G.yellow,jsxIdentifier:G.yellow,punctuator:G.yellow,number:G.magenta,string:G.green,regex:G.magenta,comment:G.gray,invalid:D0(D0(G.white,G.bgRed),G.bold),gutter:G.gray,marker:D0(G.red,G.bold),message:D0(G.red,G.bold),reset:G.reset}}var ZV1=lQ(G6.createColors(!0)),QV1=lQ(G6.createColors(!1));function iQ(G){return G?ZV1:QV1}var WV1=new Set(["as","async","from","get","of","set"]),YV1=/\r\n|[\n\r\u2028\u2029]/,zV1=/^[()[\]{}]$/,aQ;{let G=/^[a-z][\w-]*$/i,J=function(X,H,V){if(X.type==="name"){if(xQ.isKeyword(X.value)||xQ.isStrictReservedWord(X.value,!0)||WV1.has(X.value))return"keyword";if(G.test(X.value)&&(V[H-1]==="<"||V.slice(H-2,H)==="</"))return"jsxIdentifier";if(X.value[0]!==X.value[0].toLowerCase())return"capitalized"}if(X.type==="punctuator"&&zV1.test(X.value))return"bracket";if(X.type==="invalid"&&(X.value==="@"||X.value==="#"))return"punctuator";return X.type};aQ=function*(X){let H;while(H=yQ.default.exec(X)){let V=yQ.matchToToken(H);yield{type:J(V,H.index,X),value:V.value}}}}function pQ(G){if(G==="")return"";let J=iQ(!0),X="";for(let{type:H,value:V}of aQ(G))if(H in J)X+=V.split(YV1).map((Z)=>J[H](Z)).join(`
27
+ `);else X+=V;return X}var mQ=!1,cQ=/\r\n|[\n\r\u2028\u2029]/;function KV1(G,J,X){let H=Object.assign({column:0,line:-1},G.start),V=Object.assign({},H,G.end),{linesAbove:Z=2,linesBelow:Q=3}=X||{},W=H.line,Y=H.column,z=V.line,U=V.column,q=Math.max(W-(Z+1),0),A=Math.min(J.length,z+Q);if(W===-1)q=0;if(z===-1)A=J.length;let C=z-W,D={};if(C)for(let L=0;L<=C;L++){let P=L+W;if(!Y)D[P]=!0;else if(L===0){let w=J[P-1].length;D[P]=[Y,w-Y+1]}else if(L===C)D[P]=[0,U];else{let w=J[P-L].length;D[P]=[0,w]}}else if(Y===U)if(Y)D[W]=[Y,0];else D[W]=!0;else D[W]=[Y,U-Y];return{start:q,end:A,markerLines:D}}function rQ(G,J,X={}){let H=X.forceColor||VV1()&&X.highlightCode,V=iQ(H),Z=G.split(cQ),{start:Q,end:W,markerLines:Y}=KV1(J,Z,X),z=J.start&&typeof J.start.column==="number",U=String(W).length,A=(H?pQ(G):G).split(cQ,W).slice(Q,W).map((C,D)=>{let L=Q+1+D,w=` ${` ${L}`.slice(-U)} |`,b=Y[L],X1=!Y[L+1];if(b){let r="";if(Array.isArray(b)){let H1=C.slice(0,Math.max(b[0]-1,0)).replace(/[^\t]/g," "),$1=b[1]||1;if(r=[`
28
+ `,V.gutter(w.replace(/\d/g," "))," ",H1,V.marker("^").repeat($1)].join(""),X1&&X.message)r+=" "+V.message(X.message)}return[V.marker(">"),V.gutter(w),C.length>0?` ${C}`:"",r].join("")}else return` ${V.gutter(w)}${C.length>0?` ${C}`:""}`}).join(`
29
+ `);if(X.message&&!z)A=`${" ".repeat(U+1)}${X.message}
30
+ ${A}`;if(H)return V.reset(A);else return A}function UV1(G,J,X,H={}){if(!mQ){mQ=!0;let Z="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(Z,"DeprecationWarning");else{let Q=new Error(Z);Q.name="DeprecationWarning",console.warn(new Error(Z))}}return X=Math.max(X,0),rQ(G,{start:{column:X,line:J}},H)}sQ.codeFrameColumns=rQ;sQ.default=UV1;sQ.highlight=pQ});var eQ=f((nQ)=>{Object.defineProperty(nQ,"__esModule",{value:!0});nQ.default=void 0;var dQ=W1(),$V1=dQ,{react:FV1}=dQ,{cloneNode:qV1,jsxExpressionContainer:jV1,variableDeclaration:OV1,variableDeclarator:AV1}=$V1,CV1={ReferencedIdentifier(G,J){if(G.isJSXIdentifier()&&FV1.isCompatTag(G.node.name)&&!G.parentPath.isJSXMemberExpression())return;if(G.node.name==="this"){let H=G.scope;do if(H.path.isFunction()&&!H.path.isArrowFunctionExpression())break;while(H=H.parent);if(H)J.breakOnScopePaths.push(H.path)}let X=G.scope.getBinding(G.node.name);if(!X)return;for(let H of X.constantViolations)if(H.scope!==X.path.scope){J.mutableBinding=!0,G.stop();return}if(X!==J.scope.getBinding(G.node.name))return;J.bindings[G.node.name]=X}};class tQ{constructor(G,J){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=J,this.path=G,this.attachAfter=!1}isCompatibleScope(G){for(let J of Object.keys(this.bindings)){let X=this.bindings[J];if(!G.bindingIdentifierEquals(J,X.identifier))return!1}return!0}getCompatibleScopes(){let G=this.path.scope;do{if(this.isCompatibleScope(G))this.scopes.push(G);else break;if(this.breakOnScopePaths.includes(G.path))break}while(G=G.parent)}getAttachmentPath(){let G=this._getAttachmentPath();if(!G)return;let J=G.scope;if(J.path===G)J=G.scope.parent;if(J.path.isProgram()||J.path.isFunction())for(let X of Object.keys(this.bindings)){if(!J.hasOwnBinding(X))continue;let H=this.bindings[X];if(H.kind==="param"||H.path.parentKey==="params")continue;if(this.getAttachmentParentForPath(H.path).key>=G.key){this.attachAfter=!0,G=H.path;for(let Z of H.constantViolations)if(this.getAttachmentParentForPath(Z).key>G.key)G=Z}}return G}_getAttachmentPath(){let J=this.scopes.pop();if(!J)return;if(J.path.isFunction())if(this.hasOwnParamBindings(J)){if(this.scope===J)return;let X=J.path.get("body").get("body");for(let H=0;H<X.length;H++){if(X[H].node._blockHoist)continue;return X[H]}}else return this.getNextScopeAttachmentParent();else if(J.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){let G=this.scopes.pop();if(G)return this.getAttachmentParentForPath(G.path)}getAttachmentParentForPath(G){do if(!G.parentPath||Array.isArray(G.container)&&G.isStatement())return G;while(G=G.parentPath)}hasOwnParamBindings(G){for(let J of Object.keys(this.bindings)){if(!G.hasOwnBinding(J))continue;let X=this.bindings[J];if(X.kind==="param"&&X.constant)return!0}return!1}run(){if(this.path.traverse(CV1,this),this.mutableBinding)return;this.getCompatibleScopes();let G=this.getAttachmentPath();if(!G)return;if(G.getFunctionParent()===this.path.getFunctionParent())return;let J=G.scope.generateUidIdentifier("ref"),X=AV1(J,this.path.node),H=this.attachAfter?"insertAfter":"insertBefore",[V]=G[H]([G.isVariableDeclarator()?X:OV1("var",[X])]),Z=this.path.parentPath;if(Z.isJSXElement()&&this.path.container===Z.node.children)J=jV1(J);return this.path.replaceWith(qV1(J)),G.isVariableDeclarator()?V.get("init"):V.get("declarations.0.init")}}nQ.default=tQ});var XW=f((GW)=>{Object.defineProperty(GW,"__esModule",{value:!0});GW.hooks=void 0;var DF1=GW.hooks=[function(G,J){if(G.key==="test"&&(J.isWhile()||J.isSwitchCase())||G.key==="declaration"&&J.isExportDeclaration()||G.key==="body"&&J.isLabeledStatement()||G.listKey==="declarations"&&J.isVariableDeclaration()&&J.node.declarations.length===1||G.key==="expression"&&J.isExpressionStatement())return J.remove(),!0},function(G,J){if(J.isSequenceExpression()&&J.node.expressions.length===1)return J.replaceWith(J.node.expressions[0]),!0},function(G,J){if(J.isBinary()){if(G.key==="left")J.replaceWith(J.node.right);else J.replaceWith(J.node.left);return!0}},function(G,J){if(J.isIfStatement()&&G.key==="consequent"||G.key==="body"&&(J.isLoop()||J.isArrowFunctionExpression()))return G.replaceWith({type:"BlockStatement",body:[]}),!0}]});var S0=f((YW)=>{Object.defineProperty(YW,"__esModule",{value:!0});YW._assertUnremoved=WW;YW._callRemovalHooks=ZW;YW._markRemoved=X6;YW._remove=QW;YW._removeFromScope=VW;YW.remove=wV1;var DV1=XW(),SV1=GJ(),fV1=H6(),HW=xG(),IV1=W1(),PV1=f0(),NV1=MG(),{getBindingIdentifiers:TV1}=IV1;function wV1(){var G;if(WW.call(this),NV1.resync.call(this),ZW.call(this)){X6.call(this);return}if(!((G=this.opts)!=null&&G.noScope))VW.call(this);this.shareCommentsWithSiblings(),QW.call(this),X6.call(this)}function VW(){let G=TV1(this.node,!1,!1,!0);Object.keys(G).forEach((J)=>this.scope.removeBinding(J))}function ZW(){if(this.parentPath){for(let G of DV1.hooks)if(G(this,this.parentPath))return!0}}function QW(){if(Array.isArray(this.container))this.container.splice(this.key,1),PV1.updateSiblingKeys.call(this,this.key,-1);else fV1._replaceWith.call(this,null)}function X6(){if(this._traverseFlags|=HW.SHOULD_SKIP|HW.REMOVED,this.parent)SV1.getCachedPaths(this.hub,this.parent).delete(this.node);this.node=null}function WW(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var f0=f(($W)=>{Object.defineProperty($W,"__esModule",{value:!0});$W._containerInsert=Y6;$W._containerInsertAfter=UW;$W._containerInsertBefore=z6;$W._verifyNodeList=zX;$W.insertAfter=oV1;$W.insertBefore=tV1;$W.pushContainer=GZ1;$W.unshiftContainer=eV1;$W.updateSiblingKeys=MW;var _V1=GJ(),hV1=eQ(),W6=xG(),V6=MG(),I0=S0(),uV1=W1(),{arrowFunctionExpression:yV1,assertExpression:xV1,assignmentExpression:mV1,blockStatement:zW,callExpression:cV1,cloneNode:Z6,expressionStatement:Q6,isAssignmentExpression:lV1,isCallExpression:iV1,isExportNamedDeclaration:KW,isExpression:aV1,isIdentifier:pV1,isSequenceExpression:rV1,isSuper:sV1,thisExpression:dV1}=uV1;function tV1(G){I0._assertUnremoved.call(this);let J=zX.call(this,G),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||KW(H)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertBefore(J);else if(this.isNodeType("Expression")&&!this.isJSXElement()||X.isForStatement()&&this.key==="init"){if(this.node)J.push(this.node);return this.replaceExpressionWithStatements(J)}else if(Array.isArray(this.container))return z6.call(this,J);else if(this.isStatementOrBlock()){let V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(zW(Z?[V]:[])),this.unshiftContainer("body",J)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}function Y6(G,J){MW.call(this,G,J.length);let X=[];this.container.splice(G,0,...J);for(let Z=0;Z<J.length;Z++){var H;let Q=G+Z,W=this.getSibling(Q);if(X.push(W),(H=this.context)!=null&&H.queue)V6.pushContext.call(W,this.context)}let V=V6._getQueueContexts.call(this);for(let Z of X){V6.setScope.call(Z),Z.debug("Inserted.");for(let Q of V)Q.maybeQueue(Z,!0)}return X}function z6(G){return Y6.call(this,this.key,G)}function UW(G){return Y6.call(this,this.key+1,G)}var RW=(G)=>G[G.length-1];function BW(G){return rV1(G.parent)&&(RW(G.parent.expressions)!==G.node||BW(G.parentPath))}function nV1(G,J){if(!lV1(G)||!pV1(G.left))return!1;let X=J.getBlockParent();return X.hasOwnBinding(G.left.name)&&X.getOwnBinding(G.left.name).constantViolations.length<=1}function oV1(G){if(I0._assertUnremoved.call(this),this.isSequenceExpression())return RW(this.get("expressions")).insertAfter(G);let J=zX.call(this,G),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||KW(H)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertAfter(J.map((V)=>{return aV1(V)?Q6(V):V}));else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!X.isJSXElement()||X.isForStatement()&&this.key==="init"){let V=this;if(V.node){let Z=V.node,{scope:Q}=this;if(Q.path.isPattern())return xV1(Z),V.replaceWith(cV1(yV1([],Z),[])),V.get("callee.body").insertAfter(J),[V];if(BW(V))J.unshift(Z);else if(iV1(Z)&&sV1(Z.callee))J.unshift(Z),J.push(dV1());else if(nV1(Z,Q))J.unshift(Z),J.push(Z6(Z.left));else if(Q.isPure(Z,!0))J.push(Z);else{if(X.isMethod({computed:!0,key:Z}))Q=Q.parent;let W=Q.generateDeclaredUidIdentifier();J.unshift(Q6(mV1("=",Z6(W),Z))),J.push(Q6(Z6(W)))}}return this.replaceExpressionWithStatements(J)}else if(Array.isArray(this.container))return UW.call(this,J);else if(this.isStatementOrBlock()){let V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(zW(Z?[V]:[])),this.pushContainer("body",J)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}function MW(G,J){if(!this.parent)return;let X=_V1.getCachedPaths(this.hub,this.parent)||[];for(let[,H]of X)if(typeof H.key==="number"&&H.container===this.container&&H.key>=G)H.key+=J}function zX(G){if(!G)return[];if(!Array.isArray(G))G=[G];for(let J=0;J<G.length;J++){let X=G[J],H;if(!X)H="has falsy node";else if(typeof X!=="object")H="contains a non-object node";else if(!X.type)H="without a type";else if(X instanceof W6.default)H="has a NodePath when it expected a raw object";if(H){let V=Array.isArray(X)?"array":typeof X;throw new Error(`Node list ${H} with the index of ${J} and type of ${V}`)}}return G}function eV1(G,J){I0._assertUnremoved.call(this),J=zX.call(this,J);let X=W6.default.get({parentPath:this,parent:this.node,container:this.node[G],listKey:G,key:0}).setContext(this.context);return z6.call(X,J)}function GZ1(G,J){I0._assertUnremoved.call(this);let X=zX.call(this,J),H=this.node[G];return W6.default.get({parentPath:this,parent:this.node,container:H,listKey:G,key:H.length}).setContext(this.context).replaceWithMultiple(X)}$W.hoist=function G(J=this.scope){return new hV1.default(this,J).run()}});var H6=f((fW)=>{Object.defineProperty(fW,"__esModule",{value:!0});fW._replaceWith=SW;fW.replaceExpressionWithStatements=hZ1;fW.replaceInline=uZ1;fW.replaceWith=_Z1;fW.replaceWithMultiple=EZ1;fW.replaceWithSourceString=gZ1;var KZ1=J6(),U6=YX(),UZ1=xG(),AW=GJ(),R6=f0(),RZ1=W0(),BZ1=W1(),fJ=MG(),{FUNCTION_TYPES:FW,arrowFunctionExpression:MZ1,assignmentExpression:CW,awaitExpression:$Z1,blockStatement:FZ1,buildUndefinedNode:K6,callExpression:qZ1,cloneNode:B6,conditionalExpression:jZ1,expressionStatement:OZ1,getBindingIdentifiers:AZ1,identifier:CZ1,inheritLeadingComments:DZ1,inheritTrailingComments:SZ1,inheritsComments:fZ1,isBlockStatement:IZ1,isEmptyStatement:qW,isExpression:DW,isExpressionStatement:PZ1,isIfStatement:NZ1,isProgram:TZ1,isStatement:wZ1,isVariableDeclaration:LZ1,removeComments:bZ1,returnStatement:jW,sequenceExpression:kZ1,validate:OW,yieldExpression:vZ1}=BZ1;function EZ1(G){var J;fJ.resync.call(this),G=R6._verifyNodeList.call(this,G),DZ1(G[0],this.node),SZ1(G[G.length-1],this.node),(J=AW.getCachedPaths(this.hub,this.parent))==null||J.delete(this.node),this.node=this.container[this.key]=null;let X=this.insertAfter(G);if(this.node)this.requeue();else this.remove();return X}function gZ1(G){fJ.resync.call(this);let J;try{G=`(${G})`,J=RZ1.parse(G)}catch(H){let V=H.loc;if(V)H.message+=` - make sure this is an expression.
31
+ `+KZ1.codeFrameColumns(G,{start:{line:V.line,column:V.column+1}}),H.code="BABEL_REPLACE_SOURCE_ERROR";throw H}let X=J.program.body[0].expression;return U6.default.removeProperties(X),this.replaceWith(X)}function _Z1(G){if(fJ.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let J=G instanceof UZ1.default?G.node:G;if(!J)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===J)return[this];if(this.isProgram()&&!TZ1(J))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(J))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof J==="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let X="";if(this.isNodeType("Statement")&&DW(J)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(J)&&!this.parentPath.isExportDefaultDeclaration())J=OZ1(J),X="expression"}if(this.isNodeType("Expression")&&wZ1(J)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(J))return this.replaceExpressionWithStatements([J])}let H=this.node;if(H)fZ1(J,H),bZ1(H);return SW.call(this,J),this.type=J.type,fJ.setScope.call(this),this.requeue(),[X?this.get(X):this]}function SW(G){var J;if(!this.container)throw new ReferenceError("Container is falsy");if(this.inList)OW(this.parent,this.key,[G]);else OW(this.parent,this.key,G);this.debug(`Replace with ${G==null?void 0:G.type}`),(J=AW.getCachedPaths(this.hub,this.parent))==null||J.set(G,this).delete(this.node),this.node=this.container[this.key]=G}function hZ1(G){fJ.resync.call(this);let J=[],X=P0(G,J);if(X){for(let A of J)this.scope.push({id:A});return this.replaceWith(X)[0].get("expressions")}let H=this.getFunctionParent(),V=H==null?void 0:H.node.async,Z=H==null?void 0:H.node.generator,Q=MZ1([],FZ1(G));this.replaceWith(qZ1(Q,[]));let W=this.get("callee");W.get("body").scope.hoistVariables((A)=>this.scope.push({id:A}));let Y=W.getCompletionRecords();for(let A of Y){if(!A.isExpressionStatement())continue;let C=A.findParent((D)=>D.isLoop());if(C){let D=C.getData("expressionReplacementReturnUid");if(!D)D=W.scope.generateDeclaredUidIdentifier("ret"),W.get("body").pushContainer("body",jW(B6(D))),C.setData("expressionReplacementReturnUid",D);else D=CZ1(D.name);A.get("expression").replaceWith(CW("=",B6(D),A.node.expression))}else A.replaceWith(jW(A.node.expression))}W.arrowFunctionToExpression();let z=W,U=V&&U6.default.hasType(this.get("callee.body").node,"AwaitExpression",FW),q=Z&&U6.default.hasType(this.get("callee.body").node,"YieldExpression",FW);if(U){if(z.set("async",!0),!q)this.replaceWith($Z1(this.node))}if(q)z.set("generator",!0),this.replaceWith(vZ1(this.node,!0));return z.get("body.body")}function P0(G,J){let X=[],H=!0;for(let V of G){if(!qW(V))H=!1;if(DW(V))X.push(V);else if(PZ1(V))X.push(V.expression);else if(LZ1(V)){if(V.kind!=="var")return;for(let Z of V.declarations){let Q=AZ1(Z);for(let W of Object.keys(Q))J.push(B6(Q[W]));if(Z.init)X.push(CW("=",Z.id,Z.init))}H=!0}else if(NZ1(V)){let Z=V.consequent?P0([V.consequent],J):K6(),Q=V.alternate?P0([V.alternate],J):K6();if(!Z||!Q)return;X.push(jZ1(V.test,Z,Q))}else if(IZ1(V)){let Z=P0(V.body,J);if(!Z)return;X.push(Z)}else if(qW(V)){if(G.indexOf(V)===0)H=!0}else return}if(H)X.push(K6());if(X.length===1)return X[0];else return kZ1(X)}function uZ1(G){if(fJ.resync.call(this),Array.isArray(G))if(Array.isArray(this.container)){G=R6._verifyNodeList.call(this,G);let J=R6._containerInsertAfter.call(this,G);return this.remove(),J}else return this.replaceWithMultiple(G);else return this.replaceWith(G)}});var wW=f((TW)=>{Object.defineProperty(TW,"__esModule",{value:!0});TW.evaluate=oZ1;TW.evaluateTruthy=tZ1;var aZ1=["Number","String","Math"],pZ1=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],rZ1=["random"];function IW(G){return aZ1.includes(G)}function sZ1(G){return pZ1.includes(G)}function dZ1(G){return rZ1.includes(G)}function tZ1(){let G=this.evaluate();if(G.confident)return!!G.value}function wG(G,J){if(!J.confident)return;J.deoptPath=G,J.confident=!1}var PW=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function c1(G,J){let{node:X}=G,{seen:H}=J;if(H.has(X)){let V=H.get(X);if(V.resolved)return V.value;else{wG(G,J);return}}else{let V={resolved:!1};H.set(X,V);let Z=nZ1(G,J);if(J.confident)V.resolved=!0,V.value=Z;return Z}}function nZ1(G,J){if(!J.confident)return;if(G.isSequenceExpression()){let X=G.get("expressions");return c1(X[X.length-1],J)}if(G.isStringLiteral()||G.isNumericLiteral()||G.isBooleanLiteral())return G.node.value;if(G.isNullLiteral())return null;if(G.isTemplateLiteral())return NW(G,G.node.quasis,J);if(G.isTaggedTemplateExpression()&&G.get("tag").isMemberExpression()){let X=G.get("tag.object"),{node:{name:H}}=X,V=G.get("tag.property");if(X.isIdentifier()&&H==="String"&&!G.scope.getBinding(H)&&V.isIdentifier()&&V.node.name==="raw")return NW(G,G.node.quasi.quasis,J,!0)}if(G.isConditionalExpression()){let X=c1(G.get("test"),J);if(!J.confident)return;if(X)return c1(G.get("consequent"),J);else return c1(G.get("alternate"),J)}if(G.isExpressionWrapper())return c1(G.get("expression"),J);if(G.isMemberExpression()&&!G.parentPath.isCallExpression({callee:G.node})){let X=G.get("property"),H=G.get("object");if(H.isLiteral()){let V=H.node.value,Z=typeof V,Q=null;if(G.node.computed){if(Q=c1(X,J),!J.confident)return}else if(X.isIdentifier())Q=X.node.name;if((Z==="number"||Z==="string")&&Q!=null&&(typeof Q==="number"||typeof Q==="string"))return V[Q]}}if(G.isReferencedIdentifier()){let X=G.scope.getBinding(G.node.name);if(X){if(X.constantViolations.length>0||G.node.start<X.path.node.end){wG(X.path,J);return}if(X.hasValue)return X.value}let H=G.node.name;if(PW.has(H)){if(!X)return PW.get(H);wG(X.path,J);return}let V=G.resolve();if(V===G){wG(G,J);return}else return c1(V,J)}if(G.isUnaryExpression({prefix:!0})){if(G.node.operator==="void")return;let X=G.get("argument");if(G.node.operator==="typeof"&&(X.isFunction()||X.isClass()))return"function";let H=c1(X,J);if(!J.confident)return;switch(G.node.operator){case"!":return!H;case"+":return+H;case"-":return-H;case"~":return~H;case"typeof":return typeof H}}if(G.isArrayExpression()){let X=[],H=G.get("elements");for(let V of H){let Z=V.evaluate();if(Z.confident)X.push(Z.value);else{wG(Z.deopt,J);return}}return X}if(G.isObjectExpression()){let X={},H=G.get("properties");for(let V of H){if(V.isObjectMethod()||V.isSpreadElement()){wG(V,J);return}let Z=V.get("key"),Q;if(V.node.computed){if(Q=Z.evaluate(),!Q.confident){wG(Q.deopt,J);return}Q=Q.value}else if(Z.isIdentifier())Q=Z.node.name;else Q=Z.node.value;let Y=V.get("value").evaluate();if(!Y.confident){wG(Y.deopt,J);return}Y=Y.value,X[Q]=Y}return X}if(G.isLogicalExpression()){let X=J.confident,H=c1(G.get("left"),J),V=J.confident;J.confident=X;let Z=c1(G.get("right"),J),Q=J.confident;switch(G.node.operator){case"||":if(J.confident=V&&(!!H||Q),!J.confident)return;return H||Z;case"&&":if(J.confident=V&&(!H||Q),!J.confident)return;return H&&Z;case"??":if(J.confident=V&&(H!=null||Q),!J.confident)return;return H!=null?H:Z}}if(G.isBinaryExpression()){let X=c1(G.get("left"),J);if(!J.confident)return;let H=c1(G.get("right"),J);if(!J.confident)return;switch(G.node.operator){case"-":return X-H;case"+":return X+H;case"/":return X/H;case"*":return X*H;case"%":return X%H;case"**":return Math.pow(X,H);case"<":return X<H;case">":return X>H;case"<=":return X<=H;case">=":return X>=H;case"==":return X==H;case"!=":return X!=H;case"===":return X===H;case"!==":return X!==H;case"|":return X|H;case"&":return X&H;case"^":return X^H;case"<<":return X<<H;case">>":return X>>H;case">>>":return X>>>H}}if(G.isCallExpression()){let X=G.get("callee"),H,V;if(X.isIdentifier()&&!G.scope.getBinding(X.node.name)&&(IW(X.node.name)||sZ1(X.node.name)))V=global[X.node.name];if(X.isMemberExpression()){let Z=X.get("object"),Q=X.get("property");if(Z.isIdentifier()&&Q.isIdentifier()&&IW(Z.node.name)&&!dZ1(Q.node.name)){H=global[Z.node.name];let W=Q.node.name;if(hasOwnProperty.call(H,W))V=H[W]}if(Z.isLiteral()&&Q.isIdentifier()){let W=typeof Z.node.value;if(W==="string"||W==="number")H=Z.node.value,V=H[Q.node.name]}}if(V){let Z=G.get("arguments").map((Q)=>c1(Q,J));if(!J.confident)return;return V.apply(H,Z)}}wG(G,J)}function NW(G,J,X,H=!1){let V="",Z=0,Q=G.isTemplateLiteral()?G.get("expressions"):G.get("quasi.expressions");for(let W of J){if(!X.confident)break;V+=H?W.value.raw:W.value.cooked;let Y=Q[Z++];if(Y)V+=String(c1(Y,X))}if(!X.confident)return;return V}function oZ1(){let G={confident:!0,deoptPath:null,seen:new Map},J=c1(this,G);if(!G.confident)J=void 0;return{confident:G.confident,deopt:G.deoptPath,value:J}}});var kW=f((LW)=>{Object.defineProperty(LW,"__esModule",{value:!0});LW.statements=LW.statement=LW.smart=LW.program=LW.expression=void 0;var JQ1=W1(),{assertExpressionStatement:XQ1}=JQ1;function M6(G){return{code:(J)=>`/* @babel/template */;
32
+ ${J}`,validate:()=>{},unwrap:(J)=>{return G(J.program.body.slice(1))}}}var wF1=LW.smart=M6((G)=>{if(G.length>1)return G;else return G[0]}),LF1=LW.statements=M6((G)=>G),bF1=LW.statement=M6((G)=>{if(G.length===0)throw new Error("Found nothing to return.");if(G.length>1)throw new Error("Found multiple statements but wanted one");return G[0]}),HQ1=LW.expression={code:(G)=>`(
33
+ ${G}
34
+ )`,validate:(G)=>{if(G.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(HQ1.unwrap(G).start===0)throw new Error("Parse result included parens.")},unwrap:({program:G})=>{let[J]=G.body;return XQ1(J),J.expression}},kF1=LW.program={code:(G)=>G,validate:()=>{},unwrap:(G)=>G.program}});var N0=f((vW)=>{Object.defineProperty(vW,"__esModule",{value:!0});vW.merge=KQ1;vW.normalizeReplacements=RQ1;vW.validate=UQ1;var YQ1=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function zQ1(G,J){if(G==null)return{};var X={};for(var H in G)if({}.hasOwnProperty.call(G,H)){if(J.includes(H))continue;X[H]=G[H]}return X}function KQ1(G,J){let{placeholderWhitelist:X=G.placeholderWhitelist,placeholderPattern:H=G.placeholderPattern,preserveComments:V=G.preserveComments,syntacticPlaceholders:Z=G.syntacticPlaceholders}=J;return{parser:Object.assign({},G.parser,J.parser),placeholderWhitelist:X,placeholderPattern:H,preserveComments:V,syntacticPlaceholders:Z}}function UQ1(G){if(G!=null&&typeof G!=="object")throw new Error("Unknown template options.");let J=G||{},{placeholderWhitelist:X,placeholderPattern:H,preserveComments:V,syntacticPlaceholders:Z}=J,Q=zQ1(J,YQ1);if(X!=null&&!(X instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(H!=null&&!(H instanceof RegExp)&&H!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(V!=null&&typeof V!=="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(Z!=null&&typeof Z!=="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(Z===!0&&(X!=null||H!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:Q,placeholderWhitelist:X||void 0,placeholderPattern:H==null?void 0:H,preserveComments:V==null?void 0:V,syntacticPlaceholders:Z==null?void 0:Z}}function RQ1(G){if(Array.isArray(G))return G.reduce((J,X,H)=>{return J["$"+H]=X,J},{});else if(typeof G==="object"||G==null)return G||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}});var $6=f((gW)=>{Object.defineProperty(gW,"__esModule",{value:!0});gW.default=wQ1;var FQ1=W1(),qQ1=W0(),jQ1=J6(),{isCallExpression:OQ1,isExpressionStatement:AQ1,isFunction:CQ1,isIdentifier:DQ1,isJSXIdentifier:SQ1,isNewExpression:fQ1,isPlaceholder:T0,isStatement:IQ1,isStringLiteral:EW,removePropertiesDeep:PQ1,traverse:NQ1}=FQ1,TQ1=/^[_$A-Z0-9]+$/;function wQ1(G,J,X){let{placeholderWhitelist:H,placeholderPattern:V,preserveComments:Z,syntacticPlaceholders:Q}=X,W=kQ1(J,X.parser,Q);PQ1(W,{preserveComments:Z}),G.validate(W);let Y={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:H,placeholderPattern:V,syntacticPlaceholders:Q};return NQ1(W,LQ1,Y),Object.assign({ast:W},Y.syntactic.placeholders.length?Y.syntactic:Y.legacy)}function LQ1(G,J,X){var H;let V,Z=X.syntactic.placeholders.length>0;if(T0(G)){if(X.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");V=G.name.name,Z=!0}else if(Z||X.syntacticPlaceholders)return;else if(DQ1(G)||SQ1(G))V=G.name;else if(EW(G))V=G.value;else return;if(Z&&(X.placeholderPattern!=null||X.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!Z&&(X.placeholderPattern===!1||!(X.placeholderPattern||TQ1).test(V))&&!((H=X.placeholderWhitelist)!=null&&H.has(V)))return;J=J.slice();let{node:Q,key:W}=J[J.length-1],Y;if(EW(G)||T0(G,{expectedNode:"StringLiteral"}))Y="string";else if(fQ1(Q)&&W==="arguments"||OQ1(Q)&&W==="arguments"||CQ1(Q)&&W==="params")Y="param";else if(AQ1(Q)&&!T0(G))Y="statement",J=J.slice(0,-1);else if(IQ1(G)&&T0(G))Y="statement";else Y="other";let{placeholders:z,placeholderNames:U}=!Z?X.legacy:X.syntactic;z.push({name:V,type:Y,resolve:(q)=>bQ1(q,J),isDuplicate:U.has(V)}),U.add(V)}function bQ1(G,J){let X=G;for(let Z=0;Z<J.length-1;Z++){let{key:Q,index:W}=J[Z];if(W===void 0)X=X[Q];else X=X[Q][W]}let{key:H,index:V}=J[J.length-1];return{parent:X,key:H,index:V}}function kQ1(G,J,X){let H=(J.plugins||[]).slice();if(X!==!1)H.push("placeholders");J=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},J,{plugins:H});try{return qQ1.parse(G,J)}catch(V){let Z=V.loc;if(Z)V.message+=`
35
+ `+jQ1.codeFrameColumns(G,{start:Z}),V.code="BABEL_TEMPLATE_PARSE_ERROR";throw V}}});var j6=f((uW)=>{Object.defineProperty(uW,"__esModule",{value:!0});uW.default=yQ1;var EQ1=W1(),{blockStatement:gQ1,cloneNode:q6,emptyStatement:_Q1,expressionStatement:F6,identifier:w0,isStatement:_W,isStringLiteral:hQ1,stringLiteral:uQ1,validate:hW}=EQ1;function yQ1(G,J){let X=q6(G.ast);if(J)G.placeholders.forEach((H)=>{if(!hasOwnProperty.call(J,H.name)){let V=H.name;throw new Error(`Error: No substitution given for "${V}". If this is not meant to be a
8
36
  placeholder you may want to consider passing one of the following options to @babel/template:
9
37
  - { placeholderPattern: false, placeholderWhitelist: new Set(['${V}'])}
10
- - { placeholderPattern: /^${V}\$/ }`)}}),Object.keys(G).forEach((H)=>{if(!J.placeholderNames.has(H))throw new Error(`Unknown substitution "${H}" given`)});return J.placeholders.slice().reverse().forEach((H)=>{try{pQ1(H,X,G&&G[H.name]||null)}catch(V){throw V.message=`@babel/template placeholder "${H.name}": ${V.message}`,V}}),X}function pQ1(J,G,X){if(J.isDuplicate){if(Array.isArray(X))X=X.map((Y)=>yJ(Y));else if(typeof X==="object")X=yJ(X)}let{parent:H,key:V,index:Z}=J.resolve(G);if(J.type==="string"){if(typeof X==="string")X=iQ1(X);if(!X||!lQ1(X))throw new Error("Expected string substitution")}else if(J.type==="statement"){if(Z===void 0){if(!X)X=cQ1();else if(Array.isArray(X))X=mQ1(X);else if(typeof X==="string")X=hJ(l9(X));else if(!PY(X))X=hJ(X)}else if(X&&!Array.isArray(X)){if(typeof X==="string")X=l9(X);if(!PY(X))X=hJ(X)}}else if(J.type==="param"){if(typeof X==="string")X=l9(X);if(Z===void 0)throw new Error("Assertion failure.")}else{if(typeof X==="string")X=l9(X);if(Array.isArray(X))throw new Error("Cannot replace single expression with an array.")}function Q(Y,W,z){let U=Y[W];if(Y[W]=z,U.type==="Identifier"||U.type==="Placeholder"){if(U.typeAnnotation)z.typeAnnotation=U.typeAnnotation;if(U.optional)z.optional=U.optional;if(U.decorators)z.decorators=U.decorators}}if(Z===void 0)fY(H,V,X),Q(H,V,X);else{let Y=H[V].slice();if(J.type==="statement"||J.type==="param")if(X==null)Y.splice(Z,1);else if(Array.isArray(X))Y.splice(Z,1,...X);else Q(Y,Z,X);else Q(Y,Z,X);fY(H,V,Y),H[V]=Y}}});var wY=C((TY)=>{Object.defineProperty(TY,"__esModule",{value:!0});TY.default=nQ1;var dQ1=m9(),sQ1=uJ(),tQ1=xJ();function nQ1(J,G,X){G=J.code(G);let H;return(V)=>{let Z=dQ1.normalizeReplacements(V);if(!H)H=sQ1.default(J,G,X);return J.unwrap(tQ1.default(H,Z))}}});var kY=C((LY)=>{Object.defineProperty(LY,"__esModule",{value:!0});LY.default=XY1;var eQ1=m9(),JY1=uJ(),GY1=xJ();function XY1(J,G,X){let{metadata:H,names:V}=HY1(J,G,X);return(Z)=>{let Q={};return Z.forEach((Y,W)=>{Q[V[W]]=Y}),(Y)=>{let W=eQ1.normalizeReplacements(Y);if(W)Object.keys(W).forEach((z)=>{if(hasOwnProperty.call(Q,z))throw new Error("Unexpected replacement overlap.")});return J.unwrap(GY1.default(H,W?Object.assign(W,Q):Q))}}}function HY1(J,G,X){let H="BABEL_TPL$",V=G.join("");do H="$$"+H;while(V.includes(H));let{names:Z,code:Q}=VY1(G,H);return{metadata:JY1.default(J,J.code(Q),{parser:X.parser,placeholderWhitelist:new Set(Z.concat(X.placeholderWhitelist?Array.from(X.placeholderWhitelist):[])),placeholderPattern:X.placeholderPattern,preserveComments:X.preserveComments,syntacticPlaceholders:X.syntacticPlaceholders}),names:Z}}function VY1(J,G){let X=[],H=J[0];for(let V=1;V<J.length;V++){let Z=`${G}${V-1}`;X.push(Z),H+=Z+J[V]}return{names:X,code:H}}});var hY=C((uY)=>{Object.defineProperty(uY,"__esModule",{value:!0});uY.default=_Y;var A2=m9(),bY=wY(),EY=kY(),vY=A2.validate({placeholderPattern:!1});function _Y(J,G){let X=new WeakMap,H=new WeakMap,V=G||A2.validate(null);return Object.assign((Z,...Q)=>{if(typeof Z==="string"){if(Q.length>1)throw new Error("Unexpected extra params.");return gY(bY.default(J,Z,A2.merge(V,A2.validate(Q[0]))))}else if(Array.isArray(Z)){let Y=X.get(Z);if(!Y)Y=EY.default(J,Z,V),X.set(Z,Y);return gY(Y(Q))}else if(typeof Z==="object"&&Z){if(Q.length>0)throw new Error("Unexpected extra params.");return _Y(J,A2.merge(V,A2.validate(Z)))}throw new Error(`Unexpected template param ${typeof Z}`)},{ast:(Z,...Q)=>{if(typeof Z==="string"){if(Q.length>1)throw new Error("Unexpected extra params.");return bY.default(J,Z,A2.merge(A2.merge(V,A2.validate(Q[0])),vY))()}else if(Array.isArray(Z)){let Y=H.get(Z);if(!Y)Y=EY.default(J,Z,A2.merge(V,vY)),H.set(Z,Y);return Y(Q)()}throw new Error(`Unexpected template param ${typeof Z}`)}})}function gY(J){let G="";try{throw new Error}catch(X){if(X.stack)G=X.stack.split("\n").slice(3).join("\n")}return(X)=>{try{return J(X)}catch(H){throw H.stack+=`\n =============\n${G}`,H}}}});var mY=C((yY)=>{Object.defineProperty(yY,"__esModule",{value:!0});yY.statements=yY.statement=yY.smart=yY.program=yY.expression=yY.default=void 0;var A5=CY(),C5=hY(),mJ=yY.smart=C5.default(A5.smart),YY1=yY.statement=C5.default(A5.statement),WY1=yY.statements=C5.default(A5.statements),zY1=yY.expression=C5.default(A5.expression),KY1=yY.program=C5.default(A5.program),Xj1=yY.default=Object.assign(mJ.bind(void 0),{smart:mJ,statement:YY1,statements:WY1,expression:zY1,program:KY1,ast:mJ.ast})});var tY=C((sY)=>{Object.defineProperty(sY,"__esModule",{value:!0});sY.arrowFunctionToExpression=aY1;sY.ensureBlock=cY1;sY.ensureFunctionName=HW1;sY.splitExportDeclaration=GW1;sY.toComputedKey=mY1;sY.unwrapFunctionEnvironment=lY1;var qY1=W1(),FY1=mY(),iJ=M5(),jY1=O2(),{arrowFunctionExpression:aJ,assignmentExpression:K0,binaryExpression:cJ,blockStatement:OY1,callExpression:E0,conditionalExpression:AY1,expressionStatement:iY,identifier:A1,isIdentifier:CY1,jsxIdentifier:DY1,logicalExpression:SY1,LOGICAL_OPERATORS:IY1,memberExpression:R2,metaProperty:PY1,numericLiteral:fY1,objectExpression:NY1,restElement:TY1,returnStatement:wY1,sequenceExpression:LY1,spreadElement:kY1,stringLiteral:aY,super:lJ,thisExpression:D5,toExpression:pY,unaryExpression:bY1,toBindingIdentifierName:EY1,isFunction:vY1,isAssignmentPattern:gY1,isRestElement:_Y1,getFunctionName:uY1,cloneNode:U0,variableDeclaration:hY1,variableDeclarator:yY1,exportNamedDeclaration:cY,exportSpecifier:lY,inherits:xY1}=qY1;function mY1(){let J;if(this.isMemberExpression())J=this.node.property;else if(this.isProperty()||this.isMethod())J=this.node.key;else throw new ReferenceError("todo");if(!this.node.computed){if(CY1(J))J=aY(J.name)}return J}function cY1(){let J=this.get("body"),G=J.node;if(Array.isArray(J))throw new Error("Can't convert array path to a block statement");if(!G)throw new Error("Can't convert node without a body");if(J.isBlockStatement())return G;let X=[],H="body",V,Z;if(J.isStatement())Z="body",V=0,X.push(J.node);else if(H+=".body.0",this.isFunction())V="argument",X.push(wY1(J.node));else V="expression",X.push(iY(J.node));this.node.body=OY1(X);let Q=this.get(H);return jY1.setup.call(J,Q,Z?Q.node[Z]:Q.node,Z,V),this.node}sY.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()};function lY1(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");rY(this)}function iY1(J,G){J.node.type=G}function aY1({allowInsertArrow:J=!0,allowInsertArrowWithRest:G=J,noNewArrows:X=!((H)=>(H=arguments[0])==null?void 0:H.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let H=this;if(!X){var V;H=(V=H.ensureFunctionName(!1))!=null?V:H}let{thisBinding:Z,fnPath:Q}=rY(H,X,J,G);if(Q.ensureBlock(),iY1(Q,"FunctionExpression"),!X){let Y=Z?null:Q.scope.generateUidIdentifier("arrowCheckId");if(Y)Q.parentPath.scope.push({id:Y,init:NY1([])});return Q.get("body").unshiftContainer("body",iY(E0(this.hub.addHelper("newArrowCheck"),[D5(),Y?A1(Y.name):A1(Z)]))),Q.replaceWith(E0(R2(Q.node,A1("bind")),[Y?A1(Y.name):D5()])),Q.get("callee.object")}return Q}var pY1=iJ.environmentVisitor({CallExpression(J,{allSuperCalls:G}){if(!J.get("callee").isSuper())return;G.push(J)}});function rY(J,G=!0,X=!0,H=!0){let V,Z=J.findParent((D)=>{if(D.isArrowFunctionExpression()){var I;return(I=V)!=null||(V=D),!1}return D.isFunction()||D.isProgram()||D.isClassProperty({static:!1})||D.isClassPrivateProperty({static:!1})}),Q=Z.isClassMethod({kind:"constructor"});if(Z.isClassProperty()||Z.isClassPrivateProperty())if(V)Z=V;else if(X)J.replaceWith(E0(aJ([],pY(J.node)),[])),Z=J.get("callee"),J=Z.get("body");else throw J.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:Y,argumentsPaths:W,newTargetPaths:z,superProps:U,superCalls:F}=JW1(J);if(Q&&F.length>0){if(!X)throw F[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!H)throw F[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");let D=[];Z.traverse(pY1,{allSuperCalls:D});let I=nY1(Z);D.forEach((_)=>{let f=A1(I);f.loc=_.node.callee.loc,_.get("callee").replaceWith(f)})}if(W.length>0){let D=S5(Z,"arguments",()=>{let I=()=>A1("arguments");if(Z.scope.path.isProgram())return AY1(cJ("===",bY1("typeof",I()),aY("undefined")),Z.scope.buildUndefinedNode(),I());else return I()});W.forEach((I)=>{let _=A1(D);_.loc=I.node.loc,I.replaceWith(_)})}if(z.length>0){let D=S5(Z,"newtarget",()=>PY1(A1("new"),A1("target")));z.forEach((I)=>{let _=A1(D);_.loc=I.node.loc,I.replaceWith(_)})}if(U.length>0){if(!X)throw U[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");U.reduce((I,_)=>I.concat(dY1(_)),[]).forEach((I)=>{let _=I.node.computed?"":I.get("property").node.name,f=I.parentPath,w=f.isAssignmentExpression({left:I.node}),k=f.isCallExpression({callee:I.node}),Q1=f.isTaggedTemplateExpression({tag:I.node}),d=oY1(Z,w,_),Y1=[];if(I.node.computed)Y1.push(I.get("property").node);if(w){let T1=f.node.right;Y1.push(T1)}let $1=E0(A1(d),Y1);if(k)f.unshiftContainer("arguments",D5()),I.replaceWith(R2($1,A1("call"))),Y.push(f.get("arguments.0"));else if(w)f.replaceWith($1);else if(Q1)I.replaceWith(E0(R2($1,A1("bind"),!1),[D5()])),Y.push(I.get("arguments.0"));else I.replaceWith($1)})}let A;if(Y.length>0||!G){if(A=tY1(Z,Q),G||Q&&dY(Z)){if(Y.forEach((D)=>{let I=D.isJSX()?DY1(A):A1(A);I.loc=D.node.loc,D.replaceWith(I)}),!G)A=null}}return{thisBinding:A,fnPath:J}}function rY1(J){return IY1.includes(J)}function dY1(J){if(J.parentPath.isAssignmentExpression()&&J.parentPath.node.operator!=="="){let X=J.parentPath,H=X.node.operator.slice(0,-1),V=X.node.right,Z=rY1(H);if(J.node.computed){let Q=J.scope.generateDeclaredUidIdentifier("tmp"),Y=J.node.object,W=J.node.property;X.get("left").replaceWith(R2(Y,K0("=",Q,W),!0)),X.get("right").replaceWith(G(Z?"=":H,R2(Y,A1(Q.name),!0),V))}else{let Q=J.node.object,Y=J.node.property;X.get("left").replaceWith(R2(Q,Y)),X.get("right").replaceWith(G(Z?"=":H,R2(Q,A1(Y.name)),V))}if(Z)X.replaceWith(SY1(H,X.node.left,X.node.right));else X.node.operator="=";return[X.get("left"),X.get("right").get("left")]}else if(J.parentPath.isUpdateExpression()){let X=J.parentPath,H=J.scope.generateDeclaredUidIdentifier("tmp"),V=J.node.computed?J.scope.generateDeclaredUidIdentifier("prop"):null,Z=[K0("=",H,R2(J.node.object,V?K0("=",V,J.node.property):J.node.property,J.node.computed)),K0("=",R2(J.node.object,V?A1(V.name):J.node.property,J.node.computed),cJ(J.parentPath.node.operator[0],A1(H.name),fY1(1)))];if(!J.parentPath.node.prefix)Z.push(A1(H.name));X.replaceWith(LY1(Z));let Q=X.get("expressions.0.right"),Y=X.get("expressions.1.left");return[Q,Y]}return[J];function G(X,H,V){if(X==="=")return K0("=",H,V);else return cJ(X,H,V)}}function dY(J){return J.isClassMethod()&&!!J.parentPath.parentPath.node.superClass}var sY1=iJ.environmentVisitor({CallExpression(J,{supers:G,thisBinding:X}){if(!J.get("callee").isSuper())return;if(G.has(J.node))return;G.add(J.node),J.replaceWithMultiple([J.node,K0("=",A1(X),A1("this"))])}});function tY1(J,G){return S5(J,"this",(X)=>{if(!G||!dY(J))return D5();J.traverse(sY1,{supers:new WeakSet,thisBinding:X})})}function nY1(J){return S5(J,"supercall",()=>{let G=J.scope.generateUidIdentifier("args");return aJ([TY1(G)],E0(lJ(),[kY1(A1(G.name))]))})}function oY1(J,G,X){return S5(J,`superprop_${G?"set":"get"}:${X||""}`,()=>{let V=[],Z;if(X)Z=R2(lJ(),A1(X));else{let Q=J.scope.generateUidIdentifier("prop");V.unshift(Q),Z=R2(lJ(),A1(Q.name),!0)}if(G){let Q=J.scope.generateUidIdentifier("value");V.push(Q),Z=K0("=",Z,A1(Q.name))}return aJ(V,Z)})}function S5(J,G,X){let H="binding:"+G,V=J.getData(H);if(!V){let Z=J.scope.generateUidIdentifier(G);V=Z.name,J.setData(H,V),J.scope.push({id:Z,init:X(V)})}return V}var eY1=iJ.environmentVisitor({ThisExpression(J,{thisPaths:G}){G.push(J)},JSXIdentifier(J,{thisPaths:G}){if(J.node.name!=="this")return;if(!J.parentPath.isJSXMemberExpression({object:J.node})&&!J.parentPath.isJSXOpeningElement({name:J.node}))return;G.push(J)},CallExpression(J,{superCalls:G}){if(J.get("callee").isSuper())G.push(J)},MemberExpression(J,{superProps:G}){if(J.get("object").isSuper())G.push(J)},Identifier(J,{argumentsPaths:G}){if(!J.isReferencedIdentifier({name:"arguments"}))return;let X=J.scope;do{if(X.hasOwnBinding("arguments")){X.rename("arguments");return}if(X.path.isFunction()&&!X.path.isArrowFunctionExpression())break}while(X=X.parent);G.push(J)},MetaProperty(J,{newTargetPaths:G}){if(!J.get("meta").isIdentifier({name:"new"}))return;if(!J.get("property").isIdentifier({name:"target"}))return;G.push(J)}});function JW1(J){let G=[],X=[],H=[],V=[],Z=[];return J.traverse(eY1,{thisPaths:G,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}),{thisPaths:G,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}}function GW1(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let J=this.get("declaration");if(this.isExportDefaultDeclaration()){let V=J.isFunctionDeclaration()||J.isClassDeclaration(),Z=J.isFunctionExpression()||J.isClassExpression(),Q=J.isScope()?J.scope.parent:J.scope,Y=J.node.id,W=!1;if(!Y){if(W=!0,Y=Q.generateUidIdentifier("default"),V||Z)J.node.id=U0(Y)}else if(Z&&Q.hasBinding(Y.name))W=!0,Y=Q.generateUidIdentifier(Y.name);let z=V?J.node:hY1("var",[yY1(U0(Y),J.node)]),U=cY(null,[lY(U0(Y),A1("default"))]);if(this.insertAfter(U),this.replaceWith(z),W)Q.registerDeclaration(this);return this}else if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let G=J.getOuterBindingIdentifiers(),X=Object.keys(G).map((V)=>{return lY(A1(V),A1(V))}),H=cY(null,X);return this.insertAfter(H),this.replaceWith(J.node),this}var XW1={"ReferencedIdentifier|BindingIdentifier"(J,G){if(J.node.name!==G.name)return;G.needsRename=!0,J.stop()},Scope(J,G){if(J.scope.hasOwnBinding(G.name))J.skip()}};function HW1(J){if(this.node.id)return this;let G=uY1(this.node,this.parent);if(G==null)return this;let{name:X}=G;if(!J&&/[\uD800-\uDFFF]/.test(X))return null;if(X.startsWith("get ")||X.startsWith("set "))return null;X=EY1(X.replace(/[/ ]/g,"_"));let H=A1(X);xY1(H,G.originalNode);let V={needsRename:!1,name:X},{scope:Z}=this,Q=Z.getOwnBinding(X);if(Q){if(Q.kind==="param")V.needsRename=!0}else if(Z.parent.hasBinding(X)||Z.hasGlobal(X))this.traverse(XW1,V);if(!V.needsRename)return this.node.id=H,Z.getProgramParent().references[H.name]=!0,this;if(Z.hasBinding(H.name)&&!Z.hasGlobal(H.name))return Z.rename(H.name),this.node.id=H,Z.getProgramParent().references[H.name]=!0,this;if(!vY1(this.node))return null;let Y=Z.generateUidIdentifier(H.name),W=[];for(let U=0,F=VW1(this.node);U<F;U++)W.push(Z.generateUidIdentifier("x"));let z=FY1.default.expression.ast`
11
- (function (${Y}) {
12
- function ${H}(${W}) {
13
- return ${U0(Y)}.apply(this, arguments);
38
+ - { placeholderPattern: /^${V}$/ }`)}}),Object.keys(J).forEach((H)=>{if(!G.placeholderNames.has(H))throw new Error(`Unknown substitution "${H}" given`)});return G.placeholders.slice().reverse().forEach((H)=>{try{xQ1(H,X,J&&J[H.name]||null)}catch(V){throw V.message=`@babel/template placeholder "${H.name}": ${V.message}`,V}}),X}function xQ1(G,J,X){if(G.isDuplicate){if(Array.isArray(X))X=X.map((W)=>q6(W));else if(typeof X==="object")X=q6(X)}let{parent:H,key:V,index:Z}=G.resolve(J);if(G.type==="string"){if(typeof X==="string")X=uQ1(X);if(!X||!hQ1(X))throw new Error("Expected string substitution")}else if(G.type==="statement"){if(Z===void 0){if(!X)X=_Q1();else if(Array.isArray(X))X=gQ1(X);else if(typeof X==="string")X=F6(w0(X));else if(!_W(X))X=F6(X)}else if(X&&!Array.isArray(X)){if(typeof X==="string")X=w0(X);if(!_W(X))X=F6(X)}}else if(G.type==="param"){if(typeof X==="string")X=w0(X);if(Z===void 0)throw new Error("Assertion failure.")}else{if(typeof X==="string")X=w0(X);if(Array.isArray(X))throw new Error("Cannot replace single expression with an array.")}function Q(W,Y,z){let U=W[Y];if(W[Y]=z,U.type==="Identifier"||U.type==="Placeholder"){if(U.typeAnnotation)z.typeAnnotation=U.typeAnnotation;if(U.optional)z.optional=U.optional;if(U.decorators)z.decorators=U.decorators}}if(Z===void 0)hW(H,V,X),Q(H,V,X);else{let W=H[V].slice();if(G.type==="statement"||G.type==="param")if(X==null)W.splice(Z,1);else if(Array.isArray(X))W.splice(Z,1,...X);else Q(W,Z,X);else Q(W,Z,X);hW(H,V,W),H[V]=W}}});var xW=f((yW)=>{Object.defineProperty(yW,"__esModule",{value:!0});yW.default=aQ1;var cQ1=N0(),lQ1=$6(),iQ1=j6();function aQ1(G,J,X){J=G.code(J);let H;return(V)=>{let Z=cQ1.normalizeReplacements(V);if(!H)H=lQ1.default(G,J,X);return G.unwrap(iQ1.default(H,Z))}}});var cW=f((mW)=>{Object.defineProperty(mW,"__esModule",{value:!0});mW.default=tQ1;var rQ1=N0(),sQ1=$6(),dQ1=j6();function tQ1(G,J,X){let{metadata:H,names:V}=nQ1(G,J,X);return(Z)=>{let Q={};return Z.forEach((W,Y)=>{Q[V[Y]]=W}),(W)=>{let Y=rQ1.normalizeReplacements(W);if(Y)Object.keys(Y).forEach((z)=>{if(hasOwnProperty.call(Q,z))throw new Error("Unexpected replacement overlap.")});return G.unwrap(dQ1.default(H,Y?Object.assign(Y,Q):Q))}}}function nQ1(G,J,X){let H="BABEL_TPL$",V=J.join("");do H="$$"+H;while(V.includes(H));let{names:Z,code:Q}=oQ1(J,H);return{metadata:sQ1.default(G,G.code(Q),{parser:X.parser,placeholderWhitelist:new Set(Z.concat(X.placeholderWhitelist?Array.from(X.placeholderWhitelist):[])),placeholderPattern:X.placeholderPattern,preserveComments:X.preserveComments,syntacticPlaceholders:X.syntacticPlaceholders}),names:Z}}function oQ1(G,J){let X=[],H=G[0];for(let V=1;V<G.length;V++){let Z=`${J}${V-1}`;X.push(Z),H+=Z+G[V]}return{names:X,code:H}}});var dW=f((sW)=>{Object.defineProperty(sW,"__esModule",{value:!0});sW.default=rW;var $G=N0(),lW=xW(),iW=cW(),aW=$G.validate({placeholderPattern:!1});function rW(G,J){let X=new WeakMap,H=new WeakMap,V=J||$G.validate(null);return Object.assign((Z,...Q)=>{if(typeof Z==="string"){if(Q.length>1)throw new Error("Unexpected extra params.");return pW(lW.default(G,Z,$G.merge(V,$G.validate(Q[0]))))}else if(Array.isArray(Z)){let W=X.get(Z);if(!W)W=iW.default(G,Z,V),X.set(Z,W);return pW(W(Q))}else if(typeof Z==="object"&&Z){if(Q.length>0)throw new Error("Unexpected extra params.");return rW(G,$G.merge(V,$G.validate(Z)))}throw new Error(`Unexpected template param ${typeof Z}`)},{ast:(Z,...Q)=>{if(typeof Z==="string"){if(Q.length>1)throw new Error("Unexpected extra params.");return lW.default(G,Z,$G.merge($G.merge(V,$G.validate(Q[0])),aW))()}else if(Array.isArray(Z)){let W=H.get(Z);if(!W)W=iW.default(G,Z,$G.merge(V,aW)),H.set(Z,W);return W(Q)()}throw new Error(`Unexpected template param ${typeof Z}`)}})}function pW(G){let J="";try{throw new Error}catch(X){if(X.stack)J=X.stack.split(`
39
+ `).slice(3).join(`
40
+ `)}return(X)=>{try{return G(X)}catch(H){throw H.stack+=`
41
+ =============
42
+ ${J}`,H}}}});var oW=f((tW)=>{Object.defineProperty(tW,"__esModule",{value:!0});tW.statements=tW.statement=tW.smart=tW.program=tW.expression=tW.default=void 0;var KX=kW(),UX=dW(),O6=tW.smart=UX.default(KX.smart),JW1=tW.statement=UX.default(KX.statement),XW1=tW.statements=UX.default(KX.statements),HW1=tW.expression=UX.default(KX.expression),VW1=tW.program=UX.default(KX.program),xF1=tW.default=Object.assign(O6.bind(void 0),{smart:O6,statement:JW1,statements:XW1,expression:HW1,program:VW1,ast:O6.ast})});var WY=f((QY)=>{Object.defineProperty(QY,"__esModule",{value:!0});QY.arrowFunctionToExpression=yW1;QY.ensureBlock=_W1;QY.ensureFunctionName=nW1;QY.splitExportDeclaration=dW1;QY.toComputedKey=gW1;QY.unwrapFunctionEnvironment=hW1;var KW1=W1(),UW1=oW(),D6=WX(),RW1=MG(),{arrowFunctionExpression:S6,assignmentExpression:ZJ,binaryExpression:A6,blockStatement:BW1,callExpression:IJ,conditionalExpression:MW1,expressionStatement:JY,identifier:O1,isIdentifier:$W1,jsxIdentifier:FW1,logicalExpression:qW1,LOGICAL_OPERATORS:jW1,memberExpression:YG,metaProperty:OW1,numericLiteral:AW1,objectExpression:CW1,restElement:DW1,returnStatement:SW1,sequenceExpression:fW1,spreadElement:IW1,stringLiteral:XY,super:C6,thisExpression:RX,toExpression:HY,unaryExpression:PW1,toBindingIdentifierName:NW1,isFunction:TW1,isAssignmentPattern:wW1,isRestElement:LW1,getFunctionName:bW1,cloneNode:QJ,variableDeclaration:kW1,variableDeclarator:vW1,exportNamedDeclaration:eW,exportSpecifier:GY,inherits:EW1}=KW1;function gW1(){let G;if(this.isMemberExpression())G=this.node.property;else if(this.isProperty()||this.isMethod())G=this.node.key;else throw new ReferenceError("todo");if(!this.node.computed){if($W1(G))G=XY(G.name)}return G}function _W1(){let G=this.get("body"),J=G.node;if(Array.isArray(G))throw new Error("Can't convert array path to a block statement");if(!J)throw new Error("Can't convert node without a body");if(G.isBlockStatement())return J;let X=[],H="body",V,Z;if(G.isStatement())Z="body",V=0,X.push(G.node);else if(H+=".body.0",this.isFunction())V="argument",X.push(SW1(G.node));else V="expression",X.push(JY(G.node));this.node.body=BW1(X);let Q=this.get(H);return RW1.setup.call(G,Q,Z?Q.node[Z]:Q.node,Z,V),this.node}QY.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()};function hW1(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");VY(this)}function uW1(G,J){G.node.type=J}function yW1({allowInsertArrow:G=!0,allowInsertArrowWithRest:J=G,noNewArrows:X=!((H)=>(H=arguments[0])==null?void 0:H.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let H=this;if(!X){var V;H=(V=H.ensureFunctionName(!1))!=null?V:H}let{thisBinding:Z,fnPath:Q}=VY(H,X,G,J);if(Q.ensureBlock(),uW1(Q,"FunctionExpression"),!X){let W=Z?null:Q.scope.generateUidIdentifier("arrowCheckId");if(W)Q.parentPath.scope.push({id:W,init:CW1([])});return Q.get("body").unshiftContainer("body",JY(IJ(this.hub.addHelper("newArrowCheck"),[RX(),W?O1(W.name):O1(Z)]))),Q.replaceWith(IJ(YG(Q.node,O1("bind")),[W?O1(W.name):RX()])),Q.get("callee.object")}return Q}var xW1=D6.environmentVisitor({CallExpression(G,{allSuperCalls:J}){if(!G.get("callee").isSuper())return;J.push(G)}});function VY(G,J=!0,X=!0,H=!0){let V,Z=G.findParent((C)=>{if(C.isArrowFunctionExpression()){var D;return(D=V)!=null||(V=C),!1}return C.isFunction()||C.isProgram()||C.isClassProperty({static:!1})||C.isClassPrivateProperty({static:!1})}),Q=Z.isClassMethod({kind:"constructor"});if(Z.isClassProperty()||Z.isClassPrivateProperty())if(V)Z=V;else if(X)G.replaceWith(IJ(S6([],HY(G.node)),[])),Z=G.get("callee"),G=Z.get("body");else throw G.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:W,argumentsPaths:Y,newTargetPaths:z,superProps:U,superCalls:q}=sW1(G);if(Q&&q.length>0){if(!X)throw q[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!H)throw q[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");let C=[];Z.traverse(xW1,{allSuperCalls:C});let D=aW1(Z);C.forEach((L)=>{let P=O1(D);P.loc=L.node.callee.loc,L.get("callee").replaceWith(P)})}if(Y.length>0){let C=BX(Z,"arguments",()=>{let D=()=>O1("arguments");if(Z.scope.path.isProgram())return MW1(A6("===",PW1("typeof",D()),XY("undefined")),Z.scope.buildUndefinedNode(),D());else return D()});Y.forEach((D)=>{let L=O1(C);L.loc=D.node.loc,D.replaceWith(L)})}if(z.length>0){let C=BX(Z,"newtarget",()=>OW1(O1("new"),O1("target")));z.forEach((D)=>{let L=O1(C);L.loc=D.node.loc,D.replaceWith(L)})}if(U.length>0){if(!X)throw U[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");U.reduce((D,L)=>D.concat(cW1(L)),[]).forEach((D)=>{let L=D.node.computed?"":D.get("property").node.name,P=D.parentPath,w=P.isAssignmentExpression({left:D.node}),b=P.isCallExpression({callee:D.node}),X1=P.isTaggedTemplateExpression({tag:D.node}),r=pW1(Z,w,L),H1=[];if(D.node.computed)H1.push(D.get("property").node);if(w){let L1=P.node.right;H1.push(L1)}let $1=IJ(O1(r),H1);if(b)P.unshiftContainer("arguments",RX()),D.replaceWith(YG($1,O1("call"))),W.push(P.get("arguments.0"));else if(w)P.replaceWith($1);else if(X1)D.replaceWith(IJ(YG($1,O1("bind"),!1),[RX()])),W.push(D.get("arguments.0"));else D.replaceWith($1)})}let A;if(W.length>0||!J){if(A=iW1(Z,Q),J||Q&&ZY(Z)){if(W.forEach((C)=>{let D=C.isJSX()?FW1(A):O1(A);D.loc=C.node.loc,C.replaceWith(D)}),!J)A=null}}return{thisBinding:A,fnPath:G}}function mW1(G){return jW1.includes(G)}function cW1(G){if(G.parentPath.isAssignmentExpression()&&G.parentPath.node.operator!=="="){let X=G.parentPath,H=X.node.operator.slice(0,-1),V=X.node.right,Z=mW1(H);if(G.node.computed){let Q=G.scope.generateDeclaredUidIdentifier("tmp"),W=G.node.object,Y=G.node.property;X.get("left").replaceWith(YG(W,ZJ("=",Q,Y),!0)),X.get("right").replaceWith(J(Z?"=":H,YG(W,O1(Q.name),!0),V))}else{let Q=G.node.object,W=G.node.property;X.get("left").replaceWith(YG(Q,W)),X.get("right").replaceWith(J(Z?"=":H,YG(Q,O1(W.name)),V))}if(Z)X.replaceWith(qW1(H,X.node.left,X.node.right));else X.node.operator="=";return[X.get("left"),X.get("right").get("left")]}else if(G.parentPath.isUpdateExpression()){let X=G.parentPath,H=G.scope.generateDeclaredUidIdentifier("tmp"),V=G.node.computed?G.scope.generateDeclaredUidIdentifier("prop"):null,Z=[ZJ("=",H,YG(G.node.object,V?ZJ("=",V,G.node.property):G.node.property,G.node.computed)),ZJ("=",YG(G.node.object,V?O1(V.name):G.node.property,G.node.computed),A6(G.parentPath.node.operator[0],O1(H.name),AW1(1)))];if(!G.parentPath.node.prefix)Z.push(O1(H.name));X.replaceWith(fW1(Z));let Q=X.get("expressions.0.right"),W=X.get("expressions.1.left");return[Q,W]}return[G];function J(X,H,V){if(X==="=")return ZJ("=",H,V);else return A6(X,H,V)}}function ZY(G){return G.isClassMethod()&&!!G.parentPath.parentPath.node.superClass}var lW1=D6.environmentVisitor({CallExpression(G,{supers:J,thisBinding:X}){if(!G.get("callee").isSuper())return;if(J.has(G.node))return;J.add(G.node),G.replaceWithMultiple([G.node,ZJ("=",O1(X),O1("this"))])}});function iW1(G,J){return BX(G,"this",(X)=>{if(!J||!ZY(G))return RX();G.traverse(lW1,{supers:new WeakSet,thisBinding:X})})}function aW1(G){return BX(G,"supercall",()=>{let J=G.scope.generateUidIdentifier("args");return S6([DW1(J)],IJ(C6(),[IW1(O1(J.name))]))})}function pW1(G,J,X){return BX(G,`superprop_${J?"set":"get"}:${X||""}`,()=>{let V=[],Z;if(X)Z=YG(C6(),O1(X));else{let Q=G.scope.generateUidIdentifier("prop");V.unshift(Q),Z=YG(C6(),O1(Q.name),!0)}if(J){let Q=G.scope.generateUidIdentifier("value");V.push(Q),Z=ZJ("=",Z,O1(Q.name))}return S6(V,Z)})}function BX(G,J,X){let H="binding:"+J,V=G.getData(H);if(!V){let Z=G.scope.generateUidIdentifier(J);V=Z.name,G.setData(H,V),G.scope.push({id:Z,init:X(V)})}return V}var rW1=D6.environmentVisitor({ThisExpression(G,{thisPaths:J}){J.push(G)},JSXIdentifier(G,{thisPaths:J}){if(G.node.name!=="this")return;if(!G.parentPath.isJSXMemberExpression({object:G.node})&&!G.parentPath.isJSXOpeningElement({name:G.node}))return;J.push(G)},CallExpression(G,{superCalls:J}){if(G.get("callee").isSuper())J.push(G)},MemberExpression(G,{superProps:J}){if(G.get("object").isSuper())J.push(G)},Identifier(G,{argumentsPaths:J}){if(!G.isReferencedIdentifier({name:"arguments"}))return;let X=G.scope;do{if(X.hasOwnBinding("arguments")){X.rename("arguments");return}if(X.path.isFunction()&&!X.path.isArrowFunctionExpression())break}while(X=X.parent);J.push(G)},MetaProperty(G,{newTargetPaths:J}){if(!G.get("meta").isIdentifier({name:"new"}))return;if(!G.get("property").isIdentifier({name:"target"}))return;J.push(G)}});function sW1(G){let J=[],X=[],H=[],V=[],Z=[];return G.traverse(rW1,{thisPaths:J,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}),{thisPaths:J,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}}function dW1(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let G=this.get("declaration");if(this.isExportDefaultDeclaration()){let V=G.isFunctionDeclaration()||G.isClassDeclaration(),Z=G.isFunctionExpression()||G.isClassExpression(),Q=G.isScope()?G.scope.parent:G.scope,W=G.node.id,Y=!1;if(!W){if(Y=!0,W=Q.generateUidIdentifier("default"),V||Z)G.node.id=QJ(W)}else if(Z&&Q.hasBinding(W.name))Y=!0,W=Q.generateUidIdentifier(W.name);let z=V?G.node:kW1("var",[vW1(QJ(W),G.node)]),U=eW(null,[GY(QJ(W),O1("default"))]);if(this.insertAfter(U),this.replaceWith(z),Y)Q.registerDeclaration(this);return this}else if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let J=G.getOuterBindingIdentifiers(),X=Object.keys(J).map((V)=>{return GY(O1(V),O1(V))}),H=eW(null,X);return this.insertAfter(H),this.replaceWith(G.node),this}var tW1={"ReferencedIdentifier|BindingIdentifier"(G,J){if(G.node.name!==J.name)return;J.needsRename=!0,G.stop()},Scope(G,J){if(G.scope.hasOwnBinding(J.name))G.skip()}};function nW1(G){if(this.node.id)return this;let J=bW1(this.node,this.parent);if(J==null)return this;let{name:X}=J;if(!G&&/[\uD800-\uDFFF]/.test(X))return null;if(X.startsWith("get ")||X.startsWith("set "))return null;X=NW1(X.replace(/[/ ]/g,"_"));let H=O1(X);EW1(H,J.originalNode);let V={needsRename:!1,name:X},{scope:Z}=this,Q=Z.getOwnBinding(X);if(Q){if(Q.kind==="param")V.needsRename=!0}else if(Z.parent.hasBinding(X)||Z.hasGlobal(X))this.traverse(tW1,V);if(!V.needsRename)return this.node.id=H,Z.getProgramParent().references[H.name]=!0,this;if(Z.hasBinding(H.name)&&!Z.hasGlobal(H.name))return Z.rename(H.name),this.node.id=H,Z.getProgramParent().references[H.name]=!0,this;if(!TW1(this.node))return null;let W=Z.generateUidIdentifier(H.name),Y=[];for(let U=0,q=oW1(this.node);U<q;U++)Y.push(Z.generateUidIdentifier("x"));let z=UW1.default.expression.ast`
43
+ (function (${W}) {
44
+ function ${H}(${Y}) {
45
+ return ${QJ(W)}.apply(this, arguments);
14
46
  }
15
47
 
16
- ${U0(H)}.toString = function () {
17
- return ${U0(Y)}.toString();
48
+ ${QJ(H)}.toString = function () {
49
+ return ${QJ(W)}.toString();
18
50
  }
19
51
 
20
- return ${U0(H)};
21
- })(${pY(this.node)})
22
- `;return this.replaceWith(z)[0].get("arguments.0")}function VW1(J){let G=J.params.findIndex((X)=>gY1(X)||_Y1(X));return G===-1?J.params.length:G}});var HW=C((XW)=>{Object.defineProperty(XW,"__esModule",{value:!0});XW._guessExecutionStatusRelativeTo=kW1;XW._resolve=GW;XW.canHaveVariableDeclarationOrExpression=SW1;XW.canSwapBetweenExpressionAndStatement=IW1;XW.getSource=TW1;XW.isCompletionRecord=PW1;XW.isConstantExpression=gW1;XW.isInStrictMode=_W1;XW.isNodeType=DW1;XW.isStatementOrBlock=fW1;XW.isStatic=CW1;XW.matchesPattern=AW1;XW.referencesImport=NW1;XW.resolve=vW1;XW.willIMaybeExecuteBefore=wW1;var UW1=W1(),{STATEMENT_OR_BLOCK_KEYS:BW1,VISITOR_KEYS:RW1,isBlockStatement:JW,isExpression:$W1,isIdentifier:MW1,isLiteral:qW1,isStringLiteral:FW1,isType:jW1,matchesPattern:OW1}=UW1;function AW1(J,G){return OW1(this.node,J,G)}XW.has=function J(G){var X;let H=(X=this.node)==null?void 0:X[G];if(H&&Array.isArray(H))return!!H.length;else return!!H};function CW1(){return this.scope.isStatic(this.node)}XW.is=XW.has,XW.isnt=function J(G){return!this.has(G)},XW.equals=function J(G,X){return this.node[G]===X};function DW1(J){return jW1(this.type,J)}function SW1(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function IW1(J){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return JW(J);else if(this.isBlockStatement())return $W1(J);return!1}function PW1(J){let G=this,X=!0;do{let{type:H,container:V}=G;if(!X&&(G.isFunction()||H==="StaticBlock"))return!!J;if(X=!1,Array.isArray(V)&&G.key!==V.length-1)return!1}while((G=G.parentPath)&&!G.isProgram()&&!G.isDoExpression());return!0}function fW1(){if(this.parentPath.isLabeledStatement()||JW(this.container))return!1;else return BW1.includes(this.key)}function NW1(J,G){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===G||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?FW1(this.node.property,{value:G}):this.node.property.name===G)){let Z=this.get("object");return Z.isReferencedIdentifier()&&Z.referencesImport(J,"*")}return!1}let X=this.scope.getBinding(this.node.name);if(!X||X.kind!=="module")return!1;let H=X.path,V=H.parentPath;if(!V.isImportDeclaration())return!1;if(V.node.source.value===J){if(!G)return!0}else return!1;if(H.isImportDefaultSpecifier()&&G==="default")return!0;if(H.isImportNamespaceSpecifier()&&G==="*")return!0;if(H.isImportSpecifier()&&MW1(H.node.imported,{name:G}))return!0;return!1}function TW1(){let J=this.node;if(J.end){let G=this.hub.getCode();if(G)return G.slice(J.start,J.end)}return""}function wW1(J){return this._guessExecutionStatusRelativeTo(J)!=="after"}function nY(J){return J.isProgram()?J:(J.parentPath.scope.getFunctionParent()||J.parentPath.scope.getProgramParent()).path}function LW1(J,G){switch(J){case"LogicalExpression":return G==="right";case"ConditionalExpression":case"IfStatement":return G==="consequent"||G==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return G==="body";case"ForStatement":return G==="body"||G==="update";case"SwitchStatement":return G==="cases";case"TryStatement":return G==="handler";case"AssignmentPattern":return G==="right";case"OptionalMemberExpression":return G==="property";case"OptionalCallExpression":return G==="arguments";default:return!1}}function oY(J,G){for(let X=0;X<G;X++){let H=J[X];if(LW1(H.parent.type,H.parentKey))return!0}return!1}var eY=Symbol();function kW1(J){return pJ(this,J,new Map)}function pJ(J,G,X){let H={this:nY(J),target:nY(G)};if(H.target.node!==H.this.node)return EW1(J,H.target,X);let V={target:G.getAncestry(),this:J.getAncestry()};if(V.target.includes(J))return"after";if(V.this.includes(G))return"before";let Z,Q={target:0,this:0};while(!Z&&Q.this<V.this.length){let U=V.this[Q.this];if(Q.target=V.target.indexOf(U),Q.target>=0)Z=U;else Q.this++}if(!Z)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(oY(V.this,Q.this-1)||oY(V.target,Q.target-1))return"unknown";let Y={this:V.this[Q.this-1],target:V.target[Q.target-1]};if(Y.target.listKey&&Y.this.listKey&&Y.target.container===Y.this.container)return Y.target.key>Y.this.key?"before":"after";let W=RW1[Z.type],z={this:W.indexOf(Y.this.parentKey),target:W.indexOf(Y.target.parentKey)};return z.target>z.this?"before":"after"}function bW1(J,G,X){if(!G.isFunctionDeclaration()){if(pJ(J,G,X)==="before")return"before";return"unknown"}else if(G.parentPath.isExportDeclaration())return"unknown";let H=G.scope.getBinding(G.node.id.name);if(!H.references)return"before";let V=H.referencePaths,Z;for(let Q of V){if(!!Q.find((z)=>z.node===G.node))continue;if(Q.key!=="callee"||!Q.parentPath.isCallExpression())return"unknown";let W=pJ(J,Q,X);if(Z&&Z!==W)return"unknown";else Z=W}return Z}function EW1(J,G,X){let H=X.get(J.node),V;if(!H)X.set(J.node,H=new Map);else if(V=H.get(G.node)){if(V===eY)return"unknown";return V}H.set(G.node,eY);let Z=bW1(J,G,X);return H.set(G.node,Z),Z}function vW1(J,G){return GW.call(this,J,G)||this}function GW(J,G){var X;if((X=G)!=null&&X.includes(this))return;if(G=G||[],G.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(J,G)}else if(this.isReferencedIdentifier()){let H=this.scope.getBinding(this.node.name);if(!H)return;if(!H.constant)return;if(H.kind==="module")return;if(H.path!==this){let V=H.path.resolve(J,G);if(this.find((Z)=>Z.node===V.node))return;return V}}else if(this.isTypeCastExpression())return this.get("expression").resolve(J,G);else if(J&&this.isMemberExpression()){let H=this.toComputedKey();if(!qW1(H))return;let V=H.value,Z=this.get("object").resolve(J,G);if(Z.isObjectExpression()){let Q=Z.get("properties");for(let Y of Q){if(!Y.isProperty())continue;let W=Y.get("key"),z=Y.isnt("computed")&&W.isIdentifier({name:V});if(z=z||W.isLiteral({value:V}),z)return Y.get("value").resolve(J,G)}}else if(Z.isArrayExpression()&&!isNaN(+V)){let Y=Z.get("elements")[V];if(Y)return Y.resolve(J,G)}}}function gW1(){if(this.isIdentifier()){let J=this.scope.getBinding(this.node.name);if(!J)return!1;return J.constant}if(this.isLiteral()){if(this.isRegExpLiteral())return!1;if(this.isTemplateLiteral())return this.get("expressions").every((J)=>J.isConstantExpression());return!0}if(this.isUnaryExpression()){if(this.node.operator!=="void")return!1;return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){let{operator:J}=this.node;return J!=="in"&&J!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}if(this.isMemberExpression())return!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0});if(this.isCallExpression())return this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral();return!1}function _W1(){return!!(this.isProgram()?this:this.parentPath).find((X)=>{if(X.isProgram({sourceType:"module"}))return!0;if(X.isClass())return!0;if(X.isArrowFunctionExpression()&&!X.get("body").isBlockStatement())return!1;let H;if(X.isFunction())H=X.node.body;else if(X.isProgram())H=X.node;else return!1;for(let V of H.directives)if(V.value.value==="use strict")return!0})}});var zW=C((WW)=>{Object.defineProperty(WW,"__esModule",{value:!0});WW._getKey=QW;WW._getPattern=YW;WW.get=Mz1;WW.getAllNextSiblings=Rz1;WW.getAllPrevSiblings=$z1;WW.getAssignmentIdentifiers=qz1;WW.getBindingIdentifierPaths=Oz1;WW.getBindingIdentifiers=Fz1;WW.getCompletionRecords=zz1;WW.getNextSibling=Bz1;WW.getOpposite=Qz1;WW.getOuterBindingIdentifierPaths=Az1;WW.getOuterBindingIdentifiers=jz1;WW.getPrevSibling=Uz1;WW.getSibling=Kz1;var dJ=a2(),eW1=W1(),{getAssignmentIdentifiers:Jz1,getBindingIdentifiers:ZW,getOuterBindingIdentifiers:Gz1,numericLiteral:Xz1,unaryExpression:Hz1}=eW1,sJ=0,I5=1;function Vz1(J){return{type:sJ,path:J}}function Zz1(J){return{type:I5,path:J}}function Qz1(){if(this.key==="left")return this.getSibling("right");else if(this.key==="right")return this.getSibling("left");return null}function v0(J,G,X){if(J)G.push(...g0(J,X));return G}function Yz1(J,G,X){let H=[];for(let V=0;V<J.length;V++){let Z=J[V],Q=g0(Z,X),Y=[],W=[];for(let z of Q){if(z.type===sJ)Y.push(z);if(z.type===I5)W.push(z)}if(Y.length)H=Y;G.push(...W)}return G.push(...H),G}function Wz1(J){J.forEach((G)=>{G.type=I5})}function rJ(J,G){J.forEach((X)=>{if(X.path.isBreakStatement({label:null}))if(G)X.path.replaceWith(Hz1("void",Xz1(0)));else X.path.remove()})}function VW(J,G){let X=[];if(G.canHaveBreak){let H=[];for(let V=0;V<J.length;V++){let Z=J[V],Q=Object.assign({},G,{inCaseClause:!1});if(Z.isBlockStatement()&&(G.inCaseClause||G.shouldPopulateBreak))Q.shouldPopulateBreak=!0;else Q.shouldPopulateBreak=!1;let Y=g0(Z,Q);if(Y.length>0&&Y.every((W)=>W.type===I5)){if(H.length>0&&Y.every((W)=>W.path.isBreakStatement({label:null}))){if(Wz1(H),X.push(...H),H.some((W)=>W.path.isDeclaration()))X.push(...Y),rJ(Y,!0);rJ(Y,!1)}else if(X.push(...Y),!G.shouldPopulateBreak)rJ(Y,!0);break}if(V===J.length-1)X.push(...Y);else{H=[];for(let W=0;W<Y.length;W++){let z=Y[W];if(z.type===I5)X.push(z);if(z.type===sJ)H.push(z)}}}}else if(J.length)for(let H=J.length-1;H>=0;H--){let V=g0(J[H],G);if(V.length>1||V.length===1&&!V[0].path.isVariableDeclaration()){X.push(...V);break}}return X}function g0(J,G){let X=[];if(J.isIfStatement())X=v0(J.get("consequent"),X,G),X=v0(J.get("alternate"),X,G);else if(J.isDoExpression()||J.isFor()||J.isWhile()||J.isLabeledStatement())return v0(J.get("body"),X,G);else if(J.isProgram()||J.isBlockStatement())return VW(J.get("body"),G);else if(J.isFunction())return g0(J.get("body"),G);else if(J.isTryStatement())X=v0(J.get("block"),X,G),X=v0(J.get("handler"),X,G);else if(J.isCatchClause())return v0(J.get("body"),X,G);else if(J.isSwitchStatement())return Yz1(J.get("cases"),X,G);else if(J.isSwitchCase())return VW(J.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});else if(J.isBreakStatement())X.push(Zz1(J));else X.push(Vz1(J));return X}function zz1(){return g0(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((G)=>G.path)}function Kz1(J){return dJ.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:J}).setContext(this.context)}function Uz1(){return this.getSibling(this.key-1)}function Bz1(){return this.getSibling(this.key+1)}function Rz1(){let J=this.key,G=this.getSibling(++J),X=[];while(G.node)X.push(G),G=this.getSibling(++J);return X}function $z1(){let J=this.key,G=this.getSibling(--J),X=[];while(G.node)X.push(G),G=this.getSibling(--J);return X}function Mz1(J,G=!0){if(G===!0)G=this.context;let X=J.split(".");if(X.length===1)return QW.call(this,J,G);else return YW.call(this,X,G)}function QW(J,G){let X=this.node,H=X[J];if(Array.isArray(H))return H.map((V,Z)=>{return dJ.default.get({listKey:J,parentPath:this,parent:X,container:H,key:Z}).setContext(G)});else return dJ.default.get({parentPath:this,parent:X,container:X,key:J}).setContext(G)}function YW(J,G){let X=this;for(let H of J)if(H===".")X=X.parentPath;else if(Array.isArray(X))X=X[H];else X=X.get(H,G);return X}function qz1(){return Jz1(this.node)}function Fz1(J){return ZW(this.node,J)}function jz1(J){return Gz1(this.node,J)}function Oz1(J=!1,G=!1){let H=[this],V=Object.create(null);while(H.length){let Z=H.shift();if(!Z)continue;if(!Z.node)continue;let Q=ZW.keys[Z.node.type];if(Z.isIdentifier()){if(J)(V[Z.node.name]=V[Z.node.name]||[]).push(Z);else V[Z.node.name]=Z;continue}if(Z.isExportDeclaration()){let Y=Z.get("declaration");if(Y.isDeclaration())H.push(Y);continue}if(G){if(Z.isFunctionDeclaration()){H.push(Z.get("id"));continue}if(Z.isFunctionExpression())continue}if(Q)for(let Y=0;Y<Q.length;Y++){let W=Q[Y],z=Z.get(W);if(Array.isArray(z))H.push(...z);else if(z.node)H.push(z)}}return V}function Az1(J=!1){return this.getBindingIdentifierPaths(J,!0)}});var BW=C((UW)=>{Object.defineProperty(UW,"__esModule",{value:!0});UW.addComment=xz1;UW.addComments=mz1;UW.shareCommentsWithSiblings=yz1;var _z1=W1(),{addComment:uz1,addComments:hz1}=_z1;function yz1(){if(typeof this.key==="string")return;let J=this.node;if(!J)return;let{trailingComments:G,leadingComments:X}=J;if(!G&&!X)return;let H=this.getSibling(this.key-1),V=this.getSibling(this.key+1),Z=Boolean(H.node),Q=Boolean(V.node);if(Z){if(X)H.addComments("trailing",KW(X,H.node.trailingComments));if(G&&!Q)H.addComments("trailing",G)}if(Q){if(G)V.addComments("leading",KW(G,V.node.leadingComments));if(X&&!Z)V.addComments("leading",X)}}function KW(J,G){if(!(G!=null&&G.length))return J;let X=new Set(G);return J.filter((H)=>{return!X.has(H)})}function xz1(J,G,X){uz1(this.node,J,G,X)}function mz1(J,G){hz1(this.node,J,G)}});var a2=C((FW)=>{Object.defineProperty(FW,"__esModule",{value:!0});FW.default=FW.SHOULD_STOP=FW.SHOULD_SKIP=FW.REMOVED=void 0;var az1=r8(),pz1=NZ(),rz1=q5(),dz1=ZJ(),MW=W1(),i9=MW,sz1=V0(),tz1=I8(),C2=A3(),_0=l3(),u0=PJ(),RW=jY(),B0=tY(),k1=HW(),qW=O2(),L1=qW,h0=u9(),D2=h9(),r1=zW(),tJ=BW(),nz1=e8(),{validate:oz1}=MW,$W=pz1("babel"),Bj1=FW.REMOVED=1,Rj1=FW.SHOULD_STOP=2,$j1=FW.SHOULD_SKIP=4,g2=FW.default=class J{constructor(G,X){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=X,this.hub=G,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(G){if(G)this._traverseFlags|=1;else this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(G){if(G)this._traverseFlags|=2;else this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(G){if(G)this._traverseFlags|=4;else this._traverseFlags&=-5}static get({hub:G,parentPath:X,parent:H,container:V,listKey:Z,key:Q}){if(!G&&X)G=X.hub;if(!H)throw new Error("To get a node path the parent needs to exist");let Y=V[Q],W=sz1.getOrCreateCachedPaths(G,H),z=W.get(Y);if(!z){if(z=new J(G,H),Y)W.set(Y,z)}return qW.setup.call(z,X,V,Z,Q),z}getScope(G){return this.isScope()?new dz1.default(this):G}setData(G,X){if(this.data==null)this.data=Object.create(null);return this.data[G]=X}getData(G,X){if(this.data==null)this.data=Object.create(null);let H=this.data[G];if(H===void 0&&X!==void 0)H=this.data[G]=X;return H}hasNode(){return this.node!=null}buildCodeFrameError(G,X=SyntaxError){return this.hub.buildError(this.node,G,X)}traverse(G,X){rz1.default(this.node,G,this.scope,X,this)}set(G,X){oz1(this.node,G,X),this.node[G]=X}getPathLocation(){let G=[],X=this;do{let H=X.key;if(X.inList)H=`${X.listKey}[${H}]`;G.unshift(H)}while(X=X.parentPath);return G.join(".")}debug(G){if(!$W.enabled)return;$W(`${this.getPathLocation()} ${this.type}: ${G}`)}toString(){return tz1.default(this.node).code}get inList(){return!!this.listKey}set inList(G){if(!G)this.listKey=null}get parentKey(){return this.listKey||this.key}},ez1={findParent:C2.findParent,find:C2.find,getFunctionParent:C2.getFunctionParent,getStatementParent:C2.getStatementParent,getEarliestCommonAncestorFrom:C2.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:C2.getDeepestCommonAncestorFrom,getAncestry:C2.getAncestry,isAncestor:C2.isAncestor,isDescendant:C2.isDescendant,inType:C2.inType,getTypeAnnotation:_0.getTypeAnnotation,isBaseType:_0.isBaseType,couldBeBaseType:_0.couldBeBaseType,baseTypeStrictlyMatches:_0.baseTypeStrictlyMatches,isGenericType:_0.isGenericType,replaceWithMultiple:u0.replaceWithMultiple,replaceWithSourceString:u0.replaceWithSourceString,replaceWith:u0.replaceWith,replaceExpressionWithStatements:u0.replaceExpressionWithStatements,replaceInline:u0.replaceInline,evaluateTruthy:RW.evaluateTruthy,evaluate:RW.evaluate,toComputedKey:B0.toComputedKey,ensureBlock:B0.ensureBlock,unwrapFunctionEnvironment:B0.unwrapFunctionEnvironment,arrowFunctionToExpression:B0.arrowFunctionToExpression,splitExportDeclaration:B0.splitExportDeclaration,ensureFunctionName:B0.ensureFunctionName,matchesPattern:k1.matchesPattern,isStatic:k1.isStatic,isNodeType:k1.isNodeType,canHaveVariableDeclarationOrExpression:k1.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:k1.canSwapBetweenExpressionAndStatement,isCompletionRecord:k1.isCompletionRecord,isStatementOrBlock:k1.isStatementOrBlock,referencesImport:k1.referencesImport,getSource:k1.getSource,willIMaybeExecuteBefore:k1.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:k1._guessExecutionStatusRelativeTo,resolve:k1.resolve,isConstantExpression:k1.isConstantExpression,isInStrictMode:k1.isInStrictMode,isDenylisted:L1.isDenylisted,visit:L1.visit,skip:L1.skip,skipKey:L1.skipKey,stop:L1.stop,setContext:L1.setContext,requeue:L1.requeue,requeueComputedKeyAndDecorators:L1.requeueComputedKeyAndDecorators,remove:h0.remove,insertBefore:D2.insertBefore,insertAfter:D2.insertAfter,unshiftContainer:D2.unshiftContainer,pushContainer:D2.pushContainer,getOpposite:r1.getOpposite,getCompletionRecords:r1.getCompletionRecords,getSibling:r1.getSibling,getPrevSibling:r1.getPrevSibling,getNextSibling:r1.getNextSibling,getAllNextSiblings:r1.getAllNextSiblings,getAllPrevSiblings:r1.getAllPrevSiblings,get:r1.get,getAssignmentIdentifiers:r1.getAssignmentIdentifiers,getBindingIdentifiers:r1.getBindingIdentifiers,getOuterBindingIdentifiers:r1.getOuterBindingIdentifiers,getBindingIdentifierPaths:r1.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:r1.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:tJ.shareCommentsWithSiblings,addComment:tJ.addComment,addComments:tJ.addComments};Object.assign(g2.prototype,ez1);g2.prototype.arrowFunctionToShadowed=B0[String("arrowFunctionToShadowed")],Object.assign(g2.prototype,{has:k1[String("has")],is:k1[String("is")],isnt:k1[String("isnt")],equals:k1[String("equals")],hoist:D2[String("hoist")],updateSiblingKeys:D2.updateSiblingKeys,call:L1.call,isBlacklisted:L1[String("isBlacklisted")],setScope:L1.setScope,resync:L1.resync,popContext:L1.popContext,pushContext:L1.pushContext,setup:L1.setup,setKey:L1.setKey});g2.prototype._guessExecutionStatusRelativeToDifferentFunctions=k1._guessExecutionStatusRelativeTo,g2.prototype._guessExecutionStatusRelativeToDifferentFunctions=k1._guessExecutionStatusRelativeTo,Object.assign(g2.prototype,{_getTypeAnnotation:_0._getTypeAnnotation,_replaceWith:u0._replaceWith,_resolve:k1._resolve,_call:L1._call,_resyncParent:L1._resyncParent,_resyncKey:L1._resyncKey,_resyncList:L1._resyncList,_resyncRemoved:L1._resyncRemoved,_getQueueContexts:L1._getQueueContexts,_removeFromScope:h0._removeFromScope,_callRemovalHooks:h0._callRemovalHooks,_remove:h0._remove,_markRemoved:h0._markRemoved,_assertUnremoved:h0._assertUnremoved,_containerInsert:D2._containerInsert,_containerInsertBefore:D2._containerInsertBefore,_containerInsertAfter:D2._containerInsertAfter,_verifyNodeList:D2._verifyNodeList,_getKey:r1._getKey,_getPattern:r1._getPattern});for(let J of i9.TYPES){let G=`is${J}`,X=i9[G];g2.prototype[G]=function(H){return X(this.node,H)},g2.prototype[`assert${J}`]=function(H){if(!X(this.node,H))throw new TypeError(`Expected node path of type ${J}`)}}Object.assign(g2.prototype,nz1);for(let J of Object.keys(az1)){if(J[0]==="_")continue;if(!i9.TYPES.includes(J))i9.TYPES.push(J)}});var DW=C((AW)=>{Object.defineProperty(AW,"__esModule",{value:!0});AW.default=void 0;var HK1=a2(),VK1=W1(),nJ=O2(),{VISITOR_KEYS:ZK1}=VK1;class OW{constructor(J,G,X,H){this.queue=null,this.priorityQueue=null,this.parentPath=H,this.scope=J,this.state=X,this.opts=G}shouldVisit(J){let G=this.opts;if(G.enter||G.exit)return!0;if(G[J.type])return!0;let X=ZK1[J.type];if(!(X!=null&&X.length))return!1;for(let H of X)if(J[H])return!0;return!1}create(J,G,X,H){return HK1.default.get({parentPath:this.parentPath,parent:J,container:G,key:X,listKey:H})}maybeQueue(J,G){if(this.queue)if(G)this.queue.push(J);else this.priorityQueue.push(J)}visitMultiple(J,G,X){if(J.length===0)return!1;let H=[];for(let V=0;V<J.length;V++){let Z=J[V];if(Z&&this.shouldVisit(Z))H.push(this.create(G,J,V,X))}return this.visitQueue(H)}visitSingle(J,G){if(this.shouldVisit(J[G]))return this.visitQueue([this.create(J,J,G)]);else return!1}visitQueue(J){this.queue=J,this.priorityQueue=[];let G=new WeakSet,X=!1,H=0;for(;H<J.length;){let V=J[H];if(H++,nJ.resync.call(V),V.contexts.length===0||V.contexts[V.contexts.length-1]!==this)nJ.pushContext.call(V,this);if(V.key===null)continue;let{node:Z}=V;if(G.has(Z))continue;if(Z)G.add(Z);if(V.visit()){X=!0;break}if(this.priorityQueue.length){if(X=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=J,X)break}}for(let V=0;V<H;V++)nJ.popContext.call(J[V]);return this.queue=null,X}visit(J,G){let X=J[G];if(!X)return!1;if(Array.isArray(X))return this.visitMultiple(X,J,G);else return this.visitSingle(J,G)}}AW.default=OW});var I9=C((SW)=>{Object.defineProperty(SW,"__esModule",{value:!0});SW.traverseNode=zK1;var QK1=DW(),YK1=W1(),{VISITOR_KEYS:WK1}=YK1;function zK1(J,G,X,H,V,Z,Q){let Y=WK1[J.type];if(!Y)return!1;let W=new QK1.default(X,G,H,V);if(Q){if(Z!=null&&Z[V.parentKey])return!1;return W.visitQueue([V])}for(let z of Y){if(Z!=null&&Z[z])continue;if(W.visit(J,z))return!0}return!1}});var O2=C((kW)=>{Object.defineProperty(kW,"__esModule",{value:!0});kW._call=eJ;kW._getQueueContexts=fK1;kW._resyncKey=wW;kW._resyncList=LW;kW._resyncParent=TW;kW._resyncRemoved=AK1;kW.call=oJ;kW.isDenylisted=fW;kW.popContext=CK1;kW.pushContext=DK1;kW.requeue=IK1;kW.requeueComputedKeyAndDecorators=PK1;kW.resync=OK1;kW.setContext=jK1;kW.setKey=a9;kW.setScope=NW;kW.setup=SK1;kW.skip=MK1;kW.skipKey=qK1;kW.stop=FK1;kW.visit=$K1;var UK1=I9(),IW=a2(),BK1=u9(),RK1=W1();function oJ(J){let G=this.opts;if(this.debug(J),this.node){if(eJ.call(this,G[J]))return!0}if(this.node){var X;return eJ.call(this,(X=G[this.node.type])==null?void 0:X[J])}return!1}function eJ(J){if(!J)return!1;for(let G of J){if(!G)continue;let X=this.node;if(!X)return!0;let H=G.call(this.state,this,this.state);if(H&&typeof H==="object"&&typeof H.then==="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(H)throw new Error(`Unexpected return value from visitor method ${G}`);if(this.node!==X)return!0;if(this._traverseFlags>0)return!0}return!1}function fW(){var J;let G=(J=this.opts.denylist)!=null?J:this.opts.blacklist;return G==null?void 0:G.includes(this.node.type)}kW.isBlacklisted=fW;function PW(J,G){if(J.context!==G)J.context=G,J.state=G.state,J.opts=G.opts}function $K1(){var J,G;if(!this.node)return!1;if(this.isDenylisted())return!1;if((J=(G=this.opts).shouldSkip)!=null&&J.call(G,this))return!1;let X=this.context;if(this.shouldSkip||oJ.call(this,"enter"))return this.debug("Skip..."),this.shouldStop;return PW(this,X),this.debug("Recursing into..."),this.shouldStop=UK1.traverseNode(this.node,this.opts,this.scope,this.state,this,this.skipKeys),PW(this,X),oJ.call(this,"exit"),this.shouldStop}function MK1(){this.shouldSkip=!0}function qK1(J){if(this.skipKeys==null)this.skipKeys={};this.skipKeys[J]=!0}function FK1(){this._traverseFlags|=IW.SHOULD_SKIP|IW.SHOULD_STOP}function NW(){var J,G;if((J=this.opts)!=null&&J.noScope)return;let X=this.parentPath;if((this.key==="key"||this.listKey==="decorators")&&X.isMethod()||this.key==="discriminant"&&X.isSwitchStatement())X=X.parentPath;let H;while(X&&!H){var V;if((V=X.opts)!=null&&V.noScope)return;H=X.scope,X=X.parentPath}this.scope=this.getScope(H),(G=this.scope)==null||G.init()}function jK1(J){if(this.skipKeys!=null)this.skipKeys={};if(this._traverseFlags=0,J)this.context=J,this.state=J.state,this.opts=J.opts;return NW.call(this),this}function OK1(){if(this.removed)return;TW.call(this),LW.call(this),wW.call(this)}function TW(){if(this.parentPath)this.parent=this.parentPath.node}function wW(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let J=0;J<this.container.length;J++)if(this.container[J]===this.node){a9.call(this,J);return}}else for(let J of Object.keys(this.container))if(this.container[J]===this.node){a9.call(this,J);return}this.key=null}function LW(){if(!this.parent||!this.inList)return;let J=this.parent[this.listKey];if(this.container===J)return;this.container=J||null}function AK1(){if(this.key==null||!this.container||this.container[this.key]!==this.node)BK1._markRemoved.call(this)}function CK1(){if(this.contexts.pop(),this.contexts.length>0)this.setContext(this.contexts[this.contexts.length-1]);else this.setContext(void 0)}function DK1(J){this.contexts.push(J),this.setContext(J)}function SK1(J,G,X,H){this.listKey=X,this.container=G,this.parentPath=J||this.parentPath,a9.call(this,H)}function a9(J){var G;this.key=J,this.node=this.container[this.key],this.type=(G=this.node)==null?void 0:G.type}function IK1(J=this){if(J.removed)return;let G=this.contexts;for(let X of G)X.maybeQueue(J)}function PK1(){let{context:J,node:G}=this;if(!RK1.isPrivate(G)&&G.computed)J.maybeQueue(this.get("key"));if(G.decorators)for(let X of this.get("decorators"))J.maybeQueue(X)}function fK1(){let J=this,G=this.contexts;while(!G.length){if(J=J.parentPath,!J)break;G=J.contexts}return G}});var gW=C((EW)=>{Object.defineProperty(EW,"__esModule",{value:!0});EW.default=void 0;class bW{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(J,G,X=TypeError){return new X(G)}}EW.default=bW});var q5=C((f5)=>{Object.defineProperty(f5,"__esModule",{value:!0});Object.defineProperty(f5,"Hub",{enumerable:!0,get:function(){return oK1.default}});Object.defineProperty(f5,"NodePath",{enumerable:!0,get:function(){return tK1.default}});Object.defineProperty(f5,"Scope",{enumerable:!0,get:function(){return nK1.default}});f5.visitors=f5.default=void 0;O2();var P5=M5();f5.visitors=P5;var dK1=W1(),sK1=V0(),_W=I9(),tK1=a2(),nK1=ZJ(),oK1=gW(),{VISITOR_KEYS:eK1,removeProperties:JU1,traverseFast:uW}=dK1;function Y2(J,G={},X,H,V,Z){if(!J)return;if(!G.noScope&&!X){if(J.type!=="Program"&&J.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${J.type} node without passing scope and parentPath.`)}if(!V&&Z)throw new Error("visitSelf can only be used when providing a NodePath.");if(!eK1[J.type])return;P5.explode(G),_W.traverseNode(J,G,X,H,V,null,Z)}var Cj1=f5.default=Y2;Y2.visitors=P5;Y2.verify=P5.verify;Y2.explode=P5.explode;Y2.cheap=function(J,G){uW(J,G);return};Y2.node=function(J,G,X,H,V,Z){_W.traverseNode(J,G,X,H,V,Z)};Y2.clearNode=function(J,G){JU1(J,G)};Y2.removeProperties=function(J,G){return uW(J,Y2.clearNode,G),J};function GU1(J,G){if(J.node.type===G.type)G.has=!0,J.stop()}Y2.hasType=function(J,G,X){if(X!=null&&X.includes(J.type))return!1;if(J.type===G)return!0;let H={has:!1,type:G};return Y2(J,{noScope:!0,denylist:X,enter:GU1},null,H),H.has};Y2.cache=sK1});import QU1 from"process";import{bold as JG,dim as GG,green as YU1,italic as yW,log as WU1}from"@stacksjs/cli";import{path as p9}from"@stacksjs/path";import{fs as zU1,glob as KU1}from"@stacksjs/storage";var HU1=n9(I8(),1),VU1=n9(q9(),1),ZU1=n9(q5(),1);async function Tj1(J){let X=Date.now()-J.startTime,H=J.pkgName??`@stacksjs/${p9.basename(J.dir)}`;if(!J.result.success)console.log(J.result.logs[0]),QU1.exit(1);let V=await KU1([p9.resolve(J.dir,"dist","**/*")],{absolute:!0});for(let Z of V){let Q=await zU1.stat(Z),Y;if(Q.size<1048576)Y=`${(Q.size/1024).toFixed(2)}kb`;else Y=`${(Q.size/1024/1024).toFixed(2)}mb`;let W=p9.relative(J.dir,Z).replace("dist/","");console.log(`${JG(GG(`[${Y}]`))} ${GG("dist/")}${W}`)}console.log(`${JG(GG(`[${X}ms]`))} Built ${yW(JG(YU1(H)))}`)}async function wj1(J){let G=J.pkgName??`@stacksjs/${p9.basename(J.dir)}`;if(J.styled===!1)console.log(`Building ${G}...`);else WU1.info(`Building ${yW(G)}...`);return{startTime:Date.now()}}var export_traverse=ZU1.default;var export_parser=VU1.default;var export_generator=HU1.default;export{export_traverse as traverse,export_parser as parser,Tj1 as outro,wj1 as intro,export_generator as generator};
52
+ return ${QJ(H)};
53
+ })(${HY(this.node)})
54
+ `;return this.replaceWith(z)[0].get("arguments.0")}function oW1(G){let J=G.params.findIndex((X)=>wW1(X)||LW1(X));return J===-1?G.params.length:J}});var MY=f((BY)=>{Object.defineProperty(BY,"__esModule",{value:!0});BY._guessExecutionStatusRelativeTo=IY1;BY._resolve=RY;BY.canHaveVariableDeclarationOrExpression=qY1;BY.canSwapBetweenExpressionAndStatement=jY1;BY.getSource=DY1;BY.isCompletionRecord=OY1;BY.isConstantExpression=wY1;BY.isInStrictMode=LY1;BY.isNodeType=FY1;BY.isStatementOrBlock=AY1;BY.isStatic=$Y1;BY.matchesPattern=MY1;BY.referencesImport=CY1;BY.resolve=TY1;BY.willIMaybeExecuteBefore=SY1;var ZY1=W1(),{STATEMENT_OR_BLOCK_KEYS:QY1,VISITOR_KEYS:WY1,isBlockStatement:UY,isExpression:YY1,isIdentifier:zY1,isLiteral:KY1,isStringLiteral:UY1,isType:RY1,matchesPattern:BY1}=ZY1;function MY1(G,J){return BY1(this.node,G,J)}BY.has=function G(J){var X;let H=(X=this.node)==null?void 0:X[J];if(H&&Array.isArray(H))return!!H.length;else return!!H};function $Y1(){return this.scope.isStatic(this.node)}BY.is=BY.has,BY.isnt=function G(J){return!this.has(J)},BY.equals=function G(J,X){return this.node[J]===X};function FY1(G){return RY1(this.type,G)}function qY1(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function jY1(G){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return UY(G);else if(this.isBlockStatement())return YY1(G);return!1}function OY1(G){let J=this,X=!0;do{let{type:H,container:V}=J;if(!X&&(J.isFunction()||H==="StaticBlock"))return!!G;if(X=!1,Array.isArray(V)&&J.key!==V.length-1)return!1}while((J=J.parentPath)&&!J.isProgram()&&!J.isDoExpression());return!0}function AY1(){if(this.parentPath.isLabeledStatement()||UY(this.container))return!1;else return QY1.includes(this.key)}function CY1(G,J){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===J||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?UY1(this.node.property,{value:J}):this.node.property.name===J)){let Z=this.get("object");return Z.isReferencedIdentifier()&&Z.referencesImport(G,"*")}return!1}let X=this.scope.getBinding(this.node.name);if(!X||X.kind!=="module")return!1;let H=X.path,V=H.parentPath;if(!V.isImportDeclaration())return!1;if(V.node.source.value===G){if(!J)return!0}else return!1;if(H.isImportDefaultSpecifier()&&J==="default")return!0;if(H.isImportNamespaceSpecifier()&&J==="*")return!0;if(H.isImportSpecifier()&&zY1(H.node.imported,{name:J}))return!0;return!1}function DY1(){let G=this.node;if(G.end){let J=this.hub.getCode();if(J)return J.slice(G.start,G.end)}return""}function SY1(G){return this._guessExecutionStatusRelativeTo(G)!=="after"}function YY(G){return G.isProgram()?G:(G.parentPath.scope.getFunctionParent()||G.parentPath.scope.getProgramParent()).path}function fY1(G,J){switch(G){case"LogicalExpression":return J==="right";case"ConditionalExpression":case"IfStatement":return J==="consequent"||J==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return J==="body";case"ForStatement":return J==="body"||J==="update";case"SwitchStatement":return J==="cases";case"TryStatement":return J==="handler";case"AssignmentPattern":return J==="right";case"OptionalMemberExpression":return J==="property";case"OptionalCallExpression":return J==="arguments";default:return!1}}function zY(G,J){for(let X=0;X<J;X++){let H=G[X];if(fY1(H.parent.type,H.parentKey))return!0}return!1}var KY=Symbol();function IY1(G){return f6(this,G,new Map)}function f6(G,J,X){let H={this:YY(G),target:YY(J)};if(H.target.node!==H.this.node)return NY1(G,H.target,X);let V={target:J.getAncestry(),this:G.getAncestry()};if(V.target.includes(G))return"after";if(V.this.includes(J))return"before";let Z,Q={target:0,this:0};while(!Z&&Q.this<V.this.length){let U=V.this[Q.this];if(Q.target=V.target.indexOf(U),Q.target>=0)Z=U;else Q.this++}if(!Z)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(zY(V.this,Q.this-1)||zY(V.target,Q.target-1))return"unknown";let W={this:V.this[Q.this-1],target:V.target[Q.target-1]};if(W.target.listKey&&W.this.listKey&&W.target.container===W.this.container)return W.target.key>W.this.key?"before":"after";let Y=WY1[Z.type],z={this:Y.indexOf(W.this.parentKey),target:Y.indexOf(W.target.parentKey)};return z.target>z.this?"before":"after"}function PY1(G,J,X){if(!J.isFunctionDeclaration()){if(f6(G,J,X)==="before")return"before";return"unknown"}else if(J.parentPath.isExportDeclaration())return"unknown";let H=J.scope.getBinding(J.node.id.name);if(!H.references)return"before";let V=H.referencePaths,Z;for(let Q of V){if(!!Q.find((z)=>z.node===J.node))continue;if(Q.key!=="callee"||!Q.parentPath.isCallExpression())return"unknown";let Y=f6(G,Q,X);if(Z&&Z!==Y)return"unknown";else Z=Y}return Z}function NY1(G,J,X){let H=X.get(G.node),V;if(!H)X.set(G.node,H=new Map);else if(V=H.get(J.node)){if(V===KY)return"unknown";return V}H.set(J.node,KY);let Z=PY1(G,J,X);return H.set(J.node,Z),Z}function TY1(G,J){return RY.call(this,G,J)||this}function RY(G,J){var X;if((X=J)!=null&&X.includes(this))return;if(J=J||[],J.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(G,J)}else if(this.isReferencedIdentifier()){let H=this.scope.getBinding(this.node.name);if(!H)return;if(!H.constant)return;if(H.kind==="module")return;if(H.path!==this){let V=H.path.resolve(G,J);if(this.find((Z)=>Z.node===V.node))return;return V}}else if(this.isTypeCastExpression())return this.get("expression").resolve(G,J);else if(G&&this.isMemberExpression()){let H=this.toComputedKey();if(!KY1(H))return;let V=H.value,Z=this.get("object").resolve(G,J);if(Z.isObjectExpression()){let Q=Z.get("properties");for(let W of Q){if(!W.isProperty())continue;let Y=W.get("key"),z=W.isnt("computed")&&Y.isIdentifier({name:V});if(z=z||Y.isLiteral({value:V}),z)return W.get("value").resolve(G,J)}}else if(Z.isArrayExpression()&&!isNaN(+V)){let W=Z.get("elements")[V];if(W)return W.resolve(G,J)}}}function wY1(){if(this.isIdentifier()){let G=this.scope.getBinding(this.node.name);if(!G)return!1;return G.constant}if(this.isLiteral()){if(this.isRegExpLiteral())return!1;if(this.isTemplateLiteral())return this.get("expressions").every((G)=>G.isConstantExpression());return!0}if(this.isUnaryExpression()){if(this.node.operator!=="void")return!1;return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){let{operator:G}=this.node;return G!=="in"&&G!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}if(this.isMemberExpression())return!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0});if(this.isCallExpression())return this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral();return!1}function LY1(){return!!(this.isProgram()?this:this.parentPath).find((X)=>{if(X.isProgram({sourceType:"module"}))return!0;if(X.isClass())return!0;if(X.isArrowFunctionExpression()&&!X.get("body").isBlockStatement())return!1;let H;if(X.isFunction())H=X.node.body;else if(X.isProgram())H=X.node;else return!1;for(let V of H.directives)if(V.value.value==="use strict")return!0})}});var AY=f((OY)=>{Object.defineProperty(OY,"__esModule",{value:!0});OY._getKey=qY;OY._getPattern=jY;OY.get=zz1;OY.getAllNextSiblings=Wz1;OY.getAllPrevSiblings=Yz1;OY.getAssignmentIdentifiers=Kz1;OY.getBindingIdentifierPaths=Bz1;OY.getBindingIdentifiers=Uz1;OY.getCompletionRecords=Hz1;OY.getNextSibling=Qz1;OY.getOpposite=Gz1;OY.getOuterBindingIdentifierPaths=Mz1;OY.getOuterBindingIdentifiers=Rz1;OY.getPrevSibling=Zz1;OY.getSibling=Vz1;var P6=xG(),rY1=W1(),{getAssignmentIdentifiers:sY1,getBindingIdentifiers:FY,getOuterBindingIdentifiers:dY1,numericLiteral:tY1,unaryExpression:nY1}=rY1,N6=0,MX=1;function oY1(G){return{type:N6,path:G}}function eY1(G){return{type:MX,path:G}}function Gz1(){if(this.key==="left")return this.getSibling("right");else if(this.key==="right")return this.getSibling("left");return null}function PJ(G,J,X){if(G)J.push(...NJ(G,X));return J}function Jz1(G,J,X){let H=[];for(let V=0;V<G.length;V++){let Z=G[V],Q=NJ(Z,X),W=[],Y=[];for(let z of Q){if(z.type===N6)W.push(z);if(z.type===MX)Y.push(z)}if(W.length)H=W;J.push(...Y)}return J.push(...H),J}function Xz1(G){G.forEach((J)=>{J.type=MX})}function I6(G,J){G.forEach((X)=>{if(X.path.isBreakStatement({label:null}))if(J)X.path.replaceWith(nY1("void",tY1(0)));else X.path.remove()})}function $Y(G,J){let X=[];if(J.canHaveBreak){let H=[];for(let V=0;V<G.length;V++){let Z=G[V],Q=Object.assign({},J,{inCaseClause:!1});if(Z.isBlockStatement()&&(J.inCaseClause||J.shouldPopulateBreak))Q.shouldPopulateBreak=!0;else Q.shouldPopulateBreak=!1;let W=NJ(Z,Q);if(W.length>0&&W.every((Y)=>Y.type===MX)){if(H.length>0&&W.every((Y)=>Y.path.isBreakStatement({label:null}))){if(Xz1(H),X.push(...H),H.some((Y)=>Y.path.isDeclaration()))X.push(...W),I6(W,!0);I6(W,!1)}else if(X.push(...W),!J.shouldPopulateBreak)I6(W,!0);break}if(V===G.length-1)X.push(...W);else{H=[];for(let Y=0;Y<W.length;Y++){let z=W[Y];if(z.type===MX)X.push(z);if(z.type===N6)H.push(z)}}}}else if(G.length)for(let H=G.length-1;H>=0;H--){let V=NJ(G[H],J);if(V.length>1||V.length===1&&!V[0].path.isVariableDeclaration()){X.push(...V);break}}return X}function NJ(G,J){let X=[];if(G.isIfStatement())X=PJ(G.get("consequent"),X,J),X=PJ(G.get("alternate"),X,J);else if(G.isDoExpression()||G.isFor()||G.isWhile()||G.isLabeledStatement())return PJ(G.get("body"),X,J);else if(G.isProgram()||G.isBlockStatement())return $Y(G.get("body"),J);else if(G.isFunction())return NJ(G.get("body"),J);else if(G.isTryStatement())X=PJ(G.get("block"),X,J),X=PJ(G.get("handler"),X,J);else if(G.isCatchClause())return PJ(G.get("body"),X,J);else if(G.isSwitchStatement())return Jz1(G.get("cases"),X,J);else if(G.isSwitchCase())return $Y(G.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});else if(G.isBreakStatement())X.push(eY1(G));else X.push(oY1(G));return X}function Hz1(){return NJ(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((J)=>J.path)}function Vz1(G){return P6.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:G}).setContext(this.context)}function Zz1(){return this.getSibling(this.key-1)}function Qz1(){return this.getSibling(this.key+1)}function Wz1(){let G=this.key,J=this.getSibling(++G),X=[];while(J.node)X.push(J),J=this.getSibling(++G);return X}function Yz1(){let G=this.key,J=this.getSibling(--G),X=[];while(J.node)X.push(J),J=this.getSibling(--G);return X}function zz1(G,J=!0){if(J===!0)J=this.context;let X=G.split(".");if(X.length===1)return qY.call(this,G,J);else return jY.call(this,X,J)}function qY(G,J){let X=this.node,H=X[G];if(Array.isArray(H))return H.map((V,Z)=>{return P6.default.get({listKey:G,parentPath:this,parent:X,container:H,key:Z}).setContext(J)});else return P6.default.get({parentPath:this,parent:X,container:X,key:G}).setContext(J)}function jY(G,J){let X=this;for(let H of G)if(H===".")X=X.parentPath;else if(Array.isArray(X))X=X[H];else X=X.get(H,J);return X}function Kz1(){return sY1(this.node)}function Uz1(G){return FY(this.node,G)}function Rz1(G){return dY1(this.node,G)}function Bz1(G=!1,J=!1){let H=[this],V=Object.create(null);while(H.length){let Z=H.shift();if(!Z)continue;if(!Z.node)continue;let Q=FY.keys[Z.node.type];if(Z.isIdentifier()){if(G)(V[Z.node.name]=V[Z.node.name]||[]).push(Z);else V[Z.node.name]=Z;continue}if(Z.isExportDeclaration()){let W=Z.get("declaration");if(W.isDeclaration())H.push(W);continue}if(J){if(Z.isFunctionDeclaration()){H.push(Z.get("id"));continue}if(Z.isFunctionExpression())continue}if(Q)for(let W=0;W<Q.length;W++){let Y=Q[W],z=Z.get(Y);if(Array.isArray(z))H.push(...z);else if(z.node)H.push(z)}}return V}function Mz1(G=!1){return this.getBindingIdentifierPaths(G,!0)}});var SY=f((DY)=>{Object.defineProperty(DY,"__esModule",{value:!0});DY.addComment=Ez1;DY.addComments=gz1;DY.shareCommentsWithSiblings=vz1;var Lz1=W1(),{addComment:bz1,addComments:kz1}=Lz1;function vz1(){if(typeof this.key==="string")return;let G=this.node;if(!G)return;let{trailingComments:J,leadingComments:X}=G;if(!J&&!X)return;let H=this.getSibling(this.key-1),V=this.getSibling(this.key+1),Z=Boolean(H.node),Q=Boolean(V.node);if(Z){if(X)H.addComments("trailing",CY(X,H.node.trailingComments));if(J&&!Q)H.addComments("trailing",J)}if(Q){if(J)V.addComments("leading",CY(J,V.node.leadingComments));if(X&&!Z)V.addComments("leading",X)}}function CY(G,J){if(!(J!=null&&J.length))return G;let X=new Set(J);return G.filter((H)=>{return!X.has(H)})}function Ez1(G,J,X){bz1(this.node,G,J,X)}function gz1(G,J){kz1(this.node,G,J)}});var xG=f((TY)=>{Object.defineProperty(TY,"__esModule",{value:!0});TY.default=TY.SHOULD_STOP=TY.SHOULD_SKIP=TY.REMOVED=void 0;var yz1=E2(),xz1=FZ(),mz1=YX(),cz1=p2(),PY=W1(),L0=PY,lz1=GJ(),iz1=U2(),FG=KQ(),TJ=vQ(),wJ=H6(),fY=wW(),WJ=WY(),w1=MY(),NY=MG(),T1=NY,LJ=S0(),qG=f0(),l1=AY(),T6=SY(),az1=x2(),{validate:pz1}=PY,IY=xz1("babel"),tF1=TY.REMOVED=1,nF1=TY.SHOULD_STOP=2,oF1=TY.SHOULD_SKIP=4,LG=TY.default=class G{constructor(J,X){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=X,this.hub=J,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(J){if(J)this._traverseFlags|=1;else this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(J){if(J)this._traverseFlags|=2;else this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(J){if(J)this._traverseFlags|=4;else this._traverseFlags&=-5}static get({hub:J,parentPath:X,parent:H,container:V,listKey:Z,key:Q}){if(!J&&X)J=X.hub;if(!H)throw new Error("To get a node path the parent needs to exist");let W=V[Q],Y=lz1.getOrCreateCachedPaths(J,H),z=Y.get(W);if(!z){if(z=new G(J,H),W)Y.set(W,z)}return NY.setup.call(z,X,V,Z,Q),z}getScope(J){return this.isScope()?new cz1.default(this):J}setData(J,X){if(this.data==null)this.data=Object.create(null);return this.data[J]=X}getData(J,X){if(this.data==null)this.data=Object.create(null);let H=this.data[J];if(H===void 0&&X!==void 0)H=this.data[J]=X;return H}hasNode(){return this.node!=null}buildCodeFrameError(J,X=SyntaxError){return this.hub.buildError(this.node,J,X)}traverse(J,X){mz1.default(this.node,J,this.scope,X,this)}set(J,X){pz1(this.node,J,X),this.node[J]=X}getPathLocation(){let J=[],X=this;do{let H=X.key;if(X.inList)H=`${X.listKey}[${H}]`;J.unshift(H)}while(X=X.parentPath);return J.join(".")}debug(J){if(!IY.enabled)return;IY(`${this.getPathLocation()} ${this.type}: ${J}`)}toString(){return iz1.default(this.node).code}get inList(){return!!this.listKey}set inList(J){if(!J)this.listKey=null}get parentKey(){return this.listKey||this.key}},rz1={findParent:FG.findParent,find:FG.find,getFunctionParent:FG.getFunctionParent,getStatementParent:FG.getStatementParent,getEarliestCommonAncestorFrom:FG.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:FG.getDeepestCommonAncestorFrom,getAncestry:FG.getAncestry,isAncestor:FG.isAncestor,isDescendant:FG.isDescendant,inType:FG.inType,getTypeAnnotation:TJ.getTypeAnnotation,isBaseType:TJ.isBaseType,couldBeBaseType:TJ.couldBeBaseType,baseTypeStrictlyMatches:TJ.baseTypeStrictlyMatches,isGenericType:TJ.isGenericType,replaceWithMultiple:wJ.replaceWithMultiple,replaceWithSourceString:wJ.replaceWithSourceString,replaceWith:wJ.replaceWith,replaceExpressionWithStatements:wJ.replaceExpressionWithStatements,replaceInline:wJ.replaceInline,evaluateTruthy:fY.evaluateTruthy,evaluate:fY.evaluate,toComputedKey:WJ.toComputedKey,ensureBlock:WJ.ensureBlock,unwrapFunctionEnvironment:WJ.unwrapFunctionEnvironment,arrowFunctionToExpression:WJ.arrowFunctionToExpression,splitExportDeclaration:WJ.splitExportDeclaration,ensureFunctionName:WJ.ensureFunctionName,matchesPattern:w1.matchesPattern,isStatic:w1.isStatic,isNodeType:w1.isNodeType,canHaveVariableDeclarationOrExpression:w1.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:w1.canSwapBetweenExpressionAndStatement,isCompletionRecord:w1.isCompletionRecord,isStatementOrBlock:w1.isStatementOrBlock,referencesImport:w1.referencesImport,getSource:w1.getSource,willIMaybeExecuteBefore:w1.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:w1._guessExecutionStatusRelativeTo,resolve:w1.resolve,isConstantExpression:w1.isConstantExpression,isInStrictMode:w1.isInStrictMode,isDenylisted:T1.isDenylisted,visit:T1.visit,skip:T1.skip,skipKey:T1.skipKey,stop:T1.stop,setContext:T1.setContext,requeue:T1.requeue,requeueComputedKeyAndDecorators:T1.requeueComputedKeyAndDecorators,remove:LJ.remove,insertBefore:qG.insertBefore,insertAfter:qG.insertAfter,unshiftContainer:qG.unshiftContainer,pushContainer:qG.pushContainer,getOpposite:l1.getOpposite,getCompletionRecords:l1.getCompletionRecords,getSibling:l1.getSibling,getPrevSibling:l1.getPrevSibling,getNextSibling:l1.getNextSibling,getAllNextSiblings:l1.getAllNextSiblings,getAllPrevSiblings:l1.getAllPrevSiblings,get:l1.get,getAssignmentIdentifiers:l1.getAssignmentIdentifiers,getBindingIdentifiers:l1.getBindingIdentifiers,getOuterBindingIdentifiers:l1.getOuterBindingIdentifiers,getBindingIdentifierPaths:l1.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:l1.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:T6.shareCommentsWithSiblings,addComment:T6.addComment,addComments:T6.addComments};Object.assign(LG.prototype,rz1);LG.prototype.arrowFunctionToShadowed=WJ[String("arrowFunctionToShadowed")],Object.assign(LG.prototype,{has:w1[String("has")],is:w1[String("is")],isnt:w1[String("isnt")],equals:w1[String("equals")],hoist:qG[String("hoist")],updateSiblingKeys:qG.updateSiblingKeys,call:T1.call,isBlacklisted:T1[String("isBlacklisted")],setScope:T1.setScope,resync:T1.resync,popContext:T1.popContext,pushContext:T1.pushContext,setup:T1.setup,setKey:T1.setKey});LG.prototype._guessExecutionStatusRelativeToDifferentFunctions=w1._guessExecutionStatusRelativeTo,LG.prototype._guessExecutionStatusRelativeToDifferentFunctions=w1._guessExecutionStatusRelativeTo,Object.assign(LG.prototype,{_getTypeAnnotation:TJ._getTypeAnnotation,_replaceWith:wJ._replaceWith,_resolve:w1._resolve,_call:T1._call,_resyncParent:T1._resyncParent,_resyncKey:T1._resyncKey,_resyncList:T1._resyncList,_resyncRemoved:T1._resyncRemoved,_getQueueContexts:T1._getQueueContexts,_removeFromScope:LJ._removeFromScope,_callRemovalHooks:LJ._callRemovalHooks,_remove:LJ._remove,_markRemoved:LJ._markRemoved,_assertUnremoved:LJ._assertUnremoved,_containerInsert:qG._containerInsert,_containerInsertBefore:qG._containerInsertBefore,_containerInsertAfter:qG._containerInsertAfter,_verifyNodeList:qG._verifyNodeList,_getKey:l1._getKey,_getPattern:l1._getPattern});for(let G of L0.TYPES){let J=`is${G}`,X=L0[J];LG.prototype[J]=function(H){return X(this.node,H)},LG.prototype[`assert${G}`]=function(H){if(!X(this.node,H))throw new TypeError(`Expected node path of type ${G}`)}}Object.assign(LG.prototype,az1);for(let G of Object.keys(yz1)){if(G[0]==="_")continue;if(!L0.TYPES.includes(G))L0.TYPES.push(G)}});var vY=f((bY)=>{Object.defineProperty(bY,"__esModule",{value:!0});bY.default=void 0;var nz1=xG(),oz1=W1(),w6=MG(),{VISITOR_KEYS:ez1}=oz1;class LY{constructor(G,J,X,H){this.queue=null,this.priorityQueue=null,this.parentPath=H,this.scope=G,this.state=X,this.opts=J}shouldVisit(G){let J=this.opts;if(J.enter||J.exit)return!0;if(J[G.type])return!0;let X=ez1[G.type];if(!(X!=null&&X.length))return!1;for(let H of X)if(G[H])return!0;return!1}create(G,J,X,H){return nz1.default.get({parentPath:this.parentPath,parent:G,container:J,key:X,listKey:H})}maybeQueue(G,J){if(this.queue)if(J)this.queue.push(G);else this.priorityQueue.push(G)}visitMultiple(G,J,X){if(G.length===0)return!1;let H=[];for(let V=0;V<G.length;V++){let Z=G[V];if(Z&&this.shouldVisit(Z))H.push(this.create(J,G,V,X))}return this.visitQueue(H)}visitSingle(G,J){if(this.shouldVisit(G[J]))return this.visitQueue([this.create(G,G,J)]);else return!1}visitQueue(G){this.queue=G,this.priorityQueue=[];let J=new WeakSet,X=!1,H=0;for(;H<G.length;){let V=G[H];if(H++,w6.resync.call(V),V.contexts.length===0||V.contexts[V.contexts.length-1]!==this)w6.pushContext.call(V,this);if(V.key===null)continue;let{node:Z}=V;if(J.has(Z))continue;if(Z)J.add(Z);if(V.visit()){X=!0;break}if(this.priorityQueue.length){if(X=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=G,X)break}}for(let V=0;V<H;V++)w6.popContext.call(G[V]);return this.queue=null,X}visit(G,J){let X=G[J];if(!X)return!1;if(Array.isArray(X))return this.visitMultiple(X,G,J);else return this.visitSingle(G,J)}}bY.default=LY});var $0=f((EY)=>{Object.defineProperty(EY,"__esModule",{value:!0});EY.traverseNode=H31;var G31=vY(),J31=W1(),{VISITOR_KEYS:X31}=J31;function H31(G,J,X,H,V,Z,Q){let W=X31[G.type];if(!W)return!1;let Y=new G31.default(X,J,H,V);if(Q){if(Z!=null&&Z[V.parentKey])return!1;return Y.visitQueue([V])}for(let z of W){if(Z!=null&&Z[z])continue;if(Y.visit(G,z))return!0}return!1}});var MG=f((cY)=>{Object.defineProperty(cY,"__esModule",{value:!0});cY._call=b6;cY._getQueueContexts=A31;cY._resyncKey=xY;cY._resyncList=mY;cY._resyncParent=yY;cY._resyncRemoved=M31;cY.call=L6;cY.isDenylisted=hY;cY.popContext=$31;cY.pushContext=F31;cY.requeue=j31;cY.requeueComputedKeyAndDecorators=O31;cY.resync=B31;cY.setContext=R31;cY.setKey=b0;cY.setScope=uY;cY.setup=q31;cY.skip=z31;cY.skipKey=K31;cY.stop=U31;cY.visit=Y31;var Z31=$0(),gY=xG(),Q31=S0(),W31=W1();function L6(G){let J=this.opts;if(this.debug(G),this.node){if(b6.call(this,J[G]))return!0}if(this.node){var X;return b6.call(this,(X=J[this.node.type])==null?void 0:X[G])}return!1}function b6(G){if(!G)return!1;for(let J of G){if(!J)continue;let X=this.node;if(!X)return!0;let H=J.call(this.state,this,this.state);if(H&&typeof H==="object"&&typeof H.then==="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(H)throw new Error(`Unexpected return value from visitor method ${J}`);if(this.node!==X)return!0;if(this._traverseFlags>0)return!0}return!1}function hY(){var G;let J=(G=this.opts.denylist)!=null?G:this.opts.blacklist;return J==null?void 0:J.includes(this.node.type)}cY.isBlacklisted=hY;function _Y(G,J){if(G.context!==J)G.context=J,G.state=J.state,G.opts=J.opts}function Y31(){var G,J;if(!this.node)return!1;if(this.isDenylisted())return!1;if((G=(J=this.opts).shouldSkip)!=null&&G.call(J,this))return!1;let X=this.context;if(this.shouldSkip||L6.call(this,"enter"))return this.debug("Skip..."),this.shouldStop;return _Y(this,X),this.debug("Recursing into..."),this.shouldStop=Z31.traverseNode(this.node,this.opts,this.scope,this.state,this,this.skipKeys),_Y(this,X),L6.call(this,"exit"),this.shouldStop}function z31(){this.shouldSkip=!0}function K31(G){if(this.skipKeys==null)this.skipKeys={};this.skipKeys[G]=!0}function U31(){this._traverseFlags|=gY.SHOULD_SKIP|gY.SHOULD_STOP}function uY(){var G,J;if((G=this.opts)!=null&&G.noScope)return;let X=this.parentPath;if((this.key==="key"||this.listKey==="decorators")&&X.isMethod()||this.key==="discriminant"&&X.isSwitchStatement())X=X.parentPath;let H;while(X&&!H){var V;if((V=X.opts)!=null&&V.noScope)return;H=X.scope,X=X.parentPath}this.scope=this.getScope(H),(J=this.scope)==null||J.init()}function R31(G){if(this.skipKeys!=null)this.skipKeys={};if(this._traverseFlags=0,G)this.context=G,this.state=G.state,this.opts=G.opts;return uY.call(this),this}function B31(){if(this.removed)return;yY.call(this),mY.call(this),xY.call(this)}function yY(){if(this.parentPath)this.parent=this.parentPath.node}function xY(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let G=0;G<this.container.length;G++)if(this.container[G]===this.node){b0.call(this,G);return}}else for(let G of Object.keys(this.container))if(this.container[G]===this.node){b0.call(this,G);return}this.key=null}function mY(){if(!this.parent||!this.inList)return;let G=this.parent[this.listKey];if(this.container===G)return;this.container=G||null}function M31(){if(this.key==null||!this.container||this.container[this.key]!==this.node)Q31._markRemoved.call(this)}function $31(){if(this.contexts.pop(),this.contexts.length>0)this.setContext(this.contexts[this.contexts.length-1]);else this.setContext(void 0)}function F31(G){this.contexts.push(G),this.setContext(G)}function q31(G,J,X,H){this.listKey=X,this.container=J,this.parentPath=G||this.parentPath,b0.call(this,H)}function b0(G){var J;this.key=G,this.node=this.container[this.key],this.type=(J=this.node)==null?void 0:J.type}function j31(G=this){if(G.removed)return;let J=this.contexts;for(let X of J)X.maybeQueue(G)}function O31(){let{context:G,node:J}=this;if(!W31.isPrivate(J)&&J.computed)G.maybeQueue(this.get("key"));if(J.decorators)for(let X of this.get("decorators"))G.maybeQueue(X)}function A31(){let G=this,J=this.contexts;while(!J.length){if(G=G.parentPath,!G)break;J=G.contexts}return J}});var pY=f((iY)=>{Object.defineProperty(iY,"__esModule",{value:!0});iY.default=void 0;class lY{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(G,J,X=TypeError){return new X(J)}}iY.default=lY});var YX=f((FX)=>{Object.defineProperty(FX,"__esModule",{value:!0});Object.defineProperty(FX,"Hub",{enumerable:!0,get:function(){return p31.default}});Object.defineProperty(FX,"NodePath",{enumerable:!0,get:function(){return i31.default}});Object.defineProperty(FX,"Scope",{enumerable:!0,get:function(){return a31.default}});FX.visitors=FX.default=void 0;MG();var $X=WX();FX.visitors=$X;var c31=W1(),l31=GJ(),rY=$0(),i31=xG(),a31=p2(),p31=pY(),{VISITOR_KEYS:r31,removeProperties:s31,traverseFast:sY}=c31;function HG(G,J={},X,H,V,Z){if(!G)return;if(!J.noScope&&!X){if(G.type!=="Program"&&G.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${G.type} node without passing scope and parentPath.`)}if(!V&&Z)throw new Error("visitSelf can only be used when providing a NodePath.");if(!r31[G.type])return;$X.explode(J),rY.traverseNode(G,J,X,H,V,null,Z)}var Zq1=FX.default=HG;HG.visitors=$X;HG.verify=$X.verify;HG.explode=$X.explode;HG.cheap=function(G,J){sY(G,J);return};HG.node=function(G,J,X,H,V,Z){rY.traverseNode(G,J,X,H,V,Z)};HG.clearNode=function(G,J){s31(G,J)};HG.removeProperties=function(G,J){return sY(G,HG.clearNode,J),G};function d31(G,J){if(G.node.type===J.type)J.has=!0,G.stop()}HG.hasType=function(G,J,X){if(X!=null&&X.includes(G.type))return!1;if(G.type===J)return!0;let H={has:!1,type:J};return HG(G,{noScope:!0,denylist:X,enter:d31},null,H),H.has};HG.cache=l31});import GK1 from"process";import{bold as k6,dim as v6,green as JK1,italic as tY,log as XK1}from"@stacksjs/cli";import{path as k0}from"@stacksjs/path";import{fs as HK1,glob as VK1}from"@stacksjs/storage";var n31=h0(U2(),1),o31=h0(W0(),1),e31=h0(YX(),1);async function Rq1(G){let X=Date.now()-G.startTime,H=G.pkgName??`@stacksjs/${k0.basename(G.dir)}`;if(!G.result.success)console.log(G.result.logs[0]),GK1.exit(1);let V=await VK1([k0.resolve(G.dir,"dist","**/*")],{absolute:!0});for(let Z of V){let Q=await HK1.stat(Z),W;if(Q.size<1048576)W=`${(Q.size/1024).toFixed(2)}kb`;else W=`${(Q.size/1024/1024).toFixed(2)}mb`;let Y=k0.relative(G.dir,Z).replace("dist/","");console.log(`${k6(v6(`[${W}]`))} ${v6("dist/")}${Y}`)}console.log(`${k6(v6(`[${X}ms]`))} Built ${tY(k6(JK1(H)))}`)}async function Bq1(G){let J=G.pkgName??`@stacksjs/${k0.basename(G.dir)}`;if(G.styled===!1)console.log(`Building ${J}...`);else XK1.info(`Building ${tY(J)}...`);return{startTime:Date.now()}}var export_traverse=e31.default;var export_parser=o31.default;var export_generator=n31.default;export{export_traverse as traverse,export_parser as parser,Rq1 as outro,Bq1 as intro,export_generator as generator};