@stacksjs/build 0.66.0 → 0.67.0

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,13 +1,13 @@
1
1
  // @bun
2
- var rW=Object.create;var{getPrototypeOf:dW,defineProperty:c0,getOwnPropertyNames:BG,getOwnPropertyDescriptor:sW}=Object,RG=Object.prototype.hasOwnProperty;var e9=(J,G,X)=>{X=J!=null?rW(dW(J)):{};const H=G||!J||!J.__esModule?c0(X,"default",{value:J,enumerable:!0}):X;for(let V of BG(J))if(!RG.call(H,V))c0(H,V,{get:()=>J[V],enumerable:!0});return H},UG=new WeakMap,tW=(J)=>{var G=UG.get(J),X;if(G)return G;if(G=c0({},"__esModule",{value:!0}),J&&typeof J==="object"||typeof J==="function")BG(J).map((H)=>!RG.call(G,H)&&c0(G,H,{get:()=>J[H],enumerable:!(X=sW(J,H))||X.enumerable}));return UG.set(J,G),G},C=(J,G)=>()=>(G||J((G={exports:{}}).exports,G),G.exports);var nW=(J,G)=>{for(var X in G)c0(J,X,{get:G[X],enumerable:!0,configurable:!0,set:(H)=>G[X]=()=>H})};var oW=(J,G)=>()=>(J&&(G=J(J=0)),G);var MG=C((v5,$G)=>{(function(J,G){typeof v5==="object"&&typeof $G!=="undefined"?G(v5):typeof define==="function"&&define.amd?define(["exports"],G):(J=typeof globalThis!=="undefined"?globalThis:J||self,G(J.setArray={}))})(v5,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){const z=H(Y,W);if(z!==void 0)return z;const{array:U,_indexes:F}=X(Y),A=U.push(W);return F[W]=A-1}function Z(Y){const{array:W,_indexes:z}=X(Y);if(W.length===0)return;const U=W.pop();z[U]=void 0}function Q(Y,W){const z=H(Y,W);if(z===void 0)return;const{array:U,_indexes:F}=X(Y);for(let A=z+1;A<U.length;A++){const 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 J4=C((g5,qG)=>{(function(J,G){typeof g5==="object"&&typeof qG!=="undefined"?G(g5):typeof define==="function"&&define.amd?define(["exports"],G):(J=typeof globalThis!=="undefined"?globalThis:J||self,G(J.sourcemapCodec={}))})(g5,function(J){const G=",".charCodeAt(0),X=";".charCodeAt(0),V=new Uint8Array(64),Z=new Uint8Array(128);for(let y=0;y<"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".length;y++){const x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(y);V[y]=x,Z[x]=y}function Q(y,x){let N=0,c=0,V1=0;do{const u=y.next();V1=Z[u],N|=(V1&31)<<c,c+=5}while(V1&32);const 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}const 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){const{buffer:x}=this;if(x[this.pos++]=y,this.pos===z)this.out+=U.decode(x),this.pos=0}flush(){const{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){const{buffer:x,pos:N}=this,c=x.indexOf(y,N);return c===-1?x.length:c}}const D=[];function I(y){const{length:x}=y,N=new A(y),c=[],V1=[];let R1=0;for(;N.pos<x;N.pos++){R1=Q(N,R1);const u=Q(N,0);if(!W(N,x)){const o=V1.pop();o[2]=R1,o[3]=u;continue}const g=Q(N,0),e=Q(N,0)&1?[R1,u,0,0,g,Q(N,0)]:[R1,u,0,0,g];let G1=D;if(W(N,x)){G1=[];do{const o=Q(N,0);G1.push(o)}while(W(N,x))}e.vars=G1,c.push(e),V1.push(e)}return c}function _(y){const 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){const 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);const 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;){const 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){const{length:x}=y,N=new A(y),c=[],V1=[];let R1=0,u=0,g=0,l=0,i=0,e=0,G1=0,o=0;do{const H1=N.indexOf(";");let U1=0;for(;N.pos<H1;N.pos++){if(U1=Q(N,U1),!W(N,H1)){const _1=V1.pop();_1[2]=R1,_1[3]=U1;continue}const u1=Q(N,0),W2=u1&1,n1=u1&2,J2=u1&4;let $2=null,z2=D,x1;if(W2){const _1=Q(N,u);g=Q(N,u===_1?g:0),u=_1,x1=[R1,U1,0,0,_1,g]}else x1=[R1,U1,0,0];if(x1.isScope=!!J2,n1){const _1=l,S2=i;l=Q(N,l);const r2=_1===l;i=Q(N,r2?i:0),e=Q(N,r2&&S2===i?e:0),$2=[l,i,e]}if(x1.callsite=$2,W(N,H1)){z2=[];do{G1=R1,o=U1;const _1=Q(N,0);let S2;if(_1<-1){S2=[[Q(N,0)]];for(let r2=-1;r2>_1;r2--){const s9=G1;G1=Q(N,G1),o=Q(N,G1===s9?o:0);const x0=Q(N,0);S2.push([x0,G1,o])}}else S2=[[_1]];z2.push(S2)}while(W(N,H1))}x1.bindings=z2,c.push(x1),V1.push(x1)}R1++,N.pos=H1+1}while(N.pos<x);return c}function k(y){if(y.length===0)return"";const 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){const 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]);const o=(V1.length===6?1:0)|(e?2:0)|(i?4:0);if(Y(N,o,0),V1.length===6){const{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){const{0:H1,1:U1,2:u1}=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,u1,c[6])}if(G1)for(let H1 of G1){if(H1.length>1)Y(N,-H1.length,0);const U1=H1[0][0];Y(N,U1,0);let u1=R1,W2=u;for(let n1=1;n1<H1.length;n1++){const J2=H1[n1];u1=Y(N,J2[1],u1),W2=Y(N,J2[2],W2),Y(N,J2[0],0)}}for(x++;x<y.length;){const H1=y[x],{0:U1,1:u1}=H1;if(U1>g||U1===g&&u1>=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){const{length:x}=y,N=new A(y),c=[];let V1=0,R1=0,u=0,g=0,l=0;do{const i=N.indexOf(";"),e=[];let 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){const x=new F;let N=0,c=0,V1=0,R1=0;for(let u=0;u<y.length;u++){const 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++){const 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 FG=C((G4,X4)=>{(function(J,G){typeof G4==="object"&&typeof X4!=="undefined"?X4.exports=G():typeof define==="function"&&define.amd?define(G):(J=typeof globalThis!=="undefined"?globalThis:J||self,J.resolveURI=G())})(G4,function(){const 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){const w=G.exec(f);return U(w[1],w[2]||"",w[3],w[4]||"",w[5]||"/",w[6]||"",w[7]||"")}function z(f){const 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)){const k=W("http:"+f);return k.scheme="",k.type=6,k}if(Z(f)){const 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);const 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;const 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){const k=w<=4,Q1=f.path.split("/");let d=1,Y1=0,$1=!1;for(let b1=1;b1<Q1.length;b1++){const 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"";const k=F(f);let Q1=k.type;if(w&&Q1!==7){const 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);const d=k.query+k.hash;switch(Q1){case 2:case 3:return d;case 4:{const 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 H4=C((_5,jG)=>{(function(J,G){typeof _5==="object"&&typeof jG!=="undefined"?G(_5,J4(),FG()):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))})(_5,function(J,G,X){function H(P,L){if(L&&!L.endsWith("/"))L+="/";return X(P,L)}function V(P){if(!P)return"";const L=P.lastIndexOf("/");return P.slice(0,L+1)}const Z=0,Q=1,Y=2,W=3,z=4,U=1,F=2;function A(P,L){const 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){const 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){const{lastKey:Z1,lastNeedle:t,lastIndex:F1}=b;let 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){const b=L.map(y);for(let m=0;m<P.length;m++){const Z1=P[m];for(let t=0;t<Z1.length;t++){const F1=Z1[t];if(F1.length===1)continue;const C1=F1[Q],B1=F1[Y],S1=F1[W],s1=b[C1],P1=s1[B1]||(s1[B1]=[]),E1=L[C1];let o1=Q1(P1,S1,$1(P1,S1,E1,B1));E1.lastIndex=++o1,b1(P1,o1,[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}}const x=function(P,L){const b=N(P);if(!("sections"in b))return new G1(b,L);const m=[],Z1=[],t=[],F1=[],C1=[];c(b,L,m,Z1,t,F1,C1,0,0,1/0,1/0);const 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,s1){const{sections:P1}=P;for(let E1=0;E1<P1.length;E1++){const{map:o1,offset:M2}=P1[E1];let d2=S1,$0=s1;if(E1+1<P1.length){const M0=P1[E1+1].offset;if(d2=Math.min(S1,C1+M0.line),d2===S1)$0=Math.min(s1,B1+M0.column);else if(d2<S1)$0=B1+M0.column}V1(o1,L,b,m,Z1,t,F1,C1+M2.line,B1+M2.column,d2,$0)}}function V1(P,L,b,m,Z1,t,F1,C1,B1,S1,s1){const P1=N(P);if("sections"in P1)return c(...arguments);const E1=new G1(P1,L),o1=m.length,M2=t.length,d2=U1(E1),{resolvedSources:$0,sourcesContent:M0,ignoreList:t9}=E1;if(R1(m,$0),R1(t,E1.names),M0)R1(Z1,M0);else for(let G2=0;G2<$0.length;G2++)Z1.push(null);if(t9)for(let G2=0;G2<t9.length;G2++)F1.push(t9[G2]+o1);for(let G2=0;G2<d2.length;G2++){const n9=C1+G2;if(n9>S1)return;const QG=u(b,n9),pW=G2===0?B1:0,YG=d2[G2];for(let o9=0;o9<YG.length;o9++){const s2=YG[o9],E5=pW+s2[Z];if(n9===S1&&E5>=s1)return;if(s2.length===1){QG.push([E5]);continue}const WG=o1+s2[Q],zG=s2[Y],KG=s2[W];QG.push(s2.length===4?[E5,WG,zG,KG]:[E5,WG,zG,KG,M2+s2[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]}const 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){const b=typeof P==="string";if(!b&&P._decodedMemo)return P;const 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;const s1=H(C1||"",V(L));this.resolvedSources=B1.map((E1)=>H(E1||"",s1));const{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 u1(P,L,b){const m=U1(P);if(L>=m.length)return null;const Z1=m[L],t=b5(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);const t=U1(P);if(b>=t.length)return k5(null,null,null,null);const F1=t[b],C1=b5(F1,o(P)._decodedMemo,b,m,Z1||e);if(C1===-1)return k5(null,null,null,null);const B1=F1[C1];if(B1.length===1)return k5(null,null,null,null);const{names:S1,resolvedSources:s1}=P;return k5(s1[B1[Q]],B1[Y]+1,B1[W],B1.length===5?S1[B1[z]]:null)}function n1(P,L){const{source:b,line:m,column:Z1,bias:t}=L;return ZG(P,b,m,Z1,t||e,!1)}function J2(P,L){const{source:b,line:m,column:Z1,bias:t}=L;return ZG(P,b,m,Z1,t||i,!0)}function $2(P,L){const b=U1(P),{names:m,resolvedSources:Z1}=P;for(let t=0;t<b.length;t++){const F1=b[t];for(let C1=0;C1<F1.length;C1++){const B1=F1[C1],S1=t+1,s1=B1[0];let P1=null,E1=null,o1=null,M2=null;if(B1.length!==1)P1=Z1[B1[1]],E1=B1[2]+1,o1=B1[3];if(B1.length===5)M2=m[B1[4]];L({generatedLine:S1,generatedColumn:s1,source:P1,originalLine:E1,originalColumn:o1,name:M2})}}}function z2(P,L){const{sources:b,resolvedSources:m}=P;let Z1=b.indexOf(L);if(Z1===-1)Z1=m.indexOf(L);return Z1}function x1(P,L){const{sourcesContent:b}=P;if(b==null)return null;const m=z2(P,L);return m===-1?null:b[m]}function _1(P,L){const{ignoreList:b}=P;if(b==null)return!1;const m=z2(P,L);return m===-1?!1:b.includes(m)}function S2(P,L){const b=new G1(x0(P,[]),L);return o(b)._decoded=P.mappings,b}function r2(P){return x0(P,U1(P))}function s9(P){return x0(P,H1(P))}function x0(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 k5(P,L,b,m){return{source:P,line:L,column:b,name:m}}function m0(P,L){return{line:P,column:L}}function b5(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 aW(P,L,b,m,Z1){let t=b5(P,L,b,m,e);if(!w&&Z1===i)t++;if(t===-1||t===P.length)return[];const F1=w?m:P[t][Z];if(!w)t=d(P,F1,t);const C1=Q1(P,F1,t),B1=[];for(;t<=C1;t++){const S1=P[t];B1.push(m0(S1[U]+1,S1[F]))}return B1}function ZG(P,L,b,m,Z1,t){var F1;if(b--,b<0)throw new Error(g);if(m<0)throw new Error(l);const{sources:C1,resolvedSources:B1}=P;let S1=C1.indexOf(L);if(S1===-1)S1=B1.indexOf(L);if(S1===-1)return t?[]:m0(null,null);const P1=((F1=o(P))._bySources||(F1._bySources=T1(U1(P),o(P)._bySourceMemos=C1.map(Y1))))[S1][b];if(P1==null)return t?[]:m0(null,null);const E1=o(P)._bySourceMemos[S1];if(t)return aW(P1,E1,b,m,Z1);const o1=b5(P1,E1,b,m,Z1);if(o1===-1)return m0(null,null);const M2=P1[o1];return m0(M2[U]+1,M2[F])}J.AnyMap=x,J.GREATEST_LOWER_BOUND=e,J.LEAST_UPPER_BOUND=i,J.TraceMap=G1,J.allGeneratedPositionsFor=J2,J.decodedMap=r2,J.decodedMappings=U1,J.eachMapping=$2,J.encodedMap=s9,J.encodedMappings=H1,J.generatedPositionFor=n1,J.isIgnored=_1,J.originalPositionFor=W2,J.presortedDecodedMap=S2,J.sourceContentFor=x1,J.traceSegment=u1})});var AG=C((u5,OG)=>{(function(J,G){typeof u5==="object"&&typeof OG!=="undefined"?G(u5,MG(),J4(),H4()):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))})(u5,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)}const 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){const{_sources:i,_sourcesContent:e}=F(u),G1=G.put(i,g);e[G1]=l}function w(u,g,l=!0){const{_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){const{_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){const g=k(u);return Object.assign(Object.assign({},g),{mappings:X.encode(g.mappings)})}function d(u){const 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){const g=[],{_mappings:l,_sources:i,_names:e}=F(u);for(let G1=0;G1<l.length;G1++){const o=l[G1];for(let H1=0;H1<o.length;H1++){const U1=o[H1],u1={line:G1+1,column:U1[0]};let W2=void 0,n1=void 0,J2=void 0;if(U1.length!==1){if(W2=i.array[U1[1]],n1={line:U1[2]+1,column:U1[3]},U1.length===5)J2=e.array[U1[4]]}g.push({generated:u1,source:W2,original:n1,name:J2})}}return g}function $1(u,g,l,i,e,G1,o,H1,U1){const{_mappings:u1,_sources:W2,_sourcesContent:n1,_names:J2}=F(g),$2=T1(u1,l),z2=b1($2,i);if(!e){if(u&&c($2,z2))return;return y($2,z2,[i])}const x1=G.put(W2,e),_1=H1?G.put(J2,H1):-1;if(x1===n1.length)n1[x1]=U1!==null&&U1!==void 0?U1:null;if(u&&V1($2,z2,x1,G1,o,_1))return;return y($2,z2,H1?[i,x1,G1,o,_1]:[i,x1,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--){const 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){const{length:g}=u;let 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;const 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){const{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 IG=C((DG)=>{Object.defineProperty(DG,"__esModule",{value:!0});DG.default=void 0;var _2=AG(),V4=H4();class CG{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;const 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 V4.TraceMap(J.inputSourceMap);const 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=V4.originalPositionFor(this._inputMap,{line:G,column:X}),!Y.name&&V){const W=V4.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})}}DG.default=CG});var TG=C((fG)=>{Object.defineProperty(fG,"__esModule",{value:!0});fG.default=void 0;class PG{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(){const 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){const Z=this._queueCursor;if(Z===this._queue.length)this._allocQueue();const 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();const J=this._map,G={code:(this._buf+this._str).trimRight(),decodedMap:J==null?void 0:J.getDecoded(),get __mergedMap(){return this.map},get map(){const X=J?J.get():null;return G.map=X,X},set map(X){Object.defineProperty(G,"map",{value:X,writable:!0})},get rawMappings(){const 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){const X=this._queue[this._queueCursor-1].char;if(X!==32&&X!==9)break;this._queueCursor--}const 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(){const J=this._queueCursor,G=this._queue;for(let X=0;X<J;X++){const H=G[X];this._appendChar(H.char,H.repeat,H)}this._queueCursor=0}_appendChar(J,G,X){if(this._last=J,J===-1){const 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){const 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}const{column:Z,identifierName:Q,identifierNamePos:Y,filename:W}=G;let 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(){const J=this._queueCursor;if(J!==0&&this._queue[J-1].char===10)this._queueCursor--}removeLastSemicolon(){const J=this._queueCursor;if(J!==0&&this._queue[J-1].char===59)this._queueCursor--}getLastChar(){const J=this._queueCursor;return J!==0?this._queue[J-1].char:this._last}getNewlineCount(){const J=this._queueCursor;let 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(){const 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);const 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){const 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(){const J=this._queue,G=this._queueCursor;let X=-1,H=0;for(let V=0;V<G;V++){const 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;const G=this._queue;for(let X=0;X<this._queueCursor;X++)if(G[X].char===10)J++;return this._position.line+J}}fG.default=PG});var h5=C((wG)=>{function eW(J,G){const X=Object.keys(G);for(let H of X)if(J[H]!==G[H])return!1;return!0}Object.defineProperty(wG,"__esModule",{value:!0});wG.default=eW});var l0=C((kG)=>{function Gz(J,G,X=""){if(LG.has(J))return;LG.add(J);const{internal:H,trace:V}=Xz(1,2);if(H)return;console.warn(`${X}\`${J}\` has been deprecated, please migrate to \`${G}\`\n${V}`)}function Xz(J,G){const{stackTraceLimit:X,prepareStackTrace:H}=Error;let 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:""};const Z=V.slice(1+J,1+J+G);return{internal:/[\\/]@babel[\\/]/.test(Z[1].getFileName()),trace:Z.map((Q)=>` at ${Q}`).join("\n")}}Object.defineProperty(kG,"__esModule",{value:!0});kG.default=Gz;var LG=new Set});var w1=C((EG)=>{function Vz(J,G){if(!J)return!1;if(J.type!=="ArrayExpression")return!1;return G==null||R.default(J,G)}function Zz(J,G){if(!J)return!1;if(J.type!=="AssignmentExpression")return!1;return G==null||R.default(J,G)}function Qz(J,G){if(!J)return!1;if(J.type!=="BinaryExpression")return!1;return G==null||R.default(J,G)}function Yz(J,G){if(!J)return!1;if(J.type!=="InterpreterDirective")return!1;return G==null||R.default(J,G)}function Wz(J,G){if(!J)return!1;if(J.type!=="Directive")return!1;return G==null||R.default(J,G)}function zz(J,G){if(!J)return!1;if(J.type!=="DirectiveLiteral")return!1;return G==null||R.default(J,G)}function Kz(J,G){if(!J)return!1;if(J.type!=="BlockStatement")return!1;return G==null||R.default(J,G)}function Uz(J,G){if(!J)return!1;if(J.type!=="BreakStatement")return!1;return G==null||R.default(J,G)}function Bz(J,G){if(!J)return!1;if(J.type!=="CallExpression")return!1;return G==null||R.default(J,G)}function Rz(J,G){if(!J)return!1;if(J.type!=="CatchClause")return!1;return G==null||R.default(J,G)}function $z(J,G){if(!J)return!1;if(J.type!=="ConditionalExpression")return!1;return G==null||R.default(J,G)}function Mz(J,G){if(!J)return!1;if(J.type!=="ContinueStatement")return!1;return G==null||R.default(J,G)}function qz(J,G){if(!J)return!1;if(J.type!=="DebuggerStatement")return!1;return G==null||R.default(J,G)}function Fz(J,G){if(!J)return!1;if(J.type!=="DoWhileStatement")return!1;return G==null||R.default(J,G)}function jz(J,G){if(!J)return!1;if(J.type!=="EmptyStatement")return!1;return G==null||R.default(J,G)}function Oz(J,G){if(!J)return!1;if(J.type!=="ExpressionStatement")return!1;return G==null||R.default(J,G)}function Az(J,G){if(!J)return!1;if(J.type!=="File")return!1;return G==null||R.default(J,G)}function Cz(J,G){if(!J)return!1;if(J.type!=="ForInStatement")return!1;return G==null||R.default(J,G)}function Dz(J,G){if(!J)return!1;if(J.type!=="ForStatement")return!1;return G==null||R.default(J,G)}function Sz(J,G){if(!J)return!1;if(J.type!=="FunctionDeclaration")return!1;return G==null||R.default(J,G)}function Iz(J,G){if(!J)return!1;if(J.type!=="FunctionExpression")return!1;return G==null||R.default(J,G)}function Pz(J,G){if(!J)return!1;if(J.type!=="Identifier")return!1;return G==null||R.default(J,G)}function fz(J,G){if(!J)return!1;if(J.type!=="IfStatement")return!1;return G==null||R.default(J,G)}function Nz(J,G){if(!J)return!1;if(J.type!=="LabeledStatement")return!1;return G==null||R.default(J,G)}function Tz(J,G){if(!J)return!1;if(J.type!=="StringLiteral")return!1;return G==null||R.default(J,G)}function wz(J,G){if(!J)return!1;if(J.type!=="NumericLiteral")return!1;return G==null||R.default(J,G)}function Lz(J,G){if(!J)return!1;if(J.type!=="NullLiteral")return!1;return G==null||R.default(J,G)}function kz(J,G){if(!J)return!1;if(J.type!=="BooleanLiteral")return!1;return G==null||R.default(J,G)}function bz(J,G){if(!J)return!1;if(J.type!=="RegExpLiteral")return!1;return G==null||R.default(J,G)}function Ez(J,G){if(!J)return!1;if(J.type!=="LogicalExpression")return!1;return G==null||R.default(J,G)}function vz(J,G){if(!J)return!1;if(J.type!=="MemberExpression")return!1;return G==null||R.default(J,G)}function gz(J,G){if(!J)return!1;if(J.type!=="NewExpression")return!1;return G==null||R.default(J,G)}function _z(J,G){if(!J)return!1;if(J.type!=="Program")return!1;return G==null||R.default(J,G)}function uz(J,G){if(!J)return!1;if(J.type!=="ObjectExpression")return!1;return G==null||R.default(J,G)}function hz(J,G){if(!J)return!1;if(J.type!=="ObjectMethod")return!1;return G==null||R.default(J,G)}function yz(J,G){if(!J)return!1;if(J.type!=="ObjectProperty")return!1;return G==null||R.default(J,G)}function xz(J,G){if(!J)return!1;if(J.type!=="RestElement")return!1;return G==null||R.default(J,G)}function mz(J,G){if(!J)return!1;if(J.type!=="ReturnStatement")return!1;return G==null||R.default(J,G)}function cz(J,G){if(!J)return!1;if(J.type!=="SequenceExpression")return!1;return G==null||R.default(J,G)}function lz(J,G){if(!J)return!1;if(J.type!=="ParenthesizedExpression")return!1;return G==null||R.default(J,G)}function iz(J,G){if(!J)return!1;if(J.type!=="SwitchCase")return!1;return G==null||R.default(J,G)}function az(J,G){if(!J)return!1;if(J.type!=="SwitchStatement")return!1;return G==null||R.default(J,G)}function pz(J,G){if(!J)return!1;if(J.type!=="ThisExpression")return!1;return G==null||R.default(J,G)}function rz(J,G){if(!J)return!1;if(J.type!=="ThrowStatement")return!1;return G==null||R.default(J,G)}function dz(J,G){if(!J)return!1;if(J.type!=="TryStatement")return!1;return G==null||R.default(J,G)}function sz(J,G){if(!J)return!1;if(J.type!=="UnaryExpression")return!1;return G==null||R.default(J,G)}function tz(J,G){if(!J)return!1;if(J.type!=="UpdateExpression")return!1;return G==null||R.default(J,G)}function nz(J,G){if(!J)return!1;if(J.type!=="VariableDeclaration")return!1;return G==null||R.default(J,G)}function oz(J,G){if(!J)return!1;if(J.type!=="VariableDeclarator")return!1;return G==null||R.default(J,G)}function ez(J,G){if(!J)return!1;if(J.type!=="WhileStatement")return!1;return G==null||R.default(J,G)}function JK(J,G){if(!J)return!1;if(J.type!=="WithStatement")return!1;return G==null||R.default(J,G)}function GK(J,G){if(!J)return!1;if(J.type!=="AssignmentPattern")return!1;return G==null||R.default(J,G)}function XK(J,G){if(!J)return!1;if(J.type!=="ArrayPattern")return!1;return G==null||R.default(J,G)}function HK(J,G){if(!J)return!1;if(J.type!=="ArrowFunctionExpression")return!1;return G==null||R.default(J,G)}function VK(J,G){if(!J)return!1;if(J.type!=="ClassBody")return!1;return G==null||R.default(J,G)}function ZK(J,G){if(!J)return!1;if(J.type!=="ClassExpression")return!1;return G==null||R.default(J,G)}function QK(J,G){if(!J)return!1;if(J.type!=="ClassDeclaration")return!1;return G==null||R.default(J,G)}function YK(J,G){if(!J)return!1;if(J.type!=="ExportAllDeclaration")return!1;return G==null||R.default(J,G)}function WK(J,G){if(!J)return!1;if(J.type!=="ExportDefaultDeclaration")return!1;return G==null||R.default(J,G)}function zK(J,G){if(!J)return!1;if(J.type!=="ExportNamedDeclaration")return!1;return G==null||R.default(J,G)}function KK(J,G){if(!J)return!1;if(J.type!=="ExportSpecifier")return!1;return G==null||R.default(J,G)}function UK(J,G){if(!J)return!1;if(J.type!=="ForOfStatement")return!1;return G==null||R.default(J,G)}function BK(J,G){if(!J)return!1;if(J.type!=="ImportDeclaration")return!1;return G==null||R.default(J,G)}function RK(J,G){if(!J)return!1;if(J.type!=="ImportDefaultSpecifier")return!1;return G==null||R.default(J,G)}function $K(J,G){if(!J)return!1;if(J.type!=="ImportNamespaceSpecifier")return!1;return G==null||R.default(J,G)}function MK(J,G){if(!J)return!1;if(J.type!=="ImportSpecifier")return!1;return G==null||R.default(J,G)}function qK(J,G){if(!J)return!1;if(J.type!=="ImportExpression")return!1;return G==null||R.default(J,G)}function FK(J,G){if(!J)return!1;if(J.type!=="MetaProperty")return!1;return G==null||R.default(J,G)}function jK(J,G){if(!J)return!1;if(J.type!=="ClassMethod")return!1;return G==null||R.default(J,G)}function OK(J,G){if(!J)return!1;if(J.type!=="ObjectPattern")return!1;return G==null||R.default(J,G)}function AK(J,G){if(!J)return!1;if(J.type!=="SpreadElement")return!1;return G==null||R.default(J,G)}function CK(J,G){if(!J)return!1;if(J.type!=="Super")return!1;return G==null||R.default(J,G)}function DK(J,G){if(!J)return!1;if(J.type!=="TaggedTemplateExpression")return!1;return G==null||R.default(J,G)}function SK(J,G){if(!J)return!1;if(J.type!=="TemplateElement")return!1;return G==null||R.default(J,G)}function IK(J,G){if(!J)return!1;if(J.type!=="TemplateLiteral")return!1;return G==null||R.default(J,G)}function PK(J,G){if(!J)return!1;if(J.type!=="YieldExpression")return!1;return G==null||R.default(J,G)}function fK(J,G){if(!J)return!1;if(J.type!=="AwaitExpression")return!1;return G==null||R.default(J,G)}function NK(J,G){if(!J)return!1;if(J.type!=="Import")return!1;return G==null||R.default(J,G)}function TK(J,G){if(!J)return!1;if(J.type!=="BigIntLiteral")return!1;return G==null||R.default(J,G)}function wK(J,G){if(!J)return!1;if(J.type!=="ExportNamespaceSpecifier")return!1;return G==null||R.default(J,G)}function LK(J,G){if(!J)return!1;if(J.type!=="OptionalMemberExpression")return!1;return G==null||R.default(J,G)}function kK(J,G){if(!J)return!1;if(J.type!=="OptionalCallExpression")return!1;return G==null||R.default(J,G)}function bK(J,G){if(!J)return!1;if(J.type!=="ClassProperty")return!1;return G==null||R.default(J,G)}function EK(J,G){if(!J)return!1;if(J.type!=="ClassAccessorProperty")return!1;return G==null||R.default(J,G)}function vK(J,G){if(!J)return!1;if(J.type!=="ClassPrivateProperty")return!1;return G==null||R.default(J,G)}function gK(J,G){if(!J)return!1;if(J.type!=="ClassPrivateMethod")return!1;return G==null||R.default(J,G)}function _K(J,G){if(!J)return!1;if(J.type!=="PrivateName")return!1;return G==null||R.default(J,G)}function uK(J,G){if(!J)return!1;if(J.type!=="StaticBlock")return!1;return G==null||R.default(J,G)}function hK(J,G){if(!J)return!1;if(J.type!=="AnyTypeAnnotation")return!1;return G==null||R.default(J,G)}function yK(J,G){if(!J)return!1;if(J.type!=="ArrayTypeAnnotation")return!1;return G==null||R.default(J,G)}function xK(J,G){if(!J)return!1;if(J.type!=="BooleanTypeAnnotation")return!1;return G==null||R.default(J,G)}function mK(J,G){if(!J)return!1;if(J.type!=="BooleanLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function cK(J,G){if(!J)return!1;if(J.type!=="NullLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function lK(J,G){if(!J)return!1;if(J.type!=="ClassImplements")return!1;return G==null||R.default(J,G)}function iK(J,G){if(!J)return!1;if(J.type!=="DeclareClass")return!1;return G==null||R.default(J,G)}function aK(J,G){if(!J)return!1;if(J.type!=="DeclareFunction")return!1;return G==null||R.default(J,G)}function pK(J,G){if(!J)return!1;if(J.type!=="DeclareInterface")return!1;return G==null||R.default(J,G)}function rK(J,G){if(!J)return!1;if(J.type!=="DeclareModule")return!1;return G==null||R.default(J,G)}function dK(J,G){if(!J)return!1;if(J.type!=="DeclareModuleExports")return!1;return G==null||R.default(J,G)}function sK(J,G){if(!J)return!1;if(J.type!=="DeclareTypeAlias")return!1;return G==null||R.default(J,G)}function tK(J,G){if(!J)return!1;if(J.type!=="DeclareOpaqueType")return!1;return G==null||R.default(J,G)}function nK(J,G){if(!J)return!1;if(J.type!=="DeclareVariable")return!1;return G==null||R.default(J,G)}function oK(J,G){if(!J)return!1;if(J.type!=="DeclareExportDeclaration")return!1;return G==null||R.default(J,G)}function eK(J,G){if(!J)return!1;if(J.type!=="DeclareExportAllDeclaration")return!1;return G==null||R.default(J,G)}function JU(J,G){if(!J)return!1;if(J.type!=="DeclaredPredicate")return!1;return G==null||R.default(J,G)}function GU(J,G){if(!J)return!1;if(J.type!=="ExistsTypeAnnotation")return!1;return G==null||R.default(J,G)}function XU(J,G){if(!J)return!1;if(J.type!=="FunctionTypeAnnotation")return!1;return G==null||R.default(J,G)}function HU(J,G){if(!J)return!1;if(J.type!=="FunctionTypeParam")return!1;return G==null||R.default(J,G)}function VU(J,G){if(!J)return!1;if(J.type!=="GenericTypeAnnotation")return!1;return G==null||R.default(J,G)}function ZU(J,G){if(!J)return!1;if(J.type!=="InferredPredicate")return!1;return G==null||R.default(J,G)}function QU(J,G){if(!J)return!1;if(J.type!=="InterfaceExtends")return!1;return G==null||R.default(J,G)}function YU(J,G){if(!J)return!1;if(J.type!=="InterfaceDeclaration")return!1;return G==null||R.default(J,G)}function WU(J,G){if(!J)return!1;if(J.type!=="InterfaceTypeAnnotation")return!1;return G==null||R.default(J,G)}function zU(J,G){if(!J)return!1;if(J.type!=="IntersectionTypeAnnotation")return!1;return G==null||R.default(J,G)}function KU(J,G){if(!J)return!1;if(J.type!=="MixedTypeAnnotation")return!1;return G==null||R.default(J,G)}function UU(J,G){if(!J)return!1;if(J.type!=="EmptyTypeAnnotation")return!1;return G==null||R.default(J,G)}function BU(J,G){if(!J)return!1;if(J.type!=="NullableTypeAnnotation")return!1;return G==null||R.default(J,G)}function RU(J,G){if(!J)return!1;if(J.type!=="NumberLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function $U(J,G){if(!J)return!1;if(J.type!=="NumberTypeAnnotation")return!1;return G==null||R.default(J,G)}function MU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeAnnotation")return!1;return G==null||R.default(J,G)}function qU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeInternalSlot")return!1;return G==null||R.default(J,G)}function FU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeCallProperty")return!1;return G==null||R.default(J,G)}function jU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeIndexer")return!1;return G==null||R.default(J,G)}function OU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeProperty")return!1;return G==null||R.default(J,G)}function AU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeSpreadProperty")return!1;return G==null||R.default(J,G)}function CU(J,G){if(!J)return!1;if(J.type!=="OpaqueType")return!1;return G==null||R.default(J,G)}function DU(J,G){if(!J)return!1;if(J.type!=="QualifiedTypeIdentifier")return!1;return G==null||R.default(J,G)}function SU(J,G){if(!J)return!1;if(J.type!=="StringLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function IU(J,G){if(!J)return!1;if(J.type!=="StringTypeAnnotation")return!1;return G==null||R.default(J,G)}function PU(J,G){if(!J)return!1;if(J.type!=="SymbolTypeAnnotation")return!1;return G==null||R.default(J,G)}function fU(J,G){if(!J)return!1;if(J.type!=="ThisTypeAnnotation")return!1;return G==null||R.default(J,G)}function NU(J,G){if(!J)return!1;if(J.type!=="TupleTypeAnnotation")return!1;return G==null||R.default(J,G)}function TU(J,G){if(!J)return!1;if(J.type!=="TypeofTypeAnnotation")return!1;return G==null||R.default(J,G)}function wU(J,G){if(!J)return!1;if(J.type!=="TypeAlias")return!1;return G==null||R.default(J,G)}function LU(J,G){if(!J)return!1;if(J.type!=="TypeAnnotation")return!1;return G==null||R.default(J,G)}function kU(J,G){if(!J)return!1;if(J.type!=="TypeCastExpression")return!1;return G==null||R.default(J,G)}function bU(J,G){if(!J)return!1;if(J.type!=="TypeParameter")return!1;return G==null||R.default(J,G)}function EU(J,G){if(!J)return!1;if(J.type!=="TypeParameterDeclaration")return!1;return G==null||R.default(J,G)}function vU(J,G){if(!J)return!1;if(J.type!=="TypeParameterInstantiation")return!1;return G==null||R.default(J,G)}function gU(J,G){if(!J)return!1;if(J.type!=="UnionTypeAnnotation")return!1;return G==null||R.default(J,G)}function _U(J,G){if(!J)return!1;if(J.type!=="Variance")return!1;return G==null||R.default(J,G)}function uU(J,G){if(!J)return!1;if(J.type!=="VoidTypeAnnotation")return!1;return G==null||R.default(J,G)}function hU(J,G){if(!J)return!1;if(J.type!=="EnumDeclaration")return!1;return G==null||R.default(J,G)}function yU(J,G){if(!J)return!1;if(J.type!=="EnumBooleanBody")return!1;return G==null||R.default(J,G)}function xU(J,G){if(!J)return!1;if(J.type!=="EnumNumberBody")return!1;return G==null||R.default(J,G)}function mU(J,G){if(!J)return!1;if(J.type!=="EnumStringBody")return!1;return G==null||R.default(J,G)}function cU(J,G){if(!J)return!1;if(J.type!=="EnumSymbolBody")return!1;return G==null||R.default(J,G)}function lU(J,G){if(!J)return!1;if(J.type!=="EnumBooleanMember")return!1;return G==null||R.default(J,G)}function iU(J,G){if(!J)return!1;if(J.type!=="EnumNumberMember")return!1;return G==null||R.default(J,G)}function aU(J,G){if(!J)return!1;if(J.type!=="EnumStringMember")return!1;return G==null||R.default(J,G)}function pU(J,G){if(!J)return!1;if(J.type!=="EnumDefaultedMember")return!1;return G==null||R.default(J,G)}function rU(J,G){if(!J)return!1;if(J.type!=="IndexedAccessType")return!1;return G==null||R.default(J,G)}function dU(J,G){if(!J)return!1;if(J.type!=="OptionalIndexedAccessType")return!1;return G==null||R.default(J,G)}function sU(J,G){if(!J)return!1;if(J.type!=="JSXAttribute")return!1;return G==null||R.default(J,G)}function tU(J,G){if(!J)return!1;if(J.type!=="JSXClosingElement")return!1;return G==null||R.default(J,G)}function nU(J,G){if(!J)return!1;if(J.type!=="JSXElement")return!1;return G==null||R.default(J,G)}function oU(J,G){if(!J)return!1;if(J.type!=="JSXEmptyExpression")return!1;return G==null||R.default(J,G)}function eU(J,G){if(!J)return!1;if(J.type!=="JSXExpressionContainer")return!1;return G==null||R.default(J,G)}function JB(J,G){if(!J)return!1;if(J.type!=="JSXSpreadChild")return!1;return G==null||R.default(J,G)}function GB(J,G){if(!J)return!1;if(J.type!=="JSXIdentifier")return!1;return G==null||R.default(J,G)}function XB(J,G){if(!J)return!1;if(J.type!=="JSXMemberExpression")return!1;return G==null||R.default(J,G)}function HB(J,G){if(!J)return!1;if(J.type!=="JSXNamespacedName")return!1;return G==null||R.default(J,G)}function VB(J,G){if(!J)return!1;if(J.type!=="JSXOpeningElement")return!1;return G==null||R.default(J,G)}function ZB(J,G){if(!J)return!1;if(J.type!=="JSXSpreadAttribute")return!1;return G==null||R.default(J,G)}function QB(J,G){if(!J)return!1;if(J.type!=="JSXText")return!1;return G==null||R.default(J,G)}function YB(J,G){if(!J)return!1;if(J.type!=="JSXFragment")return!1;return G==null||R.default(J,G)}function WB(J,G){if(!J)return!1;if(J.type!=="JSXOpeningFragment")return!1;return G==null||R.default(J,G)}function zB(J,G){if(!J)return!1;if(J.type!=="JSXClosingFragment")return!1;return G==null||R.default(J,G)}function KB(J,G){if(!J)return!1;if(J.type!=="Noop")return!1;return G==null||R.default(J,G)}function UB(J,G){if(!J)return!1;if(J.type!=="Placeholder")return!1;return G==null||R.default(J,G)}function BB(J,G){if(!J)return!1;if(J.type!=="V8IntrinsicIdentifier")return!1;return G==null||R.default(J,G)}function RB(J,G){if(!J)return!1;if(J.type!=="ArgumentPlaceholder")return!1;return G==null||R.default(J,G)}function $B(J,G){if(!J)return!1;if(J.type!=="BindExpression")return!1;return G==null||R.default(J,G)}function MB(J,G){if(!J)return!1;if(J.type!=="ImportAttribute")return!1;return G==null||R.default(J,G)}function qB(J,G){if(!J)return!1;if(J.type!=="Decorator")return!1;return G==null||R.default(J,G)}function FB(J,G){if(!J)return!1;if(J.type!=="DoExpression")return!1;return G==null||R.default(J,G)}function jB(J,G){if(!J)return!1;if(J.type!=="ExportDefaultSpecifier")return!1;return G==null||R.default(J,G)}function OB(J,G){if(!J)return!1;if(J.type!=="RecordExpression")return!1;return G==null||R.default(J,G)}function AB(J,G){if(!J)return!1;if(J.type!=="TupleExpression")return!1;return G==null||R.default(J,G)}function CB(J,G){if(!J)return!1;if(J.type!=="DecimalLiteral")return!1;return G==null||R.default(J,G)}function DB(J,G){if(!J)return!1;if(J.type!=="ModuleExpression")return!1;return G==null||R.default(J,G)}function SB(J,G){if(!J)return!1;if(J.type!=="TopicReference")return!1;return G==null||R.default(J,G)}function IB(J,G){if(!J)return!1;if(J.type!=="PipelineTopicExpression")return!1;return G==null||R.default(J,G)}function PB(J,G){if(!J)return!1;if(J.type!=="PipelineBareFunction")return!1;return G==null||R.default(J,G)}function fB(J,G){if(!J)return!1;if(J.type!=="PipelinePrimaryTopicReference")return!1;return G==null||R.default(J,G)}function NB(J,G){if(!J)return!1;if(J.type!=="TSParameterProperty")return!1;return G==null||R.default(J,G)}function TB(J,G){if(!J)return!1;if(J.type!=="TSDeclareFunction")return!1;return G==null||R.default(J,G)}function wB(J,G){if(!J)return!1;if(J.type!=="TSDeclareMethod")return!1;return G==null||R.default(J,G)}function LB(J,G){if(!J)return!1;if(J.type!=="TSQualifiedName")return!1;return G==null||R.default(J,G)}function kB(J,G){if(!J)return!1;if(J.type!=="TSCallSignatureDeclaration")return!1;return G==null||R.default(J,G)}function bB(J,G){if(!J)return!1;if(J.type!=="TSConstructSignatureDeclaration")return!1;return G==null||R.default(J,G)}function EB(J,G){if(!J)return!1;if(J.type!=="TSPropertySignature")return!1;return G==null||R.default(J,G)}function vB(J,G){if(!J)return!1;if(J.type!=="TSMethodSignature")return!1;return G==null||R.default(J,G)}function gB(J,G){if(!J)return!1;if(J.type!=="TSIndexSignature")return!1;return G==null||R.default(J,G)}function _B(J,G){if(!J)return!1;if(J.type!=="TSAnyKeyword")return!1;return G==null||R.default(J,G)}function uB(J,G){if(!J)return!1;if(J.type!=="TSBooleanKeyword")return!1;return G==null||R.default(J,G)}function hB(J,G){if(!J)return!1;if(J.type!=="TSBigIntKeyword")return!1;return G==null||R.default(J,G)}function yB(J,G){if(!J)return!1;if(J.type!=="TSIntrinsicKeyword")return!1;return G==null||R.default(J,G)}function xB(J,G){if(!J)return!1;if(J.type!=="TSNeverKeyword")return!1;return G==null||R.default(J,G)}function mB(J,G){if(!J)return!1;if(J.type!=="TSNullKeyword")return!1;return G==null||R.default(J,G)}function cB(J,G){if(!J)return!1;if(J.type!=="TSNumberKeyword")return!1;return G==null||R.default(J,G)}function lB(J,G){if(!J)return!1;if(J.type!=="TSObjectKeyword")return!1;return G==null||R.default(J,G)}function iB(J,G){if(!J)return!1;if(J.type!=="TSStringKeyword")return!1;return G==null||R.default(J,G)}function aB(J,G){if(!J)return!1;if(J.type!=="TSSymbolKeyword")return!1;return G==null||R.default(J,G)}function pB(J,G){if(!J)return!1;if(J.type!=="TSUndefinedKeyword")return!1;return G==null||R.default(J,G)}function rB(J,G){if(!J)return!1;if(J.type!=="TSUnknownKeyword")return!1;return G==null||R.default(J,G)}function dB(J,G){if(!J)return!1;if(J.type!=="TSVoidKeyword")return!1;return G==null||R.default(J,G)}function sB(J,G){if(!J)return!1;if(J.type!=="TSThisType")return!1;return G==null||R.default(J,G)}function tB(J,G){if(!J)return!1;if(J.type!=="TSFunctionType")return!1;return G==null||R.default(J,G)}function nB(J,G){if(!J)return!1;if(J.type!=="TSConstructorType")return!1;return G==null||R.default(J,G)}function oB(J,G){if(!J)return!1;if(J.type!=="TSTypeReference")return!1;return G==null||R.default(J,G)}function eB(J,G){if(!J)return!1;if(J.type!=="TSTypePredicate")return!1;return G==null||R.default(J,G)}function JR(J,G){if(!J)return!1;if(J.type!=="TSTypeQuery")return!1;return G==null||R.default(J,G)}function GR(J,G){if(!J)return!1;if(J.type!=="TSTypeLiteral")return!1;return G==null||R.default(J,G)}function XR(J,G){if(!J)return!1;if(J.type!=="TSArrayType")return!1;return G==null||R.default(J,G)}function HR(J,G){if(!J)return!1;if(J.type!=="TSTupleType")return!1;return G==null||R.default(J,G)}function VR(J,G){if(!J)return!1;if(J.type!=="TSOptionalType")return!1;return G==null||R.default(J,G)}function ZR(J,G){if(!J)return!1;if(J.type!=="TSRestType")return!1;return G==null||R.default(J,G)}function QR(J,G){if(!J)return!1;if(J.type!=="TSNamedTupleMember")return!1;return G==null||R.default(J,G)}function YR(J,G){if(!J)return!1;if(J.type!=="TSUnionType")return!1;return G==null||R.default(J,G)}function WR(J,G){if(!J)return!1;if(J.type!=="TSIntersectionType")return!1;return G==null||R.default(J,G)}function zR(J,G){if(!J)return!1;if(J.type!=="TSConditionalType")return!1;return G==null||R.default(J,G)}function KR(J,G){if(!J)return!1;if(J.type!=="TSInferType")return!1;return G==null||R.default(J,G)}function UR(J,G){if(!J)return!1;if(J.type!=="TSParenthesizedType")return!1;return G==null||R.default(J,G)}function BR(J,G){if(!J)return!1;if(J.type!=="TSTypeOperator")return!1;return G==null||R.default(J,G)}function RR(J,G){if(!J)return!1;if(J.type!=="TSIndexedAccessType")return!1;return G==null||R.default(J,G)}function $R(J,G){if(!J)return!1;if(J.type!=="TSMappedType")return!1;return G==null||R.default(J,G)}function MR(J,G){if(!J)return!1;if(J.type!=="TSLiteralType")return!1;return G==null||R.default(J,G)}function qR(J,G){if(!J)return!1;if(J.type!=="TSExpressionWithTypeArguments")return!1;return G==null||R.default(J,G)}function FR(J,G){if(!J)return!1;if(J.type!=="TSInterfaceDeclaration")return!1;return G==null||R.default(J,G)}function jR(J,G){if(!J)return!1;if(J.type!=="TSInterfaceBody")return!1;return G==null||R.default(J,G)}function OR(J,G){if(!J)return!1;if(J.type!=="TSTypeAliasDeclaration")return!1;return G==null||R.default(J,G)}function AR(J,G){if(!J)return!1;if(J.type!=="TSInstantiationExpression")return!1;return G==null||R.default(J,G)}function CR(J,G){if(!J)return!1;if(J.type!=="TSAsExpression")return!1;return G==null||R.default(J,G)}function DR(J,G){if(!J)return!1;if(J.type!=="TSSatisfiesExpression")return!1;return G==null||R.default(J,G)}function SR(J,G){if(!J)return!1;if(J.type!=="TSTypeAssertion")return!1;return G==null||R.default(J,G)}function IR(J,G){if(!J)return!1;if(J.type!=="TSEnumDeclaration")return!1;return G==null||R.default(J,G)}function PR(J,G){if(!J)return!1;if(J.type!=="TSEnumMember")return!1;return G==null||R.default(J,G)}function fR(J,G){if(!J)return!1;if(J.type!=="TSModuleDeclaration")return!1;return G==null||R.default(J,G)}function NR(J,G){if(!J)return!1;if(J.type!=="TSModuleBlock")return!1;return G==null||R.default(J,G)}function TR(J,G){if(!J)return!1;if(J.type!=="TSImportType")return!1;return G==null||R.default(J,G)}function wR(J,G){if(!J)return!1;if(J.type!=="TSImportEqualsDeclaration")return!1;return G==null||R.default(J,G)}function LR(J,G){if(!J)return!1;if(J.type!=="TSExternalModuleReference")return!1;return G==null||R.default(J,G)}function kR(J,G){if(!J)return!1;if(J.type!=="TSNonNullExpression")return!1;return G==null||R.default(J,G)}function bR(J,G){if(!J)return!1;if(J.type!=="TSExportAssignment")return!1;return G==null||R.default(J,G)}function ER(J,G){if(!J)return!1;if(J.type!=="TSNamespaceExportDeclaration")return!1;return G==null||R.default(J,G)}function vR(J,G){if(!J)return!1;if(J.type!=="TSTypeAnnotation")return!1;return G==null||R.default(J,G)}function gR(J,G){if(!J)return!1;if(J.type!=="TSTypeParameterInstantiation")return!1;return G==null||R.default(J,G)}function _R(J,G){if(!J)return!1;if(J.type!=="TSTypeParameterDeclaration")return!1;return G==null||R.default(J,G)}function uR(J,G){if(!J)return!1;if(J.type!=="TSTypeParameter")return!1;return G==null||R.default(J,G)}function hR(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 yR(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 xR(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 mR(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 cR(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 lR(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 iR(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 aR(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 pR(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 rR(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 dR(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 sR(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 tR(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 nR(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 oR(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 eR(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 J$(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 G$(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 X$(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 H$(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 V$(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 Z$(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 Q$(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 Y$(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 W$(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 z$(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 K$(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 U$(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 B$(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 R$(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 $$(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 bG(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 M$(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 q$(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 F$(J,G){if(!J)return!1;switch(J.type){case"ClassAccessorProperty":break;default:return!1}return G==null||R.default(J,G)}function j$(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 O$(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 A$(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 C$(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 D$(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 S$(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 I$(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 P$(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 f$(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 N$(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 T$(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 w$(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 L$(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 k$(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 b$(J,G){if(i0.default("isNumberLiteral","isNumericLiteral"),!J)return!1;if(J.type!=="NumberLiteral")return!1;return G==null||R.default(J,G)}function E$(J,G){if(i0.default("isRegexLiteral","isRegExpLiteral"),!J)return!1;if(J.type!=="RegexLiteral")return!1;return G==null||R.default(J,G)}function v$(J,G){if(i0.default("isRestProperty","isRestElement"),!J)return!1;if(J.type!=="RestProperty")return!1;return G==null||R.default(J,G)}function g$(J,G){if(i0.default("isSpreadProperty","isSpreadElement"),!J)return!1;if(J.type!=="SpreadProperty")return!1;return G==null||R.default(J,G)}function _$(J,G){return i0.default("isModuleDeclaration","isImportOrExportDeclaration"),bG(J,G)}Object.defineProperty(EG,"__esModule",{value:!0});EG.isAccessor=F$;EG.isAnyTypeAnnotation=hK;EG.isArgumentPlaceholder=RB;EG.isArrayExpression=Vz;EG.isArrayPattern=XK;EG.isArrayTypeAnnotation=yK;EG.isArrowFunctionExpression=HK;EG.isAssignmentExpression=Zz;EG.isAssignmentPattern=GK;EG.isAwaitExpression=fK;EG.isBigIntLiteral=TK;EG.isBinary=xR;EG.isBinaryExpression=Qz;EG.isBindExpression=$B;EG.isBlock=lR;EG.isBlockParent=cR;EG.isBlockStatement=Kz;EG.isBooleanLiteral=kz;EG.isBooleanLiteralTypeAnnotation=mK;EG.isBooleanTypeAnnotation=xK;EG.isBreakStatement=Uz;EG.isCallExpression=Bz;EG.isCatchClause=Rz;EG.isClass=$$;EG.isClassAccessorProperty=EK;EG.isClassBody=VK;EG.isClassDeclaration=QK;EG.isClassExpression=ZK;EG.isClassImplements=lK;EG.isClassMethod=jK;EG.isClassPrivateMethod=gK;EG.isClassPrivateProperty=vK;EG.isClassProperty=bK;EG.isCompletionStatement=pR;EG.isConditional=rR;EG.isConditionalExpression=$z;EG.isContinueStatement=Mz;EG.isDebuggerStatement=qz;EG.isDecimalLiteral=CB;EG.isDeclaration=X$;EG.isDeclareClass=iK;EG.isDeclareExportAllDeclaration=eK;EG.isDeclareExportDeclaration=oK;EG.isDeclareFunction=aK;EG.isDeclareInterface=pK;EG.isDeclareModule=rK;EG.isDeclareModuleExports=dK;EG.isDeclareOpaqueType=tK;EG.isDeclareTypeAlias=sK;EG.isDeclareVariable=nK;EG.isDeclaredPredicate=JU;EG.isDecorator=qB;EG.isDirective=Wz;EG.isDirectiveLiteral=zz;EG.isDoExpression=FB;EG.isDoWhileStatement=Fz;EG.isEmptyStatement=jz;EG.isEmptyTypeAnnotation=UU;EG.isEnumBody=I$;EG.isEnumBooleanBody=yU;EG.isEnumBooleanMember=lU;EG.isEnumDeclaration=hU;EG.isEnumDefaultedMember=pU;EG.isEnumMember=P$;EG.isEnumNumberBody=xU;EG.isEnumNumberMember=iU;EG.isEnumStringBody=mU;EG.isEnumStringMember=aU;EG.isEnumSymbolBody=cU;EG.isExistsTypeAnnotation=GU;EG.isExportAllDeclaration=YK;EG.isExportDeclaration=M$;EG.isExportDefaultDeclaration=WK;EG.isExportDefaultSpecifier=jB;EG.isExportNamedDeclaration=zK;EG.isExportNamespaceSpecifier=wK;EG.isExportSpecifier=KK;EG.isExpression=yR;EG.isExpressionStatement=Oz;EG.isExpressionWrapper=tR;EG.isFile=Az;EG.isFlow=O$;EG.isFlowBaseAnnotation=C$;EG.isFlowDeclaration=D$;EG.isFlowPredicate=S$;EG.isFlowType=A$;EG.isFor=nR;EG.isForInStatement=Cz;EG.isForOfStatement=UK;EG.isForStatement=Dz;EG.isForXStatement=oR;EG.isFunction=eR;EG.isFunctionDeclaration=Sz;EG.isFunctionExpression=Iz;EG.isFunctionParent=J$;EG.isFunctionTypeAnnotation=XU;EG.isFunctionTypeParam=HU;EG.isGenericTypeAnnotation=VU;EG.isIdentifier=Pz;EG.isIfStatement=fz;EG.isImmutable=Y$;EG.isImport=NK;EG.isImportAttribute=MB;EG.isImportDeclaration=BK;EG.isImportDefaultSpecifier=RK;EG.isImportExpression=qK;EG.isImportNamespaceSpecifier=$K;EG.isImportOrExportDeclaration=bG;EG.isImportSpecifier=MK;EG.isIndexedAccessType=rU;EG.isInferredPredicate=ZU;EG.isInterfaceDeclaration=YU;EG.isInterfaceExtends=QU;EG.isInterfaceTypeAnnotation=WU;EG.isInterpreterDirective=Yz;EG.isIntersectionTypeAnnotation=zU;EG.isJSX=f$;EG.isJSXAttribute=sU;EG.isJSXClosingElement=tU;EG.isJSXClosingFragment=zB;EG.isJSXElement=nU;EG.isJSXEmptyExpression=oU;EG.isJSXExpressionContainer=eU;EG.isJSXFragment=YB;EG.isJSXIdentifier=GB;EG.isJSXMemberExpression=XB;EG.isJSXNamespacedName=HB;EG.isJSXOpeningElement=VB;EG.isJSXOpeningFragment=WB;EG.isJSXSpreadAttribute=ZB;EG.isJSXSpreadChild=JB;EG.isJSXText=QB;EG.isLVal=V$;EG.isLabeledStatement=Nz;EG.isLiteral=Q$;EG.isLogicalExpression=Ez;EG.isLoop=dR;EG.isMemberExpression=vz;EG.isMetaProperty=FK;EG.isMethod=z$;EG.isMiscellaneous=N$;EG.isMixedTypeAnnotation=KU;EG.isModuleDeclaration=_$;EG.isModuleExpression=DB;EG.isModuleSpecifier=q$;EG.isNewExpression=gz;EG.isNoop=KB;EG.isNullLiteral=Lz;EG.isNullLiteralTypeAnnotation=cK;EG.isNullableTypeAnnotation=BU;EG.isNumberLiteral=b$;EG.isNumberLiteralTypeAnnotation=RU;EG.isNumberTypeAnnotation=$U;EG.isNumericLiteral=wz;EG.isObjectExpression=uz;EG.isObjectMember=K$;EG.isObjectMethod=hz;EG.isObjectPattern=OK;EG.isObjectProperty=yz;EG.isObjectTypeAnnotation=MU;EG.isObjectTypeCallProperty=FU;EG.isObjectTypeIndexer=jU;EG.isObjectTypeInternalSlot=qU;EG.isObjectTypeProperty=OU;EG.isObjectTypeSpreadProperty=AU;EG.isOpaqueType=CU;EG.isOptionalCallExpression=kK;EG.isOptionalIndexedAccessType=dU;EG.isOptionalMemberExpression=LK;EG.isParenthesizedExpression=lz;EG.isPattern=R$;EG.isPatternLike=H$;EG.isPipelineBareFunction=PB;EG.isPipelinePrimaryTopicReference=fB;EG.isPipelineTopicExpression=IB;EG.isPlaceholder=UB;EG.isPrivate=j$;EG.isPrivateName=_K;EG.isProgram=_z;EG.isProperty=U$;EG.isPureish=G$;EG.isQualifiedTypeIdentifier=DU;EG.isRecordExpression=OB;EG.isRegExpLiteral=bz;EG.isRegexLiteral=E$;EG.isRestElement=xz;EG.isRestProperty=v$;EG.isReturnStatement=mz;EG.isScopable=mR;EG.isSequenceExpression=cz;EG.isSpreadElement=AK;EG.isSpreadProperty=g$;EG.isStandardized=hR;EG.isStatement=iR;EG.isStaticBlock=uK;EG.isStringLiteral=Tz;EG.isStringLiteralTypeAnnotation=SU;EG.isStringTypeAnnotation=IU;EG.isSuper=CK;EG.isSwitchCase=iz;EG.isSwitchStatement=az;EG.isSymbolTypeAnnotation=PU;EG.isTSAnyKeyword=_B;EG.isTSArrayType=XR;EG.isTSAsExpression=CR;EG.isTSBaseType=k$;EG.isTSBigIntKeyword=hB;EG.isTSBooleanKeyword=uB;EG.isTSCallSignatureDeclaration=kB;EG.isTSConditionalType=zR;EG.isTSConstructSignatureDeclaration=bB;EG.isTSConstructorType=nB;EG.isTSDeclareFunction=TB;EG.isTSDeclareMethod=wB;EG.isTSEntityName=Z$;EG.isTSEnumDeclaration=IR;EG.isTSEnumMember=PR;EG.isTSExportAssignment=bR;EG.isTSExpressionWithTypeArguments=qR;EG.isTSExternalModuleReference=LR;EG.isTSFunctionType=tB;EG.isTSImportEqualsDeclaration=wR;EG.isTSImportType=TR;EG.isTSIndexSignature=gB;EG.isTSIndexedAccessType=RR;EG.isTSInferType=KR;EG.isTSInstantiationExpression=AR;EG.isTSInterfaceBody=jR;EG.isTSInterfaceDeclaration=FR;EG.isTSIntersectionType=WR;EG.isTSIntrinsicKeyword=yB;EG.isTSLiteralType=MR;EG.isTSMappedType=$R;EG.isTSMethodSignature=vB;EG.isTSModuleBlock=NR;EG.isTSModuleDeclaration=fR;EG.isTSNamedTupleMember=QR;EG.isTSNamespaceExportDeclaration=ER;EG.isTSNeverKeyword=xB;EG.isTSNonNullExpression=kR;EG.isTSNullKeyword=mB;EG.isTSNumberKeyword=cB;EG.isTSObjectKeyword=lB;EG.isTSOptionalType=VR;EG.isTSParameterProperty=NB;EG.isTSParenthesizedType=UR;EG.isTSPropertySignature=EB;EG.isTSQualifiedName=LB;EG.isTSRestType=ZR;EG.isTSSatisfiesExpression=DR;EG.isTSStringKeyword=iB;EG.isTSSymbolKeyword=aB;EG.isTSThisType=sB;EG.isTSTupleType=HR;EG.isTSType=L$;EG.isTSTypeAliasDeclaration=OR;EG.isTSTypeAnnotation=vR;EG.isTSTypeAssertion=SR;EG.isTSTypeElement=w$;EG.isTSTypeLiteral=GR;EG.isTSTypeOperator=BR;EG.isTSTypeParameter=uR;EG.isTSTypeParameterDeclaration=_R;EG.isTSTypeParameterInstantiation=gR;EG.isTSTypePredicate=eB;EG.isTSTypeQuery=JR;EG.isTSTypeReference=oB;EG.isTSUndefinedKeyword=pB;EG.isTSUnionType=YR;EG.isTSUnknownKeyword=rB;EG.isTSVoidKeyword=dB;EG.isTaggedTemplateExpression=DK;EG.isTemplateElement=SK;EG.isTemplateLiteral=IK;EG.isTerminatorless=aR;EG.isThisExpression=pz;EG.isThisTypeAnnotation=fU;EG.isThrowStatement=rz;EG.isTopicReference=SB;EG.isTryStatement=dz;EG.isTupleExpression=AB;EG.isTupleTypeAnnotation=NU;EG.isTypeAlias=wU;EG.isTypeAnnotation=LU;EG.isTypeCastExpression=kU;EG.isTypeParameter=bU;EG.isTypeParameterDeclaration=EU;EG.isTypeParameterInstantiation=vU;EG.isTypeScript=T$;EG.isTypeofTypeAnnotation=TU;EG.isUnaryExpression=sz;EG.isUnaryLike=B$;EG.isUnionTypeAnnotation=gU;EG.isUpdateExpression=tz;EG.isUserWhitespacable=W$;EG.isV8IntrinsicIdentifier=BB;EG.isVariableDeclaration=nz;EG.isVariableDeclarator=oz;EG.isVariance=_U;EG.isVoidTypeAnnotation=uU;EG.isWhile=sR;EG.isWhileStatement=ez;EG.isWithStatement=JK;EG.isYieldExpression=PK;var R=h5(),i0=l0()});var Z4=C((vG)=>{function FA(J,G,X){if(!a0.isMemberExpression(J))return!1;const H=Array.isArray(G)?G:G.split("."),V=[];let Z;for(Z=J;a0.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--){const W=V[Y];let z;if(a0.isIdentifier(W))z=W.name;else if(a0.isStringLiteral(W))z=W.value;else if(a0.isThisExpression(W))z="this";else return!1;if(H[Q]!==z)return!1}return!0}Object.defineProperty(vG,"__esModule",{value:!0});vG.default=FA;var a0=w1()});var Q4=C((gG)=>{function AA(J,G){const X=J.split(".");return(H)=>OA.default(H,X,G)}Object.defineProperty(gG,"__esModule",{value:!0});gG.default=AA;var OA=Z4()});var hG=C((_G)=>{Object.defineProperty(_G,"__esModule",{value:!0});_G.default=void 0;var DA=Q4(),SA=DA.default("React.Component"),DU1=_G.default=SA});var xG=C((yG)=>{function IA(J){return!!J&&/^[a-z]/.test(J)}Object.defineProperty(yG,"__esModule",{value:!0});yG.default=IA});var cG=C((PU1,mG)=>{function r0(J){if(p0!==null&&typeof p0.property){const G=p0;return p0=r0.prototype=null,G}return p0=r0.prototype=J==null?Object.create(null):J,new r0}var p0=null;r0();mG.exports=function J(G){return r0(G)}});var y5=C((iG)=>{function fA(J,G){if(J===G)return!0;if(J==null)return!1;if(lG.ALIAS_KEYS[G])return!1;const X=lG.FLIPPED_ALIAS_KEYS[G];if(X){if(X[0]===J)return!0;for(let H of X)if(J===H)return!0}return!1}Object.defineProperty(iG,"__esModule",{value:!0});iG.default=fA;var lG=X2()});var Y4=C((aG)=>{function wA(J,G){if(J===G)return!0;const X=TA.PLACEHOLDERS_ALIAS[J];if(X){for(let H of X)if(G===H)return!0}return!1}Object.defineProperty(aG,"__esModule",{value:!0});aG.default=wA;var TA=X2()});var q0=C((pG)=>{function gA(J,G,X){if(!G)return!1;if(!bA.default(G.type,J)){if(!X&&G.type==="Placeholder"&&J in vA.FLIPPED_ALIAS_KEYS)return EA.default(G.expectedNode,J);return!1}if(X===void 0)return!0;else return kA.default(G,X)}Object.defineProperty(pG,"__esModule",{value:!0});pG.default=gA;var kA=h5(),bA=y5(),EA=Y4(),vA=X2()});var oG=C((nG)=>{function W4(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 sG(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&&uA.test(String.fromCharCode(J));return W4(J,dG)}function tG(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&&hA.test(String.fromCharCode(J));return W4(J,dG)||W4(J,yA)}function xA(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){const V=J.charCodeAt(++X);if((V&64512)===56320)H=65536+((H&1023)<<10)+(V&1023)}if(G){if(G=!1,!sG(H))return!1}else if(!tG(H))return!1}return!G}Object.defineProperty(nG,"__esModule",{value:!0});nG.isIdentifierChar=tG;nG.isIdentifierName=xA;nG.isIdentifierStart=sG;var z4="\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",rG="\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",uA=new RegExp("["+z4+"]"),hA=new RegExp("["+z4+rG+"]");z4=rG=null;var dG=[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],yA=[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]});var HX=C((XX)=>{function eG(J,G){return G&&J==="await"||J==="enum"}function JX(J,G){return eG(J,G)||aA.has(J)}function GX(J){return pA.has(J)}function rA(J,G){return JX(J,G)||GX(J)}function dA(J){return iA.has(J)}Object.defineProperty(XX,"__esModule",{value:!0});XX.isKeyword=dA;XX.isReservedWord=eG;XX.isStrictBindOnlyReservedWord=GX;XX.isStrictBindReservedWord=rA;XX.isStrictReservedWord=JX;var K4={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"]},iA=new Set(K4.keyword),aA=new Set(K4.strict),pA=new Set(K4.strictBind)});var s0=C((q2)=>{Object.defineProperty(q2,"__esModule",{value:!0});Object.defineProperty(q2,"isIdentifierChar",{enumerable:!0,get:function(){return U4.isIdentifierChar}});Object.defineProperty(q2,"isIdentifierName",{enumerable:!0,get:function(){return U4.isIdentifierName}});Object.defineProperty(q2,"isIdentifierStart",{enumerable:!0,get:function(){return U4.isIdentifierStart}});Object.defineProperty(q2,"isKeyword",{enumerable:!0,get:function(){return d0.isKeyword}});Object.defineProperty(q2,"isReservedWord",{enumerable:!0,get:function(){return d0.isReservedWord}});Object.defineProperty(q2,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return d0.isStrictBindOnlyReservedWord}});Object.defineProperty(q2,"isStrictBindReservedWord",{enumerable:!0,get:function(){return d0.isStrictBindReservedWord}});Object.defineProperty(q2,"isStrictReservedWord",{enumerable:!0,get:function(){return d0.isStrictReservedWord}});var U4=oG(),d0=HX()});var F0=C((VX)=>{function JC(J,G=!0){if(typeof J!=="string")return!1;if(G){if(B4.isKeyword(J)||B4.isStrictReservedWord(J,!0))return!1}return B4.isIdentifierName(J)}Object.defineProperty(VX,"__esModule",{value:!0});VX.default=JC;var B4=s0()});var zX=C((WX)=>{function HC(J,G,X,H,V,Z){const Q=X,Y=H,W=V;let z="",U=null,F=X;const{length:A}=G;for(;;){if(X>=A){Z.unterminated(Q,Y,W),z+=G.slice(F,X);break}const D=G.charCodeAt(X);if(VC(J,D,G,X)){z+=G.slice(F,X);break}if(D===92){z+=G.slice(F,X);const I=ZC(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 VC(J,G,X,H){if(J==="template")return G===96||G===36&&X.charCodeAt(H+1)===123;return G===(J==="double"?34:39)}function ZC(J,G,X,H,V,Z){const Q=!V;G++;const 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}=R4(J,G,X,H,2,!1,Q,Z),Y(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:G}=YX(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){const z=G-1;let 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;const 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 R4(J,G,X,H,V,Z,Q,Y){const W=G;let z;if({n:z,pos:G}=QX(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 QX(J,G,X,H,V,Z,Q,Y,W,z){const U=G,F=V===16?ZX.hex:ZX.decBinOct,A=V===16?x5.hex:V===10?x5.dec:V===8?x5.oct:x5.bin;let D=!1,I=0;for(let _=0,f=Z==null?1/0:Z;_<f;++_){const w=J.charCodeAt(G);let k;if(w===95&&Y!=="bail"){const 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(XC(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 YX(J,G,X,H,V,Z){const Q=J.charCodeAt(G);let Y;if(Q===123){if(++G,{code:Y,pos:G}=R4(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}=R4(J,G,X,H,4,!1,V,Z));return{code:Y,pos:G}}Object.defineProperty(WX,"__esModule",{value:!0});WX.readCodePoint=YX;WX.readInt=QX;WX.readStringContents=HC;var XC=function J(G){return G>=48&&G<=57},ZX={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},x5={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}});var u2=C((UX)=>{Object.defineProperty(UX,"__esModule",{value:!0});UX.UPDATE_OPERATORS=UX.UNARY_OPERATORS=UX.STRING_UNARY_OPERATORS=UX.STATEMENT_OR_BLOCK_KEYS=UX.NUMBER_UNARY_OPERATORS=UX.NUMBER_BINARY_OPERATORS=UX.NOT_LOCAL_BINDING=UX.LOGICAL_OPERATORS=UX.INHERIT_KEYS=UX.FOR_INIT_KEYS=UX.FLATTENABLE_KEYS=UX.EQUALITY_BINARY_OPERATORS=UX.COMPARISON_BINARY_OPERATORS=UX.COMMENT_KEYS=UX.BOOLEAN_UNARY_OPERATORS=UX.BOOLEAN_NUMBER_BINARY_OPERATORS=UX.BOOLEAN_BINARY_OPERATORS=UX.BLOCK_SCOPED_SYMBOL=UX.BINARY_OPERATORS=UX.ASSIGNMENT_OPERATORS=void 0;var vU1=UX.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],gU1=UX.FLATTENABLE_KEYS=["body","expressions"],_U1=UX.FOR_INIT_KEYS=["left","init"],uU1=UX.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],zC=UX.LOGICAL_OPERATORS=["||","&&","??"],hU1=UX.UPDATE_OPERATORS=["++","--"],KC=UX.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],UC=UX.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],BC=UX.COMPARISON_BINARY_OPERATORS=[...UC,"in","instanceof"],RC=UX.BOOLEAN_BINARY_OPERATORS=[...BC,...KC],KX=UX.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],yU1=UX.BINARY_OPERATORS=["+",...KX,...RC,"|>"],xU1=UX.ASSIGNMENT_OPERATORS=["=","+=",...KX.map((J)=>J+"="),...zC.map((J)=>J+"=")],$C=UX.BOOLEAN_UNARY_OPERATORS=["delete","!"],MC=UX.NUMBER_UNARY_OPERATORS=["+","-","~"],qC=UX.STRING_UNARY_OPERATORS=["typeof"],mU1=UX.UNARY_OPERATORS=["void","throw",...$C,...MC,...qC],cU1=UX.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},lU1=UX.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),iU1=UX.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var F2=C((OX)=>{function m5(J){if(Array.isArray(J))return"array";else if(J===null)return"null";else return typeof J}function q4(J){return{validate:J}}function cC(...J){return q4(l5(...J))}function lC(J){return{validate:J,optional:!0}}function iC(...J){return{validate:l5(...J),optional:!0}}function $X(J){return FX(F4("array"),qX(J))}function MX(...J){return $X(l5(...J))}function aC(...J){return q4(MX(...J))}function qX(J){const G=process.env.BABEL_TYPES_8_BREAKING?c5.validateChild:()=>{};function X(H,V,Z){if(!Array.isArray(Z))return;for(let Q=0;Q<Z.length;Q++){const Y=`${V}[${Q}]`,W=Z[Q];J(H,Y,W),G(H,Y,W)}}return X.each=J,X}function pC(...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 l5(...J){function G(X,H,V){for(let Z of J)if(RX.default(Z,V)){c5.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 rC(...J){function G(X,H,V){for(let Z of J)if(m5(V)===Z||RX.default(Z,V)){c5.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 F4(J){function G(X,H,V){if(m5(V)!==J)throw new TypeError(`Property ${H} expected type of ${J} but got ${m5(V)}`)}return G.type=J,G}function dC(J){function G(X,H,V){const Z=[];for(let Q of Object.keys(J))try{c5.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 sC(){function J(G){var X;let H=G;while(G){const{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 FX(...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}function oC(...J){return(G,X={})=>{let H=X.aliases;if(!H){var V,Z;if(X.inherits)H=(V=M4[X.inherits].aliases)==null?void 0:V.slice();(Z=H)!=null||(H=[]),X.aliases=H}const Q=J.filter((Y)=>!H.includes(Y));H.unshift(...Q),jX(G,X)}}function jX(J,G={}){const X=G.inherits&&M4[G.inherits]||{};let H=G.fields;if(!H){if(H={},X.fields){const Y=Object.getOwnPropertyNames(X.fields);for(let W of Y){const 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}}}}const 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(!tC.has(Y))throw new Error(`Unknown type option "${Y}" on ${J}`);if(G.deprecatedAlias)xC[G.deprecatedAlias]=J;for(let Y of V.concat(Q))H[Y]=H[Y]||{};for(let Y of Object.keys(H)){const 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=F4(m5(W.default));for(let z of Object.keys(W))if(!nC.has(z))throw new Error(`Unknown field key "${z}" on ${J}.${Y}`)}if(_C[J]=G.visitor=V,yC[J]=G.builder=Q,hC[J]=G.fields=H,uC[J]=G.aliases=Z,Z.forEach((Y)=>{$4[Y]=$4[Y]||[],$4[Y].push(J)}),G.validate)mC[J]=G.validate;M4[J]=G}Object.defineProperty(OX,"__esModule",{value:!0});OX.VISITOR_KEYS=OX.NODE_PARENT_VALIDATIONS=OX.NODE_FIELDS=OX.FLIPPED_ALIAS_KEYS=OX.DEPRECATED_KEYS=OX.BUILDER_KEYS=OX.ALIAS_KEYS=void 0;OX.arrayOf=$X;OX.arrayOfType=MX;OX.assertEach=qX;OX.assertNodeOrValueType=rC;OX.assertNodeType=l5;OX.assertOneOf=pC;OX.assertOptionalChainStart=sC;OX.assertShape=dC;OX.assertValueType=F4;OX.chain=FX;OX.default=jX;OX.defineAliasedType=oC;OX.validate=q4;OX.validateArrayOfType=aC;OX.validateOptional=lC;OX.validateOptionalType=iC;OX.validateType=cC;var RX=q0(),c5=i5(),_C=OX.VISITOR_KEYS={},uC=OX.ALIAS_KEYS={},$4=OX.FLIPPED_ALIAS_KEYS={},hC=OX.NODE_FIELDS={},yC=OX.BUILDER_KEYS={},xC=OX.DEPRECATED_KEYS={},mC=OX.NODE_PARENT_VALIDATIONS={},tC=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),nC=new Set(["default","optional","deprecated","validate"]),M4={}});var O4=C((SX)=>{Object.defineProperty(SX,"__esModule",{value:!0});SX.patternLikeCommon=SX.functionTypeAnnotationCommon=SX.functionDeclarationCommon=SX.functionCommon=SX.classMethodOrPropertyCommon=SX.classMethodOrDeclareMethodCommon=void 0;var m1=q0(),DD=F0(),CX=s0(),SD=zX(),t0=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(){const J=$.assertOneOf(...t0.ASSIGNMENT_OPERATORS),G=$.assertOneOf("=");return function(X,H,V){(m1.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(...t0.BINARY_OPERATORS)},left:{validate:function(){const 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 j0=()=>({params:$.validateArrayOfType("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});SX.functionCommon=j0;var t2=()=>({returnType:{validate:$.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:$.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});SX.functionTypeAnnotationCommon=t2;var DX=()=>Object.assign({},j0(),{declare:{validate:$.assertValueType("boolean"),optional:!0},id:{validate:$.assertNodeType("Identifier"),optional:!0}});SX.functionDeclarationCommon=DX;E("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","returnType","body"],fields:Object.assign({},DX(),t2(),{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(){const J=$.assertNodeType("Identifier");return function(G,X,H){if(!m1.default("ExportDefaultDeclaration",G))J(H,"id",H.id)}}()});E("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},j0(),t2(),{id:{validate:$.assertNodeType("Identifier"),optional:!0},body:{validate:$.assertNodeType("BlockStatement")},predicate:{validate:$.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});var O0=()=>({typeAnnotation:{validate:$.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:$.assertValueType("boolean"),optional:!0},decorators:{validate:$.arrayOfType("Decorator"),optional:!0}});SX.patternLikeCommon=O0;E("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},O0(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?$.chain($.assertValueType("string"),Object.assign(function(J,G,X){if(!DD.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){const H=/\.(\w+)$/.exec(G);if(!H)return;const[,V]=H,Z={computed:!1};if(V==="property"){if(m1.default("MemberExpression",J,Z))return;if(m1.default("OptionalMemberExpression",J,Z))return}else if(V==="key"){if(m1.default("Property",J,Z))return;if(m1.default("Method",J,Z))return}else if(V==="exported"){if(m1.default("ExportSpecifier",J))return}else if(V==="imported"){if(m1.default("ImportSpecifier",J,{imported:X}))return}else if(V==="meta"){if(m1.default("MetaProperty",J,{meta:X}))return}if((CX.isKeyword(X.name)||CX.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)){const 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){const 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(...t0.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(){const 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({},j0(),t2(),{kind:Object.assign({validate:$.assertOneOf("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:!1},key:{validate:function(){const 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(){const 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(!m1.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(){const J=$.assertNodeType("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),G=$.assertNodeType("Expression");return function(X,H,V){(m1.default("ObjectPattern",X)?J:G)(V,"value",V.value)}}()});E("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},O0(),{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){const X=/(\w+)\[(\d+)\]/.exec(G);if(!X)throw new Error("Internal Babel error: malformed key.");const[,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(...t0.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(...t0.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?(()=>{const J=$.assertNodeType("Identifier");return function(G,X,H){if(m1.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({},O0(),{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({},O0(),{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({},j0(),t2(),{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(){const J=$.assertNodeType("Identifier");return function(G,X,H){if(!m1.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(){const 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");const J=$.assertNodeType("VariableDeclaration"),G=$.assertNodeType("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(X,H,V){if(m1.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(!m1.default("Identifier",J.property,{name:H}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):$.assertNodeType("Identifier")},property:{validate:$.assertNodeType("Identifier")}}});var a5=()=>({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(){const 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"))}});SX.classMethodOrPropertyCommon=a5;var j4=()=>Object.assign({},j0(),a5(),{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}});SX.classMethodOrDeclareMethodCommon=j4;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({},j4(),t2(),{body:{validate:$.assertNodeType("BlockStatement")}})});E("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},O0(),{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){const X=G.value.raw;let H=!1;const V=()=>{throw new Error("Internal @babel/types error.")},{str:Z,firstInvalidLoc:Q}=SD.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(){const 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({},a5(),{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({},a5(),{key:{validate:$.chain(function(){const 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({},j4(),t2(),{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 PX=C(()=>{var S=F2(),p=S.defineAliasedType("Flow"),A4=(J)=>{const 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")}});A4("DeclareClass");p("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),predicate:S.validateOptionalType("DeclaredPredicate")}});A4("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")}});A4("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 fX=C(()=>{var f1=F2(),c1=f1.defineAliasedType("JSX");c1("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:f1.assertNodeType("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});c1("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});c1("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}})});c1("JSXEmptyExpression",{});c1("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression","JSXEmptyExpression")}}});c1("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression")}}});c1("JSXIdentifier",{builder:["name"],fields:{name:{validate:f1.assertValueType("string")}}});c1("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:f1.assertNodeType("JSXMemberExpression","JSXIdentifier")},property:{validate:f1.assertNodeType("JSXIdentifier")}}});c1("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:f1.assertNodeType("JSXIdentifier")},name:{validate:f1.assertNodeType("JSXIdentifier")}}});c1("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}}});c1("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:f1.assertNodeType("Expression")}}});c1("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:f1.assertValueType("string")}}});c1("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")}});c1("JSXOpeningFragment",{aliases:["Immutable"]});c1("JSXClosingFragment",{aliases:["Immutable"]})});var S4=C((NX)=>{Object.defineProperty(NX,"__esModule",{value:!0});NX.PLACEHOLDERS_FLIPPED_ALIAS=NX.PLACEHOLDERS_ALIAS=NX.PLACEHOLDERS=void 0;var wD=F2(),LD=NX.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],D4=NX.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let J of LD){const G=wD.ALIAS_KEYS[J];if(G!=null&&G.length)D4[J]=G}var C4=NX.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(D4).forEach((J)=>{D4[J].forEach((G)=>{if(!hasOwnProperty.call(C4,G))C4[G]=[];C4[G].push(J)})})});var wX=C(()=>{var p5=F2(),ED=S4(),I4=p5.defineAliasedType("Miscellaneous");I4("Noop",{visitor:[]});I4("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:p5.assertNodeType("Identifier")},expectedNode:{validate:p5.assertOneOf(...ED.PLACEHOLDERS)}}});I4("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:p5.assertValueType("string")}}})});var LX=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 hX=C(()=>{var T=F2(),kX=O4(),vD=q0(),J1=T.defineAliasedType("TypeScript"),t1=T.assertValueType("boolean"),bX=()=>({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({},kX.functionDeclarationCommon(),bX())});J1("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},kX.classMethodOrDeclareMethodCommon(),bX())});J1("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:T.validateType("TSEntityName"),right:T.validateType("Identifier")}});var r5=()=>({typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),["parameters"]:T.validateArrayOfType("ArrayPattern","Identifier","ObjectPattern","RestElement"),["typeAnnotation"]:T.validateOptionalType("TSTypeAnnotation")}),EX={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:r5()};J1("TSCallSignatureDeclaration",EX);J1("TSConstructSignatureDeclaration",EX);var vX=()=>({key:T.validateType("Expression"),computed:{default:!1},optional:T.validateOptional(t1)});J1("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},vX(),{readonly:T.validateOptional(t1),typeAnnotation:T.validateOptionalType("TSTypeAnnotation"),kind:{validate:T.assertOneOf("get","set")}})});J1("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},r5(),vX(),{kind:{validate:T.assertOneOf("method","get","set")}})});J1("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:T.validateOptional(t1),static:T.validateOptional(t1),parameters:T.validateArrayOfType("Identifier"),typeAnnotation:T.validateOptionalType("TSTypeAnnotation")}});var gD=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let J of gD)J1(J,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});J1("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var gX={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};J1("TSFunctionType",Object.assign({},gX,{fields:r5()}));J1("TSConstructorType",Object.assign({},gX,{fields:Object.assign({},r5(),{abstract:T.validateOptional(t1)})}));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(t1)}});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:t1,default:!1},elementType:T.validateType("TSType")}});var _X={aliases:["TSType"],visitor:["types"],fields:{types:T.validateArrayOfType("TSType")}};J1("TSUnionType",_X);J1("TSIntersectionType",_X);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(){const J=T.assertNodeType("NumericLiteral","BigIntLiteral"),G=T.assertOneOf("-"),X=T.assertNodeType("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function H(V,Z,Q){if(vD.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 _D={aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:T.validateType("TSEntityName"),typeParameters:T.validateOptionalType("TSTypeParameterInstantiation")}};J1("TSExpressionWithTypeArguments",_D);J1("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:T.validateOptional(t1),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(t1),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 uX={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:T.validateType("Expression"),typeAnnotation:T.validateType("TSType")}};J1("TSAsExpression",uX);J1("TSSatisfiesExpression",uX);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(t1),const:T.validateOptional(t1),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(t1),global:T.validateOptional(t1),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(t1),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 mX=C((yX)=>{Object.defineProperty(yX,"__esModule",{value:!0});yX.DEPRECATED_ALIASES=void 0;var ZB1=yX.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var X2=C((e1)=>{Object.defineProperty(e1,"__esModule",{value:!0});Object.defineProperty(e1,"ALIAS_KEYS",{enumerable:!0,get:function(){return g1.ALIAS_KEYS}});Object.defineProperty(e1,"BUILDER_KEYS",{enumerable:!0,get:function(){return g1.BUILDER_KEYS}});Object.defineProperty(e1,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return P4.DEPRECATED_ALIASES}});Object.defineProperty(e1,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return g1.DEPRECATED_KEYS}});Object.defineProperty(e1,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return g1.FLIPPED_ALIAS_KEYS}});Object.defineProperty(e1,"NODE_FIELDS",{enumerable:!0,get:function(){return g1.NODE_FIELDS}});Object.defineProperty(e1,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return g1.NODE_PARENT_VALIDATIONS}});Object.defineProperty(e1,"PLACEHOLDERS",{enumerable:!0,get:function(){return n0.PLACEHOLDERS}});Object.defineProperty(e1,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return n0.PLACEHOLDERS_ALIAS}});Object.defineProperty(e1,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return n0.PLACEHOLDERS_FLIPPED_ALIAS}});e1.TYPES=void 0;Object.defineProperty(e1,"VISITOR_KEYS",{enumerable:!0,get:function(){return g1.VISITOR_KEYS}});var h2=cG();O4();PX();fX();wX();LX();hX();var g1=F2(),n0=S4(),P4=mX();Object.keys(P4.DEPRECATED_ALIASES).forEach((J)=>{g1.FLIPPED_ALIAS_KEYS[J]=g1.FLIPPED_ALIAS_KEYS[P4.DEPRECATED_ALIASES[J]]});h2(g1.VISITOR_KEYS);h2(g1.ALIAS_KEYS);h2(g1.FLIPPED_ALIAS_KEYS);h2(g1.NODE_FIELDS);h2(g1.BUILDER_KEYS);h2(g1.DEPRECATED_KEYS);h2(n0.PLACEHOLDERS_ALIAS);h2(n0.PLACEHOLDERS_FLIPPED_ALIAS);var YB1=e1.TYPES=[].concat(Object.keys(g1.VISITOR_KEYS),Object.keys(g1.FLIPPED_ALIAS_KEYS),Object.keys(g1.DEPRECATED_KEYS))});var i5=C((aX)=>{function uD(J,G,X){if(!J)return;const H=o0.NODE_FIELDS[J.type];if(!H)return;const V=H[G];lX(J,G,X,V),iX(J,G,X)}function hD(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;const Q=H.type;if(Q==null)return;(Z=o0.NODE_PARENT_VALIDATIONS[Q])==null||Z.call(o0.NODE_PARENT_VALIDATIONS,G,X,H)}}function lX(J,G,X,H){if(!(H!=null&&H.validate))return;if(H.optional&&X==null)return;H.validate(J,G,X)}function iX(J,G,X){var H;const V=X==null?void 0:X.type;if(V==null)return;(H=o0.NODE_PARENT_VALIDATIONS[V])==null||H.call(o0.NODE_PARENT_VALIDATIONS,J,G,X)}Object.defineProperty(aX,"__esModule",{value:!0});aX.default=uD;aX.validateChild=iX;aX.validateField=lX;aX.validateInternal=hD;var o0=X2()});var l1=C((tX)=>{function aD(J=[]){const G={type:"ArrayExpression",elements:J},X=O.ArrayExpression;return K(X.elements,G,"elements",J,1),G}function pD(J,G,X){const 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 rD(J,G,X){const 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 dD(J){const G={type:"InterpreterDirective",value:J},X=O.InterpreterDirective;return K(X.value,G,"value",J),G}function sD(J){const G={type:"Directive",value:J},X=O.Directive;return K(X.value,G,"value",J,1),G}function tD(J){const G={type:"DirectiveLiteral",value:J},X=O.DirectiveLiteral;return K(X.value,G,"value",J),G}function nD(J,G=[]){const 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 oD(J=null){const G={type:"BreakStatement",label:J},X=O.BreakStatement;return K(X.label,G,"label",J,1),G}function eD(J,G){const 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 JS(J=null,G){const 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 GS(J,G,X){const 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 XS(J=null){const G={type:"ContinueStatement",label:J},X=O.ContinueStatement;return K(X.label,G,"label",J,1),G}function HS(){return{type:"DebuggerStatement"}}function VS(J,G){const 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 ZS(){return{type:"EmptyStatement"}}function QS(J){const G={type:"ExpressionStatement",expression:J},X=O.ExpressionStatement;return K(X.expression,G,"expression",J,1),G}function YS(J,G=null,X=null){const 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 WS(J,G,X){const 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){const 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 KS(J=null,G,X,H=!1,V=!1){const 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 US(J=null,G,X,H=!1,V=!1){const 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 BS(J){const G={type:"Identifier",name:J},X=O.Identifier;return K(X.name,G,"name",J),G}function RS(J,G,X=null){const 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 $S(J,G){const 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 MS(J){const G={type:"StringLiteral",value:J},X=O.StringLiteral;return K(X.value,G,"value",J),G}function pX(J){const G={type:"NumericLiteral",value:J},X=O.NumericLiteral;return K(X.value,G,"value",J),G}function qS(){return{type:"NullLiteral"}}function FS(J){const G={type:"BooleanLiteral",value:J},X=O.BooleanLiteral;return K(X.value,G,"value",J),G}function rX(J,G=""){const 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 jS(J,G,X){const 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 OS(J,G,X=!1,H=null){const 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 AS(J,G){const 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 CS(J,G=[],X="script",H=null){const 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 DS(J){const G={type:"ObjectExpression",properties:J},X=O.ObjectExpression;return K(X.properties,G,"properties",J,1),G}function SS(J="method",G,X,H,V=!1,Z=!1,Q=!1){const 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 IS(J,G,X=!1,H=!1,V=null){const 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 dX(J){const G={type:"RestElement",argument:J},X=O.RestElement;return K(X.argument,G,"argument",J,1),G}function PS(J=null){const G={type:"ReturnStatement",argument:J},X=O.ReturnStatement;return K(X.argument,G,"argument",J,1),G}function fS(J){const G={type:"SequenceExpression",expressions:J},X=O.SequenceExpression;return K(X.expressions,G,"expressions",J,1),G}function NS(J){const G={type:"ParenthesizedExpression",expression:J},X=O.ParenthesizedExpression;return K(X.expression,G,"expression",J,1),G}function TS(J=null,G){const 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 wS(J,G){const 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 LS(){return{type:"ThisExpression"}}function kS(J){const G={type:"ThrowStatement",argument:J},X=O.ThrowStatement;return K(X.argument,G,"argument",J,1),G}function bS(J,G=null,X=null){const 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 ES(J,G,X=!0){const 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 vS(J,G,X=!1){const 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 gS(J,G){const 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 _S(J,G=null){const 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 uS(J,G){const 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 hS(J,G){const 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 yS(J,G){const 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 xS(J){const G={type:"ArrayPattern",elements:J},X=O.ArrayPattern;return K(X.elements,G,"elements",J,1),G}function mS(J,G,X=!1){const 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 cS(J){const G={type:"ClassBody",body:J},X=O.ClassBody;return K(X.body,G,"body",J,1),G}function lS(J=null,G=null,X,H=null){const 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 iS(J=null,G=null,X,H=null){const 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 aS(J){const G={type:"ExportAllDeclaration",source:J},X=O.ExportAllDeclaration;return K(X.source,G,"source",J,1),G}function pS(J){const G={type:"ExportDefaultDeclaration",declaration:J},X=O.ExportDefaultDeclaration;return K(X.declaration,G,"declaration",J,1),G}function rS(J=null,G=[],X=null){const 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 dS(J,G){const 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 sS(J,G,X,H=!1){const 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 tS(J,G){const 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 nS(J){const G={type:"ImportDefaultSpecifier",local:J},X=O.ImportDefaultSpecifier;return K(X.local,G,"local",J,1),G}function oS(J){const G={type:"ImportNamespaceSpecifier",local:J},X=O.ImportNamespaceSpecifier;return K(X.local,G,"local",J,1),G}function eS(J,G){const 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 JI(J,G=null){const 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 GI(J,G){const 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 XI(J="method",G,X,H,V=!1,Z=!1,Q=!1,Y=!1){const 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 HI(J){const G={type:"ObjectPattern",properties:J},X=O.ObjectPattern;return K(X.properties,G,"properties",J,1),G}function sX(J){const G={type:"SpreadElement",argument:J},X=O.SpreadElement;return K(X.argument,G,"argument",J,1),G}function VI(){return{type:"Super"}}function ZI(J,G){const 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 QI(J,G=!1){const 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 YI(J,G){const 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 WI(J=null,G=!1){const 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){const G={type:"AwaitExpression",argument:J},X=O.AwaitExpression;return K(X.argument,G,"argument",J,1),G}function KI(){return{type:"Import"}}function UI(J){const G={type:"BigIntLiteral",value:J},X=O.BigIntLiteral;return K(X.value,G,"value",J),G}function BI(J){const G={type:"ExportNamespaceSpecifier",exported:J},X=O.ExportNamespaceSpecifier;return K(X.exported,G,"exported",J,1),G}function RI(J,G,X=!1,H){const 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 $I(J,G,X){const 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 MI(J,G=null,X=null,H=null,V=!1,Z=!1){const 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 qI(J,G=null,X=null,H=null,V=!1,Z=!1){const 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 FI(J,G=null,X=null,H=!1){const 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 jI(J="method",G,X,H,V=!1){const 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 OI(J){const G={type:"PrivateName",id:J},X=O.PrivateName;return K(X.id,G,"id",J,1),G}function AI(J){const G={type:"StaticBlock",body:J},X=O.StaticBlock;return K(X.body,G,"body",J,1),G}function CI(){return{type:"AnyTypeAnnotation"}}function DI(J){const G={type:"ArrayTypeAnnotation",elementType:J},X=O.ArrayTypeAnnotation;return K(X.elementType,G,"elementType",J,1),G}function SI(){return{type:"BooleanTypeAnnotation"}}function II(J){const G={type:"BooleanLiteralTypeAnnotation",value:J},X=O.BooleanLiteralTypeAnnotation;return K(X.value,G,"value",J),G}function PI(){return{type:"NullLiteralTypeAnnotation"}}function fI(J,G=null){const 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 NI(J,G=null,X=null,H){const 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 TI(J){const G={type:"DeclareFunction",id:J},X=O.DeclareFunction;return K(X.id,G,"id",J,1),G}function wI(J,G=null,X=null,H){const 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 LI(J,G,X=null){const 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 kI(J){const G={type:"DeclareModuleExports",typeAnnotation:J},X=O.DeclareModuleExports;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function bI(J,G=null,X){const 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 EI(J,G=null,X=null){const 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 vI(J){const G={type:"DeclareVariable",id:J},X=O.DeclareVariable;return K(X.id,G,"id",J,1),G}function gI(J=null,G=null,X=null){const 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 _I(J){const G={type:"DeclareExportAllDeclaration",source:J},X=O.DeclareExportAllDeclaration;return K(X.source,G,"source",J,1),G}function uI(J){const G={type:"DeclaredPredicate",value:J},X=O.DeclaredPredicate;return K(X.value,G,"value",J,1),G}function hI(){return{type:"ExistsTypeAnnotation"}}function yI(J=null,G,X=null,H){const 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 xI(J=null,G){const 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 mI(J,G=null){const 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 cI(){return{type:"InferredPredicate"}}function lI(J,G=null){const 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 iI(J,G=null,X=null,H){const 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 aI(J=null,G){const 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 pI(J){const G={type:"IntersectionTypeAnnotation",types:J},X=O.IntersectionTypeAnnotation;return K(X.types,G,"types",J,1),G}function rI(){return{type:"MixedTypeAnnotation"}}function dI(){return{type:"EmptyTypeAnnotation"}}function sI(J){const G={type:"NullableTypeAnnotation",typeAnnotation:J},X=O.NullableTypeAnnotation;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function tI(J){const G={type:"NumberLiteralTypeAnnotation",value:J},X=O.NumberLiteralTypeAnnotation;return K(X.value,G,"value",J),G}function nI(){return{type:"NumberTypeAnnotation"}}function oI(J,G=[],X=[],H=[],V=!1){const 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 eI(J,G,X,H,V){const 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 JP(J){const G={type:"ObjectTypeCallProperty",value:J,static:null},X=O.ObjectTypeCallProperty;return K(X.value,G,"value",J,1),G}function GP(J=null,G,X,H=null){const 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 XP(J,G,X=null){const 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 HP(J){const G={type:"ObjectTypeSpreadProperty",argument:J},X=O.ObjectTypeSpreadProperty;return K(X.argument,G,"argument",J,1),G}function VP(J,G=null,X=null,H){const 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 ZP(J,G){const 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 QP(J){const G={type:"StringLiteralTypeAnnotation",value:J},X=O.StringLiteralTypeAnnotation;return K(X.value,G,"value",J),G}function YP(){return{type:"StringTypeAnnotation"}}function WP(){return{type:"SymbolTypeAnnotation"}}function zP(){return{type:"ThisTypeAnnotation"}}function KP(J){const G={type:"TupleTypeAnnotation",types:J},X=O.TupleTypeAnnotation;return K(X.types,G,"types",J,1),G}function UP(J){const G={type:"TypeofTypeAnnotation",argument:J},X=O.TypeofTypeAnnotation;return K(X.argument,G,"argument",J,1),G}function BP(J,G=null,X){const 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 RP(J){const G={type:"TypeAnnotation",typeAnnotation:J},X=O.TypeAnnotation;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function $P(J,G){const 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 MP(J=null,G=null,X=null){const 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 qP(J){const G={type:"TypeParameterDeclaration",params:J},X=O.TypeParameterDeclaration;return K(X.params,G,"params",J,1),G}function FP(J){const G={type:"TypeParameterInstantiation",params:J},X=O.TypeParameterInstantiation;return K(X.params,G,"params",J,1),G}function jP(J){const G={type:"UnionTypeAnnotation",types:J},X=O.UnionTypeAnnotation;return K(X.types,G,"types",J,1),G}function OP(J){const G={type:"Variance",kind:J},X=O.Variance;return K(X.kind,G,"kind",J),G}function AP(){return{type:"VoidTypeAnnotation"}}function CP(J,G){const 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 DP(J){const G={type:"EnumBooleanBody",members:J,explicitType:null,hasUnknownMembers:null},X=O.EnumBooleanBody;return K(X.members,G,"members",J,1),G}function SP(J){const G={type:"EnumNumberBody",members:J,explicitType:null,hasUnknownMembers:null},X=O.EnumNumberBody;return K(X.members,G,"members",J,1),G}function IP(J){const G={type:"EnumStringBody",members:J,explicitType:null,hasUnknownMembers:null},X=O.EnumStringBody;return K(X.members,G,"members",J,1),G}function PP(J){const G={type:"EnumSymbolBody",members:J,hasUnknownMembers:null},X=O.EnumSymbolBody;return K(X.members,G,"members",J,1),G}function fP(J){const G={type:"EnumBooleanMember",id:J,init:null},X=O.EnumBooleanMember;return K(X.id,G,"id",J,1),G}function NP(J,G){const 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 TP(J,G){const 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 wP(J){const G={type:"EnumDefaultedMember",id:J},X=O.EnumDefaultedMember;return K(X.id,G,"id",J,1),G}function LP(J,G){const 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 kP(J,G){const 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 bP(J,G=null){const 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 EP(J){const G={type:"JSXClosingElement",name:J},X=O.JSXClosingElement;return K(X.name,G,"name",J,1),G}function vP(J,G=null,X,H=null){const 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 gP(){return{type:"JSXEmptyExpression"}}function _P(J){const G={type:"JSXExpressionContainer",expression:J},X=O.JSXExpressionContainer;return K(X.expression,G,"expression",J,1),G}function uP(J){const G={type:"JSXSpreadChild",expression:J},X=O.JSXSpreadChild;return K(X.expression,G,"expression",J,1),G}function hP(J){const G={type:"JSXIdentifier",name:J},X=O.JSXIdentifier;return K(X.name,G,"name",J),G}function yP(J,G){const 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 xP(J,G){const 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 mP(J,G,X=!1){const 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 cP(J){const G={type:"JSXSpreadAttribute",argument:J},X=O.JSXSpreadAttribute;return K(X.argument,G,"argument",J,1),G}function lP(J){const G={type:"JSXText",value:J},X=O.JSXText;return K(X.value,G,"value",J),G}function iP(J,G,X){const 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 aP(){return{type:"JSXOpeningFragment"}}function pP(){return{type:"JSXClosingFragment"}}function rP(){return{type:"Noop"}}function dP(J,G){const 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 sP(J){const G={type:"V8IntrinsicIdentifier",name:J},X=O.V8IntrinsicIdentifier;return K(X.name,G,"name",J),G}function tP(){return{type:"ArgumentPlaceholder"}}function nP(J,G){const 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 oP(J,G){const 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 eP(J){const G={type:"Decorator",expression:J},X=O.Decorator;return K(X.expression,G,"expression",J,1),G}function Jf(J,G=!1){const 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 Gf(J){const G={type:"ExportDefaultSpecifier",exported:J},X=O.ExportDefaultSpecifier;return K(X.exported,G,"exported",J,1),G}function Xf(J){const G={type:"RecordExpression",properties:J},X=O.RecordExpression;return K(X.properties,G,"properties",J,1),G}function Hf(J=[]){const G={type:"TupleExpression",elements:J},X=O.TupleExpression;return K(X.elements,G,"elements",J,1),G}function Vf(J){const G={type:"DecimalLiteral",value:J},X=O.DecimalLiteral;return K(X.value,G,"value",J),G}function Zf(J){const G={type:"ModuleExpression",body:J},X=O.ModuleExpression;return K(X.body,G,"body",J,1),G}function Qf(){return{type:"TopicReference"}}function Yf(J){const G={type:"PipelineTopicExpression",expression:J},X=O.PipelineTopicExpression;return K(X.expression,G,"expression",J,1),G}function Wf(J){const G={type:"PipelineBareFunction",callee:J},X=O.PipelineBareFunction;return K(X.callee,G,"callee",J,1),G}function zf(){return{type:"PipelinePrimaryTopicReference"}}function Kf(J){const G={type:"TSParameterProperty",parameter:J},X=O.TSParameterProperty;return K(X.parameter,G,"parameter",J,1),G}function Uf(J=null,G=null,X,H=null){const 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 Bf(J=null,G,X=null,H,V=null){const 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 Rf(J,G){const 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 $f(J=null,G,X=null){const 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 Mf(J=null,G,X=null){const 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 qf(J,G=null){const 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 Ff(J,G=null,X,H=null){const 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 jf(J,G=null){const 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 Of(){return{type:"TSAnyKeyword"}}function Af(){return{type:"TSBooleanKeyword"}}function Cf(){return{type:"TSBigIntKeyword"}}function Df(){return{type:"TSIntrinsicKeyword"}}function Sf(){return{type:"TSNeverKeyword"}}function If(){return{type:"TSNullKeyword"}}function Pf(){return{type:"TSNumberKeyword"}}function ff(){return{type:"TSObjectKeyword"}}function Nf(){return{type:"TSStringKeyword"}}function Tf(){return{type:"TSSymbolKeyword"}}function wf(){return{type:"TSUndefinedKeyword"}}function Lf(){return{type:"TSUnknownKeyword"}}function kf(){return{type:"TSVoidKeyword"}}function bf(){return{type:"TSThisType"}}function Ef(J=null,G,X=null){const 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 vf(J=null,G,X=null){const 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 gf(J,G=null){const 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 _f(J,G=null,X=null){const 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 uf(J,G=null){const 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 hf(J){const G={type:"TSTypeLiteral",members:J},X=O.TSTypeLiteral;return K(X.members,G,"members",J,1),G}function yf(J){const G={type:"TSArrayType",elementType:J},X=O.TSArrayType;return K(X.elementType,G,"elementType",J,1),G}function xf(J){const G={type:"TSTupleType",elementTypes:J},X=O.TSTupleType;return K(X.elementTypes,G,"elementTypes",J,1),G}function mf(J){const G={type:"TSOptionalType",typeAnnotation:J},X=O.TSOptionalType;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function cf(J){const G={type:"TSRestType",typeAnnotation:J},X=O.TSRestType;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function lf(J,G,X=!1){const 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 af(J){const G={type:"TSUnionType",types:J},X=O.TSUnionType;return K(X.types,G,"types",J,1),G}function pf(J){const G={type:"TSIntersectionType",types:J},X=O.TSIntersectionType;return K(X.types,G,"types",J,1),G}function rf(J,G,X,H){const 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 df(J){const G={type:"TSInferType",typeParameter:J},X=O.TSInferType;return K(X.typeParameter,G,"typeParameter",J,1),G}function sf(J){const G={type:"TSParenthesizedType",typeAnnotation:J},X=O.TSParenthesizedType;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function tf(J){const G={type:"TSTypeOperator",typeAnnotation:J,operator:null},X=O.TSTypeOperator;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function nf(J,G){const 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 of(J,G=null,X=null){const 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 ef(J){const G={type:"TSLiteralType",literal:J},X=O.TSLiteralType;return K(X.literal,G,"literal",J,1),G}function JN(J,G=null){const 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 GN(J,G=null,X=null,H){const 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 XN(J){const G={type:"TSInterfaceBody",body:J},X=O.TSInterfaceBody;return K(X.body,G,"body",J,1),G}function HN(J,G=null,X){const 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 VN(J,G=null){const 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 ZN(J,G){const 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 QN(J,G){const 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 YN(J,G){const 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 WN(J,G){const 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){const 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 KN(J,G){const 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 UN(J){const G={type:"TSModuleBlock",body:J},X=O.TSModuleBlock;return K(X.body,G,"body",J,1),G}function BN(J,G=null,X=null){const 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 RN(J,G){const 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 $N(J){const G={type:"TSExternalModuleReference",expression:J},X=O.TSExternalModuleReference;return K(X.expression,G,"expression",J,1),G}function MN(J){const G={type:"TSNonNullExpression",expression:J},X=O.TSNonNullExpression;return K(X.expression,G,"expression",J,1),G}function qN(J){const G={type:"TSExportAssignment",expression:J},X=O.TSExportAssignment;return K(X.expression,G,"expression",J,1),G}function FN(J){const G={type:"TSNamespaceExportDeclaration",id:J},X=O.TSNamespaceExportDeclaration;return K(X.id,G,"id",J,1),G}function jN(J){const G={type:"TSTypeAnnotation",typeAnnotation:J},X=O.TSTypeAnnotation;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function ON(J){const G={type:"TSTypeParameterInstantiation",params:J},X=O.TSTypeParameterInstantiation;return K(X.params,G,"params",J,1),G}function AN(J){const G={type:"TSTypeParameterDeclaration",params:J},X=O.TSTypeParameterDeclaration;return K(X.params,G,"params",J,1),G}function CN(J=null,G=null,X){const 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 DN(J){return d5.default("NumberLiteral","NumericLiteral","The node type "),pX(J)}function SN(J,G=""){return d5.default("RegexLiteral","RegExpLiteral","The node type "),rX(J,G)}function IN(J){return d5.default("RestProperty","RestElement","The node type "),dX(J)}function PN(J){return d5.default("SpreadProperty","SpreadElement","The node type "),sX(J)}Object.defineProperty(tX,"__esModule",{value:!0});tX.anyTypeAnnotation=CI;tX.argumentPlaceholder=tP;tX.arrayExpression=aD;tX.arrayPattern=xS;tX.arrayTypeAnnotation=DI;tX.arrowFunctionExpression=mS;tX.assignmentExpression=pD;tX.assignmentPattern=yS;tX.awaitExpression=zI;tX.bigIntLiteral=UI;tX.binaryExpression=rD;tX.bindExpression=nP;tX.blockStatement=nD;tX.booleanLiteral=FS;tX.booleanLiteralTypeAnnotation=II;tX.booleanTypeAnnotation=SI;tX.breakStatement=oD;tX.callExpression=eD;tX.catchClause=JS;tX.classAccessorProperty=qI;tX.classBody=cS;tX.classDeclaration=iS;tX.classExpression=lS;tX.classImplements=fI;tX.classMethod=XI;tX.classPrivateMethod=jI;tX.classPrivateProperty=FI;tX.classProperty=MI;tX.conditionalExpression=GS;tX.continueStatement=XS;tX.debuggerStatement=HS;tX.decimalLiteral=Vf;tX.declareClass=NI;tX.declareExportAllDeclaration=_I;tX.declareExportDeclaration=gI;tX.declareFunction=TI;tX.declareInterface=wI;tX.declareModule=LI;tX.declareModuleExports=kI;tX.declareOpaqueType=EI;tX.declareTypeAlias=bI;tX.declareVariable=vI;tX.declaredPredicate=uI;tX.decorator=eP;tX.directive=sD;tX.directiveLiteral=tD;tX.doExpression=Jf;tX.doWhileStatement=VS;tX.emptyStatement=ZS;tX.emptyTypeAnnotation=dI;tX.enumBooleanBody=DP;tX.enumBooleanMember=fP;tX.enumDeclaration=CP;tX.enumDefaultedMember=wP;tX.enumNumberBody=SP;tX.enumNumberMember=NP;tX.enumStringBody=IP;tX.enumStringMember=TP;tX.enumSymbolBody=PP;tX.existsTypeAnnotation=hI;tX.exportAllDeclaration=aS;tX.exportDefaultDeclaration=pS;tX.exportDefaultSpecifier=Gf;tX.exportNamedDeclaration=rS;tX.exportNamespaceSpecifier=BI;tX.exportSpecifier=dS;tX.expressionStatement=QS;tX.file=YS;tX.forInStatement=WS;tX.forOfStatement=sS;tX.forStatement=zS;tX.functionDeclaration=KS;tX.functionExpression=US;tX.functionTypeAnnotation=yI;tX.functionTypeParam=xI;tX.genericTypeAnnotation=mI;tX.identifier=BS;tX.ifStatement=RS;tX.import=KI;tX.importAttribute=oP;tX.importDeclaration=tS;tX.importDefaultSpecifier=nS;tX.importExpression=JI;tX.importNamespaceSpecifier=oS;tX.importSpecifier=eS;tX.indexedAccessType=LP;tX.inferredPredicate=cI;tX.interfaceDeclaration=iI;tX.interfaceExtends=lI;tX.interfaceTypeAnnotation=aI;tX.interpreterDirective=dD;tX.intersectionTypeAnnotation=pI;tX.jSXAttribute=tX.jsxAttribute=bP;tX.jSXClosingElement=tX.jsxClosingElement=EP;tX.jSXClosingFragment=tX.jsxClosingFragment=pP;tX.jSXElement=tX.jsxElement=vP;tX.jSXEmptyExpression=tX.jsxEmptyExpression=gP;tX.jSXExpressionContainer=tX.jsxExpressionContainer=_P;tX.jSXFragment=tX.jsxFragment=iP;tX.jSXIdentifier=tX.jsxIdentifier=hP;tX.jSXMemberExpression=tX.jsxMemberExpression=yP;tX.jSXNamespacedName=tX.jsxNamespacedName=xP;tX.jSXOpeningElement=tX.jsxOpeningElement=mP;tX.jSXOpeningFragment=tX.jsxOpeningFragment=aP;tX.jSXSpreadAttribute=tX.jsxSpreadAttribute=cP;tX.jSXSpreadChild=tX.jsxSpreadChild=uP;tX.jSXText=tX.jsxText=lP;tX.labeledStatement=$S;tX.logicalExpression=jS;tX.memberExpression=OS;tX.metaProperty=GI;tX.mixedTypeAnnotation=rI;tX.moduleExpression=Zf;tX.newExpression=AS;tX.noop=rP;tX.nullLiteral=qS;tX.nullLiteralTypeAnnotation=PI;tX.nullableTypeAnnotation=sI;tX.numberLiteral=DN;tX.numberLiteralTypeAnnotation=tI;tX.numberTypeAnnotation=nI;tX.numericLiteral=pX;tX.objectExpression=DS;tX.objectMethod=SS;tX.objectPattern=HI;tX.objectProperty=IS;tX.objectTypeAnnotation=oI;tX.objectTypeCallProperty=JP;tX.objectTypeIndexer=GP;tX.objectTypeInternalSlot=eI;tX.objectTypeProperty=XP;tX.objectTypeSpreadProperty=HP;tX.opaqueType=VP;tX.optionalCallExpression=$I;tX.optionalIndexedAccessType=kP;tX.optionalMemberExpression=RI;tX.parenthesizedExpression=NS;tX.pipelineBareFunction=Wf;tX.pipelinePrimaryTopicReference=zf;tX.pipelineTopicExpression=Yf;tX.placeholder=dP;tX.privateName=OI;tX.program=CS;tX.qualifiedTypeIdentifier=ZP;tX.recordExpression=Xf;tX.regExpLiteral=rX;tX.regexLiteral=SN;tX.restElement=dX;tX.restProperty=IN;tX.returnStatement=PS;tX.sequenceExpression=fS;tX.spreadElement=sX;tX.spreadProperty=PN;tX.staticBlock=AI;tX.stringLiteral=MS;tX.stringLiteralTypeAnnotation=QP;tX.stringTypeAnnotation=YP;tX.super=VI;tX.switchCase=TS;tX.switchStatement=wS;tX.symbolTypeAnnotation=WP;tX.taggedTemplateExpression=ZI;tX.templateElement=QI;tX.templateLiteral=YI;tX.thisExpression=LS;tX.thisTypeAnnotation=zP;tX.throwStatement=kS;tX.topicReference=Qf;tX.tryStatement=bS;tX.tSAnyKeyword=tX.tsAnyKeyword=Of;tX.tSArrayType=tX.tsArrayType=yf;tX.tSAsExpression=tX.tsAsExpression=ZN;tX.tSBigIntKeyword=tX.tsBigIntKeyword=Cf;tX.tSBooleanKeyword=tX.tsBooleanKeyword=Af;tX.tSCallSignatureDeclaration=tX.tsCallSignatureDeclaration=$f;tX.tSConditionalType=tX.tsConditionalType=rf;tX.tSConstructSignatureDeclaration=tX.tsConstructSignatureDeclaration=Mf;tX.tSConstructorType=tX.tsConstructorType=vf;tX.tSDeclareFunction=tX.tsDeclareFunction=Uf;tX.tSDeclareMethod=tX.tsDeclareMethod=Bf;tX.tSEnumDeclaration=tX.tsEnumDeclaration=WN;tX.tSEnumMember=tX.tsEnumMember=zN;tX.tSExportAssignment=tX.tsExportAssignment=qN;tX.tSExpressionWithTypeArguments=tX.tsExpressionWithTypeArguments=JN;tX.tSExternalModuleReference=tX.tsExternalModuleReference=$N;tX.tSFunctionType=tX.tsFunctionType=Ef;tX.tSImportEqualsDeclaration=tX.tsImportEqualsDeclaration=RN;tX.tSImportType=tX.tsImportType=BN;tX.tSIndexSignature=tX.tsIndexSignature=jf;tX.tSIndexedAccessType=tX.tsIndexedAccessType=nf;tX.tSInferType=tX.tsInferType=df;tX.tSInstantiationExpression=tX.tsInstantiationExpression=VN;tX.tSInterfaceBody=tX.tsInterfaceBody=XN;tX.tSInterfaceDeclaration=tX.tsInterfaceDeclaration=GN;tX.tSIntersectionType=tX.tsIntersectionType=pf;tX.tSIntrinsicKeyword=tX.tsIntrinsicKeyword=Df;tX.tSLiteralType=tX.tsLiteralType=ef;tX.tSMappedType=tX.tsMappedType=of;tX.tSMethodSignature=tX.tsMethodSignature=Ff;tX.tSModuleBlock=tX.tsModuleBlock=UN;tX.tSModuleDeclaration=tX.tsModuleDeclaration=KN;tX.tSNamedTupleMember=tX.tsNamedTupleMember=lf;tX.tSNamespaceExportDeclaration=tX.tsNamespaceExportDeclaration=FN;tX.tSNeverKeyword=tX.tsNeverKeyword=Sf;tX.tSNonNullExpression=tX.tsNonNullExpression=MN;tX.tSNullKeyword=tX.tsNullKeyword=If;tX.tSNumberKeyword=tX.tsNumberKeyword=Pf;tX.tSObjectKeyword=tX.tsObjectKeyword=ff;tX.tSOptionalType=tX.tsOptionalType=mf;tX.tSParameterProperty=tX.tsParameterProperty=Kf;tX.tSParenthesizedType=tX.tsParenthesizedType=sf;tX.tSPropertySignature=tX.tsPropertySignature=qf;tX.tSQualifiedName=tX.tsQualifiedName=Rf;tX.tSRestType=tX.tsRestType=cf;tX.tSSatisfiesExpression=tX.tsSatisfiesExpression=QN;tX.tSStringKeyword=tX.tsStringKeyword=Nf;tX.tSSymbolKeyword=tX.tsSymbolKeyword=Tf;tX.tSThisType=tX.tsThisType=bf;tX.tSTupleType=tX.tsTupleType=xf;tX.tSTypeAliasDeclaration=tX.tsTypeAliasDeclaration=HN;tX.tSTypeAnnotation=tX.tsTypeAnnotation=jN;tX.tSTypeAssertion=tX.tsTypeAssertion=YN;tX.tSTypeLiteral=tX.tsTypeLiteral=hf;tX.tSTypeOperator=tX.tsTypeOperator=tf;tX.tSTypeParameter=tX.tsTypeParameter=CN;tX.tSTypeParameterDeclaration=tX.tsTypeParameterDeclaration=AN;tX.tSTypeParameterInstantiation=tX.tsTypeParameterInstantiation=ON;tX.tSTypePredicate=tX.tsTypePredicate=_f;tX.tSTypeQuery=tX.tsTypeQuery=uf;tX.tSTypeReference=tX.tsTypeReference=gf;tX.tSUndefinedKeyword=tX.tsUndefinedKeyword=wf;tX.tSUnionType=tX.tsUnionType=af;tX.tSUnknownKeyword=tX.tsUnknownKeyword=Lf;tX.tSVoidKeyword=tX.tsVoidKeyword=kf;tX.tupleExpression=Hf;tX.tupleTypeAnnotation=KP;tX.typeAlias=BP;tX.typeAnnotation=RP;tX.typeCastExpression=$P;tX.typeParameter=MP;tX.typeParameterDeclaration=qP;tX.typeParameterInstantiation=FP;tX.typeofTypeAnnotation=UP;tX.unaryExpression=ES;tX.unionTypeAnnotation=jP;tX.updateExpression=vS;tX.v8IntrinsicIdentifier=sP;tX.variableDeclaration=gS;tX.variableDeclarator=_S;tX.variance=OP;tX.voidTypeAnnotation=AP;tX.whileStatement=uS;tX.withStatement=hS;tX.yieldExpression=WI;var lD=i5(),d5=l0(),iD=F2(),{validateInternal:K}=lD,{NODE_FIELDS:O}=iD});var oX=C((nX)=>{function Bb(J,G){const X=J.value.split(/\r\n|\n|\r/);let 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++){const Q=X[Z],Y=Z===0,W=Z===X.length-1,z=Z===H;let 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(Ub.inherits(Kb.stringLiteral(V),J))}Object.defineProperty(nX,"__esModule",{value:!0});nX.default=Bb;var Kb=l1(),Ub=W1()});var J6=C((eX)=>{function Mb(J){const G=[];for(let X=0;X<J.children.length;X++){let H=J.children[X];if(f4.isJSXText(H)){$b.default(H,G);continue}if(f4.isJSXExpressionContainer(H))H=H.expression;if(f4.isJSXEmptyExpression(H))continue;G.push(H)}return G}Object.defineProperty(eX,"__esModule",{value:!0});eX.default=Mb;var f4=w1(),$b=oX()});var N4=C((G6)=>{function jb(J){return!!(J&&Fb.VISITOR_KEYS[J.type])}Object.defineProperty(G6,"__esModule",{value:!0});G6.default=jb;var Fb=X2()});var H6=C((X6)=>{function Cb(J){if(!Ab.default(J)){var G;const X=(G=J==null?void 0:J.type)!=null?G:JSON.stringify(J);throw new TypeError(`Not a valid node of type "${X}"`)}}Object.defineProperty(X6,"__esModule",{value:!0});X6.default=Cb;var Ab=N4()});var Z6=C((V6)=>{function B(J,G,X){if(!Sb.default(J,G,X))throw new Error(`Expected type "${J}" with option ${JSON.stringify(X)}, but instead got "${G.type}".`)}function Ib(J,G){B("ArrayExpression",J,G)}function Pb(J,G){B("AssignmentExpression",J,G)}function fb(J,G){B("BinaryExpression",J,G)}function Nb(J,G){B("InterpreterDirective",J,G)}function Tb(J,G){B("Directive",J,G)}function wb(J,G){B("DirectiveLiteral",J,G)}function Lb(J,G){B("BlockStatement",J,G)}function kb(J,G){B("BreakStatement",J,G)}function bb(J,G){B("CallExpression",J,G)}function Eb(J,G){B("CatchClause",J,G)}function vb(J,G){B("ConditionalExpression",J,G)}function gb(J,G){B("ContinueStatement",J,G)}function _b(J,G){B("DebuggerStatement",J,G)}function ub(J,G){B("DoWhileStatement",J,G)}function hb(J,G){B("EmptyStatement",J,G)}function yb(J,G){B("ExpressionStatement",J,G)}function xb(J,G){B("File",J,G)}function mb(J,G){B("ForInStatement",J,G)}function cb(J,G){B("ForStatement",J,G)}function lb(J,G){B("FunctionDeclaration",J,G)}function ib(J,G){B("FunctionExpression",J,G)}function ab(J,G){B("Identifier",J,G)}function pb(J,G){B("IfStatement",J,G)}function rb(J,G){B("LabeledStatement",J,G)}function db(J,G){B("StringLiteral",J,G)}function sb(J,G){B("NumericLiteral",J,G)}function tb(J,G){B("NullLiteral",J,G)}function nb(J,G){B("BooleanLiteral",J,G)}function ob(J,G){B("RegExpLiteral",J,G)}function eb(J,G){B("LogicalExpression",J,G)}function JE(J,G){B("MemberExpression",J,G)}function GE(J,G){B("NewExpression",J,G)}function XE(J,G){B("Program",J,G)}function HE(J,G){B("ObjectExpression",J,G)}function VE(J,G){B("ObjectMethod",J,G)}function ZE(J,G){B("ObjectProperty",J,G)}function QE(J,G){B("RestElement",J,G)}function YE(J,G){B("ReturnStatement",J,G)}function WE(J,G){B("SequenceExpression",J,G)}function zE(J,G){B("ParenthesizedExpression",J,G)}function KE(J,G){B("SwitchCase",J,G)}function UE(J,G){B("SwitchStatement",J,G)}function BE(J,G){B("ThisExpression",J,G)}function RE(J,G){B("ThrowStatement",J,G)}function $E(J,G){B("TryStatement",J,G)}function ME(J,G){B("UnaryExpression",J,G)}function qE(J,G){B("UpdateExpression",J,G)}function FE(J,G){B("VariableDeclaration",J,G)}function jE(J,G){B("VariableDeclarator",J,G)}function OE(J,G){B("WhileStatement",J,G)}function AE(J,G){B("WithStatement",J,G)}function CE(J,G){B("AssignmentPattern",J,G)}function DE(J,G){B("ArrayPattern",J,G)}function SE(J,G){B("ArrowFunctionExpression",J,G)}function IE(J,G){B("ClassBody",J,G)}function PE(J,G){B("ClassExpression",J,G)}function fE(J,G){B("ClassDeclaration",J,G)}function NE(J,G){B("ExportAllDeclaration",J,G)}function TE(J,G){B("ExportDefaultDeclaration",J,G)}function wE(J,G){B("ExportNamedDeclaration",J,G)}function LE(J,G){B("ExportSpecifier",J,G)}function kE(J,G){B("ForOfStatement",J,G)}function bE(J,G){B("ImportDeclaration",J,G)}function EE(J,G){B("ImportDefaultSpecifier",J,G)}function vE(J,G){B("ImportNamespaceSpecifier",J,G)}function gE(J,G){B("ImportSpecifier",J,G)}function _E(J,G){B("ImportExpression",J,G)}function uE(J,G){B("MetaProperty",J,G)}function hE(J,G){B("ClassMethod",J,G)}function yE(J,G){B("ObjectPattern",J,G)}function xE(J,G){B("SpreadElement",J,G)}function mE(J,G){B("Super",J,G)}function cE(J,G){B("TaggedTemplateExpression",J,G)}function lE(J,G){B("TemplateElement",J,G)}function iE(J,G){B("TemplateLiteral",J,G)}function aE(J,G){B("YieldExpression",J,G)}function pE(J,G){B("AwaitExpression",J,G)}function rE(J,G){B("Import",J,G)}function dE(J,G){B("BigIntLiteral",J,G)}function sE(J,G){B("ExportNamespaceSpecifier",J,G)}function tE(J,G){B("OptionalMemberExpression",J,G)}function nE(J,G){B("OptionalCallExpression",J,G)}function oE(J,G){B("ClassProperty",J,G)}function eE(J,G){B("ClassAccessorProperty",J,G)}function Jv(J,G){B("ClassPrivateProperty",J,G)}function Gv(J,G){B("ClassPrivateMethod",J,G)}function Xv(J,G){B("PrivateName",J,G)}function Hv(J,G){B("StaticBlock",J,G)}function Vv(J,G){B("AnyTypeAnnotation",J,G)}function Zv(J,G){B("ArrayTypeAnnotation",J,G)}function Qv(J,G){B("BooleanTypeAnnotation",J,G)}function Yv(J,G){B("BooleanLiteralTypeAnnotation",J,G)}function Wv(J,G){B("NullLiteralTypeAnnotation",J,G)}function zv(J,G){B("ClassImplements",J,G)}function Kv(J,G){B("DeclareClass",J,G)}function Uv(J,G){B("DeclareFunction",J,G)}function Bv(J,G){B("DeclareInterface",J,G)}function Rv(J,G){B("DeclareModule",J,G)}function $v(J,G){B("DeclareModuleExports",J,G)}function Mv(J,G){B("DeclareTypeAlias",J,G)}function qv(J,G){B("DeclareOpaqueType",J,G)}function Fv(J,G){B("DeclareVariable",J,G)}function jv(J,G){B("DeclareExportDeclaration",J,G)}function Ov(J,G){B("DeclareExportAllDeclaration",J,G)}function Av(J,G){B("DeclaredPredicate",J,G)}function Cv(J,G){B("ExistsTypeAnnotation",J,G)}function Dv(J,G){B("FunctionTypeAnnotation",J,G)}function Sv(J,G){B("FunctionTypeParam",J,G)}function Iv(J,G){B("GenericTypeAnnotation",J,G)}function Pv(J,G){B("InferredPredicate",J,G)}function fv(J,G){B("InterfaceExtends",J,G)}function Nv(J,G){B("InterfaceDeclaration",J,G)}function Tv(J,G){B("InterfaceTypeAnnotation",J,G)}function wv(J,G){B("IntersectionTypeAnnotation",J,G)}function Lv(J,G){B("MixedTypeAnnotation",J,G)}function kv(J,G){B("EmptyTypeAnnotation",J,G)}function bv(J,G){B("NullableTypeAnnotation",J,G)}function Ev(J,G){B("NumberLiteralTypeAnnotation",J,G)}function vv(J,G){B("NumberTypeAnnotation",J,G)}function gv(J,G){B("ObjectTypeAnnotation",J,G)}function _v(J,G){B("ObjectTypeInternalSlot",J,G)}function uv(J,G){B("ObjectTypeCallProperty",J,G)}function hv(J,G){B("ObjectTypeIndexer",J,G)}function yv(J,G){B("ObjectTypeProperty",J,G)}function xv(J,G){B("ObjectTypeSpreadProperty",J,G)}function mv(J,G){B("OpaqueType",J,G)}function cv(J,G){B("QualifiedTypeIdentifier",J,G)}function lv(J,G){B("StringLiteralTypeAnnotation",J,G)}function iv(J,G){B("StringTypeAnnotation",J,G)}function av(J,G){B("SymbolTypeAnnotation",J,G)}function pv(J,G){B("ThisTypeAnnotation",J,G)}function rv(J,G){B("TupleTypeAnnotation",J,G)}function dv(J,G){B("TypeofTypeAnnotation",J,G)}function sv(J,G){B("TypeAlias",J,G)}function tv(J,G){B("TypeAnnotation",J,G)}function nv(J,G){B("TypeCastExpression",J,G)}function ov(J,G){B("TypeParameter",J,G)}function ev(J,G){B("TypeParameterDeclaration",J,G)}function Jg(J,G){B("TypeParameterInstantiation",J,G)}function Gg(J,G){B("UnionTypeAnnotation",J,G)}function Xg(J,G){B("Variance",J,G)}function Hg(J,G){B("VoidTypeAnnotation",J,G)}function Vg(J,G){B("EnumDeclaration",J,G)}function Zg(J,G){B("EnumBooleanBody",J,G)}function Qg(J,G){B("EnumNumberBody",J,G)}function Yg(J,G){B("EnumStringBody",J,G)}function Wg(J,G){B("EnumSymbolBody",J,G)}function zg(J,G){B("EnumBooleanMember",J,G)}function Kg(J,G){B("EnumNumberMember",J,G)}function Ug(J,G){B("EnumStringMember",J,G)}function Bg(J,G){B("EnumDefaultedMember",J,G)}function Rg(J,G){B("IndexedAccessType",J,G)}function $g(J,G){B("OptionalIndexedAccessType",J,G)}function Mg(J,G){B("JSXAttribute",J,G)}function qg(J,G){B("JSXClosingElement",J,G)}function Fg(J,G){B("JSXElement",J,G)}function jg(J,G){B("JSXEmptyExpression",J,G)}function Og(J,G){B("JSXExpressionContainer",J,G)}function Ag(J,G){B("JSXSpreadChild",J,G)}function Cg(J,G){B("JSXIdentifier",J,G)}function Dg(J,G){B("JSXMemberExpression",J,G)}function Sg(J,G){B("JSXNamespacedName",J,G)}function Ig(J,G){B("JSXOpeningElement",J,G)}function Pg(J,G){B("JSXSpreadAttribute",J,G)}function fg(J,G){B("JSXText",J,G)}function Ng(J,G){B("JSXFragment",J,G)}function Tg(J,G){B("JSXOpeningFragment",J,G)}function wg(J,G){B("JSXClosingFragment",J,G)}function Lg(J,G){B("Noop",J,G)}function kg(J,G){B("Placeholder",J,G)}function bg(J,G){B("V8IntrinsicIdentifier",J,G)}function Eg(J,G){B("ArgumentPlaceholder",J,G)}function vg(J,G){B("BindExpression",J,G)}function gg(J,G){B("ImportAttribute",J,G)}function _g(J,G){B("Decorator",J,G)}function ug(J,G){B("DoExpression",J,G)}function hg(J,G){B("ExportDefaultSpecifier",J,G)}function yg(J,G){B("RecordExpression",J,G)}function xg(J,G){B("TupleExpression",J,G)}function mg(J,G){B("DecimalLiteral",J,G)}function cg(J,G){B("ModuleExpression",J,G)}function lg(J,G){B("TopicReference",J,G)}function ig(J,G){B("PipelineTopicExpression",J,G)}function ag(J,G){B("PipelineBareFunction",J,G)}function pg(J,G){B("PipelinePrimaryTopicReference",J,G)}function rg(J,G){B("TSParameterProperty",J,G)}function dg(J,G){B("TSDeclareFunction",J,G)}function sg(J,G){B("TSDeclareMethod",J,G)}function tg(J,G){B("TSQualifiedName",J,G)}function ng(J,G){B("TSCallSignatureDeclaration",J,G)}function og(J,G){B("TSConstructSignatureDeclaration",J,G)}function eg(J,G){B("TSPropertySignature",J,G)}function J_(J,G){B("TSMethodSignature",J,G)}function G_(J,G){B("TSIndexSignature",J,G)}function X_(J,G){B("TSAnyKeyword",J,G)}function H_(J,G){B("TSBooleanKeyword",J,G)}function V_(J,G){B("TSBigIntKeyword",J,G)}function Z_(J,G){B("TSIntrinsicKeyword",J,G)}function Q_(J,G){B("TSNeverKeyword",J,G)}function Y_(J,G){B("TSNullKeyword",J,G)}function W_(J,G){B("TSNumberKeyword",J,G)}function z_(J,G){B("TSObjectKeyword",J,G)}function K_(J,G){B("TSStringKeyword",J,G)}function U_(J,G){B("TSSymbolKeyword",J,G)}function B_(J,G){B("TSUndefinedKeyword",J,G)}function R_(J,G){B("TSUnknownKeyword",J,G)}function $_(J,G){B("TSVoidKeyword",J,G)}function M_(J,G){B("TSThisType",J,G)}function q_(J,G){B("TSFunctionType",J,G)}function F_(J,G){B("TSConstructorType",J,G)}function j_(J,G){B("TSTypeReference",J,G)}function O_(J,G){B("TSTypePredicate",J,G)}function A_(J,G){B("TSTypeQuery",J,G)}function C_(J,G){B("TSTypeLiteral",J,G)}function D_(J,G){B("TSArrayType",J,G)}function S_(J,G){B("TSTupleType",J,G)}function I_(J,G){B("TSOptionalType",J,G)}function P_(J,G){B("TSRestType",J,G)}function f_(J,G){B("TSNamedTupleMember",J,G)}function N_(J,G){B("TSUnionType",J,G)}function T_(J,G){B("TSIntersectionType",J,G)}function w_(J,G){B("TSConditionalType",J,G)}function L_(J,G){B("TSInferType",J,G)}function k_(J,G){B("TSParenthesizedType",J,G)}function b_(J,G){B("TSTypeOperator",J,G)}function E_(J,G){B("TSIndexedAccessType",J,G)}function v_(J,G){B("TSMappedType",J,G)}function g_(J,G){B("TSLiteralType",J,G)}function __(J,G){B("TSExpressionWithTypeArguments",J,G)}function u_(J,G){B("TSInterfaceDeclaration",J,G)}function h_(J,G){B("TSInterfaceBody",J,G)}function y_(J,G){B("TSTypeAliasDeclaration",J,G)}function x_(J,G){B("TSInstantiationExpression",J,G)}function m_(J,G){B("TSAsExpression",J,G)}function c_(J,G){B("TSSatisfiesExpression",J,G)}function l_(J,G){B("TSTypeAssertion",J,G)}function i_(J,G){B("TSEnumDeclaration",J,G)}function a_(J,G){B("TSEnumMember",J,G)}function p_(J,G){B("TSModuleDeclaration",J,G)}function r_(J,G){B("TSModuleBlock",J,G)}function d_(J,G){B("TSImportType",J,G)}function s_(J,G){B("TSImportEqualsDeclaration",J,G)}function t_(J,G){B("TSExternalModuleReference",J,G)}function n_(J,G){B("TSNonNullExpression",J,G)}function o_(J,G){B("TSExportAssignment",J,G)}function e_(J,G){B("TSNamespaceExportDeclaration",J,G)}function Ju(J,G){B("TSTypeAnnotation",J,G)}function Gu(J,G){B("TSTypeParameterInstantiation",J,G)}function Xu(J,G){B("TSTypeParameterDeclaration",J,G)}function Hu(J,G){B("TSTypeParameter",J,G)}function Vu(J,G){B("Standardized",J,G)}function Zu(J,G){B("Expression",J,G)}function Qu(J,G){B("Binary",J,G)}function Yu(J,G){B("Scopable",J,G)}function Wu(J,G){B("BlockParent",J,G)}function zu(J,G){B("Block",J,G)}function Ku(J,G){B("Statement",J,G)}function Uu(J,G){B("Terminatorless",J,G)}function Bu(J,G){B("CompletionStatement",J,G)}function Ru(J,G){B("Conditional",J,G)}function $u(J,G){B("Loop",J,G)}function Mu(J,G){B("While",J,G)}function qu(J,G){B("ExpressionWrapper",J,G)}function Fu(J,G){B("For",J,G)}function ju(J,G){B("ForXStatement",J,G)}function Ou(J,G){B("Function",J,G)}function Au(J,G){B("FunctionParent",J,G)}function Cu(J,G){B("Pureish",J,G)}function Du(J,G){B("Declaration",J,G)}function Su(J,G){B("PatternLike",J,G)}function Iu(J,G){B("LVal",J,G)}function Pu(J,G){B("TSEntityName",J,G)}function fu(J,G){B("Literal",J,G)}function Nu(J,G){B("Immutable",J,G)}function Tu(J,G){B("UserWhitespacable",J,G)}function wu(J,G){B("Method",J,G)}function Lu(J,G){B("ObjectMember",J,G)}function ku(J,G){B("Property",J,G)}function bu(J,G){B("UnaryLike",J,G)}function Eu(J,G){B("Pattern",J,G)}function vu(J,G){B("Class",J,G)}function gu(J,G){B("ImportOrExportDeclaration",J,G)}function _u(J,G){B("ExportDeclaration",J,G)}function uu(J,G){B("ModuleSpecifier",J,G)}function hu(J,G){B("Accessor",J,G)}function yu(J,G){B("Private",J,G)}function xu(J,G){B("Flow",J,G)}function mu(J,G){B("FlowType",J,G)}function cu(J,G){B("FlowBaseAnnotation",J,G)}function lu(J,G){B("FlowDeclaration",J,G)}function iu(J,G){B("FlowPredicate",J,G)}function au(J,G){B("EnumBody",J,G)}function pu(J,G){B("EnumMember",J,G)}function ru(J,G){B("JSX",J,G)}function du(J,G){B("Miscellaneous",J,G)}function su(J,G){B("TypeScript",J,G)}function tu(J,G){B("TSTypeElement",J,G)}function nu(J,G){B("TSType",J,G)}function ou(J,G){B("TSBaseType",J,G)}function eu(J,G){e0.default("assertNumberLiteral","assertNumericLiteral"),B("NumberLiteral",J,G)}function Jh(J,G){e0.default("assertRegexLiteral","assertRegExpLiteral"),B("RegexLiteral",J,G)}function Gh(J,G){e0.default("assertRestProperty","assertRestElement"),B("RestProperty",J,G)}function Xh(J,G){e0.default("assertSpreadProperty","assertSpreadElement"),B("SpreadProperty",J,G)}function Hh(J,G){e0.default("assertModuleDeclaration","assertImportOrExportDeclaration"),B("ModuleDeclaration",J,G)}Object.defineProperty(V6,"__esModule",{value:!0});V6.assertAccessor=hu;V6.assertAnyTypeAnnotation=Vv;V6.assertArgumentPlaceholder=Eg;V6.assertArrayExpression=Ib;V6.assertArrayPattern=DE;V6.assertArrayTypeAnnotation=Zv;V6.assertArrowFunctionExpression=SE;V6.assertAssignmentExpression=Pb;V6.assertAssignmentPattern=CE;V6.assertAwaitExpression=pE;V6.assertBigIntLiteral=dE;V6.assertBinary=Qu;V6.assertBinaryExpression=fb;V6.assertBindExpression=vg;V6.assertBlock=zu;V6.assertBlockParent=Wu;V6.assertBlockStatement=Lb;V6.assertBooleanLiteral=nb;V6.assertBooleanLiteralTypeAnnotation=Yv;V6.assertBooleanTypeAnnotation=Qv;V6.assertBreakStatement=kb;V6.assertCallExpression=bb;V6.assertCatchClause=Eb;V6.assertClass=vu;V6.assertClassAccessorProperty=eE;V6.assertClassBody=IE;V6.assertClassDeclaration=fE;V6.assertClassExpression=PE;V6.assertClassImplements=zv;V6.assertClassMethod=hE;V6.assertClassPrivateMethod=Gv;V6.assertClassPrivateProperty=Jv;V6.assertClassProperty=oE;V6.assertCompletionStatement=Bu;V6.assertConditional=Ru;V6.assertConditionalExpression=vb;V6.assertContinueStatement=gb;V6.assertDebuggerStatement=_b;V6.assertDecimalLiteral=mg;V6.assertDeclaration=Du;V6.assertDeclareClass=Kv;V6.assertDeclareExportAllDeclaration=Ov;V6.assertDeclareExportDeclaration=jv;V6.assertDeclareFunction=Uv;V6.assertDeclareInterface=Bv;V6.assertDeclareModule=Rv;V6.assertDeclareModuleExports=$v;V6.assertDeclareOpaqueType=qv;V6.assertDeclareTypeAlias=Mv;V6.assertDeclareVariable=Fv;V6.assertDeclaredPredicate=Av;V6.assertDecorator=_g;V6.assertDirective=Tb;V6.assertDirectiveLiteral=wb;V6.assertDoExpression=ug;V6.assertDoWhileStatement=ub;V6.assertEmptyStatement=hb;V6.assertEmptyTypeAnnotation=kv;V6.assertEnumBody=au;V6.assertEnumBooleanBody=Zg;V6.assertEnumBooleanMember=zg;V6.assertEnumDeclaration=Vg;V6.assertEnumDefaultedMember=Bg;V6.assertEnumMember=pu;V6.assertEnumNumberBody=Qg;V6.assertEnumNumberMember=Kg;V6.assertEnumStringBody=Yg;V6.assertEnumStringMember=Ug;V6.assertEnumSymbolBody=Wg;V6.assertExistsTypeAnnotation=Cv;V6.assertExportAllDeclaration=NE;V6.assertExportDeclaration=_u;V6.assertExportDefaultDeclaration=TE;V6.assertExportDefaultSpecifier=hg;V6.assertExportNamedDeclaration=wE;V6.assertExportNamespaceSpecifier=sE;V6.assertExportSpecifier=LE;V6.assertExpression=Zu;V6.assertExpressionStatement=yb;V6.assertExpressionWrapper=qu;V6.assertFile=xb;V6.assertFlow=xu;V6.assertFlowBaseAnnotation=cu;V6.assertFlowDeclaration=lu;V6.assertFlowPredicate=iu;V6.assertFlowType=mu;V6.assertFor=Fu;V6.assertForInStatement=mb;V6.assertForOfStatement=kE;V6.assertForStatement=cb;V6.assertForXStatement=ju;V6.assertFunction=Ou;V6.assertFunctionDeclaration=lb;V6.assertFunctionExpression=ib;V6.assertFunctionParent=Au;V6.assertFunctionTypeAnnotation=Dv;V6.assertFunctionTypeParam=Sv;V6.assertGenericTypeAnnotation=Iv;V6.assertIdentifier=ab;V6.assertIfStatement=pb;V6.assertImmutable=Nu;V6.assertImport=rE;V6.assertImportAttribute=gg;V6.assertImportDeclaration=bE;V6.assertImportDefaultSpecifier=EE;V6.assertImportExpression=_E;V6.assertImportNamespaceSpecifier=vE;V6.assertImportOrExportDeclaration=gu;V6.assertImportSpecifier=gE;V6.assertIndexedAccessType=Rg;V6.assertInferredPredicate=Pv;V6.assertInterfaceDeclaration=Nv;V6.assertInterfaceExtends=fv;V6.assertInterfaceTypeAnnotation=Tv;V6.assertInterpreterDirective=Nb;V6.assertIntersectionTypeAnnotation=wv;V6.assertJSX=ru;V6.assertJSXAttribute=Mg;V6.assertJSXClosingElement=qg;V6.assertJSXClosingFragment=wg;V6.assertJSXElement=Fg;V6.assertJSXEmptyExpression=jg;V6.assertJSXExpressionContainer=Og;V6.assertJSXFragment=Ng;V6.assertJSXIdentifier=Cg;V6.assertJSXMemberExpression=Dg;V6.assertJSXNamespacedName=Sg;V6.assertJSXOpeningElement=Ig;V6.assertJSXOpeningFragment=Tg;V6.assertJSXSpreadAttribute=Pg;V6.assertJSXSpreadChild=Ag;V6.assertJSXText=fg;V6.assertLVal=Iu;V6.assertLabeledStatement=rb;V6.assertLiteral=fu;V6.assertLogicalExpression=eb;V6.assertLoop=$u;V6.assertMemberExpression=JE;V6.assertMetaProperty=uE;V6.assertMethod=wu;V6.assertMiscellaneous=du;V6.assertMixedTypeAnnotation=Lv;V6.assertModuleDeclaration=Hh;V6.assertModuleExpression=cg;V6.assertModuleSpecifier=uu;V6.assertNewExpression=GE;V6.assertNoop=Lg;V6.assertNullLiteral=tb;V6.assertNullLiteralTypeAnnotation=Wv;V6.assertNullableTypeAnnotation=bv;V6.assertNumberLiteral=eu;V6.assertNumberLiteralTypeAnnotation=Ev;V6.assertNumberTypeAnnotation=vv;V6.assertNumericLiteral=sb;V6.assertObjectExpression=HE;V6.assertObjectMember=Lu;V6.assertObjectMethod=VE;V6.assertObjectPattern=yE;V6.assertObjectProperty=ZE;V6.assertObjectTypeAnnotation=gv;V6.assertObjectTypeCallProperty=uv;V6.assertObjectTypeIndexer=hv;V6.assertObjectTypeInternalSlot=_v;V6.assertObjectTypeProperty=yv;V6.assertObjectTypeSpreadProperty=xv;V6.assertOpaqueType=mv;V6.assertOptionalCallExpression=nE;V6.assertOptionalIndexedAccessType=$g;V6.assertOptionalMemberExpression=tE;V6.assertParenthesizedExpression=zE;V6.assertPattern=Eu;V6.assertPatternLike=Su;V6.assertPipelineBareFunction=ag;V6.assertPipelinePrimaryTopicReference=pg;V6.assertPipelineTopicExpression=ig;V6.assertPlaceholder=kg;V6.assertPrivate=yu;V6.assertPrivateName=Xv;V6.assertProgram=XE;V6.assertProperty=ku;V6.assertPureish=Cu;V6.assertQualifiedTypeIdentifier=cv;V6.assertRecordExpression=yg;V6.assertRegExpLiteral=ob;V6.assertRegexLiteral=Jh;V6.assertRestElement=QE;V6.assertRestProperty=Gh;V6.assertReturnStatement=YE;V6.assertScopable=Yu;V6.assertSequenceExpression=WE;V6.assertSpreadElement=xE;V6.assertSpreadProperty=Xh;V6.assertStandardized=Vu;V6.assertStatement=Ku;V6.assertStaticBlock=Hv;V6.assertStringLiteral=db;V6.assertStringLiteralTypeAnnotation=lv;V6.assertStringTypeAnnotation=iv;V6.assertSuper=mE;V6.assertSwitchCase=KE;V6.assertSwitchStatement=UE;V6.assertSymbolTypeAnnotation=av;V6.assertTSAnyKeyword=X_;V6.assertTSArrayType=D_;V6.assertTSAsExpression=m_;V6.assertTSBaseType=ou;V6.assertTSBigIntKeyword=V_;V6.assertTSBooleanKeyword=H_;V6.assertTSCallSignatureDeclaration=ng;V6.assertTSConditionalType=w_;V6.assertTSConstructSignatureDeclaration=og;V6.assertTSConstructorType=F_;V6.assertTSDeclareFunction=dg;V6.assertTSDeclareMethod=sg;V6.assertTSEntityName=Pu;V6.assertTSEnumDeclaration=i_;V6.assertTSEnumMember=a_;V6.assertTSExportAssignment=o_;V6.assertTSExpressionWithTypeArguments=__;V6.assertTSExternalModuleReference=t_;V6.assertTSFunctionType=q_;V6.assertTSImportEqualsDeclaration=s_;V6.assertTSImportType=d_;V6.assertTSIndexSignature=G_;V6.assertTSIndexedAccessType=E_;V6.assertTSInferType=L_;V6.assertTSInstantiationExpression=x_;V6.assertTSInterfaceBody=h_;V6.assertTSInterfaceDeclaration=u_;V6.assertTSIntersectionType=T_;V6.assertTSIntrinsicKeyword=Z_;V6.assertTSLiteralType=g_;V6.assertTSMappedType=v_;V6.assertTSMethodSignature=J_;V6.assertTSModuleBlock=r_;V6.assertTSModuleDeclaration=p_;V6.assertTSNamedTupleMember=f_;V6.assertTSNamespaceExportDeclaration=e_;V6.assertTSNeverKeyword=Q_;V6.assertTSNonNullExpression=n_;V6.assertTSNullKeyword=Y_;V6.assertTSNumberKeyword=W_;V6.assertTSObjectKeyword=z_;V6.assertTSOptionalType=I_;V6.assertTSParameterProperty=rg;V6.assertTSParenthesizedType=k_;V6.assertTSPropertySignature=eg;V6.assertTSQualifiedName=tg;V6.assertTSRestType=P_;V6.assertTSSatisfiesExpression=c_;V6.assertTSStringKeyword=K_;V6.assertTSSymbolKeyword=U_;V6.assertTSThisType=M_;V6.assertTSTupleType=S_;V6.assertTSType=nu;V6.assertTSTypeAliasDeclaration=y_;V6.assertTSTypeAnnotation=Ju;V6.assertTSTypeAssertion=l_;V6.assertTSTypeElement=tu;V6.assertTSTypeLiteral=C_;V6.assertTSTypeOperator=b_;V6.assertTSTypeParameter=Hu;V6.assertTSTypeParameterDeclaration=Xu;V6.assertTSTypeParameterInstantiation=Gu;V6.assertTSTypePredicate=O_;V6.assertTSTypeQuery=A_;V6.assertTSTypeReference=j_;V6.assertTSUndefinedKeyword=B_;V6.assertTSUnionType=N_;V6.assertTSUnknownKeyword=R_;V6.assertTSVoidKeyword=$_;V6.assertTaggedTemplateExpression=cE;V6.assertTemplateElement=lE;V6.assertTemplateLiteral=iE;V6.assertTerminatorless=Uu;V6.assertThisExpression=BE;V6.assertThisTypeAnnotation=pv;V6.assertThrowStatement=RE;V6.assertTopicReference=lg;V6.assertTryStatement=$E;V6.assertTupleExpression=xg;V6.assertTupleTypeAnnotation=rv;V6.assertTypeAlias=sv;V6.assertTypeAnnotation=tv;V6.assertTypeCastExpression=nv;V6.assertTypeParameter=ov;V6.assertTypeParameterDeclaration=ev;V6.assertTypeParameterInstantiation=Jg;V6.assertTypeScript=su;V6.assertTypeofTypeAnnotation=dv;V6.assertUnaryExpression=ME;V6.assertUnaryLike=bu;V6.assertUnionTypeAnnotation=Gg;V6.assertUpdateExpression=qE;V6.assertUserWhitespacable=Tu;V6.assertV8IntrinsicIdentifier=bg;V6.assertVariableDeclaration=FE;V6.assertVariableDeclarator=jE;V6.assertVariance=Xg;V6.assertVoidTypeAnnotation=Hg;V6.assertWhile=Mu;V6.assertWhileStatement=OE;V6.assertWithStatement=AE;V6.assertYieldExpression=aE;var Sb=q0(),e0=l0()});var W6=C((Q6)=>{function hl(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)}Object.defineProperty(Q6,"__esModule",{value:!0});Q6.default=void 0;var K2=l1(),cR1=Q6.default=hl});var T4=C((U6)=>{function z6(J){return J5.isIdentifier(J)?J.name:`${J.id.name}.${z6(J.qualification)}`}function K6(J){const G=Array.from(J),X=new Map,H=new Map,V=new Set,Z=[];for(let Q=0;Q<G.length;Q++){const Y=G[Q];if(!Y)continue;if(Z.includes(Y))continue;if(J5.isAnyTypeAnnotation(Y))return[Y];if(J5.isFlowBaseAnnotation(Y)){H.set(Y.type,Y);continue}if(J5.isUnionTypeAnnotation(Y)){if(!V.has(Y.types))G.push(...Y.types),V.add(Y.types);continue}if(J5.isGenericTypeAnnotation(Y)){const W=z6(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=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}Object.defineProperty(U6,"__esModule",{value:!0});U6.default=K6;var J5=w1()});var R6=C((B6)=>{function cl(J){const G=ml.default(J);if(G.length===1)return G[0];else return xl.unionTypeAnnotation(G)}Object.defineProperty(B6,"__esModule",{value:!0});B6.default=cl;var xl=l1(),ml=T4()});var F6=C((q6)=>{function $6(J){return G5.isIdentifier(J)?J.name:`${J.right.name}.${$6(J.left)}`}function M6(J){const G=Array.from(J),X=new Map,H=new Map,V=new Set,Z=[];for(let Q=0;Q<G.length;Q++){const Y=G[Q];if(!Y)continue;if(Z.includes(Y))continue;if(G5.isTSAnyKeyword(Y))return[Y];if(G5.isTSBaseType(Y)){H.set(Y.type,Y);continue}if(G5.isTSUnionType(Y)){if(!V.has(Y.types))G.push(...Y.types),V.add(Y.types);continue}if(G5.isTSTypeReference(Y)&&Y.typeParameters){const W=$6(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=M6(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}Object.defineProperty(q6,"__esModule",{value:!0});q6.default=M6;var G5=w1()});var O6=C((j6)=>{function dl(J){const G=J.map((H)=>{return rl.isTSTypeAnnotation(H)?H.typeAnnotation:H}),X=pl.default(G);if(X.length===1)return X[0];else return al.tsUnionType(X)}Object.defineProperty(j6,"__esModule",{value:!0});j6.default=dl;var al=l1(),pl=F6(),rl=w1()});var A6=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=l1()});var w4=C((D6)=>{function tl(){return C6.unaryExpression("void",C6.numericLiteral(0),!0)}Object.defineProperty(D6,"__esModule",{value:!0});D6.buildUndefinedNode=tl;var C6=l1()});var y2=C((N6)=>{function P6(J,G,X,H){if(J&&typeof J.type==="string")return f6(J,G,X,H);return J}function L4(J,G,X,H){if(Array.isArray(J))return J.map((V)=>P6(V,G,X,H));return P6(J,G,X,H)}function ol(J,G=!0,X=!1){return f6(J,G,X,new Map)}function f6(J,G=!0,X=!1,H){if(!J)return J;const{type:V}=J,Z={type:J.type};if(I6.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?L4(J.typeAnnotation,!0,X,H):J.typeAnnotation;if(j2(J,"decorators"))Z.decorators=G?L4(J.decorators,!0,X,H):J.decorators}else if(!j2(S6.NODE_FIELDS,V))throw new Error(`Unknown node type: "${V}"`);else for(let Q of Object.keys(S6.NODE_FIELDS[V]))if(j2(J,Q))if(G)Z[Q]=I6.isFile(J)&&Q==="comments"?s5(J.comments,G,X,H):L4(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=s5(J.leadingComments,G,X,H);if(j2(J,"innerComments"))Z.innerComments=s5(J.innerComments,G,X,H);if(j2(J,"trailingComments"))Z.trailingComments=s5(J.trailingComments,G,X,H);if(j2(J,"extra"))Z.extra=Object.assign({},J.extra);return Z}function s5(J,G,X,H){if(!J||!G)return J;return J.map((V)=>{const Z=H.get(V);if(Z)return Z;const{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})}Object.defineProperty(N6,"__esModule",{value:!0});N6.default=ol;var S6=X2(),I6=w1(),{hasOwn:j2}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)}});var w6=C((T6)=>{function Gi(J){return Ji.default(J,!1)}Object.defineProperty(T6,"__esModule",{value:!0});T6.default=Gi;var Ji=y2()});var k6=C((L6)=>{function Vi(J){return Hi.default(J)}Object.defineProperty(L6,"__esModule",{value:!0});L6.default=Vi;var Hi=y2()});var E6=C((b6)=>{function Yi(J){return Qi.default(J,!0,!0)}Object.defineProperty(b6,"__esModule",{value:!0});b6.default=Yi;var Qi=y2()});var g6=C((v6)=>{function Ki(J){return zi.default(J,!1,!0)}Object.defineProperty(v6,"__esModule",{value:!0});v6.default=Ki;var zi=y2()});var k4=C((_6)=>{function Bi(J,G,X){if(!X||!J)return J;const 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}Object.defineProperty(_6,"__esModule",{value:!0});_6.default=Bi});var h6=C((u6)=>{function Mi(J,G,X,H){return $i.default(J,G,[{type:H?"CommentLine":"CommentBlock",value:X}])}Object.defineProperty(u6,"__esModule",{value:!0});u6.default=Mi;var $i=k4()});var t5=C((y6)=>{function Fi(J,G,X){if(G&&X)G[J]=Array.from(new Set([].concat(G[J],X[J]).filter(Boolean)))}Object.defineProperty(y6,"__esModule",{value:!0});y6.default=Fi});var b4=C((x6)=>{function Ai(J,G){Oi.default("innerComments",J,G)}Object.defineProperty(x6,"__esModule",{value:!0});x6.default=Ai;var Oi=t5()});var E4=C((m6)=>{function Si(J,G){Di.default("leadingComments",J,G)}Object.defineProperty(m6,"__esModule",{value:!0});m6.default=Si;var Di=t5()});var v4=C((c6)=>{function fi(J,G){Pi.default("trailingComments",J,G)}Object.defineProperty(c6,"__esModule",{value:!0});c6.default=fi;var Pi=t5()});var g4=C((l6)=>{function ki(J,G){return Ti.default(J,G),wi.default(J,G),Li.default(J,G),J}Object.defineProperty(l6,"__esModule",{value:!0});l6.default=ki;var Ti=v4(),wi=E4(),Li=b4()});var a6=C((i6)=>{function vi(J){return Ei.COMMENT_KEYS.forEach((G)=>{J[G]=null}),J}Object.defineProperty(i6,"__esModule",{value:!0});i6.default=vi;var Ei=u2()});var d6=C((p6)=>{Object.defineProperty(p6,"__esModule",{value:!0});p6.WHILE_TYPES=p6.USERWHITESPACABLE_TYPES=p6.UNARYLIKE_TYPES=p6.TYPESCRIPT_TYPES=p6.TSTYPE_TYPES=p6.TSTYPEELEMENT_TYPES=p6.TSENTITYNAME_TYPES=p6.TSBASETYPE_TYPES=p6.TERMINATORLESS_TYPES=p6.STATEMENT_TYPES=p6.STANDARDIZED_TYPES=p6.SCOPABLE_TYPES=p6.PUREISH_TYPES=p6.PROPERTY_TYPES=p6.PRIVATE_TYPES=p6.PATTERN_TYPES=p6.PATTERNLIKE_TYPES=p6.OBJECTMEMBER_TYPES=p6.MODULESPECIFIER_TYPES=p6.MODULEDECLARATION_TYPES=p6.MISCELLANEOUS_TYPES=p6.METHOD_TYPES=p6.LVAL_TYPES=p6.LOOP_TYPES=p6.LITERAL_TYPES=p6.JSX_TYPES=p6.IMPORTOREXPORTDECLARATION_TYPES=p6.IMMUTABLE_TYPES=p6.FUNCTION_TYPES=p6.FUNCTIONPARENT_TYPES=p6.FOR_TYPES=p6.FORXSTATEMENT_TYPES=p6.FLOW_TYPES=p6.FLOWTYPE_TYPES=p6.FLOWPREDICATE_TYPES=p6.FLOWDECLARATION_TYPES=p6.FLOWBASEANNOTATION_TYPES=p6.EXPRESSION_TYPES=p6.EXPRESSIONWRAPPER_TYPES=p6.EXPORTDECLARATION_TYPES=p6.ENUMMEMBER_TYPES=p6.ENUMBODY_TYPES=p6.DECLARATION_TYPES=p6.CONDITIONAL_TYPES=p6.COMPLETIONSTATEMENT_TYPES=p6.CLASS_TYPES=p6.BLOCK_TYPES=p6.BLOCKPARENT_TYPES=p6.BINARY_TYPES=p6.ACCESSOR_TYPES=void 0;var X1=X2(),z$1=p6.STANDARDIZED_TYPES=X1.FLIPPED_ALIAS_KEYS.Standardized,K$1=p6.EXPRESSION_TYPES=X1.FLIPPED_ALIAS_KEYS.Expression,U$1=p6.BINARY_TYPES=X1.FLIPPED_ALIAS_KEYS.Binary,B$1=p6.SCOPABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.Scopable,R$1=p6.BLOCKPARENT_TYPES=X1.FLIPPED_ALIAS_KEYS.BlockParent,$$1=p6.BLOCK_TYPES=X1.FLIPPED_ALIAS_KEYS.Block,M$1=p6.STATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.Statement,q$1=p6.TERMINATORLESS_TYPES=X1.FLIPPED_ALIAS_KEYS.Terminatorless,F$1=p6.COMPLETIONSTATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.CompletionStatement,j$1=p6.CONDITIONAL_TYPES=X1.FLIPPED_ALIAS_KEYS.Conditional,O$1=p6.LOOP_TYPES=X1.FLIPPED_ALIAS_KEYS.Loop,A$1=p6.WHILE_TYPES=X1.FLIPPED_ALIAS_KEYS.While,C$1=p6.EXPRESSIONWRAPPER_TYPES=X1.FLIPPED_ALIAS_KEYS.ExpressionWrapper,D$1=p6.FOR_TYPES=X1.FLIPPED_ALIAS_KEYS.For,S$1=p6.FORXSTATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.ForXStatement,I$1=p6.FUNCTION_TYPES=X1.FLIPPED_ALIAS_KEYS.Function,P$1=p6.FUNCTIONPARENT_TYPES=X1.FLIPPED_ALIAS_KEYS.FunctionParent,f$1=p6.PUREISH_TYPES=X1.FLIPPED_ALIAS_KEYS.Pureish,N$1=p6.DECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.Declaration,T$1=p6.PATTERNLIKE_TYPES=X1.FLIPPED_ALIAS_KEYS.PatternLike,w$1=p6.LVAL_TYPES=X1.FLIPPED_ALIAS_KEYS.LVal,L$1=p6.TSENTITYNAME_TYPES=X1.FLIPPED_ALIAS_KEYS.TSEntityName,k$1=p6.LITERAL_TYPES=X1.FLIPPED_ALIAS_KEYS.Literal,b$1=p6.IMMUTABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.Immutable,E$1=p6.USERWHITESPACABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.UserWhitespacable,v$1=p6.METHOD_TYPES=X1.FLIPPED_ALIAS_KEYS.Method,g$1=p6.OBJECTMEMBER_TYPES=X1.FLIPPED_ALIAS_KEYS.ObjectMember,_$1=p6.PROPERTY_TYPES=X1.FLIPPED_ALIAS_KEYS.Property,u$1=p6.UNARYLIKE_TYPES=X1.FLIPPED_ALIAS_KEYS.UnaryLike,h$1=p6.PATTERN_TYPES=X1.FLIPPED_ALIAS_KEYS.Pattern,y$1=p6.CLASS_TYPES=X1.FLIPPED_ALIAS_KEYS.Class,_i=p6.IMPORTOREXPORTDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,x$1=p6.EXPORTDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.ExportDeclaration,m$1=p6.MODULESPECIFIER_TYPES=X1.FLIPPED_ALIAS_KEYS.ModuleSpecifier,c$1=p6.ACCESSOR_TYPES=X1.FLIPPED_ALIAS_KEYS.Accessor,l$1=p6.PRIVATE_TYPES=X1.FLIPPED_ALIAS_KEYS.Private,i$1=p6.FLOW_TYPES=X1.FLIPPED_ALIAS_KEYS.Flow,a$1=p6.FLOWTYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowType,p$1=p6.FLOWBASEANNOTATION_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,r$1=p6.FLOWDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowDeclaration,d$1=p6.FLOWPREDICATE_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowPredicate,s$1=p6.ENUMBODY_TYPES=X1.FLIPPED_ALIAS_KEYS.EnumBody,t$1=p6.ENUMMEMBER_TYPES=X1.FLIPPED_ALIAS_KEYS.EnumMember,n$1=p6.JSX_TYPES=X1.FLIPPED_ALIAS_KEYS.JSX,o$1=p6.MISCELLANEOUS_TYPES=X1.FLIPPED_ALIAS_KEYS.Miscellaneous,e$1=p6.TYPESCRIPT_TYPES=X1.FLIPPED_ALIAS_KEYS.TypeScript,JM1=p6.TSTYPEELEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.TSTypeElement,GM1=p6.TSTYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.TSType,XM1=p6.TSBASETYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.TSBaseType,HM1=p6.MODULEDECLARATION_TYPES=_i});var u4=C((s6)=>{function ba(J,G){if(n5.isBlockStatement(J))return J;let X=[];if(n5.isEmptyStatement(J))X=[];else{if(!n5.isStatement(J))if(n5.isFunction(G))J=_4.returnStatement(J);else J=_4.expressionStatement(J);X=[J]}return _4.blockStatement(X)}Object.defineProperty(s6,"__esModule",{value:!0});s6.default=ba;var n5=w1(),_4=l1()});var n6=C((t6)=>{function ga(J,G="body"){const X=va.default(J[G],J);return J[G]=X,X}Object.defineProperty(t6,"__esModule",{value:!0});t6.default=ga;var va=u4()});var h4=C((o6)=>{function ya(J){J=J+"";let G="";for(let X of J)G+=ha.isIdentifierChar(X.codePointAt(0))?X:"-";if(G=G.replace(/^[-0-9]+/,""),G=G.replace(/[-\s]+(.)?/g,function(X,H){return H?H.toUpperCase():""}),!ua.default(G))G=`_${G}`;return G||"_"}Object.defineProperty(o6,"__esModule",{value:!0});o6.default=ya;var ua=F0(),ha=s0()});var J7=C((e6)=>{function ca(J){if(J=ma.default(J),J==="eval"||J==="arguments")J="_"+J;return J}Object.defineProperty(e6,"__esModule",{value:!0});e6.default=ca;var ma=h4()});var X7=C((G7)=>{function pa(J,G=J.key||J.property){if(!J.computed&&ia.isIdentifier(G))G=aa.stringLiteral(G.name);return G}Object.defineProperty(G7,"__esModule",{value:!0});G7.default=pa;var ia=w1(),aa=l1()});var Z7=C((H7)=>{function da(J){if(X5.isExpressionStatement(J))J=J.expression;if(X5.isExpression(J))return J;if(X5.isClass(J))J.type="ClassExpression";else if(X5.isFunction(J))J.type="FunctionExpression";if(!X5.isExpression(J))throw new Error(`cannot turn ${J.type} to an expression`);return J}Object.defineProperty(H7,"__esModule",{value:!0});H7.default=void 0;var X5=w1(),KM1=H7.default=da});var x4=C((Q7)=>{function y4(J,G,X){if(!J)return;const H=sa.VISITOR_KEYS[J.type];if(!H)return;X=X||{},G(J,X);for(let V of H){const Z=J[V];if(Array.isArray(Z))for(let Q of Z)y4(Q,G,X);else y4(Z,G,X)}}Object.defineProperty(Q7,"__esModule",{value:!0});Q7.default=y4;var sa=X2()});var m4=C((W7)=>{function ea(J,G={}){const X=G.preserveComments?Y7:oa;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;const H=Object.getOwnPropertySymbols(J);for(let V of H)J[V]=null}Object.defineProperty(W7,"__esModule",{value:!0});W7.default=ea;var na=u2(),Y7=["tokens","start","end","loc","raw","rawValue"],oa=[...na.COMMENT_KEYS,"comments",...Y7]});var c4=C((z7)=>{function Hp(J,G){return Gp.default(J,Xp.default,G),J}Object.defineProperty(z7,"__esModule",{value:!0});z7.default=Hp;var Gp=x4(),Xp=m4()});var B7=C((U7)=>{function n2(J,G=J.key){let X;if(J.kind==="method")return n2.increment()+"";else if(K7.isIdentifier(G))X=G.name;else if(K7.isStringLiteral(G))X=JSON.stringify(G.value);else X=JSON.stringify(Qp.default(Zp.default(G)));if(J.computed)X=`[${X}]`;if(J.static)X=`static:${X}`;return X}Object.defineProperty(U7,"__esModule",{value:!0});U7.default=n2;var K7=w1(),Zp=y2(),Qp=c4();n2.uid=0;n2.increment=function(){if(n2.uid>=Number.MAX_SAFE_INTEGER)return n2.uid=0;else return n2.uid++}});var M7=C((R7)=>{function zp(J,G){if(o5.isStatement(J))return J;let X=!1,H;if(o5.isClass(J))X=!0,H="ClassDeclaration";else if(o5.isFunction(J))X=!0,H="FunctionDeclaration";else if(o5.isAssignmentExpression(J))return Wp.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}Object.defineProperty(R7,"__esModule",{value:!0});R7.default=void 0;var o5=w1(),Wp=l1(),qM1=R7.default=zp});var j7=C((q7)=>{function Bp(J){return Up(J)==="[object RegExp]"}function Rp(J){if(typeof J!=="object"||J===null||Object.prototype.toString.call(J)!=="[object Object]")return!1;const G=Object.getPrototypeOf(J);return G===null||Object.getPrototypeOf(G)===null}function l4(J){if(J===void 0)return h1.identifier("undefined");if(J===!0||J===!1)return h1.booleanLiteral(J);if(J===null)return h1.nullLiteral();if(typeof J==="string")return h1.stringLiteral(J);if(typeof J==="number"){let G;if(Number.isFinite(J))G=h1.numericLiteral(Math.abs(J));else{let X;if(Number.isNaN(J))X=h1.numericLiteral(0);else X=h1.numericLiteral(1);G=h1.binaryExpression("/",X,h1.numericLiteral(0))}if(J<0||Object.is(J,-0))G=h1.unaryExpression("-",G);return G}if(Bp(J)){const G=J.source,X=/\/([a-z]*)$/.exec(J.toString())[1];return h1.regExpLiteral(G,X)}if(Array.isArray(J))return h1.arrayExpression(J.map(l4));if(Rp(J)){const G=[];for(let X of Object.keys(J)){let H;if(Kp.default(X))H=h1.identifier(X);else H=h1.stringLiteral(X);G.push(h1.objectProperty(H,l4(J[X])))}return h1.objectExpression(G)}throw new Error("don't know how to turn this value into a node")}Object.defineProperty(q7,"__esModule",{value:!0});q7.default=void 0;var Kp=F0(),h1=l1(),jM1=q7.default=l4,Up=Function.call.bind(Object.prototype.toString)});var A7=C((O7)=>{function Mp(J,G,X=!1){return J.object=$p.memberExpression(J.object,J.property,J.computed),J.property=G,J.computed=!!X,J}Object.defineProperty(O7,"__esModule",{value:!0});O7.default=Mp;var $p=l1()});var S7=C((D7)=>{function jp(J,G){if(!J||!G)return J;for(let X of C7.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 C7.INHERIT_KEYS.force)J[X]=G[X];return Fp.default(J,G),J}Object.defineProperty(D7,"__esModule",{value:!0});D7.default=jp;var C7=u2(),Fp=g4()});var P7=C((I7)=>{function Dp(J,G){if(Cp.isSuper(J.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return J.object=Ap.memberExpression(G,J.object),J}Object.defineProperty(I7,"__esModule",{value:!0});I7.default=Dp;var Ap=l1(),Cp=W1()});var N7=C((f7)=>{function Ip(J){const G=[].concat(J),X=Object.create(null);while(G.length){const 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}Object.defineProperty(f7,"__esModule",{value:!0});f7.default=Ip});var H5=C((T7)=>{function i4(J,G,X,H){const V=[].concat(J),Z=Object.create(null);while(V.length){const 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}const Y=i4.keys[Q.type];if(Y)for(let W=0;W<Y.length;W++){const z=Y[W],U=Q[z];if(U)if(Array.isArray(U))V.push(...U);else V.push(U)}}return Z}Object.defineProperty(T7,"__esModule",{value:!0});T7.default=i4;var I2=w1(),fp={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"]};i4.keys=fp});var k7=C((w7)=>{function wp(J,G){return Tp.default(J,G,!0)}Object.defineProperty(w7,"__esModule",{value:!0});w7.default=void 0;var Tp=H5(),PM1=w7.default=wp});var v7=C((E7)=>{function Lp(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 b7(J){if(!J.computed||H2.isLiteral(J.key))return J.key}function kp(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=b7(G);else if(H2.isObjectMethod(J)||H2.isClassMethod(J)){if(H=b7(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;const V=H2.isLiteral(H)?Lp(H):H2.isIdentifier(H)?H.name:H2.isPrivateName(H)?H.id.name:null;if(V==null)return null;return{name:X+V,originalNode:H}}Object.defineProperty(E7,"__esModule",{value:!0});E7.default=kp;var H2=w1()});var _7=C((g7)=>{function vp(J,G,X){if(typeof G==="function")G={enter:G};const{enter:H,exit:V}=G;a4(J,H,V,X,[])}function a4(J,G,X,H,V){const Z=Ep.VISITOR_KEYS[J.type];if(!Z)return;if(G)G(J,V,H);for(let Q of Z){const Y=J[Q];if(Array.isArray(Y))for(let W=0;W<Y.length;W++){const z=Y[W];if(!z)continue;V.push({node:J,key:Q,index:W}),a4(z,G,X,H,V),V.pop()}else if(Y)V.push({node:J,key:Q}),a4(Y,G,X,H,V),V.pop()}if(X)X(J,V,H)}Object.defineProperty(g7,"__esModule",{value:!0});g7.default=vp;var Ep=X2()});var h7=C((u7)=>{function up(J,G,X){if(X&&J.type==="Identifier"&&G.type==="ObjectProperty"&&X.type==="ObjectExpression")return!1;const H=_p.default.keys[G.type];if(H)for(let V=0;V<H.length;V++){const Z=H[V],Q=G[Z];if(Array.isArray(Q)){if(Q.includes(J))return!0}else if(Q===J)return!0}return!1}Object.defineProperty(u7,"__esModule",{value:!0});u7.default=up;var _p=H5()});var p4=C((y7)=>{function mp(J){return yp.isVariableDeclaration(J)&&(J.kind!=="var"||J[xp.BLOCK_SCOPED_SYMBOL])}Object.defineProperty(y7,"__esModule",{value:!0});y7.default=mp;var yp=w1(),xp=u2()});var c7=C((m7)=>{function ip(J){return x7.isFunctionDeclaration(J)||x7.isClassDeclaration(J)||lp.default(J)}Object.defineProperty(m7,"__esModule",{value:!0});m7.default=ip;var x7=w1(),lp=p4()});var i7=C((l7)=>{function dp(J){if(pp.default(J.type,"Immutable"))return!0;if(rp.isIdentifier(J))if(J.name==="undefined")return!0;else return!1;return!1}Object.defineProperty(l7,"__esModule",{value:!0});l7.default=dp;var pp=y5(),rp=w1()});var r7=C((p7)=>{function r4(J,G){if(typeof J!=="object"||typeof G!=="object"||J==null||G==null)return J===G;if(J.type!==G.type)return!1;const X=Object.keys(a7.NODE_FIELDS[J.type]||J.type),H=a7.VISITOR_KEYS[J.type];for(let V of X){const 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(!r4(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(!r4(Z,Q))return!1}return!0}Object.defineProperty(p7,"__esModule",{value:!0});p7.default=r4;var a7=X2()});var s7=C((d7)=>{function np(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}Object.defineProperty(d7,"__esModule",{value:!0});d7.default=np});var n7=C((t7)=>{function ep(J,G){if(o2.isBlockStatement(J)&&(o2.isFunction(G)||o2.isCatchClause(G)))return!1;if(o2.isPattern(J)&&(o2.isFunction(G)||o2.isCatchClause(G)))return!0;return o2.isScopable(J)}Object.defineProperty(t7,"__esModule",{value:!0});t7.default=ep;var o2=w1()});var JH=C((e7)=>{function Gr(J){return o7.isImportDefaultSpecifier(J)||o7.isIdentifier(J.imported||J.exported,{name:"default"})}Object.defineProperty(e7,"__esModule",{value:!0});e7.default=Gr;var o7=w1()});var XH=C((GH)=>{function Zr(J){return Hr.default(J)&&!Vr.has(J)}Object.defineProperty(GH,"__esModule",{value:!0});GH.default=Zr;var Hr=F0(),Vr=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"])});var VH=C((HH)=>{function zr(J){return Yr.isVariableDeclaration(J,{kind:"var"})&&!J[Wr.BLOCK_SCOPED_SYMBOL]}Object.defineProperty(HH,"__esModule",{value:!0});HH.default=zr;var Yr=w1(),Wr=u2()});var QH=C((ZH)=>{function e5(J,G){const X=[];let H=!0;for(let V of J){if(!e2.isEmptyStatement(V))H=!1;if(e2.isExpression(V))X.push(V);else if(e2.isExpressionStatement(V))X.push(V.expression);else if(e2.isVariableDeclaration(V)){if(V.kind!=="var")return;for(let Z of V.declarations){const Q=Ur.default(Z);for(let Y of Object.keys(Q))G.push({kind:V.kind,id:Br.default(Q[Y])});if(Z.init)X.push(d4.assignmentExpression("=",Z.id,Z.init))}H=!0}else if(e2.isIfStatement(V)){const Z=V.consequent?e5([V.consequent],G):s4.buildUndefinedNode(),Q=V.alternate?e5([V.alternate],G):s4.buildUndefinedNode();if(!Z||!Q)return;X.push(d4.conditionalExpression(V.test,Z,Q))}else if(e2.isBlockStatement(V)){const Z=e5(V.body,G);if(!Z)return;X.push(Z)}else if(e2.isEmptyStatement(V)){if(J.indexOf(V)===0)H=!0}else return}if(H)X.push(s4.buildUndefinedNode());if(X.length===1)return X[0];else return d4.sequenceExpression(X)}Object.defineProperty(ZH,"__esModule",{value:!0});ZH.default=e5;var Ur=H5(),e2=w1(),d4=l1(),s4=w4(),Br=y2()});var WH=C((YH)=>{function Mr(J,G){if(!(J!=null&&J.length))return;const X=[],H=$r.default(J,X);if(!H)return;for(let V of X)G.push(V);return H}Object.defineProperty(YH,"__esModule",{value:!0});YH.default=Mr;var $r=QH()});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 Ad.default}});Object.defineProperty(v,"addComment",{enumerable:!0,get:function(){return Tr.default}});Object.defineProperty(v,"addComments",{enumerable:!0,get:function(){return wr.default}});Object.defineProperty(v,"appendToMemberExpression",{enumerable:!0,get:function(){return ir.default}});Object.defineProperty(v,"assertNode",{enumerable:!0,get:function(){return Ar.default}});Object.defineProperty(v,"buildMatchMemberExpression",{enumerable:!0,get:function(){return Od.default}});Object.defineProperty(v,"clone",{enumerable:!0,get:function(){return Ir.default}});Object.defineProperty(v,"cloneDeep",{enumerable:!0,get:function(){return Pr.default}});Object.defineProperty(v,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return fr.default}});Object.defineProperty(v,"cloneNode",{enumerable:!0,get:function(){return Sr.default}});Object.defineProperty(v,"cloneWithoutLoc",{enumerable:!0,get:function(){return Nr.default}});Object.defineProperty(v,"createFlowUnionType",{enumerable:!0,get:function(){return zH.default}});Object.defineProperty(v,"createTSUnionType",{enumerable:!0,get:function(){return Dr.default}});Object.defineProperty(v,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return Cr.default}});Object.defineProperty(v,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return zH.default}});Object.defineProperty(v,"ensureBlock",{enumerable:!0,get:function(){return gr.default}});Object.defineProperty(v,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return tr.default}});Object.defineProperty(v,"getBindingIdentifiers",{enumerable:!0,get:function(){return nr.default}});Object.defineProperty(v,"getFunctionName",{enumerable:!0,get:function(){return er.default}});Object.defineProperty(v,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return or.default}});Object.defineProperty(v,"inheritInnerComments",{enumerable:!0,get:function(){return Lr.default}});Object.defineProperty(v,"inheritLeadingComments",{enumerable:!0,get:function(){return kr.default}});Object.defineProperty(v,"inheritTrailingComments",{enumerable:!0,get:function(){return Er.default}});Object.defineProperty(v,"inherits",{enumerable:!0,get:function(){return ar.default}});Object.defineProperty(v,"inheritsComments",{enumerable:!0,get:function(){return br.default}});Object.defineProperty(v,"is",{enumerable:!0,get:function(){return Xd.default}});Object.defineProperty(v,"isBinding",{enumerable:!0,get:function(){return Hd.default}});Object.defineProperty(v,"isBlockScoped",{enumerable:!0,get:function(){return Vd.default}});Object.defineProperty(v,"isImmutable",{enumerable:!0,get:function(){return Zd.default}});Object.defineProperty(v,"isLet",{enumerable:!0,get:function(){return Qd.default}});Object.defineProperty(v,"isNode",{enumerable:!0,get:function(){return Yd.default}});Object.defineProperty(v,"isNodesEquivalent",{enumerable:!0,get:function(){return Wd.default}});Object.defineProperty(v,"isPlaceholderType",{enumerable:!0,get:function(){return zd.default}});Object.defineProperty(v,"isReferenced",{enumerable:!0,get:function(){return Kd.default}});Object.defineProperty(v,"isScope",{enumerable:!0,get:function(){return Ud.default}});Object.defineProperty(v,"isSpecifierDefault",{enumerable:!0,get:function(){return Bd.default}});Object.defineProperty(v,"isType",{enumerable:!0,get:function(){return Rd.default}});Object.defineProperty(v,"isValidES3Identifier",{enumerable:!0,get:function(){return $d.default}});Object.defineProperty(v,"isValidIdentifier",{enumerable:!0,get:function(){return Md.default}});Object.defineProperty(v,"isVar",{enumerable:!0,get:function(){return qd.default}});Object.defineProperty(v,"matchesPattern",{enumerable:!0,get:function(){return Fd.default}});Object.defineProperty(v,"prependToMemberExpression",{enumerable:!0,get:function(){return pr.default}});v.react=void 0;Object.defineProperty(v,"removeComments",{enumerable:!0,get:function(){return vr.default}});Object.defineProperty(v,"removeProperties",{enumerable:!0,get:function(){return rr.default}});Object.defineProperty(v,"removePropertiesDeep",{enumerable:!0,get:function(){return dr.default}});Object.defineProperty(v,"removeTypeDuplicates",{enumerable:!0,get:function(){return sr.default}});Object.defineProperty(v,"shallowEqual",{enumerable:!0,get:function(){return Gd.default}});Object.defineProperty(v,"toBindingIdentifierName",{enumerable:!0,get:function(){return _r.default}});Object.defineProperty(v,"toBlock",{enumerable:!0,get:function(){return ur.default}});Object.defineProperty(v,"toComputedKey",{enumerable:!0,get:function(){return hr.default}});Object.defineProperty(v,"toExpression",{enumerable:!0,get:function(){return yr.default}});Object.defineProperty(v,"toIdentifier",{enumerable:!0,get:function(){return xr.default}});Object.defineProperty(v,"toKeyAlias",{enumerable:!0,get:function(){return mr.default}});Object.defineProperty(v,"toStatement",{enumerable:!0,get:function(){return cr.default}});Object.defineProperty(v,"traverse",{enumerable:!0,get:function(){return J9.default}});Object.defineProperty(v,"traverseFast",{enumerable:!0,get:function(){return Jd.default}});Object.defineProperty(v,"validate",{enumerable:!0,get:function(){return jd.default}});Object.defineProperty(v,"valueToNode",{enumerable:!0,get:function(){return lr.default}});var Fr=hG(),jr=xG(),Or=J6(),Ar=H6(),t4=Z6();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 Cr=W6(),zH=R6(),Dr=O6(),n4=l1();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 o4=A6();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=w4();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 Sr=y2(),Ir=w6(),Pr=k6(),fr=E6(),Nr=g6(),Tr=h6(),wr=k4(),Lr=b4(),kr=E4(),br=g4(),Er=v4(),vr=a6(),J8=d6();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 G8=u2();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 gr=n6(),_r=J7(),ur=u4(),hr=X7(),yr=Z7(),xr=h4(),mr=B7(),cr=M7(),lr=j7(),X8=X2();Object.keys(X8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===X8[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return X8[J]}})});var ir=A7(),ar=S7(),pr=P7(),rr=m4(),dr=c4(),sr=T4(),tr=N7(),nr=H5(),or=k7(),er=v7(),J9=_7();Object.keys(J9).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===J9[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return J9[J]}})});var Jd=x4(),Gd=h5(),Xd=q0(),Hd=h7(),Vd=c7(),Zd=i7(),Qd=p4(),Yd=N4(),Wd=r7(),zd=Y4(),Kd=s7(),Ud=n7(),Bd=JH(),Rd=y5(),$d=XH(),Md=F0(),qd=VH(),Fd=Z4(),jd=i5(),Od=Q4(),H8=w1();Object.keys(H8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===H8[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return H8[J]}})});var Ad=l0(),mM1=v.react={isReactComponent:Fr.default,isCompatTag:jr.default,buildChildren:Or.default};v.toSequenceExpression=WH().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 FH=C((MH)=>{function A0(J,G){if(!J)return G;if(V8(J)||Td(J)){if(A0(J.object,G),J.computed)A0(J.property,G)}else if(RH(J)||BH(J))A0(J.left,G),A0(J.right,G);else if($H(J)||Nd(J))G.hasCall=!0,A0(J.callee,G);else if(V5(J))G.hasFunction=!0;else if(G9(J))G.hasHelper=G.hasHelper||J.callee&&f2(J.callee);return G}function UH(J){return A0(J,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function f2(J){if(!J)return!1;if(V8(J))return f2(J.object)||f2(J.property);else if(G9(J))return J.name==="require"||J.name.charCodeAt(0)===95;else if($H(J))return f2(J.callee);else if(RH(J)||BH(J))return G9(J.left)&&f2(J.left)||f2(J.right);else return!1}function Ld(J){return Pd(J)||fd(J)||Sd(J)||G9(J)||V8(J)}Object.defineProperty(MH,"__esModule",{value:!0});MH.nodes=void 0;var Cd=W1(),{FLIPPED_ALIAS_KEYS:Dd,isArrayExpression:Sd,isAssignmentExpression:BH,isBinary:RH,isBlockStatement:Id,isCallExpression:$H,isFunction:V5,isIdentifier:G9,isLiteral:Pd,isMemberExpression:V8,isObjectExpression:fd,isOptionalCallExpression:Nd,isOptionalMemberExpression:Td,isStringLiteral:wd}=Cd,J0=MH.nodes={AssignmentExpression(J){const G=UH(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(V5(J.left)||V5(J.right))return 2},Literal(J){if(wd(J)&&J.value==="use strict")return 2},CallExpression(J){if(V5(J.callee)||f2(J))return 3},OptionalCallExpression(J){if(V5(J.callee))return 3},VariableDeclaration(J){for(let G=0;G<J.declarations.length;G++){const X=J.declarations[G];let H=f2(X.id)&&!Ld(X.init);if(!H&&X.init){const V=UH(X.init);H=f2(X.init)&&V.hasCall||V.hasFunction}if(H)return 3}},IfStatement(J){if(Id(J.consequent))return 3}};J0.ObjectProperty=J0.ObjectTypeProperty=J0.ObjectMethod=function(J,G){if(G.properties[0]===J)return 1};J0.ObjectTypeCallProperty=function(J,G){var X;if(G.callProperties[0]===J&&!((X=G.properties)!=null&&X.length))return 1};J0.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};J0.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(Dd[J]||[]).forEach(function(X){const H=G?3:0;J0[X]=()=>H})})});var fH=C((PH)=>{function OH(J,G){if(G==="BinaryExpression"||G==="LogicalExpression")return jH.get(J.operator);if(G==="TSAsExpression"||G==="TSSatisfiesExpression")return jH.get("in")}function Z8(J){return J==="TSAsExpression"||J==="TSSatisfiesExpression"||J==="TSTypeAssertion"}function md(J,G){return bd(G)}function cd(J,G,X){const H=G.type;return H==="UnionTypeAnnotation"||H==="IntersectionTypeAnnotation"||H==="ArrayTypeAnnotation"||Boolean(X&V2.TokenContext.arrowFlowReturnType)}function ld(J,G){return H9(J,G)||X9(J,G)}function CH(J){return Boolean(J&(V2.TokenContext.expressionStatement|V2.TokenContext.arrowBody))}function id(J,G,X){return CH(X)}function ad(J,G,X){return!J.async&&Boolean(X&V2.TokenContext.expressionStatement)}function DH(J,G){const X=G.type;if(J.type==="BinaryExpression"&&J.operator==="**"&&X==="BinaryExpression"&&G.operator==="**")return G.left===J;if(X9(J,G))return!0;if(H9(J,G)||X==="UnaryExpression"||X==="SpreadElement"||X==="AwaitExpression")return!0;const H=OH(G,X);if(H!=null){const V=OH(J,J.type);if(H===V&&X==="BinaryExpression"&&G.right===J||H>V)return!0}return}function pd(J,G){const X=G.type;return X==="ArrayTypeAnnotation"||X==="NullableTypeAnnotation"||X==="IntersectionTypeAnnotation"||X==="UnionTypeAnnotation"}function rd(J,G){return _d(G)&&G.objectType===J}function dd(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 DH(J,G)}function sd(J,G){const X=G.type;return X==="TSArrayType"||X==="TSOptionalType"||X==="TSIntersectionType"||X==="TSRestType"}function td(J,G){const X=G.type;return X==="TSArrayType"||X==="TSOptionalType"}function nd(J,G){const X=G.type;return(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression"||X==="TSInstantiationExpression")&&!!G.typeParameters}function od(J,G,X,H){return J.operator==="in"&&H}function ed(J,G){const 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!xd(G)}function Js(J,G){const X=G.type;return X==="BinaryExpression"||X==="LogicalExpression"||X==="UnaryExpression"||X==="SpreadElement"||H9(J,G)||X==="AwaitExpression"&&yd(J)||X==="ConditionalExpression"&&J===G.test||X9(J,G)||Z8(X)}function Gs(J,G,X){return Boolean(X&(V2.TokenContext.expressionStatement|V2.TokenContext.exportDefault))}function SH(J,G){return H9(J,G)||Ed(G)&&G.operator==="**"&&G.left===J||X9(J,G)}function Xs(J,G,X){return Boolean(X&(V2.TokenContext.expressionStatement|V2.TokenContext.exportDefault))}function IH(J,G){const X=G.type;if(X==="UnaryExpression"||X==="SpreadElement"||X==="BinaryExpression"||X==="LogicalExpression"||X==="ConditionalExpression"&&G.test===J||X==="AwaitExpression"||Z8(X))return!0;return SH(J,G)}function Hs(J,G){return vd(G)&&G.callee===J||AH(G)&&G.object===J}function Vs(J,G,X){if(CH(X)&&ud(J.left))return!0;else return IH(J,G)}function Zs(J,G){const X=G.type;if(Z8(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 Qs(J,G,X){var H;const V=G.type;if((H=J.extra)!=null&&H.parenthesized&&V==="AssignmentExpression"&&G.left===J){const Z=G.right.type;if((Z==="FunctionExpression"||Z==="ClassExpression")&&G.right.id==null)return!0}if(J.name==="let"){if((AH(G,{object:J,computed:!0})||hd(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"&&gd(G,{left:J,await:!1})}Object.defineProperty(PH,"__esModule",{value:!0});PH.AssignmentExpression=Vs;PH.Binary=DH;PH.BinaryExpression=od;PH.ClassExpression=Gs;PH.ArrowFunctionExpression=PH.ConditionalExpression=IH;PH.DoExpression=ad;PH.FunctionExpression=Xs;PH.FunctionTypeAnnotation=cd;PH.Identifier=Qs;PH.LogicalExpression=Zs;PH.NullableTypeAnnotation=md;PH.ObjectExpression=id;PH.OptionalIndexedAccessType=rd;PH.OptionalCallExpression=PH.OptionalMemberExpression=Hs;PH.SequenceExpression=ed;PH.TSSatisfiesExpression=PH.TSAsExpression=dd;PH.TSInferType=td;PH.TSInstantiationExpression=nd;PH.UnaryLike=PH.TSTypeAssertion=SH;PH.TSIntersectionType=PH.TSUnionType=sd;PH.IntersectionTypeAnnotation=PH.UnionTypeAnnotation=pd;PH.UpdateExpression=ld;PH.AwaitExpression=PH.YieldExpression=Js;var kd=W1(),V2=x2(),{isArrayTypeAnnotation:bd,isBinaryExpression:Ed,isCallExpression:vd,isForOfStatement:gd,isIndexedAccessType:_d,isMemberExpression:AH,isObjectPattern:ud,isOptionalMemberExpression:hd,isYieldExpression:yd,isStatement:xd}=kd,jH=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]]),X9=(J,G)=>{const X=G.type;return(X==="ClassDeclaration"||X==="ClassExpression")&&G.superClass===J},H9=(J,G)=>{const 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"}});var x2=C((LH)=>{function TH(J){const G=new Map;function X(H,V){const 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)){const V=Es[H];if(V)for(let Z of V)X(Z,J[H]);else X(H,J[H])}return G}function wH(J){if(NH(J))return!0;return us(J)&&wH(J.object)}function Y8(J,G,X){var H;if(!J)return!1;if(_s(J))J=J.expression;const V=(H=ms.get(J.type))==null?void 0:H(J,G);if(typeof V==="number")return(V&X)!==0;return!1}function cs(J,G){return Y8(J,G,1)}function ls(J,G){return Y8(J,G,2)}function is(J,G,X,H){var V;if(!G)return!1;if(hs(G)&&G.callee===J){if(wH(J))return!0}if(gs(G))return!Q8(J)&&!(NH(J)&&Q8(J.callee))&&!ys(J);return(V=xs.get(J.type))==null?void 0:V(J,G,X,H)}function Q8(J){switch(J.type){case"Identifier":return!0;case"MemberExpression":return!J.computed&&J.property.type==="Identifier"&&Q8(J.object);default:return!1}}function as(J,G){const X=vs[J.type];for(let H=X.length-1;H>=0;H--){const 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}Object.defineProperty(LH,"__esModule",{value:!0});LH.TokenContext=void 0;LH.isLastChild=as;LH.needsParens=is;LH.needsWhitespace=Y8;LH.needsWhitespaceAfter=ls;LH.needsWhitespaceBefore=cs;var Ls=FH(),ks=fH(),bs=W1(),{FLIPPED_ALIAS_KEYS:Es,VISITOR_KEYS:vs,isCallExpression:NH,isDecorator:gs,isExpressionStatement:_s,isMemberExpression:us,isNewExpression:hs,isParenthesizedExpression:ys}=bs,eM1=LH.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64},xs=TH(ks),ms=TH(Ls.nodes)});var EH=C((bH)=>{function ns(J){this.print(J.tag),this.print(J.typeParameters),this.print(J.quasi)}function os(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function es(J){const G=J.quasis;let 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)}Object.defineProperty(bH,"__esModule",{value:!0});bH.TaggedTemplateExpression=ns;bH.TemplateElement=os;bH.TemplateLiteral=es});var _H=C((gH)=>{function Wt(J){const{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 Kt(J){this.tokenChar(40);const G=this.enterDelimited();this.print(J.expression),G(),this.rightParens(J)}function Ut(J){if(J.prefix)this.token(J.operator),this.print(J.argument);else this.print(J.argument,!0),this.token(J.operator)}function Bt(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 Rt(J,G){if(this.word("new"),this.space(),this.print(J.callee),this.format.minified&&J.arguments.length===0&&!J.optional&&!Zt(G,{callee:J})&&!W8(G)&&!Qt(G))return;if(this.print(J.typeArguments),this.print(J.typeParameters),J.optional)this.token("?.");this.tokenChar(40);const X=this.enterDelimited();this.printList(J.arguments),X(),this.rightParens(J)}function $t(J){this.printList(J.expressions)}function Mt(){this.word("this")}function qt(){this.word("super")}function Ft(J){if(typeof this.format.decoratorsBeforeExport==="boolean")return this.format.decoratorsBeforeExport;return typeof J.start==="number"&&J.start===J.declaration.start}function jt(J){this.tokenChar(64),this.print(J.expression),this.newline()}function Ot(J){let{computed:G}=J;const{optional:X,property:H}=J;if(this.print(J.object),!G&&W8(H))throw new TypeError("Got a MemberExpression for MemberExpression property");if(vH(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 At(J){if(this.print(J.callee),this.print(J.typeParameters),J.optional)this.token("?.");this.print(J.typeArguments),this.tokenChar(40);const G=this.enterDelimited();this.printList(J.arguments),G(),this.rightParens(J)}function Ct(J){this.print(J.callee),this.print(J.typeArguments),this.print(J.typeParameters),this.tokenChar(40);const G=this.enterDelimited();this.printList(J.arguments),G(),this.rightParens(J)}function Dt(){this.word("import")}function St(J){if(this.word("await"),J.argument)this.space(),this.printTerminatorless(J.argument)}function It(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 Pt(){this.semicolon(!0)}function ft(J){this.tokenContext|=Vt.TokenContext.expressionStatement,this.print(J.expression),this.semicolon()}function Nt(J){if(this.print(J.left),J.left.type==="Identifier"||Yt(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 Tt(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 wt(J){this.print(J.object),this.token("::"),this.print(J.callee)}function Lt(J){if(this.print(J.object),!J.computed&&W8(J.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let G=J.computed;if(vH(J.property)&&typeof J.property.value==="number")G=!0;if(G){const X=this.enterDelimited();this.tokenChar(91),this.print(J.property),this.tokenChar(93),X()}else this.tokenChar(46),this.print(J.property)}function kt(J){this.print(J.meta),this.tokenChar(46),this.print(J.property)}function bt(J){this.tokenChar(35),this.print(J.id)}function Et(J){this.tokenChar(37),this.word(J.name)}function vt(J){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:G}=J;if(G.body.length||G.directives.length)this.newline();this.print(G),this.dedent(),this.rightBrace(J)}Object.defineProperty(gH,"__esModule",{value:!0});gH.LogicalExpression=gH.BinaryExpression=gH.AssignmentExpression=Tt;gH.AssignmentPattern=Nt;gH.AwaitExpression=St;gH.BindExpression=wt;gH.CallExpression=Ct;gH.ConditionalExpression=Bt;gH.Decorator=jt;gH.DoExpression=zt;gH.EmptyStatement=Pt;gH.ExpressionStatement=ft;gH.Import=Dt;gH.MemberExpression=Lt;gH.MetaProperty=kt;gH.ModuleExpression=vt;gH.NewExpression=Rt;gH.OptionalCallExpression=At;gH.OptionalMemberExpression=Ot;gH.ParenthesizedExpression=Kt;gH.PrivateName=bt;gH.SequenceExpression=$t;gH.Super=qt;gH.ThisExpression=Mt;gH.UnaryExpression=Wt;gH.UpdateExpression=Ut;gH.V8IntrinsicIdentifier=Et;gH.YieldExpression=It;gH._shouldPrintDecoratorsBeforeExport=Ft;var Ht=W1(),Vt=x2(),{isCallExpression:Zt,isLiteral:vH,isMemberExpression:W8,isNewExpression:Qt,isPattern:Yt}=Ht});var cH=C((xH)=>{function Bn(J){this.word("with"),this.space(),this.tokenChar(40),this.print(J.object),this.tokenChar(41),this.printBlock(J)}function Rn(J){this.word("if"),this.space(),this.tokenChar(40),this.print(J.test),this.tokenChar(41),this.space();const G=J.alternate&&Kn(hH(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 hH(J){const{body:G}=J;if(Un(G)===!1)return J;return hH(G)}function $n(J){this.word("for"),this.space(),this.tokenChar(40);{const G=this.enterForStatementInit();this.tokenContext|=z8.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 Mn(J){this.word("while"),this.space(),this.tokenChar(40),this.print(J.test),this.tokenChar(41),this.printBlock(J)}function yH(J){this.word("for"),this.space();const G=J.type==="ForOfStatement";if(G&&J.await)this.word("await"),this.space();this.noIndentInnerCommentsHere(),this.tokenChar(40);{const X=G?null:this.enterForStatementInit();this.tokenContext|=G?z8.TokenContext.forOfHead:z8.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)}function qn(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 V9(J,G){if(G)J.space(),J.printTerminatorless(G);J.semicolon()}function Fn(J){this.word("break"),V9(this,J.label)}function jn(J){this.word("continue"),V9(this,J.label)}function On(J){this.word("return"),V9(this,J.argument)}function An(J){this.word("throw"),V9(this,J.argument)}function Cn(J){this.print(J.label),this.tokenChar(58),this.space(),this.print(J.body)}function Dn(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 Sn(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 In(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 Pn(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 fn(){this.word("debugger"),this.semicolon()}function Nn(J,G){if(J.declare)this.word("declare"),this.space();const{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(!uH(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}),uH(G)){if(zn(G)){if(G.init===J)return}else if(G.left===J)return}this.semicolon()}function Tn(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)}Object.defineProperty(xH,"__esModule",{value:!0});xH.BreakStatement=Fn;xH.CatchClause=Sn;xH.ContinueStatement=jn;xH.DebuggerStatement=fn;xH.DoWhileStatement=qn;xH.ForOfStatement=xH.ForInStatement=void 0;xH.ForStatement=$n;xH.IfStatement=Rn;xH.LabeledStatement=Cn;xH.ReturnStatement=On;xH.SwitchCase=Pn;xH.SwitchStatement=In;xH.ThrowStatement=An;xH.TryStatement=Dn;xH.VariableDeclaration=Nn;xH.VariableDeclarator=Tn;xH.WhileStatement=Mn;xH.WithStatement=Bn;var Wn=W1(),z8=x2(),{isFor:uH,isForStatement:zn,isIfStatement:Kn,isStatement:Un}=Wn,Zq1=xH.ForInStatement=yH,Qq1=xH.ForOfStatement=yH});var iH=C((lH)=>{function nn(J,G){if(!(sn(G)||tn(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 on(J){if(this.tokenChar(123),J.body.length===0)this.tokenChar(125);else{this.newline();const G=this.enterDelimited();if(this.printSequence(J.body,{indent:!0}),G(),!this.endsWith(10))this.newline();this.rightBrace(J)}}function en(J){var G;this.printJoin(J.decorators);const 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 Jo(J){var G;this.printJoin(J.decorators);const 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 Go(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 Xo(J){this._classMethodHead(J),this.space(),this.print(J.body)}function Ho(J){this._classMethodHead(J),this.space(),this.print(J.body)}function Vo(J){var G;this.printJoin(J.decorators);const 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 Zo(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)}Object.defineProperty(lH,"__esModule",{value:!0});lH.ClassAccessorProperty=Jo;lH.ClassBody=on;lH.ClassExpression=lH.ClassDeclaration=nn;lH.ClassMethod=Xo;lH.ClassPrivateMethod=Ho;lH.ClassPrivateProperty=Go;lH.ClassProperty=en;lH.StaticBlock=Zo;lH._classMethodHead=Vo;var dn=W1(),{isExportDefaultDeclaration:sn,isExportNamedDeclaration:tn}=dn});var pH=C((aH)=>{function jo(J,G,X){this.print(J.typeParameters);const H=No.call(this,G,X);if(H)this.sourceIdentifierName(H.name,H.pos);this.tokenChar(40),this._parameters(J.params),this.tokenChar(41);const V=J.type==="ArrowFunctionExpression";this.print(J.returnType,V),this._noLineTerminator=V}function Oo(J){const 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 Ao(J){if(this.printJoin(J.decorators),this.print(J),J.optional)this.tokenChar(63);this.print(J.typeAnnotation)}function Co(J){const{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 Do(J,G){if(J.predicate){if(!J.returnType)this.tokenChar(58);this.space(),this.print(J.predicate,G)}}function So(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 Io(J,G){this._functionHead(J,G),this.space(),this.print(J.body)}function Po(J,G){if(J.async)this.word("async",!0),this.space();let X;if(!this.format.retainLines&&J.params.length===1&&Fo(X=J.params[0])&&!fo(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|=qo.TokenContext.arrowBody,this.print(J.body)}function fo(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 No(J,G){let X=J;if(!X&&G){const 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}Object.defineProperty(aH,"__esModule",{value:!0});aH.ArrowFunctionExpression=Po;aH.FunctionDeclaration=aH.FunctionExpression=Io;aH._functionHead=So;aH._methodHead=Co;aH._param=Ao;aH._parameters=Oo;aH._params=jo;aH._predicate=Do;var Mo=W1(),qo=x2(),{isIdentifier:Fo}=Mo});var K8=C((tH)=>{function lo(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 io(J){this.print(J.local)}function ao(J){this.print(J.exported)}function po(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 ro(J){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(J.exported)}function so(J){const{importAttributesKeyword:G}=this.format,{attributes:X,assertions:H}=J;if(X&&!G&&!rH)rH=!0,console.warn(`You are using import attributes, without specifying the desired output syntax.
2
+ var rW=Object.create;var{getPrototypeOf:dW,defineProperty:c0,getOwnPropertyNames:BG,getOwnPropertyDescriptor:sW}=Object,RG=Object.prototype.hasOwnProperty;var e9=(J,G,X)=>{X=J!=null?rW(dW(J)):{};let H=G||!J||!J.__esModule?c0(X,"default",{value:J,enumerable:!0}):X;for(let V of BG(J))if(!RG.call(H,V))c0(H,V,{get:()=>J[V],enumerable:!0});return H},UG=new WeakMap,tW=(J)=>{var G=UG.get(J),X;if(G)return G;if(G=c0({},"__esModule",{value:!0}),J&&typeof J==="object"||typeof J==="function")BG(J).map((H)=>!RG.call(G,H)&&c0(G,H,{get:()=>J[H],enumerable:!(X=sW(J,H))||X.enumerable}));return UG.set(J,G),G},C=(J,G)=>()=>(G||J((G={exports:{}}).exports,G),G.exports);var nW=(J,G)=>{for(var X in G)c0(J,X,{get:G[X],enumerable:!0,configurable:!0,set:(H)=>G[X]=()=>H})};var oW=(J,G)=>()=>(J&&(G=J(J=0)),G);var MG=C((v5,$G)=>{(function(J,G){typeof v5==="object"&&typeof $G!=="undefined"?G(v5):typeof define==="function"&&define.amd?define(["exports"],G):(J=typeof globalThis!=="undefined"?globalThis:J||self,G(J.setArray={}))})(v5,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 J4=C((g5,qG)=>{(function(J,G){typeof g5==="object"&&typeof qG!=="undefined"?G(g5):typeof define==="function"&&define.amd?define(["exports"],G):(J=typeof globalThis!=="undefined"?globalThis:J||self,G(J.sourcemapCodec={}))})(g5,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 _1=V1.pop();_1[2]=R1,_1[3]=U1;continue}let u1=Q(N,0),W2=u1&1,n1=u1&2,J2=u1&4,$2=null,z2=D,x1;if(W2){let _1=Q(N,u);g=Q(N,u===_1?g:0),u=_1,x1=[R1,U1,0,0,_1,g]}else x1=[R1,U1,0,0];if(x1.isScope=!!J2,n1){let _1=l,S2=i;l=Q(N,l);let r2=_1===l;i=Q(N,r2?i:0),e=Q(N,r2&&S2===i?e:0),$2=[l,i,e]}if(x1.callsite=$2,W(N,H1)){z2=[];do{G1=R1,o=U1;let _1=Q(N,0),S2;if(_1<-1){S2=[[Q(N,0)]];for(let r2=-1;r2>_1;r2--){let s9=G1;G1=Q(N,G1),o=Q(N,G1===s9?o:0);let x0=Q(N,0);S2.push([x0,G1,o])}}else S2=[[_1]];z2.push(S2)}while(W(N,H1))}x1.bindings=z2,c.push(x1),V1.push(x1)}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:u1}=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,u1,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 u1=R1,W2=u;for(let n1=1;n1<H1.length;n1++){let J2=H1[n1];u1=Y(N,J2[1],u1),W2=Y(N,J2[2],W2),Y(N,J2[0],0)}}for(x++;x<y.length;){let H1=y[x],{0:U1,1:u1}=H1;if(U1>g||U1===g&&u1>=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 FG=C((G4,X4)=>{(function(J,G){typeof G4==="object"&&typeof X4!=="undefined"?X4.exports=G():typeof define==="function"&&define.amd?define(G):(J=typeof globalThis!=="undefined"?globalThis:J||self,J.resolveURI=G())})(G4,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 H4=C((_5,jG)=>{(function(J,G){typeof _5==="object"&&typeof jG!=="undefined"?G(_5,J4(),FG()):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))})(_5,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],s1=b[C1],P1=s1[B1]||(s1[B1]=[]),E1=L[C1],o1=Q1(P1,S1,$1(P1,S1,E1,B1));E1.lastIndex=++o1,b1(P1,o1,[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,s1){let{sections:P1}=P;for(let E1=0;E1<P1.length;E1++){let{map:o1,offset:M2}=P1[E1],d2=S1,$0=s1;if(E1+1<P1.length){let M0=P1[E1+1].offset;if(d2=Math.min(S1,C1+M0.line),d2===S1)$0=Math.min(s1,B1+M0.column);else if(d2<S1)$0=B1+M0.column}V1(o1,L,b,m,Z1,t,F1,C1+M2.line,B1+M2.column,d2,$0)}}function V1(P,L,b,m,Z1,t,F1,C1,B1,S1,s1){let P1=N(P);if("sections"in P1)return c(...arguments);let E1=new G1(P1,L),o1=m.length,M2=t.length,d2=U1(E1),{resolvedSources:$0,sourcesContent:M0,ignoreList:t9}=E1;if(R1(m,$0),R1(t,E1.names),M0)R1(Z1,M0);else for(let G2=0;G2<$0.length;G2++)Z1.push(null);if(t9)for(let G2=0;G2<t9.length;G2++)F1.push(t9[G2]+o1);for(let G2=0;G2<d2.length;G2++){let n9=C1+G2;if(n9>S1)return;let QG=u(b,n9),pW=G2===0?B1:0,YG=d2[G2];for(let o9=0;o9<YG.length;o9++){let s2=YG[o9],E5=pW+s2[Z];if(n9===S1&&E5>=s1)return;if(s2.length===1){QG.push([E5]);continue}let WG=o1+s2[Q],zG=s2[Y],KG=s2[W];QG.push(s2.length===4?[E5,WG,zG,KG]:[E5,WG,zG,KG,M2+s2[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 s1=H(C1||"",V(L));this.resolvedSources=B1.map((E1)=>H(E1||"",s1));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 u1(P,L,b){let m=U1(P);if(L>=m.length)return null;let Z1=m[L],t=b5(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 k5(null,null,null,null);let F1=t[b],C1=b5(F1,o(P)._decodedMemo,b,m,Z1||e);if(C1===-1)return k5(null,null,null,null);let B1=F1[C1];if(B1.length===1)return k5(null,null,null,null);let{names:S1,resolvedSources:s1}=P;return k5(s1[B1[Q]],B1[Y]+1,B1[W],B1.length===5?S1[B1[z]]:null)}function n1(P,L){let{source:b,line:m,column:Z1,bias:t}=L;return ZG(P,b,m,Z1,t||e,!1)}function J2(P,L){let{source:b,line:m,column:Z1,bias:t}=L;return ZG(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,s1=B1[0],P1=null,E1=null,o1=null,M2=null;if(B1.length!==1)P1=Z1[B1[1]],E1=B1[2]+1,o1=B1[3];if(B1.length===5)M2=m[B1[4]];L({generatedLine:S1,generatedColumn:s1,source:P1,originalLine:E1,originalColumn:o1,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 x1(P,L){let{sourcesContent:b}=P;if(b==null)return null;let m=z2(P,L);return m===-1?null:b[m]}function _1(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(x0(P,[]),L);return o(b)._decoded=P.mappings,b}function r2(P){return x0(P,U1(P))}function s9(P){return x0(P,H1(P))}function x0(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 k5(P,L,b,m){return{source:P,line:L,column:b,name:m}}function m0(P,L){return{line:P,column:L}}function b5(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 aW(P,L,b,m,Z1){let t=b5(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(m0(S1[U]+1,S1[F]))}return B1}function ZG(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?[]:m0(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?[]:m0(null,null);let E1=o(P)._bySourceMemos[S1];if(t)return aW(P1,E1,b,m,Z1);let o1=b5(P1,E1,b,m,Z1);if(o1===-1)return m0(null,null);let M2=P1[o1];return m0(M2[U]+1,M2[F])}J.AnyMap=x,J.GREATEST_LOWER_BOUND=e,J.LEAST_UPPER_BOUND=i,J.TraceMap=G1,J.allGeneratedPositionsFor=J2,J.decodedMap=r2,J.decodedMappings=U1,J.eachMapping=$2,J.encodedMap=s9,J.encodedMappings=H1,J.generatedPositionFor=n1,J.isIgnored=_1,J.originalPositionFor=W2,J.presortedDecodedMap=S2,J.sourceContentFor=x1,J.traceSegment=u1})});var AG=C((u5,OG)=>{(function(J,G){typeof u5==="object"&&typeof OG!=="undefined"?G(u5,MG(),J4(),H4()):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))})(u5,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],u1={line:G1+1,column:U1[0]},W2=void 0,n1=void 0,J2=void 0;if(U1.length!==1){if(W2=i.array[U1[1]],n1={line:U1[2]+1,column:U1[3]},U1.length===5)J2=e.array[U1[4]]}g.push({generated:u1,source:W2,original:n1,name:J2})}}return g}function $1(u,g,l,i,e,G1,o,H1,U1){let{_mappings:u1,_sources:W2,_sourcesContent:n1,_names:J2}=F(g),$2=T1(u1,l),z2=b1($2,i);if(!e){if(u&&c($2,z2))return;return y($2,z2,[i])}let x1=G.put(W2,e),_1=H1?G.put(J2,H1):-1;if(x1===n1.length)n1[x1]=U1!==null&&U1!==void 0?U1:null;if(u&&V1($2,z2,x1,G1,o,_1))return;return y($2,z2,H1?[i,x1,G1,o,_1]:[i,x1,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 IG=C((DG)=>{Object.defineProperty(DG,"__esModule",{value:!0});DG.default=void 0;var _2=AG(),V4=H4();class CG{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 V4.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=V4.originalPositionFor(this._inputMap,{line:G,column:X}),!Y.name&&V){let W=V4.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})}}DG.default=CG});var TG=C((fG)=>{Object.defineProperty(fG,"__esModule",{value:!0});fG.default=void 0;class PG{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}}fG.default=PG});var h5=C((wG)=>{Object.defineProperty(wG,"__esModule",{value:!0});wG.default=eW;function eW(J,G){let X=Object.keys(G);for(let H of X)if(J[H]!==G[H])return!1;return!0}});var l0=C((kG)=>{Object.defineProperty(kG,"__esModule",{value:!0});kG.default=Gz;var LG=new Set;function Gz(J,G,X=""){if(LG.has(J))return;LG.add(J);let{internal:H,trace:V}=Xz(1,2);if(H)return;console.warn(`${X}\`${J}\` has been deprecated, please migrate to \`${G}\`\n${V}`)}function Xz(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((EG)=>{Object.defineProperty(EG,"__esModule",{value:!0});EG.isAccessor=F$;EG.isAnyTypeAnnotation=hK;EG.isArgumentPlaceholder=RB;EG.isArrayExpression=Vz;EG.isArrayPattern=XK;EG.isArrayTypeAnnotation=yK;EG.isArrowFunctionExpression=HK;EG.isAssignmentExpression=Zz;EG.isAssignmentPattern=GK;EG.isAwaitExpression=fK;EG.isBigIntLiteral=TK;EG.isBinary=xR;EG.isBinaryExpression=Qz;EG.isBindExpression=$B;EG.isBlock=lR;EG.isBlockParent=cR;EG.isBlockStatement=Kz;EG.isBooleanLiteral=kz;EG.isBooleanLiteralTypeAnnotation=mK;EG.isBooleanTypeAnnotation=xK;EG.isBreakStatement=Uz;EG.isCallExpression=Bz;EG.isCatchClause=Rz;EG.isClass=$$;EG.isClassAccessorProperty=EK;EG.isClassBody=VK;EG.isClassDeclaration=QK;EG.isClassExpression=ZK;EG.isClassImplements=lK;EG.isClassMethod=jK;EG.isClassPrivateMethod=gK;EG.isClassPrivateProperty=vK;EG.isClassProperty=bK;EG.isCompletionStatement=pR;EG.isConditional=rR;EG.isConditionalExpression=$z;EG.isContinueStatement=Mz;EG.isDebuggerStatement=qz;EG.isDecimalLiteral=CB;EG.isDeclaration=X$;EG.isDeclareClass=iK;EG.isDeclareExportAllDeclaration=eK;EG.isDeclareExportDeclaration=oK;EG.isDeclareFunction=aK;EG.isDeclareInterface=pK;EG.isDeclareModule=rK;EG.isDeclareModuleExports=dK;EG.isDeclareOpaqueType=tK;EG.isDeclareTypeAlias=sK;EG.isDeclareVariable=nK;EG.isDeclaredPredicate=JU;EG.isDecorator=qB;EG.isDirective=Wz;EG.isDirectiveLiteral=zz;EG.isDoExpression=FB;EG.isDoWhileStatement=Fz;EG.isEmptyStatement=jz;EG.isEmptyTypeAnnotation=UU;EG.isEnumBody=I$;EG.isEnumBooleanBody=yU;EG.isEnumBooleanMember=lU;EG.isEnumDeclaration=hU;EG.isEnumDefaultedMember=pU;EG.isEnumMember=P$;EG.isEnumNumberBody=xU;EG.isEnumNumberMember=iU;EG.isEnumStringBody=mU;EG.isEnumStringMember=aU;EG.isEnumSymbolBody=cU;EG.isExistsTypeAnnotation=GU;EG.isExportAllDeclaration=YK;EG.isExportDeclaration=M$;EG.isExportDefaultDeclaration=WK;EG.isExportDefaultSpecifier=jB;EG.isExportNamedDeclaration=zK;EG.isExportNamespaceSpecifier=wK;EG.isExportSpecifier=KK;EG.isExpression=yR;EG.isExpressionStatement=Oz;EG.isExpressionWrapper=tR;EG.isFile=Az;EG.isFlow=O$;EG.isFlowBaseAnnotation=C$;EG.isFlowDeclaration=D$;EG.isFlowPredicate=S$;EG.isFlowType=A$;EG.isFor=nR;EG.isForInStatement=Cz;EG.isForOfStatement=UK;EG.isForStatement=Dz;EG.isForXStatement=oR;EG.isFunction=eR;EG.isFunctionDeclaration=Sz;EG.isFunctionExpression=Iz;EG.isFunctionParent=J$;EG.isFunctionTypeAnnotation=XU;EG.isFunctionTypeParam=HU;EG.isGenericTypeAnnotation=VU;EG.isIdentifier=Pz;EG.isIfStatement=fz;EG.isImmutable=Y$;EG.isImport=NK;EG.isImportAttribute=MB;EG.isImportDeclaration=BK;EG.isImportDefaultSpecifier=RK;EG.isImportExpression=qK;EG.isImportNamespaceSpecifier=$K;EG.isImportOrExportDeclaration=bG;EG.isImportSpecifier=MK;EG.isIndexedAccessType=rU;EG.isInferredPredicate=ZU;EG.isInterfaceDeclaration=YU;EG.isInterfaceExtends=QU;EG.isInterfaceTypeAnnotation=WU;EG.isInterpreterDirective=Yz;EG.isIntersectionTypeAnnotation=zU;EG.isJSX=f$;EG.isJSXAttribute=sU;EG.isJSXClosingElement=tU;EG.isJSXClosingFragment=zB;EG.isJSXElement=nU;EG.isJSXEmptyExpression=oU;EG.isJSXExpressionContainer=eU;EG.isJSXFragment=YB;EG.isJSXIdentifier=GB;EG.isJSXMemberExpression=XB;EG.isJSXNamespacedName=HB;EG.isJSXOpeningElement=VB;EG.isJSXOpeningFragment=WB;EG.isJSXSpreadAttribute=ZB;EG.isJSXSpreadChild=JB;EG.isJSXText=QB;EG.isLVal=V$;EG.isLabeledStatement=Nz;EG.isLiteral=Q$;EG.isLogicalExpression=Ez;EG.isLoop=dR;EG.isMemberExpression=vz;EG.isMetaProperty=FK;EG.isMethod=z$;EG.isMiscellaneous=N$;EG.isMixedTypeAnnotation=KU;EG.isModuleDeclaration=_$;EG.isModuleExpression=DB;EG.isModuleSpecifier=q$;EG.isNewExpression=gz;EG.isNoop=KB;EG.isNullLiteral=Lz;EG.isNullLiteralTypeAnnotation=cK;EG.isNullableTypeAnnotation=BU;EG.isNumberLiteral=b$;EG.isNumberLiteralTypeAnnotation=RU;EG.isNumberTypeAnnotation=$U;EG.isNumericLiteral=wz;EG.isObjectExpression=uz;EG.isObjectMember=K$;EG.isObjectMethod=hz;EG.isObjectPattern=OK;EG.isObjectProperty=yz;EG.isObjectTypeAnnotation=MU;EG.isObjectTypeCallProperty=FU;EG.isObjectTypeIndexer=jU;EG.isObjectTypeInternalSlot=qU;EG.isObjectTypeProperty=OU;EG.isObjectTypeSpreadProperty=AU;EG.isOpaqueType=CU;EG.isOptionalCallExpression=kK;EG.isOptionalIndexedAccessType=dU;EG.isOptionalMemberExpression=LK;EG.isParenthesizedExpression=lz;EG.isPattern=R$;EG.isPatternLike=H$;EG.isPipelineBareFunction=PB;EG.isPipelinePrimaryTopicReference=fB;EG.isPipelineTopicExpression=IB;EG.isPlaceholder=UB;EG.isPrivate=j$;EG.isPrivateName=_K;EG.isProgram=_z;EG.isProperty=U$;EG.isPureish=G$;EG.isQualifiedTypeIdentifier=DU;EG.isRecordExpression=OB;EG.isRegExpLiteral=bz;EG.isRegexLiteral=E$;EG.isRestElement=xz;EG.isRestProperty=v$;EG.isReturnStatement=mz;EG.isScopable=mR;EG.isSequenceExpression=cz;EG.isSpreadElement=AK;EG.isSpreadProperty=g$;EG.isStandardized=hR;EG.isStatement=iR;EG.isStaticBlock=uK;EG.isStringLiteral=Tz;EG.isStringLiteralTypeAnnotation=SU;EG.isStringTypeAnnotation=IU;EG.isSuper=CK;EG.isSwitchCase=iz;EG.isSwitchStatement=az;EG.isSymbolTypeAnnotation=PU;EG.isTSAnyKeyword=_B;EG.isTSArrayType=XR;EG.isTSAsExpression=CR;EG.isTSBaseType=k$;EG.isTSBigIntKeyword=hB;EG.isTSBooleanKeyword=uB;EG.isTSCallSignatureDeclaration=kB;EG.isTSConditionalType=zR;EG.isTSConstructSignatureDeclaration=bB;EG.isTSConstructorType=nB;EG.isTSDeclareFunction=TB;EG.isTSDeclareMethod=wB;EG.isTSEntityName=Z$;EG.isTSEnumDeclaration=IR;EG.isTSEnumMember=PR;EG.isTSExportAssignment=bR;EG.isTSExpressionWithTypeArguments=qR;EG.isTSExternalModuleReference=LR;EG.isTSFunctionType=tB;EG.isTSImportEqualsDeclaration=wR;EG.isTSImportType=TR;EG.isTSIndexSignature=gB;EG.isTSIndexedAccessType=RR;EG.isTSInferType=KR;EG.isTSInstantiationExpression=AR;EG.isTSInterfaceBody=jR;EG.isTSInterfaceDeclaration=FR;EG.isTSIntersectionType=WR;EG.isTSIntrinsicKeyword=yB;EG.isTSLiteralType=MR;EG.isTSMappedType=$R;EG.isTSMethodSignature=vB;EG.isTSModuleBlock=NR;EG.isTSModuleDeclaration=fR;EG.isTSNamedTupleMember=QR;EG.isTSNamespaceExportDeclaration=ER;EG.isTSNeverKeyword=xB;EG.isTSNonNullExpression=kR;EG.isTSNullKeyword=mB;EG.isTSNumberKeyword=cB;EG.isTSObjectKeyword=lB;EG.isTSOptionalType=VR;EG.isTSParameterProperty=NB;EG.isTSParenthesizedType=UR;EG.isTSPropertySignature=EB;EG.isTSQualifiedName=LB;EG.isTSRestType=ZR;EG.isTSSatisfiesExpression=DR;EG.isTSStringKeyword=iB;EG.isTSSymbolKeyword=aB;EG.isTSThisType=sB;EG.isTSTupleType=HR;EG.isTSType=L$;EG.isTSTypeAliasDeclaration=OR;EG.isTSTypeAnnotation=vR;EG.isTSTypeAssertion=SR;EG.isTSTypeElement=w$;EG.isTSTypeLiteral=GR;EG.isTSTypeOperator=BR;EG.isTSTypeParameter=uR;EG.isTSTypeParameterDeclaration=_R;EG.isTSTypeParameterInstantiation=gR;EG.isTSTypePredicate=eB;EG.isTSTypeQuery=JR;EG.isTSTypeReference=oB;EG.isTSUndefinedKeyword=pB;EG.isTSUnionType=YR;EG.isTSUnknownKeyword=rB;EG.isTSVoidKeyword=dB;EG.isTaggedTemplateExpression=DK;EG.isTemplateElement=SK;EG.isTemplateLiteral=IK;EG.isTerminatorless=aR;EG.isThisExpression=pz;EG.isThisTypeAnnotation=fU;EG.isThrowStatement=rz;EG.isTopicReference=SB;EG.isTryStatement=dz;EG.isTupleExpression=AB;EG.isTupleTypeAnnotation=NU;EG.isTypeAlias=wU;EG.isTypeAnnotation=LU;EG.isTypeCastExpression=kU;EG.isTypeParameter=bU;EG.isTypeParameterDeclaration=EU;EG.isTypeParameterInstantiation=vU;EG.isTypeScript=T$;EG.isTypeofTypeAnnotation=TU;EG.isUnaryExpression=sz;EG.isUnaryLike=B$;EG.isUnionTypeAnnotation=gU;EG.isUpdateExpression=tz;EG.isUserWhitespacable=W$;EG.isV8IntrinsicIdentifier=BB;EG.isVariableDeclaration=nz;EG.isVariableDeclarator=oz;EG.isVariance=_U;EG.isVoidTypeAnnotation=uU;EG.isWhile=sR;EG.isWhileStatement=ez;EG.isWithStatement=JK;EG.isYieldExpression=PK;var R=h5(),i0=l0();function Vz(J,G){if(!J)return!1;if(J.type!=="ArrayExpression")return!1;return G==null||R.default(J,G)}function Zz(J,G){if(!J)return!1;if(J.type!=="AssignmentExpression")return!1;return G==null||R.default(J,G)}function Qz(J,G){if(!J)return!1;if(J.type!=="BinaryExpression")return!1;return G==null||R.default(J,G)}function Yz(J,G){if(!J)return!1;if(J.type!=="InterpreterDirective")return!1;return G==null||R.default(J,G)}function Wz(J,G){if(!J)return!1;if(J.type!=="Directive")return!1;return G==null||R.default(J,G)}function zz(J,G){if(!J)return!1;if(J.type!=="DirectiveLiteral")return!1;return G==null||R.default(J,G)}function Kz(J,G){if(!J)return!1;if(J.type!=="BlockStatement")return!1;return G==null||R.default(J,G)}function Uz(J,G){if(!J)return!1;if(J.type!=="BreakStatement")return!1;return G==null||R.default(J,G)}function Bz(J,G){if(!J)return!1;if(J.type!=="CallExpression")return!1;return G==null||R.default(J,G)}function Rz(J,G){if(!J)return!1;if(J.type!=="CatchClause")return!1;return G==null||R.default(J,G)}function $z(J,G){if(!J)return!1;if(J.type!=="ConditionalExpression")return!1;return G==null||R.default(J,G)}function Mz(J,G){if(!J)return!1;if(J.type!=="ContinueStatement")return!1;return G==null||R.default(J,G)}function qz(J,G){if(!J)return!1;if(J.type!=="DebuggerStatement")return!1;return G==null||R.default(J,G)}function Fz(J,G){if(!J)return!1;if(J.type!=="DoWhileStatement")return!1;return G==null||R.default(J,G)}function jz(J,G){if(!J)return!1;if(J.type!=="EmptyStatement")return!1;return G==null||R.default(J,G)}function Oz(J,G){if(!J)return!1;if(J.type!=="ExpressionStatement")return!1;return G==null||R.default(J,G)}function Az(J,G){if(!J)return!1;if(J.type!=="File")return!1;return G==null||R.default(J,G)}function Cz(J,G){if(!J)return!1;if(J.type!=="ForInStatement")return!1;return G==null||R.default(J,G)}function Dz(J,G){if(!J)return!1;if(J.type!=="ForStatement")return!1;return G==null||R.default(J,G)}function Sz(J,G){if(!J)return!1;if(J.type!=="FunctionDeclaration")return!1;return G==null||R.default(J,G)}function Iz(J,G){if(!J)return!1;if(J.type!=="FunctionExpression")return!1;return G==null||R.default(J,G)}function Pz(J,G){if(!J)return!1;if(J.type!=="Identifier")return!1;return G==null||R.default(J,G)}function fz(J,G){if(!J)return!1;if(J.type!=="IfStatement")return!1;return G==null||R.default(J,G)}function Nz(J,G){if(!J)return!1;if(J.type!=="LabeledStatement")return!1;return G==null||R.default(J,G)}function Tz(J,G){if(!J)return!1;if(J.type!=="StringLiteral")return!1;return G==null||R.default(J,G)}function wz(J,G){if(!J)return!1;if(J.type!=="NumericLiteral")return!1;return G==null||R.default(J,G)}function Lz(J,G){if(!J)return!1;if(J.type!=="NullLiteral")return!1;return G==null||R.default(J,G)}function kz(J,G){if(!J)return!1;if(J.type!=="BooleanLiteral")return!1;return G==null||R.default(J,G)}function bz(J,G){if(!J)return!1;if(J.type!=="RegExpLiteral")return!1;return G==null||R.default(J,G)}function Ez(J,G){if(!J)return!1;if(J.type!=="LogicalExpression")return!1;return G==null||R.default(J,G)}function vz(J,G){if(!J)return!1;if(J.type!=="MemberExpression")return!1;return G==null||R.default(J,G)}function gz(J,G){if(!J)return!1;if(J.type!=="NewExpression")return!1;return G==null||R.default(J,G)}function _z(J,G){if(!J)return!1;if(J.type!=="Program")return!1;return G==null||R.default(J,G)}function uz(J,G){if(!J)return!1;if(J.type!=="ObjectExpression")return!1;return G==null||R.default(J,G)}function hz(J,G){if(!J)return!1;if(J.type!=="ObjectMethod")return!1;return G==null||R.default(J,G)}function yz(J,G){if(!J)return!1;if(J.type!=="ObjectProperty")return!1;return G==null||R.default(J,G)}function xz(J,G){if(!J)return!1;if(J.type!=="RestElement")return!1;return G==null||R.default(J,G)}function mz(J,G){if(!J)return!1;if(J.type!=="ReturnStatement")return!1;return G==null||R.default(J,G)}function cz(J,G){if(!J)return!1;if(J.type!=="SequenceExpression")return!1;return G==null||R.default(J,G)}function lz(J,G){if(!J)return!1;if(J.type!=="ParenthesizedExpression")return!1;return G==null||R.default(J,G)}function iz(J,G){if(!J)return!1;if(J.type!=="SwitchCase")return!1;return G==null||R.default(J,G)}function az(J,G){if(!J)return!1;if(J.type!=="SwitchStatement")return!1;return G==null||R.default(J,G)}function pz(J,G){if(!J)return!1;if(J.type!=="ThisExpression")return!1;return G==null||R.default(J,G)}function rz(J,G){if(!J)return!1;if(J.type!=="ThrowStatement")return!1;return G==null||R.default(J,G)}function dz(J,G){if(!J)return!1;if(J.type!=="TryStatement")return!1;return G==null||R.default(J,G)}function sz(J,G){if(!J)return!1;if(J.type!=="UnaryExpression")return!1;return G==null||R.default(J,G)}function tz(J,G){if(!J)return!1;if(J.type!=="UpdateExpression")return!1;return G==null||R.default(J,G)}function nz(J,G){if(!J)return!1;if(J.type!=="VariableDeclaration")return!1;return G==null||R.default(J,G)}function oz(J,G){if(!J)return!1;if(J.type!=="VariableDeclarator")return!1;return G==null||R.default(J,G)}function ez(J,G){if(!J)return!1;if(J.type!=="WhileStatement")return!1;return G==null||R.default(J,G)}function JK(J,G){if(!J)return!1;if(J.type!=="WithStatement")return!1;return G==null||R.default(J,G)}function GK(J,G){if(!J)return!1;if(J.type!=="AssignmentPattern")return!1;return G==null||R.default(J,G)}function XK(J,G){if(!J)return!1;if(J.type!=="ArrayPattern")return!1;return G==null||R.default(J,G)}function HK(J,G){if(!J)return!1;if(J.type!=="ArrowFunctionExpression")return!1;return G==null||R.default(J,G)}function VK(J,G){if(!J)return!1;if(J.type!=="ClassBody")return!1;return G==null||R.default(J,G)}function ZK(J,G){if(!J)return!1;if(J.type!=="ClassExpression")return!1;return G==null||R.default(J,G)}function QK(J,G){if(!J)return!1;if(J.type!=="ClassDeclaration")return!1;return G==null||R.default(J,G)}function YK(J,G){if(!J)return!1;if(J.type!=="ExportAllDeclaration")return!1;return G==null||R.default(J,G)}function WK(J,G){if(!J)return!1;if(J.type!=="ExportDefaultDeclaration")return!1;return G==null||R.default(J,G)}function zK(J,G){if(!J)return!1;if(J.type!=="ExportNamedDeclaration")return!1;return G==null||R.default(J,G)}function KK(J,G){if(!J)return!1;if(J.type!=="ExportSpecifier")return!1;return G==null||R.default(J,G)}function UK(J,G){if(!J)return!1;if(J.type!=="ForOfStatement")return!1;return G==null||R.default(J,G)}function BK(J,G){if(!J)return!1;if(J.type!=="ImportDeclaration")return!1;return G==null||R.default(J,G)}function RK(J,G){if(!J)return!1;if(J.type!=="ImportDefaultSpecifier")return!1;return G==null||R.default(J,G)}function $K(J,G){if(!J)return!1;if(J.type!=="ImportNamespaceSpecifier")return!1;return G==null||R.default(J,G)}function MK(J,G){if(!J)return!1;if(J.type!=="ImportSpecifier")return!1;return G==null||R.default(J,G)}function qK(J,G){if(!J)return!1;if(J.type!=="ImportExpression")return!1;return G==null||R.default(J,G)}function FK(J,G){if(!J)return!1;if(J.type!=="MetaProperty")return!1;return G==null||R.default(J,G)}function jK(J,G){if(!J)return!1;if(J.type!=="ClassMethod")return!1;return G==null||R.default(J,G)}function OK(J,G){if(!J)return!1;if(J.type!=="ObjectPattern")return!1;return G==null||R.default(J,G)}function AK(J,G){if(!J)return!1;if(J.type!=="SpreadElement")return!1;return G==null||R.default(J,G)}function CK(J,G){if(!J)return!1;if(J.type!=="Super")return!1;return G==null||R.default(J,G)}function DK(J,G){if(!J)return!1;if(J.type!=="TaggedTemplateExpression")return!1;return G==null||R.default(J,G)}function SK(J,G){if(!J)return!1;if(J.type!=="TemplateElement")return!1;return G==null||R.default(J,G)}function IK(J,G){if(!J)return!1;if(J.type!=="TemplateLiteral")return!1;return G==null||R.default(J,G)}function PK(J,G){if(!J)return!1;if(J.type!=="YieldExpression")return!1;return G==null||R.default(J,G)}function fK(J,G){if(!J)return!1;if(J.type!=="AwaitExpression")return!1;return G==null||R.default(J,G)}function NK(J,G){if(!J)return!1;if(J.type!=="Import")return!1;return G==null||R.default(J,G)}function TK(J,G){if(!J)return!1;if(J.type!=="BigIntLiteral")return!1;return G==null||R.default(J,G)}function wK(J,G){if(!J)return!1;if(J.type!=="ExportNamespaceSpecifier")return!1;return G==null||R.default(J,G)}function LK(J,G){if(!J)return!1;if(J.type!=="OptionalMemberExpression")return!1;return G==null||R.default(J,G)}function kK(J,G){if(!J)return!1;if(J.type!=="OptionalCallExpression")return!1;return G==null||R.default(J,G)}function bK(J,G){if(!J)return!1;if(J.type!=="ClassProperty")return!1;return G==null||R.default(J,G)}function EK(J,G){if(!J)return!1;if(J.type!=="ClassAccessorProperty")return!1;return G==null||R.default(J,G)}function vK(J,G){if(!J)return!1;if(J.type!=="ClassPrivateProperty")return!1;return G==null||R.default(J,G)}function gK(J,G){if(!J)return!1;if(J.type!=="ClassPrivateMethod")return!1;return G==null||R.default(J,G)}function _K(J,G){if(!J)return!1;if(J.type!=="PrivateName")return!1;return G==null||R.default(J,G)}function uK(J,G){if(!J)return!1;if(J.type!=="StaticBlock")return!1;return G==null||R.default(J,G)}function hK(J,G){if(!J)return!1;if(J.type!=="AnyTypeAnnotation")return!1;return G==null||R.default(J,G)}function yK(J,G){if(!J)return!1;if(J.type!=="ArrayTypeAnnotation")return!1;return G==null||R.default(J,G)}function xK(J,G){if(!J)return!1;if(J.type!=="BooleanTypeAnnotation")return!1;return G==null||R.default(J,G)}function mK(J,G){if(!J)return!1;if(J.type!=="BooleanLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function cK(J,G){if(!J)return!1;if(J.type!=="NullLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function lK(J,G){if(!J)return!1;if(J.type!=="ClassImplements")return!1;return G==null||R.default(J,G)}function iK(J,G){if(!J)return!1;if(J.type!=="DeclareClass")return!1;return G==null||R.default(J,G)}function aK(J,G){if(!J)return!1;if(J.type!=="DeclareFunction")return!1;return G==null||R.default(J,G)}function pK(J,G){if(!J)return!1;if(J.type!=="DeclareInterface")return!1;return G==null||R.default(J,G)}function rK(J,G){if(!J)return!1;if(J.type!=="DeclareModule")return!1;return G==null||R.default(J,G)}function dK(J,G){if(!J)return!1;if(J.type!=="DeclareModuleExports")return!1;return G==null||R.default(J,G)}function sK(J,G){if(!J)return!1;if(J.type!=="DeclareTypeAlias")return!1;return G==null||R.default(J,G)}function tK(J,G){if(!J)return!1;if(J.type!=="DeclareOpaqueType")return!1;return G==null||R.default(J,G)}function nK(J,G){if(!J)return!1;if(J.type!=="DeclareVariable")return!1;return G==null||R.default(J,G)}function oK(J,G){if(!J)return!1;if(J.type!=="DeclareExportDeclaration")return!1;return G==null||R.default(J,G)}function eK(J,G){if(!J)return!1;if(J.type!=="DeclareExportAllDeclaration")return!1;return G==null||R.default(J,G)}function JU(J,G){if(!J)return!1;if(J.type!=="DeclaredPredicate")return!1;return G==null||R.default(J,G)}function GU(J,G){if(!J)return!1;if(J.type!=="ExistsTypeAnnotation")return!1;return G==null||R.default(J,G)}function XU(J,G){if(!J)return!1;if(J.type!=="FunctionTypeAnnotation")return!1;return G==null||R.default(J,G)}function HU(J,G){if(!J)return!1;if(J.type!=="FunctionTypeParam")return!1;return G==null||R.default(J,G)}function VU(J,G){if(!J)return!1;if(J.type!=="GenericTypeAnnotation")return!1;return G==null||R.default(J,G)}function ZU(J,G){if(!J)return!1;if(J.type!=="InferredPredicate")return!1;return G==null||R.default(J,G)}function QU(J,G){if(!J)return!1;if(J.type!=="InterfaceExtends")return!1;return G==null||R.default(J,G)}function YU(J,G){if(!J)return!1;if(J.type!=="InterfaceDeclaration")return!1;return G==null||R.default(J,G)}function WU(J,G){if(!J)return!1;if(J.type!=="InterfaceTypeAnnotation")return!1;return G==null||R.default(J,G)}function zU(J,G){if(!J)return!1;if(J.type!=="IntersectionTypeAnnotation")return!1;return G==null||R.default(J,G)}function KU(J,G){if(!J)return!1;if(J.type!=="MixedTypeAnnotation")return!1;return G==null||R.default(J,G)}function UU(J,G){if(!J)return!1;if(J.type!=="EmptyTypeAnnotation")return!1;return G==null||R.default(J,G)}function BU(J,G){if(!J)return!1;if(J.type!=="NullableTypeAnnotation")return!1;return G==null||R.default(J,G)}function RU(J,G){if(!J)return!1;if(J.type!=="NumberLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function $U(J,G){if(!J)return!1;if(J.type!=="NumberTypeAnnotation")return!1;return G==null||R.default(J,G)}function MU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeAnnotation")return!1;return G==null||R.default(J,G)}function qU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeInternalSlot")return!1;return G==null||R.default(J,G)}function FU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeCallProperty")return!1;return G==null||R.default(J,G)}function jU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeIndexer")return!1;return G==null||R.default(J,G)}function OU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeProperty")return!1;return G==null||R.default(J,G)}function AU(J,G){if(!J)return!1;if(J.type!=="ObjectTypeSpreadProperty")return!1;return G==null||R.default(J,G)}function CU(J,G){if(!J)return!1;if(J.type!=="OpaqueType")return!1;return G==null||R.default(J,G)}function DU(J,G){if(!J)return!1;if(J.type!=="QualifiedTypeIdentifier")return!1;return G==null||R.default(J,G)}function SU(J,G){if(!J)return!1;if(J.type!=="StringLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function IU(J,G){if(!J)return!1;if(J.type!=="StringTypeAnnotation")return!1;return G==null||R.default(J,G)}function PU(J,G){if(!J)return!1;if(J.type!=="SymbolTypeAnnotation")return!1;return G==null||R.default(J,G)}function fU(J,G){if(!J)return!1;if(J.type!=="ThisTypeAnnotation")return!1;return G==null||R.default(J,G)}function NU(J,G){if(!J)return!1;if(J.type!=="TupleTypeAnnotation")return!1;return G==null||R.default(J,G)}function TU(J,G){if(!J)return!1;if(J.type!=="TypeofTypeAnnotation")return!1;return G==null||R.default(J,G)}function wU(J,G){if(!J)return!1;if(J.type!=="TypeAlias")return!1;return G==null||R.default(J,G)}function LU(J,G){if(!J)return!1;if(J.type!=="TypeAnnotation")return!1;return G==null||R.default(J,G)}function kU(J,G){if(!J)return!1;if(J.type!=="TypeCastExpression")return!1;return G==null||R.default(J,G)}function bU(J,G){if(!J)return!1;if(J.type!=="TypeParameter")return!1;return G==null||R.default(J,G)}function EU(J,G){if(!J)return!1;if(J.type!=="TypeParameterDeclaration")return!1;return G==null||R.default(J,G)}function vU(J,G){if(!J)return!1;if(J.type!=="TypeParameterInstantiation")return!1;return G==null||R.default(J,G)}function gU(J,G){if(!J)return!1;if(J.type!=="UnionTypeAnnotation")return!1;return G==null||R.default(J,G)}function _U(J,G){if(!J)return!1;if(J.type!=="Variance")return!1;return G==null||R.default(J,G)}function uU(J,G){if(!J)return!1;if(J.type!=="VoidTypeAnnotation")return!1;return G==null||R.default(J,G)}function hU(J,G){if(!J)return!1;if(J.type!=="EnumDeclaration")return!1;return G==null||R.default(J,G)}function yU(J,G){if(!J)return!1;if(J.type!=="EnumBooleanBody")return!1;return G==null||R.default(J,G)}function xU(J,G){if(!J)return!1;if(J.type!=="EnumNumberBody")return!1;return G==null||R.default(J,G)}function mU(J,G){if(!J)return!1;if(J.type!=="EnumStringBody")return!1;return G==null||R.default(J,G)}function cU(J,G){if(!J)return!1;if(J.type!=="EnumSymbolBody")return!1;return G==null||R.default(J,G)}function lU(J,G){if(!J)return!1;if(J.type!=="EnumBooleanMember")return!1;return G==null||R.default(J,G)}function iU(J,G){if(!J)return!1;if(J.type!=="EnumNumberMember")return!1;return G==null||R.default(J,G)}function aU(J,G){if(!J)return!1;if(J.type!=="EnumStringMember")return!1;return G==null||R.default(J,G)}function pU(J,G){if(!J)return!1;if(J.type!=="EnumDefaultedMember")return!1;return G==null||R.default(J,G)}function rU(J,G){if(!J)return!1;if(J.type!=="IndexedAccessType")return!1;return G==null||R.default(J,G)}function dU(J,G){if(!J)return!1;if(J.type!=="OptionalIndexedAccessType")return!1;return G==null||R.default(J,G)}function sU(J,G){if(!J)return!1;if(J.type!=="JSXAttribute")return!1;return G==null||R.default(J,G)}function tU(J,G){if(!J)return!1;if(J.type!=="JSXClosingElement")return!1;return G==null||R.default(J,G)}function nU(J,G){if(!J)return!1;if(J.type!=="JSXElement")return!1;return G==null||R.default(J,G)}function oU(J,G){if(!J)return!1;if(J.type!=="JSXEmptyExpression")return!1;return G==null||R.default(J,G)}function eU(J,G){if(!J)return!1;if(J.type!=="JSXExpressionContainer")return!1;return G==null||R.default(J,G)}function JB(J,G){if(!J)return!1;if(J.type!=="JSXSpreadChild")return!1;return G==null||R.default(J,G)}function GB(J,G){if(!J)return!1;if(J.type!=="JSXIdentifier")return!1;return G==null||R.default(J,G)}function XB(J,G){if(!J)return!1;if(J.type!=="JSXMemberExpression")return!1;return G==null||R.default(J,G)}function HB(J,G){if(!J)return!1;if(J.type!=="JSXNamespacedName")return!1;return G==null||R.default(J,G)}function VB(J,G){if(!J)return!1;if(J.type!=="JSXOpeningElement")return!1;return G==null||R.default(J,G)}function ZB(J,G){if(!J)return!1;if(J.type!=="JSXSpreadAttribute")return!1;return G==null||R.default(J,G)}function QB(J,G){if(!J)return!1;if(J.type!=="JSXText")return!1;return G==null||R.default(J,G)}function YB(J,G){if(!J)return!1;if(J.type!=="JSXFragment")return!1;return G==null||R.default(J,G)}function WB(J,G){if(!J)return!1;if(J.type!=="JSXOpeningFragment")return!1;return G==null||R.default(J,G)}function zB(J,G){if(!J)return!1;if(J.type!=="JSXClosingFragment")return!1;return G==null||R.default(J,G)}function KB(J,G){if(!J)return!1;if(J.type!=="Noop")return!1;return G==null||R.default(J,G)}function UB(J,G){if(!J)return!1;if(J.type!=="Placeholder")return!1;return G==null||R.default(J,G)}function BB(J,G){if(!J)return!1;if(J.type!=="V8IntrinsicIdentifier")return!1;return G==null||R.default(J,G)}function RB(J,G){if(!J)return!1;if(J.type!=="ArgumentPlaceholder")return!1;return G==null||R.default(J,G)}function $B(J,G){if(!J)return!1;if(J.type!=="BindExpression")return!1;return G==null||R.default(J,G)}function MB(J,G){if(!J)return!1;if(J.type!=="ImportAttribute")return!1;return G==null||R.default(J,G)}function qB(J,G){if(!J)return!1;if(J.type!=="Decorator")return!1;return G==null||R.default(J,G)}function FB(J,G){if(!J)return!1;if(J.type!=="DoExpression")return!1;return G==null||R.default(J,G)}function jB(J,G){if(!J)return!1;if(J.type!=="ExportDefaultSpecifier")return!1;return G==null||R.default(J,G)}function OB(J,G){if(!J)return!1;if(J.type!=="RecordExpression")return!1;return G==null||R.default(J,G)}function AB(J,G){if(!J)return!1;if(J.type!=="TupleExpression")return!1;return G==null||R.default(J,G)}function CB(J,G){if(!J)return!1;if(J.type!=="DecimalLiteral")return!1;return G==null||R.default(J,G)}function DB(J,G){if(!J)return!1;if(J.type!=="ModuleExpression")return!1;return G==null||R.default(J,G)}function SB(J,G){if(!J)return!1;if(J.type!=="TopicReference")return!1;return G==null||R.default(J,G)}function IB(J,G){if(!J)return!1;if(J.type!=="PipelineTopicExpression")return!1;return G==null||R.default(J,G)}function PB(J,G){if(!J)return!1;if(J.type!=="PipelineBareFunction")return!1;return G==null||R.default(J,G)}function fB(J,G){if(!J)return!1;if(J.type!=="PipelinePrimaryTopicReference")return!1;return G==null||R.default(J,G)}function NB(J,G){if(!J)return!1;if(J.type!=="TSParameterProperty")return!1;return G==null||R.default(J,G)}function TB(J,G){if(!J)return!1;if(J.type!=="TSDeclareFunction")return!1;return G==null||R.default(J,G)}function wB(J,G){if(!J)return!1;if(J.type!=="TSDeclareMethod")return!1;return G==null||R.default(J,G)}function LB(J,G){if(!J)return!1;if(J.type!=="TSQualifiedName")return!1;return G==null||R.default(J,G)}function kB(J,G){if(!J)return!1;if(J.type!=="TSCallSignatureDeclaration")return!1;return G==null||R.default(J,G)}function bB(J,G){if(!J)return!1;if(J.type!=="TSConstructSignatureDeclaration")return!1;return G==null||R.default(J,G)}function EB(J,G){if(!J)return!1;if(J.type!=="TSPropertySignature")return!1;return G==null||R.default(J,G)}function vB(J,G){if(!J)return!1;if(J.type!=="TSMethodSignature")return!1;return G==null||R.default(J,G)}function gB(J,G){if(!J)return!1;if(J.type!=="TSIndexSignature")return!1;return G==null||R.default(J,G)}function _B(J,G){if(!J)return!1;if(J.type!=="TSAnyKeyword")return!1;return G==null||R.default(J,G)}function uB(J,G){if(!J)return!1;if(J.type!=="TSBooleanKeyword")return!1;return G==null||R.default(J,G)}function hB(J,G){if(!J)return!1;if(J.type!=="TSBigIntKeyword")return!1;return G==null||R.default(J,G)}function yB(J,G){if(!J)return!1;if(J.type!=="TSIntrinsicKeyword")return!1;return G==null||R.default(J,G)}function xB(J,G){if(!J)return!1;if(J.type!=="TSNeverKeyword")return!1;return G==null||R.default(J,G)}function mB(J,G){if(!J)return!1;if(J.type!=="TSNullKeyword")return!1;return G==null||R.default(J,G)}function cB(J,G){if(!J)return!1;if(J.type!=="TSNumberKeyword")return!1;return G==null||R.default(J,G)}function lB(J,G){if(!J)return!1;if(J.type!=="TSObjectKeyword")return!1;return G==null||R.default(J,G)}function iB(J,G){if(!J)return!1;if(J.type!=="TSStringKeyword")return!1;return G==null||R.default(J,G)}function aB(J,G){if(!J)return!1;if(J.type!=="TSSymbolKeyword")return!1;return G==null||R.default(J,G)}function pB(J,G){if(!J)return!1;if(J.type!=="TSUndefinedKeyword")return!1;return G==null||R.default(J,G)}function rB(J,G){if(!J)return!1;if(J.type!=="TSUnknownKeyword")return!1;return G==null||R.default(J,G)}function dB(J,G){if(!J)return!1;if(J.type!=="TSVoidKeyword")return!1;return G==null||R.default(J,G)}function sB(J,G){if(!J)return!1;if(J.type!=="TSThisType")return!1;return G==null||R.default(J,G)}function tB(J,G){if(!J)return!1;if(J.type!=="TSFunctionType")return!1;return G==null||R.default(J,G)}function nB(J,G){if(!J)return!1;if(J.type!=="TSConstructorType")return!1;return G==null||R.default(J,G)}function oB(J,G){if(!J)return!1;if(J.type!=="TSTypeReference")return!1;return G==null||R.default(J,G)}function eB(J,G){if(!J)return!1;if(J.type!=="TSTypePredicate")return!1;return G==null||R.default(J,G)}function JR(J,G){if(!J)return!1;if(J.type!=="TSTypeQuery")return!1;return G==null||R.default(J,G)}function GR(J,G){if(!J)return!1;if(J.type!=="TSTypeLiteral")return!1;return G==null||R.default(J,G)}function XR(J,G){if(!J)return!1;if(J.type!=="TSArrayType")return!1;return G==null||R.default(J,G)}function HR(J,G){if(!J)return!1;if(J.type!=="TSTupleType")return!1;return G==null||R.default(J,G)}function VR(J,G){if(!J)return!1;if(J.type!=="TSOptionalType")return!1;return G==null||R.default(J,G)}function ZR(J,G){if(!J)return!1;if(J.type!=="TSRestType")return!1;return G==null||R.default(J,G)}function QR(J,G){if(!J)return!1;if(J.type!=="TSNamedTupleMember")return!1;return G==null||R.default(J,G)}function YR(J,G){if(!J)return!1;if(J.type!=="TSUnionType")return!1;return G==null||R.default(J,G)}function WR(J,G){if(!J)return!1;if(J.type!=="TSIntersectionType")return!1;return G==null||R.default(J,G)}function zR(J,G){if(!J)return!1;if(J.type!=="TSConditionalType")return!1;return G==null||R.default(J,G)}function KR(J,G){if(!J)return!1;if(J.type!=="TSInferType")return!1;return G==null||R.default(J,G)}function UR(J,G){if(!J)return!1;if(J.type!=="TSParenthesizedType")return!1;return G==null||R.default(J,G)}function BR(J,G){if(!J)return!1;if(J.type!=="TSTypeOperator")return!1;return G==null||R.default(J,G)}function RR(J,G){if(!J)return!1;if(J.type!=="TSIndexedAccessType")return!1;return G==null||R.default(J,G)}function $R(J,G){if(!J)return!1;if(J.type!=="TSMappedType")return!1;return G==null||R.default(J,G)}function MR(J,G){if(!J)return!1;if(J.type!=="TSLiteralType")return!1;return G==null||R.default(J,G)}function qR(J,G){if(!J)return!1;if(J.type!=="TSExpressionWithTypeArguments")return!1;return G==null||R.default(J,G)}function FR(J,G){if(!J)return!1;if(J.type!=="TSInterfaceDeclaration")return!1;return G==null||R.default(J,G)}function jR(J,G){if(!J)return!1;if(J.type!=="TSInterfaceBody")return!1;return G==null||R.default(J,G)}function OR(J,G){if(!J)return!1;if(J.type!=="TSTypeAliasDeclaration")return!1;return G==null||R.default(J,G)}function AR(J,G){if(!J)return!1;if(J.type!=="TSInstantiationExpression")return!1;return G==null||R.default(J,G)}function CR(J,G){if(!J)return!1;if(J.type!=="TSAsExpression")return!1;return G==null||R.default(J,G)}function DR(J,G){if(!J)return!1;if(J.type!=="TSSatisfiesExpression")return!1;return G==null||R.default(J,G)}function SR(J,G){if(!J)return!1;if(J.type!=="TSTypeAssertion")return!1;return G==null||R.default(J,G)}function IR(J,G){if(!J)return!1;if(J.type!=="TSEnumDeclaration")return!1;return G==null||R.default(J,G)}function PR(J,G){if(!J)return!1;if(J.type!=="TSEnumMember")return!1;return G==null||R.default(J,G)}function fR(J,G){if(!J)return!1;if(J.type!=="TSModuleDeclaration")return!1;return G==null||R.default(J,G)}function NR(J,G){if(!J)return!1;if(J.type!=="TSModuleBlock")return!1;return G==null||R.default(J,G)}function TR(J,G){if(!J)return!1;if(J.type!=="TSImportType")return!1;return G==null||R.default(J,G)}function wR(J,G){if(!J)return!1;if(J.type!=="TSImportEqualsDeclaration")return!1;return G==null||R.default(J,G)}function LR(J,G){if(!J)return!1;if(J.type!=="TSExternalModuleReference")return!1;return G==null||R.default(J,G)}function kR(J,G){if(!J)return!1;if(J.type!=="TSNonNullExpression")return!1;return G==null||R.default(J,G)}function bR(J,G){if(!J)return!1;if(J.type!=="TSExportAssignment")return!1;return G==null||R.default(J,G)}function ER(J,G){if(!J)return!1;if(J.type!=="TSNamespaceExportDeclaration")return!1;return G==null||R.default(J,G)}function vR(J,G){if(!J)return!1;if(J.type!=="TSTypeAnnotation")return!1;return G==null||R.default(J,G)}function gR(J,G){if(!J)return!1;if(J.type!=="TSTypeParameterInstantiation")return!1;return G==null||R.default(J,G)}function _R(J,G){if(!J)return!1;if(J.type!=="TSTypeParameterDeclaration")return!1;return G==null||R.default(J,G)}function uR(J,G){if(!J)return!1;if(J.type!=="TSTypeParameter")return!1;return G==null||R.default(J,G)}function hR(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 yR(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 xR(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 mR(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 cR(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 lR(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 iR(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 aR(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 pR(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 rR(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 dR(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 sR(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 tR(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 nR(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 oR(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 eR(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 J$(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 G$(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 X$(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 H$(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 V$(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 Z$(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 Q$(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 Y$(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 W$(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 z$(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 K$(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 U$(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 B$(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 R$(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 $$(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 bG(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 M$(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 q$(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 F$(J,G){if(!J)return!1;switch(J.type){case"ClassAccessorProperty":break;default:return!1}return G==null||R.default(J,G)}function j$(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 O$(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 A$(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 C$(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 D$(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 S$(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 I$(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 P$(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 f$(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 N$(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 T$(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 w$(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 L$(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 k$(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 b$(J,G){if(i0.default("isNumberLiteral","isNumericLiteral"),!J)return!1;if(J.type!=="NumberLiteral")return!1;return G==null||R.default(J,G)}function E$(J,G){if(i0.default("isRegexLiteral","isRegExpLiteral"),!J)return!1;if(J.type!=="RegexLiteral")return!1;return G==null||R.default(J,G)}function v$(J,G){if(i0.default("isRestProperty","isRestElement"),!J)return!1;if(J.type!=="RestProperty")return!1;return G==null||R.default(J,G)}function g$(J,G){if(i0.default("isSpreadProperty","isSpreadElement"),!J)return!1;if(J.type!=="SpreadProperty")return!1;return G==null||R.default(J,G)}function _$(J,G){return i0.default("isModuleDeclaration","isImportOrExportDeclaration"),bG(J,G)}});var Z4=C((vG)=>{Object.defineProperty(vG,"__esModule",{value:!0});vG.default=FA;var a0=w1();function FA(J,G,X){if(!a0.isMemberExpression(J))return!1;let H=Array.isArray(G)?G:G.split("."),V=[],Z;for(Z=J;a0.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(a0.isIdentifier(W))z=W.name;else if(a0.isStringLiteral(W))z=W.value;else if(a0.isThisExpression(W))z="this";else return!1;if(H[Q]!==z)return!1}return!0}});var Q4=C((gG)=>{Object.defineProperty(gG,"__esModule",{value:!0});gG.default=AA;var OA=Z4();function AA(J,G){let X=J.split(".");return(H)=>OA.default(H,X,G)}});var hG=C((_G)=>{Object.defineProperty(_G,"__esModule",{value:!0});_G.default=void 0;var DA=Q4(),SA=DA.default("React.Component"),DU1=_G.default=SA});var xG=C((yG)=>{Object.defineProperty(yG,"__esModule",{value:!0});yG.default=IA;function IA(J){return!!J&&/^[a-z]/.test(J)}});var cG=C((PU1,mG)=>{var p0=null;function r0(J){if(p0!==null&&typeof p0.property){let G=p0;return p0=r0.prototype=null,G}return p0=r0.prototype=J==null?Object.create(null):J,new r0}r0();mG.exports=function J(G){return r0(G)}});var y5=C((iG)=>{Object.defineProperty(iG,"__esModule",{value:!0});iG.default=fA;var lG=X2();function fA(J,G){if(J===G)return!0;if(J==null)return!1;if(lG.ALIAS_KEYS[G])return!1;let X=lG.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 Y4=C((aG)=>{Object.defineProperty(aG,"__esModule",{value:!0});aG.default=wA;var TA=X2();function wA(J,G){if(J===G)return!0;let X=TA.PLACEHOLDERS_ALIAS[J];if(X){for(let H of X)if(G===H)return!0}return!1}});var q0=C((pG)=>{Object.defineProperty(pG,"__esModule",{value:!0});pG.default=gA;var kA=h5(),bA=y5(),EA=Y4(),vA=X2();function gA(J,G,X){if(!G)return!1;if(!bA.default(G.type,J)){if(!X&&G.type==="Placeholder"&&J in vA.FLIPPED_ALIAS_KEYS)return EA.default(G.expectedNode,J);return!1}if(X===void 0)return!0;else return kA.default(G,X)}});var oG=C((nG)=>{Object.defineProperty(nG,"__esModule",{value:!0});nG.isIdentifierChar=tG;nG.isIdentifierName=xA;nG.isIdentifierStart=sG;var z4="\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",rG="\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",uA=new RegExp("["+z4+"]"),hA=new RegExp("["+z4+rG+"]");z4=rG=null;var dG=[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],yA=[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 W4(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 sG(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&&uA.test(String.fromCharCode(J));return W4(J,dG)}function tG(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&&hA.test(String.fromCharCode(J));return W4(J,dG)||W4(J,yA)}function xA(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,!sG(H))return!1}else if(!tG(H))return!1}return!G}});var HX=C((XX)=>{Object.defineProperty(XX,"__esModule",{value:!0});XX.isKeyword=dA;XX.isReservedWord=eG;XX.isStrictBindOnlyReservedWord=GX;XX.isStrictBindReservedWord=rA;XX.isStrictReservedWord=JX;var K4={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"]},iA=new Set(K4.keyword),aA=new Set(K4.strict),pA=new Set(K4.strictBind);function eG(J,G){return G&&J==="await"||J==="enum"}function JX(J,G){return eG(J,G)||aA.has(J)}function GX(J){return pA.has(J)}function rA(J,G){return JX(J,G)||GX(J)}function dA(J){return iA.has(J)}});var s0=C((q2)=>{Object.defineProperty(q2,"__esModule",{value:!0});Object.defineProperty(q2,"isIdentifierChar",{enumerable:!0,get:function(){return U4.isIdentifierChar}});Object.defineProperty(q2,"isIdentifierName",{enumerable:!0,get:function(){return U4.isIdentifierName}});Object.defineProperty(q2,"isIdentifierStart",{enumerable:!0,get:function(){return U4.isIdentifierStart}});Object.defineProperty(q2,"isKeyword",{enumerable:!0,get:function(){return d0.isKeyword}});Object.defineProperty(q2,"isReservedWord",{enumerable:!0,get:function(){return d0.isReservedWord}});Object.defineProperty(q2,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return d0.isStrictBindOnlyReservedWord}});Object.defineProperty(q2,"isStrictBindReservedWord",{enumerable:!0,get:function(){return d0.isStrictBindReservedWord}});Object.defineProperty(q2,"isStrictReservedWord",{enumerable:!0,get:function(){return d0.isStrictReservedWord}});var U4=oG(),d0=HX()});var F0=C((VX)=>{Object.defineProperty(VX,"__esModule",{value:!0});VX.default=JC;var B4=s0();function JC(J,G=!0){if(typeof J!=="string")return!1;if(G){if(B4.isKeyword(J)||B4.isStrictReservedWord(J,!0))return!1}return B4.isIdentifierName(J)}});var zX=C((WX)=>{Object.defineProperty(WX,"__esModule",{value:!0});WX.readCodePoint=YX;WX.readInt=QX;WX.readStringContents=HC;var XC=function J(G){return G>=48&&G<=57},ZX={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},x5={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 HC(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(VC(J,D,G,X)){z+=G.slice(F,X);break}if(D===92){z+=G.slice(F,X);let I=ZC(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 VC(J,G,X,H){if(J==="template")return G===96||G===36&&X.charCodeAt(H+1)===123;return G===(J==="double"?34:39)}function ZC(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}=R4(J,G,X,H,2,!1,Q,Z),Y(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:G}=YX(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 R4(J,G,X,H,V,Z,Q,Y){let W=G,z;if({n:z,pos:G}=QX(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 QX(J,G,X,H,V,Z,Q,Y,W,z){let U=G,F=V===16?ZX.hex:ZX.decBinOct,A=V===16?x5.hex:V===10?x5.dec:V===8?x5.oct:x5.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(XC(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 YX(J,G,X,H,V,Z){let Q=J.charCodeAt(G),Y;if(Q===123){if(++G,{code:Y,pos:G}=R4(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}=R4(J,G,X,H,4,!1,V,Z));return{code:Y,pos:G}}});var u2=C((UX)=>{Object.defineProperty(UX,"__esModule",{value:!0});UX.UPDATE_OPERATORS=UX.UNARY_OPERATORS=UX.STRING_UNARY_OPERATORS=UX.STATEMENT_OR_BLOCK_KEYS=UX.NUMBER_UNARY_OPERATORS=UX.NUMBER_BINARY_OPERATORS=UX.NOT_LOCAL_BINDING=UX.LOGICAL_OPERATORS=UX.INHERIT_KEYS=UX.FOR_INIT_KEYS=UX.FLATTENABLE_KEYS=UX.EQUALITY_BINARY_OPERATORS=UX.COMPARISON_BINARY_OPERATORS=UX.COMMENT_KEYS=UX.BOOLEAN_UNARY_OPERATORS=UX.BOOLEAN_NUMBER_BINARY_OPERATORS=UX.BOOLEAN_BINARY_OPERATORS=UX.BLOCK_SCOPED_SYMBOL=UX.BINARY_OPERATORS=UX.ASSIGNMENT_OPERATORS=void 0;var vU1=UX.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],gU1=UX.FLATTENABLE_KEYS=["body","expressions"],_U1=UX.FOR_INIT_KEYS=["left","init"],uU1=UX.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],zC=UX.LOGICAL_OPERATORS=["||","&&","??"],hU1=UX.UPDATE_OPERATORS=["++","--"],KC=UX.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],UC=UX.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],BC=UX.COMPARISON_BINARY_OPERATORS=[...UC,"in","instanceof"],RC=UX.BOOLEAN_BINARY_OPERATORS=[...BC,...KC],KX=UX.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],yU1=UX.BINARY_OPERATORS=["+",...KX,...RC,"|>"],xU1=UX.ASSIGNMENT_OPERATORS=["=","+=",...KX.map((J)=>J+"="),...zC.map((J)=>J+"=")],$C=UX.BOOLEAN_UNARY_OPERATORS=["delete","!"],MC=UX.NUMBER_UNARY_OPERATORS=["+","-","~"],qC=UX.STRING_UNARY_OPERATORS=["typeof"],mU1=UX.UNARY_OPERATORS=["void","throw",...$C,...MC,...qC],cU1=UX.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},lU1=UX.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),iU1=UX.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var F2=C((OX)=>{Object.defineProperty(OX,"__esModule",{value:!0});OX.VISITOR_KEYS=OX.NODE_PARENT_VALIDATIONS=OX.NODE_FIELDS=OX.FLIPPED_ALIAS_KEYS=OX.DEPRECATED_KEYS=OX.BUILDER_KEYS=OX.ALIAS_KEYS=void 0;OX.arrayOf=$X;OX.arrayOfType=MX;OX.assertEach=qX;OX.assertNodeOrValueType=rC;OX.assertNodeType=l5;OX.assertOneOf=pC;OX.assertOptionalChainStart=sC;OX.assertShape=dC;OX.assertValueType=F4;OX.chain=FX;OX.default=jX;OX.defineAliasedType=oC;OX.validate=q4;OX.validateArrayOfType=aC;OX.validateOptional=lC;OX.validateOptionalType=iC;OX.validateType=cC;var RX=q0(),c5=i5(),_C=OX.VISITOR_KEYS={},uC=OX.ALIAS_KEYS={},$4=OX.FLIPPED_ALIAS_KEYS={},hC=OX.NODE_FIELDS={},yC=OX.BUILDER_KEYS={},xC=OX.DEPRECATED_KEYS={},mC=OX.NODE_PARENT_VALIDATIONS={};function m5(J){if(Array.isArray(J))return"array";else if(J===null)return"null";else return typeof J}function q4(J){return{validate:J}}function cC(...J){return q4(l5(...J))}function lC(J){return{validate:J,optional:!0}}function iC(...J){return{validate:l5(...J),optional:!0}}function $X(J){return FX(F4("array"),qX(J))}function MX(...J){return $X(l5(...J))}function aC(...J){return q4(MX(...J))}function qX(J){let G=process.env.BABEL_TYPES_8_BREAKING?c5.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 pC(...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 l5(...J){function G(X,H,V){for(let Z of J)if(RX.default(Z,V)){c5.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 rC(...J){function G(X,H,V){for(let Z of J)if(m5(V)===Z||RX.default(Z,V)){c5.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 F4(J){function G(X,H,V){if(m5(V)!==J)throw new TypeError(`Property ${H} expected type of ${J} but got ${m5(V)}`)}return G.type=J,G}function dC(J){function G(X,H,V){let Z=[];for(let Q of Object.keys(J))try{c5.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 sC(){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 FX(...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 tC=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),nC=new Set(["default","optional","deprecated","validate"]),M4={};function oC(...J){return(G,X={})=>{let H=X.aliases;if(!H){var V,Z;if(X.inherits)H=(V=M4[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),jX(G,X)}}function jX(J,G={}){let X=G.inherits&&M4[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(!tC.has(Y))throw new Error(`Unknown type option "${Y}" on ${J}`);if(G.deprecatedAlias)xC[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=F4(m5(W.default));for(let z of Object.keys(W))if(!nC.has(z))throw new Error(`Unknown field key "${z}" on ${J}.${Y}`)}if(_C[J]=G.visitor=V,yC[J]=G.builder=Q,hC[J]=G.fields=H,uC[J]=G.aliases=Z,Z.forEach((Y)=>{$4[Y]=$4[Y]||[],$4[Y].push(J)}),G.validate)mC[J]=G.validate;M4[J]=G}});var O4=C((SX)=>{Object.defineProperty(SX,"__esModule",{value:!0});SX.patternLikeCommon=SX.functionTypeAnnotationCommon=SX.functionDeclarationCommon=SX.functionCommon=SX.classMethodOrPropertyCommon=SX.classMethodOrDeclareMethodCommon=void 0;var m1=q0(),DD=F0(),CX=s0(),SD=zX(),t0=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(...t0.ASSIGNMENT_OPERATORS),G=$.assertOneOf("=");return function(X,H,V){(m1.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(...t0.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 j0=()=>({params:$.validateArrayOfType("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});SX.functionCommon=j0;var t2=()=>({returnType:{validate:$.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:$.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});SX.functionTypeAnnotationCommon=t2;var DX=()=>Object.assign({},j0(),{declare:{validate:$.assertValueType("boolean"),optional:!0},id:{validate:$.assertNodeType("Identifier"),optional:!0}});SX.functionDeclarationCommon=DX;E("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","returnType","body"],fields:Object.assign({},DX(),t2(),{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(!m1.default("ExportDefaultDeclaration",G))J(H,"id",H.id)}}()});E("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},j0(),t2(),{id:{validate:$.assertNodeType("Identifier"),optional:!0},body:{validate:$.assertNodeType("BlockStatement")},predicate:{validate:$.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});var O0=()=>({typeAnnotation:{validate:$.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:$.assertValueType("boolean"),optional:!0},decorators:{validate:$.arrayOfType("Decorator"),optional:!0}});SX.patternLikeCommon=O0;E("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},O0(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?$.chain($.assertValueType("string"),Object.assign(function(J,G,X){if(!DD.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(m1.default("MemberExpression",J,Z))return;if(m1.default("OptionalMemberExpression",J,Z))return}else if(V==="key"){if(m1.default("Property",J,Z))return;if(m1.default("Method",J,Z))return}else if(V==="exported"){if(m1.default("ExportSpecifier",J))return}else if(V==="imported"){if(m1.default("ImportSpecifier",J,{imported:X}))return}else if(V==="meta"){if(m1.default("MetaProperty",J,{meta:X}))return}if((CX.isKeyword(X.name)||CX.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(...t0.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({},j0(),t2(),{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(!m1.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){(m1.default("ObjectPattern",X)?J:G)(V,"value",V.value)}}()});E("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},O0(),{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(...t0.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(...t0.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(m1.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({},O0(),{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({},O0(),{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({},j0(),t2(),{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(!m1.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(m1.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(!m1.default("Identifier",J.property,{name:H}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):$.assertNodeType("Identifier")},property:{validate:$.assertNodeType("Identifier")}}});var a5=()=>({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"))}});SX.classMethodOrPropertyCommon=a5;var j4=()=>Object.assign({},j0(),a5(),{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}});SX.classMethodOrDeclareMethodCommon=j4;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({},j4(),t2(),{body:{validate:$.assertNodeType("BlockStatement")}})});E("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},O0(),{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}=SD.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({},a5(),{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({},a5(),{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({},j4(),t2(),{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 PX=C(()=>{var S=F2(),p=S.defineAliasedType("Flow"),A4=(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")}});A4("DeclareClass");p("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),predicate:S.validateOptionalType("DeclaredPredicate")}});A4("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")}});A4("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 fX=C(()=>{var f1=F2(),c1=f1.defineAliasedType("JSX");c1("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:f1.assertNodeType("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});c1("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});c1("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}})});c1("JSXEmptyExpression",{});c1("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression","JSXEmptyExpression")}}});c1("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression")}}});c1("JSXIdentifier",{builder:["name"],fields:{name:{validate:f1.assertValueType("string")}}});c1("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:f1.assertNodeType("JSXMemberExpression","JSXIdentifier")},property:{validate:f1.assertNodeType("JSXIdentifier")}}});c1("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:f1.assertNodeType("JSXIdentifier")},name:{validate:f1.assertNodeType("JSXIdentifier")}}});c1("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}}});c1("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:f1.assertNodeType("Expression")}}});c1("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:f1.assertValueType("string")}}});c1("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")}});c1("JSXOpeningFragment",{aliases:["Immutable"]});c1("JSXClosingFragment",{aliases:["Immutable"]})});var S4=C((NX)=>{Object.defineProperty(NX,"__esModule",{value:!0});NX.PLACEHOLDERS_FLIPPED_ALIAS=NX.PLACEHOLDERS_ALIAS=NX.PLACEHOLDERS=void 0;var wD=F2(),LD=NX.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],D4=NX.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let J of LD){let G=wD.ALIAS_KEYS[J];if(G!=null&&G.length)D4[J]=G}var C4=NX.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(D4).forEach((J)=>{D4[J].forEach((G)=>{if(!hasOwnProperty.call(C4,G))C4[G]=[];C4[G].push(J)})})});var wX=C(()=>{var p5=F2(),ED=S4(),I4=p5.defineAliasedType("Miscellaneous");I4("Noop",{visitor:[]});I4("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:p5.assertNodeType("Identifier")},expectedNode:{validate:p5.assertOneOf(...ED.PLACEHOLDERS)}}});I4("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:p5.assertValueType("string")}}})});var LX=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 hX=C(()=>{var T=F2(),kX=O4(),vD=q0(),J1=T.defineAliasedType("TypeScript"),t1=T.assertValueType("boolean"),bX=()=>({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({},kX.functionDeclarationCommon(),bX())});J1("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},kX.classMethodOrDeclareMethodCommon(),bX())});J1("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:T.validateType("TSEntityName"),right:T.validateType("Identifier")}});var r5=()=>({typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),["parameters"]:T.validateArrayOfType("ArrayPattern","Identifier","ObjectPattern","RestElement"),["typeAnnotation"]:T.validateOptionalType("TSTypeAnnotation")}),EX={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:r5()};J1("TSCallSignatureDeclaration",EX);J1("TSConstructSignatureDeclaration",EX);var vX=()=>({key:T.validateType("Expression"),computed:{default:!1},optional:T.validateOptional(t1)});J1("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},vX(),{readonly:T.validateOptional(t1),typeAnnotation:T.validateOptionalType("TSTypeAnnotation"),kind:{validate:T.assertOneOf("get","set")}})});J1("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},r5(),vX(),{kind:{validate:T.assertOneOf("method","get","set")}})});J1("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:T.validateOptional(t1),static:T.validateOptional(t1),parameters:T.validateArrayOfType("Identifier"),typeAnnotation:T.validateOptionalType("TSTypeAnnotation")}});var gD=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let J of gD)J1(J,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});J1("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var gX={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};J1("TSFunctionType",Object.assign({},gX,{fields:r5()}));J1("TSConstructorType",Object.assign({},gX,{fields:Object.assign({},r5(),{abstract:T.validateOptional(t1)})}));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(t1)}});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:t1,default:!1},elementType:T.validateType("TSType")}});var _X={aliases:["TSType"],visitor:["types"],fields:{types:T.validateArrayOfType("TSType")}};J1("TSUnionType",_X);J1("TSIntersectionType",_X);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(vD.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 _D={aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:T.validateType("TSEntityName"),typeParameters:T.validateOptionalType("TSTypeParameterInstantiation")}};J1("TSExpressionWithTypeArguments",_D);J1("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:T.validateOptional(t1),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(t1),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 uX={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:T.validateType("Expression"),typeAnnotation:T.validateType("TSType")}};J1("TSAsExpression",uX);J1("TSSatisfiesExpression",uX);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(t1),const:T.validateOptional(t1),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(t1),global:T.validateOptional(t1),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(t1),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 mX=C((yX)=>{Object.defineProperty(yX,"__esModule",{value:!0});yX.DEPRECATED_ALIASES=void 0;var ZB1=yX.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var X2=C((e1)=>{Object.defineProperty(e1,"__esModule",{value:!0});Object.defineProperty(e1,"ALIAS_KEYS",{enumerable:!0,get:function(){return g1.ALIAS_KEYS}});Object.defineProperty(e1,"BUILDER_KEYS",{enumerable:!0,get:function(){return g1.BUILDER_KEYS}});Object.defineProperty(e1,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return P4.DEPRECATED_ALIASES}});Object.defineProperty(e1,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return g1.DEPRECATED_KEYS}});Object.defineProperty(e1,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return g1.FLIPPED_ALIAS_KEYS}});Object.defineProperty(e1,"NODE_FIELDS",{enumerable:!0,get:function(){return g1.NODE_FIELDS}});Object.defineProperty(e1,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return g1.NODE_PARENT_VALIDATIONS}});Object.defineProperty(e1,"PLACEHOLDERS",{enumerable:!0,get:function(){return n0.PLACEHOLDERS}});Object.defineProperty(e1,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return n0.PLACEHOLDERS_ALIAS}});Object.defineProperty(e1,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return n0.PLACEHOLDERS_FLIPPED_ALIAS}});e1.TYPES=void 0;Object.defineProperty(e1,"VISITOR_KEYS",{enumerable:!0,get:function(){return g1.VISITOR_KEYS}});var h2=cG();O4();PX();fX();wX();LX();hX();var g1=F2(),n0=S4(),P4=mX();Object.keys(P4.DEPRECATED_ALIASES).forEach((J)=>{g1.FLIPPED_ALIAS_KEYS[J]=g1.FLIPPED_ALIAS_KEYS[P4.DEPRECATED_ALIASES[J]]});h2(g1.VISITOR_KEYS);h2(g1.ALIAS_KEYS);h2(g1.FLIPPED_ALIAS_KEYS);h2(g1.NODE_FIELDS);h2(g1.BUILDER_KEYS);h2(g1.DEPRECATED_KEYS);h2(n0.PLACEHOLDERS_ALIAS);h2(n0.PLACEHOLDERS_FLIPPED_ALIAS);var YB1=e1.TYPES=[].concat(Object.keys(g1.VISITOR_KEYS),Object.keys(g1.FLIPPED_ALIAS_KEYS),Object.keys(g1.DEPRECATED_KEYS))});var i5=C((aX)=>{Object.defineProperty(aX,"__esModule",{value:!0});aX.default=uD;aX.validateChild=iX;aX.validateField=lX;aX.validateInternal=hD;var o0=X2();function uD(J,G,X){if(!J)return;let H=o0.NODE_FIELDS[J.type];if(!H)return;let V=H[G];lX(J,G,X,V),iX(J,G,X)}function hD(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=o0.NODE_PARENT_VALIDATIONS[Q])==null||Z.call(o0.NODE_PARENT_VALIDATIONS,G,X,H)}}function lX(J,G,X,H){if(!(H!=null&&H.validate))return;if(H.optional&&X==null)return;H.validate(J,G,X)}function iX(J,G,X){var H;let V=X==null?void 0:X.type;if(V==null)return;(H=o0.NODE_PARENT_VALIDATIONS[V])==null||H.call(o0.NODE_PARENT_VALIDATIONS,J,G,X)}});var l1=C((tX)=>{Object.defineProperty(tX,"__esModule",{value:!0});tX.anyTypeAnnotation=CI;tX.argumentPlaceholder=tP;tX.arrayExpression=aD;tX.arrayPattern=xS;tX.arrayTypeAnnotation=DI;tX.arrowFunctionExpression=mS;tX.assignmentExpression=pD;tX.assignmentPattern=yS;tX.awaitExpression=zI;tX.bigIntLiteral=UI;tX.binaryExpression=rD;tX.bindExpression=nP;tX.blockStatement=nD;tX.booleanLiteral=FS;tX.booleanLiteralTypeAnnotation=II;tX.booleanTypeAnnotation=SI;tX.breakStatement=oD;tX.callExpression=eD;tX.catchClause=JS;tX.classAccessorProperty=qI;tX.classBody=cS;tX.classDeclaration=iS;tX.classExpression=lS;tX.classImplements=fI;tX.classMethod=XI;tX.classPrivateMethod=jI;tX.classPrivateProperty=FI;tX.classProperty=MI;tX.conditionalExpression=GS;tX.continueStatement=XS;tX.debuggerStatement=HS;tX.decimalLiteral=Vf;tX.declareClass=NI;tX.declareExportAllDeclaration=_I;tX.declareExportDeclaration=gI;tX.declareFunction=TI;tX.declareInterface=wI;tX.declareModule=LI;tX.declareModuleExports=kI;tX.declareOpaqueType=EI;tX.declareTypeAlias=bI;tX.declareVariable=vI;tX.declaredPredicate=uI;tX.decorator=eP;tX.directive=sD;tX.directiveLiteral=tD;tX.doExpression=Jf;tX.doWhileStatement=VS;tX.emptyStatement=ZS;tX.emptyTypeAnnotation=dI;tX.enumBooleanBody=DP;tX.enumBooleanMember=fP;tX.enumDeclaration=CP;tX.enumDefaultedMember=wP;tX.enumNumberBody=SP;tX.enumNumberMember=NP;tX.enumStringBody=IP;tX.enumStringMember=TP;tX.enumSymbolBody=PP;tX.existsTypeAnnotation=hI;tX.exportAllDeclaration=aS;tX.exportDefaultDeclaration=pS;tX.exportDefaultSpecifier=Gf;tX.exportNamedDeclaration=rS;tX.exportNamespaceSpecifier=BI;tX.exportSpecifier=dS;tX.expressionStatement=QS;tX.file=YS;tX.forInStatement=WS;tX.forOfStatement=sS;tX.forStatement=zS;tX.functionDeclaration=KS;tX.functionExpression=US;tX.functionTypeAnnotation=yI;tX.functionTypeParam=xI;tX.genericTypeAnnotation=mI;tX.identifier=BS;tX.ifStatement=RS;tX.import=KI;tX.importAttribute=oP;tX.importDeclaration=tS;tX.importDefaultSpecifier=nS;tX.importExpression=JI;tX.importNamespaceSpecifier=oS;tX.importSpecifier=eS;tX.indexedAccessType=LP;tX.inferredPredicate=cI;tX.interfaceDeclaration=iI;tX.interfaceExtends=lI;tX.interfaceTypeAnnotation=aI;tX.interpreterDirective=dD;tX.intersectionTypeAnnotation=pI;tX.jSXAttribute=tX.jsxAttribute=bP;tX.jSXClosingElement=tX.jsxClosingElement=EP;tX.jSXClosingFragment=tX.jsxClosingFragment=pP;tX.jSXElement=tX.jsxElement=vP;tX.jSXEmptyExpression=tX.jsxEmptyExpression=gP;tX.jSXExpressionContainer=tX.jsxExpressionContainer=_P;tX.jSXFragment=tX.jsxFragment=iP;tX.jSXIdentifier=tX.jsxIdentifier=hP;tX.jSXMemberExpression=tX.jsxMemberExpression=yP;tX.jSXNamespacedName=tX.jsxNamespacedName=xP;tX.jSXOpeningElement=tX.jsxOpeningElement=mP;tX.jSXOpeningFragment=tX.jsxOpeningFragment=aP;tX.jSXSpreadAttribute=tX.jsxSpreadAttribute=cP;tX.jSXSpreadChild=tX.jsxSpreadChild=uP;tX.jSXText=tX.jsxText=lP;tX.labeledStatement=$S;tX.logicalExpression=jS;tX.memberExpression=OS;tX.metaProperty=GI;tX.mixedTypeAnnotation=rI;tX.moduleExpression=Zf;tX.newExpression=AS;tX.noop=rP;tX.nullLiteral=qS;tX.nullLiteralTypeAnnotation=PI;tX.nullableTypeAnnotation=sI;tX.numberLiteral=DN;tX.numberLiteralTypeAnnotation=tI;tX.numberTypeAnnotation=nI;tX.numericLiteral=pX;tX.objectExpression=DS;tX.objectMethod=SS;tX.objectPattern=HI;tX.objectProperty=IS;tX.objectTypeAnnotation=oI;tX.objectTypeCallProperty=JP;tX.objectTypeIndexer=GP;tX.objectTypeInternalSlot=eI;tX.objectTypeProperty=XP;tX.objectTypeSpreadProperty=HP;tX.opaqueType=VP;tX.optionalCallExpression=$I;tX.optionalIndexedAccessType=kP;tX.optionalMemberExpression=RI;tX.parenthesizedExpression=NS;tX.pipelineBareFunction=Wf;tX.pipelinePrimaryTopicReference=zf;tX.pipelineTopicExpression=Yf;tX.placeholder=dP;tX.privateName=OI;tX.program=CS;tX.qualifiedTypeIdentifier=ZP;tX.recordExpression=Xf;tX.regExpLiteral=rX;tX.regexLiteral=SN;tX.restElement=dX;tX.restProperty=IN;tX.returnStatement=PS;tX.sequenceExpression=fS;tX.spreadElement=sX;tX.spreadProperty=PN;tX.staticBlock=AI;tX.stringLiteral=MS;tX.stringLiteralTypeAnnotation=QP;tX.stringTypeAnnotation=YP;tX.super=VI;tX.switchCase=TS;tX.switchStatement=wS;tX.symbolTypeAnnotation=WP;tX.taggedTemplateExpression=ZI;tX.templateElement=QI;tX.templateLiteral=YI;tX.thisExpression=LS;tX.thisTypeAnnotation=zP;tX.throwStatement=kS;tX.topicReference=Qf;tX.tryStatement=bS;tX.tSAnyKeyword=tX.tsAnyKeyword=Of;tX.tSArrayType=tX.tsArrayType=yf;tX.tSAsExpression=tX.tsAsExpression=ZN;tX.tSBigIntKeyword=tX.tsBigIntKeyword=Cf;tX.tSBooleanKeyword=tX.tsBooleanKeyword=Af;tX.tSCallSignatureDeclaration=tX.tsCallSignatureDeclaration=$f;tX.tSConditionalType=tX.tsConditionalType=rf;tX.tSConstructSignatureDeclaration=tX.tsConstructSignatureDeclaration=Mf;tX.tSConstructorType=tX.tsConstructorType=vf;tX.tSDeclareFunction=tX.tsDeclareFunction=Uf;tX.tSDeclareMethod=tX.tsDeclareMethod=Bf;tX.tSEnumDeclaration=tX.tsEnumDeclaration=WN;tX.tSEnumMember=tX.tsEnumMember=zN;tX.tSExportAssignment=tX.tsExportAssignment=qN;tX.tSExpressionWithTypeArguments=tX.tsExpressionWithTypeArguments=JN;tX.tSExternalModuleReference=tX.tsExternalModuleReference=$N;tX.tSFunctionType=tX.tsFunctionType=Ef;tX.tSImportEqualsDeclaration=tX.tsImportEqualsDeclaration=RN;tX.tSImportType=tX.tsImportType=BN;tX.tSIndexSignature=tX.tsIndexSignature=jf;tX.tSIndexedAccessType=tX.tsIndexedAccessType=nf;tX.tSInferType=tX.tsInferType=df;tX.tSInstantiationExpression=tX.tsInstantiationExpression=VN;tX.tSInterfaceBody=tX.tsInterfaceBody=XN;tX.tSInterfaceDeclaration=tX.tsInterfaceDeclaration=GN;tX.tSIntersectionType=tX.tsIntersectionType=pf;tX.tSIntrinsicKeyword=tX.tsIntrinsicKeyword=Df;tX.tSLiteralType=tX.tsLiteralType=ef;tX.tSMappedType=tX.tsMappedType=of;tX.tSMethodSignature=tX.tsMethodSignature=Ff;tX.tSModuleBlock=tX.tsModuleBlock=UN;tX.tSModuleDeclaration=tX.tsModuleDeclaration=KN;tX.tSNamedTupleMember=tX.tsNamedTupleMember=lf;tX.tSNamespaceExportDeclaration=tX.tsNamespaceExportDeclaration=FN;tX.tSNeverKeyword=tX.tsNeverKeyword=Sf;tX.tSNonNullExpression=tX.tsNonNullExpression=MN;tX.tSNullKeyword=tX.tsNullKeyword=If;tX.tSNumberKeyword=tX.tsNumberKeyword=Pf;tX.tSObjectKeyword=tX.tsObjectKeyword=ff;tX.tSOptionalType=tX.tsOptionalType=mf;tX.tSParameterProperty=tX.tsParameterProperty=Kf;tX.tSParenthesizedType=tX.tsParenthesizedType=sf;tX.tSPropertySignature=tX.tsPropertySignature=qf;tX.tSQualifiedName=tX.tsQualifiedName=Rf;tX.tSRestType=tX.tsRestType=cf;tX.tSSatisfiesExpression=tX.tsSatisfiesExpression=QN;tX.tSStringKeyword=tX.tsStringKeyword=Nf;tX.tSSymbolKeyword=tX.tsSymbolKeyword=Tf;tX.tSThisType=tX.tsThisType=bf;tX.tSTupleType=tX.tsTupleType=xf;tX.tSTypeAliasDeclaration=tX.tsTypeAliasDeclaration=HN;tX.tSTypeAnnotation=tX.tsTypeAnnotation=jN;tX.tSTypeAssertion=tX.tsTypeAssertion=YN;tX.tSTypeLiteral=tX.tsTypeLiteral=hf;tX.tSTypeOperator=tX.tsTypeOperator=tf;tX.tSTypeParameter=tX.tsTypeParameter=CN;tX.tSTypeParameterDeclaration=tX.tsTypeParameterDeclaration=AN;tX.tSTypeParameterInstantiation=tX.tsTypeParameterInstantiation=ON;tX.tSTypePredicate=tX.tsTypePredicate=_f;tX.tSTypeQuery=tX.tsTypeQuery=uf;tX.tSTypeReference=tX.tsTypeReference=gf;tX.tSUndefinedKeyword=tX.tsUndefinedKeyword=wf;tX.tSUnionType=tX.tsUnionType=af;tX.tSUnknownKeyword=tX.tsUnknownKeyword=Lf;tX.tSVoidKeyword=tX.tsVoidKeyword=kf;tX.tupleExpression=Hf;tX.tupleTypeAnnotation=KP;tX.typeAlias=BP;tX.typeAnnotation=RP;tX.typeCastExpression=$P;tX.typeParameter=MP;tX.typeParameterDeclaration=qP;tX.typeParameterInstantiation=FP;tX.typeofTypeAnnotation=UP;tX.unaryExpression=ES;tX.unionTypeAnnotation=jP;tX.updateExpression=vS;tX.v8IntrinsicIdentifier=sP;tX.variableDeclaration=gS;tX.variableDeclarator=_S;tX.variance=OP;tX.voidTypeAnnotation=AP;tX.whileStatement=uS;tX.withStatement=hS;tX.yieldExpression=WI;var lD=i5(),d5=l0(),iD=F2(),{validateInternal:K}=lD,{NODE_FIELDS:O}=iD;function aD(J=[]){let G={type:"ArrayExpression",elements:J},X=O.ArrayExpression;return K(X.elements,G,"elements",J,1),G}function pD(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 rD(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 dD(J){let G={type:"InterpreterDirective",value:J},X=O.InterpreterDirective;return K(X.value,G,"value",J),G}function sD(J){let G={type:"Directive",value:J},X=O.Directive;return K(X.value,G,"value",J,1),G}function tD(J){let G={type:"DirectiveLiteral",value:J},X=O.DirectiveLiteral;return K(X.value,G,"value",J),G}function nD(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 oD(J=null){let G={type:"BreakStatement",label:J},X=O.BreakStatement;return K(X.label,G,"label",J,1),G}function eD(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 JS(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 GS(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 XS(J=null){let G={type:"ContinueStatement",label:J},X=O.ContinueStatement;return K(X.label,G,"label",J,1),G}function HS(){return{type:"DebuggerStatement"}}function VS(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 ZS(){return{type:"EmptyStatement"}}function QS(J){let G={type:"ExpressionStatement",expression:J},X=O.ExpressionStatement;return K(X.expression,G,"expression",J,1),G}function YS(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 WS(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 KS(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 US(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 BS(J){let G={type:"Identifier",name:J},X=O.Identifier;return K(X.name,G,"name",J),G}function RS(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 $S(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 MS(J){let G={type:"StringLiteral",value:J},X=O.StringLiteral;return K(X.value,G,"value",J),G}function pX(J){let G={type:"NumericLiteral",value:J},X=O.NumericLiteral;return K(X.value,G,"value",J),G}function qS(){return{type:"NullLiteral"}}function FS(J){let G={type:"BooleanLiteral",value:J},X=O.BooleanLiteral;return K(X.value,G,"value",J),G}function rX(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 jS(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 OS(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 AS(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 CS(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 DS(J){let G={type:"ObjectExpression",properties:J},X=O.ObjectExpression;return K(X.properties,G,"properties",J,1),G}function SS(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 IS(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 dX(J){let G={type:"RestElement",argument:J},X=O.RestElement;return K(X.argument,G,"argument",J,1),G}function PS(J=null){let G={type:"ReturnStatement",argument:J},X=O.ReturnStatement;return K(X.argument,G,"argument",J,1),G}function fS(J){let G={type:"SequenceExpression",expressions:J},X=O.SequenceExpression;return K(X.expressions,G,"expressions",J,1),G}function NS(J){let G={type:"ParenthesizedExpression",expression:J},X=O.ParenthesizedExpression;return K(X.expression,G,"expression",J,1),G}function TS(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 wS(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 LS(){return{type:"ThisExpression"}}function kS(J){let G={type:"ThrowStatement",argument:J},X=O.ThrowStatement;return K(X.argument,G,"argument",J,1),G}function bS(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 ES(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 vS(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 gS(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 _S(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 uS(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 hS(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 yS(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 xS(J){let G={type:"ArrayPattern",elements:J},X=O.ArrayPattern;return K(X.elements,G,"elements",J,1),G}function mS(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 cS(J){let G={type:"ClassBody",body:J},X=O.ClassBody;return K(X.body,G,"body",J,1),G}function lS(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 iS(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 aS(J){let G={type:"ExportAllDeclaration",source:J},X=O.ExportAllDeclaration;return K(X.source,G,"source",J,1),G}function pS(J){let G={type:"ExportDefaultDeclaration",declaration:J},X=O.ExportDefaultDeclaration;return K(X.declaration,G,"declaration",J,1),G}function rS(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 dS(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 sS(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 tS(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 nS(J){let G={type:"ImportDefaultSpecifier",local:J},X=O.ImportDefaultSpecifier;return K(X.local,G,"local",J,1),G}function oS(J){let G={type:"ImportNamespaceSpecifier",local:J},X=O.ImportNamespaceSpecifier;return K(X.local,G,"local",J,1),G}function eS(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 JI(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 GI(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 XI(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 HI(J){let G={type:"ObjectPattern",properties:J},X=O.ObjectPattern;return K(X.properties,G,"properties",J,1),G}function sX(J){let G={type:"SpreadElement",argument:J},X=O.SpreadElement;return K(X.argument,G,"argument",J,1),G}function VI(){return{type:"Super"}}function ZI(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 QI(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 YI(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 WI(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 KI(){return{type:"Import"}}function UI(J){let G={type:"BigIntLiteral",value:J},X=O.BigIntLiteral;return K(X.value,G,"value",J),G}function BI(J){let G={type:"ExportNamespaceSpecifier",exported:J},X=O.ExportNamespaceSpecifier;return K(X.exported,G,"exported",J,1),G}function RI(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 $I(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 MI(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 qI(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 FI(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 jI(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 OI(J){let G={type:"PrivateName",id:J},X=O.PrivateName;return K(X.id,G,"id",J,1),G}function AI(J){let G={type:"StaticBlock",body:J},X=O.StaticBlock;return K(X.body,G,"body",J,1),G}function CI(){return{type:"AnyTypeAnnotation"}}function DI(J){let G={type:"ArrayTypeAnnotation",elementType:J},X=O.ArrayTypeAnnotation;return K(X.elementType,G,"elementType",J,1),G}function SI(){return{type:"BooleanTypeAnnotation"}}function II(J){let G={type:"BooleanLiteralTypeAnnotation",value:J},X=O.BooleanLiteralTypeAnnotation;return K(X.value,G,"value",J),G}function PI(){return{type:"NullLiteralTypeAnnotation"}}function fI(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 NI(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 TI(J){let G={type:"DeclareFunction",id:J},X=O.DeclareFunction;return K(X.id,G,"id",J,1),G}function wI(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 LI(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 kI(J){let G={type:"DeclareModuleExports",typeAnnotation:J},X=O.DeclareModuleExports;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function bI(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 EI(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 vI(J){let G={type:"DeclareVariable",id:J},X=O.DeclareVariable;return K(X.id,G,"id",J,1),G}function gI(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 _I(J){let G={type:"DeclareExportAllDeclaration",source:J},X=O.DeclareExportAllDeclaration;return K(X.source,G,"source",J,1),G}function uI(J){let G={type:"DeclaredPredicate",value:J},X=O.DeclaredPredicate;return K(X.value,G,"value",J,1),G}function hI(){return{type:"ExistsTypeAnnotation"}}function yI(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 xI(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 mI(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 cI(){return{type:"InferredPredicate"}}function lI(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 iI(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 aI(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 pI(J){let G={type:"IntersectionTypeAnnotation",types:J},X=O.IntersectionTypeAnnotation;return K(X.types,G,"types",J,1),G}function rI(){return{type:"MixedTypeAnnotation"}}function dI(){return{type:"EmptyTypeAnnotation"}}function sI(J){let G={type:"NullableTypeAnnotation",typeAnnotation:J},X=O.NullableTypeAnnotation;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function tI(J){let G={type:"NumberLiteralTypeAnnotation",value:J},X=O.NumberLiteralTypeAnnotation;return K(X.value,G,"value",J),G}function nI(){return{type:"NumberTypeAnnotation"}}function oI(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 eI(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 JP(J){let G={type:"ObjectTypeCallProperty",value:J,static:null},X=O.ObjectTypeCallProperty;return K(X.value,G,"value",J,1),G}function GP(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 XP(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 HP(J){let G={type:"ObjectTypeSpreadProperty",argument:J},X=O.ObjectTypeSpreadProperty;return K(X.argument,G,"argument",J,1),G}function VP(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 ZP(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 QP(J){let G={type:"StringLiteralTypeAnnotation",value:J},X=O.StringLiteralTypeAnnotation;return K(X.value,G,"value",J),G}function YP(){return{type:"StringTypeAnnotation"}}function WP(){return{type:"SymbolTypeAnnotation"}}function zP(){return{type:"ThisTypeAnnotation"}}function KP(J){let G={type:"TupleTypeAnnotation",types:J},X=O.TupleTypeAnnotation;return K(X.types,G,"types",J,1),G}function UP(J){let G={type:"TypeofTypeAnnotation",argument:J},X=O.TypeofTypeAnnotation;return K(X.argument,G,"argument",J,1),G}function BP(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 RP(J){let G={type:"TypeAnnotation",typeAnnotation:J},X=O.TypeAnnotation;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function $P(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 MP(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 qP(J){let G={type:"TypeParameterDeclaration",params:J},X=O.TypeParameterDeclaration;return K(X.params,G,"params",J,1),G}function FP(J){let G={type:"TypeParameterInstantiation",params:J},X=O.TypeParameterInstantiation;return K(X.params,G,"params",J,1),G}function jP(J){let G={type:"UnionTypeAnnotation",types:J},X=O.UnionTypeAnnotation;return K(X.types,G,"types",J,1),G}function OP(J){let G={type:"Variance",kind:J},X=O.Variance;return K(X.kind,G,"kind",J),G}function AP(){return{type:"VoidTypeAnnotation"}}function CP(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 DP(J){let G={type:"EnumBooleanBody",members:J,explicitType:null,hasUnknownMembers:null},X=O.EnumBooleanBody;return K(X.members,G,"members",J,1),G}function SP(J){let G={type:"EnumNumberBody",members:J,explicitType:null,hasUnknownMembers:null},X=O.EnumNumberBody;return K(X.members,G,"members",J,1),G}function IP(J){let G={type:"EnumStringBody",members:J,explicitType:null,hasUnknownMembers:null},X=O.EnumStringBody;return K(X.members,G,"members",J,1),G}function PP(J){let G={type:"EnumSymbolBody",members:J,hasUnknownMembers:null},X=O.EnumSymbolBody;return K(X.members,G,"members",J,1),G}function fP(J){let G={type:"EnumBooleanMember",id:J,init:null},X=O.EnumBooleanMember;return K(X.id,G,"id",J,1),G}function NP(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 TP(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 wP(J){let G={type:"EnumDefaultedMember",id:J},X=O.EnumDefaultedMember;return K(X.id,G,"id",J,1),G}function LP(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 kP(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 bP(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 EP(J){let G={type:"JSXClosingElement",name:J},X=O.JSXClosingElement;return K(X.name,G,"name",J,1),G}function vP(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 gP(){return{type:"JSXEmptyExpression"}}function _P(J){let G={type:"JSXExpressionContainer",expression:J},X=O.JSXExpressionContainer;return K(X.expression,G,"expression",J,1),G}function uP(J){let G={type:"JSXSpreadChild",expression:J},X=O.JSXSpreadChild;return K(X.expression,G,"expression",J,1),G}function hP(J){let G={type:"JSXIdentifier",name:J},X=O.JSXIdentifier;return K(X.name,G,"name",J),G}function yP(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 xP(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 mP(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 cP(J){let G={type:"JSXSpreadAttribute",argument:J},X=O.JSXSpreadAttribute;return K(X.argument,G,"argument",J,1),G}function lP(J){let G={type:"JSXText",value:J},X=O.JSXText;return K(X.value,G,"value",J),G}function iP(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 aP(){return{type:"JSXOpeningFragment"}}function pP(){return{type:"JSXClosingFragment"}}function rP(){return{type:"Noop"}}function dP(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 sP(J){let G={type:"V8IntrinsicIdentifier",name:J},X=O.V8IntrinsicIdentifier;return K(X.name,G,"name",J),G}function tP(){return{type:"ArgumentPlaceholder"}}function nP(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 oP(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 eP(J){let G={type:"Decorator",expression:J},X=O.Decorator;return K(X.expression,G,"expression",J,1),G}function Jf(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 Gf(J){let G={type:"ExportDefaultSpecifier",exported:J},X=O.ExportDefaultSpecifier;return K(X.exported,G,"exported",J,1),G}function Xf(J){let G={type:"RecordExpression",properties:J},X=O.RecordExpression;return K(X.properties,G,"properties",J,1),G}function Hf(J=[]){let G={type:"TupleExpression",elements:J},X=O.TupleExpression;return K(X.elements,G,"elements",J,1),G}function Vf(J){let G={type:"DecimalLiteral",value:J},X=O.DecimalLiteral;return K(X.value,G,"value",J),G}function Zf(J){let G={type:"ModuleExpression",body:J},X=O.ModuleExpression;return K(X.body,G,"body",J,1),G}function Qf(){return{type:"TopicReference"}}function Yf(J){let G={type:"PipelineTopicExpression",expression:J},X=O.PipelineTopicExpression;return K(X.expression,G,"expression",J,1),G}function Wf(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 Kf(J){let G={type:"TSParameterProperty",parameter:J},X=O.TSParameterProperty;return K(X.parameter,G,"parameter",J,1),G}function Uf(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 Bf(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 Rf(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 $f(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 Mf(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 qf(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 Ff(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 jf(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 Of(){return{type:"TSAnyKeyword"}}function Af(){return{type:"TSBooleanKeyword"}}function Cf(){return{type:"TSBigIntKeyword"}}function Df(){return{type:"TSIntrinsicKeyword"}}function Sf(){return{type:"TSNeverKeyword"}}function If(){return{type:"TSNullKeyword"}}function Pf(){return{type:"TSNumberKeyword"}}function ff(){return{type:"TSObjectKeyword"}}function Nf(){return{type:"TSStringKeyword"}}function Tf(){return{type:"TSSymbolKeyword"}}function wf(){return{type:"TSUndefinedKeyword"}}function Lf(){return{type:"TSUnknownKeyword"}}function kf(){return{type:"TSVoidKeyword"}}function bf(){return{type:"TSThisType"}}function Ef(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 vf(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 gf(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 _f(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 uf(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 hf(J){let G={type:"TSTypeLiteral",members:J},X=O.TSTypeLiteral;return K(X.members,G,"members",J,1),G}function yf(J){let G={type:"TSArrayType",elementType:J},X=O.TSArrayType;return K(X.elementType,G,"elementType",J,1),G}function xf(J){let G={type:"TSTupleType",elementTypes:J},X=O.TSTupleType;return K(X.elementTypes,G,"elementTypes",J,1),G}function mf(J){let G={type:"TSOptionalType",typeAnnotation:J},X=O.TSOptionalType;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function cf(J){let G={type:"TSRestType",typeAnnotation:J},X=O.TSRestType;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function lf(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 af(J){let G={type:"TSUnionType",types:J},X=O.TSUnionType;return K(X.types,G,"types",J,1),G}function pf(J){let G={type:"TSIntersectionType",types:J},X=O.TSIntersectionType;return K(X.types,G,"types",J,1),G}function rf(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 df(J){let G={type:"TSInferType",typeParameter:J},X=O.TSInferType;return K(X.typeParameter,G,"typeParameter",J,1),G}function sf(J){let G={type:"TSParenthesizedType",typeAnnotation:J},X=O.TSParenthesizedType;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function tf(J){let G={type:"TSTypeOperator",typeAnnotation:J,operator:null},X=O.TSTypeOperator;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function nf(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 of(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 ef(J){let G={type:"TSLiteralType",literal:J},X=O.TSLiteralType;return K(X.literal,G,"literal",J,1),G}function JN(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 GN(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 XN(J){let G={type:"TSInterfaceBody",body:J},X=O.TSInterfaceBody;return K(X.body,G,"body",J,1),G}function HN(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 VN(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 ZN(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 QN(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 YN(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 WN(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 KN(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 UN(J){let G={type:"TSModuleBlock",body:J},X=O.TSModuleBlock;return K(X.body,G,"body",J,1),G}function BN(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 RN(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 $N(J){let G={type:"TSExternalModuleReference",expression:J},X=O.TSExternalModuleReference;return K(X.expression,G,"expression",J,1),G}function MN(J){let G={type:"TSNonNullExpression",expression:J},X=O.TSNonNullExpression;return K(X.expression,G,"expression",J,1),G}function qN(J){let G={type:"TSExportAssignment",expression:J},X=O.TSExportAssignment;return K(X.expression,G,"expression",J,1),G}function FN(J){let G={type:"TSNamespaceExportDeclaration",id:J},X=O.TSNamespaceExportDeclaration;return K(X.id,G,"id",J,1),G}function jN(J){let G={type:"TSTypeAnnotation",typeAnnotation:J},X=O.TSTypeAnnotation;return K(X.typeAnnotation,G,"typeAnnotation",J,1),G}function ON(J){let G={type:"TSTypeParameterInstantiation",params:J},X=O.TSTypeParameterInstantiation;return K(X.params,G,"params",J,1),G}function AN(J){let G={type:"TSTypeParameterDeclaration",params:J},X=O.TSTypeParameterDeclaration;return K(X.params,G,"params",J,1),G}function CN(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 DN(J){return d5.default("NumberLiteral","NumericLiteral","The node type "),pX(J)}function SN(J,G=""){return d5.default("RegexLiteral","RegExpLiteral","The node type "),rX(J,G)}function IN(J){return d5.default("RestProperty","RestElement","The node type "),dX(J)}function PN(J){return d5.default("SpreadProperty","SpreadElement","The node type "),sX(J)}});var oX=C((nX)=>{Object.defineProperty(nX,"__esModule",{value:!0});nX.default=Bb;var Kb=l1(),Ub=W1();function Bb(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(Ub.inherits(Kb.stringLiteral(V),J))}});var J6=C((eX)=>{Object.defineProperty(eX,"__esModule",{value:!0});eX.default=Mb;var f4=w1(),$b=oX();function Mb(J){let G=[];for(let X=0;X<J.children.length;X++){let H=J.children[X];if(f4.isJSXText(H)){$b.default(H,G);continue}if(f4.isJSXExpressionContainer(H))H=H.expression;if(f4.isJSXEmptyExpression(H))continue;G.push(H)}return G}});var N4=C((G6)=>{Object.defineProperty(G6,"__esModule",{value:!0});G6.default=jb;var Fb=X2();function jb(J){return!!(J&&Fb.VISITOR_KEYS[J.type])}});var H6=C((X6)=>{Object.defineProperty(X6,"__esModule",{value:!0});X6.default=Cb;var Ab=N4();function Cb(J){if(!Ab.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 Z6=C((V6)=>{Object.defineProperty(V6,"__esModule",{value:!0});V6.assertAccessor=hu;V6.assertAnyTypeAnnotation=Vv;V6.assertArgumentPlaceholder=Eg;V6.assertArrayExpression=Ib;V6.assertArrayPattern=DE;V6.assertArrayTypeAnnotation=Zv;V6.assertArrowFunctionExpression=SE;V6.assertAssignmentExpression=Pb;V6.assertAssignmentPattern=CE;V6.assertAwaitExpression=pE;V6.assertBigIntLiteral=dE;V6.assertBinary=Qu;V6.assertBinaryExpression=fb;V6.assertBindExpression=vg;V6.assertBlock=zu;V6.assertBlockParent=Wu;V6.assertBlockStatement=Lb;V6.assertBooleanLiteral=nb;V6.assertBooleanLiteralTypeAnnotation=Yv;V6.assertBooleanTypeAnnotation=Qv;V6.assertBreakStatement=kb;V6.assertCallExpression=bb;V6.assertCatchClause=Eb;V6.assertClass=vu;V6.assertClassAccessorProperty=eE;V6.assertClassBody=IE;V6.assertClassDeclaration=fE;V6.assertClassExpression=PE;V6.assertClassImplements=zv;V6.assertClassMethod=hE;V6.assertClassPrivateMethod=Gv;V6.assertClassPrivateProperty=Jv;V6.assertClassProperty=oE;V6.assertCompletionStatement=Bu;V6.assertConditional=Ru;V6.assertConditionalExpression=vb;V6.assertContinueStatement=gb;V6.assertDebuggerStatement=_b;V6.assertDecimalLiteral=mg;V6.assertDeclaration=Du;V6.assertDeclareClass=Kv;V6.assertDeclareExportAllDeclaration=Ov;V6.assertDeclareExportDeclaration=jv;V6.assertDeclareFunction=Uv;V6.assertDeclareInterface=Bv;V6.assertDeclareModule=Rv;V6.assertDeclareModuleExports=$v;V6.assertDeclareOpaqueType=qv;V6.assertDeclareTypeAlias=Mv;V6.assertDeclareVariable=Fv;V6.assertDeclaredPredicate=Av;V6.assertDecorator=_g;V6.assertDirective=Tb;V6.assertDirectiveLiteral=wb;V6.assertDoExpression=ug;V6.assertDoWhileStatement=ub;V6.assertEmptyStatement=hb;V6.assertEmptyTypeAnnotation=kv;V6.assertEnumBody=au;V6.assertEnumBooleanBody=Zg;V6.assertEnumBooleanMember=zg;V6.assertEnumDeclaration=Vg;V6.assertEnumDefaultedMember=Bg;V6.assertEnumMember=pu;V6.assertEnumNumberBody=Qg;V6.assertEnumNumberMember=Kg;V6.assertEnumStringBody=Yg;V6.assertEnumStringMember=Ug;V6.assertEnumSymbolBody=Wg;V6.assertExistsTypeAnnotation=Cv;V6.assertExportAllDeclaration=NE;V6.assertExportDeclaration=_u;V6.assertExportDefaultDeclaration=TE;V6.assertExportDefaultSpecifier=hg;V6.assertExportNamedDeclaration=wE;V6.assertExportNamespaceSpecifier=sE;V6.assertExportSpecifier=LE;V6.assertExpression=Zu;V6.assertExpressionStatement=yb;V6.assertExpressionWrapper=qu;V6.assertFile=xb;V6.assertFlow=xu;V6.assertFlowBaseAnnotation=cu;V6.assertFlowDeclaration=lu;V6.assertFlowPredicate=iu;V6.assertFlowType=mu;V6.assertFor=Fu;V6.assertForInStatement=mb;V6.assertForOfStatement=kE;V6.assertForStatement=cb;V6.assertForXStatement=ju;V6.assertFunction=Ou;V6.assertFunctionDeclaration=lb;V6.assertFunctionExpression=ib;V6.assertFunctionParent=Au;V6.assertFunctionTypeAnnotation=Dv;V6.assertFunctionTypeParam=Sv;V6.assertGenericTypeAnnotation=Iv;V6.assertIdentifier=ab;V6.assertIfStatement=pb;V6.assertImmutable=Nu;V6.assertImport=rE;V6.assertImportAttribute=gg;V6.assertImportDeclaration=bE;V6.assertImportDefaultSpecifier=EE;V6.assertImportExpression=_E;V6.assertImportNamespaceSpecifier=vE;V6.assertImportOrExportDeclaration=gu;V6.assertImportSpecifier=gE;V6.assertIndexedAccessType=Rg;V6.assertInferredPredicate=Pv;V6.assertInterfaceDeclaration=Nv;V6.assertInterfaceExtends=fv;V6.assertInterfaceTypeAnnotation=Tv;V6.assertInterpreterDirective=Nb;V6.assertIntersectionTypeAnnotation=wv;V6.assertJSX=ru;V6.assertJSXAttribute=Mg;V6.assertJSXClosingElement=qg;V6.assertJSXClosingFragment=wg;V6.assertJSXElement=Fg;V6.assertJSXEmptyExpression=jg;V6.assertJSXExpressionContainer=Og;V6.assertJSXFragment=Ng;V6.assertJSXIdentifier=Cg;V6.assertJSXMemberExpression=Dg;V6.assertJSXNamespacedName=Sg;V6.assertJSXOpeningElement=Ig;V6.assertJSXOpeningFragment=Tg;V6.assertJSXSpreadAttribute=Pg;V6.assertJSXSpreadChild=Ag;V6.assertJSXText=fg;V6.assertLVal=Iu;V6.assertLabeledStatement=rb;V6.assertLiteral=fu;V6.assertLogicalExpression=eb;V6.assertLoop=$u;V6.assertMemberExpression=JE;V6.assertMetaProperty=uE;V6.assertMethod=wu;V6.assertMiscellaneous=du;V6.assertMixedTypeAnnotation=Lv;V6.assertModuleDeclaration=Hh;V6.assertModuleExpression=cg;V6.assertModuleSpecifier=uu;V6.assertNewExpression=GE;V6.assertNoop=Lg;V6.assertNullLiteral=tb;V6.assertNullLiteralTypeAnnotation=Wv;V6.assertNullableTypeAnnotation=bv;V6.assertNumberLiteral=eu;V6.assertNumberLiteralTypeAnnotation=Ev;V6.assertNumberTypeAnnotation=vv;V6.assertNumericLiteral=sb;V6.assertObjectExpression=HE;V6.assertObjectMember=Lu;V6.assertObjectMethod=VE;V6.assertObjectPattern=yE;V6.assertObjectProperty=ZE;V6.assertObjectTypeAnnotation=gv;V6.assertObjectTypeCallProperty=uv;V6.assertObjectTypeIndexer=hv;V6.assertObjectTypeInternalSlot=_v;V6.assertObjectTypeProperty=yv;V6.assertObjectTypeSpreadProperty=xv;V6.assertOpaqueType=mv;V6.assertOptionalCallExpression=nE;V6.assertOptionalIndexedAccessType=$g;V6.assertOptionalMemberExpression=tE;V6.assertParenthesizedExpression=zE;V6.assertPattern=Eu;V6.assertPatternLike=Su;V6.assertPipelineBareFunction=ag;V6.assertPipelinePrimaryTopicReference=pg;V6.assertPipelineTopicExpression=ig;V6.assertPlaceholder=kg;V6.assertPrivate=yu;V6.assertPrivateName=Xv;V6.assertProgram=XE;V6.assertProperty=ku;V6.assertPureish=Cu;V6.assertQualifiedTypeIdentifier=cv;V6.assertRecordExpression=yg;V6.assertRegExpLiteral=ob;V6.assertRegexLiteral=Jh;V6.assertRestElement=QE;V6.assertRestProperty=Gh;V6.assertReturnStatement=YE;V6.assertScopable=Yu;V6.assertSequenceExpression=WE;V6.assertSpreadElement=xE;V6.assertSpreadProperty=Xh;V6.assertStandardized=Vu;V6.assertStatement=Ku;V6.assertStaticBlock=Hv;V6.assertStringLiteral=db;V6.assertStringLiteralTypeAnnotation=lv;V6.assertStringTypeAnnotation=iv;V6.assertSuper=mE;V6.assertSwitchCase=KE;V6.assertSwitchStatement=UE;V6.assertSymbolTypeAnnotation=av;V6.assertTSAnyKeyword=X_;V6.assertTSArrayType=D_;V6.assertTSAsExpression=m_;V6.assertTSBaseType=ou;V6.assertTSBigIntKeyword=V_;V6.assertTSBooleanKeyword=H_;V6.assertTSCallSignatureDeclaration=ng;V6.assertTSConditionalType=w_;V6.assertTSConstructSignatureDeclaration=og;V6.assertTSConstructorType=F_;V6.assertTSDeclareFunction=dg;V6.assertTSDeclareMethod=sg;V6.assertTSEntityName=Pu;V6.assertTSEnumDeclaration=i_;V6.assertTSEnumMember=a_;V6.assertTSExportAssignment=o_;V6.assertTSExpressionWithTypeArguments=__;V6.assertTSExternalModuleReference=t_;V6.assertTSFunctionType=q_;V6.assertTSImportEqualsDeclaration=s_;V6.assertTSImportType=d_;V6.assertTSIndexSignature=G_;V6.assertTSIndexedAccessType=E_;V6.assertTSInferType=L_;V6.assertTSInstantiationExpression=x_;V6.assertTSInterfaceBody=h_;V6.assertTSInterfaceDeclaration=u_;V6.assertTSIntersectionType=T_;V6.assertTSIntrinsicKeyword=Z_;V6.assertTSLiteralType=g_;V6.assertTSMappedType=v_;V6.assertTSMethodSignature=J_;V6.assertTSModuleBlock=r_;V6.assertTSModuleDeclaration=p_;V6.assertTSNamedTupleMember=f_;V6.assertTSNamespaceExportDeclaration=e_;V6.assertTSNeverKeyword=Q_;V6.assertTSNonNullExpression=n_;V6.assertTSNullKeyword=Y_;V6.assertTSNumberKeyword=W_;V6.assertTSObjectKeyword=z_;V6.assertTSOptionalType=I_;V6.assertTSParameterProperty=rg;V6.assertTSParenthesizedType=k_;V6.assertTSPropertySignature=eg;V6.assertTSQualifiedName=tg;V6.assertTSRestType=P_;V6.assertTSSatisfiesExpression=c_;V6.assertTSStringKeyword=K_;V6.assertTSSymbolKeyword=U_;V6.assertTSThisType=M_;V6.assertTSTupleType=S_;V6.assertTSType=nu;V6.assertTSTypeAliasDeclaration=y_;V6.assertTSTypeAnnotation=Ju;V6.assertTSTypeAssertion=l_;V6.assertTSTypeElement=tu;V6.assertTSTypeLiteral=C_;V6.assertTSTypeOperator=b_;V6.assertTSTypeParameter=Hu;V6.assertTSTypeParameterDeclaration=Xu;V6.assertTSTypeParameterInstantiation=Gu;V6.assertTSTypePredicate=O_;V6.assertTSTypeQuery=A_;V6.assertTSTypeReference=j_;V6.assertTSUndefinedKeyword=B_;V6.assertTSUnionType=N_;V6.assertTSUnknownKeyword=R_;V6.assertTSVoidKeyword=$_;V6.assertTaggedTemplateExpression=cE;V6.assertTemplateElement=lE;V6.assertTemplateLiteral=iE;V6.assertTerminatorless=Uu;V6.assertThisExpression=BE;V6.assertThisTypeAnnotation=pv;V6.assertThrowStatement=RE;V6.assertTopicReference=lg;V6.assertTryStatement=$E;V6.assertTupleExpression=xg;V6.assertTupleTypeAnnotation=rv;V6.assertTypeAlias=sv;V6.assertTypeAnnotation=tv;V6.assertTypeCastExpression=nv;V6.assertTypeParameter=ov;V6.assertTypeParameterDeclaration=ev;V6.assertTypeParameterInstantiation=Jg;V6.assertTypeScript=su;V6.assertTypeofTypeAnnotation=dv;V6.assertUnaryExpression=ME;V6.assertUnaryLike=bu;V6.assertUnionTypeAnnotation=Gg;V6.assertUpdateExpression=qE;V6.assertUserWhitespacable=Tu;V6.assertV8IntrinsicIdentifier=bg;V6.assertVariableDeclaration=FE;V6.assertVariableDeclarator=jE;V6.assertVariance=Xg;V6.assertVoidTypeAnnotation=Hg;V6.assertWhile=Mu;V6.assertWhileStatement=OE;V6.assertWithStatement=AE;V6.assertYieldExpression=aE;var Sb=q0(),e0=l0();function B(J,G,X){if(!Sb.default(J,G,X))throw new Error(`Expected type "${J}" with option ${JSON.stringify(X)}, but instead got "${G.type}".`)}function Ib(J,G){B("ArrayExpression",J,G)}function Pb(J,G){B("AssignmentExpression",J,G)}function fb(J,G){B("BinaryExpression",J,G)}function Nb(J,G){B("InterpreterDirective",J,G)}function Tb(J,G){B("Directive",J,G)}function wb(J,G){B("DirectiveLiteral",J,G)}function Lb(J,G){B("BlockStatement",J,G)}function kb(J,G){B("BreakStatement",J,G)}function bb(J,G){B("CallExpression",J,G)}function Eb(J,G){B("CatchClause",J,G)}function vb(J,G){B("ConditionalExpression",J,G)}function gb(J,G){B("ContinueStatement",J,G)}function _b(J,G){B("DebuggerStatement",J,G)}function ub(J,G){B("DoWhileStatement",J,G)}function hb(J,G){B("EmptyStatement",J,G)}function yb(J,G){B("ExpressionStatement",J,G)}function xb(J,G){B("File",J,G)}function mb(J,G){B("ForInStatement",J,G)}function cb(J,G){B("ForStatement",J,G)}function lb(J,G){B("FunctionDeclaration",J,G)}function ib(J,G){B("FunctionExpression",J,G)}function ab(J,G){B("Identifier",J,G)}function pb(J,G){B("IfStatement",J,G)}function rb(J,G){B("LabeledStatement",J,G)}function db(J,G){B("StringLiteral",J,G)}function sb(J,G){B("NumericLiteral",J,G)}function tb(J,G){B("NullLiteral",J,G)}function nb(J,G){B("BooleanLiteral",J,G)}function ob(J,G){B("RegExpLiteral",J,G)}function eb(J,G){B("LogicalExpression",J,G)}function JE(J,G){B("MemberExpression",J,G)}function GE(J,G){B("NewExpression",J,G)}function XE(J,G){B("Program",J,G)}function HE(J,G){B("ObjectExpression",J,G)}function VE(J,G){B("ObjectMethod",J,G)}function ZE(J,G){B("ObjectProperty",J,G)}function QE(J,G){B("RestElement",J,G)}function YE(J,G){B("ReturnStatement",J,G)}function WE(J,G){B("SequenceExpression",J,G)}function zE(J,G){B("ParenthesizedExpression",J,G)}function KE(J,G){B("SwitchCase",J,G)}function UE(J,G){B("SwitchStatement",J,G)}function BE(J,G){B("ThisExpression",J,G)}function RE(J,G){B("ThrowStatement",J,G)}function $E(J,G){B("TryStatement",J,G)}function ME(J,G){B("UnaryExpression",J,G)}function qE(J,G){B("UpdateExpression",J,G)}function FE(J,G){B("VariableDeclaration",J,G)}function jE(J,G){B("VariableDeclarator",J,G)}function OE(J,G){B("WhileStatement",J,G)}function AE(J,G){B("WithStatement",J,G)}function CE(J,G){B("AssignmentPattern",J,G)}function DE(J,G){B("ArrayPattern",J,G)}function SE(J,G){B("ArrowFunctionExpression",J,G)}function IE(J,G){B("ClassBody",J,G)}function PE(J,G){B("ClassExpression",J,G)}function fE(J,G){B("ClassDeclaration",J,G)}function NE(J,G){B("ExportAllDeclaration",J,G)}function TE(J,G){B("ExportDefaultDeclaration",J,G)}function wE(J,G){B("ExportNamedDeclaration",J,G)}function LE(J,G){B("ExportSpecifier",J,G)}function kE(J,G){B("ForOfStatement",J,G)}function bE(J,G){B("ImportDeclaration",J,G)}function EE(J,G){B("ImportDefaultSpecifier",J,G)}function vE(J,G){B("ImportNamespaceSpecifier",J,G)}function gE(J,G){B("ImportSpecifier",J,G)}function _E(J,G){B("ImportExpression",J,G)}function uE(J,G){B("MetaProperty",J,G)}function hE(J,G){B("ClassMethod",J,G)}function yE(J,G){B("ObjectPattern",J,G)}function xE(J,G){B("SpreadElement",J,G)}function mE(J,G){B("Super",J,G)}function cE(J,G){B("TaggedTemplateExpression",J,G)}function lE(J,G){B("TemplateElement",J,G)}function iE(J,G){B("TemplateLiteral",J,G)}function aE(J,G){B("YieldExpression",J,G)}function pE(J,G){B("AwaitExpression",J,G)}function rE(J,G){B("Import",J,G)}function dE(J,G){B("BigIntLiteral",J,G)}function sE(J,G){B("ExportNamespaceSpecifier",J,G)}function tE(J,G){B("OptionalMemberExpression",J,G)}function nE(J,G){B("OptionalCallExpression",J,G)}function oE(J,G){B("ClassProperty",J,G)}function eE(J,G){B("ClassAccessorProperty",J,G)}function Jv(J,G){B("ClassPrivateProperty",J,G)}function Gv(J,G){B("ClassPrivateMethod",J,G)}function Xv(J,G){B("PrivateName",J,G)}function Hv(J,G){B("StaticBlock",J,G)}function Vv(J,G){B("AnyTypeAnnotation",J,G)}function Zv(J,G){B("ArrayTypeAnnotation",J,G)}function Qv(J,G){B("BooleanTypeAnnotation",J,G)}function Yv(J,G){B("BooleanLiteralTypeAnnotation",J,G)}function Wv(J,G){B("NullLiteralTypeAnnotation",J,G)}function zv(J,G){B("ClassImplements",J,G)}function Kv(J,G){B("DeclareClass",J,G)}function Uv(J,G){B("DeclareFunction",J,G)}function Bv(J,G){B("DeclareInterface",J,G)}function Rv(J,G){B("DeclareModule",J,G)}function $v(J,G){B("DeclareModuleExports",J,G)}function Mv(J,G){B("DeclareTypeAlias",J,G)}function qv(J,G){B("DeclareOpaqueType",J,G)}function Fv(J,G){B("DeclareVariable",J,G)}function jv(J,G){B("DeclareExportDeclaration",J,G)}function Ov(J,G){B("DeclareExportAllDeclaration",J,G)}function Av(J,G){B("DeclaredPredicate",J,G)}function Cv(J,G){B("ExistsTypeAnnotation",J,G)}function Dv(J,G){B("FunctionTypeAnnotation",J,G)}function Sv(J,G){B("FunctionTypeParam",J,G)}function Iv(J,G){B("GenericTypeAnnotation",J,G)}function Pv(J,G){B("InferredPredicate",J,G)}function fv(J,G){B("InterfaceExtends",J,G)}function Nv(J,G){B("InterfaceDeclaration",J,G)}function Tv(J,G){B("InterfaceTypeAnnotation",J,G)}function wv(J,G){B("IntersectionTypeAnnotation",J,G)}function Lv(J,G){B("MixedTypeAnnotation",J,G)}function kv(J,G){B("EmptyTypeAnnotation",J,G)}function bv(J,G){B("NullableTypeAnnotation",J,G)}function Ev(J,G){B("NumberLiteralTypeAnnotation",J,G)}function vv(J,G){B("NumberTypeAnnotation",J,G)}function gv(J,G){B("ObjectTypeAnnotation",J,G)}function _v(J,G){B("ObjectTypeInternalSlot",J,G)}function uv(J,G){B("ObjectTypeCallProperty",J,G)}function hv(J,G){B("ObjectTypeIndexer",J,G)}function yv(J,G){B("ObjectTypeProperty",J,G)}function xv(J,G){B("ObjectTypeSpreadProperty",J,G)}function mv(J,G){B("OpaqueType",J,G)}function cv(J,G){B("QualifiedTypeIdentifier",J,G)}function lv(J,G){B("StringLiteralTypeAnnotation",J,G)}function iv(J,G){B("StringTypeAnnotation",J,G)}function av(J,G){B("SymbolTypeAnnotation",J,G)}function pv(J,G){B("ThisTypeAnnotation",J,G)}function rv(J,G){B("TupleTypeAnnotation",J,G)}function dv(J,G){B("TypeofTypeAnnotation",J,G)}function sv(J,G){B("TypeAlias",J,G)}function tv(J,G){B("TypeAnnotation",J,G)}function nv(J,G){B("TypeCastExpression",J,G)}function ov(J,G){B("TypeParameter",J,G)}function ev(J,G){B("TypeParameterDeclaration",J,G)}function Jg(J,G){B("TypeParameterInstantiation",J,G)}function Gg(J,G){B("UnionTypeAnnotation",J,G)}function Xg(J,G){B("Variance",J,G)}function Hg(J,G){B("VoidTypeAnnotation",J,G)}function Vg(J,G){B("EnumDeclaration",J,G)}function Zg(J,G){B("EnumBooleanBody",J,G)}function Qg(J,G){B("EnumNumberBody",J,G)}function Yg(J,G){B("EnumStringBody",J,G)}function Wg(J,G){B("EnumSymbolBody",J,G)}function zg(J,G){B("EnumBooleanMember",J,G)}function Kg(J,G){B("EnumNumberMember",J,G)}function Ug(J,G){B("EnumStringMember",J,G)}function Bg(J,G){B("EnumDefaultedMember",J,G)}function Rg(J,G){B("IndexedAccessType",J,G)}function $g(J,G){B("OptionalIndexedAccessType",J,G)}function Mg(J,G){B("JSXAttribute",J,G)}function qg(J,G){B("JSXClosingElement",J,G)}function Fg(J,G){B("JSXElement",J,G)}function jg(J,G){B("JSXEmptyExpression",J,G)}function Og(J,G){B("JSXExpressionContainer",J,G)}function Ag(J,G){B("JSXSpreadChild",J,G)}function Cg(J,G){B("JSXIdentifier",J,G)}function Dg(J,G){B("JSXMemberExpression",J,G)}function Sg(J,G){B("JSXNamespacedName",J,G)}function Ig(J,G){B("JSXOpeningElement",J,G)}function Pg(J,G){B("JSXSpreadAttribute",J,G)}function fg(J,G){B("JSXText",J,G)}function Ng(J,G){B("JSXFragment",J,G)}function Tg(J,G){B("JSXOpeningFragment",J,G)}function wg(J,G){B("JSXClosingFragment",J,G)}function Lg(J,G){B("Noop",J,G)}function kg(J,G){B("Placeholder",J,G)}function bg(J,G){B("V8IntrinsicIdentifier",J,G)}function Eg(J,G){B("ArgumentPlaceholder",J,G)}function vg(J,G){B("BindExpression",J,G)}function gg(J,G){B("ImportAttribute",J,G)}function _g(J,G){B("Decorator",J,G)}function ug(J,G){B("DoExpression",J,G)}function hg(J,G){B("ExportDefaultSpecifier",J,G)}function yg(J,G){B("RecordExpression",J,G)}function xg(J,G){B("TupleExpression",J,G)}function mg(J,G){B("DecimalLiteral",J,G)}function cg(J,G){B("ModuleExpression",J,G)}function lg(J,G){B("TopicReference",J,G)}function ig(J,G){B("PipelineTopicExpression",J,G)}function ag(J,G){B("PipelineBareFunction",J,G)}function pg(J,G){B("PipelinePrimaryTopicReference",J,G)}function rg(J,G){B("TSParameterProperty",J,G)}function dg(J,G){B("TSDeclareFunction",J,G)}function sg(J,G){B("TSDeclareMethod",J,G)}function tg(J,G){B("TSQualifiedName",J,G)}function ng(J,G){B("TSCallSignatureDeclaration",J,G)}function og(J,G){B("TSConstructSignatureDeclaration",J,G)}function eg(J,G){B("TSPropertySignature",J,G)}function J_(J,G){B("TSMethodSignature",J,G)}function G_(J,G){B("TSIndexSignature",J,G)}function X_(J,G){B("TSAnyKeyword",J,G)}function H_(J,G){B("TSBooleanKeyword",J,G)}function V_(J,G){B("TSBigIntKeyword",J,G)}function Z_(J,G){B("TSIntrinsicKeyword",J,G)}function Q_(J,G){B("TSNeverKeyword",J,G)}function Y_(J,G){B("TSNullKeyword",J,G)}function W_(J,G){B("TSNumberKeyword",J,G)}function z_(J,G){B("TSObjectKeyword",J,G)}function K_(J,G){B("TSStringKeyword",J,G)}function U_(J,G){B("TSSymbolKeyword",J,G)}function B_(J,G){B("TSUndefinedKeyword",J,G)}function R_(J,G){B("TSUnknownKeyword",J,G)}function $_(J,G){B("TSVoidKeyword",J,G)}function M_(J,G){B("TSThisType",J,G)}function q_(J,G){B("TSFunctionType",J,G)}function F_(J,G){B("TSConstructorType",J,G)}function j_(J,G){B("TSTypeReference",J,G)}function O_(J,G){B("TSTypePredicate",J,G)}function A_(J,G){B("TSTypeQuery",J,G)}function C_(J,G){B("TSTypeLiteral",J,G)}function D_(J,G){B("TSArrayType",J,G)}function S_(J,G){B("TSTupleType",J,G)}function I_(J,G){B("TSOptionalType",J,G)}function P_(J,G){B("TSRestType",J,G)}function f_(J,G){B("TSNamedTupleMember",J,G)}function N_(J,G){B("TSUnionType",J,G)}function T_(J,G){B("TSIntersectionType",J,G)}function w_(J,G){B("TSConditionalType",J,G)}function L_(J,G){B("TSInferType",J,G)}function k_(J,G){B("TSParenthesizedType",J,G)}function b_(J,G){B("TSTypeOperator",J,G)}function E_(J,G){B("TSIndexedAccessType",J,G)}function v_(J,G){B("TSMappedType",J,G)}function g_(J,G){B("TSLiteralType",J,G)}function __(J,G){B("TSExpressionWithTypeArguments",J,G)}function u_(J,G){B("TSInterfaceDeclaration",J,G)}function h_(J,G){B("TSInterfaceBody",J,G)}function y_(J,G){B("TSTypeAliasDeclaration",J,G)}function x_(J,G){B("TSInstantiationExpression",J,G)}function m_(J,G){B("TSAsExpression",J,G)}function c_(J,G){B("TSSatisfiesExpression",J,G)}function l_(J,G){B("TSTypeAssertion",J,G)}function i_(J,G){B("TSEnumDeclaration",J,G)}function a_(J,G){B("TSEnumMember",J,G)}function p_(J,G){B("TSModuleDeclaration",J,G)}function r_(J,G){B("TSModuleBlock",J,G)}function d_(J,G){B("TSImportType",J,G)}function s_(J,G){B("TSImportEqualsDeclaration",J,G)}function t_(J,G){B("TSExternalModuleReference",J,G)}function n_(J,G){B("TSNonNullExpression",J,G)}function o_(J,G){B("TSExportAssignment",J,G)}function e_(J,G){B("TSNamespaceExportDeclaration",J,G)}function Ju(J,G){B("TSTypeAnnotation",J,G)}function Gu(J,G){B("TSTypeParameterInstantiation",J,G)}function Xu(J,G){B("TSTypeParameterDeclaration",J,G)}function Hu(J,G){B("TSTypeParameter",J,G)}function Vu(J,G){B("Standardized",J,G)}function Zu(J,G){B("Expression",J,G)}function Qu(J,G){B("Binary",J,G)}function Yu(J,G){B("Scopable",J,G)}function Wu(J,G){B("BlockParent",J,G)}function zu(J,G){B("Block",J,G)}function Ku(J,G){B("Statement",J,G)}function Uu(J,G){B("Terminatorless",J,G)}function Bu(J,G){B("CompletionStatement",J,G)}function Ru(J,G){B("Conditional",J,G)}function $u(J,G){B("Loop",J,G)}function Mu(J,G){B("While",J,G)}function qu(J,G){B("ExpressionWrapper",J,G)}function Fu(J,G){B("For",J,G)}function ju(J,G){B("ForXStatement",J,G)}function Ou(J,G){B("Function",J,G)}function Au(J,G){B("FunctionParent",J,G)}function Cu(J,G){B("Pureish",J,G)}function Du(J,G){B("Declaration",J,G)}function Su(J,G){B("PatternLike",J,G)}function Iu(J,G){B("LVal",J,G)}function Pu(J,G){B("TSEntityName",J,G)}function fu(J,G){B("Literal",J,G)}function Nu(J,G){B("Immutable",J,G)}function Tu(J,G){B("UserWhitespacable",J,G)}function wu(J,G){B("Method",J,G)}function Lu(J,G){B("ObjectMember",J,G)}function ku(J,G){B("Property",J,G)}function bu(J,G){B("UnaryLike",J,G)}function Eu(J,G){B("Pattern",J,G)}function vu(J,G){B("Class",J,G)}function gu(J,G){B("ImportOrExportDeclaration",J,G)}function _u(J,G){B("ExportDeclaration",J,G)}function uu(J,G){B("ModuleSpecifier",J,G)}function hu(J,G){B("Accessor",J,G)}function yu(J,G){B("Private",J,G)}function xu(J,G){B("Flow",J,G)}function mu(J,G){B("FlowType",J,G)}function cu(J,G){B("FlowBaseAnnotation",J,G)}function lu(J,G){B("FlowDeclaration",J,G)}function iu(J,G){B("FlowPredicate",J,G)}function au(J,G){B("EnumBody",J,G)}function pu(J,G){B("EnumMember",J,G)}function ru(J,G){B("JSX",J,G)}function du(J,G){B("Miscellaneous",J,G)}function su(J,G){B("TypeScript",J,G)}function tu(J,G){B("TSTypeElement",J,G)}function nu(J,G){B("TSType",J,G)}function ou(J,G){B("TSBaseType",J,G)}function eu(J,G){e0.default("assertNumberLiteral","assertNumericLiteral"),B("NumberLiteral",J,G)}function Jh(J,G){e0.default("assertRegexLiteral","assertRegExpLiteral"),B("RegexLiteral",J,G)}function Gh(J,G){e0.default("assertRestProperty","assertRestElement"),B("RestProperty",J,G)}function Xh(J,G){e0.default("assertSpreadProperty","assertSpreadElement"),B("SpreadProperty",J,G)}function Hh(J,G){e0.default("assertModuleDeclaration","assertImportOrExportDeclaration"),B("ModuleDeclaration",J,G)}});var W6=C((Q6)=>{Object.defineProperty(Q6,"__esModule",{value:!0});Q6.default=void 0;var K2=l1(),cR1=Q6.default=hl;function hl(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 T4=C((U6)=>{Object.defineProperty(U6,"__esModule",{value:!0});U6.default=K6;var J5=w1();function z6(J){return J5.isIdentifier(J)?J.name:`${J.id.name}.${z6(J.qualification)}`}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(J5.isAnyTypeAnnotation(Y))return[Y];if(J5.isFlowBaseAnnotation(Y)){H.set(Y.type,Y);continue}if(J5.isUnionTypeAnnotation(Y)){if(!V.has(Y.types))G.push(...Y.types),V.add(Y.types);continue}if(J5.isGenericTypeAnnotation(Y)){let W=z6(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=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 R6=C((B6)=>{Object.defineProperty(B6,"__esModule",{value:!0});B6.default=cl;var xl=l1(),ml=T4();function cl(J){let G=ml.default(J);if(G.length===1)return G[0];else return xl.unionTypeAnnotation(G)}});var F6=C((q6)=>{Object.defineProperty(q6,"__esModule",{value:!0});q6.default=M6;var G5=w1();function $6(J){return G5.isIdentifier(J)?J.name:`${J.right.name}.${$6(J.left)}`}function M6(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(G5.isTSAnyKeyword(Y))return[Y];if(G5.isTSBaseType(Y)){H.set(Y.type,Y);continue}if(G5.isTSUnionType(Y)){if(!V.has(Y.types))G.push(...Y.types),V.add(Y.types);continue}if(G5.isTSTypeReference(Y)&&Y.typeParameters){let W=$6(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=M6(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 O6=C((j6)=>{Object.defineProperty(j6,"__esModule",{value:!0});j6.default=dl;var al=l1(),pl=F6(),rl=w1();function dl(J){let G=J.map((H)=>{return rl.isTSTypeAnnotation(H)?H.typeAnnotation:H}),X=pl.default(G);if(X.length===1)return X[0];else return al.tsUnionType(X)}});var A6=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=l1()});var w4=C((D6)=>{Object.defineProperty(D6,"__esModule",{value:!0});D6.buildUndefinedNode=tl;var C6=l1();function tl(){return C6.unaryExpression("void",C6.numericLiteral(0),!0)}});var y2=C((N6)=>{Object.defineProperty(N6,"__esModule",{value:!0});N6.default=ol;var S6=X2(),I6=w1(),{hasOwn:j2}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function P6(J,G,X,H){if(J&&typeof J.type==="string")return f6(J,G,X,H);return J}function L4(J,G,X,H){if(Array.isArray(J))return J.map((V)=>P6(V,G,X,H));return P6(J,G,X,H)}function ol(J,G=!0,X=!1){return f6(J,G,X,new Map)}function f6(J,G=!0,X=!1,H){if(!J)return J;let{type:V}=J,Z={type:J.type};if(I6.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?L4(J.typeAnnotation,!0,X,H):J.typeAnnotation;if(j2(J,"decorators"))Z.decorators=G?L4(J.decorators,!0,X,H):J.decorators}else if(!j2(S6.NODE_FIELDS,V))throw new Error(`Unknown node type: "${V}"`);else for(let Q of Object.keys(S6.NODE_FIELDS[V]))if(j2(J,Q))if(G)Z[Q]=I6.isFile(J)&&Q==="comments"?s5(J.comments,G,X,H):L4(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=s5(J.leadingComments,G,X,H);if(j2(J,"innerComments"))Z.innerComments=s5(J.innerComments,G,X,H);if(j2(J,"trailingComments"))Z.trailingComments=s5(J.trailingComments,G,X,H);if(j2(J,"extra"))Z.extra=Object.assign({},J.extra);return Z}function s5(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 w6=C((T6)=>{Object.defineProperty(T6,"__esModule",{value:!0});T6.default=Gi;var Ji=y2();function Gi(J){return Ji.default(J,!1)}});var k6=C((L6)=>{Object.defineProperty(L6,"__esModule",{value:!0});L6.default=Vi;var Hi=y2();function Vi(J){return Hi.default(J)}});var E6=C((b6)=>{Object.defineProperty(b6,"__esModule",{value:!0});b6.default=Yi;var Qi=y2();function Yi(J){return Qi.default(J,!0,!0)}});var g6=C((v6)=>{Object.defineProperty(v6,"__esModule",{value:!0});v6.default=Ki;var zi=y2();function Ki(J){return zi.default(J,!1,!0)}});var k4=C((_6)=>{Object.defineProperty(_6,"__esModule",{value:!0});_6.default=Bi;function Bi(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 h6=C((u6)=>{Object.defineProperty(u6,"__esModule",{value:!0});u6.default=Mi;var $i=k4();function Mi(J,G,X,H){return $i.default(J,G,[{type:H?"CommentLine":"CommentBlock",value:X}])}});var t5=C((y6)=>{Object.defineProperty(y6,"__esModule",{value:!0});y6.default=Fi;function Fi(J,G,X){if(G&&X)G[J]=Array.from(new Set([].concat(G[J],X[J]).filter(Boolean)))}});var b4=C((x6)=>{Object.defineProperty(x6,"__esModule",{value:!0});x6.default=Ai;var Oi=t5();function Ai(J,G){Oi.default("innerComments",J,G)}});var E4=C((m6)=>{Object.defineProperty(m6,"__esModule",{value:!0});m6.default=Si;var Di=t5();function Si(J,G){Di.default("leadingComments",J,G)}});var v4=C((c6)=>{Object.defineProperty(c6,"__esModule",{value:!0});c6.default=fi;var Pi=t5();function fi(J,G){Pi.default("trailingComments",J,G)}});var g4=C((l6)=>{Object.defineProperty(l6,"__esModule",{value:!0});l6.default=ki;var Ti=v4(),wi=E4(),Li=b4();function ki(J,G){return Ti.default(J,G),wi.default(J,G),Li.default(J,G),J}});var a6=C((i6)=>{Object.defineProperty(i6,"__esModule",{value:!0});i6.default=vi;var Ei=u2();function vi(J){return Ei.COMMENT_KEYS.forEach((G)=>{J[G]=null}),J}});var d6=C((p6)=>{Object.defineProperty(p6,"__esModule",{value:!0});p6.WHILE_TYPES=p6.USERWHITESPACABLE_TYPES=p6.UNARYLIKE_TYPES=p6.TYPESCRIPT_TYPES=p6.TSTYPE_TYPES=p6.TSTYPEELEMENT_TYPES=p6.TSENTITYNAME_TYPES=p6.TSBASETYPE_TYPES=p6.TERMINATORLESS_TYPES=p6.STATEMENT_TYPES=p6.STANDARDIZED_TYPES=p6.SCOPABLE_TYPES=p6.PUREISH_TYPES=p6.PROPERTY_TYPES=p6.PRIVATE_TYPES=p6.PATTERN_TYPES=p6.PATTERNLIKE_TYPES=p6.OBJECTMEMBER_TYPES=p6.MODULESPECIFIER_TYPES=p6.MODULEDECLARATION_TYPES=p6.MISCELLANEOUS_TYPES=p6.METHOD_TYPES=p6.LVAL_TYPES=p6.LOOP_TYPES=p6.LITERAL_TYPES=p6.JSX_TYPES=p6.IMPORTOREXPORTDECLARATION_TYPES=p6.IMMUTABLE_TYPES=p6.FUNCTION_TYPES=p6.FUNCTIONPARENT_TYPES=p6.FOR_TYPES=p6.FORXSTATEMENT_TYPES=p6.FLOW_TYPES=p6.FLOWTYPE_TYPES=p6.FLOWPREDICATE_TYPES=p6.FLOWDECLARATION_TYPES=p6.FLOWBASEANNOTATION_TYPES=p6.EXPRESSION_TYPES=p6.EXPRESSIONWRAPPER_TYPES=p6.EXPORTDECLARATION_TYPES=p6.ENUMMEMBER_TYPES=p6.ENUMBODY_TYPES=p6.DECLARATION_TYPES=p6.CONDITIONAL_TYPES=p6.COMPLETIONSTATEMENT_TYPES=p6.CLASS_TYPES=p6.BLOCK_TYPES=p6.BLOCKPARENT_TYPES=p6.BINARY_TYPES=p6.ACCESSOR_TYPES=void 0;var X1=X2(),z$1=p6.STANDARDIZED_TYPES=X1.FLIPPED_ALIAS_KEYS.Standardized,K$1=p6.EXPRESSION_TYPES=X1.FLIPPED_ALIAS_KEYS.Expression,U$1=p6.BINARY_TYPES=X1.FLIPPED_ALIAS_KEYS.Binary,B$1=p6.SCOPABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.Scopable,R$1=p6.BLOCKPARENT_TYPES=X1.FLIPPED_ALIAS_KEYS.BlockParent,$$1=p6.BLOCK_TYPES=X1.FLIPPED_ALIAS_KEYS.Block,M$1=p6.STATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.Statement,q$1=p6.TERMINATORLESS_TYPES=X1.FLIPPED_ALIAS_KEYS.Terminatorless,F$1=p6.COMPLETIONSTATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.CompletionStatement,j$1=p6.CONDITIONAL_TYPES=X1.FLIPPED_ALIAS_KEYS.Conditional,O$1=p6.LOOP_TYPES=X1.FLIPPED_ALIAS_KEYS.Loop,A$1=p6.WHILE_TYPES=X1.FLIPPED_ALIAS_KEYS.While,C$1=p6.EXPRESSIONWRAPPER_TYPES=X1.FLIPPED_ALIAS_KEYS.ExpressionWrapper,D$1=p6.FOR_TYPES=X1.FLIPPED_ALIAS_KEYS.For,S$1=p6.FORXSTATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.ForXStatement,I$1=p6.FUNCTION_TYPES=X1.FLIPPED_ALIAS_KEYS.Function,P$1=p6.FUNCTIONPARENT_TYPES=X1.FLIPPED_ALIAS_KEYS.FunctionParent,f$1=p6.PUREISH_TYPES=X1.FLIPPED_ALIAS_KEYS.Pureish,N$1=p6.DECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.Declaration,T$1=p6.PATTERNLIKE_TYPES=X1.FLIPPED_ALIAS_KEYS.PatternLike,w$1=p6.LVAL_TYPES=X1.FLIPPED_ALIAS_KEYS.LVal,L$1=p6.TSENTITYNAME_TYPES=X1.FLIPPED_ALIAS_KEYS.TSEntityName,k$1=p6.LITERAL_TYPES=X1.FLIPPED_ALIAS_KEYS.Literal,b$1=p6.IMMUTABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.Immutable,E$1=p6.USERWHITESPACABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.UserWhitespacable,v$1=p6.METHOD_TYPES=X1.FLIPPED_ALIAS_KEYS.Method,g$1=p6.OBJECTMEMBER_TYPES=X1.FLIPPED_ALIAS_KEYS.ObjectMember,_$1=p6.PROPERTY_TYPES=X1.FLIPPED_ALIAS_KEYS.Property,u$1=p6.UNARYLIKE_TYPES=X1.FLIPPED_ALIAS_KEYS.UnaryLike,h$1=p6.PATTERN_TYPES=X1.FLIPPED_ALIAS_KEYS.Pattern,y$1=p6.CLASS_TYPES=X1.FLIPPED_ALIAS_KEYS.Class,_i=p6.IMPORTOREXPORTDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,x$1=p6.EXPORTDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.ExportDeclaration,m$1=p6.MODULESPECIFIER_TYPES=X1.FLIPPED_ALIAS_KEYS.ModuleSpecifier,c$1=p6.ACCESSOR_TYPES=X1.FLIPPED_ALIAS_KEYS.Accessor,l$1=p6.PRIVATE_TYPES=X1.FLIPPED_ALIAS_KEYS.Private,i$1=p6.FLOW_TYPES=X1.FLIPPED_ALIAS_KEYS.Flow,a$1=p6.FLOWTYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowType,p$1=p6.FLOWBASEANNOTATION_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,r$1=p6.FLOWDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowDeclaration,d$1=p6.FLOWPREDICATE_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowPredicate,s$1=p6.ENUMBODY_TYPES=X1.FLIPPED_ALIAS_KEYS.EnumBody,t$1=p6.ENUMMEMBER_TYPES=X1.FLIPPED_ALIAS_KEYS.EnumMember,n$1=p6.JSX_TYPES=X1.FLIPPED_ALIAS_KEYS.JSX,o$1=p6.MISCELLANEOUS_TYPES=X1.FLIPPED_ALIAS_KEYS.Miscellaneous,e$1=p6.TYPESCRIPT_TYPES=X1.FLIPPED_ALIAS_KEYS.TypeScript,JM1=p6.TSTYPEELEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.TSTypeElement,GM1=p6.TSTYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.TSType,XM1=p6.TSBASETYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.TSBaseType,HM1=p6.MODULEDECLARATION_TYPES=_i});var u4=C((s6)=>{Object.defineProperty(s6,"__esModule",{value:!0});s6.default=ba;var n5=w1(),_4=l1();function ba(J,G){if(n5.isBlockStatement(J))return J;let X=[];if(n5.isEmptyStatement(J))X=[];else{if(!n5.isStatement(J))if(n5.isFunction(G))J=_4.returnStatement(J);else J=_4.expressionStatement(J);X=[J]}return _4.blockStatement(X)}});var n6=C((t6)=>{Object.defineProperty(t6,"__esModule",{value:!0});t6.default=ga;var va=u4();function ga(J,G="body"){let X=va.default(J[G],J);return J[G]=X,X}});var h4=C((o6)=>{Object.defineProperty(o6,"__esModule",{value:!0});o6.default=ya;var ua=F0(),ha=s0();function ya(J){J=J+"";let G="";for(let X of J)G+=ha.isIdentifierChar(X.codePointAt(0))?X:"-";if(G=G.replace(/^[-0-9]+/,""),G=G.replace(/[-\s]+(.)?/g,function(X,H){return H?H.toUpperCase():""}),!ua.default(G))G=`_${G}`;return G||"_"}});var J7=C((e6)=>{Object.defineProperty(e6,"__esModule",{value:!0});e6.default=ca;var ma=h4();function ca(J){if(J=ma.default(J),J==="eval"||J==="arguments")J="_"+J;return J}});var X7=C((G7)=>{Object.defineProperty(G7,"__esModule",{value:!0});G7.default=pa;var ia=w1(),aa=l1();function pa(J,G=J.key||J.property){if(!J.computed&&ia.isIdentifier(G))G=aa.stringLiteral(G.name);return G}});var Z7=C((H7)=>{Object.defineProperty(H7,"__esModule",{value:!0});H7.default=void 0;var X5=w1(),KM1=H7.default=da;function da(J){if(X5.isExpressionStatement(J))J=J.expression;if(X5.isExpression(J))return J;if(X5.isClass(J))J.type="ClassExpression";else if(X5.isFunction(J))J.type="FunctionExpression";if(!X5.isExpression(J))throw new Error(`cannot turn ${J.type} to an expression`);return J}});var x4=C((Q7)=>{Object.defineProperty(Q7,"__esModule",{value:!0});Q7.default=y4;var sa=X2();function y4(J,G,X){if(!J)return;let H=sa.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)y4(Q,G,X);else y4(Z,G,X)}}});var m4=C((W7)=>{Object.defineProperty(W7,"__esModule",{value:!0});W7.default=ea;var na=u2(),Y7=["tokens","start","end","loc","raw","rawValue"],oa=[...na.COMMENT_KEYS,"comments",...Y7];function ea(J,G={}){let X=G.preserveComments?Y7:oa;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 c4=C((z7)=>{Object.defineProperty(z7,"__esModule",{value:!0});z7.default=Hp;var Gp=x4(),Xp=m4();function Hp(J,G){return Gp.default(J,Xp.default,G),J}});var B7=C((U7)=>{Object.defineProperty(U7,"__esModule",{value:!0});U7.default=n2;var K7=w1(),Zp=y2(),Qp=c4();function n2(J,G=J.key){let X;if(J.kind==="method")return n2.increment()+"";else if(K7.isIdentifier(G))X=G.name;else if(K7.isStringLiteral(G))X=JSON.stringify(G.value);else X=JSON.stringify(Qp.default(Zp.default(G)));if(J.computed)X=`[${X}]`;if(J.static)X=`static:${X}`;return X}n2.uid=0;n2.increment=function(){if(n2.uid>=Number.MAX_SAFE_INTEGER)return n2.uid=0;else return n2.uid++}});var M7=C((R7)=>{Object.defineProperty(R7,"__esModule",{value:!0});R7.default=void 0;var o5=w1(),Wp=l1(),qM1=R7.default=zp;function zp(J,G){if(o5.isStatement(J))return J;let X=!1,H;if(o5.isClass(J))X=!0,H="ClassDeclaration";else if(o5.isFunction(J))X=!0,H="FunctionDeclaration";else if(o5.isAssignmentExpression(J))return Wp.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 j7=C((q7)=>{Object.defineProperty(q7,"__esModule",{value:!0});q7.default=void 0;var Kp=F0(),h1=l1(),jM1=q7.default=l4,Up=Function.call.bind(Object.prototype.toString);function Bp(J){return Up(J)==="[object RegExp]"}function Rp(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 l4(J){if(J===void 0)return h1.identifier("undefined");if(J===!0||J===!1)return h1.booleanLiteral(J);if(J===null)return h1.nullLiteral();if(typeof J==="string")return h1.stringLiteral(J);if(typeof J==="number"){let G;if(Number.isFinite(J))G=h1.numericLiteral(Math.abs(J));else{let X;if(Number.isNaN(J))X=h1.numericLiteral(0);else X=h1.numericLiteral(1);G=h1.binaryExpression("/",X,h1.numericLiteral(0))}if(J<0||Object.is(J,-0))G=h1.unaryExpression("-",G);return G}if(Bp(J)){let G=J.source,X=/\/([a-z]*)$/.exec(J.toString())[1];return h1.regExpLiteral(G,X)}if(Array.isArray(J))return h1.arrayExpression(J.map(l4));if(Rp(J)){let G=[];for(let X of Object.keys(J)){let H;if(Kp.default(X))H=h1.identifier(X);else H=h1.stringLiteral(X);G.push(h1.objectProperty(H,l4(J[X])))}return h1.objectExpression(G)}throw new Error("don't know how to turn this value into a node")}});var A7=C((O7)=>{Object.defineProperty(O7,"__esModule",{value:!0});O7.default=Mp;var $p=l1();function Mp(J,G,X=!1){return J.object=$p.memberExpression(J.object,J.property,J.computed),J.property=G,J.computed=!!X,J}});var S7=C((D7)=>{Object.defineProperty(D7,"__esModule",{value:!0});D7.default=jp;var C7=u2(),Fp=g4();function jp(J,G){if(!J||!G)return J;for(let X of C7.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 C7.INHERIT_KEYS.force)J[X]=G[X];return Fp.default(J,G),J}});var P7=C((I7)=>{Object.defineProperty(I7,"__esModule",{value:!0});I7.default=Dp;var Ap=l1(),Cp=W1();function Dp(J,G){if(Cp.isSuper(J.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return J.object=Ap.memberExpression(G,J.object),J}});var N7=C((f7)=>{Object.defineProperty(f7,"__esModule",{value:!0});f7.default=Ip;function Ip(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 H5=C((T7)=>{Object.defineProperty(T7,"__esModule",{value:!0});T7.default=i4;var I2=w1();function i4(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=i4.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 fp={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"]};i4.keys=fp});var k7=C((w7)=>{Object.defineProperty(w7,"__esModule",{value:!0});w7.default=void 0;var Tp=H5(),PM1=w7.default=wp;function wp(J,G){return Tp.default(J,G,!0)}});var v7=C((E7)=>{Object.defineProperty(E7,"__esModule",{value:!0});E7.default=kp;var H2=w1();function Lp(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 b7(J){if(!J.computed||H2.isLiteral(J.key))return J.key}function kp(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=b7(G);else if(H2.isObjectMethod(J)||H2.isClassMethod(J)){if(H=b7(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)?Lp(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 _7=C((g7)=>{Object.defineProperty(g7,"__esModule",{value:!0});g7.default=vp;var Ep=X2();function vp(J,G,X){if(typeof G==="function")G={enter:G};let{enter:H,exit:V}=G;a4(J,H,V,X,[])}function a4(J,G,X,H,V){let Z=Ep.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}),a4(z,G,X,H,V),V.pop()}else if(Y)V.push({node:J,key:Q}),a4(Y,G,X,H,V),V.pop()}if(X)X(J,V,H)}});var h7=C((u7)=>{Object.defineProperty(u7,"__esModule",{value:!0});u7.default=up;var _p=H5();function up(J,G,X){if(X&&J.type==="Identifier"&&G.type==="ObjectProperty"&&X.type==="ObjectExpression")return!1;let H=_p.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 p4=C((y7)=>{Object.defineProperty(y7,"__esModule",{value:!0});y7.default=mp;var yp=w1(),xp=u2();function mp(J){return yp.isVariableDeclaration(J)&&(J.kind!=="var"||J[xp.BLOCK_SCOPED_SYMBOL])}});var c7=C((m7)=>{Object.defineProperty(m7,"__esModule",{value:!0});m7.default=ip;var x7=w1(),lp=p4();function ip(J){return x7.isFunctionDeclaration(J)||x7.isClassDeclaration(J)||lp.default(J)}});var i7=C((l7)=>{Object.defineProperty(l7,"__esModule",{value:!0});l7.default=dp;var pp=y5(),rp=w1();function dp(J){if(pp.default(J.type,"Immutable"))return!0;if(rp.isIdentifier(J))if(J.name==="undefined")return!0;else return!1;return!1}});var r7=C((p7)=>{Object.defineProperty(p7,"__esModule",{value:!0});p7.default=r4;var a7=X2();function r4(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(a7.NODE_FIELDS[J.type]||J.type),H=a7.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(!r4(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(!r4(Z,Q))return!1}return!0}});var s7=C((d7)=>{Object.defineProperty(d7,"__esModule",{value:!0});d7.default=np;function np(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 n7=C((t7)=>{Object.defineProperty(t7,"__esModule",{value:!0});t7.default=ep;var o2=w1();function ep(J,G){if(o2.isBlockStatement(J)&&(o2.isFunction(G)||o2.isCatchClause(G)))return!1;if(o2.isPattern(J)&&(o2.isFunction(G)||o2.isCatchClause(G)))return!0;return o2.isScopable(J)}});var JH=C((e7)=>{Object.defineProperty(e7,"__esModule",{value:!0});e7.default=Gr;var o7=w1();function Gr(J){return o7.isImportDefaultSpecifier(J)||o7.isIdentifier(J.imported||J.exported,{name:"default"})}});var XH=C((GH)=>{Object.defineProperty(GH,"__esModule",{value:!0});GH.default=Zr;var Hr=F0(),Vr=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 Zr(J){return Hr.default(J)&&!Vr.has(J)}});var VH=C((HH)=>{Object.defineProperty(HH,"__esModule",{value:!0});HH.default=zr;var Yr=w1(),Wr=u2();function zr(J){return Yr.isVariableDeclaration(J,{kind:"var"})&&!J[Wr.BLOCK_SCOPED_SYMBOL]}});var QH=C((ZH)=>{Object.defineProperty(ZH,"__esModule",{value:!0});ZH.default=e5;var Ur=H5(),e2=w1(),d4=l1(),s4=w4(),Br=y2();function e5(J,G){let X=[],H=!0;for(let V of J){if(!e2.isEmptyStatement(V))H=!1;if(e2.isExpression(V))X.push(V);else if(e2.isExpressionStatement(V))X.push(V.expression);else if(e2.isVariableDeclaration(V)){if(V.kind!=="var")return;for(let Z of V.declarations){let Q=Ur.default(Z);for(let Y of Object.keys(Q))G.push({kind:V.kind,id:Br.default(Q[Y])});if(Z.init)X.push(d4.assignmentExpression("=",Z.id,Z.init))}H=!0}else if(e2.isIfStatement(V)){let Z=V.consequent?e5([V.consequent],G):s4.buildUndefinedNode(),Q=V.alternate?e5([V.alternate],G):s4.buildUndefinedNode();if(!Z||!Q)return;X.push(d4.conditionalExpression(V.test,Z,Q))}else if(e2.isBlockStatement(V)){let Z=e5(V.body,G);if(!Z)return;X.push(Z)}else if(e2.isEmptyStatement(V)){if(J.indexOf(V)===0)H=!0}else return}if(H)X.push(s4.buildUndefinedNode());if(X.length===1)return X[0];else return d4.sequenceExpression(X)}});var WH=C((YH)=>{Object.defineProperty(YH,"__esModule",{value:!0});YH.default=Mr;var $r=QH();function Mr(J,G){if(!(J!=null&&J.length))return;let X=[],H=$r.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 Ad.default}});Object.defineProperty(v,"addComment",{enumerable:!0,get:function(){return Tr.default}});Object.defineProperty(v,"addComments",{enumerable:!0,get:function(){return wr.default}});Object.defineProperty(v,"appendToMemberExpression",{enumerable:!0,get:function(){return ir.default}});Object.defineProperty(v,"assertNode",{enumerable:!0,get:function(){return Ar.default}});Object.defineProperty(v,"buildMatchMemberExpression",{enumerable:!0,get:function(){return Od.default}});Object.defineProperty(v,"clone",{enumerable:!0,get:function(){return Ir.default}});Object.defineProperty(v,"cloneDeep",{enumerable:!0,get:function(){return Pr.default}});Object.defineProperty(v,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return fr.default}});Object.defineProperty(v,"cloneNode",{enumerable:!0,get:function(){return Sr.default}});Object.defineProperty(v,"cloneWithoutLoc",{enumerable:!0,get:function(){return Nr.default}});Object.defineProperty(v,"createFlowUnionType",{enumerable:!0,get:function(){return zH.default}});Object.defineProperty(v,"createTSUnionType",{enumerable:!0,get:function(){return Dr.default}});Object.defineProperty(v,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return Cr.default}});Object.defineProperty(v,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return zH.default}});Object.defineProperty(v,"ensureBlock",{enumerable:!0,get:function(){return gr.default}});Object.defineProperty(v,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return tr.default}});Object.defineProperty(v,"getBindingIdentifiers",{enumerable:!0,get:function(){return nr.default}});Object.defineProperty(v,"getFunctionName",{enumerable:!0,get:function(){return er.default}});Object.defineProperty(v,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return or.default}});Object.defineProperty(v,"inheritInnerComments",{enumerable:!0,get:function(){return Lr.default}});Object.defineProperty(v,"inheritLeadingComments",{enumerable:!0,get:function(){return kr.default}});Object.defineProperty(v,"inheritTrailingComments",{enumerable:!0,get:function(){return Er.default}});Object.defineProperty(v,"inherits",{enumerable:!0,get:function(){return ar.default}});Object.defineProperty(v,"inheritsComments",{enumerable:!0,get:function(){return br.default}});Object.defineProperty(v,"is",{enumerable:!0,get:function(){return Xd.default}});Object.defineProperty(v,"isBinding",{enumerable:!0,get:function(){return Hd.default}});Object.defineProperty(v,"isBlockScoped",{enumerable:!0,get:function(){return Vd.default}});Object.defineProperty(v,"isImmutable",{enumerable:!0,get:function(){return Zd.default}});Object.defineProperty(v,"isLet",{enumerable:!0,get:function(){return Qd.default}});Object.defineProperty(v,"isNode",{enumerable:!0,get:function(){return Yd.default}});Object.defineProperty(v,"isNodesEquivalent",{enumerable:!0,get:function(){return Wd.default}});Object.defineProperty(v,"isPlaceholderType",{enumerable:!0,get:function(){return zd.default}});Object.defineProperty(v,"isReferenced",{enumerable:!0,get:function(){return Kd.default}});Object.defineProperty(v,"isScope",{enumerable:!0,get:function(){return Ud.default}});Object.defineProperty(v,"isSpecifierDefault",{enumerable:!0,get:function(){return Bd.default}});Object.defineProperty(v,"isType",{enumerable:!0,get:function(){return Rd.default}});Object.defineProperty(v,"isValidES3Identifier",{enumerable:!0,get:function(){return $d.default}});Object.defineProperty(v,"isValidIdentifier",{enumerable:!0,get:function(){return Md.default}});Object.defineProperty(v,"isVar",{enumerable:!0,get:function(){return qd.default}});Object.defineProperty(v,"matchesPattern",{enumerable:!0,get:function(){return Fd.default}});Object.defineProperty(v,"prependToMemberExpression",{enumerable:!0,get:function(){return pr.default}});v.react=void 0;Object.defineProperty(v,"removeComments",{enumerable:!0,get:function(){return vr.default}});Object.defineProperty(v,"removeProperties",{enumerable:!0,get:function(){return rr.default}});Object.defineProperty(v,"removePropertiesDeep",{enumerable:!0,get:function(){return dr.default}});Object.defineProperty(v,"removeTypeDuplicates",{enumerable:!0,get:function(){return sr.default}});Object.defineProperty(v,"shallowEqual",{enumerable:!0,get:function(){return Gd.default}});Object.defineProperty(v,"toBindingIdentifierName",{enumerable:!0,get:function(){return _r.default}});Object.defineProperty(v,"toBlock",{enumerable:!0,get:function(){return ur.default}});Object.defineProperty(v,"toComputedKey",{enumerable:!0,get:function(){return hr.default}});Object.defineProperty(v,"toExpression",{enumerable:!0,get:function(){return yr.default}});Object.defineProperty(v,"toIdentifier",{enumerable:!0,get:function(){return xr.default}});Object.defineProperty(v,"toKeyAlias",{enumerable:!0,get:function(){return mr.default}});Object.defineProperty(v,"toStatement",{enumerable:!0,get:function(){return cr.default}});Object.defineProperty(v,"traverse",{enumerable:!0,get:function(){return J9.default}});Object.defineProperty(v,"traverseFast",{enumerable:!0,get:function(){return Jd.default}});Object.defineProperty(v,"validate",{enumerable:!0,get:function(){return jd.default}});Object.defineProperty(v,"valueToNode",{enumerable:!0,get:function(){return lr.default}});var Fr=hG(),jr=xG(),Or=J6(),Ar=H6(),t4=Z6();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 Cr=W6(),zH=R6(),Dr=O6(),n4=l1();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 o4=A6();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=w4();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 Sr=y2(),Ir=w6(),Pr=k6(),fr=E6(),Nr=g6(),Tr=h6(),wr=k4(),Lr=b4(),kr=E4(),br=g4(),Er=v4(),vr=a6(),J8=d6();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 G8=u2();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 gr=n6(),_r=J7(),ur=u4(),hr=X7(),yr=Z7(),xr=h4(),mr=B7(),cr=M7(),lr=j7(),X8=X2();Object.keys(X8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===X8[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return X8[J]}})});var ir=A7(),ar=S7(),pr=P7(),rr=m4(),dr=c4(),sr=T4(),tr=N7(),nr=H5(),or=k7(),er=v7(),J9=_7();Object.keys(J9).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===J9[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return J9[J]}})});var Jd=x4(),Gd=h5(),Xd=q0(),Hd=h7(),Vd=c7(),Zd=i7(),Qd=p4(),Yd=N4(),Wd=r7(),zd=Y4(),Kd=s7(),Ud=n7(),Bd=JH(),Rd=y5(),$d=XH(),Md=F0(),qd=VH(),Fd=Z4(),jd=i5(),Od=Q4(),H8=w1();Object.keys(H8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(P2,J))return;if(J in v&&v[J]===H8[J])return;Object.defineProperty(v,J,{enumerable:!0,get:function(){return H8[J]}})});var Ad=l0(),mM1=v.react={isReactComponent:Fr.default,isCompatTag:jr.default,buildChildren:Or.default};v.toSequenceExpression=WH().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 FH=C((MH)=>{Object.defineProperty(MH,"__esModule",{value:!0});MH.nodes=void 0;var Cd=W1(),{FLIPPED_ALIAS_KEYS:Dd,isArrayExpression:Sd,isAssignmentExpression:BH,isBinary:RH,isBlockStatement:Id,isCallExpression:$H,isFunction:V5,isIdentifier:G9,isLiteral:Pd,isMemberExpression:V8,isObjectExpression:fd,isOptionalCallExpression:Nd,isOptionalMemberExpression:Td,isStringLiteral:wd}=Cd;function A0(J,G){if(!J)return G;if(V8(J)||Td(J)){if(A0(J.object,G),J.computed)A0(J.property,G)}else if(RH(J)||BH(J))A0(J.left,G),A0(J.right,G);else if($H(J)||Nd(J))G.hasCall=!0,A0(J.callee,G);else if(V5(J))G.hasFunction=!0;else if(G9(J))G.hasHelper=G.hasHelper||J.callee&&f2(J.callee);return G}function UH(J){return A0(J,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function f2(J){if(!J)return!1;if(V8(J))return f2(J.object)||f2(J.property);else if(G9(J))return J.name==="require"||J.name.charCodeAt(0)===95;else if($H(J))return f2(J.callee);else if(RH(J)||BH(J))return G9(J.left)&&f2(J.left)||f2(J.right);else return!1}function Ld(J){return Pd(J)||fd(J)||Sd(J)||G9(J)||V8(J)}var J0=MH.nodes={AssignmentExpression(J){let G=UH(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(V5(J.left)||V5(J.right))return 2},Literal(J){if(wd(J)&&J.value==="use strict")return 2},CallExpression(J){if(V5(J.callee)||f2(J))return 3},OptionalCallExpression(J){if(V5(J.callee))return 3},VariableDeclaration(J){for(let G=0;G<J.declarations.length;G++){let X=J.declarations[G],H=f2(X.id)&&!Ld(X.init);if(!H&&X.init){let V=UH(X.init);H=f2(X.init)&&V.hasCall||V.hasFunction}if(H)return 3}},IfStatement(J){if(Id(J.consequent))return 3}};J0.ObjectProperty=J0.ObjectTypeProperty=J0.ObjectMethod=function(J,G){if(G.properties[0]===J)return 1};J0.ObjectTypeCallProperty=function(J,G){var X;if(G.callProperties[0]===J&&!((X=G.properties)!=null&&X.length))return 1};J0.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};J0.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(Dd[J]||[]).forEach(function(X){let H=G?3:0;J0[X]=()=>H})})});var fH=C((PH)=>{Object.defineProperty(PH,"__esModule",{value:!0});PH.AssignmentExpression=Vs;PH.Binary=DH;PH.BinaryExpression=od;PH.ClassExpression=Gs;PH.ArrowFunctionExpression=PH.ConditionalExpression=IH;PH.DoExpression=ad;PH.FunctionExpression=Xs;PH.FunctionTypeAnnotation=cd;PH.Identifier=Qs;PH.LogicalExpression=Zs;PH.NullableTypeAnnotation=md;PH.ObjectExpression=id;PH.OptionalIndexedAccessType=rd;PH.OptionalCallExpression=PH.OptionalMemberExpression=Hs;PH.SequenceExpression=ed;PH.TSSatisfiesExpression=PH.TSAsExpression=dd;PH.TSInferType=td;PH.TSInstantiationExpression=nd;PH.UnaryLike=PH.TSTypeAssertion=SH;PH.TSIntersectionType=PH.TSUnionType=sd;PH.IntersectionTypeAnnotation=PH.UnionTypeAnnotation=pd;PH.UpdateExpression=ld;PH.AwaitExpression=PH.YieldExpression=Js;var kd=W1(),V2=x2(),{isArrayTypeAnnotation:bd,isBinaryExpression:Ed,isCallExpression:vd,isForOfStatement:gd,isIndexedAccessType:_d,isMemberExpression:AH,isObjectPattern:ud,isOptionalMemberExpression:hd,isYieldExpression:yd,isStatement:xd}=kd,jH=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 OH(J,G){if(G==="BinaryExpression"||G==="LogicalExpression")return jH.get(J.operator);if(G==="TSAsExpression"||G==="TSSatisfiesExpression")return jH.get("in")}function Z8(J){return J==="TSAsExpression"||J==="TSSatisfiesExpression"||J==="TSTypeAssertion"}var X9=(J,G)=>{let X=G.type;return(X==="ClassDeclaration"||X==="ClassExpression")&&G.superClass===J},H9=(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 md(J,G){return bd(G)}function cd(J,G,X){let H=G.type;return H==="UnionTypeAnnotation"||H==="IntersectionTypeAnnotation"||H==="ArrayTypeAnnotation"||Boolean(X&V2.TokenContext.arrowFlowReturnType)}function ld(J,G){return H9(J,G)||X9(J,G)}function CH(J){return Boolean(J&(V2.TokenContext.expressionStatement|V2.TokenContext.arrowBody))}function id(J,G,X){return CH(X)}function ad(J,G,X){return!J.async&&Boolean(X&V2.TokenContext.expressionStatement)}function DH(J,G){let X=G.type;if(J.type==="BinaryExpression"&&J.operator==="**"&&X==="BinaryExpression"&&G.operator==="**")return G.left===J;if(X9(J,G))return!0;if(H9(J,G)||X==="UnaryExpression"||X==="SpreadElement"||X==="AwaitExpression")return!0;let H=OH(G,X);if(H!=null){let V=OH(J,J.type);if(H===V&&X==="BinaryExpression"&&G.right===J||H>V)return!0}return}function pd(J,G){let X=G.type;return X==="ArrayTypeAnnotation"||X==="NullableTypeAnnotation"||X==="IntersectionTypeAnnotation"||X==="UnionTypeAnnotation"}function rd(J,G){return _d(G)&&G.objectType===J}function dd(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 DH(J,G)}function sd(J,G){let X=G.type;return X==="TSArrayType"||X==="TSOptionalType"||X==="TSIntersectionType"||X==="TSRestType"}function td(J,G){let X=G.type;return X==="TSArrayType"||X==="TSOptionalType"}function nd(J,G){let X=G.type;return(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression"||X==="TSInstantiationExpression")&&!!G.typeParameters}function od(J,G,X,H){return J.operator==="in"&&H}function ed(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!xd(G)}function Js(J,G){let X=G.type;return X==="BinaryExpression"||X==="LogicalExpression"||X==="UnaryExpression"||X==="SpreadElement"||H9(J,G)||X==="AwaitExpression"&&yd(J)||X==="ConditionalExpression"&&J===G.test||X9(J,G)||Z8(X)}function Gs(J,G,X){return Boolean(X&(V2.TokenContext.expressionStatement|V2.TokenContext.exportDefault))}function SH(J,G){return H9(J,G)||Ed(G)&&G.operator==="**"&&G.left===J||X9(J,G)}function Xs(J,G,X){return Boolean(X&(V2.TokenContext.expressionStatement|V2.TokenContext.exportDefault))}function IH(J,G){let X=G.type;if(X==="UnaryExpression"||X==="SpreadElement"||X==="BinaryExpression"||X==="LogicalExpression"||X==="ConditionalExpression"&&G.test===J||X==="AwaitExpression"||Z8(X))return!0;return SH(J,G)}function Hs(J,G){return vd(G)&&G.callee===J||AH(G)&&G.object===J}function Vs(J,G,X){if(CH(X)&&ud(J.left))return!0;else return IH(J,G)}function Zs(J,G){let X=G.type;if(Z8(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 Qs(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((AH(G,{object:J,computed:!0})||hd(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"&&gd(G,{left:J,await:!1})}});var x2=C((LH)=>{Object.defineProperty(LH,"__esModule",{value:!0});LH.TokenContext=void 0;LH.isLastChild=as;LH.needsParens=is;LH.needsWhitespace=Y8;LH.needsWhitespaceAfter=ls;LH.needsWhitespaceBefore=cs;var Ls=FH(),ks=fH(),bs=W1(),{FLIPPED_ALIAS_KEYS:Es,VISITOR_KEYS:vs,isCallExpression:NH,isDecorator:gs,isExpressionStatement:_s,isMemberExpression:us,isNewExpression:hs,isParenthesizedExpression:ys}=bs,eM1=LH.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function TH(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=Es[H];if(V)for(let Z of V)X(Z,J[H]);else X(H,J[H])}return G}var xs=TH(ks),ms=TH(Ls.nodes);function wH(J){if(NH(J))return!0;return us(J)&&wH(J.object)}function Y8(J,G,X){var H;if(!J)return!1;if(_s(J))J=J.expression;let V=(H=ms.get(J.type))==null?void 0:H(J,G);if(typeof V==="number")return(V&X)!==0;return!1}function cs(J,G){return Y8(J,G,1)}function ls(J,G){return Y8(J,G,2)}function is(J,G,X,H){var V;if(!G)return!1;if(hs(G)&&G.callee===J){if(wH(J))return!0}if(gs(G))return!Q8(J)&&!(NH(J)&&Q8(J.callee))&&!ys(J);return(V=xs.get(J.type))==null?void 0:V(J,G,X,H)}function Q8(J){switch(J.type){case"Identifier":return!0;case"MemberExpression":return!J.computed&&J.property.type==="Identifier"&&Q8(J.object);default:return!1}}function as(J,G){let X=vs[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 EH=C((bH)=>{Object.defineProperty(bH,"__esModule",{value:!0});bH.TaggedTemplateExpression=ns;bH.TemplateElement=os;bH.TemplateLiteral=es;function ns(J){this.print(J.tag),this.print(J.typeParameters),this.print(J.quasi)}function os(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function es(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 _H=C((gH)=>{Object.defineProperty(gH,"__esModule",{value:!0});gH.LogicalExpression=gH.BinaryExpression=gH.AssignmentExpression=Tt;gH.AssignmentPattern=Nt;gH.AwaitExpression=St;gH.BindExpression=wt;gH.CallExpression=Ct;gH.ConditionalExpression=Bt;gH.Decorator=jt;gH.DoExpression=zt;gH.EmptyStatement=Pt;gH.ExpressionStatement=ft;gH.Import=Dt;gH.MemberExpression=Lt;gH.MetaProperty=kt;gH.ModuleExpression=vt;gH.NewExpression=Rt;gH.OptionalCallExpression=At;gH.OptionalMemberExpression=Ot;gH.ParenthesizedExpression=Kt;gH.PrivateName=bt;gH.SequenceExpression=$t;gH.Super=qt;gH.ThisExpression=Mt;gH.UnaryExpression=Wt;gH.UpdateExpression=Ut;gH.V8IntrinsicIdentifier=Et;gH.YieldExpression=It;gH._shouldPrintDecoratorsBeforeExport=Ft;var Ht=W1(),Vt=x2(),{isCallExpression:Zt,isLiteral:vH,isMemberExpression:W8,isNewExpression:Qt,isPattern:Yt}=Ht;function Wt(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 Kt(J){this.tokenChar(40);let G=this.enterDelimited();this.print(J.expression),G(),this.rightParens(J)}function Ut(J){if(J.prefix)this.token(J.operator),this.print(J.argument);else this.print(J.argument,!0),this.token(J.operator)}function Bt(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 Rt(J,G){if(this.word("new"),this.space(),this.print(J.callee),this.format.minified&&J.arguments.length===0&&!J.optional&&!Zt(G,{callee:J})&&!W8(G)&&!Qt(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 $t(J){this.printList(J.expressions)}function Mt(){this.word("this")}function qt(){this.word("super")}function Ft(J){if(typeof this.format.decoratorsBeforeExport==="boolean")return this.format.decoratorsBeforeExport;return typeof J.start==="number"&&J.start===J.declaration.start}function jt(J){this.tokenChar(64),this.print(J.expression),this.newline()}function Ot(J){let{computed:G}=J,{optional:X,property:H}=J;if(this.print(J.object),!G&&W8(H))throw new TypeError("Got a MemberExpression for MemberExpression property");if(vH(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 At(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 Ct(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 Dt(){this.word("import")}function St(J){if(this.word("await"),J.argument)this.space(),this.printTerminatorless(J.argument)}function It(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 Pt(){this.semicolon(!0)}function ft(J){this.tokenContext|=Vt.TokenContext.expressionStatement,this.print(J.expression),this.semicolon()}function Nt(J){if(this.print(J.left),J.left.type==="Identifier"||Yt(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 Tt(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 wt(J){this.print(J.object),this.token("::"),this.print(J.callee)}function Lt(J){if(this.print(J.object),!J.computed&&W8(J.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let G=J.computed;if(vH(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 kt(J){this.print(J.meta),this.tokenChar(46),this.print(J.property)}function bt(J){this.tokenChar(35),this.print(J.id)}function Et(J){this.tokenChar(37),this.word(J.name)}function vt(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 cH=C((xH)=>{Object.defineProperty(xH,"__esModule",{value:!0});xH.BreakStatement=Fn;xH.CatchClause=Sn;xH.ContinueStatement=jn;xH.DebuggerStatement=fn;xH.DoWhileStatement=qn;xH.ForOfStatement=xH.ForInStatement=void 0;xH.ForStatement=$n;xH.IfStatement=Rn;xH.LabeledStatement=Cn;xH.ReturnStatement=On;xH.SwitchCase=Pn;xH.SwitchStatement=In;xH.ThrowStatement=An;xH.TryStatement=Dn;xH.VariableDeclaration=Nn;xH.VariableDeclarator=Tn;xH.WhileStatement=Mn;xH.WithStatement=Bn;var Wn=W1(),z8=x2(),{isFor:uH,isForStatement:zn,isIfStatement:Kn,isStatement:Un}=Wn;function Bn(J){this.word("with"),this.space(),this.tokenChar(40),this.print(J.object),this.tokenChar(41),this.printBlock(J)}function Rn(J){this.word("if"),this.space(),this.tokenChar(40),this.print(J.test),this.tokenChar(41),this.space();let G=J.alternate&&Kn(hH(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 hH(J){let{body:G}=J;if(Un(G)===!1)return J;return hH(G)}function $n(J){this.word("for"),this.space(),this.tokenChar(40);{let G=this.enterForStatementInit();this.tokenContext|=z8.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 Mn(J){this.word("while"),this.space(),this.tokenChar(40),this.print(J.test),this.tokenChar(41),this.printBlock(J)}function yH(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?z8.TokenContext.forOfHead:z8.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 Zq1=xH.ForInStatement=yH,Qq1=xH.ForOfStatement=yH;function qn(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 V9(J,G){if(G)J.space(),J.printTerminatorless(G);J.semicolon()}function Fn(J){this.word("break"),V9(this,J.label)}function jn(J){this.word("continue"),V9(this,J.label)}function On(J){this.word("return"),V9(this,J.argument)}function An(J){this.word("throw"),V9(this,J.argument)}function Cn(J){this.print(J.label),this.tokenChar(58),this.space(),this.print(J.body)}function Dn(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 Sn(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 In(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 Pn(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 fn(){this.word("debugger"),this.semicolon()}function Nn(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(!uH(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}),uH(G)){if(zn(G)){if(G.init===J)return}else if(G.left===J)return}this.semicolon()}function Tn(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 iH=C((lH)=>{Object.defineProperty(lH,"__esModule",{value:!0});lH.ClassAccessorProperty=Jo;lH.ClassBody=on;lH.ClassExpression=lH.ClassDeclaration=nn;lH.ClassMethod=Xo;lH.ClassPrivateMethod=Ho;lH.ClassPrivateProperty=Go;lH.ClassProperty=en;lH.StaticBlock=Zo;lH._classMethodHead=Vo;var dn=W1(),{isExportDefaultDeclaration:sn,isExportNamedDeclaration:tn}=dn;function nn(J,G){if(!(sn(G)||tn(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 on(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 en(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 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);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 Go(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 Xo(J){this._classMethodHead(J),this.space(),this.print(J.body)}function Ho(J){this._classMethodHead(J),this.space(),this.print(J.body)}function Vo(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 Zo(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 pH=C((aH)=>{Object.defineProperty(aH,"__esModule",{value:!0});aH.ArrowFunctionExpression=Po;aH.FunctionDeclaration=aH.FunctionExpression=Io;aH._functionHead=So;aH._methodHead=Co;aH._param=Ao;aH._parameters=Oo;aH._params=jo;aH._predicate=Do;var Mo=W1(),qo=x2(),{isIdentifier:Fo}=Mo;function jo(J,G,X){this.print(J.typeParameters);let H=No.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 Oo(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 Ao(J){if(this.printJoin(J.decorators),this.print(J),J.optional)this.tokenChar(63);this.print(J.typeAnnotation)}function Co(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 Do(J,G){if(J.predicate){if(!J.returnType)this.tokenChar(58);this.space(),this.print(J.predicate,G)}}function So(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 Io(J,G){this._functionHead(J,G),this.space(),this.print(J.body)}function Po(J,G){if(J.async)this.word("async",!0),this.space();let X;if(!this.format.retainLines&&J.params.length===1&&Fo(X=J.params[0])&&!fo(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|=qo.TokenContext.arrowBody,this.print(J.body)}function fo(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 No(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 K8=C((tH)=>{Object.defineProperty(tH,"__esModule",{value:!0});tH.ExportAllDeclaration=to;tH.ExportDefaultDeclaration=oo;tH.ExportDefaultSpecifier=ao;tH.ExportNamedDeclaration=no;tH.ExportNamespaceSpecifier=ro;tH.ExportSpecifier=po;tH.ImportAttribute=Je;tH.ImportDeclaration=eo;tH.ImportDefaultSpecifier=io;tH.ImportExpression=Xe;tH.ImportNamespaceSpecifier=Ge;tH.ImportSpecifier=lo;tH._printAttributes=so;var _o=W1(),uo=x2(),{isClassDeclaration:ho,isExportDefaultSpecifier:yo,isExportNamespaceSpecifier:xo,isImportDefaultSpecifier:mo,isImportNamespaceSpecifier:co,isStatement:dH}=_o;function lo(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 io(J){this.print(J.local)}function ao(J){this.print(J.exported)}function po(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 ro(J){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(J.exported)}var rH=!1;function so(J){let{importAttributesKeyword:G}=this.format,{attributes:X,assertions:H}=J;if(X&&!G&&!rH)rH=!0,console.warn(`You are using import attributes, without specifying the desired output syntax.
3
3
  Please specify the "importAttributesKeyword" generator option, whose value can be one of:
4
4
  - "with" : \`import { a } from "b" with { type: "json" };\`
5
5
  - "assert" : \`import { a } from "b" assert { type: "json" };\`
6
6
  - "with-legacy" : \`import { a } from "b" with type: "json";\`
7
- `);const 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 to(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 sH(J,G){if(ho(G.declaration)&&J._shouldPrintDecoratorsBeforeExport(G))J.printJoin(G.declaration.decorators)}function no(J){if(sH(this,J),this.word("export"),this.space(),J.declaration){const H=J.declaration;if(this.print(H),!dH(H))this.semicolon()}else{if(J.exportKind==="type")this.word("type"),this.space();const H=J.specifiers.slice(0);let V=!1;for(;;){const Z=H[0];if(yo(Z)||xo(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 oo(J){sH(this,J),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=uo.TokenContext.exportDefault;const G=J.declaration;if(this.print(G),!dH(G))this.semicolon()}function eo(J){var G,X;this.word("import"),this.space();const 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();const V=J.specifiers.slice(0),Z=!!V.length;while(Z){const Q=V[0];if(mo(Q)||co(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 Je(J){this.print(J.key),this.tokenChar(58),this.space(),this.print(J.value)}function Ge(J){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(J.local)}function Xe(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)}Object.defineProperty(tH,"__esModule",{value:!0});tH.ExportAllDeclaration=to;tH.ExportDefaultDeclaration=oo;tH.ExportDefaultSpecifier=ao;tH.ExportNamedDeclaration=no;tH.ExportNamespaceSpecifier=ro;tH.ExportSpecifier=po;tH.ImportAttribute=Je;tH.ImportDeclaration=eo;tH.ImportDefaultSpecifier=io;tH.ImportExpression=Xe;tH.ImportNamespaceSpecifier=Ge;tH.ImportSpecifier=lo;tH._printAttributes=so;var _o=W1(),uo=x2(),{isClassDeclaration:ho,isExportDefaultSpecifier:yo,isExportNamespaceSpecifier:xo,isImportDefaultSpecifier:mo,isImportNamespaceSpecifier:co,isStatement:dH}=_o,rH=!1});var JV=C((Rq1,eH)=>{var nH={},qe=nH.hasOwnProperty,oH=(J,G)=>{for(let X in J)if(qe.call(J,X))G(X,J[X])},Fe=(J,G)=>{if(!G)return J;return oH(G,(X,H)=>{J[X]=H}),J},je=(J,G)=>{const X=J.length;let H=-1;while(++H<X)G(J[H])},Z9=(J)=>{return"\\u"+("0000"+J).slice(-4)},Z5=(J,G)=>{let X=J.toString(16);if(G)return X;return X.toUpperCase()},Q5=nH.toString,Oe=Array.isArray,Ae=(J)=>{return typeof Buffer==="function"&&Buffer.isBuffer(J)},Ce=(J)=>{return Q5.call(J)=="[object Object]"},De=(J)=>{return typeof J=="string"||Q5.call(J)=="[object String]"},Se=(J)=>{return typeof J=="number"||Q5.call(J)=="[object Number]"},Ie=(J)=>{return typeof J=="function"},Pe=(J)=>{return Q5.call(J)=="[object Map]"},fe=(J)=>{return Q5.call(J)=="[object Set]"},Ne={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},Te=/[\\\b\f\n\r\t]/,we=/[0-9]/,Le=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ke=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,be=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,m2=(J,G)=>{const 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=Fe(H,G),G.quotes!="single"&&G.quotes!="double"&&G.quotes!="backtick")G.quotes="single";const Z=G.quotes=="double"?'"':G.quotes=="backtick"?"`":"\'",Q=G.compact,Y=G.lowercaseHex;let W=G.indent.repeat(G.indentLevel),z="";const{__inline1__:U,__inline2__:F}=G,A=Q?"":"\n";let D,I=!0;const _=G.numbers=="binary",f=G.numbers=="octal",w=G.numbers=="decimal",k=G.numbers=="hexadecimal";if(V&&J&&Ie(J.toJSON))J=J.toJSON();if(!De(J)){if(Pe(J)){if(J.size==0)return"new Map()";if(!Q)G.__inline1__=!0,G.__inline2__=!1;return"new Map("+m2(Array.from(J),G)+")"}if(fe(J)){if(J.size==0)return"new Set()";return"new Set("+m2(Array.from(J),G)+")"}if(Ae(J)){if(J.length==0)return"Buffer.from([])";return"Buffer.from("+m2(Array.from(J),G)+")"}if(Oe(J)){if(D=[],G.wrap=!0,U)G.__inline1__=!1,G.__inline2__=!0;if(!F)X();if(je(J,(d)=>{if(I=!1,F)G.__inline2__=!1;D.push((Q||F?"":W)+m2(d,G))}),I)return"[]";if(F)return"["+D.join(", ")+"]";return"["+A+D.join(","+A)+A+(Q?"":z)+"]"}else if(Se(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(!Ce(J)){if(V)return JSON.stringify(J)||"null";return String(J)}else{if(D=[],G.wrap=!0,X(),oH(J,(d,Y1)=>{I=!1,D.push((Q?"":W)+m2(d,G)+":"+(Q?"":" ")+m2(Y1,G))}),I)return"{}";return"{"+A+D.join(","+A)+A+(Q?"":z)+"}"}}const Q1=G.escapeEverything?ke:be;if(D=J.replace(Q1,(d,Y1,$1,T1,b1,y)=>{if(Y1){if(G.minimal)return Y1;const N=Y1.charCodeAt(0),c=Y1.charCodeAt(1);if(G.es6){const V1=(N-55296)*1024+c-56320+65536;return"\\u{"+Z5(V1,Y)+"}"}return Z9(Z5(N,Y))+Z9(Z5(c,Y))}if($1)return Z9(Z5($1.charCodeAt(0),Y));if(d=="\0"&&!V&&!we.test(y.charAt(b1+1)))return"\\0";if(T1){if(T1==Z||G.escapeEverything)return"\\"+T1;return T1}if(Te.test(d))return Ne[d];if(G.minimal&&!Le.test(d))return d;const x=Z5(d.charCodeAt(0),Y);if(V||x.length>2)return Z9(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};m2.version="3.0.2";eH.exports=m2});var B8=C((HV)=>{function ge(J){var G;this.sourceIdentifierName(((G=J.loc)==null?void 0:G.identifierName)||J.name),this.word(J.name)}function _e(){this.tokenChar(63)}function ue(J){this.token("..."),this.print(J.argument)}function he(J){const G=J.properties;if(this.tokenChar(123),G.length){const 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 ye(J){this.printJoin(J.decorators),this._methodHead(J),this.space(),this.print(J.body)}function xe(J){if(this.printJoin(J.decorators),J.computed)this.tokenChar(91),this.print(J.key),this.tokenChar(93);else{if(ve(J.value)&&U8(J.key)&&J.key.name===J.value.left.name){this.print(J.value);return}if(this.print(J.key),J.shorthand&&U8(J.key)&&U8(J.value)&&J.key.name===J.value.name)return}this.tokenChar(58),this.space(),this.print(J.value)}function me(J){const G=J.elements,X=G.length;this.tokenChar(91);const H=this.enterDelimited();for(let V=0;V<G.length;V++){const 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 ce(J){const G=J.properties;let 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 le(J){const G=J.elements,X=G.length;let 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++){const Q=G[Z];if(Q){if(Z>0)this.space();if(this.print(Q),Z<X-1)this.tokenChar(44)}}this.token(V)}function ie(J){this.word(`/${J.pattern}/${J.flags}`)}function ae(J){this.word(J.value?"true":"false")}function pe(){this.word("null")}function re(J){const G=this.getPossibleRaw(J),X=this.format.jsescOption,H=J.value,V=H+"";if(X.numbers)this.number(XV(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 de(J){const G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.token(G);return}const X=XV(J.value,this.format.jsescOption);this.token(X)}function se(J){const G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.word(G);return}this.word(J.value+"n")}function te(J){const G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.word(G);return}this.word(J.value+"m")}function ne(){const{topicToken:J}=this.format;if(GV.has(J))this.token(J);else{const G=JSON.stringify(J),X=Array.from(GV,(H)=>JSON.stringify(H));throw new Error(`The "topicToken" generator option must be one of ${X.join(", ")} (${G} received instead).`)}}function oe(J){this.print(J.expression)}function ee(J){this.print(J.callee)}function J11(){this.tokenChar(35)}Object.defineProperty(HV,"__esModule",{value:!0});HV.ArgumentPlaceholder=_e;HV.ArrayPattern=HV.ArrayExpression=me;HV.BigIntLiteral=se;HV.BooleanLiteral=ae;HV.DecimalLiteral=te;HV.Identifier=ge;HV.NullLiteral=pe;HV.NumericLiteral=re;HV.ObjectPattern=HV.ObjectExpression=he;HV.ObjectMethod=ye;HV.ObjectProperty=xe;HV.PipelineBareFunction=ee;HV.PipelinePrimaryTopicReference=J11;HV.PipelineTopicExpression=oe;HV.RecordExpression=ce;HV.RegExpLiteral=ie;HV.SpreadElement=HV.RestElement=ue;HV.StringLiteral=de;HV.TopicReference=ne;HV.TupleExpression=le;var Ee=W1(),XV=JV(),{isAssignmentPattern:ve,isIdentifier:U8}=Ee,GV=new Set(["^^","@@","^","%","#"])});var ZV=C((z9)=>{function P11(){this.word("any")}function f11(J){this.print(J.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function N11(){this.word("boolean")}function T11(J){this.word(J.value?"true":"false")}function w11(){this.word("null")}function L11(J,G){if(!Q9(G))this.word("declare"),this.space();this.word("class"),this.space(),this._interfaceish(J)}function k11(J,G){if(!Q9(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 b11(){this.tokenChar(37),this.word("checks")}function E11(J){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(J.value),this.tokenChar(41)}function v11(J){this.word("declare"),this.space(),this.InterfaceDeclaration(J)}function g11(J){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(J.id),this.space(),this.print(J.body)}function _11(J){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(J.typeAnnotation)}function u11(J){this.word("declare"),this.space(),this.TypeAlias(J)}function h11(J,G){if(!Q9(G))this.word("declare"),this.space();this.OpaqueType(J)}function y11(J,G){if(!Q9(G))this.word("declare"),this.space();this.word("var"),this.space(),this.print(J.id),this.print(J.id.typeAnnotation),this.semicolon()}function x11(J){if(this.word("declare"),this.space(),this.word("export"),this.space(),J.default)this.word("default"),this.space();n11.call(this,J)}function m11(J){this.word("declare"),this.space(),D11.ExportAllDeclaration.call(this,J)}function c11(J){const{id:G,body:X}=J;this.word("enum"),this.space(),this.print(G),this.print(X)}function Y9(J,G,X){if(X)J.space(),J.word("of"),J.space(),J.word(G);J.space()}function W9(J,G){const{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 l11(J){const{explicitType:G}=J;Y9(this,"boolean",G),W9(this,J)}function i11(J){const{explicitType:G}=J;Y9(this,"number",G),W9(this,J)}function a11(J){const{explicitType:G}=J;Y9(this,"string",G),W9(this,J)}function p11(J){Y9(this,"symbol",!0),W9(this,J)}function r11(J){const{id:G}=J;this.print(G),this.tokenChar(44)}function R8(J,G){J.print(G.id),J.space(),J.token("="),J.space(),J.print(G.init),J.token(",")}function d11(J){R8(this,J)}function s11(J){R8(this,J)}function t11(J){R8(this,J)}function n11(J){if(J.declaration){const G=J.declaration;if(this.print(G),!I11(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 o11(){this.tokenChar(42)}function e11(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);const 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 J21(J){if(this.print(J.name),J.optional)this.tokenChar(63);if(J.name)this.tokenChar(58),this.space();this.print(J.typeAnnotation)}function G21(J){this.print(J.id),this.print(J.typeParameters,!0)}function X21(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 H21(J){var G;const 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 V21(J){this.word("interface"),this.space(),this._interfaceish(J)}function Z21(){this.space(),this.tokenChar(38),this.space()}function Q21(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 Y21(J){this.printJoin(J.types,{separator:Z21})}function W21(){this.word("mixed")}function z21(){this.word("empty")}function K21(J){this.tokenChar(63),this.print(J.typeAnnotation)}function U21(){this.word("number")}function B21(){this.word("string")}function R21(){this.word("this")}function $21(J){this.tokenChar(91),this.printList(J.types),this.tokenChar(93)}function M21(J){this.word("typeof"),this.space(),this.print(J.argument)}function q21(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 F21(J,G){if(this.tokenChar(58),this.space(),G.type==="ArrowFunctionExpression")this.tokenContext|=S11.TokenContext.arrowFlowReturnType;else if(J.optional)this.tokenChar(63);this.print(J.typeAnnotation)}function j21(J){this.tokenChar(60),this.printList(J.params,{}),this.tokenChar(62)}function O21(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 A21(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 C21(J){if(J.exact)this.token("{|");else this.tokenChar(123);const 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 D21(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 S21(J){if(J.static)this.word("static"),this.space();this.print(J.value)}function I21(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 P21(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 f21(J){this.token("..."),this.print(J.argument)}function N21(J){this.print(J.qualification),this.tokenChar(46),this.print(J.id)}function T21(){this.word("symbol")}function w21(){this.space(),this.tokenChar(124),this.space()}function L21(J){this.printJoin(J.types,{separator:w21})}function k21(J){this.tokenChar(40),this.print(J.expression),this.print(J.typeAnnotation),this.tokenChar(41)}function b21(J){if(J.kind==="plus")this.tokenChar(43);else this.tokenChar(45)}function E21(){this.word("void")}function v21(J){this.print(J.objectType,!0),this.tokenChar(91),this.print(J.indexType),this.tokenChar(93)}function g21(J){if(this.print(J.objectType),J.optional)this.token("?.");this.tokenChar(91),this.print(J.indexType),this.tokenChar(93)}Object.defineProperty(z9,"__esModule",{value:!0});z9.AnyTypeAnnotation=P11;z9.ArrayTypeAnnotation=f11;z9.BooleanLiteralTypeAnnotation=T11;z9.BooleanTypeAnnotation=N11;z9.DeclareClass=L11;z9.DeclareExportAllDeclaration=m11;z9.DeclareExportDeclaration=x11;z9.DeclareFunction=k11;z9.DeclareInterface=v11;z9.DeclareModule=g11;z9.DeclareModuleExports=_11;z9.DeclareOpaqueType=h11;z9.DeclareTypeAlias=u11;z9.DeclareVariable=y11;z9.DeclaredPredicate=E11;z9.EmptyTypeAnnotation=z21;z9.EnumBooleanBody=l11;z9.EnumBooleanMember=d11;z9.EnumDeclaration=c11;z9.EnumDefaultedMember=r11;z9.EnumNumberBody=i11;z9.EnumNumberMember=s11;z9.EnumStringBody=a11;z9.EnumStringMember=t11;z9.EnumSymbolBody=p11;z9.ExistsTypeAnnotation=o11;z9.FunctionTypeAnnotation=e11;z9.FunctionTypeParam=J21;z9.IndexedAccessType=v21;z9.InferredPredicate=b11;z9.InterfaceDeclaration=V21;z9.GenericTypeAnnotation=z9.ClassImplements=z9.InterfaceExtends=G21;z9.InterfaceTypeAnnotation=Q21;z9.IntersectionTypeAnnotation=Y21;z9.MixedTypeAnnotation=W21;z9.NullLiteralTypeAnnotation=w11;z9.NullableTypeAnnotation=K21;Object.defineProperty(z9,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return VV.NumericLiteral}});z9.NumberTypeAnnotation=U21;z9.ObjectTypeAnnotation=C21;z9.ObjectTypeCallProperty=S21;z9.ObjectTypeIndexer=I21;z9.ObjectTypeInternalSlot=D21;z9.ObjectTypeProperty=P21;z9.ObjectTypeSpreadProperty=f21;z9.OpaqueType=A21;z9.OptionalIndexedAccessType=g21;z9.QualifiedTypeIdentifier=N21;Object.defineProperty(z9,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return VV.StringLiteral}});z9.StringTypeAnnotation=B21;z9.SymbolTypeAnnotation=T21;z9.ThisTypeAnnotation=R21;z9.TupleTypeAnnotation=$21;z9.TypeAlias=q21;z9.TypeAnnotation=F21;z9.TypeCastExpression=k21;z9.TypeParameter=O21;z9.TypeParameterDeclaration=z9.TypeParameterInstantiation=j21;z9.TypeofTypeAnnotation=M21;z9.UnionTypeAnnotation=L21;z9.Variance=b21;z9.VoidTypeAnnotation=E21;z9._interfaceish=X21;z9._variance=H21;var C11=W1(),D11=K8(),S11=x2(),VV=B8(),{isDeclareExportDeclaration:Q9,isStatement:I11}=C11});var YV=C((QV)=>{function i01(J){if(J.program)this.print(J.program.interpreter);this.print(J.program)}function a01(J){var G;this.noIndentInnerCommentsHere(),this.printInnerComments();const X=(G=J.directives)==null?void 0:G.length;if(X){var H;const 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 p01(J){var G;this.tokenChar(123);const X=this.enterDelimited(),H=(G=J.directives)==null?void 0:G.length;if(H){var V;const 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 r01(J){this.print(J.value),this.semicolon()}function t01(J){const G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.token(G);return}const{value:X}=J;if(!s01.test(X))this.token(`"${X}"`);else if(!d01.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 n01(J){this.token(`#!${J.value}`),this.newline(1,!0)}function o01(J){if(this.token("%%"),this.print(J.name),this.token("%%"),J.expectedNode==="Statement")this.semicolon()}Object.defineProperty(QV,"__esModule",{value:!0});QV.BlockStatement=p01;QV.Directive=r01;QV.DirectiveLiteral=t01;QV.File=i01;QV.InterpreterDirective=n01;QV.Placeholder=o01;QV.Program=a01;var d01=/(?:^|[^\\])(?:\\\\)*'/,s01=/(?:^|[^\\])(?:\\\\)*"/});var zV=C((WV)=>{function Q51(J){if(this.print(J.name),J.value)this.tokenChar(61),this.print(J.value)}function Y51(J){this.word(J.name)}function W51(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 K51(J){this.tokenChar(123),this.token("..."),this.print(J.argument),this.rightBrace(J)}function U51(J){this.tokenChar(123),this.print(J.expression),this.rightBrace(J)}function B51(J){this.tokenChar(123),this.token("..."),this.print(J.expression),this.rightBrace(J)}function R51(J){const G=this.getPossibleRaw(J);if(G!==void 0)this.token(G,!0);else this.token(J.value,!0)}function $51(J){const 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 M51(){this.space()}function q51(J){if(this.tokenChar(60),this.print(J.name),this.print(J.typeParameters),J.attributes.length>0)this.space(),this.printJoin(J.attributes,{separator:M51});if(J.selfClosing)this.space(),this.token("/>");else this.tokenChar(62)}function F51(J){this.token("</"),this.print(J.name),this.tokenChar(62)}function j51(){this.printInnerComments()}function O51(J){this.print(J.openingFragment),this.indent();for(let G of J.children)this.print(G);this.dedent(),this.print(J.closingFragment)}function A51(){this.tokenChar(60),this.tokenChar(62)}function C51(){this.token("</"),this.tokenChar(62)}Object.defineProperty(WV,"__esModule",{value:!0});WV.JSXAttribute=Q51;WV.JSXClosingElement=F51;WV.JSXClosingFragment=C51;WV.JSXElement=$51;WV.JSXEmptyExpression=j51;WV.JSXExpressionContainer=U51;WV.JSXFragment=O51;WV.JSXIdentifier=Y51;WV.JSXMemberExpression=z51;WV.JSXNamespacedName=W51;WV.JSXOpeningElement=q51;WV.JSXOpeningFragment=A51;WV.JSXSpreadAttribute=K51;WV.JSXSpreadChild=B51;WV.JSXText=R51});var RV=C((BV)=>{function u51(J){if(this.tokenChar(58),this.space(),J.optional)this.tokenChar(63);this.print(J.typeAnnotation)}function h51(J,G){if(this.tokenChar(60),this.printList(J.params,{}),G.type==="ArrowFunctionExpression"&&J.params.length===1)this.tokenChar(44);this.tokenChar(62)}function y51(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 x51(J){if(J.accessibility)this.word(J.accessibility),this.space();if(J.readonly)this.word("readonly"),this.space();this._param(J.parameter)}function m51(J,G){if(J.declare)this.word("declare"),this.space();this._functionHead(J,G),this.semicolon()}function c51(J){this._classMethodHead(J),this.semicolon()}function l51(J){this.print(J.left),this.tokenChar(46),this.print(J.right)}function i51(J){this.tsPrintSignatureDeclarationBase(J),this.semicolon()}function a51(J){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(J),this.semicolon()}function p51(J){const{readonly:G}=J;if(G)this.word("readonly"),this.space();this.tsPrintPropertyOrMethodName(J),this.print(J.typeAnnotation),this.semicolon()}function r51(J){if(J.computed)this.tokenChar(91);if(this.print(J.key),J.computed)this.tokenChar(93);if(J.optional)this.tokenChar(63)}function d51(J){const{kind:G}=J;if(G==="set"||G==="get")this.word(G),this.space();this.tsPrintPropertyOrMethodName(J),this.tsPrintSignatureDeclarationBase(J),this.semicolon()}function s51(J){const{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 t51(){this.word("any")}function n51(){this.word("bigint")}function o51(){this.word("unknown")}function e51(){this.word("number")}function J91(){this.word("object")}function G91(){this.word("boolean")}function X91(){this.word("string")}function H91(){this.word("symbol")}function V91(){this.word("void")}function Z91(){this.word("undefined")}function Q91(){this.word("null")}function Y91(){this.word("never")}function W91(){this.word("intrinsic")}function z91(){this.word("this")}function K91(J){this.tsPrintFunctionOrConstructorType(J)}function U91(J){if(J.abstract)this.word("abstract"),this.space();this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(J)}function B91(J){const{typeParameters:G}=J,X=J.parameters;this.print(G),this.tokenChar(40),this._parameters(X),this.tokenChar(41),this.space(),this.token("=>"),this.space();const H=J.typeAnnotation;this.print(H.typeAnnotation)}function R91(J){this.print(J.typeName,!0),this.print(J.typeParameters,!0)}function $91(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 M91(J){if(this.word("typeof"),this.space(),this.print(J.exprName),J.typeParameters)this.print(J.typeParameters)}function q91(J){this.tsPrintTypeLiteralOrInterfaceBody(J.members,J)}function F91(J,G){$8(this,J,G)}function $8(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 j91(J){this.print(J.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function O91(J){this.tokenChar(91),this.printList(J.elementTypes),this.tokenChar(93)}function A91(J){this.print(J.typeAnnotation),this.tokenChar(63)}function C91(J){this.token("..."),this.print(J.typeAnnotation)}function D91(J){if(this.print(J.label),J.optional)this.tokenChar(63);this.tokenChar(58),this.space(),this.print(J.elementType)}function S91(J){UV(this,J,"|")}function I91(J){UV(this,J,"&")}function UV(J,G,X){J.printJoin(G.types,{separator(){this.space(),this.token(X),this.space()}})}function P91(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 f91(J){this.word("infer"),this.print(J.typeParameter)}function N91(J){this.tokenChar(40),this.print(J.typeAnnotation),this.tokenChar(41)}function T91(J){this.word(J.operator),this.space(),this.print(J.typeAnnotation)}function w91(J){this.print(J.objectType,!0),this.tokenChar(91),this.print(J.indexType),this.tokenChar(93)}function L91(J){const{nameType:G,optional:X,readonly:H,typeAnnotation:V}=J;if(this.tokenChar(123),this.space(),H)KV(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)KV(this,X),this.tokenChar(63);if(V)this.tokenChar(58),this.space(),this.print(V);this.space(),this.tokenChar(125)}function KV(J,G){if(G!==!0)J.token(G)}function k91(J){this.print(J.literal)}function b91(J){this.print(J.expression),this.print(J.typeParameters)}function E91(J){const{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 v91(J){this.tsPrintTypeLiteralOrInterfaceBody(J.body,J)}function g91(J){const{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 _91(J){const{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 u91(J){const{typeAnnotation:G,expression:X}=J;this.tokenChar(60),this.print(G),this.tokenChar(62),this.space(),this.print(X)}function h91(J){this.print(J.expression),this.print(J.typeParameters)}function y91(J){const{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(),$8(this,V,J)}function x91(J){const{id:G,initializer:X}=J;if(this.print(G),X)this.space(),this.tokenChar(61),this.space(),this.print(X);this.tokenChar(44)}function m91(J){const{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 c91(J){$8(this,J.body,J)}function l91(J){const{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 i91(J){const{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 a91(J){this.token("require("),this.print(J.expression),this.tokenChar(41)}function p91(J){this.print(J.expression),this.tokenChar(33)}function r91(J){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(J.expression),this.semicolon()}function d91(J){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(J.id),this.semicolon()}function s91(J){const{typeParameters:G}=J,X=J.parameters;this.print(G),this.tokenChar(40),this._parameters(X),this.tokenChar(41);const H=J.typeAnnotation;this.print(H)}function t91(J){const 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()}Object.defineProperty(BV,"__esModule",{value:!0});BV.TSAnyKeyword=t51;BV.TSArrayType=j91;BV.TSSatisfiesExpression=BV.TSAsExpression=_91;BV.TSBigIntKeyword=n51;BV.TSBooleanKeyword=G91;BV.TSCallSignatureDeclaration=i51;BV.TSInterfaceHeritage=BV.TSExpressionWithTypeArguments=BV.TSClassImplements=b91;BV.TSConditionalType=P91;BV.TSConstructSignatureDeclaration=a51;BV.TSConstructorType=U91;BV.TSDeclareFunction=m51;BV.TSDeclareMethod=c51;BV.TSEnumDeclaration=y91;BV.TSEnumMember=x91;BV.TSExportAssignment=r91;BV.TSExternalModuleReference=a91;BV.TSFunctionType=K91;BV.TSImportEqualsDeclaration=i91;BV.TSImportType=l91;BV.TSIndexSignature=s51;BV.TSIndexedAccessType=w91;BV.TSInferType=f91;BV.TSInstantiationExpression=h91;BV.TSInterfaceBody=v91;BV.TSInterfaceDeclaration=E91;BV.TSIntersectionType=I91;BV.TSIntrinsicKeyword=W91;BV.TSLiteralType=k91;BV.TSMappedType=L91;BV.TSMethodSignature=d51;BV.TSModuleBlock=c91;BV.TSModuleDeclaration=m91;BV.TSNamedTupleMember=D91;BV.TSNamespaceExportDeclaration=d91;BV.TSNeverKeyword=Y91;BV.TSNonNullExpression=p91;BV.TSNullKeyword=Q91;BV.TSNumberKeyword=e51;BV.TSObjectKeyword=J91;BV.TSOptionalType=A91;BV.TSParameterProperty=x51;BV.TSParenthesizedType=N91;BV.TSPropertySignature=p51;BV.TSQualifiedName=l51;BV.TSRestType=C91;BV.TSStringKeyword=X91;BV.TSSymbolKeyword=H91;BV.TSThisType=z91;BV.TSTupleType=O91;BV.TSTypeAliasDeclaration=g91;BV.TSTypeAnnotation=u51;BV.TSTypeAssertion=u91;BV.TSTypeLiteral=q91;BV.TSTypeOperator=T91;BV.TSTypeParameter=y51;BV.TSTypeParameterDeclaration=BV.TSTypeParameterInstantiation=h51;BV.TSTypePredicate=$91;BV.TSTypeQuery=M91;BV.TSTypeReference=R91;BV.TSUndefinedKeyword=Z91;BV.TSUnionType=S91;BV.TSUnknownKeyword=o51;BV.TSVoidKeyword=V91;BV.tsPrintClassMemberModifiers=t91;BV.tsPrintFunctionOrConstructorType=B91;BV.tsPrintPropertyOrMethodName=r51;BV.tsPrintSignatureDeclarationBase=s91;BV.tsPrintTypeLiteralOrInterfaceBody=F91});var $V=C((M1)=>{Object.defineProperty(M1,"__esModule",{value:!0});var M8=EH();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=_H();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=cH();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=iH();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=pH();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=K8();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=B8();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=ZV();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=YV();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 I8=zV();Object.keys(I8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===I8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return I8[J]}})});var P8=RV();Object.keys(P8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===P8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return P8[J]}})})});var AV=C((jV)=>{function MV(J){return J.type==="CommentLine"||FV.test(J.value)}function I81(){this.tokenChar(44),this.space()}Object.defineProperty(jV,"__esModule",{value:!0});jV.default=void 0;var U81=TG(),qV=x2(),B81=W1(),R81=$V(),{isExpression:$81,isFunction:M81,isStatement:q81,isClassBody:F81,isTSInterfaceBody:j81,isTSEnumDeclaration:O81}=B81,A81=/e/i,C81=/\.0+$/,FV=/[\n\r\u2028\u2029]/,D81=/[\n\r\u2028\u2029]|\*\//,{needsParens:S81}=qV;class K9{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 U81.default(G,J.indent.style[0])}enterForStatementInit(){if(this.inForStatementInit)return()=>{};return this.inForStatementInit=!0,()=>{this.inForStatementInit=!1}}enterDelimited(){const 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()){const 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){const V=H.charCodeAt(1);return V===98||V===111||V===120}return!1}this.word(J),this._endsWithInteger=Number.isInteger(G)&&!X(J)&&!A81.test(J)&&!C81.test(J)&&J.charCodeAt(J.length-1)!==46}token(J,G=!1){this.tokenContext=0,this._maybePrintInnerComments();const 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();const 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;const 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;const G=J-this._buf.getCurrentLine();for(let X=0;X<G;X++)this._newline()}_catchUp(J,G){var X;if(!this.format.retainLines)return;const H=G==null||(X=G[J])==null?void 0:X.line;if(H!=null){const 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;const Q=J.type,Y=this.format,W=Y.concise;if(J._compact)Y.concise=!0;const z=this[Q];if(z===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(Q)} with constructor ${JSON.stringify(J.constructor.name)}`);const U=this._currentNode;this._currentNode=J;const F=this._insideAux;this._insideAux=J.loc==null,this._maybeAddAuxComment(this._insideAux&&!F);const A=(H=J.extra)==null?void 0:H.parenthesized;let D=A&&Y.retainFunctionParens&&Q==="FunctionExpression"||S81(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(MV)||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&&qV.isLastChild(U,J)),G){var w;if((w=J.trailingComments)!=null&&w.some(MV)){if($81(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);const 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;const J=this.format.auxiliaryCommentBefore;if(J)this._printComment({type:"CommentBlock",value:J},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const J=this.format.auxiliaryCommentAfter;if(J)this._printComment({type:"CommentBlock",value:J},0)}getPossibleRaw(J){const 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;const z=(H=J[0].loc)==null?void 0:H.start.line;if(z!=null&&z!==this._buf.getCurrentLine())X=!0}if(X)this.indent();const V={addNewlines:G.addNewlines,nextNodeStartLine:0},Z=G.separator?G.separator.bind(this):null,Q=J.length;for(let z=0;z<Q;z++){const 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;const 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){const G=J.leadingComments&&J.leadingComments.length>0;if(G)this.indent();if(this.print(J),G)this.dedent()}printBlock(J){const G=J.body;if(G.type!=="EmptyStatement")this.space();this.print(G)}_printTrailingComments(J,G,X){const{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){const 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(){const J=this._currentNode,G=J.innerComments;if(!(G!=null&&G.length))return;const 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=I81;this.printJoin(J,G)}_printNewline(J,G){const X=this.format;if(X.retainLines||X.compact)return;if(X.concise){this.space();return}if(!J)return;const H=G.nextNodeStartLine,V=this._lastCommentLine;if(H>0&&V>0){const 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&&D81.test(J.value))return 2;if(this._printedComments.add(J),!this.format.shouldPrintComment(J.value))return 0;return 1}_printComment(J,G){const X=this._noLineTerminator,H=J.type==="CommentBlock",V=H&&G!==1&&!this._noLineTerminator;if(V&&this._buf.hasContent()&&G!==2)this.newline(1);const 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;const W=(Y=J.loc)==null?void 0:Y.start.column;if(W){const 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){const Z=X.loc,Q=G.length;let Y=!!Z;const W=Y?Z.start.line:0,z=Y?Z.end.line:0;let U=0,F=0;const A=this._noLineTerminator?function(){}:this.newline.bind(this);for(let D=0;D<Q;D++){const I=G[D],_=this._shouldPrintComment(I);if(_===2){Y=!1;break}if(Y&&I.loc&&_===1){const 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){const 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{const k=f-(D===0?z-V:U);U=w,A(k),this._printComment(I,1)}}else{if(Y=!1,_!==1)continue;if(Q===1){const f=I.loc?I.loc.start.line===I.loc.end.line:!FV.test(I.value),w=f&&!q81(X)&&!F81(H)&&!j81(H)&&!O81(H);if(J===0)this._printComment(I,w&&X.type!=="ObjectExpression"||f&&M81(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(K9.prototype,R81);K9.prototype.Noop=function J(){};var Lq1=jV.default=K9});var f8=C((IV)=>{function SV(J,G){const 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;const{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}function P81(J,G={},X){const H=SV(X,G),V=G.sourceMaps?new CV.default(G,X):null;return new DV.default(H,V).generate(J)}Object.defineProperty(IV,"__esModule",{value:!0});IV.default=P81;var CV=IG(),DV=AV();IV.CodeGenerator=class J{constructor(G,X={},H){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=G,this._format=SV(H,X),this._map=X.sourceMaps?new CV.default(X,H):null}generate(){return new DV.default(this._format,this._map).generate(this._ast)}}});var O9=C((FZ)=>{function N81(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 a1(J,G){const{line:X,column:H,index:V}=J;return new b2(X,H+G,V+G)}function NV(J,G,X){Object.defineProperty(J,G,{enumerable:!1,configurable:!0,value:X})}function v81({toMessage:J,code:G,reasonCode:X,syntaxPlugin:H}){const V=X==="MissingPlugin"||X==="MissingOneOfPlugins";{const Z={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};if(Z[X])X=Z[X]}return function Z(Q,Y){const 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 NV(W,"clone",function z(U={}){var F;const{line:A,column:D,index:I}=(F=U.loc)!=null?F:Q;return Z(new b2(A,D,I),Object.assign({},Y,U.details))}),NV(W,"details",Y),Object.defineProperty(W,"message",{configurable:!0,get(){const 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]);const X={};for(let H of Object.keys(J)){const V=J[H],Z=typeof V==="string"?{message:()=>V}:typeof V==="function"?{message:V}:V,{message:Q}=Z,Y=N81(Z,E81),W=typeof Q==="string"?()=>Q:Q;X[H]=v81(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:H,toMessage:W},G?{syntaxPlugin:G}:{},Y))}return X}function Y5(J){return TV(J.loc.start,"index"),TV(J.loc.end,"index"),J}function q1(J,G={}){G.keyword=J;const X=s(J,G);return u8.set(J,X),X}function i1(J,G){return s(J,{beforeExpr:K1,binop:G})}function s(J,G={}){var X,H,V,Z;return++B5,h8.push(J),y8.push((X=G.binop)!=null?X:-1),x8.push((H=G.beforeExpr)!=null?H:!1),m8.push((V=G.startsExpr)!=null?V:!1),c8.push((Z=G.prefix)!=null?Z:!1),w2.push(new _8(J,G)),B5}function z1(J,G={}){var X,H,V,Z;return++B5,u8.set(J,B5),h8.push(J),y8.push((X=G.binop)!=null?X:-1),x8.push((H=G.beforeExpr)!=null?H:!1),m8.push((V=G.startsExpr)!=null?V:!1),c8.push((Z=G.prefix)!=null?Z:!1),w2.push(new _8("name",G)),B5}function j1(J){return J>=93&&J<=132}function y81(J){return J<=92}function U2(J){return J>=58&&J<=132}function xV(J){return J>=58&&J<=136}function x81(J){return x8[J]}function E8(J){return m8[J]}function m81(J){return J>=29&&J<=33}function wV(J){return J>=129&&J<=131}function c81(J){return J>=90&&J<=92}function l8(J){return J>=58&&J<=92}function l81(J){return J>=39&&J<=59}function i81(J){return J===34}function a81(J){return c8[J]}function p81(J){return J>=121&&J<=123}function r81(J){return J>=124&&J<=130}function i2(J){return h8[J]}function $9(J){return y8[J]}function d81(J){return J===57}function q9(J){return J>=24&&J<=25}function N2(J){return w2[J]}function v8(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&&s81.test(String.fromCharCode(J));return v8(J,cV)}function S0(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&&t81.test(String.fromCharCode(J));return v8(J,cV)||v8(J,n81)}function lV(J,G){return G&&J==="await"||J==="enum"}function iV(J,G){return lV(J,G)||e81.has(J)}function aV(J){return JJ1.has(J)}function pV(J,G){return iV(J,G)||aV(J)}function GJ1(J){return o81.has(J)}function XJ1(J,G,X){return J===64&&G===64&&L2(X)}function VJ1(J){return HJ1.has(J)}function tV(J,G){if(J.trailingComments===void 0)J.trailingComments=G;else J.trailingComments.unshift(...G)}function ZJ1(J,G){if(J.leadingComments===void 0)J.leadingComments=G;else J.leadingComments.unshift(...G)}function M5(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)M5(J,X.comments);else tV(H,X.comments)}function I0(J){switch(J){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function LV(J,G,X){for(let H=G;H<X;H++)if(I0(J.charCodeAt(H)))return!0;return!1}function YJ1(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}}function bV(J,G,X,H,V,Z){const Q=X,Y=H,W=V;let z="",U=null,F=X;const{length:A}=G;for(;;){if(X>=A){Z.unterminated(Q,Y,W),z+=G.slice(F,X);break}const D=G.charCodeAt(X);if(zJ1(J,D,G,X)){z+=G.slice(F,X);break}if(D===92){z+=G.slice(F,X);const I=KJ1(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 KJ1(J,G,X,H,V,Z){const Q=!V;G++;const 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}=g8(J,G,X,H,2,!1,Q,Z),Y(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:G}=eV(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){const z=G-1;let 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;const 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 g8(J,G,X,H,V,Z,Q,Y){const W=G;let z;if({n:z,pos:G}=oV(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 oV(J,G,X,H,V,Z,Q,Y,W,z){const U=G,F=V===16?kV.hex:kV.decBinOct,A=V===16?B9.hex:V===10?B9.dec:V===8?B9.oct:B9.bin;let D=!1,I=0;for(let _=0,f=Z==null?1/0:Z;_<f;++_){const w=J.charCodeAt(G);let k;if(w===95&&Y!=="bail"){const 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(WJ1(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 eV(J,G,X,H,V,Z){const Q=J.charCodeAt(G);let Y;if(Q===123){if(++G,{code:Y,pos:G}=g8(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}=g8(J,G,X,H,4,!1,V,Z));return{code:Y,pos:G}}function K5(J,G,X){return new b2(X,J-G,J)}function BJ1(){return new F5(3)}function RJ1(){return new r8(1)}function $J1(){return new r8(2)}function VZ(){return new F5}function M9(J,G){return(J?2:0)|(G?1:0)}function MJ1(J){return E2(J)}function E2(J){const{type:G,start:X,end:H,loc:V,range:Z,extra:Q,name:Y}=J,W=Object.create(d8);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 qJ1(J){const{type:G,start:X,end:H,loc:V,range:Z,extra:Q}=J;if(G==="Placeholder")return MJ1(J);const Y=Object.create(d8);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}function jJ1(J){return J.type==="DeclareExportAllDeclaration"||J.type==="DeclareExportDeclaration"&&(!J.declaration||J.declaration.type!=="TypeAlias"&&J.declaration.type!=="InterfaceDeclaration")}function EV(J){return J.importKind==="type"||J.importKind==="typeof"}function AJ1(J,G){const X=[],H=[];for(let V=0;V<J.length;V++)(G(J[V],V,J)?X:H).push(J[V]);return[X,H]}function l2(J){return J?J.type==="JSXOpeningFragment"||J.type==="JSXClosingFragment":!1}function D0(J){if(J.type==="JSXIdentifier")return J.name;if(J.type==="JSXNamespacedName")return J.namespace.name+":"+J.name.name;if(J.type==="JSXMemberExpression")return D0(J.object)+"."+D0(J.property);throw new Error("Node had unexpected type: "+J.type)}function PJ1(J){if(J==null)throw new Error(`Unexpected ${J} value.`);return J}function vV(J){if(!J)throw new Error("Assert fail")}function fJ1(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 gV(J){return J==="private"||J==="public"||J==="protected"}function NJ1(J){return J==="in"||J==="out"}function wJ1(J){if(J.type!=="MemberExpression")return!1;const{computed:G,property:X}=J;if(G&&X.type!=="StringLiteral"&&(X.type!=="TemplateLiteral"||X.expressions.length>0))return!1;return RZ(J.object)}function LJ1(J,G){var X;const{type:H}=J;if((X=J.extra)!=null&&X.parenthesized)return!1;if(G){if(H==="Literal"){const{value:V}=J;if(typeof V==="string"||typeof V==="boolean")return!0}}else if(H==="StringLiteral"||H==="BooleanLiteral")return!0;if(BZ(J,G)||kJ1(J,G))return!0;if(H==="TemplateLiteral"&&J.expressions.length===0)return!0;if(wJ1(J))return!0;return!1}function BZ(J,G){if(G)return J.type==="Literal"&&(typeof J.value==="number"||("bigint"in J));return J.type==="NumericLiteral"||J.type==="BigIntLiteral"}function kJ1(J,G){if(J.type==="UnaryExpression"){const{operator:X,argument:H}=J;if(X==="-"&&BZ(H,G))return!0}return!1}function RZ(J){if(J.type==="Identifier")return!0;if(J.type!=="MemberExpression"||J.computed)return!1;return RZ(J.object)}function vJ1(J){if(J.has("decorators")){if(J.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const X=J.get("decorators").decoratorsBeforeExport;if(X!=null&&typeof X!=="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const 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;const X=J.get("pipelineOperator").proposal;if(!uV.includes(X)){const V=uV.map((Z)=>`"${Z}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${V}.`)}const 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.");const V=J.get("pipelineOperator").topicToken;if(!hV.includes(V)){const Z=hV.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")){const X=J.get("recordAndTuple").syntaxType;if(X!=null){const 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")){const 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'.")}function _J1(J){if(J==null)return Object.assign({},L8);if(J.annexB!=null&&J.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const G={};for(let H of Object.keys(L8)){var X;G[H]=(X=J[H])!=null?X:L8[H]}return G}function yJ1(J,G){for(let X=0;X<J.length;X++){const H=J[X],{type:V}=H;if(typeof V==="number"){{if(V===138){const{loc:Z,start:Q,value:Y,end:W}=H,z=Q+1,U=a1(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(q9(V)){const{loc:Z,start:Q,value:Y,end:W}=H,z=Q+1,U=a1(Z.start,1);let 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=a1(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=a1(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}function xJ1(J,G){var X;if(((X=G)==null?void 0:X.sourceType)==="unambiguous"){G=Object.assign({},G);try{G.sourceType="module";const H=U5(G,J),V=H.parse();if(H.sawUnambiguousESM)return V;if(H.ambiguousScriptDifferentAst)try{return G.sourceType="script",U5(G,J).parse()}catch(Z){}else V.program.sourceType="script";return V}catch(H){try{return G.sourceType="script",U5(G,J).parse()}catch(V){}throw H}}else return U5(G,J).parse()}function mJ1(J,G){const X=U5(G,J);if(X.options.strictMode)X.state.strict=!0;return X.getExpression()}function cJ1(J){const G={};for(let X of Object.keys(J))G[X]=N2(J[X]);return G}function U5(J,G){let X=s8;const 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||{})}vJ1(H),X=iJ1(H)}return new X(J,G,H)}function iJ1(J){const G=[];for(let V of gJ1)if(J.has(V))G.push(V);const X=G.join("|");let H=yV.get(X);if(!H){H=s8;for(let V of G)H=$Z[V](H);yV.set(X,H)}return H}Object.defineProperty(FZ,"__esModule",{value:!0});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 $5{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}}var PV="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",T81={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:PV},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:PV}},fV={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"},R9=(J)=>J.type==="UpdateExpression"?fV.UpdateExpression[`${J.prefix}`]:fV[J.type],w81={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 ${R9(J)}.`,InvalidLhsBinding:({ancestor:J})=>`Binding invalid left-hand side in ${R9(J)}.`,InvalidLhsOptionalChaining:({ancestor:J})=>`Invalid optional chaining in the left-hand side of ${R9(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."},L81={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."},k81=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),b81={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 ${R9({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.'},E81=["message"],j=Object.assign({},k2(T81),k2(w81),k2(L81),k2`pipelineOperator`(b81)),{defineProperty:g81}=Object,TV=(J,G)=>{if(J)g81(J,G,{enumerable:!1,value:J[G]})},_81=(J)=>class G extends J{parse(){const X=Y5(super.parse());if(this.options.tokens)X.tokens=X.tokens.map(Y5);return X}parseRegExpLiteral({pattern:X,flags:H}){let V=null;try{V=new RegExp(X,H)}catch(Q){}const Z=this.estreeParseLiteral(V);return Z.regex={pattern:X,flags:H},Z}parseBigIntLiteral(X){let H;try{H=BigInt(X)}catch(Z){H=null}const V=this.estreeParseLiteral(H);return V.bigint=String(V.value||X),V}parseDecimalLiteral(X){const 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){const H=X.value;delete X.value,H.type="Literal",H.raw=H.extra.raw,H.value=H.extra.expressionValue;const 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);const 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(){const X=super.parsePrivateName();if(!this.getPluginOption("estree","classFeatures"))return X;return this.convertPrivateNameToPrivateIdentifier(X)}convertPrivateNameToPrivateIdentifier(X){const 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){const 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){const H=super.parseClassProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return H;return H.type="PropertyDefinition",H}parseClassPrivateProperty(...X){const 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){const 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){const 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)){const{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){const 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){const 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;const{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){const 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){const 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 Y5(super.finishNodeAt(X,H,V))}resetStartLocation(X,H){super.resetStartLocation(X,H),Y5(X)}resetEndLocation(X,H=this.state.lastTokEndLoc){super.resetEndLocation(X,H),Y5(X)}};class C0{constructor(J,G){this.token=void 0,this.preserveSpace=void 0,this.token=J,this.preserveSpace=!!G}}var O1={brace:new C0("{"),j_oTag:new C0("<tag"),j_cTag:new C0("</tag"),j_expr:new C0("<tag>...</tag>",!0)};O1.template=new C0("`",!0);var K1=!0,h=!0,N8=!0,W5=!0,c2=!0,u81=!0;class _8{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 u8=new Map,B5=-1,w2=[],h8=[],y8=[],x8=[],m8=[],c8=[],h81={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:W5}),assign:s("_=",{beforeExpr:K1,isAssign:W5}),slashAssign:s("_=",{beforeExpr:K1,isAssign:W5}),xorAssign:s("_=",{beforeExpr:K1,isAssign:W5}),moduloAssign:s("_=",{beforeExpr:K1,isAssign:W5}),incDec:s("++/--",{prefix:c2,postfix:u81,startsExpr:h}),bang:s("!",{beforeExpr:K1,prefix:c2,startsExpr:h}),tilde:s("~",{beforeExpr:K1,prefix:c2,startsExpr:h}),doubleCaret:s("^^",{startsExpr:h}),doubleAt:s("@@",{startsExpr:h}),pipeline:i1("|>",0),nullishCoalescing:i1("??",1),logicalOR:i1("||",1),logicalAND:i1("&&",2),bitwiseOR:i1("|",3),bitwiseXOR:i1("^",4),bitwiseAND:i1("&",5),equality:i1("==/!=/===/!==",6),lt:i1("</>/<=/>=",7),gt:i1("</>/<=/>=",7),relational:i1("</>/<=/>=",7),bitShift:i1("<</>>/>>>",8),bitShiftL:i1("<</>>/>>>",8),bitShiftR:i1("<</>>/>>>",8),plusMin:s("+/-",{beforeExpr:K1,binop:9,prefix:c2,startsExpr:h}),modulo:s("%",{binop:10,startsExpr:h}),star:s("*",{binop:10}),slash:i1("/",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:c2,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:c2,startsExpr:h}),_void:q1("void",{beforeExpr:K1,prefix:c2,startsExpr:h}),_delete:q1("delete",{beforeExpr:K1,prefix:c2,startsExpr:h}),_do:q1("do",{isLoop:N8,beforeExpr:K1}),_for:q1("for",{isLoop:N8}),_while:q1("while",{isLoop:N8}),_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})};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 i8="\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",mV="\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",s81=new RegExp("["+i8+"]"),t81=new RegExp("["+i8+mV+"]");i8=mV=null;var cV=[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],n81=[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],a8={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"]},o81=new Set(a8.keyword),e81=new Set(a8.strict),JJ1=new Set(a8.strictBind),HJ1=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"]);class F9{constructor(J){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=J}}class j9{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(){const J=this.currentThisScopeFlags();return(J&64)>0&&(J&2)===0}get inStaticBlock(){for(let J=this.scopeStack.length-1;;J--){const{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 F9(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);const 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){const{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--){const{flags:G}=this.scopeStack[J];if(G&387)return G}}currentThisScopeFlags(){for(let J=this.scopeStack.length-1;;J--){const{flags:G}=this.scopeStack[J];if(G&451&&!(G&4))return G}}}class rV extends F9{constructor(...J){super(...J);this.declareFunctions=new Set}}class dV extends j9{createScope(J){return new rV(J)}declareName(J,G,X){const 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)){const 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 sV{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(J){if(typeof J==="string")return this.plugins.has(J);else{const[G,X]=J;if(!this.hasPlugin(G))return!1;const 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]}}class nV extends sV{addComment(J){if(this.filename)J.loc.filename=this.filename;const{commentsLen:G}=this.state;if(this.comments.length!==G)this.comments.length=G;this.comments.push(J),this.state.commentsLen++}processComment(J){const{commentStack:G}=this.state,X=G.length;if(X===0)return;let H=X-1;const V=G[H];if(V.start===J.end)V.leadingNode=J,H--;const{start:Z}=J;for(;H>=0;H--){const 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){const{comments:G}=J;if(J.leadingNode!==null||J.trailingNode!==null){if(J.leadingNode!==null)tV(J.leadingNode,G);if(J.trailingNode!==null)ZJ1(J.trailingNode,G)}else{const{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:M5(X,G)}else M5(X,G)}}finalizeRemainingComments(){const{commentStack:J}=this.state;for(let G=J.length-1;G>=0;G--)this.finalizeComment(J[G]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(J){const{commentStack:G}=this.state,{length:X}=G;if(X===0)return;const H=G[X-1];if(H.leadingNode===J)H.leadingNode=null}resetPreviousIdentifierLeadingComments(J){const{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){const{commentStack:H}=this.state,V=H.length;if(V===0)return;let Z=V-1;for(;Z>=0;Z--){const 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 QJ1=/\r\n|[\r\n\u2028\u2029]/,U9=new RegExp(QJ1.source,"g"),T8=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,w8=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;class p8{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(){const J=new p8;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 WJ1=function J(G){return G>=48&&G<=57},kV={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},B9={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},UJ1=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 $5(J.startLoc,J.endLoc)}}class JZ extends nV{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,K5(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,K5(X,H,V))},unterminated:(X,H,V)=>{throw this.raise(j.UnterminatedString,K5(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,K5(X,H,V))}}),this.state=new p8,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(){const J=this.state;this.state=this.createLookaheadState(J),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const G=this.state;return this.state=J,G}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(J){return T8.lastIndex=J,T8.test(this.input)?T8.lastIndex:J}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(J){return w8.lastIndex=J,w8.test(this.input)?w8.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){const 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();const 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,U9.lastIndex=X+2;while(U9.test(this.input)&&U9.lastIndex<=H)++this.state.curLine,this.state.lineStart=U9.lastIndex;if(this.isLookahead)return;const V={type:"CommentBlock",value:this.input.slice(X+2,H),start:X,end:H+J.length,loc:new $5(G,this.state.curPosition())};if(this.options.tokens)this.pushToken(V);return V}skipLineComment(J){const G=this.state.pos;let X;if(!this.isLookahead)X=this.state.curPosition();let H=this.input.charCodeAt(this.state.pos+=J);if(this.state.pos<this.length)while(!I0(H)&&++this.state.pos<this.length)H=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const V=this.state.pos,Q={type:"CommentLine",value:this.input.slice(G+J,V),start:G,end:V,loc:new $5(X,this.state.curPosition())};if(this.options.tokens)this.pushToken(Q);return Q}skipSpace(){const J=this.state.pos,G=[];J:while(this.state.pos<this.length){const 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:{const H=this.skipBlockComment("*/");if(H!==void 0){if(this.addComment(H),this.options.attachComment)G.push(H)}break}case 47:{const 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(YJ1(X))++this.state.pos;else if(X===45&&!this.inModule&&this.options.annexB){const H=this.state.pos;if(this.input.charCodeAt(H+1)===45&&this.input.charCodeAt(H+2)===62&&(J===0||this.state.lineStart>J)){const 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){const H=this.state.pos;if(this.input.charCodeAt(H+1)===33&&this.input.charCodeAt(H+2)===45&&this.input.charCodeAt(H+3)===45){const 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){const 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();const 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;const 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(){const 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;const G=this.state.pos;this.state.pos+=1;while(!I0(J)&&++this.state.pos<this.length)J=this.input.charCodeAt(this.state.pos);const 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){const 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(){const 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){const 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(){const{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(){const{pos:J}=this.state,G=this.input.charCodeAt(J+1);if(G===62){const 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){const 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(){const 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:{const 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){const X=this.input.slice(this.state.pos,this.state.pos+G);this.state.pos+=G,this.finishToken(J,X)}readRegexp(){const J=this.state.startLoc,G=this.state.start+1;let X,H,{pos:V}=this.state;for(;;++V){if(V>=this.length)throw this.raise(j.UnterminatedRegExp,a1(J,1));const W=this.input.charCodeAt(V);if(I0(W))throw this.raise(j.UnterminatedRegExp,a1(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}}const Z=this.input.slice(G,V);++V;let Q="";const Y=()=>a1(J,V+2-G);while(V<this.length){const W=this.codePointAtPos(V),z=String.fromCharCode(W);if(UJ1.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(S0(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){const{n:V,pos:Z}=oV(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){const G=this.state.curPosition();let X=!1;this.state.pos+=2;const H=this.readInt(J);if(H==null)this.raise(j.InvalidDigit,a1(G,2),{radix:J});const 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){const Z=this.input.slice(G.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,Z);return}this.finishToken(134,H)}readNumber(J){const G=this.state.pos,X=this.state.curPosition();let H=!1,V=!1,Z=!1,Q=!1;if(!J&&this.readInt(10)===null)this.raise(j.InvalidNumber,this.state.curPosition());const Y=this.state.pos-G>=2&&this.input.charCodeAt(G)===48;if(Y){const A=this.input.slice(G,this.state.pos);if(this.recordStrictModeErrors(j.StrictOctalLiteral,X),!this.state.strict){const D=A.indexOf("_");if(D>0)this.raise(j.ZeroDigitNumericSeparator,a1(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());const 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}const F=Q?parseInt(U,8):parseFloat(U);this.finishToken(134,F)}readCodePoint(J){const{code:G,pos:X}=eV(this.input,this.state.pos,this.state.lineStart,this.state.curLine,J,this.errorHandlers_readCodePoint);return this.state.pos=X,G}readString(J){const{str:G,pos:X,curLine:H,lineStart:V}=bV(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(){const J=this.input[this.state.pos],{str:G,firstInvalidLoc:X,pos:H,curLine:V,lineStart:Z}=bV("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){const 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="";const X=this.state.pos;let H=this.state.pos;if(J!==void 0)this.state.pos+=J<=65535?1:2;while(this.state.pos<this.length){const V=this.codePointAtPos(this.state.pos);if(S0(V))this.state.pos+=V<=65535?1:2;else if(V===92){this.state.containsEsc=!0,G+=this.input.slice(H,this.state.pos);const Z=this.state.curPosition(),Q=this.state.pos===X?L2:S0;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(j.MissingUnicodeEscape,this.state.curPosition()),H=this.state.pos-1;continue}++this.state.pos;const 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){const G=this.readWord1(J),X=u8.get(G);if(X!==void 0)this.finishToken(X,i2(X));else this.finishToken(132,G)}checkKeywordEscapes(){const{type:J}=this.state;if(l8(J)&&this.state.containsEsc)this.raise(j.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:i2(J)})}raise(J,G,X={}){const 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={}){const H=G instanceof b2?G:G.loc.start,V=H.index,Z=this.state.errors;for(let Q=Z.length-1;Q>=0;Q--){const 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?i2(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,K5(G,X,H))}}}class GZ{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class XZ{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 GZ)}exit(){const 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){const{privateNames:H,loneAccessors:V,undefinedPrivateNames:Z}=this.current();let Q=H.has(J);if(G&3){const Y=Q&&V.get(J);if(Y){const 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 F5{constructor(J=0){this.type=J}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class r8 extends F5{constructor(J){super(J);this.declarationErrors=new Map}recordDeclarationError(J,G){const X=G.index;this.declarationErrors.set(X,[J,G])}clearDeclarationError(J){this.declarationErrors.delete(J)}iterateErrors(J){this.declarationErrors.forEach(J)}}class HZ{constructor(J){this.parser=void 0,this.stack=[new F5],this.parser=J}enter(J){this.stack.push(J)}exit(){this.stack.pop()}recordParameterInitializerError(J,G){const X=G.loc.start,{stack:H}=this;let 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){const{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){const{stack:G}=this;let X=G.length-1,H=G[X];while(H.canBeArrowParameterDeclaration()){if(H.type===2)H.recordDeclarationError(j.AwaitBindingIdentifier,J);H=G[--X]}}validateAsPattern(){const{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]})}}class ZZ{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}}class QZ extends JZ{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){const X=J+G.length;if(this.input.slice(J,X)===G){const H=this.input.charCodeAt(X);return!(S0(H)||(H&64512)===55296)}return!1}isLookaheadContextual(J){const 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 LV(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return LV(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()){const X={node:null};try{const H=J((V=null)=>{throw X.node=V,X});if(this.state.errors.length>G.errors.length){const 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){const 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;const{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 xV(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"){const G=this.state.labels;this.state.labels=[];const X=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const H=this.inModule;this.inModule=J;const V=this.scope,Z=this.getScopeHandler();this.scope=new Z(this,J);const Q=this.prodParam;this.prodParam=new ZZ;const Y=this.classScope;this.classScope=new XZ(this);const W=this.expressionScope;return this.expressionScope=new HZ(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){const{privateKeyLoc:G}=J;if(G!==null)this.expectPlugin("destructuringPrivate",G)}}class R5{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class q5{constructor(J,G,X){if(this.type="",this.start=G,this.end=0,this.loc=new $5(X),J!=null&&J.options.ranges)this.range=[G,0];if(J!=null&&J.filename)this.loc.filename=J.filename}}var d8=q5.prototype;d8.__clone=function(){const J=new q5(void 0,this.start,this.loc.start),G=Object.keys(this);for(let X=0,H=G.length;X<H;X++){const V=G[X];if(V!=="leadingComments"&&V!=="trailingComments"&&V!=="innerComments")J[V]=this[V]}return J};class YZ extends QZ{startNode(){const J=this.state.startLoc;return new q5(this,J.index,J)}startNodeAt(J){return new q5(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 FJ1=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."}),OJ1={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},CJ1=/\*?\s*@((?:no)?flow)\b/,DJ1=(J)=>class G extends J{constructor(...X){super(...X);this.flowPragma=void 0}getScopeHandler(){return dV}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){const H=CJ1.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){const H=this.state.inType;this.state.inType=!0,this.expect(X||14);const V=this.flowParseType();return this.state.inType=H,V}flowParsePredicate(){const 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(){const 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();const 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);const 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();const 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(jJ1(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){const V=this.state.value;throw this.raise(n.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:V,suggestion:OJ1[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();const H=this.flowParseTypeAlias(X);return H.type="DeclareTypeAlias",H}flowParseDeclareOpaqueType(X){this.next();const 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(){const 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(!FJ1.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){const 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(){const 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{const 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(){const X=this.startNode(),H=this.state.inType;X.params=[],this.state.inType=!0,this.expect(47);const 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(){const 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(){const 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){const 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}){const Y=this.state.inType;this.state.inType=!0;const 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;const f=this.startNode();if(Z&&this.isContextual(118)){const k=this.lookahead();if(k.type!==14&&k.type!==17)this.next(),I=this.state.startLoc,X=!1}if(X&&this.isContextual(106)){const k=this.lookahead();if(k.type!==14&&k.type!==17)this.next(),D=!0}const 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)){const d=this.lookahead();if(xV(d.type))k=this.state.value,this.next()}const 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;const 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){const 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)){const Q=this.startNodeAt(X);Q.qualification=Z,Q.id=this.flowParseRestrictedIdentifier(!0),Z=this.finishNode(Q,"QualifiedTypeIdentifier")}return Z}flowParseGenericType(X,H){const 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(){const X=this.startNode();return this.expect(87),X.argument=this.flowParsePrimaryType(),this.finishNode(X,"TypeofTypeAnnotation")}flowParseTupleType(){const 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;const 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){const 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(){const X=this.state.startLoc,H=this.startNode();let V,Z,Q=!1;const 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:{const 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:{const W=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(j1(this.state.type)||this.match(78)){const 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(l8(this.state.type)){const W=i2(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(){const X=this.state.startLoc;let H=this.flowParsePrimaryType(),V=!1;while((this.match(0)||this.match(18))&&!this.canInsertSemicolon()){const 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(){const X=this.startNode();if(this.eat(17))return X.typeAnnotation=this.flowParsePrefixType(),this.finishNode(X,"NullableTypeAnnotation");else return this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const X=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const 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(){const X=this.startNode();this.eat(45);const 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(){const X=this.startNode();this.eat(43);const 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(){const X=this.state.inType;this.state.inType=!0;const H=this.flowParseUnionType();return this.state.inType=X,H}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const X=this.state.startLoc,H=this.parseIdentifier();return this.flowParseGenericType(X,H)}else return this.flowParseType()}flowParseTypeAnnotation(){const X=this.startNode();return X.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(X,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(X){const 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)){const 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)){const V=this.lookahead();if(U2(V.type)){const Z=this.startNode();return this.next(),this.flowParseInterface(Z)}}else if(this.plugins.get("flow").enums&&this.isContextual(126)){const V=this.startNode();return this.next(),this.flowParseEnumDeclaration(V)}const 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(){const{type:X}=this.state;if(wV(X)||this.plugins.get("flow").enums&&X===126)return!this.state.containsEsc;return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:X}=this.state;if(wV(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)){const 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){const A=this.lookaheadCharCode();if(A===44||A===61||A===58||A===41)return this.setOptionalParametersError(V),X}this.expect(17);const Z=this.state.clone(),Q=this.state.noArrowAt,Y=this.startNodeAt(H);let{consequent:W,failed:z}=this.tryParseConditionalConsequent(),[U,F]=this.getArrowLikeExpressions(W);if(z||F.length>0){const 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);const X=this.parseMaybeAssignAllowIn(),H=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:X,failed:H}}getArrowLikeExpressions(X,H){const V=[X],Z=[];while(V.length!==0){const 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 AJ1(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){const V=super.parseParenItem(X,H);if(this.eat(17))V.optional=!0,this.resetEndLocation(X);if(this.match(14)){const 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";const 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";const H=this.startNode();return this.next(),this.flowParseOpaqueType(H,!1)}else if(this.isContextual(129)){X.exportKind="type";const H=this.startNode();return this.next(),this.flowParseInterface(H)}else if(this.plugins.get("flow").enums&&this.isContextual(126)){X.exportKind="value";const 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){const{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){const{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(){const 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){const 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(XJ1(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++){const 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;const 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){const 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){const 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){const 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();const H=X.implements=[];do{const 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);const H=this.getObjectOrClassMethodParams(X);if(H.length>0){const 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()}const 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){const 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=EV(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;const 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){const Y=X.imported;let 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")){const 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)}const U=EV(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){const 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)){const 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;const{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;const U=this.tryParse((A)=>{var D;z=this.flowParseTypeParameterDeclaration();const I=this.forwardNoArrowParamsConversionAt(z,()=>{const f=super.parseMaybeAssign(X,H);return this.resetStartLocationFromNode(f,z),f});if((D=I.extra)!=null&&D.parenthesized)A();const _=this.maybeUnwrapTypeCastExpression(I);if(_.type!=="ArrowFunctionExpression")A();return _.typeParameters=z,this.resetStartLocationFromNode(_,z),I},Z);let 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)){const H=this.tryParse(()=>{const V=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const 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();const 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)){const Z=this.state.clone(),Q=this.tryParse((W)=>this.parseAsyncArrowWithTypeParameters(H)||W(),Z);if(!Q.error&&!Q.aborted)return Q.node;const 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();const 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)){const Q=this.startNodeAt(H);Q.callee=X;const 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){const H=this.startNodeAt(X);if(this.parseFunctionParams(H,!1),!this.parseArrow(H))return;return super.parseArrowExpression(H,void 0,!0)}readToken_mult_modulo(X){const 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){const 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){const 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();const X=this.skipFlowComment();if(X)this.state.pos+=X,this.state.hasFlowComment=!0;return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:X}=this.state;let H=2;while([32,9].includes(this.input.charCodeAt(X+H)))H++;const 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(){const X=this.state.startLoc,H=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const V=this.parseNumericLiteral(this.state.value);if(H())return{type:"number",loc:V.loc.start,value:V};return{type:"invalid",loc:X}}case 133:{const 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:{const 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(){const 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){const{explicitType:Z}=H;if(Z===null)return;if(Z!==V)this.flowEnumErrorInvalidMemberInitializer(X,H)}flowEnumMembers({enumName:X,explicitType:H}){const V=new Set,Z={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let Q=!1;while(!this.match(8)){if(this.eat(21)){Q=!0;break}const 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);const 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});const{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){const V=H.name,Z=H.loc.start,Q=this.flowEnumParseExplicitType({enumName:V});this.expect(5);const{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:{const z=()=>{return X.members=[],this.expect(8),this.finishNode(X,"EnumStringBody")};X.explicitType=!1;const 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){const H=this.parseIdentifier();return X.id=H,X.body=this.flowEnumBody(this.startNode(),H),this.finishNode(X,"EnumDeclaration")}isLookaheadToken_lt(){const X=this.nextTokenStart();if(this.input.charCodeAt(X)===60){const H=this.input.charCodeAt(X+1);return H!==60&&H!==61}return!1}maybeUnwrapTypeCastExpression(X){return X.type==="TypeCastExpression"?X.expression:X}},SJ1={__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"},G0=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 <>...</>?"}),IJ1=(J)=>class G extends J{jsxReadToken(){let X="",H=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(G0.UnterminatedJsxContent,this.state.startLoc);const 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(I0(V))X+=this.input.slice(H,this.state.pos),X+=this.jsxReadNewLine(!0),H=this.state.pos;else++this.state.pos}}}jsxReadNewLine(X){const H=this.input.charCodeAt(this.state.pos);let 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);const 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(I0(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(){const 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;const 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){const Z=this.input.slice(X,this.state.pos),Q=SJ1[Z];if(++this.state.pos,Q)return Q}}return this.state.pos=X,"&"}jsxReadWord(){let X;const H=this.state.pos;do X=this.input.charCodeAt(++this.state.pos);while(S0(X)||X===45);this.finishToken(140,this.input.slice(H,this.state.pos))}jsxParseIdentifier(){const X=this.startNode();if(this.match(140))X.name=this.state.value;else if(l8(this.state.type))X.name=i2(this.state.type);else this.unexpected();return this.next(),this.finishNode(X,"JSXIdentifier")}jsxParseNamespacedName(){const X=this.state.startLoc,H=this.jsxParseIdentifier();if(!this.eat(14))return H;const V=this.startNodeAt(X);return V.namespace=H,V.name=this.jsxParseIdentifier(),this.finishNode(V,"JSXNamespacedName")}jsxParseElementName(){const X=this.state.startLoc;let H=this.jsxParseNamespacedName();if(H.type==="JSXNamespacedName")return H;while(this.eat(16)){const 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(G0.AttributeIsEmpty,X);return X;case 142:case 133:return this.parseExprAtom();default:throw this.raise(G0.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const 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{const V=this.parseExpression();X.expression=V}return this.setContext(H),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXExpressionContainer")}jsxParseAttribute(){const 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){const H=this.startNodeAt(X);if(this.eat(143))return this.finishNode(H,"JSXOpeningFragment");return H.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(H)}jsxParseOpeningElementAfterName(X){const 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){const 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){const H=this.startNodeAt(X),V=[],Z=this.jsxParseOpeningElementAt(X);let 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:{const 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(l2(Z)&&!l2(Q)&&Q!==null)this.raise(G0.MissingClosingTagFragment,Q);else if(!l2(Z)&&l2(Q))this.raise(G0.MissingClosingTagElement,Q,{openingTagName:D0(Z.name)});else if(!l2(Z)&&!l2(Q)){if(D0(Q.name)!==D0(Z.name))this.raise(G0.MissingClosingTagElement,Q,{openingTagName:D0(Z.name)})}}if(l2(Z))H.openingFragment=Z,H.closingFragment=Q;else H.openingElement=Z,H.closingElement=Q;if(H.children=V,this.match(47))throw this.raise(G0.UnwrappedAdjacentJSXElements,this.state.startLoc);return l2(Z)?this.finishNode(H,"JSXFragment"):this.finishNode(H,"JSXElement")}jsxParseElement(){const X=this.state.startLoc;return this.next(),this.jsxParseElementAt(X)}setContext(X){const{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){const 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){const{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){const 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=x81(V)}};class WZ extends F9{constructor(...J){super(...J);this.tsNames=new Map}}class zZ extends j9{constructor(...J){super(...J);this.importsStack=[]}createScope(J){return this.importsStack.push(new Set),new WZ(J)}enter(J){if(J===256)this.importsStack.push(new Set);super.enter(J)}exit(){const J=super.exit();if(J===256)this.importsStack.pop();return J}hasImport(J,G){const 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}const H=this.currentScope();let 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){const H=J.tsNames.get(G);if((H&2)>0){if(X&256){const 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){const{name:G}=J;if(this.hasImport(G))return;const X=this.scopeStack.length;for(let H=X-1;H>=0;H--){const Z=this.scopeStack[H].tsNames.get(G);if((Z&1)>0||(Z&16)>0)return}super.checkLocalExport(J)}}var KZ=(J)=>{return J.type==="ParenthesizedExpression"?KZ(J.expression):J};class UZ extends YZ{toAssignable(J,G=!1){var X,H;let V=void 0;if(J.type==="ParenthesizedExpression"||(X=J.extra)!=null&&X.parenthesized)if(V=KZ(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;const 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":{const{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";const 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){const H=J.length-1;for(let V=0;V<=H;V++){const Z=J[V];if(!Z)continue;if(Z.type==="SpreadElement"){Z.type="RestElement";const 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":{const 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){const G=this.startNode();return this.next(),G.argument=this.parseMaybeAssignAllowIn(J,void 0),this.finishNode(G,"SpreadElement")}parseRestBinding(){const J=this.startNode();return this.next(),J.argument=this.parseBindingAtom(),this.finishNode(J,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const 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){const H=X&1,V=[];let 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{const 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(){const{type:J,startLoc:G}=this.state;if(J===21)return this.parseBindingRestProperty(this.startNode());const 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){const X=this.parseMaybeDefault();if(this.hasPlugin("flow")||J&2)this.parseFunctionParamType(X);const 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;const 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;const Y=J.type;if(this.isObjectMethod(J))return;const 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);const{name:I}=J;if(H)if(H.has(I))this.raise(j.ParamDupe,J);else H.add(I);return}const z=this.isValidLVal(Y,!(Z||(Q=J.extra)!=null&&Q.parenthesized)&&G.type==="AssignmentExpression",X);if(z===!0)return;if(z===!1){const 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;const 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?pV(J.name,this.inModule):aV(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}}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}.`}),TJ1=(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 zZ}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;const 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){const 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(;;){const{startLoc:z}=this.state,U=this.tsParseModifier(X.concat(H!=null?H:[]),V);if(!U)break;if(gV(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(NJ1(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){const V=[];while(!this.tsIsListTerminator(X))V.push(H());return V}tsParseDelimitedList(X,H,V){return PJ1(this.tsParseDelimitedListWorker(X,H,!0,V))}tsParseDelimitedListWorker(X,H,V,Z){const Q=[];let Y=-1;for(;;){if(this.tsIsListTerminator(X))break;Y=-1;const 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);const Y=this.tsParseDelimitedList(X,H,Q);if(V)this.expect(3);else this.expect(48);return Y}tsParseImportType(){const 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)){const V=this.startNodeAtNode(H);V.left=H,V.right=this.parseIdentifier(X),H=this.finishNode(V,"TSQualifiedName")}return H}tsParseTypeReference(){const 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();const H=this.startNodeAtNode(X);return H.parameterName=X,H.typeAnnotation=this.tsParseTypeAnnotation(!1),H.asserts=!1,this.finishNode(H,"TSTypePredicate")}tsParseThisTypeNode(){const X=this.startNode();return this.next(),this.finishNode(X,"TSThisType")}tsParseTypeQuery(){const 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){const 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){const H=this.startNode();if(this.match(47)||this.match(142))this.next();else this.unexpected();const 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){const V=X===19;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(){const X=super.parseBindingList(11,41,2);for(let H of X){const{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);const H=this.parseIdentifier();H.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(H),this.expect(3),X.parameters=[H];const 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;const V=X;if(this.match(10)||this.match(47)){if(H)this.raise(a.ReadonlyForMethodSignature,X);const Z=V;if(Z.kind&&this.match(47))this.raise(a.AccessorCannotHaveTypeParameters,this.state.curPosition());this.tsFillSignature(14,Z),this.tsParseTypeMemberSemicolon();const 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{const 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{const Z=V;if(H)Z.readonly=!0;const Q=this.tsTryParseTypeAnnotation();if(Q)Z.typeAnnotation=Q;return this.tsParseTypeMemberSemicolon(),this.finishNode(Z,"TSPropertySignature")}}tsParseTypeMember(){const X=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",X);if(this.match(77)){const 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);const 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(){const X=this.startNode();return X.members=this.tsParseObjectTypeMembers(),this.finishNode(X,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const 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(){const 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);{const 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(){const X=this.startNode();X.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let H=!1;return X.elementTypes.forEach((V)=>{const{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(){const{startLoc:X}=this.state,H=this.eat(21);let V,Z,Q,Y;const 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;const 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){const U=this.startNodeAtNode(Y);U.typeAnnotation=Y,Y=this.finishNode(U,"TSOptionalType")}if(H){const U=this.startNodeAt(X);U.typeAnnotation=Y,Y=this.finishNode(U,"TSRestType")}return Y}tsParseParenthesizedType(){const X=this.startNode();return this.expect(10),X.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(X,"TSParenthesizedType")}tsParseFunctionOrConstructorType(X,H){const 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(){const 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(){const 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(){const 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==="-"){const 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:{const{type:X}=this.state;if(j1(X)||X===88||X===84){const H=X===88?"TSVoidKeyword":X===84?"TSNullKeyword":fJ1(this.state.value);if(H!==void 0&&this.lookaheadCharCode()!==46){const 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)){const H=this.startNodeAtNode(X);H.elementType=X,this.expect(3),X=this.finishNode(H,"TSArrayType")}else{const H=this.startNodeAtNode(X);H.objectType=X,H.indexType=this.tsParseType(),this.expect(3),X=this.finishNode(H,"TSIndexedAccessType")}return X}tsParseTypeOperator(){const 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(){const X=this.startNode();this.expectContextual(115);const 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)){const X=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return X}}tsParseTypeOperatorOrHigher(){return p81(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(X,H,V){const 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)){const{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();const{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(()=>{const H=this.startNode();this.expect(X);const 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")}const 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")}const 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(){const X=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),X}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const 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(){vV(this.state.inType);const X=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return X;const 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);const 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){const H=this.state.startLoc,V=this.tsParseDelimitedList("HeritageClauseElement",()=>{const 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");const 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){const H=this.startNode();return this.next(),this.finishNode(H,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(X,"TSTypeAliasDeclaration")}tsInNoContext(X){const H=this.state.context;this.state.context=[H[0]];try{return X()}finally{this.state.context=H}}tsInType(X){const H=this.state.inType;this.state.inType=!0;try{return X()}finally{this.state.inType=H}}tsInDisallowConditionalTypesContext(X){const H=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return X()}finally{this.state.inDisallowConditionalTypesContext=H}}tsInAllowConditionalTypesContext(X){const 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(){const 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(){const 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)){const 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);const 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(){const 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){const H=this.state.clone(),V=X();return this.state=H,V}tsTryParseAndCatch(X){const H=this.tryParse((V)=>X()||V());if(H.aborted||!H.node)return;if(H.error)this.state=H.failState;return H.node}tsTryParse(X){const 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:{const 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":{const 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);const 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;const H=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const V=this.tsTryParseAndCatch(()=>{const 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(){const 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 r81(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return!1;return super.isExportDefaultSpecifier()}parseAssignableListItem(X,H){const V=this.state.startLoc,Z={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},Z);const{accessibility:Q,override:Y,readonly:W}=Z;if(!(X&4)&&(Q||W||Y))this.raise(a.UnexpectedParameterModifier,V);const z=this.parseMaybeDefault();if(X&2)this.parseFunctionParamType(z);const U=this.parseMaybeDefault(z.loc.start,z);if(Q||W||Y){const 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);const 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){const 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();const 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;const W=this.tsTryParseAndCatch(()=>{if(!V&&this.atPossibleAsyncArrow(X)){const A=this.tsTryParseGenericAsyncArrowFunction(H);if(A)return A}const z=this.tsParseTypeArgumentsInExpression();if(!z)return;if(Q&&!this.match(10)){Y=this.state.curPosition();return}if(q9(this.state.type)){const A=super.parseTaggedTemplateExpression(X,H,Z);return A.typeParameters=z,A}if(!V&&this.eat(10)){const 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)}const U=this.state.type;if(U===48||U===52||U!==10&&E8(U)&&!this.hasPrecedingLineBreak())return;const 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);const{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($9(58)>V&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(Z=this.isContextual(120)))){const 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)){const 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)){const 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();const V=X;let 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)){const V=X;return V.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(V,"TSExportAssignment")}else if(this.eatContextual(93)){const 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()){const X=this.startNode();return this.next(),X.abstract=!0,this.parseClass(X,!0,!0)}if(this.match(129)){const X=this.tsParseInterfaceDeclaration(this.startNode());if(X)return X}return super.parseExportDefaultExpression()}parseVarStatement(X,H,V=!1){const{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(!LJ1(W,this.hasPlugin("estree")))this.raise(a.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,W)}return Q}parseStatementContent(X,H){if(this.match(75)&&this.isLookaheadContextual("enum")){const 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)){const 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(gV(V))return X.accessibility===V;return!!X[V]})}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(X,H,V){const Z=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:Z,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:a.InvalidModifierOnTypeParameterPositions},H);const 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){const 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);const 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){const V=super.parseParenItem(X,H);if(this.eat(17))V.optional=!0,this.resetEndLocation(X);if(this.match(14)){const 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));const H=this.state.startLoc,V=this.eatContextual(125);if(V&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(a.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const 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);const 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}const 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)){const{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){const W=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(W&&Q)this.raise(a.ConstructorHasTypeParameters,W);const{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){const 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){const z=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(z)X.typeParameters=z;return super.parseObjPropValue(X,H,V,Z,Q,Y,W)}parseFunctionParams(X,H){const 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;const 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;const{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;const D=this.tryParse((I)=>{var _,f;A=this.tsParseTypeParameters(this.tsParseConstModifier);const 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(vV(!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)){const H=this.tryParse((V)=>{const 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;const 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)){const H=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const 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){const 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(){const{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(){const{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++){const 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)){const H=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());if(H)X.typeParameters=H}return super.jsxParseOpeningElementAfterName(X)}getGetterSetterExpectedParamCount(X){const H=super.getGetterSetterExpectedParamCount(X),Z=this.getObjectOrClassMethodParams(X)[0];return Z&&this.isThisParam(Z)?H+1:H}parseCatchClauseParam(){const X=super.parseCatchClauseParam(),H=this.tsTryParseTypeAnnotation();if(H)X.typeAnnotation=H,this.resetEndLocation(X);return X}tsInAmbientContext(X){const{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){const 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){const z=super.parseMethod(X,H,V,Z,Q,Y,W);if(z.abstract){if(this.hasPlugin("estree")?!!z.value.body:!!z.body){const{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){const Z=H?"imported":"local",Q=H?"local":"exported";let Y=X[Z],W,z=!1,U=!0;const F=Y.loc.start;if(this.isContextual(93)){const D=this.parseIdentifier();if(this.isContextual(93)){const 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;const 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)}},_V=k2`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),bJ1=(J)=>class G extends J{parsePlaceholder(X){if(this.match(144)){const 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)){const Q=X;return Q.label=this.finishPlaceholder(H,"Identifier"),this.next(),Q.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(Q,"LabeledStatement")}this.semicolon();const 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){const Z=H?"ClassDeclaration":"ClassExpression";this.next();const 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(_V.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){const V=this.parsePlaceholder("Identifier");if(!V)return super.parseExport(X,H);const 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");const Q=this.startNode();return Q.exported=V,Z.specifiers=[this.finishNode(Q,"ExportDefaultSpecifier")],super.parseExport(Z,H)}isExportDefaultSpecifier(){if(this.match(65)){const X=this.nextTokenStart();if(this.isUnparsedContextual(X,"from")){if(this.input.startsWith(i2(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){const{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){const 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");const 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(_V.UnexpectedSpace,this.state.lastTokEndLoc)}},EJ1=(J)=>class G extends J{parseV8Intrinsic(){if(this.match(54)){const X=this.state.startLoc,H=this.startNode();if(this.next(),j1(this.state.type)){const 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)}},uV=["minimal","fsharp","hack","smart"],hV=["^^","@@","^","%","#"],$Z={estree:_81,jsx:IJ1,flow:DJ1,typescript:TJ1,v8intrinsic:EJ1,placeholders:bJ1},gJ1=Object.keys($Z),L8={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};class MZ extends UZ{checkProto(J,G,X,H){if(J.type==="SpreadElement"||this.isObjectMethod(J)||J.computed||J.shorthand)return;const 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();const 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){const G=this.state.startLoc,X=this.parseMaybeAssign(J);if(this.match(12)){const 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){const 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 R5,H=!0;const{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(m81(this.state.type)){const Q=this.startNodeAt(X),Y=this.state.value;if(Q.operator=Y,this.match(29)){this.toAssignable(Z,!0),Q.left=Z;const 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){const 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)){const 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){const 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)){const V=this.getPrivateNameSV(J);if(X>=$9(58)||!this.prodParam.hasIn||!this.match(58))this.raise(j.PrivateInExpectedIn,J,{identifierName:V});this.classScope.usePrivateName(V,J.loc.start)}const H=this.state.type;if(l81(H)&&(this.prodParam.hasIn||!this.match(58))){let V=$9(H);if(V>X){if(H===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return J;this.checkPipelineAtInfixOperator(J,G)}const Z=this.startNodeAt(G);Z.left=J,Z.operator=this.state.value;const Q=H===41||H===42,Y=H===40;if(Y)V=$9(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);const 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){const 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){const X=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),X,d81(J)?G-1:G)}parseHackPipeBody(){var J;const{startLoc:G}=this.state,X=this.parseMaybeAssign();if(k81.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){const X=this.state.startLoc,H=this.isContextual(96);if(H&&this.recordAwaitIfAllowed()){this.next();const Y=this.parseAwait(X);if(!G)this.checkExponentialAfterUnary(Y);return Y}const V=this.match(34),Z=this.startNode();if(a81(this.state.type)){if(Z.operator=this.state.value,Z.prefix=!0,this.match(72))this.expectPlugin("throwExpressions");const Y=this.match(89);if(this.next(),Z.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(J,!0),this.state.strict&&Y){const 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")}}const Q=this.parseUpdate(Z,V,J);if(H){const{type:Y}=this.state;if((this.hasPlugin("v8intrinsic")?E8(Y):E8(Y)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(j.AwaitNotInAsyncContext,X),this.parseAwait(X)}return Q}parseUpdate(J,G,X){if(G){const Z=J;return this.checkLVal(Z.argument,this.finishNode(Z,"UpdateExpression")),J}const H=this.state.startLoc;let V=this.parseExprSubscripts(X);if(this.checkExpressionErrors(X,!1))return V;while(i81(this.state.type)&&!this.canInsertSemicolon()){const 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){const 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){const 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){const{type:V}=this.state;if(!X&&V===15)return this.parseBind(J,G,X,H);else if(q9(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{const 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){const 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){const 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){const V=this.state.maybeInArrowParameters;let Z=null;this.state.maybeInArrowParameters=!0,this.next();const Q=this.startNodeAt(G);Q.callee=J;const{maybeAsyncArrow:Y,optionalChainMember:W}=X;if(Y)this.expressionScope.enter($J1()),Z=new R5;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){const 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){const Z=[];let Q=!0;const 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)M5(J,G.innerComments);if(G.callee.trailingComments)M5(J,G.callee.trailingComments);return J}parseNoCallExpr(){const J=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),J,!0)}parseExprAtom(J){let G,X=null;const{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:{const 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;const 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:{const V=this.getPluginOption("pipelineOperator","proposal");if(V)return this.parseTopicReference(V);this.unexpected();break}case 47:{const 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();const V=this.state.potentialArrowAt===this.state.start,Z=this.state.containsEsc,Q=this.parseIdentifier();if(!Z&&Q.name==="async"&&!this.canInsertSemicolon()){const{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){const 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=a1(this.state.endLoc,-1),this.parseTopicReference(X);else this.unexpected()}parseTopicReference(J){const 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)){const 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:i2(H)})}testTopicReferenceConfiguration(J,G,X){switch(J){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:i2(X)}]);case"smart":return X===27;default:throw this.raise(j.PipeTopicRequiresHackPipes,G)}}parseAsyncArrowUnaryFunction(J){this.prodParam.enter(M9(!0,this.prodParam.hasYield));const 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();const 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(){const 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(){const J=this.startNode(),G=this.startNodeAt(a1(this.state.startLoc,1)),X=this.state.value;return this.next(),J.id=this.createIdentifier(G,X),this.finishNode(J,"PrivateName")}parseFunctionOrFunctionSent(){const J=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const 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;const 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){const 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)){const 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){const 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){const 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){const G=this.startNode();return G.value=J,this.next(),this.finishNode(G,"BooleanLiteral")}parseNullLiteral(){const J=this.startNode();return this.next(),this.finishNode(J,"NullLiteral")}parseParenAndDistinguishExpression(J){const G=this.state.startLoc;let X;this.next(),this.expressionScope.enter(RJ1());const H=this.state.maybeInArrowParameters,V=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const Z=this.state.startLoc,Q=[],Y=new R5;let 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)){const 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))}const 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;const 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(){const J=this.startNode();if(this.next(),this.match(16)){const G=this.createIdentifier(this.startNodeAtNode(J),"new");this.next();const 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)){const G=this.parseExprList(11);this.toReferencedList(G),J.arguments=G}else J.arguments=[];return this.finishNode(J,"NewExpression")}parseNewCallee(J){const 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){const{start:G,startLoc:X,end:H,value:V}=this.state,Z=G+1,Q=this.startNodeAt(a1(X,1));if(V===null){if(!J)this.raise(j.InvalidEscapeSequenceTemplate,a1(this.state.firstInvalidTemplateEscapePos,1))}const 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();const U=this.finishNode(Q,"TemplateElement");return this.resetEndLocation(U,a1(this.state.lastTokEndLoc,W)),U}parseTemplate(J){const G=this.startNode();let X=this.parseTemplateElement(J);const 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");const V=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const Z=Object.create(null);let Q=!0;const 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())}const X=this.startNode();let 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);const Y=this.state.containsEsc;if(this.parsePropertyName(X,J),!Q&&!Y&&this.maybeAsyncOrAccessorProp(X)){const{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;const 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){const 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)){const 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){const 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{const{type:X,value:H}=this.state;let 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:{const 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(M9(X,J.generator)),this.parseFunctionParams(J,H);const Y=this.parseFunctionBodyAndFinish(J,Z,!0);return this.prodParam.exit(),this.scope.exit(),Y}parseArrayLike(J,G,X,H){if(X)this.expectPlugin("recordAndTuple");const V=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const 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=M9(X,!1);if(!this.match(5)&&this.prodParam.hasIn)V|=8;this.prodParam.enter(V),this.initFunction(J,X);const 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){const H=G&&!this.match(5);if(this.expressionScope.enter(VZ()),H)J.body=this.parseMaybeAssign(),this.checkParams(J,!1,G,!1);else{const 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)=>{const 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);const 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){const 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){const V=[];let 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)){const 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);const V=this.startNode();this.next(),H=this.finishNode(V,"ArgumentPlaceholder")}else H=this.parseMaybeAssignAllowIn(G,this.parseParenItem);return H}parseIdentifier(J){const 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;const{startLoc:X,type:H}=this.state;if(U2(H))G=this.state.value;else this.unexpected();const V=y81(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(!VJ1(J))return;if(X&&GJ1(J)){this.raise(j.UnexpectedKeyword,G,{keyword:J});return}if((!this.state.strict?lV:H?pV:iV)(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(){const J=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;if(J&&!this.scope.inFunction)this.state.hasTopLevelAwait=!0;return J}parseAwait(J){const 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;const{type:J}=this.state;return J===53||J===10||J===0||q9(J)||J===102&&!this.state.containsEsc||J===137||J===56||this.hasPlugin("v8intrinsic")&&J===54}parseYield(){const 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)){const X=this.startNodeAt(G);return X.callee=J,this.finishNode(X,"PipelineBareFunction")}else{const 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){const 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"}])){const G=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return J()}finally{this.state.topicContext=G}}else return J()}withSoloAwaitPermittingContext(J){const G=this.state.soloAwait;this.state.soloAwait=!0;try{return J()}finally{this.state.soloAwait=G}}allowInAnd(J){const G=this.prodParam.currentFlags();if(8&~G){this.prodParam.enter(G|8);try{return J()}finally{this.prodParam.exit()}}return J()}disallowInAnd(J){const 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){const G=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const X=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const H=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),G,J);return this.state.inFSharpPipelineDirectBody=X,H}parseModuleExpression(){this.expectPlugin("moduleBlocks");const J=this.startNode();if(this.next(),!this.match(5))this.unexpected(null,5);const G=this.startNodeAt(this.state.endLoc);this.next();const X=this.initializeScopes(!0);this.enterInitialScopes();try{J.body=this.parseProgram(G,8,"module")}finally{X()}return this.finishNode(J,"ModuleExpression")}parsePropertyNamePrefixOperator(J){}}var k8={kind:1},uJ1={kind:2},hJ1=/[\uD800-\uDFFF]/u,b8=/in(?:stanceof)?/y;class qZ extends MZ{parseTopLevel(J,G){if(J.program=this.parseProgram(G),J.comments=this.comments,this.options.tokens)J.tokens=yJ1(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",a1(this.state.startLoc,-1));return H}stmtToDirective(J){const G=J;G.type="Directive",G.value=G.expression,delete G.expression;const 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;const 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(b8.lastIndex=G,b8.test(this.input)){const X=this.codePointAtPos(b8.lastIndex);if(!S0(X)&&X!==92)return!1}return!0}else if(J===92)return!0;else return!1}chStartsBindingPattern(J){return J===91||J===123}hasFollowingBindingAtom(){const J=this.nextTokenStart(),G=this.codePointAtPos(J);return this.chStartsBindingPattern(G)||this.chStartsBindingIdentifier(G,J)}hasInLineFollowingBindingIdentifierOrBrace(){const J=this.nextTokenInLineStart(),G=this.codePointAtPos(J);return G===123||this.chStartsBindingIdentifier(G,J)}startsUsingForOf(){const{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);const 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){const 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;const 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:{const 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:{const 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)}}const 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){const 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"]);const J=this.startNode();if(this.next(),this.hasPlugin("decorators")){const G=this.state.startLoc;let X;if(this.match(10)){const H=this.state.startLoc;this.next(),X=this.parseExpression(),this.expect(11),X=this.wrapParenthesis(H,X);const 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)){const 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)){const 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){const 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){const 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);const J=this.parseExpression();return this.expect(11),J}parseDoWhileStatement(J){return this.next(),this.state.labels.push(k8),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(k8);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)}const X=this.isContextual(100);{const 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){const U=this.startNode();let 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);const 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)}}const H=this.isContextual(95),V=new R5,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);const 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();const G=J.cases=[];this.expect(5),this.state.labels.push(uJ1),this.scope.enter(0);let X;for(let H;!this.match(8);)if(this.match(61)||this.match(65)){const 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(){const 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)){const 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(k8),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});const V=c81(this.state.type)?1:this.match(71)?2:null;for(let Z=this.state.labels.length-1;Z>=0;Z--){const 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){const 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){const Z=J.body=[],Q=J.directives=[];this.parseBlockOrModuleBlockBody(Z,G?Q:void 0,X,H,V)}parseBlockOrModuleBlockBody(J,G,X,H,V){const Z=this.state.strict;let Q=!1,Y=!1;while(!this.match(H)){const W=X?this.parseModuleItem():this.parseStatementListItem();if(G&&!Y){if(this.isValidDirective(W)){const 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){const 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){const V=J.declarations=[];J.kind=X;for(;;){const 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){const 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){const 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);const Q=this.state.maybeInArrowParameters;if(this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(M9(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(BJ1()),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();const 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();const X={hadConstructor:!1,hadSuperClass:J};let H=[];const 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}const 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){const X=this.parseIdentifier(!0);if(this.isClassMethod()){const 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()){const 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){const 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){const 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";const 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}const 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}const f=this.isNonstaticConstructor(V);let 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);const f=this.eat(55);if(U.optional)this.unexpected(_);z.kind="method";const 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;const 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);const 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){const{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);const H=this.parsePrivateName();return J.key=H,H}return this.parsePropertyName(J),J.key}parseClassStaticBlock(J,G){var X;this.scope.enter(208);const H=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const 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){const 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);const 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){const V=this.parseMethod(G,X,H,!1,!1,"ClassPrivateMethod",!0);J.body.push(V);const 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(VZ()),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){const 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")}const 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;const 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)){const 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);const 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=[]);const 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)){const G=J;if(!G.specifiers)G.specifiers=[];const 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;const J=this.nextTokenInLineStart();return this.isUnparsedContextual(J,"function")}parseExportDefaultExpression(){const 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);const G=this.parseMaybeAssignAllowIn();return this.semicolon(),G}parseExportDeclaration(J){if(this.match(80))return this.parseClass(this.startNode(),!0,!1);return this.parseStatementListItem()}isExportDefaultSpecifier(){const{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){const{type:H}=this.lookahead();if(j1(H)&&H!==98||H===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const 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){const 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(){const{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;const 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){const{exported:Y}=Q,W=Y.type==="Identifier"?Y.name:Y.value;if(this.checkDuplicateExports(Q,W),!H&&Q.local){const{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){const Q=J.declaration;if(Q.type==="FunctionDeclaration"||Q.type==="ClassDeclaration"){const{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){const G=[];let X=!0;this.expect(5);while(!this.eat(8)){if(X)X=!1;else if(this.expect(12),this.eat(8))break;const 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=qJ1(J.local);else if(!J.exported)J.exported=E2(J.local);return this.finishNode(J,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const J=this.parseStringLiteral(this.state.value),G=hJ1.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){const{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"){const{specifiers:G}=J;if(G!=null){const 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;const 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){const{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=[];const 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);const J=[],G=new Set;do{if(this.match(8))break;const 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(){const J=[],G=new Set;do{const 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){const 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)){const 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}const X=this.startNode(),H=this.match(133),V=this.isContextual(130);X.imported=this.parseModuleExportName();const 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{const{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 s8 extends qZ{constructor(J,G,X){J=_J1(J);super(J,G);this.options=J,this.initializeScopes(),this.plugins=X,this.filename=J.sourceFilename}getScopeHandler(){return j9}parse(){this.enterInitialScopes();const 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}}var lJ1=cJ1(h81),yV=new Map;FZ.parse=xJ1;FZ.parseExpression=mJ1;FZ.tokTypes=lJ1});var t8=C((jZ)=>{Object.defineProperty(jZ,"__esModule",{value:!0});jZ.Var=jZ.User=jZ.Statement=jZ.SpreadProperty=jZ.Scope=jZ.RestProperty=jZ.ReferencedMemberExpression=jZ.ReferencedIdentifier=jZ.Referenced=jZ.Pure=jZ.NumericLiteralTypeAnnotation=jZ.Generated=jZ.ForAwaitStatement=jZ.Flow=jZ.Expression=jZ.ExistentialTypeParam=jZ.BlockScoped=jZ.BindingIdentifier=void 0;var gq1=jZ.ReferencedIdentifier=["Identifier","JSXIdentifier"],_q1=jZ.ReferencedMemberExpression=["MemberExpression"],uq1=jZ.BindingIdentifier=["Identifier"],hq1=jZ.Statement=["Statement"],yq1=jZ.Expression=["Expression"],xq1=jZ.Scope=["Scopable","Pattern"],mq1=jZ.Referenced=null,cq1=jZ.BlockScoped=null,lq1=jZ.Var=["VariableDeclaration"],iq1=jZ.User=null,aq1=jZ.Generated=null,pq1=jZ.Pure=null,rq1=jZ.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],dq1=jZ.RestProperty=["RestElement"],sq1=jZ.SpreadProperty=["RestElement"],tq1=jZ.ExistentialTypeParam=["ExistsTypeAnnotation"],nq1=jZ.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],oq1=jZ.ForAwaitStatement=["ForOfStatement"]});var CZ=C((JF1,AZ)=>{function RG1(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*BG1;case"weeks":case"week":case"w":return X*UG1;case"days":case"day":case"d":return X*X0;case"hours":case"hour":case"hrs":case"hr":case"h":return X*N0;case"minutes":case"minute":case"mins":case"min":case"m":return X*f0;case"seconds":case"second":case"secs":case"sec":case"s":return X*P0;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return X;default:return}}function $G1(J){var G=Math.abs(J);if(G>=X0)return Math.round(J/X0)+"d";if(G>=N0)return Math.round(J/N0)+"h";if(G>=f0)return Math.round(J/f0)+"m";if(G>=P0)return Math.round(J/P0)+"s";return J+"ms"}function MG1(J){var G=Math.abs(J);if(G>=X0)return A9(J,G,X0,"day");if(G>=N0)return A9(J,G,N0,"hour");if(G>=f0)return A9(J,G,f0,"minute");if(G>=P0)return A9(J,G,P0,"second");return J+" ms"}function A9(J,G,X,H){var V=G>=X*1.5;return Math.round(J/X)+" "+H+(V?"s":"")}var P0=1000,f0=P0*60,N0=f0*60,X0=N0*24,UG1=X0*7,BG1=X0*365.25;AZ.exports=function(J,G){G=G||{};var X=typeof J;if(X==="string"&&J.length>0)return RG1(J);else if(X==="number"&&isFinite(J))return G.long?MG1(J):$G1(J);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(J))}});var n8=C((GF1,DZ)=>{function qG1(J){X.debug=X,X.default=X,X.coerce=W,X.disable=Z,X.enable=V,X.enabled=Q,X.humanize=CZ(),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;const 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++;const b1=X.formatters[T1];if(typeof b1==="function"){const 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){const 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;const 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(){const 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}DZ.exports=qG1});var IZ=C((SZ,D9)=>{function FG1(){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 jG1(J){if(J[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+J[0]+(this.useColors?"%c ":" ")+"+"+D9.exports.humanize(this.diff),!this.useColors)return;const 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)}function OG1(J){try{if(J)SZ.storage.setItem("debug",J);else SZ.storage.removeItem("debug")}catch(G){}}function AG1(){let J;try{J=SZ.storage.getItem("debug")}catch(G){}if(!J&&typeof process!=="undefined"&&"env"in process)J=process.env.DEBUG;return J}function CG1(){try{return localStorage}catch(J){}}SZ.formatArgs=jG1;SZ.save=OG1;SZ.load=AG1;SZ.useColors=FG1;SZ.storage=CG1();SZ.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`.")}})();SZ.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"];SZ.log=console.debug||console.log||(()=>{});D9.exports=n8()(SZ);var{formatters:DG1}=D9.exports;DG1.j=function(J){try{return JSON.stringify(J)}catch(G){return"[UnexpectedJSONParseError]: "+G.message}}});var fZ={};nW(fZ,{default:()=>gG1,createSupportsColor:()=>o8});import e8 from"process";import LG1 from"os";import PZ from"tty";function Z2(J,G=globalThis.Deno?globalThis.Deno.args:e8.argv){const X=J.startsWith("-")?"":J.length===1?"-":"--",H=G.indexOf(X+J),V=G.indexOf("--");return H!==-1&&(V===-1||H<V)}function kG1(){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 bG1(J){if(J===0)return!1;return{level:J,hasBasic:!0,has256:J>=2,has16m:J>=3}}function EG1(J,{streamIsTTY:G,sniffFlags:X=!0}={}){const H=kG1();if(H!==void 0)S9=H;const V=X?S9: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;const Z=V||0;if(N1.TERM==="dumb")return Z;if(e8.platform==="win32"){const Q=LG1.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){const 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 o8(J,G={}){const X=EG1(J,{streamIsTTY:J&&J.isTTY,...G});return bG1(X)}var N1,S9,vG1,gG1;var NZ=oW(()=>{({env:N1}=e8);if(Z2("no-color")||Z2("no-colors")||Z2("color=false")||Z2("color=never"))S9=0;else if(Z2("color")||Z2("colors")||Z2("color=true")||Z2("color=always"))S9=1;vG1={stdout:o8({isTTY:PZ.isatty(1)}),stderr:o8({isTTY:PZ.isatty(2)})},gG1=vG1});var kZ=C((wZ,P9)=>{function uG1(){return"colors"in wZ.inspectOpts?Boolean(wZ.inspectOpts.colors):_G1.isatty(process.stderr.fd)}function hG1(J){const{namespace:G,useColors:X}=this;if(X){const 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+"+P9.exports.humanize(this.diff)+"\x1B[0m")}else J[0]=yG1()+G+" "+J[0]}function yG1(){if(wZ.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function xG1(...J){return process.stderr.write(I9.formatWithOptions(wZ.inspectOpts,...J)+"\n")}function mG1(J){if(J)process.env.DEBUG=J;else delete process.env.DEBUG}function cG1(){return process.env.DEBUG}function lG1(J){J.inspectOpts={};const G=Object.keys(wZ.inspectOpts);for(let X=0;X<G.length;X++)J.inspectOpts[G[X]]=wZ.inspectOpts[G[X]]}var _G1=import.meta.require("tty"),I9=import.meta.require("util");wZ.init=lG1;wZ.log=xG1;wZ.formatArgs=hG1;wZ.save=mG1;wZ.load=cG1;wZ.useColors=uG1;wZ.destroy=I9.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");wZ.colors=[6,2,3,4,5,1];try{const J=(NZ(),tW(fZ));if(J&&(J.stderr||J).level>=2)wZ.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){}wZ.inspectOpts=Object.keys(process.env).filter((J)=>{return/^debug_/i.test(J)}).reduce((J,G)=>{const X=G.substring(6).toLowerCase().replace(/_([a-z])/g,(V,Z)=>{return Z.toUpperCase()});let 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},{});P9.exports=n8()(wZ);var{formatters:TZ}=P9.exports;TZ.o=function(J){return this.inspectOpts.colors=this.useColors,I9.inspect(J,this.inspectOpts).split("\n").map((G)=>G.trim()).join(" ")};TZ.O=function(J){return this.inspectOpts.colors=this.useColors,I9.inspect(J,this.inspectOpts)}});var bZ=C((YF1,JJ)=>{if(typeof process==="undefined"||process.type==="renderer"||!1||process.__nwjs)JJ.exports=IZ();else JJ.exports=kZ()});var XJ=C((gZ)=>{function FX1(J){const{node:G,parent:X}=this;if(!EZ(G,J)&&!WX1(X,J))if(YX1(G,J)){if(qX1(G.name))return!1}else return!1;return GJ(G,X,this.parentPath.parent)}function jX1(){const{node:J,parent:G}=this;return zX1(J)&&GJ(J,G)}function OX1(){const{node:J,parent:G}=this,X=this.parentPath.parent;return EZ(J)&&oG1(J,G,X)}function AX1(){const{node:J,parent:G}=this;if(UX1(J)){if(RX1(J)){if(VX1(G,{left:J}))return!1;if(HX1(G,{init:J}))return!1}return!0}else return!1}function CX1(){if(this.isIdentifier())return this.isReferencedIdentifier();else return GX1(this.node)}function DX1(){return KX1(this.node,this.parent)}function SX1(){return GJ(this.node,this.parent)}function IX1(){return eG1(this.node)}function PX1(){return BX1(this.node)}function fX1(){return this.node&&!!this.node.loc}function NX1(){return!this.isUser()}function TX1(J){return this.scope.isPure(this.node,J)}function wX1(){const{node:J}=this;if(XX1(J))return!0;else if(ZX1(J))return J.importKind==="type"||J.importKind==="typeof";else if(JX1(J))return J.exportKind==="type";else if(QX1(J))return J.importKind==="type"||J.importKind==="typeof";else return!1}function LX1(){var J;return vZ(this.node)&&((J=this.parentPath)==null?void 0:J.isObjectPattern())}function kX1(){var J;return vZ(this.node)&&((J=this.parentPath)==null?void 0:J.isObjectExpression())}function bX1(){return MX1(this.node,{await:!0})}Object.defineProperty(gZ,"__esModule",{value:!0});gZ.isBindingIdentifier=OX1;gZ.isBlockScoped=IX1;gZ.isExpression=CX1;gZ.isFlow=wX1;gZ.isForAwaitStatement=bX1;gZ.isGenerated=NX1;gZ.isPure=TX1;gZ.isReferenced=SX1;gZ.isReferencedIdentifier=FX1;gZ.isReferencedMemberExpression=jX1;gZ.isRestProperty=LX1;gZ.isScope=DX1;gZ.isSpreadProperty=kX1;gZ.isStatement=AX1;gZ.isUser=fX1;gZ.isVar=PX1;var nG1=W1(),{isBinding:oG1,isBlockScoped:eG1,isExportDeclaration:JX1,isExpression:GX1,isFlow:XX1,isForStatement:HX1,isForXStatement:VX1,isIdentifier:EZ,isImportDeclaration:ZX1,isImportSpecifier:QX1,isJSXIdentifier:YX1,isJSXMemberExpression:WX1,isMemberExpression:zX1,isRestElement:vZ,isReferenced:GJ,isScope:KX1,isStatement:UX1,isVar:BX1,isVariableDeclaration:RX1,react:$X1,isForOfStatement:MX1}=nG1,{isCompatTag:qX1}=$X1;gZ.isExistentialTypeParam=function J(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},gZ.isNumericLiteralTypeAnnotation=function J(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var O5=C((sZ)=>{function oX1(J){return J in iZ}function aZ(J){return J==null?void 0:J._exploded}function pZ(J){if(aZ(J))return J;J._exploded=!0;for(let G of Object.keys(J)){if(V0(G))continue;const X=G.split("|");if(X.length===1)continue;const H=J[G];delete J[G];for(let V of X)J[V]=H}rZ(J),delete J.__esModule,eX1(J),lZ(J);for(let G of Object.keys(J)){if(V0(G))continue;if(!oX1(G))continue;const X=J[G];for(let V of Object.keys(X))X[V]=J61(G,X[V]);delete J[G];const H=iZ[G];if(H!==null)for(let V of H)if(J[V])j5(J[V],X);else J[V]=X;else j5(J,X)}for(let G of Object.keys(J)){if(V0(G))continue;let X=yZ[G];if(G in uZ){const V=uZ[G];xZ(G,V,"Visitor "),X=[V]}else if(G in hZ){const V=hZ[G];xZ(G,V,"Visitor "),X=yZ[V]}if(!X)continue;const H=J[G];delete J[G];for(let V of X){const Z=J[V];if(Z)j5(Z,H);else J[V]=Object.assign({},H)}}for(let G of Object.keys(J)){if(V0(G))continue;lZ(J[G])}return J}function rZ(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")mZ(G,J[G]);if(V0(G))continue;if(!nX1.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.7`);const X=J[G];if(typeof X==="object")for(let H of Object.keys(X))if(H==="enter"||H==="exit")mZ(`${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 mZ(J,G){const 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 dZ(J,G=[],X){const 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++){const Z=pZ(J[V]),Q=G[V];let Y=Z;if(Q||X)Y=cZ(Y,Q,X);j5(H,Y);for(let W of Object.keys(Z)){if(V0(W))continue;let z=Z[W];if(Q||X)z=cZ(z,Q,X);const U=H[W]||(H[W]={});j5(U,z)}}return H}function cZ(J,G,X){const 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 eX1(J){for(let G of Object.keys(J)){if(V0(G))continue;const X=J[G];if(typeof X==="function")J[G]={enter:X}}}function lZ(J){if(J.enter&&!Array.isArray(J.enter))J.enter=[J.enter];if(J.exit&&!Array.isArray(J.exit))J.exit=[J.exit]}function J61(J,G){const X=`is${J}`,H=sX1[X],V=function(Z){if(H.call(Z))return G.apply(this,arguments)};return V.toString=()=>G.toString(),V}function V0(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 j5(J,G){for(let X of["enter","exit"]){if(!G[X])continue;J[X]=[].concat(J[X]||[],G[X])}}function X61(J){return dZ([G61,J])}Object.defineProperty(sZ,"__esModule",{value:!0});sZ.environmentVisitor=X61;sZ.explode=pZ;sZ.isExplodedVisitor=aZ;sZ.merge=dZ;sZ.verify=rZ;var iZ=t8(),sX1=XJ(),tX1=W1(),_Z=O2(),{DEPRECATED_KEYS:uZ,DEPRECATED_ALIASES:hZ,FLIPPED_ALIAS_KEYS:yZ,TYPES:nX1,__internal__deprecationWarning:xZ}=tX1,G61={FunctionParent(J){if(J.isArrowFunctionExpression())return;if(J.skip(),J.isMethod())if(!J.requeueComputedKeyAndDecorators)_Z.requeueComputedKeyAndDecorators.call(J);else J.requeueComputedKeyAndDecorators()},Property(J){if(J.isObjectProperty())return;if(J.skip(),!J.requeueComputedKeyAndDecorators)_Z.requeueComputedKeyAndDecorators.call(J);else J.requeueComputedKeyAndDecorators()}}});var eZ=C((nZ)=>{Object.defineProperty(nZ,"__esModule",{value:!0});nZ.default=void 0;var f9=W1(),W61=f9,z61=N9(),K61=O5(),U61=O2(),{getAssignmentIdentifiers:B61}=W61,R61={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)U61.requeueComputedKeyAndDecorators.call(J);else J.requeueComputedKeyAndDecorators()}},ObjectProperty({node:J,scope:G},X){const{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;const X=J.isAssignmentExpression()?B61(J.node):J.getOuterBindingIdentifiers();for(let H in X)if(H===G.oldName)X[H].name=G.newName}};class tZ{constructor(J,G,X){this.newName=X,this.oldName=G,this.binding=J}maybeConvertFromExportDeclaration(J){const G=J.parentPath;if(!G.isExportDeclaration())return;if(G.isExportDefaultDeclaration()){const{declaration:X}=G.node;if(f9.isDeclaration(X)&&!X.id)return}if(G.isExportAllDeclaration())return;G.splitExportDeclaration()}maybeConvertFromClassFunctionDeclaration(J){return J}maybeConvertFromClassFunctionExpression(J){return J}rename(){const{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)}const Q=arguments[0]||H.block,Y={discriminant:!0};if(f9.isMethod(Q)){if(Q.computed)Y.key=!0;if(!f9.isObjectMethod(Q))Y.decorators=!0}if(z61.traverseNode(Q,K61.explode(R61),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)}}nZ.default=tZ});var H3=C((G3)=>{function $61(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}Object.defineProperty(G3,"__esModule",{value:!0});G3.default=void 0;class J3{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")&&$61(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}}G3.default=J3});var V3=C(($F1,M61)=>{M61.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 Z0=C((Y3)=>{function F61(){Z3(),Q3()}function Z3(){Y3.path=T9=new WeakMap}function Q3(){Y3.scope=q61=new WeakMap}function j61(J,G){var X,H;return J=null,(X=T9.get((H=J)!=null?H:HJ))==null?void 0:X.get(G)}function O61(J,G){var X,H;J=null;let V=T9.get((X=J)!=null?X:HJ);if(!V)T9.set((H=J)!=null?H:HJ,V=new WeakMap);let Z=V.get(G);if(!Z)V.set(G,Z=new Map);return Z}Object.defineProperty(Y3,"__esModule",{value:!0});Y3.clear=F61;Y3.clearPath=Z3;Y3.clearScope=Q3;Y3.getCachedPaths=j61;Y3.getOrCreateCachedPaths=O61;Y3.scope=Y3.path=void 0;var T9=Y3.path=new WeakMap,q61=Y3.scope=new WeakMap,HJ=Object.freeze({})});var WJ=C((D3)=>{function I1(J,G){switch(J==null?void 0:J.type){default:if(QJ(J)||Y71(J)){var X;if((A3(J)||ZJ(J)||QJ(J))&&J.source)I1(J.source,G);else if((ZJ(J)||QJ(J))&&(X=J.specifiers)!=null&&X.length)for(let H of J.specifiers)I1(H,G);else if((_61(J)||ZJ(J))&&J.declaration)I1(J.declaration,G)}else if(m61(J))I1(J.local,G);else if(h61(J)&&!c61(J)&&!p61(J)&&!C3(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}}Object.defineProperty(D3,"__esModule",{value:!0});D3.default=void 0;var P61=eZ(),f61=A5(),N61=H3(),T61=V3(),F3=W1(),w61=F3,z3=Z0(),L61=O5(),{NOT_LOCAL_BINDING:K3,assignmentExpression:k61,callExpression:U3,cloneNode:B3,getBindingIdentifiers:j3,identifier:Y0,isArrayExpression:O3,isBinary:b61,isCallExpression:R3,isClass:E61,isClassBody:v61,isClassDeclaration:g61,isExportAllDeclaration:A3,isExportDefaultDeclaration:_61,isExportNamedDeclaration:ZJ,isFunctionDeclaration:u61,isIdentifier:Q0,isImportDeclaration:QJ,isLiteral:h61,isMemberExpression:y61,isMethod:x61,isModuleSpecifier:m61,isNullLiteral:c61,isObjectExpression:l61,isProperty:i61,isPureish:a61,isRegExpLiteral:p61,isSuper:r61,isTaggedTemplateExpression:d61,isTemplateLiteral:C3,isThisExpression:$3,isUnaryExpression:s61,isVariableDeclaration:t61,expressionStatement:n61,matchesPattern:M3,memberExpression:YJ,numericLiteral:o61,toIdentifier:e61,variableDeclaration:J71,variableDeclarator:G71,isRecordExpression:X71,isTupleExpression:H71,isObjectProperty:V71,isTopicReference:q3,isMetaProperty:Z71,isPrivateName:Q71,isExportDeclaration:Y71,buildUndefinedNode:W71,sequenceExpression:z71}=F3,w9={ForStatement(J){const G=J.get("init");if(G.isVar()){const{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){const X=J.get("left");if(X.isPattern()||X.isIdentifier())G.constantViolations.push(J);else if(X.isVar()){const{scope:H}=J;(H.getFunctionParent()||H.getProgramParent()).registerBinding("var",X)}},ExportDeclaration:{exit(J){const{node:G,scope:X}=J;if(A3(G))return;const H=G.declaration;if(g61(H)||u61(H)){const V=H.id;if(!V)return;const Z=X.getBinding(V.name);Z==null||Z.reference(J)}else if(t61(H))for(let V of H.declarations)for(let Z of Object.keys(j3(V))){const 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){const V=J.node.id.name;J.scope.bindings[V]=J.scope.parent.getBinding(V)}},CatchClause(J){J.scope.registerBinding("let",J)},Function(J){const G=J.get("params");for(let X of G)J.scope.registerBinding("param",X);if(J.isFunctionExpression()&&J.node.id&&!J.node.id[K3])J.scope.registerBinding("local",J.get("id"),J)},ClassExpression(J){if(J.node.id&&!J.node.id[K3])J.scope.registerBinding("local",J.get("id"),J)},TSTypeAnnotation(J){J.skip()}},K71=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;const{node:G}=J,X=z3.scope.get(G);if((X==null?void 0:X.path)===J)return X;z3.scope.set(G,this),this.uid=K71++,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;const 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){const G=this.generateUidIdentifier(J);return this.push({id:G}),B3(G)}generateUidIdentifier(J){return Y0(this.generateUid(J))}generateUid(J="temp"){J=e61(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));const H=this.getProgramParent();return H.references[G]=!0,H.uids[G]=!0,G}generateUidBasedOnNode(J,G){const X=[];I1(J,X);let H=X.join("$");return H=H.replace(/^_/,"")||G||"ref",this.generateUid(H.slice(0,20))}generateUidIdentifierBasedOnNode(J,G){return Y0(this.generateUidBasedOnNode(J,G))}isStatic(J){if($3(J)||r61(J)||q3(J))return!0;if(Q0(J)){const 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{const X=this.generateUidIdentifierBasedOnNode(J);if(!G)return this.push({id:X}),B3(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){const X=this.getBinding(J);if(X)G||(G=this.generateUidIdentifier(J).name),new P61.default(X,J,G).rename(arguments[2])}dump(){const J="-".repeat(60);console.log(J);let G=this;do{console.log("#",G.block.type);for(let X of Object.keys(G.bindings)){const 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()){const 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()){const G=J.node.importKind==="type"||J.node.importKind==="typeof",X=J.get("specifiers");for(let H of X){const V=G||H.isImportSpecifier()&&(H.node.importKind==="type"||H.node.importKind==="typeof");this.registerBinding(V?"unknown":"module",H)}}else if(J.isExportDeclaration()){const G=J.get("declaration");if(G.isClassDeclaration()||G.isFunctionDeclaration()||G.isVariableDeclaration())this.registerDeclaration(G)}else this.registerBinding("unknown",J)}buildUndefinedNode(){return W71()}registerConstantViolation(J){const 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()){const Z=G.get("declarations");for(let Q of Z)this.registerBinding(J,Q);return}const H=this.getProgramParent(),V=G.getOuterBindingIdentifiers(!0);for(let Z of Object.keys(V)){H.references[Z]=!0;for(let Q of V[Z]){const 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 N61.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(Q0(J)){const Z=this.getBinding(J.name);if(!Z)return!1;if(G)return Z.constant;return!0}else if($3(J)||Z71(J)||q3(J)||Q71(J))return!0;else if(E61(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(v61(J)){for(let Z of J.body)if(!this.isPure(Z,G))return!1;return!0}else if(b61(J))return this.isPure(J.left,G)&&this.isPure(J.right,G);else if(O3(J)||H71(J)){for(let Z of J.elements)if(Z!==null&&!this.isPure(Z,G))return!1;return!0}else if(l61(J)||X71(J)){for(let Z of J.properties)if(!this.isPure(Z,G))return!1;return!0}else if(x61(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(i61(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(V71(J)||J.static){if(J.value!==null&&!this.isPure(J.value,G))return!1}return!0}else if(s61(J))return this.isPure(J.argument,G);else if(C3(J)){for(let Z of J.expressions)if(!this.isPure(Z,G))return!1;return!0}else if(d61(J))return M3(J.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(J.quasi,G);else if(y61(J))return!J.computed&&Q0(J.object)&&J.object.name==="Symbol"&&Q0(J.property)&&J.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0});else if(R3(J))return M3(J.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&J.arguments.length===1&&w61.isStringLiteral(J.arguments[0]);else return a61(J)}setData(J,G){return this.data[J]=G}getData(J){let G=this;do{const 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(){const 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);const G=this.getProgramParent();if(G.crawling)return;const X={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,J.type!=="Program"&&L61.isExplodedVisitor(w9)){for(let V of w9.enter)V.call(X,J,X);const H=w9[J.type];if(H)for(let V of H.enter)V.call(X,J,X)}J.traverse(w9,X),this.crawling=!1;for(let H of X.assignments){const 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){const 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;const{init:X,unique:H,kind:V="var",id:Z}=J;if(!X&&!H&&(V==="var"||V==="let")&&G.isFunction()&&!G.node.name&&R3(G.parent,{callee:G.node})&&G.parent.arguments.length<=G.node.params.length&&Q0(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");const Q=J._blockHoist==null?2:J._blockHoist,Y=`declaration:${V}:${Q}`;let W=!H&&G.getData(Y);if(!W){const F=J71(V,[]);if(F._blockHoist=Q,[W]=G.unshiftContainer("body",[F]),!H)G.setData(Y,W)}const z=G71(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(){const J=Object.create(null);let 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{const 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){const 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){const 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();const G=new Set;for(let H of Object.keys(this.bindings)){const V=this.bindings[H];if(!V)continue;const{path:Z}=V;if(!Z.isVariableDeclarator())continue;const{parent:Q,parentPath:Y}=Z;if(Q.kind!=="var"||G.has(Q))continue;G.add(Z.parent);let W;const z=[];for(let U of Q.declarations){var X;if((X=W)!=null||(W=U.id),U.init)z.push(k61("=",U.id,U.init));const F=Object.keys(j3(U,!1,!0,!0));for(let A of F)J(Y0(A),U.init!=null)}if(Y.parentPath.isFor({left:Q}))Y.replaceWith(W);else if(z.length===0)Y.remove();else{const U=z.length===1?z[0]:z71(z);if(Y.parentPath.isForStatement({init:Q}))Y.replaceWith(U);else Y.replaceWith(n61(U))}}}}D3.default=Q2;Q2.globals=Object.keys(T61.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){f61.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(Q0(G)){const Q=this.getBinding(G.name);if(Q!=null&&Q.constant&&Q.path.isGenericType("Array"))return G}if(O3(G))return G;if(Q0(G,{name:"arguments"}))return U3(YJ(YJ(YJ(Y0("Array"),Y0("prototype")),Y0("slice")),Y0("call")),[G]);let V;const Z=[G];if(X===!0)V="toConsumableArray";else if(typeof X==="number")Z.push(o61(X)),V="slicedToArray";else V="toArray";if(H)Z.unshift(this.path.hub.addHelper(V)),V="maybeArrayLike";return U3(this.path.hub.addHelper(V),Z)},Q2.prototype.getAllBindingsOfKind=function J(...G){const X=Object.create(null);for(let H of G){let V=this;do{for(let Z of Object.keys(V.bindings)){const 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 P3=C((I3)=>{function R71(J){let G=this;while(G=G.parentPath)if(J(G))return G;return null}function $71(J){let G=this;do if(J(G))return G;while(G=G.parentPath);return null}function M71(){return this.findParent((J)=>J.isFunction())}function q71(){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 F71(J){return this.getDeepestCommonAncestorFrom(J,function(G,X,H){let V;const Z=B71[G.type];for(let Q of H){const Y=Q[X+1];if(!V){V=Y;continue}if(Y.listKey&&V.listKey===Y.listKey){if(Y.key<V.key){V=Y;continue}}const W=Z.indexOf(V.parentKey),z=Z.indexOf(Y.parentKey);if(W>z)V=Y}return V})}function j71(J,G){if(!J.length)return this;if(J.length===1)return J[0];let X=1/0,H,V;const Z=J.map((Y)=>{const 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++){const 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 O71(){let J=this;const G=[];do G.push(J);while(J=J.parentPath);return G}function A71(J){return J.isDescendant(this)}function C71(J){return!!this.findParent((G)=>G===J)}function D71(...J){let G=this;while(G){for(let X of J)if(G.node.type===X)return!0;G=G.parentPath}return!1}Object.defineProperty(I3,"__esModule",{value:!0});I3.find=$71;I3.findParent=R71;I3.getAncestry=O71;I3.getDeepestCommonAncestorFrom=j71;I3.getEarliestCommonAncestorFrom=F71;I3.getFunctionParent=M71;I3.getStatementParent=q71;I3.inType=D71;I3.isAncestor=A71;I3.isDescendant=C71;var U71=W1(),{VISITOR_KEYS:B71}=U71});var zJ=C((T3)=>{function u71(J){if(J.every((G)=>g71(G))){if(f3)return f3(J);return v71(J)}else if(J.every((G)=>_71(G))){if(N3)return N3(J)}}Object.defineProperty(T3,"__esModule",{value:!0});T3.createUnionType=u71;var E71=W1(),{createFlowUnionType:f3,createTSUnionType:N3,createUnionTypeAnnotation:v71,isFlowType:g71,isTSType:_71}=E71});var v3=C((E3)=>{function l71(J){if(!this.isReferenced())return;const G=this.scope.getBinding(J.name);if(G)if(G.identifier.typeAnnotation)return G.identifier.typeAnnotation;else return i71(G,this,J.name);if(J.name==="undefined")return c71();else if(J.name==="NaN"||J.name==="Infinity")return k3();else if(J.name==="arguments");}function i71(J,G,X){const H=[],V=[];let Z=w3(J,G,V);const Q=b3(J,G,X);if(Q){const Y=w3(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 L3.createUnionType(H)}function w3(J,G,X){const H=J.constantViolations.slice();return H.unshift(J.path),H.filter((V)=>{V=V.resolve();const Z=V._guessExecutionStatusRelativeTo(G);if(X&&Z==="unknown")X.push(V);return Z==="before"})}function a71(J,G){const X=G.node.operator,H=G.get("right").resolve(),V=G.get("left").resolve();let Z;if(V.isIdentifier({name:J}))Z=H;else if(H.isIdentifier({name:J}))Z=V;if(Z){if(X==="===")return Z.getTypeAnnotation();if(x71.includes(X))return k3();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;const W=Y.node.value;if(typeof W!=="string")return;return m71(W)}function p71(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 b3(J,G,X){const H=p71(J,G,X);if(!H)return;const Z=[H.get("test")],Q=[];for(let Y=0;Y<Z.length;Y++){const W=Z[Y];if(W.isLogicalExpression()){if(W.node.operator==="&&")Z.push(W.get("left")),Z.push(W.get("right"))}else if(W.isBinaryExpression()){const z=a71(X,W);if(z)Q.push(z)}}if(Q.length)return{typeAnnotation:L3.createUnionType(Q),ifStatement:H};return b3(J,H,X)}Object.defineProperty(E3,"__esModule",{value:!0});E3.default=l71;var y71=W1(),L3=zJ(),{BOOLEAN_NUMBER_BINARY_OPERATORS:x71,createTypeAnnotationBasedOnTypeof:m71,numberTypeAnnotation:k3,voidTypeAnnotation:c71}=y71});var c3=C((BJ)=>{function QH1(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function u3(J){return J.typeAnnotation}function h3(J){return J.typeAnnotation}function YH1(){return this.get("expression").getTypeAnnotation()}function WH1(J){if(J.callee.type==="Identifier")return a2(J.callee)}function zH1(){return z0()}function KH1(J){const G=J.operator;if(G==="void")return VH1();else if(e71.includes(G))return T0();else if(JH1.includes(G))return z0();else if(n71.includes(G))return UJ()}function UH1(J){const G=J.operator;if(o71.includes(G))return T0();else if(t71.includes(G))return UJ();else if(G==="+"){const X=this.get("right"),H=this.get("left");if(H.isBaseType("number")&&X.isBaseType("number"))return T0();else if(H.isBaseType("string")||X.isBaseType("string"))return z0();return HH1([z0(),T0()])}}function BH1(){const J=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return _3.createUnionType(J)}function RH1(){const J=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return _3.createUnionType(J)}function $H1(){return this.get("expressions").pop().getTypeAnnotation()}function MH1(){return this.get("expression").getTypeAnnotation()}function qH1(){return this.get("right").getTypeAnnotation()}function FH1(J){const G=J.operator;if(G==="++"||G==="--")return T0()}function jH1(){return z0()}function OH1(){return T0()}function AH1(){return UJ()}function CH1(){return GH1()}function DH1(){return a2(W0("RegExp"))}function SH1(){return a2(W0("Object"))}function y3(){return a2(W0("Array"))}function x3(){return y3()}function IH1(){return a2(W0("Function"))}function wH1(){const{callee:J}=this.node;if(fH1(J))return KJ(z0());else if(PH1(J)||NH1(J)||ZH1(J,{name:"Array"}))return KJ(g3());else if(TH1(J))return KJ(XH1([z0(),g3()]));return m3(this.get("callee"))}function LH1(){return m3(this.get("tag"))}function m3(J){if(J=J.resolve(),J.isFunction()){const{node:G}=J;if(G.async)if(G.generator)return a2(W0("AsyncIterator"));else return a2(W0("Promise"));else if(G.generator)return a2(W0("Iterator"));else if(J.node.returnType)return J.node.returnType}}Object.defineProperty(BJ,"__esModule",{value:!0});BJ.ArrayExpression=y3;BJ.AssignmentExpression=qH1;BJ.BinaryExpression=UH1;BJ.BooleanLiteral=AH1;BJ.CallExpression=wH1;BJ.ConditionalExpression=RH1;BJ.ClassDeclaration=BJ.ClassExpression=BJ.FunctionDeclaration=BJ.ArrowFunctionExpression=BJ.FunctionExpression=IH1;Object.defineProperty(BJ,"Identifier",{enumerable:!0,get:function(){return s71.default}});BJ.LogicalExpression=BH1;BJ.NewExpression=WH1;BJ.NullLiteral=CH1;BJ.NumericLiteral=OH1;BJ.ObjectExpression=SH1;BJ.ParenthesizedExpression=MH1;BJ.RegExpLiteral=DH1;BJ.RestElement=x3;BJ.SequenceExpression=$H1;BJ.StringLiteral=jH1;BJ.TSAsExpression=h3;BJ.TSNonNullExpression=YH1;BJ.TaggedTemplateExpression=LH1;BJ.TemplateLiteral=zH1;BJ.TypeCastExpression=u3;BJ.UnaryExpression=KH1;BJ.UpdateExpression=FH1;BJ.VariableDeclarator=QH1;var d71=W1(),s71=v3(),_3=zJ(),{BOOLEAN_BINARY_OPERATORS:t71,BOOLEAN_UNARY_OPERATORS:n71,NUMBER_BINARY_OPERATORS:o71,NUMBER_UNARY_OPERATORS:e71,STRING_UNARY_OPERATORS:JH1,anyTypeAnnotation:g3,arrayTypeAnnotation:KJ,booleanTypeAnnotation:UJ,buildMatchMemberExpression:L9,genericTypeAnnotation:a2,identifier:W0,nullLiteralTypeAnnotation:GH1,numberTypeAnnotation:T0,stringTypeAnnotation:z0,tupleTypeAnnotation:XH1,unionTypeAnnotation:HH1,voidTypeAnnotation:VH1,isIdentifier:ZH1}=d71;u3.validParent=!0;h3.validParent=!0;x3.validParent=!0;var PH1=L9("Array.from"),fH1=L9("Object.keys"),NH1=L9("Object.values"),TH1=L9("Object.entries")});var d3=C((r3)=>{function AV1(){let J=this.getData("typeAnnotation");if(J!=null)return J;if(J=p3.call(this)||a3(),MV1(J)||BV1(J))J=J.typeAnnotation;return this.setData("typeAnnotation",J),J}function p3(){const J=this.node;if(!J)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const X=this.parentPath.parentPath,H=X.parentPath;if(X.key==="left"&&H.isForInStatement())return jV1();if(X.key==="left"&&H.isForOfStatement())return a3();return OV1()}else return;if(J.typeAnnotation)return J.typeAnnotation;if(RJ.has(J))return;RJ.add(J);try{var G;let X=l3[J.type];if(X)return X.call(this,J);if(X=l3[this.parentPath.type],(G=X)!=null&&G.validParent)return this.parentPath.getTypeAnnotation()}finally{RJ.delete(J)}}function CV1(J,G){return $J(J,this.getTypeAnnotation(),G)}function $J(J,G,X){if(J==="string")return KV1(G);else if(J==="number")return zV1(G);else if(J==="boolean")return VV1(G);else if(J==="any")return k9(G);else if(J==="mixed")return WV1(G);else if(J==="empty")return ZV1(G);else if(J==="void")return FV1(G);else if(X)return!1;else throw new Error(`Unknown base type ${J}`)}function DV1(J){const G=this.getTypeAnnotation();if(k9(G))return!0;if(qV1(G)){for(let X of G.types)if(k9(X)||$J(J,X,!0))return!0;return!1}else return $J(J,G,!0)}function SV1(J){const G=this.getTypeAnnotation(),X=J.getTypeAnnotation();if(!k9(G)&&QV1(G))return X.type===G.type;return!1}function IV1(J){const G=this.getTypeAnnotation();if(J==="Array"){if(UV1(G)||HV1(G)||$V1(G))return!0}return YV1(G)&&i3(G.id,{name:J})||RV1(G)&&i3(G.typeName,{name:J})}Object.defineProperty(r3,"__esModule",{value:!0});r3._getTypeAnnotation=p3;r3.baseTypeStrictlyMatches=SV1;r3.couldBeBaseType=DV1;r3.getTypeAnnotation=AV1;r3.isBaseType=CV1;r3.isGenericType=IV1;var l3=c3(),XV1=W1(),{anyTypeAnnotation:a3,isAnyTypeAnnotation:k9,isArrayTypeAnnotation:HV1,isBooleanTypeAnnotation:VV1,isEmptyTypeAnnotation:ZV1,isFlowBaseAnnotation:QV1,isGenericTypeAnnotation:YV1,isIdentifier:i3,isMixedTypeAnnotation:WV1,isNumberTypeAnnotation:zV1,isStringTypeAnnotation:KV1,isTSArrayType:UV1,isTSTypeAnnotation:BV1,isTSTypeReference:RV1,isTupleTypeAnnotation:$V1,isTypeAnnotation:MV1,isUnionTypeAnnotation:qV1,isVoidTypeAnnotation:FV1,stringTypeAnnotation:jV1,voidTypeAnnotation:OV1}=XV1,RJ=new WeakSet});var t3=C((s3)=>{Object.defineProperty(s3,"__esModule",{value:!0});s3.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;s3.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 qJ=C((NF1,MJ)=>{var n3=process.argv||[],b9=process.env,EV1=!(("NO_COLOR"in b9)||n3.includes("--no-color"))&&(("FORCE_COLOR"in b9)||n3.includes("--color")||process.platform==="win32"||import.meta.require!=null&&import.meta.require("tty").isatty(1)&&b9.TERM!=="dumb"||("CI"in b9)),vV1=(J,G,X=J)=>(H)=>{let V=""+H,Z=V.indexOf(G,J.length);return~Z?J+gV1(V,G,X,Z)+G:J+V+G},gV1=(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)},o3=(J=EV1)=>{let G=J?vV1:()=>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")}};MJ.exports=o3();MJ.exports.createColors=o3});var JQ=C((TF1,e3)=>{var _V1=/[|\\{}()[\]^$+*?.]/g;e3.exports=function(J){if(typeof J!=="string")throw new TypeError("Expected a string");return J.replace(_V1,"\\$&")}});var XQ=C((wF1,GQ)=>{GQ.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 FJ=C((LF1,QQ)=>{function uV1(J,G){return Math.pow(J[0]-G[0],2)+Math.pow(J[1]-G[1],2)+Math.pow(J[2]-G[2],2)}var K0=XQ(),ZQ={};for(E9 in K0)if(K0.hasOwnProperty(E9))ZQ[K0[E9]]=E9;var E9,r=QQ.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(p1 in r)if(r.hasOwnProperty(p1)){if(!("channels"in r[p1]))throw new Error("missing channels property: "+p1);if(!("labels"in r[p1]))throw new Error("missing channel labels property: "+p1);if(r[p1].labels.length!==r[p1].channels)throw new Error("channel and label counts mismatch: "+p1);HQ=r[p1].channels,VQ=r[p1].labels,delete r[p1].channels,delete r[p1].labels,Object.defineProperty(r[p1],"channels",{value:HQ}),Object.defineProperty(r[p1],"labels",{value:VQ})}var HQ,VQ,p1;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]};r.rgb.keyword=function(J){var G=ZQ[J];if(G)return G;var X=1/0,H;for(var V in K0)if(K0.hasOwnProperty(V)){var Z=K0[V],Q=uV1(J,Z);if(Q<X)X=Q,H=V}return H};r.keyword.rgb=function(J){return K0[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 WQ=C((kF1,YQ)=>{function hV1(){var J={},G=Object.keys(v9);for(var X=G.length,H=0;H<X;H++)J[G[H]]={distance:-1,parent:null};return J}function yV1(J){var G=hV1(),X=[J];G[J].distance=0;while(X.length){var H=X.pop(),V=Object.keys(v9[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 xV1(J,G){return function(X){return G(J(X))}}function mV1(J,G){var X=[G[J].parent,J],H=v9[G[J].parent][J],V=G[J].parent;while(G[V].parent)X.unshift(G[V].parent),H=xV1(v9[G[V].parent][V],H),V=G[V].parent;return H.conversion=X,H}var v9=FJ();YQ.exports=function(J){var G=yV1(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]=mV1(Q,G)}return X}});var KQ=C((bF1,zQ)=>{function iV1(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 aV1(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}var jJ=FJ(),cV1=WQ(),w0={},lV1=Object.keys(jJ);lV1.forEach(function(J){w0[J]={},Object.defineProperty(w0[J],"channels",{value:jJ[J].channels}),Object.defineProperty(w0[J],"labels",{value:jJ[J].labels});var G=cV1(J),X=Object.keys(G);X.forEach(function(H){var V=G[H];w0[J][H]=aV1(V),w0[J][H].raw=iV1(V)})});zQ.exports=w0});var BQ=C((EF1,UQ)=>{function pV1(){const 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)){const Z=G[V];for(let Q of Object.keys(Z)){const 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})}const X=(V)=>V,H=(V,Z,Q)=>[V,Z,Q];G.color.close="\x1B[39m",G.bgColor.close="\x1B[49m",G.color.ansi={ansi:g9(X,0)},G.color.ansi256={ansi256:_9(X,0)},G.color.ansi16m={rgb:u9(H,0)},G.bgColor.ansi={ansi:g9(X,10)},G.bgColor.ansi256={ansi256:_9(X,10)},G.bgColor.ansi16m={rgb:u9(H,10)};for(let V of Object.keys(L0)){if(typeof L0[V]!=="object")continue;const Z=L0[V];if(V==="ansi16")V="ansi";if("ansi16"in Z)G.color.ansi[V]=g9(Z.ansi16,0),G.bgColor.ansi[V]=g9(Z.ansi16,10);if("ansi256"in Z)G.color.ansi256[V]=_9(Z.ansi256,0),G.bgColor.ansi256[V]=_9(Z.ansi256,10);if("rgb"in Z)G.color.ansi16m[V]=u9(Z.rgb,0),G.bgColor.ansi16m[V]=u9(Z.rgb,10)}return G}var L0=KQ(),g9=(J,G)=>function(){return`\x1B[${J.apply(L0,arguments)+G}m`},_9=(J,G)=>function(){const X=J.apply(L0,arguments);return`\x1B[${38+G};5;${X}m`},u9=(J,G)=>function(){const X=J.apply(L0,arguments);return`\x1B[${38+G};2;${X[0]};${X[1]};${X[2]}m`};Object.defineProperty(UQ,"exports",{enumerable:!0,get:pV1})});var $Q=C((vF1,RQ)=>{RQ.exports=(J,G)=>{G=G||process.argv;const X=J.startsWith("-")?"":J.length===1?"-":"--",H=G.indexOf(X+J),V=G.indexOf("--");return H!==-1&&(V===-1?!0:H<V)}});var qQ=C((gF1,MQ)=>{function dV1(J){if(J===0)return!1;return{level:J,hasBasic:!0,has256:J>=2,has16m:J>=3}}function sV1(J){if(k0===!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&&k0!==!0)return 0;const G=k0?1:0;if(process.platform==="win32"){const X=rV1.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 y1){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((X)=>(X in y1))||y1.CI_NAME==="codeship")return 1;return G}if("TEAMCITY_VERSION"in y1)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(y1.TEAMCITY_VERSION)?1:0;if(y1.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in y1){const X=parseInt((y1.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(y1.TERM_PROGRAM){case"iTerm.app":return X>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(y1.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(y1.TERM))return 1;if("COLORTERM"in y1)return 1;if(y1.TERM==="dumb")return G;return G}function OJ(J){const G=sV1(J);return dV1(G)}var rV1=import.meta.require("os"),B2=$Q(),y1=process.env,k0;if(B2("no-color")||B2("no-colors")||B2("color=false"))k0=!1;else if(B2("color")||B2("colors")||B2("color=true")||B2("color=always"))k0=!0;if("FORCE_COLOR"in y1)k0=y1.FORCE_COLOR.length===0||parseInt(y1.FORCE_COLOR,10)!==0;MQ.exports={supportsColor:OJ,stdout:OJ(process.stdout),stderr:OJ(process.stderr)}});var CQ=C((_F1,AQ)=>{function OQ(J){if(J[0]==="u"&&J.length===5||J[0]==="x"&&J.length===3)return String.fromCharCode(parseInt(J.slice(1),16));return eV1.get(J)||J}function JZ1(J,G){const X=[],H=G.trim().split(/\s*,\s*/g);let V;for(let Z of H)if(!isNaN(Z))X.push(Number(Z));else if(V=Z.match(nV1))X.push(V[2].replace(oV1,(Q,Y,W)=>Y?OQ(Y):W));else throw new Error(`Invalid Chalk template style argument: ${Z} (in style '${J}')`);return X}function GZ1(J){FQ.lastIndex=0;const G=[];let X;while((X=FQ.exec(J))!==null){const H=X[1];if(X[2]){const V=JZ1(H,X[2]);G.push([H].concat(V))}else G.push([H])}return G}function jQ(J,G){const 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}var tV1=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,FQ=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,nV1=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,oV1=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,eV1=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);AQ.exports=(J,G)=>{const X=[],H=[];let V=[];if(G.replace(tV1,(Z,Q,Y,W,z,U)=>{if(Q)V.push(OQ(Q));else if(W){const F=V.join("");V=[],H.push(X.length===0?F:jQ(J,X)(F)),X.push({inverse:Y,styles:GZ1(W)})}else if(z){if(X.length===0)throw new Error("Found extraneous } in Chalk template literal");H.push(jQ(J,X)(V.join(""))),V=[],X.pop()}else V.push(U)}),H.push(V.join("")),X.length>0){const Z=`Chalk template literal is missing ${X.length} closing bracket${X.length===1?"":"s"} (\`}\`)`;throw new Error(Z)}return H.join("")}});var fQ=C((uF1,D5)=>{function DQ(J,G){G=G||{};const X=AJ?AJ.level:0;J.level=G.level===void 0?X:G.level,J.enabled="enabled"in G?G.enabled:J.level>0}function C5(J){if(!this||!(this instanceof C5)||this.template){const G={};return DQ(G,J),G.template=function(){const X=[].slice.call(arguments);return ZZ1.apply(null,[G.template].concat(X))},Object.setPrototypeOf(G,C5.prototype),Object.setPrototypeOf(G.template,G),G.template.constructor=C5,G.template}DQ(this,J)}function h9(J,G,X){const H=function(){return VZ1.apply(H,arguments)};H._styles=J,H._empty=G;const 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__=HZ1,H}function VZ1(){const J=arguments,G=J.length;let 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;const H=v1.dim.open;if(SQ&&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 ZZ1(J,G){if(!Array.isArray(G))return[].slice.call(arguments,1).join(" ");const 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 XZ1(J,H.join(""))}var CJ=JQ(),v1=BQ(),AJ=qQ().stdout,XZ1=CQ(),SQ=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),IQ=["ansi","ansi","ansi256","ansi16m"],PQ=new Set(["gray"]),b0=Object.create(null);if(SQ)v1.blue.open="\x1B[94m";for(let J of Object.keys(v1))v1[J].closeRe=new RegExp(CJ(v1[J].close),"g"),b0[J]={get(){const G=v1[J];return h9.call(this,this._styles?this._styles.concat(G):[G],this._empty,J)}};b0.visible={get(){return h9.call(this,this._styles||[],!0,"visible")}};v1.color.closeRe=new RegExp(CJ(v1.color.close),"g");for(let J of Object.keys(v1.color.ansi)){if(PQ.has(J))continue;b0[J]={get(){const G=this.level;return function(){const H={open:v1.color[IQ[G]][J].apply(null,arguments),close:v1.color.close,closeRe:v1.color.closeRe};return h9.call(this,this._styles?this._styles.concat(H):[H],this._empty,J)}}}}v1.bgColor.closeRe=new RegExp(CJ(v1.bgColor.close),"g");for(let J of Object.keys(v1.bgColor.ansi)){if(PQ.has(J))continue;const G="bg"+J[0].toUpperCase()+J.slice(1);b0[G]={get(){const X=this.level;return function(){const V={open:v1.bgColor[IQ[X]][J].apply(null,arguments),close:v1.bgColor.close,closeRe:v1.bgColor.closeRe};return h9.call(this,this._styles?this._styles.concat(V):[V],this._empty,J)}}}}var HZ1=Object.defineProperties(()=>{},b0);Object.defineProperties(C5.prototype,b0);D5.exports=C5();D5.exports.supportsColor=AJ;D5.exports.default=D5.exports});var gQ=C((vQ)=>{function LQ(J){if(typeof WeakMap!="function")return null;var G=new WeakMap,X=new WeakMap;return(LQ=function(H){return H?X:G})(J)}function QZ1(J,G){if(!G&&J&&J.__esModule)return J;if(J===null||typeof J!="object"&&typeof J!="function")return{default:J};var X=LQ(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}function WZ1(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:wQ(wQ(J.white,J.bgRed),J.bold)}}function UZ1(J,G){let X="";for(let{type:H,value:V}of bQ(G)){const Z=J[H];if(Z)X+=V.split(zZ1).map((Q)=>Z(Q)).join("\n");else X+=V}return X}function EQ(J){return kQ.isColorSupported||J.forceColor}function BZ1(J){if(J){var G;return(G=DJ)!=null||(DJ=SJ.createColors(!0)),DJ}return kQ}function RZ1(J,G={}){if(J!==""&&EQ(G)){const X=WZ1(BZ1(G.forceColor));return UZ1(X,J)}else return J}Object.defineProperty(vQ,"__esModule",{value:!0});vQ.default=RZ1;vQ.shouldHighlight=EQ;var NQ=t3(),TQ=s0(),SJ=QZ1(qJ(),!0),kQ=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?SJ.createColors(!1):SJ.default,wQ=(J,G)=>(X)=>J(G(X)),YZ1=new Set(["as","async","from","get","of","set"]),zZ1=/\r\n|[\n\r\u2028\u2029]/,KZ1=/^[()[\]{}]$/,bQ;{const J=/^[a-z][\w-]*$/i,G=function(X,H,V){if(X.type==="name"){if(TQ.isKeyword(X.value)||TQ.isStrictReservedWord(X.value,!0)||YZ1.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"&&KZ1.test(X.value))return"bracket";if(X.type==="invalid"&&(X.value==="@"||X.value==="#"))return"punctuator";return X.type};bQ=function*(X){let H;while(H=NQ.default.exec(X)){const V=NQ.matchToToken(H);yield{type:G(V,H.index,X),value:V.value}}}}var DJ=void 0;{let J,G;vQ.getChalk=({forceColor:X})=>{var H;if((H=J)!=null||(J=fQ()),X){var V;return(V=G)!=null||(G=new J.constructor({enabled:!0,level:1})),G}return J}}});var fJ=C((cQ)=>{function xQ(J){if(typeof WeakMap!="function")return null;var G=new WeakMap,X=new WeakMap;return(xQ=function(H){return H?X:G})(J)}function qZ1(J,G){if(!G&&J&&J.__esModule)return J;if(J===null||typeof J!="object"&&typeof J!="function")return{default:J};var X=xQ(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}function jZ1(J){if(J){var G;return(G=IJ)!=null||(IJ=PJ.createColors(!0)),IJ}return FZ1}function OZ1(J){return{gutter:J.gray,marker:uQ(J.red,J.bold),message:uQ(J.red,J.bold)}}function AZ1(J,G,X){const 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;let 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;const D=z-Y,I={};if(D)for(let _=0;_<=D;_++){const f=_+Y;if(!W)I[f]=!0;else if(_===0){const w=G[f-1].length;I[f]=[W,w-W+1]}else if(_===D)I[f]=[0,U];else{const 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 mQ(J,G,X={}){const H=(X.highlightCode||X.forceColor)&&_Q.shouldHighlight(X),V=jZ1(X.forceColor),Z=OZ1(V),Q=(_,f)=>{return H?_(f):f},Y=J.split(yQ),{start:W,end:z,markerLines:U}=AZ1(G,Y,X),F=G.start&&typeof G.start.column==="number",A=String(z).length;let I=(H?_Q.default(J,X):J).split(yQ,z).slice(W,z).map((_,f)=>{const w=W+1+f,Q1=` ${` ${w}`.slice(-A)} |`,d=U[w],Y1=!U[w+1];if(d){let $1="";if(Array.isArray(d)){const 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 CZ1(J,G,X,H={}){if(!hQ){hQ=!0;const Z="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(Z,"DeprecationWarning");else{const Q=new Error(Z);Q.name="DeprecationWarning",console.warn(new Error(Z))}}return X=Math.max(X,0),mQ(J,{start:{column:X,line:G}},H)}Object.defineProperty(cQ,"__esModule",{value:!0});cQ.codeFrameColumns=mQ;cQ.default=CZ1;var _Q=gQ(),PJ=qZ1(qJ(),!0),FZ1=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?PJ.createColors(!1):PJ.default,uQ=(J,G)=>(X)=>J(G(X)),IJ=void 0,hQ=!1,yQ=/\r\n|[\n\r\u2028\u2029]/});var rQ=C((aQ)=>{Object.defineProperty(aQ,"__esModule",{value:!0});aQ.default=void 0;var lQ=W1(),IZ1=lQ,{react:PZ1}=lQ,{cloneNode:fZ1,jsxExpressionContainer:NZ1,variableDeclaration:TZ1,variableDeclarator:wZ1}=IZ1,LZ1={ReferencedIdentifier(J,G){if(J.isJSXIdentifier()&&PZ1.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)}const 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 iQ{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)){const 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;const 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(){const G=this.scopes.pop();if(!G)return;if(G.path.isFunction())if(this.hasOwnParamBindings(G)){if(this.scope===G)return;const 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(){const 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;const X=this.bindings[G];if(X.kind==="param"&&X.constant)return!0}return!1}run(){if(this.path.traverse(LZ1,this),this.mutableBinding)return;this.getCompatibleScopes();const J=this.getAttachmentPath();if(!J)return;if(J.getFunctionParent()===this.path.getFunctionParent())return;let G=J.scope.generateUidIdentifier("ref");const X=wZ1(G,this.path.node),H=this.attachAfter?"insertAfter":"insertBefore",[V]=J[H]([J.isVariableDeclarator()?X:TZ1("var",[X])]),Z=this.path.parentPath;if(Z.isJSXElement()&&this.path.container===Z.node.children)G=NZ1(G);return this.path.replaceWith(fZ1(G)),J.isVariableDeclarator()?V.get("init"):V.get("declarations.0.init")}}aQ.default=iQ});var tQ=C((dQ)=>{Object.defineProperty(dQ,"__esModule",{value:!0});dQ.hooks=void 0;var cF1=dQ.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 y9=C((XY)=>{function hZ1(){var J;if(GY.call(this),_Z1.resync.call(this),eQ.call(this)){NJ.call(this);return}if(!((J=this.opts)!=null&&J.noScope))oQ.call(this);this.shareCommentsWithSiblings(),JY.call(this),NJ.call(this)}function oQ(){const J=uZ1(this.node,!1,!1,!0);Object.keys(J).forEach((G)=>this.scope.removeBinding(G))}function eQ(){if(this.parentPath){for(let J of kZ1.hooks)if(J(this,this.parentPath))return!0}}function JY(){if(Array.isArray(this.container))this.container.splice(this.key,1),gZ1.updateSiblingKeys.call(this,this.key,-1);else EZ1._replaceWith.call(this,null)}function NJ(){if(this._traverseFlags|=nQ.SHOULD_SKIP|nQ.REMOVED,this.parent)bZ1.getCachedPaths(this.hub,this.parent).delete(this.node);this.node=null}function GY(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}Object.defineProperty(XY,"__esModule",{value:!0});XY._assertUnremoved=GY;XY._callRemovalHooks=eQ;XY._markRemoved=NJ;XY._remove=JY;XY._removeFromScope=oQ;XY.remove=hZ1;var kZ1=tQ(),bZ1=Z0(),EZ1=TJ(),nQ=p2(),vZ1=W1(),gZ1=x9(),_Z1=O2(),{getBindingIdentifiers:uZ1}=vZ1});var x9=C((zY)=>{function Z31(J){m9._assertUnremoved.call(this);const G=S5.call(this,J),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||VY(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 vJ.call(this,G);else if(this.isStatementOrBlock()){const V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(HY(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 EJ(J,G){WY.call(this,J,G.length);const X=[];this.container.splice(J,0,...G);for(let Z=0;Z<G.length;Z++){var H;const Q=J+Z,Y=this.getSibling(Q);if(X.push(Y),(H=this.context)!=null&&H.queue)wJ.pushContext.call(Y,this.context)}const V=wJ._getQueueContexts.call(this);for(let Z of X){wJ.setScope.call(Z),Z.debug("Inserted.");for(let Q of V)Q.maybeQueue(Z,!0)}return X}function vJ(J){return EJ.call(this,this.key,J)}function ZY(J){return EJ.call(this,this.key+1,J)}function YY(J){return X31(J.parent)&&(QY(J.parent.expressions)!==J.node||YY(J.parentPath))}function Q31(J,G){if(!oZ1(J)||!G31(J.left))return!1;const X=G.getBlockParent();return X.hasOwnBinding(J.left.name)&&X.getOwnBinding(J.left.name).constantViolations.length<=1}function Y31(J){if(m9._assertUnremoved.call(this),this.isSequenceExpression())return QY(this.get("expressions")).insertAfter(J);const G=S5.call(this,J),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||VY(H)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertAfter(G.map((V)=>{return J31(V)?kJ(V):V}));else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!X.isJSXElement()||X.isForStatement()&&this.key==="init"){const V=this;if(V.node){const Z=V.node;let{scope:Q}=this;if(Q.path.isPattern())return sZ1(Z),V.replaceWith(nZ1(dZ1([],Z),[])),V.get("callee.body").insertAfter(G),[V];if(YY(V))G.unshift(Z);else if(eZ1(Z)&&H31(Z.callee))G.unshift(Z),G.push(V31());else if(Q31(Z,Q))G.unshift(Z),G.push(LJ(Z.left));else if(Q.isPure(Z,!0))G.push(Z);else{if(X.isMethod({computed:!0,key:Z}))Q=Q.parent;const Y=Q.generateDeclaredUidIdentifier();G.unshift(kJ(tZ1("=",LJ(Y),Z))),G.push(kJ(LJ(Y)))}}return this.replaceExpressionWithStatements(G)}else if(Array.isArray(this.container))return ZY.call(this,G);else if(this.isStatementOrBlock()){const V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(HY(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 WY(J,G){if(!this.parent)return;const X=aZ1.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 S5(J){if(!J)return[];if(!Array.isArray(J))J=[J];for(let G=0;G<J.length;G++){const X=J[G];let 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 bJ.default)H="has a NodePath when it expected a raw object";if(H){const 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 W31(J,G){m9._assertUnremoved.call(this),G=S5.call(this,G);const X=bJ.default.get({parentPath:this,parent:this.node,container:this.node[J],listKey:J,key:0}).setContext(this.context);return vJ.call(X,G)}function z31(J,G){m9._assertUnremoved.call(this);const X=S5.call(this,G),H=this.node[J];return bJ.default.get({parentPath:this,parent:this.node,container:H,listKey:J,key:H.length}).setContext(this.context).replaceWithMultiple(X)}Object.defineProperty(zY,"__esModule",{value:!0});zY._containerInsert=EJ;zY._containerInsertAfter=ZY;zY._containerInsertBefore=vJ;zY._verifyNodeList=S5;zY.insertAfter=Y31;zY.insertBefore=Z31;zY.pushContainer=z31;zY.unshiftContainer=W31;zY.updateSiblingKeys=WY;var aZ1=Z0(),pZ1=rQ(),bJ=p2(),wJ=O2(),m9=y9(),rZ1=W1(),{arrowFunctionExpression:dZ1,assertExpression:sZ1,assignmentExpression:tZ1,blockStatement:HY,callExpression:nZ1,cloneNode:LJ,expressionStatement:kJ,isAssignmentExpression:oZ1,isCallExpression:eZ1,isExportNamedDeclaration:VY,isExpression:J31,isIdentifier:G31,isSequenceExpression:X31,isSuper:H31,thisExpression:V31}=rZ1,QY=(J)=>J[J.length-1];zY.hoist=function J(G=this.scope){return new pZ1.default(this,G).run()}});var TJ=C((jY)=>{function l31(J){var G;E0.resync.call(this),J=uJ._verifyNodeList.call(this,J),k31(J[0],this.node),b31(J[J.length-1],this.node),(G=$Y.getCachedPaths(this.hub,this.parent))==null||G.delete(this.node),this.node=this.container[this.key]=null;const X=this.insertAfter(J);if(this.node)this.requeue();else this.remove();return X}function i31(J){E0.resync.call(this);let G;try{J=`(${J})`,G=C31.parse(J)}catch(H){const V=H.loc;if(V)H.message+=" - make sure this is an expression.\n"+O31.codeFrameColumns(J,{start:{line:V.line,column:V.column+1}}),H.code="BABEL_REPLACE_SOURCE_ERROR";throw H}const X=G.program.body[0].expression;return _J.default.removeProperties(X),this.replaceWith(X)}function a31(J){if(E0.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let G=J instanceof A31.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()&&!u31(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")&&qY(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G)&&!this.parentPath.isExportDefaultDeclaration())G=T31(G),X="expression"}if(this.isNodeType("Expression")&&h31(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G))return this.replaceExpressionWithStatements([G])}const H=this.node;if(H)E31(G,H),x31(H);return FY.call(this,G),this.type=G.type,E0.setScope.call(this),this.requeue(),[X?this.get(X):this]}function FY(J){var G;if(!this.container)throw new ReferenceError("Container is falsy");if(this.inList)RY(this.parent,this.key,[J]);else RY(this.parent,this.key,J);this.debug(`Replace with ${J==null?void 0:J.type}`),(G=$Y.getCachedPaths(this.hub,this.parent))==null||G.set(J,this).delete(this.node),this.node=this.container[this.key]=J}function p31(J){E0.resync.call(this);const G=[],X=c9(J,G);if(X){for(let A of G)this.scope.push({id:A});return this.replaceWith(X)[0].get("expressions")}const H=this.getFunctionParent(),V=H==null?void 0:H.node.async,Z=H==null?void 0:H.node.generator,Q=S31([],P31(J));this.replaceWith(f31(Q,[]));const Y=this.get("callee");Y.get("body").scope.hoistVariables((A)=>this.scope.push({id:A}));const W=Y.getCompletionRecords();for(let A of W){if(!A.isExpressionStatement())continue;const 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",BY(hJ(I))),D.setData("expressionReplacementReturnUid",I);else I=L31(I.name);A.get("expression").replaceWith(MY("=",hJ(I),A.node.expression))}else A.replaceWith(BY(A.node.expression))}Y.arrowFunctionToExpression();const z=Y,U=V&&_J.default.hasType(this.get("callee.body").node,"AwaitExpression",KY),F=Z&&_J.default.hasType(this.get("callee.body").node,"YieldExpression",KY);if(U){if(z.set("async",!0),!F)this.replaceWith(I31(this.node))}if(F)z.set("generator",!0),this.replaceWith(c31(this.node,!0));return z.get("body.body")}function c9(J,G){const X=[];let H=!0;for(let V of J){if(!UY(V))H=!1;if(qY(V))X.push(V);else if(g31(V))X.push(V.expression);else if(y31(V)){if(V.kind!=="var")return;for(let Z of V.declarations){const Q=w31(Z);for(let Y of Object.keys(Q))G.push(hJ(Q[Y]));if(Z.init)X.push(MY("=",Z.id,Z.init))}H=!0}else if(_31(V)){const Z=V.consequent?c9([V.consequent],G):gJ(),Q=V.alternate?c9([V.alternate],G):gJ();if(!Z||!Q)return;X.push(N31(V.test,Z,Q))}else if(v31(V)){const Z=c9(V.body,G);if(!Z)return;X.push(Z)}else if(UY(V)){if(J.indexOf(V)===0)H=!0}else return}if(H)X.push(gJ());if(X.length===1)return X[0];else return m31(X)}function r31(J){if(E0.resync.call(this),Array.isArray(J))if(Array.isArray(this.container)){J=uJ._verifyNodeList.call(this,J);const G=uJ._containerInsertAfter.call(this,J);return this.remove(),G}else return this.replaceWithMultiple(J);else return this.replaceWith(J)}Object.defineProperty(jY,"__esModule",{value:!0});jY._replaceWith=FY;jY.replaceExpressionWithStatements=p31;jY.replaceInline=r31;jY.replaceWith=a31;jY.replaceWithMultiple=l31;jY.replaceWithSourceString=i31;var O31=fJ(),_J=A5(),A31=p2(),$Y=Z0(),uJ=x9(),C31=O9(),D31=W1(),E0=O2(),{FUNCTION_TYPES:KY,arrowFunctionExpression:S31,assignmentExpression:MY,awaitExpression:I31,blockStatement:P31,buildUndefinedNode:gJ,callExpression:f31,cloneNode:hJ,conditionalExpression:N31,expressionStatement:T31,getBindingIdentifiers:w31,identifier:L31,inheritLeadingComments:k31,inheritTrailingComments:b31,inheritsComments:E31,isBlockStatement:v31,isEmptyStatement:UY,isExpression:qY,isExpressionStatement:g31,isIfStatement:_31,isProgram:u31,isStatement:h31,isVariableDeclaration:y31,removeComments:x31,returnStatement:BY,sequenceExpression:m31,validate:RY,yieldExpression:c31}=D31});var SY=C((DY)=>{function OY(J){return JQ1.includes(J)}function HQ1(J){return GQ1.includes(J)}function VQ1(J){return XQ1.includes(J)}function ZQ1(){const J=this.evaluate();if(J.confident)return!!J.value}function v2(J,G){if(!G.confident)return;G.deoptPath=J,G.confident=!1}function r1(J,G){const{node:X}=J,{seen:H}=G;if(H.has(X)){const V=H.get(X);if(V.resolved)return V.value;else{v2(J,G);return}}else{const V={resolved:!1};H.set(X,V);const Z=QQ1(J,G);if(G.confident)V.resolved=!0,V.value=Z;return Z}}function QQ1(J,G){if(!G.confident)return;if(J.isSequenceExpression()){const X=J.get("expressions");return r1(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 CY(J,J.node.quasis,G);if(J.isTaggedTemplateExpression()&&J.get("tag").isMemberExpression()){const 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 CY(J,J.node.quasi.quasis,G,!0)}if(J.isConditionalExpression()){const X=r1(J.get("test"),G);if(!G.confident)return;if(X)return r1(J.get("consequent"),G);else return r1(J.get("alternate"),G)}if(J.isExpressionWrapper())return r1(J.get("expression"),G);if(J.isMemberExpression()&&!J.parentPath.isCallExpression({callee:J.node})){const X=J.get("property"),H=J.get("object");if(H.isLiteral()){const V=H.node.value,Z=typeof V;let Q=null;if(J.node.computed){if(Q=r1(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()){const 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}const H=J.node.name;if(AY.has(H)){if(!X)return AY.get(H);v2(X.path,G);return}const V=J.resolve();if(V===J){v2(J,G);return}else return r1(V,G)}if(J.isUnaryExpression({prefix:!0})){if(J.node.operator==="void")return;const X=J.get("argument");if(J.node.operator==="typeof"&&(X.isFunction()||X.isClass()))return"function";const H=r1(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()){const X=[],H=J.get("elements");for(let V of H){const Z=V.evaluate();if(Z.confident)X.push(Z.value);else{v2(Z.deopt,G);return}}return X}if(J.isObjectExpression()){const X={},H=J.get("properties");for(let V of H){if(V.isObjectMethod()||V.isSpreadElement()){v2(V,G);return}const Z=V.get("key");let 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()){const X=G.confident,H=r1(J.get("left"),G),V=G.confident;G.confident=X;const Z=r1(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()){const X=r1(J.get("left"),G);if(!G.confident)return;const H=r1(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()){const X=J.get("callee");let H,V;if(X.isIdentifier()&&!J.scope.getBinding(X.node.name)&&(OY(X.node.name)||HQ1(X.node.name)))V=global[X.node.name];if(X.isMemberExpression()){const Z=X.get("object"),Q=X.get("property");if(Z.isIdentifier()&&Q.isIdentifier()&&OY(Z.node.name)&&!VQ1(Q.node.name)){H=global[Z.node.name];const Y=Q.node.name;if(hasOwnProperty.call(H,Y))V=H[Y]}if(Z.isLiteral()&&Q.isIdentifier()){const Y=typeof Z.node.value;if(Y==="string"||Y==="number")H=Z.node.value,V=H[Q.node.name]}}if(V){const Z=J.get("arguments").map((Q)=>r1(Q,G));if(!G.confident)return;return V.apply(H,Z)}}v2(J,G)}function CY(J,G,X,H=!1){let V="",Z=0;const 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;const W=Q[Z++];if(W)V+=String(r1(W,X))}if(!X.confident)return;return V}function YQ1(){const J={confident:!0,deoptPath:null,seen:new Map};let G=r1(this,J);if(!J.confident)G=void 0;return{confident:J.confident,deopt:J.deoptPath,value:G}}Object.defineProperty(DY,"__esModule",{value:!0});DY.evaluate=YQ1;DY.evaluateTruthy=ZQ1;var JQ1=["Number","String","Math"],GQ1=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],XQ1=["random"],AY=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]])});var fY=C((IY)=>{function yJ(J){return{code:(G)=>`/* @babel/template */;\n${G}`,validate:()=>{},unwrap:(G)=>{return J(G.program.body.slice(1))}}}Object.defineProperty(IY,"__esModule",{value:!0});IY.statements=IY.statement=IY.smart=IY.program=IY.expression=void 0;var KQ1=W1(),{assertExpressionStatement:UQ1}=KQ1,sF1=IY.smart=yJ((J)=>{if(J.length>1)return J;else return J[0]}),tF1=IY.statements=yJ((J)=>J),nF1=IY.statement=yJ((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]}),BQ1=IY.expression={code:(J)=>`(\n${J}\n)`,validate:(J)=>{if(J.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(BQ1.unwrap(J).start===0)throw new Error("Parse result included parens.")},unwrap:({program:J})=>{const[G]=J.body;return UQ1(G),G.expression}},oF1=IY.program={code:(J)=>J,validate:()=>{},unwrap:(J)=>J.program}});var l9=C((NY)=>{function jQ1(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 OQ1(J,G){const{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 AQ1(J){if(J!=null&&typeof J!=="object")throw new Error("Unknown template options.");const G=J||{},{placeholderWhitelist:X,placeholderPattern:H,preserveComments:V,syntacticPlaceholders:Z}=G,Q=jQ1(G,FQ1);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 CQ1(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")}Object.defineProperty(NY,"__esModule",{value:!0});NY.merge=OQ1;NY.normalizeReplacements=CQ1;NY.validate=AQ1;var FQ1=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]});var xJ=C((wY)=>{function hQ1(J,G,X){const{placeholderWhitelist:H,placeholderPattern:V,preserveComments:Z,syntacticPlaceholders:Q}=X,Y=mQ1(G,X.parser,Q);gQ1(Y,{preserveComments:Z}),J.validate(Y);const W={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:H,placeholderPattern:V,syntacticPlaceholders:Q};return _Q1(Y,yQ1,W),Object.assign({ast:Y},W.syntactic.placeholders.length?W.syntactic:W.legacy)}function yQ1(J,G,X){var H;let V,Z=X.syntactic.placeholders.length>0;if(i9(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(kQ1(J)||bQ1(J))V=J.name;else if(TY(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||uQ1).test(V))&&!((H=X.placeholderWhitelist)!=null&&H.has(V)))return;G=G.slice();const{node:Q,key:Y}=G[G.length-1];let W;if(TY(J)||i9(J,{expectedNode:"StringLiteral"}))W="string";else if(EQ1(Q)&&Y==="arguments"||TQ1(Q)&&Y==="arguments"||LQ1(Q)&&Y==="params")W="param";else if(wQ1(Q)&&!i9(J))W="statement",G=G.slice(0,-1);else if(vQ1(J)&&i9(J))W="statement";else W="other";const{placeholders:z,placeholderNames:U}=!Z?X.legacy:X.syntactic;z.push({name:V,type:W,resolve:(F)=>xQ1(F,G),isDuplicate:U.has(V)}),U.add(V)}function xQ1(J,G){let X=J;for(let Z=0;Z<G.length-1;Z++){const{key:Q,index:Y}=G[Z];if(Y===void 0)X=X[Q];else X=X[Q][Y]}const{key:H,index:V}=G[G.length-1];return{parent:X,key:H,index:V}}function mQ1(J,G,X){const H=(G.plugins||[]).slice();if(X!==!1)H.push("placeholders");G=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},G,{plugins:H});try{return fQ1.parse(J,G)}catch(V){const Z=V.loc;if(Z)V.message+="\n"+NQ1.codeFrameColumns(J,{start:Z}),V.code="BABEL_TEMPLATE_PARSE_ERROR";throw V}}Object.defineProperty(wY,"__esModule",{value:!0});wY.default=hQ1;var PQ1=W1(),fQ1=O9(),NQ1=fJ(),{isCallExpression:TQ1,isExpressionStatement:wQ1,isFunction:LQ1,isIdentifier:kQ1,isJSXIdentifier:bQ1,isNewExpression:EQ1,isPlaceholder:i9,isStatement:vQ1,isStringLiteral:TY,removePropertiesDeep:gQ1,traverse:_Q1}=PQ1,uQ1=/^[_$A-Z0-9]+$/});var lJ=C((bY)=>{function dQ1(J,G){const X=cJ(J.ast);if(G)J.placeholders.forEach((H)=>{if(!hasOwnProperty.call(G,H.name)){const V=H.name;throw new Error(`Error: No substitution given for "${V}". If this is not meant to be a
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 to(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 sH(J,G){if(ho(G.declaration)&&J._shouldPrintDecoratorsBeforeExport(G))J.printJoin(G.declaration.decorators)}function no(J){if(sH(this,J),this.word("export"),this.space(),J.declaration){let H=J.declaration;if(this.print(H),!dH(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(yo(Z)||xo(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 oo(J){sH(this,J),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=uo.TokenContext.exportDefault;let G=J.declaration;if(this.print(G),!dH(G))this.semicolon()}function eo(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(mo(Q)||co(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 Je(J){this.print(J.key),this.tokenChar(58),this.space(),this.print(J.value)}function Ge(J){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(J.local)}function Xe(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 JV=C((Rq1,eH)=>{var nH={},qe=nH.hasOwnProperty,oH=(J,G)=>{for(let X in J)if(qe.call(J,X))G(X,J[X])},Fe=(J,G)=>{if(!G)return J;return oH(G,(X,H)=>{J[X]=H}),J},je=(J,G)=>{let X=J.length,H=-1;while(++H<X)G(J[H])},Z9=(J)=>{return"\\u"+("0000"+J).slice(-4)},Z5=(J,G)=>{let X=J.toString(16);if(G)return X;return X.toUpperCase()},Q5=nH.toString,Oe=Array.isArray,Ae=(J)=>{return typeof Buffer==="function"&&Buffer.isBuffer(J)},Ce=(J)=>{return Q5.call(J)=="[object Object]"},De=(J)=>{return typeof J=="string"||Q5.call(J)=="[object String]"},Se=(J)=>{return typeof J=="number"||Q5.call(J)=="[object Number]"},Ie=(J)=>{return typeof J=="function"},Pe=(J)=>{return Q5.call(J)=="[object Map]"},fe=(J)=>{return Q5.call(J)=="[object Set]"},Ne={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},Te=/[\\\b\f\n\r\t]/,we=/[0-9]/,Le=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ke=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,be=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,m2=(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=Fe(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&&Ie(J.toJSON))J=J.toJSON();if(!De(J)){if(Pe(J)){if(J.size==0)return"new Map()";if(!Q)G.__inline1__=!0,G.__inline2__=!1;return"new Map("+m2(Array.from(J),G)+")"}if(fe(J)){if(J.size==0)return"new Set()";return"new Set("+m2(Array.from(J),G)+")"}if(Ae(J)){if(J.length==0)return"Buffer.from([])";return"Buffer.from("+m2(Array.from(J),G)+")"}if(Oe(J)){if(D=[],G.wrap=!0,U)G.__inline1__=!1,G.__inline2__=!0;if(!F)X();if(je(J,(d)=>{if(I=!1,F)G.__inline2__=!1;D.push((Q||F?"":W)+m2(d,G))}),I)return"[]";if(F)return"["+D.join(", ")+"]";return"["+A+D.join(","+A)+A+(Q?"":z)+"]"}else if(Se(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(!Ce(J)){if(V)return JSON.stringify(J)||"null";return String(J)}else{if(D=[],G.wrap=!0,X(),oH(J,(d,Y1)=>{I=!1,D.push((Q?"":W)+m2(d,G)+":"+(Q?"":" ")+m2(Y1,G))}),I)return"{}";return"{"+A+D.join(","+A)+A+(Q?"":z)+"}"}}let Q1=G.escapeEverything?ke:be;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{"+Z5(V1,Y)+"}"}return Z9(Z5(N,Y))+Z9(Z5(c,Y))}if($1)return Z9(Z5($1.charCodeAt(0),Y));if(d=="\0"&&!V&&!we.test(y.charAt(b1+1)))return"\\0";if(T1){if(T1==Z||G.escapeEverything)return"\\"+T1;return T1}if(Te.test(d))return Ne[d];if(G.minimal&&!Le.test(d))return d;let x=Z5(d.charCodeAt(0),Y);if(V||x.length>2)return Z9(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};m2.version="3.0.2";eH.exports=m2});var B8=C((HV)=>{Object.defineProperty(HV,"__esModule",{value:!0});HV.ArgumentPlaceholder=_e;HV.ArrayPattern=HV.ArrayExpression=me;HV.BigIntLiteral=se;HV.BooleanLiteral=ae;HV.DecimalLiteral=te;HV.Identifier=ge;HV.NullLiteral=pe;HV.NumericLiteral=re;HV.ObjectPattern=HV.ObjectExpression=he;HV.ObjectMethod=ye;HV.ObjectProperty=xe;HV.PipelineBareFunction=ee;HV.PipelinePrimaryTopicReference=J11;HV.PipelineTopicExpression=oe;HV.RecordExpression=ce;HV.RegExpLiteral=ie;HV.SpreadElement=HV.RestElement=ue;HV.StringLiteral=de;HV.TopicReference=ne;HV.TupleExpression=le;var Ee=W1(),XV=JV(),{isAssignmentPattern:ve,isIdentifier:U8}=Ee;function ge(J){var G;this.sourceIdentifierName(((G=J.loc)==null?void 0:G.identifierName)||J.name),this.word(J.name)}function _e(){this.tokenChar(63)}function ue(J){this.token("..."),this.print(J.argument)}function he(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 ye(J){this.printJoin(J.decorators),this._methodHead(J),this.space(),this.print(J.body)}function xe(J){if(this.printJoin(J.decorators),J.computed)this.tokenChar(91),this.print(J.key),this.tokenChar(93);else{if(ve(J.value)&&U8(J.key)&&J.key.name===J.value.left.name){this.print(J.value);return}if(this.print(J.key),J.shorthand&&U8(J.key)&&U8(J.value)&&J.key.name===J.value.name)return}this.tokenChar(58),this.space(),this.print(J.value)}function me(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 ce(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 le(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 ie(J){this.word(`/${J.pattern}/${J.flags}`)}function ae(J){this.word(J.value?"true":"false")}function pe(){this.word("null")}function re(J){let G=this.getPossibleRaw(J),X=this.format.jsescOption,H=J.value,V=H+"";if(X.numbers)this.number(XV(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 de(J){let G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.token(G);return}let X=XV(J.value,this.format.jsescOption);this.token(X)}function se(J){let G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.word(G);return}this.word(J.value+"n")}function te(J){let G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.word(G);return}this.word(J.value+"m")}var GV=new Set(["^^","@@","^","%","#"]);function ne(){let{topicToken:J}=this.format;if(GV.has(J))this.token(J);else{let G=JSON.stringify(J),X=Array.from(GV,(H)=>JSON.stringify(H));throw new Error(`The "topicToken" generator option must be one of ${X.join(", ")} (${G} received instead).`)}}function oe(J){this.print(J.expression)}function ee(J){this.print(J.callee)}function J11(){this.tokenChar(35)}});var ZV=C((z9)=>{Object.defineProperty(z9,"__esModule",{value:!0});z9.AnyTypeAnnotation=P11;z9.ArrayTypeAnnotation=f11;z9.BooleanLiteralTypeAnnotation=T11;z9.BooleanTypeAnnotation=N11;z9.DeclareClass=L11;z9.DeclareExportAllDeclaration=m11;z9.DeclareExportDeclaration=x11;z9.DeclareFunction=k11;z9.DeclareInterface=v11;z9.DeclareModule=g11;z9.DeclareModuleExports=_11;z9.DeclareOpaqueType=h11;z9.DeclareTypeAlias=u11;z9.DeclareVariable=y11;z9.DeclaredPredicate=E11;z9.EmptyTypeAnnotation=z21;z9.EnumBooleanBody=l11;z9.EnumBooleanMember=d11;z9.EnumDeclaration=c11;z9.EnumDefaultedMember=r11;z9.EnumNumberBody=i11;z9.EnumNumberMember=s11;z9.EnumStringBody=a11;z9.EnumStringMember=t11;z9.EnumSymbolBody=p11;z9.ExistsTypeAnnotation=o11;z9.FunctionTypeAnnotation=e11;z9.FunctionTypeParam=J21;z9.IndexedAccessType=v21;z9.InferredPredicate=b11;z9.InterfaceDeclaration=V21;z9.GenericTypeAnnotation=z9.ClassImplements=z9.InterfaceExtends=G21;z9.InterfaceTypeAnnotation=Q21;z9.IntersectionTypeAnnotation=Y21;z9.MixedTypeAnnotation=W21;z9.NullLiteralTypeAnnotation=w11;z9.NullableTypeAnnotation=K21;Object.defineProperty(z9,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return VV.NumericLiteral}});z9.NumberTypeAnnotation=U21;z9.ObjectTypeAnnotation=C21;z9.ObjectTypeCallProperty=S21;z9.ObjectTypeIndexer=I21;z9.ObjectTypeInternalSlot=D21;z9.ObjectTypeProperty=P21;z9.ObjectTypeSpreadProperty=f21;z9.OpaqueType=A21;z9.OptionalIndexedAccessType=g21;z9.QualifiedTypeIdentifier=N21;Object.defineProperty(z9,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return VV.StringLiteral}});z9.StringTypeAnnotation=B21;z9.SymbolTypeAnnotation=T21;z9.ThisTypeAnnotation=R21;z9.TupleTypeAnnotation=$21;z9.TypeAlias=q21;z9.TypeAnnotation=F21;z9.TypeCastExpression=k21;z9.TypeParameter=O21;z9.TypeParameterDeclaration=z9.TypeParameterInstantiation=j21;z9.TypeofTypeAnnotation=M21;z9.UnionTypeAnnotation=L21;z9.Variance=b21;z9.VoidTypeAnnotation=E21;z9._interfaceish=X21;z9._variance=H21;var C11=W1(),D11=K8(),S11=x2(),VV=B8(),{isDeclareExportDeclaration:Q9,isStatement:I11}=C11;function P11(){this.word("any")}function f11(J){this.print(J.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function N11(){this.word("boolean")}function T11(J){this.word(J.value?"true":"false")}function w11(){this.word("null")}function L11(J,G){if(!Q9(G))this.word("declare"),this.space();this.word("class"),this.space(),this._interfaceish(J)}function k11(J,G){if(!Q9(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 b11(){this.tokenChar(37),this.word("checks")}function E11(J){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(J.value),this.tokenChar(41)}function v11(J){this.word("declare"),this.space(),this.InterfaceDeclaration(J)}function g11(J){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(J.id),this.space(),this.print(J.body)}function _11(J){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(J.typeAnnotation)}function u11(J){this.word("declare"),this.space(),this.TypeAlias(J)}function h11(J,G){if(!Q9(G))this.word("declare"),this.space();this.OpaqueType(J)}function y11(J,G){if(!Q9(G))this.word("declare"),this.space();this.word("var"),this.space(),this.print(J.id),this.print(J.id.typeAnnotation),this.semicolon()}function x11(J){if(this.word("declare"),this.space(),this.word("export"),this.space(),J.default)this.word("default"),this.space();n11.call(this,J)}function m11(J){this.word("declare"),this.space(),D11.ExportAllDeclaration.call(this,J)}function c11(J){let{id:G,body:X}=J;this.word("enum"),this.space(),this.print(G),this.print(X)}function Y9(J,G,X){if(X)J.space(),J.word("of"),J.space(),J.word(G);J.space()}function W9(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 l11(J){let{explicitType:G}=J;Y9(this,"boolean",G),W9(this,J)}function i11(J){let{explicitType:G}=J;Y9(this,"number",G),W9(this,J)}function a11(J){let{explicitType:G}=J;Y9(this,"string",G),W9(this,J)}function p11(J){Y9(this,"symbol",!0),W9(this,J)}function r11(J){let{id:G}=J;this.print(G),this.tokenChar(44)}function R8(J,G){J.print(G.id),J.space(),J.token("="),J.space(),J.print(G.init),J.token(",")}function d11(J){R8(this,J)}function s11(J){R8(this,J)}function t11(J){R8(this,J)}function n11(J){if(J.declaration){let G=J.declaration;if(this.print(G),!I11(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 o11(){this.tokenChar(42)}function e11(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 J21(J){if(this.print(J.name),J.optional)this.tokenChar(63);if(J.name)this.tokenChar(58),this.space();this.print(J.typeAnnotation)}function G21(J){this.print(J.id),this.print(J.typeParameters,!0)}function X21(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 H21(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 V21(J){this.word("interface"),this.space(),this._interfaceish(J)}function Z21(){this.space(),this.tokenChar(38),this.space()}function Q21(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 Y21(J){this.printJoin(J.types,{separator:Z21})}function W21(){this.word("mixed")}function z21(){this.word("empty")}function K21(J){this.tokenChar(63),this.print(J.typeAnnotation)}function U21(){this.word("number")}function B21(){this.word("string")}function R21(){this.word("this")}function $21(J){this.tokenChar(91),this.printList(J.types),this.tokenChar(93)}function M21(J){this.word("typeof"),this.space(),this.print(J.argument)}function q21(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 F21(J,G){if(this.tokenChar(58),this.space(),G.type==="ArrowFunctionExpression")this.tokenContext|=S11.TokenContext.arrowFlowReturnType;else if(J.optional)this.tokenChar(63);this.print(J.typeAnnotation)}function j21(J){this.tokenChar(60),this.printList(J.params,{}),this.tokenChar(62)}function O21(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 A21(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 C21(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 D21(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 S21(J){if(J.static)this.word("static"),this.space();this.print(J.value)}function I21(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 P21(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 f21(J){this.token("..."),this.print(J.argument)}function N21(J){this.print(J.qualification),this.tokenChar(46),this.print(J.id)}function T21(){this.word("symbol")}function w21(){this.space(),this.tokenChar(124),this.space()}function L21(J){this.printJoin(J.types,{separator:w21})}function k21(J){this.tokenChar(40),this.print(J.expression),this.print(J.typeAnnotation),this.tokenChar(41)}function b21(J){if(J.kind==="plus")this.tokenChar(43);else this.tokenChar(45)}function E21(){this.word("void")}function v21(J){this.print(J.objectType,!0),this.tokenChar(91),this.print(J.indexType),this.tokenChar(93)}function g21(J){if(this.print(J.objectType),J.optional)this.token("?.");this.tokenChar(91),this.print(J.indexType),this.tokenChar(93)}});var YV=C((QV)=>{Object.defineProperty(QV,"__esModule",{value:!0});QV.BlockStatement=p01;QV.Directive=r01;QV.DirectiveLiteral=t01;QV.File=i01;QV.InterpreterDirective=n01;QV.Placeholder=o01;QV.Program=a01;function i01(J){if(J.program)this.print(J.program.interpreter);this.print(J.program)}function a01(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 p01(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 r01(J){this.print(J.value),this.semicolon()}var d01=/(?:^|[^\\])(?:\\\\)*'/,s01=/(?:^|[^\\])(?:\\\\)*"/;function t01(J){let G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.token(G);return}let{value:X}=J;if(!s01.test(X))this.token(`"${X}"`);else if(!d01.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 n01(J){this.token(`#!${J.value}`),this.newline(1,!0)}function o01(J){if(this.token("%%"),this.print(J.name),this.token("%%"),J.expectedNode==="Statement")this.semicolon()}});var zV=C((WV)=>{Object.defineProperty(WV,"__esModule",{value:!0});WV.JSXAttribute=Q51;WV.JSXClosingElement=F51;WV.JSXClosingFragment=C51;WV.JSXElement=$51;WV.JSXEmptyExpression=j51;WV.JSXExpressionContainer=U51;WV.JSXFragment=O51;WV.JSXIdentifier=Y51;WV.JSXMemberExpression=z51;WV.JSXNamespacedName=W51;WV.JSXOpeningElement=q51;WV.JSXOpeningFragment=A51;WV.JSXSpreadAttribute=K51;WV.JSXSpreadChild=B51;WV.JSXText=R51;function Q51(J){if(this.print(J.name),J.value)this.tokenChar(61),this.print(J.value)}function Y51(J){this.word(J.name)}function W51(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 K51(J){this.tokenChar(123),this.token("..."),this.print(J.argument),this.rightBrace(J)}function U51(J){this.tokenChar(123),this.print(J.expression),this.rightBrace(J)}function B51(J){this.tokenChar(123),this.token("..."),this.print(J.expression),this.rightBrace(J)}function R51(J){let G=this.getPossibleRaw(J);if(G!==void 0)this.token(G,!0);else this.token(J.value,!0)}function $51(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 M51(){this.space()}function q51(J){if(this.tokenChar(60),this.print(J.name),this.print(J.typeParameters),J.attributes.length>0)this.space(),this.printJoin(J.attributes,{separator:M51});if(J.selfClosing)this.space(),this.token("/>");else this.tokenChar(62)}function F51(J){this.token("</"),this.print(J.name),this.tokenChar(62)}function j51(){this.printInnerComments()}function O51(J){this.print(J.openingFragment),this.indent();for(let G of J.children)this.print(G);this.dedent(),this.print(J.closingFragment)}function A51(){this.tokenChar(60),this.tokenChar(62)}function C51(){this.token("</"),this.tokenChar(62)}});var RV=C((BV)=>{Object.defineProperty(BV,"__esModule",{value:!0});BV.TSAnyKeyword=t51;BV.TSArrayType=j91;BV.TSSatisfiesExpression=BV.TSAsExpression=_91;BV.TSBigIntKeyword=n51;BV.TSBooleanKeyword=G91;BV.TSCallSignatureDeclaration=i51;BV.TSInterfaceHeritage=BV.TSExpressionWithTypeArguments=BV.TSClassImplements=b91;BV.TSConditionalType=P91;BV.TSConstructSignatureDeclaration=a51;BV.TSConstructorType=U91;BV.TSDeclareFunction=m51;BV.TSDeclareMethod=c51;BV.TSEnumDeclaration=y91;BV.TSEnumMember=x91;BV.TSExportAssignment=r91;BV.TSExternalModuleReference=a91;BV.TSFunctionType=K91;BV.TSImportEqualsDeclaration=i91;BV.TSImportType=l91;BV.TSIndexSignature=s51;BV.TSIndexedAccessType=w91;BV.TSInferType=f91;BV.TSInstantiationExpression=h91;BV.TSInterfaceBody=v91;BV.TSInterfaceDeclaration=E91;BV.TSIntersectionType=I91;BV.TSIntrinsicKeyword=W91;BV.TSLiteralType=k91;BV.TSMappedType=L91;BV.TSMethodSignature=d51;BV.TSModuleBlock=c91;BV.TSModuleDeclaration=m91;BV.TSNamedTupleMember=D91;BV.TSNamespaceExportDeclaration=d91;BV.TSNeverKeyword=Y91;BV.TSNonNullExpression=p91;BV.TSNullKeyword=Q91;BV.TSNumberKeyword=e51;BV.TSObjectKeyword=J91;BV.TSOptionalType=A91;BV.TSParameterProperty=x51;BV.TSParenthesizedType=N91;BV.TSPropertySignature=p51;BV.TSQualifiedName=l51;BV.TSRestType=C91;BV.TSStringKeyword=X91;BV.TSSymbolKeyword=H91;BV.TSThisType=z91;BV.TSTupleType=O91;BV.TSTypeAliasDeclaration=g91;BV.TSTypeAnnotation=u51;BV.TSTypeAssertion=u91;BV.TSTypeLiteral=q91;BV.TSTypeOperator=T91;BV.TSTypeParameter=y51;BV.TSTypeParameterDeclaration=BV.TSTypeParameterInstantiation=h51;BV.TSTypePredicate=$91;BV.TSTypeQuery=M91;BV.TSTypeReference=R91;BV.TSUndefinedKeyword=Z91;BV.TSUnionType=S91;BV.TSUnknownKeyword=o51;BV.TSVoidKeyword=V91;BV.tsPrintClassMemberModifiers=t91;BV.tsPrintFunctionOrConstructorType=B91;BV.tsPrintPropertyOrMethodName=r51;BV.tsPrintSignatureDeclarationBase=s91;BV.tsPrintTypeLiteralOrInterfaceBody=F91;function u51(J){if(this.tokenChar(58),this.space(),J.optional)this.tokenChar(63);this.print(J.typeAnnotation)}function h51(J,G){if(this.tokenChar(60),this.printList(J.params,{}),G.type==="ArrowFunctionExpression"&&J.params.length===1)this.tokenChar(44);this.tokenChar(62)}function y51(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 x51(J){if(J.accessibility)this.word(J.accessibility),this.space();if(J.readonly)this.word("readonly"),this.space();this._param(J.parameter)}function m51(J,G){if(J.declare)this.word("declare"),this.space();this._functionHead(J,G),this.semicolon()}function c51(J){this._classMethodHead(J),this.semicolon()}function l51(J){this.print(J.left),this.tokenChar(46),this.print(J.right)}function i51(J){this.tsPrintSignatureDeclarationBase(J),this.semicolon()}function a51(J){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(J),this.semicolon()}function p51(J){let{readonly:G}=J;if(G)this.word("readonly"),this.space();this.tsPrintPropertyOrMethodName(J),this.print(J.typeAnnotation),this.semicolon()}function r51(J){if(J.computed)this.tokenChar(91);if(this.print(J.key),J.computed)this.tokenChar(93);if(J.optional)this.tokenChar(63)}function d51(J){let{kind:G}=J;if(G==="set"||G==="get")this.word(G),this.space();this.tsPrintPropertyOrMethodName(J),this.tsPrintSignatureDeclarationBase(J),this.semicolon()}function s51(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 t51(){this.word("any")}function n51(){this.word("bigint")}function o51(){this.word("unknown")}function e51(){this.word("number")}function J91(){this.word("object")}function G91(){this.word("boolean")}function X91(){this.word("string")}function H91(){this.word("symbol")}function V91(){this.word("void")}function Z91(){this.word("undefined")}function Q91(){this.word("null")}function Y91(){this.word("never")}function W91(){this.word("intrinsic")}function z91(){this.word("this")}function K91(J){this.tsPrintFunctionOrConstructorType(J)}function U91(J){if(J.abstract)this.word("abstract"),this.space();this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(J)}function B91(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 R91(J){this.print(J.typeName,!0),this.print(J.typeParameters,!0)}function $91(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 M91(J){if(this.word("typeof"),this.space(),this.print(J.exprName),J.typeParameters)this.print(J.typeParameters)}function q91(J){this.tsPrintTypeLiteralOrInterfaceBody(J.members,J)}function F91(J,G){$8(this,J,G)}function $8(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 j91(J){this.print(J.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function O91(J){this.tokenChar(91),this.printList(J.elementTypes),this.tokenChar(93)}function A91(J){this.print(J.typeAnnotation),this.tokenChar(63)}function C91(J){this.token("..."),this.print(J.typeAnnotation)}function D91(J){if(this.print(J.label),J.optional)this.tokenChar(63);this.tokenChar(58),this.space(),this.print(J.elementType)}function S91(J){UV(this,J,"|")}function I91(J){UV(this,J,"&")}function UV(J,G,X){J.printJoin(G.types,{separator(){this.space(),this.token(X),this.space()}})}function P91(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 f91(J){this.word("infer"),this.print(J.typeParameter)}function N91(J){this.tokenChar(40),this.print(J.typeAnnotation),this.tokenChar(41)}function T91(J){this.word(J.operator),this.space(),this.print(J.typeAnnotation)}function w91(J){this.print(J.objectType,!0),this.tokenChar(91),this.print(J.indexType),this.tokenChar(93)}function L91(J){let{nameType:G,optional:X,readonly:H,typeAnnotation:V}=J;if(this.tokenChar(123),this.space(),H)KV(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)KV(this,X),this.tokenChar(63);if(V)this.tokenChar(58),this.space(),this.print(V);this.space(),this.tokenChar(125)}function KV(J,G){if(G!==!0)J.token(G)}function k91(J){this.print(J.literal)}function b91(J){this.print(J.expression),this.print(J.typeParameters)}function E91(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 v91(J){this.tsPrintTypeLiteralOrInterfaceBody(J.body,J)}function g91(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 _91(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 u91(J){let{typeAnnotation:G,expression:X}=J;this.tokenChar(60),this.print(G),this.tokenChar(62),this.space(),this.print(X)}function h91(J){this.print(J.expression),this.print(J.typeParameters)}function y91(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(),$8(this,V,J)}function x91(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 m91(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 c91(J){$8(this,J.body,J)}function l91(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 i91(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 a91(J){this.token("require("),this.print(J.expression),this.tokenChar(41)}function p91(J){this.print(J.expression),this.tokenChar(33)}function r91(J){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(J.expression),this.semicolon()}function d91(J){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(J.id),this.semicolon()}function s91(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 t91(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 $V=C((M1)=>{Object.defineProperty(M1,"__esModule",{value:!0});var M8=EH();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=_H();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=cH();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=iH();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=pH();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=K8();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=B8();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=ZV();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=YV();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 I8=zV();Object.keys(I8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===I8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return I8[J]}})});var P8=RV();Object.keys(P8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in M1&&M1[J]===P8[J])return;Object.defineProperty(M1,J,{enumerable:!0,get:function(){return P8[J]}})})});var AV=C((jV)=>{Object.defineProperty(jV,"__esModule",{value:!0});jV.default=void 0;var U81=TG(),qV=x2(),B81=W1(),R81=$V(),{isExpression:$81,isFunction:M81,isStatement:q81,isClassBody:F81,isTSInterfaceBody:j81,isTSEnumDeclaration:O81}=B81,A81=/e/i,C81=/\.0+$/,FV=/[\n\r\u2028\u2029]/,D81=/[\n\r\u2028\u2029]|\*\//;function MV(J){return J.type==="CommentLine"||FV.test(J.value)}var{needsParens:S81}=qV;class K9{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 U81.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)&&!A81.test(J)&&!C81.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"||S81(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(MV)||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&&qV.isLastChild(U,J)),G){var w;if((w=J.trailingComments)!=null&&w.some(MV)){if($81(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=I81;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&&D81.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:!FV.test(I.value),w=f&&!q81(X)&&!F81(H)&&!j81(H)&&!O81(H);if(J===0)this._printComment(I,w&&X.type!=="ObjectExpression"||f&&M81(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(K9.prototype,R81);K9.prototype.Noop=function J(){};var Lq1=jV.default=K9;function I81(){this.tokenChar(44),this.space()}});var f8=C((IV)=>{Object.defineProperty(IV,"__esModule",{value:!0});IV.default=P81;var CV=IG(),DV=AV();function SV(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}IV.CodeGenerator=class J{constructor(G,X={},H){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=G,this._format=SV(H,X),this._map=X.sourceMaps?new CV.default(X,H):null}generate(){return new DV.default(this._format,this._map).generate(this._ast)}};function P81(J,G={},X){let H=SV(X,G),V=G.sourceMaps?new CV.default(G,X):null;return new DV.default(H,V).generate(J)}});var O9=C((FZ)=>{Object.defineProperty(FZ,"__esModule",{value:!0});function N81(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 $5{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 a1(J,G){let{line:X,column:H,index:V}=J;return new b2(X,H+G,V+G)}var PV="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",T81={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:PV},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:PV}},fV={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"},R9=(J)=>J.type==="UpdateExpression"?fV.UpdateExpression[`${J.prefix}`]:fV[J.type],w81={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 ${R9(J)}.`,InvalidLhsBinding:({ancestor:J})=>`Binding invalid left-hand side in ${R9(J)}.`,InvalidLhsOptionalChaining:({ancestor:J})=>`Invalid optional chaining in the left-hand side of ${R9(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."},L81={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."},k81=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),b81={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 ${R9({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.'},E81=["message"];function NV(J,G,X){Object.defineProperty(J,G,{enumerable:!1,configurable:!0,value:X})}function v81({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 NV(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))}),NV(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=N81(Z,E81),W=typeof Q==="string"?()=>Q:Q;X[H]=v81(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:H,toMessage:W},G?{syntaxPlugin:G}:{},Y))}return X}var j=Object.assign({},k2(T81),k2(w81),k2(L81),k2`pipelineOperator`(b81)),{defineProperty:g81}=Object,TV=(J,G)=>{if(J)g81(J,G,{enumerable:!1,value:J[G]})};function Y5(J){return TV(J.loc.start,"index"),TV(J.loc.end,"index"),J}var _81=(J)=>class G extends J{parse(){let X=Y5(super.parse());if(this.options.tokens)X.tokens=X.tokens.map(Y5);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 Y5(super.finishNodeAt(X,H,V))}resetStartLocation(X,H){super.resetStartLocation(X,H),Y5(X)}resetEndLocation(X,H=this.state.lastTokEndLoc){super.resetEndLocation(X,H),Y5(X)}};class C0{constructor(J,G){this.token=void 0,this.preserveSpace=void 0,this.token=J,this.preserveSpace=!!G}}var O1={brace:new C0("{"),j_oTag:new C0("<tag"),j_cTag:new C0("</tag"),j_expr:new C0("<tag>...</tag>",!0)};O1.template=new C0("`",!0);var K1=!0,h=!0,N8=!0,W5=!0,c2=!0,u81=!0;class _8{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 u8=new Map;function q1(J,G={}){G.keyword=J;let X=s(J,G);return u8.set(J,X),X}function i1(J,G){return s(J,{beforeExpr:K1,binop:G})}var B5=-1,w2=[],h8=[],y8=[],x8=[],m8=[],c8=[];function s(J,G={}){var X,H,V,Z;return++B5,h8.push(J),y8.push((X=G.binop)!=null?X:-1),x8.push((H=G.beforeExpr)!=null?H:!1),m8.push((V=G.startsExpr)!=null?V:!1),c8.push((Z=G.prefix)!=null?Z:!1),w2.push(new _8(J,G)),B5}function z1(J,G={}){var X,H,V,Z;return++B5,u8.set(J,B5),h8.push(J),y8.push((X=G.binop)!=null?X:-1),x8.push((H=G.beforeExpr)!=null?H:!1),m8.push((V=G.startsExpr)!=null?V:!1),c8.push((Z=G.prefix)!=null?Z:!1),w2.push(new _8("name",G)),B5}var h81={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:W5}),assign:s("_=",{beforeExpr:K1,isAssign:W5}),slashAssign:s("_=",{beforeExpr:K1,isAssign:W5}),xorAssign:s("_=",{beforeExpr:K1,isAssign:W5}),moduloAssign:s("_=",{beforeExpr:K1,isAssign:W5}),incDec:s("++/--",{prefix:c2,postfix:u81,startsExpr:h}),bang:s("!",{beforeExpr:K1,prefix:c2,startsExpr:h}),tilde:s("~",{beforeExpr:K1,prefix:c2,startsExpr:h}),doubleCaret:s("^^",{startsExpr:h}),doubleAt:s("@@",{startsExpr:h}),pipeline:i1("|>",0),nullishCoalescing:i1("??",1),logicalOR:i1("||",1),logicalAND:i1("&&",2),bitwiseOR:i1("|",3),bitwiseXOR:i1("^",4),bitwiseAND:i1("&",5),equality:i1("==/!=/===/!==",6),lt:i1("</>/<=/>=",7),gt:i1("</>/<=/>=",7),relational:i1("</>/<=/>=",7),bitShift:i1("<</>>/>>>",8),bitShiftL:i1("<</>>/>>>",8),bitShiftR:i1("<</>>/>>>",8),plusMin:s("+/-",{beforeExpr:K1,binop:9,prefix:c2,startsExpr:h}),modulo:s("%",{binop:10,startsExpr:h}),star:s("*",{binop:10}),slash:i1("/",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:c2,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:c2,startsExpr:h}),_void:q1("void",{beforeExpr:K1,prefix:c2,startsExpr:h}),_delete:q1("delete",{beforeExpr:K1,prefix:c2,startsExpr:h}),_do:q1("do",{isLoop:N8,beforeExpr:K1}),_for:q1("for",{isLoop:N8}),_while:q1("while",{isLoop:N8}),_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 y81(J){return J<=92}function U2(J){return J>=58&&J<=132}function xV(J){return J>=58&&J<=136}function x81(J){return x8[J]}function E8(J){return m8[J]}function m81(J){return J>=29&&J<=33}function wV(J){return J>=129&&J<=131}function c81(J){return J>=90&&J<=92}function l8(J){return J>=58&&J<=92}function l81(J){return J>=39&&J<=59}function i81(J){return J===34}function a81(J){return c8[J]}function p81(J){return J>=121&&J<=123}function r81(J){return J>=124&&J<=130}function i2(J){return h8[J]}function $9(J){return y8[J]}function d81(J){return J===57}function q9(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 i8="\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",mV="\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",s81=new RegExp("["+i8+"]"),t81=new RegExp("["+i8+mV+"]");i8=mV=null;var cV=[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],n81=[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 v8(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&&s81.test(String.fromCharCode(J));return v8(J,cV)}function S0(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&&t81.test(String.fromCharCode(J));return v8(J,cV)||v8(J,n81)}var a8={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"]},o81=new Set(a8.keyword),e81=new Set(a8.strict),JJ1=new Set(a8.strictBind);function lV(J,G){return G&&J==="await"||J==="enum"}function iV(J,G){return lV(J,G)||e81.has(J)}function aV(J){return JJ1.has(J)}function pV(J,G){return iV(J,G)||aV(J)}function GJ1(J){return o81.has(J)}function XJ1(J,G,X){return J===64&&G===64&&L2(X)}var HJ1=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 VJ1(J){return HJ1.has(J)}class F9{constructor(J){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=J}}class j9{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 F9(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 rV extends F9{constructor(...J){super(...J);this.declareFunctions=new Set}}class dV extends j9{createScope(J){return new rV(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 sV{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 tV(J,G){if(J.trailingComments===void 0)J.trailingComments=G;else J.trailingComments.unshift(...G)}function ZJ1(J,G){if(J.leadingComments===void 0)J.leadingComments=G;else J.leadingComments.unshift(...G)}function M5(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)M5(J,X.comments);else tV(H,X.comments)}class nV extends sV{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)tV(J.leadingNode,G);if(J.trailingNode!==null)ZJ1(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:M5(X,G)}else M5(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 QJ1=/\r\n|[\r\n\u2028\u2029]/,U9=new RegExp(QJ1.source,"g");function I0(J){switch(J){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function LV(J,G,X){for(let H=G;H<X;H++)if(I0(J.charCodeAt(H)))return!0;return!1}var T8=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,w8=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function YJ1(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 p8{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 p8;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 WJ1=function J(G){return G>=48&&G<=57},kV={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},B9={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 bV(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=KJ1(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 KJ1(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}=g8(J,G,X,H,2,!1,Q,Z),Y(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:G}=eV(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 g8(J,G,X,H,V,Z,Q,Y){let W=G,z;if({n:z,pos:G}=oV(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 oV(J,G,X,H,V,Z,Q,Y,W,z){let U=G,F=V===16?kV.hex:kV.decBinOct,A=V===16?B9.hex:V===10?B9.dec:V===8?B9.oct:B9.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(WJ1(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 eV(J,G,X,H,V,Z){let Q=J.charCodeAt(G),Y;if(Q===123){if(++G,{code:Y,pos:G}=g8(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}=g8(J,G,X,H,4,!1,V,Z));return{code:Y,pos:G}}function K5(J,G,X){return new b2(X,J-G,J)}var UJ1=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 $5(J.startLoc,J.endLoc)}}class JZ extends nV{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,K5(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,K5(X,H,V))},unterminated:(X,H,V)=>{throw this.raise(j.UnterminatedString,K5(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,K5(X,H,V))}}),this.state=new p8,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 T8.lastIndex=J,T8.test(this.input)?T8.lastIndex:J}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(J){return w8.lastIndex=J,w8.test(this.input)?w8.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,U9.lastIndex=X+2;while(U9.test(this.input)&&U9.lastIndex<=H)++this.state.curLine,this.state.lineStart=U9.lastIndex;if(this.isLookahead)return;let V={type:"CommentBlock",value:this.input.slice(X+2,H),start:X,end:H+J.length,loc:new $5(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(!I0(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 $5(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(YJ1(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(!I0(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,a1(J,1));let W=this.input.charCodeAt(V);if(I0(W))throw this.raise(j.UnterminatedRegExp,a1(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=()=>a1(J,V+2-G);while(V<this.length){let W=this.codePointAtPos(V),z=String.fromCharCode(W);if(UJ1.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(S0(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}=oV(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,a1(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,a1(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}=eV(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}=bV(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}=bV("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(S0(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:S0;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=u8.get(G);if(X!==void 0)this.finishToken(X,i2(X));else this.finishToken(132,G)}checkKeywordEscapes(){let{type:J}=this.state;if(l8(J)&&this.state.containsEsc)this.raise(j.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:i2(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?i2(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,K5(G,X,H))}}}class GZ{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class XZ{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 GZ)}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 F5{constructor(J=0){this.type=J}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class r8 extends F5{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 HZ{constructor(J){this.parser=void 0,this.stack=[new F5],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 BJ1(){return new F5(3)}function RJ1(){return new r8(1)}function $J1(){return new r8(2)}function VZ(){return new F5}class ZZ{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 M9(J,G){return(J?2:0)|(G?1:0)}class QZ extends JZ{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!(S0(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 LV(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return LV(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 xV(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 ZZ;let Y=this.classScope;this.classScope=new XZ(this);let W=this.expressionScope;return this.expressionScope=new HZ(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 R5{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class q5{constructor(J,G,X){if(this.type="",this.start=G,this.end=0,this.loc=new $5(X),J!=null&&J.options.ranges)this.range=[G,0];if(J!=null&&J.filename)this.loc.filename=J.filename}}var d8=q5.prototype;d8.__clone=function(){let J=new q5(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 MJ1(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(d8);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 qJ1(J){let{type:G,start:X,end:H,loc:V,range:Z,extra:Q}=J;if(G==="Placeholder")return MJ1(J);let Y=Object.create(d8);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 YZ extends QZ{startNode(){let J=this.state.startLoc;return new q5(this,J.index,J)}startNodeAt(J){return new q5(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 FJ1=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 jJ1(J){return J.type==="DeclareExportAllDeclaration"||J.type==="DeclareExportDeclaration"&&(!J.declaration||J.declaration.type!=="TypeAlias"&&J.declaration.type!=="InterfaceDeclaration")}function EV(J){return J.importKind==="type"||J.importKind==="typeof"}var OJ1={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function AJ1(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 CJ1=/\*?\s*@((?:no)?flow)\b/,DJ1=(J)=>class G extends J{constructor(...X){super(...X);this.flowPragma=void 0}getScopeHandler(){return dV}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=CJ1.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(jJ1(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:OJ1[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(!FJ1.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(xV(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(l8(this.state.type)){let W=i2(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(wV(X)||this.plugins.get("flow").enums&&X===126)return!this.state.containsEsc;return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:X}=this.state;if(wV(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 AJ1(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(XJ1(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=EV(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=EV(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}},SJ1={__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"},G0=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 l2(J){return J?J.type==="JSXOpeningFragment"||J.type==="JSXClosingFragment":!1}function D0(J){if(J.type==="JSXIdentifier")return J.name;if(J.type==="JSXNamespacedName")return J.namespace.name+":"+J.name.name;if(J.type==="JSXMemberExpression")return D0(J.object)+"."+D0(J.property);throw new Error("Node had unexpected type: "+J.type)}var IJ1=(J)=>class G extends J{jsxReadToken(){let X="",H=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(G0.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(I0(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(I0(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=SJ1[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(S0(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(l8(this.state.type))X.name=i2(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(G0.AttributeIsEmpty,X);return X;case 142:case 133:return this.parseExprAtom();default:throw this.raise(G0.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(l2(Z)&&!l2(Q)&&Q!==null)this.raise(G0.MissingClosingTagFragment,Q);else if(!l2(Z)&&l2(Q))this.raise(G0.MissingClosingTagElement,Q,{openingTagName:D0(Z.name)});else if(!l2(Z)&&!l2(Q)){if(D0(Q.name)!==D0(Z.name))this.raise(G0.MissingClosingTagElement,Q,{openingTagName:D0(Z.name)})}}if(l2(Z))H.openingFragment=Z,H.closingFragment=Q;else H.openingElement=Z,H.closingElement=Q;if(H.children=V,this.match(47))throw this.raise(G0.UnwrappedAdjacentJSXElements,this.state.startLoc);return l2(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=x81(V)}};class WZ extends F9{constructor(...J){super(...J);this.tsNames=new Map}}class zZ extends j9{constructor(...J){super(...J);this.importsStack=[]}createScope(J){return this.importsStack.push(new Set),new WZ(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 KZ=(J)=>{return J.type==="ParenthesizedExpression"?KZ(J.expression):J};class UZ extends YZ{toAssignable(J,G=!1){var X,H;let V=void 0;if(J.type==="ParenthesizedExpression"||(X=J.extra)!=null&&X.parenthesized)if(V=KZ(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?pV(J.name,this.inModule):aV(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 PJ1(J){if(J==null)throw new Error(`Unexpected ${J} value.`);return J}function vV(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 fJ1(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 gV(J){return J==="private"||J==="public"||J==="protected"}function NJ1(J){return J==="in"||J==="out"}var TJ1=(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 zZ}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(gV(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(NJ1(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 PJ1(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":fJ1(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 p81(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(){vV(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 r81(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(q9(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&&E8(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($9(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(!LJ1(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(gV(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(vV(!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 wJ1(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 RZ(J.object)}function LJ1(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(BZ(J,G)||kJ1(J,G))return!0;if(H==="TemplateLiteral"&&J.expressions.length===0)return!0;if(wJ1(J))return!0;return!1}function BZ(J,G){if(G)return J.type==="Literal"&&(typeof J.value==="number"||("bigint"in J));return J.type==="NumericLiteral"||J.type==="BigIntLiteral"}function kJ1(J,G){if(J.type==="UnaryExpression"){let{operator:X,argument:H}=J;if(X==="-"&&BZ(H,G))return!0}return!1}function RZ(J){if(J.type==="Identifier")return!0;if(J.type!=="MemberExpression"||J.computed)return!1;return RZ(J.object)}var _V=k2`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),bJ1=(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(_V.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(i2(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(_V.UnexpectedSpace,this.state.lastTokEndLoc)}},EJ1=(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)}},uV=["minimal","fsharp","hack","smart"],hV=["^^","@@","^","%","#"];function vJ1(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(!uV.includes(X)){let V=uV.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(!hV.includes(V)){let Z=hV.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 $Z={estree:_81,jsx:IJ1,flow:DJ1,typescript:TJ1,v8intrinsic:EJ1,placeholders:bJ1},gJ1=Object.keys($Z),L8={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 _J1(J){if(J==null)return Object.assign({},L8);if(J.annexB!=null&&J.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let G={};for(let H of Object.keys(L8)){var X;G[H]=(X=J[H])!=null?X:L8[H]}return G}class MZ extends UZ{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 R5,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(m81(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>=$9(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(l81(H)&&(this.prodParam.hasIn||!this.match(58))){let V=$9(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=$9(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,d81(J)?G-1:G)}parseHackPipeBody(){var J;let{startLoc:G}=this.state,X=this.parseMaybeAssign();if(k81.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(a81(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")?E8(Y):E8(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(i81(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(q9(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($J1()),Z=new R5;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)M5(J,G.innerComments);if(G.callee.trailingComments)M5(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=a1(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:i2(H)})}testTopicReferenceConfiguration(J,G,X){switch(J){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:i2(X)}]);case"smart":return X===27;default:throw this.raise(j.PipeTopicRequiresHackPipes,G)}}parseAsyncArrowUnaryFunction(J){this.prodParam.enter(M9(!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(a1(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(RJ1());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 R5,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(a1(X,1));if(V===null){if(!J)this.raise(j.InvalidEscapeSequenceTemplate,a1(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,a1(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(M9(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=M9(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(VZ()),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=y81(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(!VJ1(J))return;if(X&&GJ1(J)){this.raise(j.UnexpectedKeyword,G,{keyword:J});return}if((!this.state.strict?lV:H?pV:iV)(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||q9(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 k8={kind:1},uJ1={kind:2},hJ1=/[\uD800-\uDFFF]/u,b8=/in(?:stanceof)?/y;function yJ1(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=a1(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(q9(V)){let{loc:Z,start:Q,value:Y,end:W}=H,z=Q+1,U=a1(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=a1(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=a1(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 qZ extends MZ{parseTopLevel(J,G){if(J.program=this.parseProgram(G),J.comments=this.comments,this.options.tokens)J.tokens=yJ1(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",a1(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(b8.lastIndex=G,b8.test(this.input)){let X=this.codePointAtPos(b8.lastIndex);if(!S0(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(k8),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(k8);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 R5,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(uJ1),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(k8),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=c81(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(M9(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(BJ1()),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(VZ()),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=qJ1(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=hJ1.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 s8 extends qZ{constructor(J,G,X){J=_J1(J);super(J,G);this.options=J,this.initializeScopes(),this.plugins=X,this.filename=J.sourceFilename}getScopeHandler(){return j9}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 xJ1(J,G){var X;if(((X=G)==null?void 0:X.sourceType)==="unambiguous"){G=Object.assign({},G);try{G.sourceType="module";let H=U5(G,J),V=H.parse();if(H.sawUnambiguousESM)return V;if(H.ambiguousScriptDifferentAst)try{return G.sourceType="script",U5(G,J).parse()}catch(Z){}else V.program.sourceType="script";return V}catch(H){try{return G.sourceType="script",U5(G,J).parse()}catch(V){}throw H}}else return U5(G,J).parse()}function mJ1(J,G){let X=U5(G,J);if(X.options.strictMode)X.state.strict=!0;return X.getExpression()}function cJ1(J){let G={};for(let X of Object.keys(J))G[X]=N2(J[X]);return G}var lJ1=cJ1(h81);function U5(J,G){let X=s8,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||{})}vJ1(H),X=iJ1(H)}return new X(J,G,H)}var yV=new Map;function iJ1(J){let G=[];for(let V of gJ1)if(J.has(V))G.push(V);let X=G.join("|"),H=yV.get(X);if(!H){H=s8;for(let V of G)H=$Z[V](H);yV.set(X,H)}return H}FZ.parse=xJ1;FZ.parseExpression=mJ1;FZ.tokTypes=lJ1});var t8=C((jZ)=>{Object.defineProperty(jZ,"__esModule",{value:!0});jZ.Var=jZ.User=jZ.Statement=jZ.SpreadProperty=jZ.Scope=jZ.RestProperty=jZ.ReferencedMemberExpression=jZ.ReferencedIdentifier=jZ.Referenced=jZ.Pure=jZ.NumericLiteralTypeAnnotation=jZ.Generated=jZ.ForAwaitStatement=jZ.Flow=jZ.Expression=jZ.ExistentialTypeParam=jZ.BlockScoped=jZ.BindingIdentifier=void 0;var gq1=jZ.ReferencedIdentifier=["Identifier","JSXIdentifier"],_q1=jZ.ReferencedMemberExpression=["MemberExpression"],uq1=jZ.BindingIdentifier=["Identifier"],hq1=jZ.Statement=["Statement"],yq1=jZ.Expression=["Expression"],xq1=jZ.Scope=["Scopable","Pattern"],mq1=jZ.Referenced=null,cq1=jZ.BlockScoped=null,lq1=jZ.Var=["VariableDeclaration"],iq1=jZ.User=null,aq1=jZ.Generated=null,pq1=jZ.Pure=null,rq1=jZ.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],dq1=jZ.RestProperty=["RestElement"],sq1=jZ.SpreadProperty=["RestElement"],tq1=jZ.ExistentialTypeParam=["ExistsTypeAnnotation"],nq1=jZ.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],oq1=jZ.ForAwaitStatement=["ForOfStatement"]});var CZ=C((JF1,AZ)=>{var P0=1000,f0=P0*60,N0=f0*60,X0=N0*24,UG1=X0*7,BG1=X0*365.25;AZ.exports=function(J,G){G=G||{};var X=typeof J;if(X==="string"&&J.length>0)return RG1(J);else if(X==="number"&&isFinite(J))return G.long?MG1(J):$G1(J);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(J))};function RG1(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*BG1;case"weeks":case"week":case"w":return X*UG1;case"days":case"day":case"d":return X*X0;case"hours":case"hour":case"hrs":case"hr":case"h":return X*N0;case"minutes":case"minute":case"mins":case"min":case"m":return X*f0;case"seconds":case"second":case"secs":case"sec":case"s":return X*P0;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return X;default:return}}function $G1(J){var G=Math.abs(J);if(G>=X0)return Math.round(J/X0)+"d";if(G>=N0)return Math.round(J/N0)+"h";if(G>=f0)return Math.round(J/f0)+"m";if(G>=P0)return Math.round(J/P0)+"s";return J+"ms"}function MG1(J){var G=Math.abs(J);if(G>=X0)return A9(J,G,X0,"day");if(G>=N0)return A9(J,G,N0,"hour");if(G>=f0)return A9(J,G,f0,"minute");if(G>=P0)return A9(J,G,P0,"second");return J+" ms"}function A9(J,G,X,H){var V=G>=X*1.5;return Math.round(J/X)+" "+H+(V?"s":"")}});var n8=C((GF1,DZ)=>{function qG1(J){X.debug=X,X.default=X,X.coerce=W,X.disable=Z,X.enable=V,X.enabled=Q,X.humanize=CZ(),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}DZ.exports=qG1});var IZ=C((SZ,D9)=>{SZ.formatArgs=jG1;SZ.save=OG1;SZ.load=AG1;SZ.useColors=FG1;SZ.storage=CG1();SZ.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`.")}})();SZ.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 FG1(){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 jG1(J){if(J[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+J[0]+(this.useColors?"%c ":" ")+"+"+D9.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)}SZ.log=console.debug||console.log||(()=>{});function OG1(J){try{if(J)SZ.storage.setItem("debug",J);else SZ.storage.removeItem("debug")}catch(G){}}function AG1(){let J;try{J=SZ.storage.getItem("debug")}catch(G){}if(!J&&typeof process!=="undefined"&&"env"in process)J=process.env.DEBUG;return J}function CG1(){try{return localStorage}catch(J){}}D9.exports=n8()(SZ);var{formatters:DG1}=D9.exports;DG1.j=function(J){try{return JSON.stringify(J)}catch(G){return"[UnexpectedJSONParseError]: "+G.message}}});var fZ={};nW(fZ,{default:()=>gG1,createSupportsColor:()=>o8});import e8 from"process";import LG1 from"os";import PZ from"tty";function Z2(J,G=globalThis.Deno?globalThis.Deno.args:e8.argv){let X=J.startsWith("-")?"":J.length===1?"-":"--",H=G.indexOf(X+J),V=G.indexOf("--");return H!==-1&&(V===-1||H<V)}function kG1(){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 bG1(J){if(J===0)return!1;return{level:J,hasBasic:!0,has256:J>=2,has16m:J>=3}}function EG1(J,{streamIsTTY:G,sniffFlags:X=!0}={}){let H=kG1();if(H!==void 0)S9=H;let V=X?S9: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(e8.platform==="win32"){let Q=LG1.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 o8(J,G={}){let X=EG1(J,{streamIsTTY:J&&J.isTTY,...G});return bG1(X)}var N1,S9,vG1,gG1;var NZ=oW(()=>{({env:N1}=e8);if(Z2("no-color")||Z2("no-colors")||Z2("color=false")||Z2("color=never"))S9=0;else if(Z2("color")||Z2("colors")||Z2("color=true")||Z2("color=always"))S9=1;vG1={stdout:o8({isTTY:PZ.isatty(1)}),stderr:o8({isTTY:PZ.isatty(2)})},gG1=vG1});var kZ=C((wZ,P9)=>{var _G1=import.meta.require("tty"),I9=import.meta.require("util");wZ.init=lG1;wZ.log=xG1;wZ.formatArgs=hG1;wZ.save=mG1;wZ.load=cG1;wZ.useColors=uG1;wZ.destroy=I9.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");wZ.colors=[6,2,3,4,5,1];try{let J=(NZ(),tW(fZ));if(J&&(J.stderr||J).level>=2)wZ.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){}wZ.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 uG1(){return"colors"in wZ.inspectOpts?Boolean(wZ.inspectOpts.colors):_G1.isatty(process.stderr.fd)}function hG1(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+"+P9.exports.humanize(this.diff)+"\x1B[0m")}else J[0]=yG1()+G+" "+J[0]}function yG1(){if(wZ.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function xG1(...J){return process.stderr.write(I9.formatWithOptions(wZ.inspectOpts,...J)+"\n")}function mG1(J){if(J)process.env.DEBUG=J;else delete process.env.DEBUG}function cG1(){return process.env.DEBUG}function lG1(J){J.inspectOpts={};let G=Object.keys(wZ.inspectOpts);for(let X=0;X<G.length;X++)J.inspectOpts[G[X]]=wZ.inspectOpts[G[X]]}P9.exports=n8()(wZ);var{formatters:TZ}=P9.exports;TZ.o=function(J){return this.inspectOpts.colors=this.useColors,I9.inspect(J,this.inspectOpts).split("\n").map((G)=>G.trim()).join(" ")};TZ.O=function(J){return this.inspectOpts.colors=this.useColors,I9.inspect(J,this.inspectOpts)}});var bZ=C((YF1,JJ)=>{if(typeof process==="undefined"||process.type==="renderer"||!1||process.__nwjs)JJ.exports=IZ();else JJ.exports=kZ()});var XJ=C((gZ)=>{Object.defineProperty(gZ,"__esModule",{value:!0});gZ.isBindingIdentifier=OX1;gZ.isBlockScoped=IX1;gZ.isExpression=CX1;gZ.isFlow=wX1;gZ.isForAwaitStatement=bX1;gZ.isGenerated=NX1;gZ.isPure=TX1;gZ.isReferenced=SX1;gZ.isReferencedIdentifier=FX1;gZ.isReferencedMemberExpression=jX1;gZ.isRestProperty=LX1;gZ.isScope=DX1;gZ.isSpreadProperty=kX1;gZ.isStatement=AX1;gZ.isUser=fX1;gZ.isVar=PX1;var nG1=W1(),{isBinding:oG1,isBlockScoped:eG1,isExportDeclaration:JX1,isExpression:GX1,isFlow:XX1,isForStatement:HX1,isForXStatement:VX1,isIdentifier:EZ,isImportDeclaration:ZX1,isImportSpecifier:QX1,isJSXIdentifier:YX1,isJSXMemberExpression:WX1,isMemberExpression:zX1,isRestElement:vZ,isReferenced:GJ,isScope:KX1,isStatement:UX1,isVar:BX1,isVariableDeclaration:RX1,react:$X1,isForOfStatement:MX1}=nG1,{isCompatTag:qX1}=$X1;function FX1(J){let{node:G,parent:X}=this;if(!EZ(G,J)&&!WX1(X,J))if(YX1(G,J)){if(qX1(G.name))return!1}else return!1;return GJ(G,X,this.parentPath.parent)}function jX1(){let{node:J,parent:G}=this;return zX1(J)&&GJ(J,G)}function OX1(){let{node:J,parent:G}=this,X=this.parentPath.parent;return EZ(J)&&oG1(J,G,X)}function AX1(){let{node:J,parent:G}=this;if(UX1(J)){if(RX1(J)){if(VX1(G,{left:J}))return!1;if(HX1(G,{init:J}))return!1}return!0}else return!1}function CX1(){if(this.isIdentifier())return this.isReferencedIdentifier();else return GX1(this.node)}function DX1(){return KX1(this.node,this.parent)}function SX1(){return GJ(this.node,this.parent)}function IX1(){return eG1(this.node)}function PX1(){return BX1(this.node)}function fX1(){return this.node&&!!this.node.loc}function NX1(){return!this.isUser()}function TX1(J){return this.scope.isPure(this.node,J)}function wX1(){let{node:J}=this;if(XX1(J))return!0;else if(ZX1(J))return J.importKind==="type"||J.importKind==="typeof";else if(JX1(J))return J.exportKind==="type";else if(QX1(J))return J.importKind==="type"||J.importKind==="typeof";else return!1}function LX1(){var J;return vZ(this.node)&&((J=this.parentPath)==null?void 0:J.isObjectPattern())}function kX1(){var J;return vZ(this.node)&&((J=this.parentPath)==null?void 0:J.isObjectExpression())}function bX1(){return MX1(this.node,{await:!0})}gZ.isExistentialTypeParam=function J(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},gZ.isNumericLiteralTypeAnnotation=function J(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var O5=C((sZ)=>{Object.defineProperty(sZ,"__esModule",{value:!0});sZ.environmentVisitor=X61;sZ.explode=pZ;sZ.isExplodedVisitor=aZ;sZ.merge=dZ;sZ.verify=rZ;var iZ=t8(),sX1=XJ(),tX1=W1(),_Z=O2(),{DEPRECATED_KEYS:uZ,DEPRECATED_ALIASES:hZ,FLIPPED_ALIAS_KEYS:yZ,TYPES:nX1,__internal__deprecationWarning:xZ}=tX1;function oX1(J){return J in iZ}function aZ(J){return J==null?void 0:J._exploded}function pZ(J){if(aZ(J))return J;J._exploded=!0;for(let G of Object.keys(J)){if(V0(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}rZ(J),delete J.__esModule,eX1(J),lZ(J);for(let G of Object.keys(J)){if(V0(G))continue;if(!oX1(G))continue;let X=J[G];for(let V of Object.keys(X))X[V]=J61(G,X[V]);delete J[G];let H=iZ[G];if(H!==null)for(let V of H)if(J[V])j5(J[V],X);else J[V]=X;else j5(J,X)}for(let G of Object.keys(J)){if(V0(G))continue;let X=yZ[G];if(G in uZ){let V=uZ[G];xZ(G,V,"Visitor "),X=[V]}else if(G in hZ){let V=hZ[G];xZ(G,V,"Visitor "),X=yZ[V]}if(!X)continue;let H=J[G];delete J[G];for(let V of X){let Z=J[V];if(Z)j5(Z,H);else J[V]=Object.assign({},H)}}for(let G of Object.keys(J)){if(V0(G))continue;lZ(J[G])}return J}function rZ(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")mZ(G,J[G]);if(V0(G))continue;if(!nX1.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.7`);let X=J[G];if(typeof X==="object")for(let H of Object.keys(X))if(H==="enter"||H==="exit")mZ(`${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 mZ(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 dZ(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=pZ(J[V]),Q=G[V],Y=Z;if(Q||X)Y=cZ(Y,Q,X);j5(H,Y);for(let W of Object.keys(Z)){if(V0(W))continue;let z=Z[W];if(Q||X)z=cZ(z,Q,X);let U=H[W]||(H[W]={});j5(U,z)}}return H}function cZ(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 eX1(J){for(let G of Object.keys(J)){if(V0(G))continue;let X=J[G];if(typeof X==="function")J[G]={enter:X}}}function lZ(J){if(J.enter&&!Array.isArray(J.enter))J.enter=[J.enter];if(J.exit&&!Array.isArray(J.exit))J.exit=[J.exit]}function J61(J,G){let X=`is${J}`,H=sX1[X],V=function(Z){if(H.call(Z))return G.apply(this,arguments)};return V.toString=()=>G.toString(),V}function V0(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 j5(J,G){for(let X of["enter","exit"]){if(!G[X])continue;J[X]=[].concat(J[X]||[],G[X])}}var G61={FunctionParent(J){if(J.isArrowFunctionExpression())return;if(J.skip(),J.isMethod())if(!J.requeueComputedKeyAndDecorators)_Z.requeueComputedKeyAndDecorators.call(J);else J.requeueComputedKeyAndDecorators()},Property(J){if(J.isObjectProperty())return;if(J.skip(),!J.requeueComputedKeyAndDecorators)_Z.requeueComputedKeyAndDecorators.call(J);else J.requeueComputedKeyAndDecorators()}};function X61(J){return dZ([G61,J])}});var eZ=C((nZ)=>{Object.defineProperty(nZ,"__esModule",{value:!0});nZ.default=void 0;var f9=W1(),W61=f9,z61=N9(),K61=O5(),U61=O2(),{getAssignmentIdentifiers:B61}=W61,R61={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)U61.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()?B61(J.node):J.getOuterBindingIdentifiers();for(let H in X)if(H===G.oldName)X[H].name=G.newName}};class tZ{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(f9.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(f9.isMethod(Q)){if(Q.computed)Y.key=!0;if(!f9.isObjectMethod(Q))Y.decorators=!0}if(z61.traverseNode(Q,K61.explode(R61),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)}}nZ.default=tZ});var H3=C((G3)=>{Object.defineProperty(G3,"__esModule",{value:!0});G3.default=void 0;class J3{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")&&$61(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}}G3.default=J3;function $61(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 V3=C(($F1,M61)=>{M61.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 Z0=C((Y3)=>{Object.defineProperty(Y3,"__esModule",{value:!0});Y3.clear=F61;Y3.clearPath=Z3;Y3.clearScope=Q3;Y3.getCachedPaths=j61;Y3.getOrCreateCachedPaths=O61;Y3.scope=Y3.path=void 0;var T9=Y3.path=new WeakMap,q61=Y3.scope=new WeakMap;function F61(){Z3(),Q3()}function Z3(){Y3.path=T9=new WeakMap}function Q3(){Y3.scope=q61=new WeakMap}var HJ=Object.freeze({});function j61(J,G){var X,H;return J=null,(X=T9.get((H=J)!=null?H:HJ))==null?void 0:X.get(G)}function O61(J,G){var X,H;J=null;let V=T9.get((X=J)!=null?X:HJ);if(!V)T9.set((H=J)!=null?H:HJ,V=new WeakMap);let Z=V.get(G);if(!Z)V.set(G,Z=new Map);return Z}});var WJ=C((D3)=>{Object.defineProperty(D3,"__esModule",{value:!0});D3.default=void 0;var P61=eZ(),f61=A5(),N61=H3(),T61=V3(),F3=W1(),w61=F3,z3=Z0(),L61=O5(),{NOT_LOCAL_BINDING:K3,assignmentExpression:k61,callExpression:U3,cloneNode:B3,getBindingIdentifiers:j3,identifier:Y0,isArrayExpression:O3,isBinary:b61,isCallExpression:R3,isClass:E61,isClassBody:v61,isClassDeclaration:g61,isExportAllDeclaration:A3,isExportDefaultDeclaration:_61,isExportNamedDeclaration:ZJ,isFunctionDeclaration:u61,isIdentifier:Q0,isImportDeclaration:QJ,isLiteral:h61,isMemberExpression:y61,isMethod:x61,isModuleSpecifier:m61,isNullLiteral:c61,isObjectExpression:l61,isProperty:i61,isPureish:a61,isRegExpLiteral:p61,isSuper:r61,isTaggedTemplateExpression:d61,isTemplateLiteral:C3,isThisExpression:$3,isUnaryExpression:s61,isVariableDeclaration:t61,expressionStatement:n61,matchesPattern:M3,memberExpression:YJ,numericLiteral:o61,toIdentifier:e61,variableDeclaration:J71,variableDeclarator:G71,isRecordExpression:X71,isTupleExpression:H71,isObjectProperty:V71,isTopicReference:q3,isMetaProperty:Z71,isPrivateName:Q71,isExportDeclaration:Y71,buildUndefinedNode:W71,sequenceExpression:z71}=F3;function I1(J,G){switch(J==null?void 0:J.type){default:if(QJ(J)||Y71(J)){var X;if((A3(J)||ZJ(J)||QJ(J))&&J.source)I1(J.source,G);else if((ZJ(J)||QJ(J))&&(X=J.specifiers)!=null&&X.length)for(let H of J.specifiers)I1(H,G);else if((_61(J)||ZJ(J))&&J.declaration)I1(J.declaration,G)}else if(m61(J))I1(J.local,G);else if(h61(J)&&!c61(J)&&!p61(J)&&!C3(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 w9={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(A3(G))return;let H=G.declaration;if(g61(H)||u61(H)){let V=H.id;if(!V)return;let Z=X.getBinding(V.name);Z==null||Z.reference(J)}else if(t61(H))for(let V of H.declarations)for(let Z of Object.keys(j3(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[K3])J.scope.registerBinding("local",J.get("id"),J)},ClassExpression(J){if(J.node.id&&!J.node.id[K3])J.scope.registerBinding("local",J.get("id"),J)},TSTypeAnnotation(J){J.skip()}},K71=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=z3.scope.get(G);if((X==null?void 0:X.path)===J)return X;z3.scope.set(G,this),this.uid=K71++,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}),B3(G)}generateUidIdentifier(J){return Y0(this.generateUid(J))}generateUid(J="temp"){J=e61(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 Y0(this.generateUidBasedOnNode(J,G))}isStatic(J){if($3(J)||r61(J)||q3(J))return!0;if(Q0(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}),B3(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 P61.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 W71()}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 N61.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(Q0(J)){let Z=this.getBinding(J.name);if(!Z)return!1;if(G)return Z.constant;return!0}else if($3(J)||Z71(J)||q3(J)||Q71(J))return!0;else if(E61(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(v61(J)){for(let Z of J.body)if(!this.isPure(Z,G))return!1;return!0}else if(b61(J))return this.isPure(J.left,G)&&this.isPure(J.right,G);else if(O3(J)||H71(J)){for(let Z of J.elements)if(Z!==null&&!this.isPure(Z,G))return!1;return!0}else if(l61(J)||X71(J)){for(let Z of J.properties)if(!this.isPure(Z,G))return!1;return!0}else if(x61(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(i61(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(V71(J)||J.static){if(J.value!==null&&!this.isPure(J.value,G))return!1}return!0}else if(s61(J))return this.isPure(J.argument,G);else if(C3(J)){for(let Z of J.expressions)if(!this.isPure(Z,G))return!1;return!0}else if(d61(J))return M3(J.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(J.quasi,G);else if(y61(J))return!J.computed&&Q0(J.object)&&J.object.name==="Symbol"&&Q0(J.property)&&J.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0});else if(R3(J))return M3(J.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&J.arguments.length===1&&w61.isStringLiteral(J.arguments[0]);else return a61(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"&&L61.isExplodedVisitor(w9)){for(let V of w9.enter)V.call(X,J,X);let H=w9[J.type];if(H)for(let V of H.enter)V.call(X,J,X)}J.traverse(w9,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&&R3(G.parent,{callee:G.node})&&G.parent.arguments.length<=G.node.params.length&&Q0(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=J71(V,[]);if(F._blockHoist=Q,[W]=G.unshiftContainer("body",[F]),!H)G.setData(Y,W)}let z=G71(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(k61("=",U.id,U.init));let F=Object.keys(j3(U,!1,!0,!0));for(let A of F)J(Y0(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]:z71(z);if(Y.parentPath.isForStatement({init:Q}))Y.replaceWith(U);else Y.replaceWith(n61(U))}}}}D3.default=Q2;Q2.globals=Object.keys(T61.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){f61.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(Q0(G)){let Q=this.getBinding(G.name);if(Q!=null&&Q.constant&&Q.path.isGenericType("Array"))return G}if(O3(G))return G;if(Q0(G,{name:"arguments"}))return U3(YJ(YJ(YJ(Y0("Array"),Y0("prototype")),Y0("slice")),Y0("call")),[G]);let V,Z=[G];if(X===!0)V="toConsumableArray";else if(typeof X==="number")Z.push(o61(X)),V="slicedToArray";else V="toArray";if(H)Z.unshift(this.path.hub.addHelper(V)),V="maybeArrayLike";return U3(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 P3=C((I3)=>{Object.defineProperty(I3,"__esModule",{value:!0});I3.find=$71;I3.findParent=R71;I3.getAncestry=O71;I3.getDeepestCommonAncestorFrom=j71;I3.getEarliestCommonAncestorFrom=F71;I3.getFunctionParent=M71;I3.getStatementParent=q71;I3.inType=D71;I3.isAncestor=A71;I3.isDescendant=C71;var U71=W1(),{VISITOR_KEYS:B71}=U71;function R71(J){let G=this;while(G=G.parentPath)if(J(G))return G;return null}function $71(J){let G=this;do if(J(G))return G;while(G=G.parentPath);return null}function M71(){return this.findParent((J)=>J.isFunction())}function q71(){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 F71(J){return this.getDeepestCommonAncestorFrom(J,function(G,X,H){let V,Z=B71[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 j71(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 O71(){let J=this,G=[];do G.push(J);while(J=J.parentPath);return G}function A71(J){return J.isDescendant(this)}function C71(J){return!!this.findParent((G)=>G===J)}function D71(...J){let G=this;while(G){for(let X of J)if(G.node.type===X)return!0;G=G.parentPath}return!1}});var zJ=C((T3)=>{Object.defineProperty(T3,"__esModule",{value:!0});T3.createUnionType=u71;var E71=W1(),{createFlowUnionType:f3,createTSUnionType:N3,createUnionTypeAnnotation:v71,isFlowType:g71,isTSType:_71}=E71;function u71(J){if(J.every((G)=>g71(G))){if(f3)return f3(J);return v71(J)}else if(J.every((G)=>_71(G))){if(N3)return N3(J)}}});var v3=C((E3)=>{Object.defineProperty(E3,"__esModule",{value:!0});E3.default=l71;var y71=W1(),L3=zJ(),{BOOLEAN_NUMBER_BINARY_OPERATORS:x71,createTypeAnnotationBasedOnTypeof:m71,numberTypeAnnotation:k3,voidTypeAnnotation:c71}=y71;function l71(J){if(!this.isReferenced())return;let G=this.scope.getBinding(J.name);if(G)if(G.identifier.typeAnnotation)return G.identifier.typeAnnotation;else return i71(G,this,J.name);if(J.name==="undefined")return c71();else if(J.name==="NaN"||J.name==="Infinity")return k3();else if(J.name==="arguments");}function i71(J,G,X){let H=[],V=[],Z=w3(J,G,V),Q=b3(J,G,X);if(Q){let Y=w3(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 L3.createUnionType(H)}function w3(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 a71(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(x71.includes(X))return k3();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 m71(W)}function p71(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 b3(J,G,X){let H=p71(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=a71(X,W);if(z)Q.push(z)}}if(Q.length)return{typeAnnotation:L3.createUnionType(Q),ifStatement:H};return b3(J,H,X)}});var c3=C((BJ)=>{Object.defineProperty(BJ,"__esModule",{value:!0});BJ.ArrayExpression=y3;BJ.AssignmentExpression=qH1;BJ.BinaryExpression=UH1;BJ.BooleanLiteral=AH1;BJ.CallExpression=wH1;BJ.ConditionalExpression=RH1;BJ.ClassDeclaration=BJ.ClassExpression=BJ.FunctionDeclaration=BJ.ArrowFunctionExpression=BJ.FunctionExpression=IH1;Object.defineProperty(BJ,"Identifier",{enumerable:!0,get:function(){return s71.default}});BJ.LogicalExpression=BH1;BJ.NewExpression=WH1;BJ.NullLiteral=CH1;BJ.NumericLiteral=OH1;BJ.ObjectExpression=SH1;BJ.ParenthesizedExpression=MH1;BJ.RegExpLiteral=DH1;BJ.RestElement=x3;BJ.SequenceExpression=$H1;BJ.StringLiteral=jH1;BJ.TSAsExpression=h3;BJ.TSNonNullExpression=YH1;BJ.TaggedTemplateExpression=LH1;BJ.TemplateLiteral=zH1;BJ.TypeCastExpression=u3;BJ.UnaryExpression=KH1;BJ.UpdateExpression=FH1;BJ.VariableDeclarator=QH1;var d71=W1(),s71=v3(),_3=zJ(),{BOOLEAN_BINARY_OPERATORS:t71,BOOLEAN_UNARY_OPERATORS:n71,NUMBER_BINARY_OPERATORS:o71,NUMBER_UNARY_OPERATORS:e71,STRING_UNARY_OPERATORS:JH1,anyTypeAnnotation:g3,arrayTypeAnnotation:KJ,booleanTypeAnnotation:UJ,buildMatchMemberExpression:L9,genericTypeAnnotation:a2,identifier:W0,nullLiteralTypeAnnotation:GH1,numberTypeAnnotation:T0,stringTypeAnnotation:z0,tupleTypeAnnotation:XH1,unionTypeAnnotation:HH1,voidTypeAnnotation:VH1,isIdentifier:ZH1}=d71;function QH1(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function u3(J){return J.typeAnnotation}u3.validParent=!0;function h3(J){return J.typeAnnotation}h3.validParent=!0;function YH1(){return this.get("expression").getTypeAnnotation()}function WH1(J){if(J.callee.type==="Identifier")return a2(J.callee)}function zH1(){return z0()}function KH1(J){let G=J.operator;if(G==="void")return VH1();else if(e71.includes(G))return T0();else if(JH1.includes(G))return z0();else if(n71.includes(G))return UJ()}function UH1(J){let G=J.operator;if(o71.includes(G))return T0();else if(t71.includes(G))return UJ();else if(G==="+"){let X=this.get("right"),H=this.get("left");if(H.isBaseType("number")&&X.isBaseType("number"))return T0();else if(H.isBaseType("string")||X.isBaseType("string"))return z0();return HH1([z0(),T0()])}}function BH1(){let J=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return _3.createUnionType(J)}function RH1(){let J=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return _3.createUnionType(J)}function $H1(){return this.get("expressions").pop().getTypeAnnotation()}function MH1(){return this.get("expression").getTypeAnnotation()}function qH1(){return this.get("right").getTypeAnnotation()}function FH1(J){let G=J.operator;if(G==="++"||G==="--")return T0()}function jH1(){return z0()}function OH1(){return T0()}function AH1(){return UJ()}function CH1(){return GH1()}function DH1(){return a2(W0("RegExp"))}function SH1(){return a2(W0("Object"))}function y3(){return a2(W0("Array"))}function x3(){return y3()}x3.validParent=!0;function IH1(){return a2(W0("Function"))}var PH1=L9("Array.from"),fH1=L9("Object.keys"),NH1=L9("Object.values"),TH1=L9("Object.entries");function wH1(){let{callee:J}=this.node;if(fH1(J))return KJ(z0());else if(PH1(J)||NH1(J)||ZH1(J,{name:"Array"}))return KJ(g3());else if(TH1(J))return KJ(XH1([z0(),g3()]));return m3(this.get("callee"))}function LH1(){return m3(this.get("tag"))}function m3(J){if(J=J.resolve(),J.isFunction()){let{node:G}=J;if(G.async)if(G.generator)return a2(W0("AsyncIterator"));else return a2(W0("Promise"));else if(G.generator)return a2(W0("Iterator"));else if(J.node.returnType)return J.node.returnType}}});var d3=C((r3)=>{Object.defineProperty(r3,"__esModule",{value:!0});r3._getTypeAnnotation=p3;r3.baseTypeStrictlyMatches=SV1;r3.couldBeBaseType=DV1;r3.getTypeAnnotation=AV1;r3.isBaseType=CV1;r3.isGenericType=IV1;var l3=c3(),XV1=W1(),{anyTypeAnnotation:a3,isAnyTypeAnnotation:k9,isArrayTypeAnnotation:HV1,isBooleanTypeAnnotation:VV1,isEmptyTypeAnnotation:ZV1,isFlowBaseAnnotation:QV1,isGenericTypeAnnotation:YV1,isIdentifier:i3,isMixedTypeAnnotation:WV1,isNumberTypeAnnotation:zV1,isStringTypeAnnotation:KV1,isTSArrayType:UV1,isTSTypeAnnotation:BV1,isTSTypeReference:RV1,isTupleTypeAnnotation:$V1,isTypeAnnotation:MV1,isUnionTypeAnnotation:qV1,isVoidTypeAnnotation:FV1,stringTypeAnnotation:jV1,voidTypeAnnotation:OV1}=XV1;function AV1(){let J=this.getData("typeAnnotation");if(J!=null)return J;if(J=p3.call(this)||a3(),MV1(J)||BV1(J))J=J.typeAnnotation;return this.setData("typeAnnotation",J),J}var RJ=new WeakSet;function p3(){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 jV1();if(X.key==="left"&&H.isForOfStatement())return a3();return OV1()}else return;if(J.typeAnnotation)return J.typeAnnotation;if(RJ.has(J))return;RJ.add(J);try{var G;let X=l3[J.type];if(X)return X.call(this,J);if(X=l3[this.parentPath.type],(G=X)!=null&&G.validParent)return this.parentPath.getTypeAnnotation()}finally{RJ.delete(J)}}function CV1(J,G){return $J(J,this.getTypeAnnotation(),G)}function $J(J,G,X){if(J==="string")return KV1(G);else if(J==="number")return zV1(G);else if(J==="boolean")return VV1(G);else if(J==="any")return k9(G);else if(J==="mixed")return WV1(G);else if(J==="empty")return ZV1(G);else if(J==="void")return FV1(G);else if(X)return!1;else throw new Error(`Unknown base type ${J}`)}function DV1(J){let G=this.getTypeAnnotation();if(k9(G))return!0;if(qV1(G)){for(let X of G.types)if(k9(X)||$J(J,X,!0))return!0;return!1}else return $J(J,G,!0)}function SV1(J){let G=this.getTypeAnnotation(),X=J.getTypeAnnotation();if(!k9(G)&&QV1(G))return X.type===G.type;return!1}function IV1(J){let G=this.getTypeAnnotation();if(J==="Array"){if(UV1(G)||HV1(G)||$V1(G))return!0}return YV1(G)&&i3(G.id,{name:J})||RV1(G)&&i3(G.typeName,{name:J})}});var t3=C((s3)=>{Object.defineProperty(s3,"__esModule",{value:!0});s3.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;s3.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 qJ=C((NF1,MJ)=>{var n3=process.argv||[],b9=process.env,EV1=!(("NO_COLOR"in b9)||n3.includes("--no-color"))&&(("FORCE_COLOR"in b9)||n3.includes("--color")||process.platform==="win32"||import.meta.require!=null&&import.meta.require("tty").isatty(1)&&b9.TERM!=="dumb"||("CI"in b9)),vV1=(J,G,X=J)=>(H)=>{let V=""+H,Z=V.indexOf(G,J.length);return~Z?J+gV1(V,G,X,Z)+G:J+V+G},gV1=(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)},o3=(J=EV1)=>{let G=J?vV1:()=>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")}};MJ.exports=o3();MJ.exports.createColors=o3});var JQ=C((TF1,e3)=>{var _V1=/[|\\{}()[\]^$+*?.]/g;e3.exports=function(J){if(typeof J!=="string")throw new TypeError("Expected a string");return J.replace(_V1,"\\$&")}});var XQ=C((wF1,GQ)=>{GQ.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 FJ=C((LF1,QQ)=>{var K0=XQ(),ZQ={};for(E9 in K0)if(K0.hasOwnProperty(E9))ZQ[K0[E9]]=E9;var E9,r=QQ.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(p1 in r)if(r.hasOwnProperty(p1)){if(!("channels"in r[p1]))throw new Error("missing channels property: "+p1);if(!("labels"in r[p1]))throw new Error("missing channel labels property: "+p1);if(r[p1].labels.length!==r[p1].channels)throw new Error("channel and label counts mismatch: "+p1);HQ=r[p1].channels,VQ=r[p1].labels,delete r[p1].channels,delete r[p1].labels,Object.defineProperty(r[p1],"channels",{value:HQ}),Object.defineProperty(r[p1],"labels",{value:VQ})}var HQ,VQ,p1;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 uV1(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=ZQ[J];if(G)return G;var X=1/0,H;for(var V in K0)if(K0.hasOwnProperty(V)){var Z=K0[V],Q=uV1(J,Z);if(Q<X)X=Q,H=V}return H};r.keyword.rgb=function(J){return K0[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 WQ=C((kF1,YQ)=>{var v9=FJ();function hV1(){var J={},G=Object.keys(v9);for(var X=G.length,H=0;H<X;H++)J[G[H]]={distance:-1,parent:null};return J}function yV1(J){var G=hV1(),X=[J];G[J].distance=0;while(X.length){var H=X.pop(),V=Object.keys(v9[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 xV1(J,G){return function(X){return G(J(X))}}function mV1(J,G){var X=[G[J].parent,J],H=v9[G[J].parent][J],V=G[J].parent;while(G[V].parent)X.unshift(G[V].parent),H=xV1(v9[G[V].parent][V],H),V=G[V].parent;return H.conversion=X,H}YQ.exports=function(J){var G=yV1(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]=mV1(Q,G)}return X}});var KQ=C((bF1,zQ)=>{var jJ=FJ(),cV1=WQ(),w0={},lV1=Object.keys(jJ);function iV1(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 aV1(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}lV1.forEach(function(J){w0[J]={},Object.defineProperty(w0[J],"channels",{value:jJ[J].channels}),Object.defineProperty(w0[J],"labels",{value:jJ[J].labels});var G=cV1(J),X=Object.keys(G);X.forEach(function(H){var V=G[H];w0[J][H]=aV1(V),w0[J][H].raw=iV1(V)})});zQ.exports=w0});var BQ=C((EF1,UQ)=>{var L0=KQ(),g9=(J,G)=>function(){return`\x1B[${J.apply(L0,arguments)+G}m`},_9=(J,G)=>function(){let X=J.apply(L0,arguments);return`\x1B[${38+G};5;${X}m`},u9=(J,G)=>function(){let X=J.apply(L0,arguments);return`\x1B[${38+G};2;${X[0]};${X[1]};${X[2]}m`};function pV1(){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:g9(X,0)},G.color.ansi256={ansi256:_9(X,0)},G.color.ansi16m={rgb:u9(H,0)},G.bgColor.ansi={ansi:g9(X,10)},G.bgColor.ansi256={ansi256:_9(X,10)},G.bgColor.ansi16m={rgb:u9(H,10)};for(let V of Object.keys(L0)){if(typeof L0[V]!=="object")continue;let Z=L0[V];if(V==="ansi16")V="ansi";if("ansi16"in Z)G.color.ansi[V]=g9(Z.ansi16,0),G.bgColor.ansi[V]=g9(Z.ansi16,10);if("ansi256"in Z)G.color.ansi256[V]=_9(Z.ansi256,0),G.bgColor.ansi256[V]=_9(Z.ansi256,10);if("rgb"in Z)G.color.ansi16m[V]=u9(Z.rgb,0),G.bgColor.ansi16m[V]=u9(Z.rgb,10)}return G}Object.defineProperty(UQ,"exports",{enumerable:!0,get:pV1})});var $Q=C((vF1,RQ)=>{RQ.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 qQ=C((gF1,MQ)=>{var rV1=import.meta.require("os"),B2=$Q(),y1=process.env,k0;if(B2("no-color")||B2("no-colors")||B2("color=false"))k0=!1;else if(B2("color")||B2("colors")||B2("color=true")||B2("color=always"))k0=!0;if("FORCE_COLOR"in y1)k0=y1.FORCE_COLOR.length===0||parseInt(y1.FORCE_COLOR,10)!==0;function dV1(J){if(J===0)return!1;return{level:J,hasBasic:!0,has256:J>=2,has16m:J>=3}}function sV1(J){if(k0===!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&&k0!==!0)return 0;let G=k0?1:0;if(process.platform==="win32"){let X=rV1.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 y1){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((X)=>(X in y1))||y1.CI_NAME==="codeship")return 1;return G}if("TEAMCITY_VERSION"in y1)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(y1.TEAMCITY_VERSION)?1:0;if(y1.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in y1){let X=parseInt((y1.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(y1.TERM_PROGRAM){case"iTerm.app":return X>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(y1.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(y1.TERM))return 1;if("COLORTERM"in y1)return 1;if(y1.TERM==="dumb")return G;return G}function OJ(J){let G=sV1(J);return dV1(G)}MQ.exports={supportsColor:OJ,stdout:OJ(process.stdout),stderr:OJ(process.stderr)}});var CQ=C((_F1,AQ)=>{var tV1=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,FQ=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,nV1=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,oV1=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,eV1=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function OQ(J){if(J[0]==="u"&&J.length===5||J[0]==="x"&&J.length===3)return String.fromCharCode(parseInt(J.slice(1),16));return eV1.get(J)||J}function JZ1(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(nV1))X.push(V[2].replace(oV1,(Q,Y,W)=>Y?OQ(Y):W));else throw new Error(`Invalid Chalk template style argument: ${Z} (in style '${J}')`);return X}function GZ1(J){FQ.lastIndex=0;let G=[],X;while((X=FQ.exec(J))!==null){let H=X[1];if(X[2]){let V=JZ1(H,X[2]);G.push([H].concat(V))}else G.push([H])}return G}function jQ(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}AQ.exports=(J,G)=>{let X=[],H=[],V=[];if(G.replace(tV1,(Z,Q,Y,W,z,U)=>{if(Q)V.push(OQ(Q));else if(W){let F=V.join("");V=[],H.push(X.length===0?F:jQ(J,X)(F)),X.push({inverse:Y,styles:GZ1(W)})}else if(z){if(X.length===0)throw new Error("Found extraneous } in Chalk template literal");H.push(jQ(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 fQ=C((uF1,D5)=>{var CJ=JQ(),v1=BQ(),AJ=qQ().stdout,XZ1=CQ(),SQ=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),IQ=["ansi","ansi","ansi256","ansi16m"],PQ=new Set(["gray"]),b0=Object.create(null);function DQ(J,G){G=G||{};let X=AJ?AJ.level:0;J.level=G.level===void 0?X:G.level,J.enabled="enabled"in G?G.enabled:J.level>0}function C5(J){if(!this||!(this instanceof C5)||this.template){let G={};return DQ(G,J),G.template=function(){let X=[].slice.call(arguments);return ZZ1.apply(null,[G.template].concat(X))},Object.setPrototypeOf(G,C5.prototype),Object.setPrototypeOf(G.template,G),G.template.constructor=C5,G.template}DQ(this,J)}if(SQ)v1.blue.open="\x1B[94m";for(let J of Object.keys(v1))v1[J].closeRe=new RegExp(CJ(v1[J].close),"g"),b0[J]={get(){let G=v1[J];return h9.call(this,this._styles?this._styles.concat(G):[G],this._empty,J)}};b0.visible={get(){return h9.call(this,this._styles||[],!0,"visible")}};v1.color.closeRe=new RegExp(CJ(v1.color.close),"g");for(let J of Object.keys(v1.color.ansi)){if(PQ.has(J))continue;b0[J]={get(){let G=this.level;return function(){let H={open:v1.color[IQ[G]][J].apply(null,arguments),close:v1.color.close,closeRe:v1.color.closeRe};return h9.call(this,this._styles?this._styles.concat(H):[H],this._empty,J)}}}}v1.bgColor.closeRe=new RegExp(CJ(v1.bgColor.close),"g");for(let J of Object.keys(v1.bgColor.ansi)){if(PQ.has(J))continue;let G="bg"+J[0].toUpperCase()+J.slice(1);b0[G]={get(){let X=this.level;return function(){let V={open:v1.bgColor[IQ[X]][J].apply(null,arguments),close:v1.bgColor.close,closeRe:v1.bgColor.closeRe};return h9.call(this,this._styles?this._styles.concat(V):[V],this._empty,J)}}}}var HZ1=Object.defineProperties(()=>{},b0);function h9(J,G,X){let H=function(){return VZ1.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__=HZ1,H}function VZ1(){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(SQ&&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 ZZ1(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 XZ1(J,H.join(""))}Object.defineProperties(C5.prototype,b0);D5.exports=C5();D5.exports.supportsColor=AJ;D5.exports.default=D5.exports});var gQ=C((vQ)=>{Object.defineProperty(vQ,"__esModule",{value:!0});vQ.default=RZ1;vQ.shouldHighlight=EQ;var NQ=t3(),TQ=s0(),SJ=QZ1(qJ(),!0);function LQ(J){if(typeof WeakMap!="function")return null;var G=new WeakMap,X=new WeakMap;return(LQ=function(H){return H?X:G})(J)}function QZ1(J,G){if(!G&&J&&J.__esModule)return J;if(J===null||typeof J!="object"&&typeof J!="function")return{default:J};var X=LQ(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 kQ=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?SJ.createColors(!1):SJ.default,wQ=(J,G)=>(X)=>J(G(X)),YZ1=new Set(["as","async","from","get","of","set"]);function WZ1(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:wQ(wQ(J.white,J.bgRed),J.bold)}}var zZ1=/\r\n|[\n\r\u2028\u2029]/,KZ1=/^[()[\]{}]$/,bQ;{let J=/^[a-z][\w-]*$/i,G=function(X,H,V){if(X.type==="name"){if(TQ.isKeyword(X.value)||TQ.isStrictReservedWord(X.value,!0)||YZ1.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"&&KZ1.test(X.value))return"bracket";if(X.type==="invalid"&&(X.value==="@"||X.value==="#"))return"punctuator";return X.type};bQ=function*(X){let H;while(H=NQ.default.exec(X)){let V=NQ.matchToToken(H);yield{type:G(V,H.index,X),value:V.value}}}}function UZ1(J,G){let X="";for(let{type:H,value:V}of bQ(G)){let Z=J[H];if(Z)X+=V.split(zZ1).map((Q)=>Z(Q)).join("\n");else X+=V}return X}function EQ(J){return kQ.isColorSupported||J.forceColor}var DJ=void 0;function BZ1(J){if(J){var G;return(G=DJ)!=null||(DJ=SJ.createColors(!0)),DJ}return kQ}function RZ1(J,G={}){if(J!==""&&EQ(G)){let X=WZ1(BZ1(G.forceColor));return UZ1(X,J)}else return J}{let J,G;vQ.getChalk=({forceColor:X})=>{var H;if((H=J)!=null||(J=fQ()),X){var V;return(V=G)!=null||(G=new J.constructor({enabled:!0,level:1})),G}return J}}});var fJ=C((cQ)=>{Object.defineProperty(cQ,"__esModule",{value:!0});cQ.codeFrameColumns=mQ;cQ.default=CZ1;var _Q=gQ(),PJ=qZ1(qJ(),!0);function xQ(J){if(typeof WeakMap!="function")return null;var G=new WeakMap,X=new WeakMap;return(xQ=function(H){return H?X:G})(J)}function qZ1(J,G){if(!G&&J&&J.__esModule)return J;if(J===null||typeof J!="object"&&typeof J!="function")return{default:J};var X=xQ(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 FZ1=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?PJ.createColors(!1):PJ.default,uQ=(J,G)=>(X)=>J(G(X)),IJ=void 0;function jZ1(J){if(J){var G;return(G=IJ)!=null||(IJ=PJ.createColors(!0)),IJ}return FZ1}var hQ=!1;function OZ1(J){return{gutter:J.gray,marker:uQ(J.red,J.bold),message:uQ(J.red,J.bold)}}var yQ=/\r\n|[\n\r\u2028\u2029]/;function AZ1(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 mQ(J,G,X={}){let H=(X.highlightCode||X.forceColor)&&_Q.shouldHighlight(X),V=jZ1(X.forceColor),Z=OZ1(V),Q=(_,f)=>{return H?_(f):f},Y=J.split(yQ),{start:W,end:z,markerLines:U}=AZ1(G,Y,X),F=G.start&&typeof G.start.column==="number",A=String(z).length,I=(H?_Q.default(J,X):J).split(yQ,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 CZ1(J,G,X,H={}){if(!hQ){hQ=!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),mQ(J,{start:{column:X,line:G}},H)}});var rQ=C((aQ)=>{Object.defineProperty(aQ,"__esModule",{value:!0});aQ.default=void 0;var lQ=W1(),IZ1=lQ,{react:PZ1}=lQ,{cloneNode:fZ1,jsxExpressionContainer:NZ1,variableDeclaration:TZ1,variableDeclarator:wZ1}=IZ1,LZ1={ReferencedIdentifier(J,G){if(J.isJSXIdentifier()&&PZ1.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 iQ{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(LZ1,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=wZ1(G,this.path.node),H=this.attachAfter?"insertAfter":"insertBefore",[V]=J[H]([J.isVariableDeclarator()?X:TZ1("var",[X])]),Z=this.path.parentPath;if(Z.isJSXElement()&&this.path.container===Z.node.children)G=NZ1(G);return this.path.replaceWith(fZ1(G)),J.isVariableDeclarator()?V.get("init"):V.get("declarations.0.init")}}aQ.default=iQ});var tQ=C((dQ)=>{Object.defineProperty(dQ,"__esModule",{value:!0});dQ.hooks=void 0;var cF1=dQ.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 y9=C((XY)=>{Object.defineProperty(XY,"__esModule",{value:!0});XY._assertUnremoved=GY;XY._callRemovalHooks=eQ;XY._markRemoved=NJ;XY._remove=JY;XY._removeFromScope=oQ;XY.remove=hZ1;var kZ1=tQ(),bZ1=Z0(),EZ1=TJ(),nQ=p2(),vZ1=W1(),gZ1=x9(),_Z1=O2(),{getBindingIdentifiers:uZ1}=vZ1;function hZ1(){var J;if(GY.call(this),_Z1.resync.call(this),eQ.call(this)){NJ.call(this);return}if(!((J=this.opts)!=null&&J.noScope))oQ.call(this);this.shareCommentsWithSiblings(),JY.call(this),NJ.call(this)}function oQ(){let J=uZ1(this.node,!1,!1,!0);Object.keys(J).forEach((G)=>this.scope.removeBinding(G))}function eQ(){if(this.parentPath){for(let J of kZ1.hooks)if(J(this,this.parentPath))return!0}}function JY(){if(Array.isArray(this.container))this.container.splice(this.key,1),gZ1.updateSiblingKeys.call(this,this.key,-1);else EZ1._replaceWith.call(this,null)}function NJ(){if(this._traverseFlags|=nQ.SHOULD_SKIP|nQ.REMOVED,this.parent)bZ1.getCachedPaths(this.hub,this.parent).delete(this.node);this.node=null}function GY(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var x9=C((zY)=>{Object.defineProperty(zY,"__esModule",{value:!0});zY._containerInsert=EJ;zY._containerInsertAfter=ZY;zY._containerInsertBefore=vJ;zY._verifyNodeList=S5;zY.insertAfter=Y31;zY.insertBefore=Z31;zY.pushContainer=z31;zY.unshiftContainer=W31;zY.updateSiblingKeys=WY;var aZ1=Z0(),pZ1=rQ(),bJ=p2(),wJ=O2(),m9=y9(),rZ1=W1(),{arrowFunctionExpression:dZ1,assertExpression:sZ1,assignmentExpression:tZ1,blockStatement:HY,callExpression:nZ1,cloneNode:LJ,expressionStatement:kJ,isAssignmentExpression:oZ1,isCallExpression:eZ1,isExportNamedDeclaration:VY,isExpression:J31,isIdentifier:G31,isSequenceExpression:X31,isSuper:H31,thisExpression:V31}=rZ1;function Z31(J){m9._assertUnremoved.call(this);let G=S5.call(this,J),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||VY(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 vJ.call(this,G);else if(this.isStatementOrBlock()){let V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(HY(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 EJ(J,G){WY.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)wJ.pushContext.call(Y,this.context)}let V=wJ._getQueueContexts.call(this);for(let Z of X){wJ.setScope.call(Z),Z.debug("Inserted.");for(let Q of V)Q.maybeQueue(Z,!0)}return X}function vJ(J){return EJ.call(this,this.key,J)}function ZY(J){return EJ.call(this,this.key+1,J)}var QY=(J)=>J[J.length-1];function YY(J){return X31(J.parent)&&(QY(J.parent.expressions)!==J.node||YY(J.parentPath))}function Q31(J,G){if(!oZ1(J)||!G31(J.left))return!1;let X=G.getBlockParent();return X.hasOwnBinding(J.left.name)&&X.getOwnBinding(J.left.name).constantViolations.length<=1}function Y31(J){if(m9._assertUnremoved.call(this),this.isSequenceExpression())return QY(this.get("expressions")).insertAfter(J);let G=S5.call(this,J),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||VY(H)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertAfter(G.map((V)=>{return J31(V)?kJ(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 sZ1(Z),V.replaceWith(nZ1(dZ1([],Z),[])),V.get("callee.body").insertAfter(G),[V];if(YY(V))G.unshift(Z);else if(eZ1(Z)&&H31(Z.callee))G.unshift(Z),G.push(V31());else if(Q31(Z,Q))G.unshift(Z),G.push(LJ(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(kJ(tZ1("=",LJ(Y),Z))),G.push(kJ(LJ(Y)))}}return this.replaceExpressionWithStatements(G)}else if(Array.isArray(this.container))return ZY.call(this,G);else if(this.isStatementOrBlock()){let V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(HY(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 WY(J,G){if(!this.parent)return;let X=aZ1.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 S5(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 bJ.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 W31(J,G){m9._assertUnremoved.call(this),G=S5.call(this,G);let X=bJ.default.get({parentPath:this,parent:this.node,container:this.node[J],listKey:J,key:0}).setContext(this.context);return vJ.call(X,G)}function z31(J,G){m9._assertUnremoved.call(this);let X=S5.call(this,G),H=this.node[J];return bJ.default.get({parentPath:this,parent:this.node,container:H,listKey:J,key:H.length}).setContext(this.context).replaceWithMultiple(X)}zY.hoist=function J(G=this.scope){return new pZ1.default(this,G).run()}});var TJ=C((jY)=>{Object.defineProperty(jY,"__esModule",{value:!0});jY._replaceWith=FY;jY.replaceExpressionWithStatements=p31;jY.replaceInline=r31;jY.replaceWith=a31;jY.replaceWithMultiple=l31;jY.replaceWithSourceString=i31;var O31=fJ(),_J=A5(),A31=p2(),$Y=Z0(),uJ=x9(),C31=O9(),D31=W1(),E0=O2(),{FUNCTION_TYPES:KY,arrowFunctionExpression:S31,assignmentExpression:MY,awaitExpression:I31,blockStatement:P31,buildUndefinedNode:gJ,callExpression:f31,cloneNode:hJ,conditionalExpression:N31,expressionStatement:T31,getBindingIdentifiers:w31,identifier:L31,inheritLeadingComments:k31,inheritTrailingComments:b31,inheritsComments:E31,isBlockStatement:v31,isEmptyStatement:UY,isExpression:qY,isExpressionStatement:g31,isIfStatement:_31,isProgram:u31,isStatement:h31,isVariableDeclaration:y31,removeComments:x31,returnStatement:BY,sequenceExpression:m31,validate:RY,yieldExpression:c31}=D31;function l31(J){var G;E0.resync.call(this),J=uJ._verifyNodeList.call(this,J),k31(J[0],this.node),b31(J[J.length-1],this.node),(G=$Y.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 i31(J){E0.resync.call(this);let G;try{J=`(${J})`,G=C31.parse(J)}catch(H){let V=H.loc;if(V)H.message+=" - make sure this is an expression.\n"+O31.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 _J.default.removeProperties(X),this.replaceWith(X)}function a31(J){if(E0.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let G=J instanceof A31.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()&&!u31(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")&&qY(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G)&&!this.parentPath.isExportDefaultDeclaration())G=T31(G),X="expression"}if(this.isNodeType("Expression")&&h31(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G))return this.replaceExpressionWithStatements([G])}let H=this.node;if(H)E31(G,H),x31(H);return FY.call(this,G),this.type=G.type,E0.setScope.call(this),this.requeue(),[X?this.get(X):this]}function FY(J){var G;if(!this.container)throw new ReferenceError("Container is falsy");if(this.inList)RY(this.parent,this.key,[J]);else RY(this.parent,this.key,J);this.debug(`Replace with ${J==null?void 0:J.type}`),(G=$Y.getCachedPaths(this.hub,this.parent))==null||G.set(J,this).delete(this.node),this.node=this.container[this.key]=J}function p31(J){E0.resync.call(this);let G=[],X=c9(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=S31([],P31(J));this.replaceWith(f31(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",BY(hJ(I))),D.setData("expressionReplacementReturnUid",I);else I=L31(I.name);A.get("expression").replaceWith(MY("=",hJ(I),A.node.expression))}else A.replaceWith(BY(A.node.expression))}Y.arrowFunctionToExpression();let z=Y,U=V&&_J.default.hasType(this.get("callee.body").node,"AwaitExpression",KY),F=Z&&_J.default.hasType(this.get("callee.body").node,"YieldExpression",KY);if(U){if(z.set("async",!0),!F)this.replaceWith(I31(this.node))}if(F)z.set("generator",!0),this.replaceWith(c31(this.node,!0));return z.get("body.body")}function c9(J,G){let X=[],H=!0;for(let V of J){if(!UY(V))H=!1;if(qY(V))X.push(V);else if(g31(V))X.push(V.expression);else if(y31(V)){if(V.kind!=="var")return;for(let Z of V.declarations){let Q=w31(Z);for(let Y of Object.keys(Q))G.push(hJ(Q[Y]));if(Z.init)X.push(MY("=",Z.id,Z.init))}H=!0}else if(_31(V)){let Z=V.consequent?c9([V.consequent],G):gJ(),Q=V.alternate?c9([V.alternate],G):gJ();if(!Z||!Q)return;X.push(N31(V.test,Z,Q))}else if(v31(V)){let Z=c9(V.body,G);if(!Z)return;X.push(Z)}else if(UY(V)){if(J.indexOf(V)===0)H=!0}else return}if(H)X.push(gJ());if(X.length===1)return X[0];else return m31(X)}function r31(J){if(E0.resync.call(this),Array.isArray(J))if(Array.isArray(this.container)){J=uJ._verifyNodeList.call(this,J);let G=uJ._containerInsertAfter.call(this,J);return this.remove(),G}else return this.replaceWithMultiple(J);else return this.replaceWith(J)}});var SY=C((DY)=>{Object.defineProperty(DY,"__esModule",{value:!0});DY.evaluate=YQ1;DY.evaluateTruthy=ZQ1;var JQ1=["Number","String","Math"],GQ1=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],XQ1=["random"];function OY(J){return JQ1.includes(J)}function HQ1(J){return GQ1.includes(J)}function VQ1(J){return XQ1.includes(J)}function ZQ1(){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 AY=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function r1(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=QQ1(J,G);if(G.confident)V.resolved=!0,V.value=Z;return Z}}function QQ1(J,G){if(!G.confident)return;if(J.isSequenceExpression()){let X=J.get("expressions");return r1(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 CY(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 CY(J,J.node.quasi.quasis,G,!0)}if(J.isConditionalExpression()){let X=r1(J.get("test"),G);if(!G.confident)return;if(X)return r1(J.get("consequent"),G);else return r1(J.get("alternate"),G)}if(J.isExpressionWrapper())return r1(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=r1(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(AY.has(H)){if(!X)return AY.get(H);v2(X.path,G);return}let V=J.resolve();if(V===J){v2(J,G);return}else return r1(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=r1(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=r1(J.get("left"),G),V=G.confident;G.confident=X;let Z=r1(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=r1(J.get("left"),G);if(!G.confident)return;let H=r1(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)&&(OY(X.node.name)||HQ1(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()&&OY(Z.node.name)&&!VQ1(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)=>r1(Q,G));if(!G.confident)return;return V.apply(H,Z)}}v2(J,G)}function CY(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(r1(W,X))}if(!X.confident)return;return V}function YQ1(){let J={confident:!0,deoptPath:null,seen:new Map},G=r1(this,J);if(!J.confident)G=void 0;return{confident:J.confident,deopt:J.deoptPath,value:G}}});var fY=C((IY)=>{Object.defineProperty(IY,"__esModule",{value:!0});IY.statements=IY.statement=IY.smart=IY.program=IY.expression=void 0;var KQ1=W1(),{assertExpressionStatement:UQ1}=KQ1;function yJ(J){return{code:(G)=>`/* @babel/template */;\n${G}`,validate:()=>{},unwrap:(G)=>{return J(G.program.body.slice(1))}}}var sF1=IY.smart=yJ((J)=>{if(J.length>1)return J;else return J[0]}),tF1=IY.statements=yJ((J)=>J),nF1=IY.statement=yJ((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]}),BQ1=IY.expression={code:(J)=>`(\n${J}\n)`,validate:(J)=>{if(J.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(BQ1.unwrap(J).start===0)throw new Error("Parse result included parens.")},unwrap:({program:J})=>{let[G]=J.body;return UQ1(G),G.expression}},oF1=IY.program={code:(J)=>J,validate:()=>{},unwrap:(J)=>J.program}});var l9=C((NY)=>{Object.defineProperty(NY,"__esModule",{value:!0});NY.merge=OQ1;NY.normalizeReplacements=CQ1;NY.validate=AQ1;var FQ1=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function jQ1(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 OQ1(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 AQ1(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=jQ1(G,FQ1);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 CQ1(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 xJ=C((wY)=>{Object.defineProperty(wY,"__esModule",{value:!0});wY.default=hQ1;var PQ1=W1(),fQ1=O9(),NQ1=fJ(),{isCallExpression:TQ1,isExpressionStatement:wQ1,isFunction:LQ1,isIdentifier:kQ1,isJSXIdentifier:bQ1,isNewExpression:EQ1,isPlaceholder:i9,isStatement:vQ1,isStringLiteral:TY,removePropertiesDeep:gQ1,traverse:_Q1}=PQ1,uQ1=/^[_$A-Z0-9]+$/;function hQ1(J,G,X){let{placeholderWhitelist:H,placeholderPattern:V,preserveComments:Z,syntacticPlaceholders:Q}=X,Y=mQ1(G,X.parser,Q);gQ1(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 _Q1(Y,yQ1,W),Object.assign({ast:Y},W.syntactic.placeholders.length?W.syntactic:W.legacy)}function yQ1(J,G,X){var H;let V,Z=X.syntactic.placeholders.length>0;if(i9(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(kQ1(J)||bQ1(J))V=J.name;else if(TY(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||uQ1).test(V))&&!((H=X.placeholderWhitelist)!=null&&H.has(V)))return;G=G.slice();let{node:Q,key:Y}=G[G.length-1],W;if(TY(J)||i9(J,{expectedNode:"StringLiteral"}))W="string";else if(EQ1(Q)&&Y==="arguments"||TQ1(Q)&&Y==="arguments"||LQ1(Q)&&Y==="params")W="param";else if(wQ1(Q)&&!i9(J))W="statement",G=G.slice(0,-1);else if(vQ1(J)&&i9(J))W="statement";else W="other";let{placeholders:z,placeholderNames:U}=!Z?X.legacy:X.syntactic;z.push({name:V,type:W,resolve:(F)=>xQ1(F,G),isDuplicate:U.has(V)}),U.add(V)}function xQ1(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 mQ1(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 fQ1.parse(J,G)}catch(V){let Z=V.loc;if(Z)V.message+="\n"+NQ1.codeFrameColumns(J,{start:Z}),V.code="BABEL_TEMPLATE_PARSE_ERROR";throw V}}});var lJ=C((bY)=>{Object.defineProperty(bY,"__esModule",{value:!0});bY.default=dQ1;var lQ1=W1(),{blockStatement:iQ1,cloneNode:cJ,emptyStatement:aQ1,expressionStatement:mJ,identifier:a9,isStatement:LY,isStringLiteral:pQ1,stringLiteral:rQ1,validate:kY}=lQ1;function dQ1(J,G){let X=cJ(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
8
8
  placeholder you may want to consider passing one of the following options to @babel/template:
9
9
  - { 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{sQ1(H,X,G&&G[H.name]||null)}catch(V){throw V.message=`@babel/template placeholder "${H.name}": ${V.message}`,V}}),X}function sQ1(J,G,X){if(J.isDuplicate){if(Array.isArray(X))X=X.map((Y)=>cJ(Y));else if(typeof X==="object")X=cJ(X)}const{parent:H,key:V,index:Z}=J.resolve(G);if(J.type==="string"){if(typeof X==="string")X=rQ1(X);if(!X||!pQ1(X))throw new Error("Expected string substitution")}else if(J.type==="statement"){if(Z===void 0){if(!X)X=aQ1();else if(Array.isArray(X))X=iQ1(X);else if(typeof X==="string")X=mJ(a9(X));else if(!LY(X))X=mJ(X)}else if(X&&!Array.isArray(X)){if(typeof X==="string")X=a9(X);if(!LY(X))X=mJ(X)}}else if(J.type==="param"){if(typeof X==="string")X=a9(X);if(Z===void 0)throw new Error("Assertion failure.")}else{if(typeof X==="string")X=a9(X);if(Array.isArray(X))throw new Error("Cannot replace single expression with an array.")}function Q(Y,W,z){const U=Y[W];if(Y[W]=z,U.type==="Identifier"){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)kY(H,V,X),Q(H,V,X);else{const 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);kY(H,V,Y),H[V]=Y}}Object.defineProperty(bY,"__esModule",{value:!0});bY.default=dQ1;var lQ1=W1(),{blockStatement:iQ1,cloneNode:cJ,emptyStatement:aQ1,expressionStatement:mJ,identifier:a9,isStatement:LY,isStringLiteral:pQ1,stringLiteral:rQ1,validate:kY}=lQ1});var vY=C((EY)=>{function JY1(J,G,X){G=J.code(G);let H;return(V)=>{const Z=nQ1.normalizeReplacements(V);if(!H)H=oQ1.default(J,G,X);return J.unwrap(eQ1.default(H,Z))}}Object.defineProperty(EY,"__esModule",{value:!0});EY.default=JY1;var nQ1=l9(),oQ1=xJ(),eQ1=lJ()});var _Y=C((gY)=>{function ZY1(J,G,X){const{metadata:H,names:V}=QY1(J,G,X);return(Z)=>{const Q={};return Z.forEach((Y,W)=>{Q[V[W]]=Y}),(Y)=>{const W=XY1.normalizeReplacements(Y);if(W)Object.keys(W).forEach((z)=>{if(hasOwnProperty.call(Q,z))throw new Error("Unexpected replacement overlap.")});return J.unwrap(VY1.default(H,W?Object.assign(W,Q):Q))}}}function QY1(J,G,X){let H="BABEL_TPL$";const V=G.join("");do H="$$"+H;while(V.includes(H));const{names:Z,code:Q}=YY1(G,H);return{metadata:HY1.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 YY1(J,G){const X=[];let H=J[0];for(let V=1;V<J.length;V++){const Z=`${G}${V-1}`;X.push(Z),H+=Z+J[V]}return{names:X,code:H}}Object.defineProperty(gY,"__esModule",{value:!0});gY.default=ZY1;var XY1=l9(),HY1=xJ(),VY1=lJ()});var lY=C((cY)=>{function mY(J,G){const 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 xY(uY.default(J,Z,A2.merge(V,A2.validate(Q[0]))))}else if(Array.isArray(Z)){let Y=X.get(Z);if(!Y)Y=hY.default(J,Z,V),X.set(Z,Y);return xY(Y(Q))}else if(typeof Z==="object"&&Z){if(Q.length>0)throw new Error("Unexpected extra params.");return mY(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 uY.default(J,Z,A2.merge(A2.merge(V,A2.validate(Q[0])),yY))()}else if(Array.isArray(Z)){let Y=H.get(Z);if(!Y)Y=hY.default(J,Z,A2.merge(V,yY)),H.set(Z,Y);return Y(Q)()}throw new Error(`Unexpected template param ${typeof Z}`)}})}function xY(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}}}Object.defineProperty(cY,"__esModule",{value:!0});cY.default=mY;var A2=l9(),uY=vY(),hY=_Y(),yY=A2.validate({placeholderPattern:!1})});var pY=C((iY)=>{Object.defineProperty(iY,"__esModule",{value:!0});iY.statements=iY.statement=iY.smart=iY.program=iY.expression=iY.default=void 0;var I5=fY(),P5=lY(),iJ=iY.smart=P5.default(I5.smart),KY1=iY.statement=P5.default(I5.statement),UY1=iY.statements=P5.default(I5.statements),BY1=iY.expression=P5.default(I5.expression),RY1=iY.program=P5.default(I5.program),Qj1=iY.default=Object.assign(iJ.bind(void 0),{smart:iJ,statement:KY1,statements:UY1,expression:BY1,program:RY1,ast:iJ.ast})});var GW=C((JW)=>{function iY1(){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(IY1(J))J=tY(J.name)}return J}function aY1(){const 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;const X=[];let 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(bY1(J.node));else V="expression",X.push(sY(J.node));this.node.body=DY1(X);const Q=this.get(H);return CY1.setup.call(J,Q,Z?Q.node[Z]:Q.node,Z,V),this.node}function pY1(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");oY(this)}function rY1(J,G){J.node.type=G}function dY1({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}const{thisBinding:Z,fnPath:Q}=oY(H,X,J,G);if(Q.ensureBlock(),rY1(Q,"FunctionExpression"),!X){const Y=Z?null:Q.scope.generateUidIdentifier("arrowCheckId");if(Y)Q.parentPath.scope.push({id:Y,init:LY1([])});return Q.get("body").unshiftContainer("body",sY(v0(this.hub.addHelper("newArrowCheck"),[f5(),Y?A1(Y.name):A1(Z)]))),Q.replaceWith(v0(R2(Q.node,A1("bind")),[Y?A1(Y.name):f5()])),Q.get("callee.object")}return Q}function oY(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})});const Q=Z.isClassMethod({kind:"constructor"});if(Z.isClassProperty()||Z.isClassPrivateProperty())if(V)Z=V;else if(X)J.replaceWith(v0(dJ([],nY(J.node)),[])),Z=J.get("callee"),J=Z.get("body");else throw J.buildCodeFrameError("Unable to transform arrow inside class property");const{thisPaths:Y,argumentsPaths:W,newTargetPaths:z,superProps:U,superCalls:F}=HW1(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.");const D=[];Z.traverse(sY1,{allSuperCalls:D});const I=JW1(Z);D.forEach((_)=>{const f=A1(I);f.loc=_.node.callee.loc,_.get("callee").replaceWith(f)})}if(W.length>0){const D=N5(Z,"arguments",()=>{const I=()=>A1("arguments");if(Z.scope.path.isProgram())return SY1(aJ("===",gY1("typeof",I()),tY("undefined")),Z.scope.buildUndefinedNode(),I());else return I()});W.forEach((I)=>{const _=A1(D);_.loc=I.node.loc,I.replaceWith(_)})}if(z.length>0){const D=N5(Z,"newtarget",()=>TY1(A1("new"),A1("target")));z.forEach((I)=>{const _=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(nY1(_)),[]).forEach((I)=>{const _=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=GW1(Z,w,_),Y1=[];if(I.node.computed)Y1.push(I.get("property").node);if(w){const T1=f.node.right;Y1.push(T1)}const $1=v0(A1(d),Y1);if(k)f.unshiftContainer("arguments",f5()),I.replaceWith(R2($1,A1("call"))),Y.push(f.get("arguments.0"));else if(w)f.replaceWith($1);else if(Q1)I.replaceWith(v0(R2($1,A1("bind"),!1),[f5()])),Y.push(I.get("arguments.0"));else I.replaceWith($1)})}let A;if(Y.length>0||!G){if(A=eY1(Z,Q),G||Q&&eY(Z)){if(Y.forEach((D)=>{const I=D.isJSX()?PY1(A):A1(A);I.loc=D.node.loc,D.replaceWith(I)}),!G)A=null}}return{thisBinding:A,fnPath:J}}function tY1(J){return NY1.includes(J)}function nY1(J){if(J.parentPath.isAssignmentExpression()&&J.parentPath.node.operator!=="="){const X=J.parentPath,H=X.node.operator.slice(0,-1),V=X.node.right,Z=tY1(H);if(J.node.computed){const Q=J.scope.generateDeclaredUidIdentifier("tmp"),Y=J.node.object,W=J.node.property;X.get("left").replaceWith(R2(Y,U0("=",Q,W),!0)),X.get("right").replaceWith(G(Z?"=":H,R2(Y,A1(Q.name),!0),V))}else{const 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(fY1(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()){const X=J.parentPath,H=J.scope.generateDeclaredUidIdentifier("tmp"),V=J.node.computed?J.scope.generateDeclaredUidIdentifier("prop"):null,Z=[U0("=",H,R2(J.node.object,V?U0("=",V,J.node.property):J.node.property,J.node.computed)),U0("=",R2(J.node.object,V?A1(V.name):J.node.property,J.node.computed),aJ(J.parentPath.node.operator[0],A1(H.name),wY1(1)))];if(!J.parentPath.node.prefix)Z.push(A1(H.name));X.replaceWith(EY1(Z));const 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 U0("=",H,V);else return aJ(X,H,V)}}function eY(J){return J.isClassMethod()&&!!J.parentPath.parentPath.node.superClass}function eY1(J,G){return N5(J,"this",(X)=>{if(!G||!eY(J))return f5();J.traverse(oY1,{supers:new WeakSet,thisBinding:X})})}function JW1(J){return N5(J,"supercall",()=>{const G=J.scope.generateUidIdentifier("args");return dJ([kY1(G)],v0(pJ(),[vY1(A1(G.name))]))})}function GW1(J,G,X){return N5(J,`superprop_${G?"set":"get"}:${X||""}`,()=>{const V=[];let Z;if(X)Z=R2(pJ(),A1(X));else{const Q=J.scope.generateUidIdentifier("prop");V.unshift(Q),Z=R2(pJ(),A1(Q.name),!0)}if(G){const Q=J.scope.generateUidIdentifier("value");V.push(Q),Z=U0("=",Z,A1(Q.name))}return dJ(V,Z)})}function N5(J,G,X){const H="binding:"+G;let V=J.getData(H);if(!V){const Z=J.scope.generateUidIdentifier(G);V=Z.name,J.setData(H,V),J.scope.push({id:Z,init:X(V)})}return V}function HW1(J){const G=[],X=[],H=[],V=[],Z=[];return J.traverse(XW1,{thisPaths:G,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}),{thisPaths:G,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}}function VW1(){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.");const J=this.get("declaration");if(this.isExportDefaultDeclaration()){const V=J.isFunctionDeclaration()||J.isClassDeclaration(),Z=J.isFunctionExpression()||J.isClassExpression(),Q=J.isScope()?J.scope.parent:J.scope;let Y=J.node.id,W=!1;if(!Y){if(W=!0,Y=Q.generateUidIdentifier("default"),V||Z)J.node.id=B0(Y)}else if(Z&&Q.hasBinding(Y.name))W=!0,Y=Q.generateUidIdentifier(Y.name);const z=V?J.node:mY1("var",[cY1(B0(Y),J.node)]),U=rY(null,[dY(B0(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.");const G=J.getOuterBindingIdentifiers(),X=Object.keys(G).map((V)=>{return dY(A1(V),A1(V))}),H=rY(null,X);return this.insertAfter(H),this.replaceWith(J.node),this}function QW1(J){if(this.node.id)return this;const G=xY1(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=_Y1(X.replace(/[/ ]/g,"_"));const H=A1(X);lY1(H,G.originalNode);const 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(ZW1,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(!uY1(this.node))return null;const Y=Z.generateUidIdentifier(H.name),W=[];for(let U=0,F=YW1(this.node);U<F;U++)W.push(Z.generateUidIdentifier("x"));const z=AY1.default.expression.ast`
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{sQ1(H,X,G&&G[H.name]||null)}catch(V){throw V.message=`@babel/template placeholder "${H.name}": ${V.message}`,V}}),X}function sQ1(J,G,X){if(J.isDuplicate){if(Array.isArray(X))X=X.map((Y)=>cJ(Y));else if(typeof X==="object")X=cJ(X)}let{parent:H,key:V,index:Z}=J.resolve(G);if(J.type==="string"){if(typeof X==="string")X=rQ1(X);if(!X||!pQ1(X))throw new Error("Expected string substitution")}else if(J.type==="statement"){if(Z===void 0){if(!X)X=aQ1();else if(Array.isArray(X))X=iQ1(X);else if(typeof X==="string")X=mJ(a9(X));else if(!LY(X))X=mJ(X)}else if(X&&!Array.isArray(X)){if(typeof X==="string")X=a9(X);if(!LY(X))X=mJ(X)}}else if(J.type==="param"){if(typeof X==="string")X=a9(X);if(Z===void 0)throw new Error("Assertion failure.")}else{if(typeof X==="string")X=a9(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"){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)kY(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);kY(H,V,Y),H[V]=Y}}});var vY=C((EY)=>{Object.defineProperty(EY,"__esModule",{value:!0});EY.default=JY1;var nQ1=l9(),oQ1=xJ(),eQ1=lJ();function JY1(J,G,X){G=J.code(G);let H;return(V)=>{let Z=nQ1.normalizeReplacements(V);if(!H)H=oQ1.default(J,G,X);return J.unwrap(eQ1.default(H,Z))}}});var _Y=C((gY)=>{Object.defineProperty(gY,"__esModule",{value:!0});gY.default=ZY1;var XY1=l9(),HY1=xJ(),VY1=lJ();function ZY1(J,G,X){let{metadata:H,names:V}=QY1(J,G,X);return(Z)=>{let Q={};return Z.forEach((Y,W)=>{Q[V[W]]=Y}),(Y)=>{let W=XY1.normalizeReplacements(Y);if(W)Object.keys(W).forEach((z)=>{if(hasOwnProperty.call(Q,z))throw new Error("Unexpected replacement overlap.")});return J.unwrap(VY1.default(H,W?Object.assign(W,Q):Q))}}}function QY1(J,G,X){let H="BABEL_TPL$",V=G.join("");do H="$$"+H;while(V.includes(H));let{names:Z,code:Q}=YY1(G,H);return{metadata:HY1.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 YY1(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 lY=C((cY)=>{Object.defineProperty(cY,"__esModule",{value:!0});cY.default=mY;var A2=l9(),uY=vY(),hY=_Y(),yY=A2.validate({placeholderPattern:!1});function mY(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 xY(uY.default(J,Z,A2.merge(V,A2.validate(Q[0]))))}else if(Array.isArray(Z)){let Y=X.get(Z);if(!Y)Y=hY.default(J,Z,V),X.set(Z,Y);return xY(Y(Q))}else if(typeof Z==="object"&&Z){if(Q.length>0)throw new Error("Unexpected extra params.");return mY(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 uY.default(J,Z,A2.merge(A2.merge(V,A2.validate(Q[0])),yY))()}else if(Array.isArray(Z)){let Y=H.get(Z);if(!Y)Y=hY.default(J,Z,A2.merge(V,yY)),H.set(Z,Y);return Y(Q)()}throw new Error(`Unexpected template param ${typeof Z}`)}})}function xY(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 pY=C((iY)=>{Object.defineProperty(iY,"__esModule",{value:!0});iY.statements=iY.statement=iY.smart=iY.program=iY.expression=iY.default=void 0;var I5=fY(),P5=lY(),iJ=iY.smart=P5.default(I5.smart),KY1=iY.statement=P5.default(I5.statement),UY1=iY.statements=P5.default(I5.statements),BY1=iY.expression=P5.default(I5.expression),RY1=iY.program=P5.default(I5.program),Qj1=iY.default=Object.assign(iJ.bind(void 0),{smart:iJ,statement:KY1,statements:UY1,expression:BY1,program:RY1,ast:iJ.ast})});var GW=C((JW)=>{Object.defineProperty(JW,"__esModule",{value:!0});JW.arrowFunctionToExpression=dY1;JW.ensureBlock=aY1;JW.ensureFunctionName=QW1;JW.splitExportDeclaration=VW1;JW.toComputedKey=iY1;JW.unwrapFunctionEnvironment=pY1;var OY1=W1(),AY1=pY(),rJ=O5(),CY1=O2(),{arrowFunctionExpression:dJ,assignmentExpression:U0,binaryExpression:aJ,blockStatement:DY1,callExpression:v0,conditionalExpression:SY1,expressionStatement:sY,identifier:A1,isIdentifier:IY1,jsxIdentifier:PY1,logicalExpression:fY1,LOGICAL_OPERATORS:NY1,memberExpression:R2,metaProperty:TY1,numericLiteral:wY1,objectExpression:LY1,restElement:kY1,returnStatement:bY1,sequenceExpression:EY1,spreadElement:vY1,stringLiteral:tY,super:pJ,thisExpression:f5,toExpression:nY,unaryExpression:gY1,toBindingIdentifierName:_Y1,isFunction:uY1,isAssignmentPattern:hY1,isRestElement:yY1,getFunctionName:xY1,cloneNode:B0,variableDeclaration:mY1,variableDeclarator:cY1,exportNamedDeclaration:rY,exportSpecifier:dY,inherits:lY1}=OY1;function iY1(){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(IY1(J))J=tY(J.name)}return J}function aY1(){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(bY1(J.node));else V="expression",X.push(sY(J.node));this.node.body=DY1(X);let Q=this.get(H);return CY1.setup.call(J,Q,Z?Q.node[Z]:Q.node,Z,V),this.node}JW.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()};function pY1(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");oY(this)}function rY1(J,G){J.node.type=G}function dY1({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}=oY(H,X,J,G);if(Q.ensureBlock(),rY1(Q,"FunctionExpression"),!X){let Y=Z?null:Q.scope.generateUidIdentifier("arrowCheckId");if(Y)Q.parentPath.scope.push({id:Y,init:LY1([])});return Q.get("body").unshiftContainer("body",sY(v0(this.hub.addHelper("newArrowCheck"),[f5(),Y?A1(Y.name):A1(Z)]))),Q.replaceWith(v0(R2(Q.node,A1("bind")),[Y?A1(Y.name):f5()])),Q.get("callee.object")}return Q}var sY1=rJ.environmentVisitor({CallExpression(J,{allSuperCalls:G}){if(!J.get("callee").isSuper())return;G.push(J)}});function oY(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(v0(dJ([],nY(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}=HW1(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(sY1,{allSuperCalls:D});let I=JW1(Z);D.forEach((_)=>{let f=A1(I);f.loc=_.node.callee.loc,_.get("callee").replaceWith(f)})}if(W.length>0){let D=N5(Z,"arguments",()=>{let I=()=>A1("arguments");if(Z.scope.path.isProgram())return SY1(aJ("===",gY1("typeof",I()),tY("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=N5(Z,"newtarget",()=>TY1(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(nY1(_)),[]).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=GW1(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=v0(A1(d),Y1);if(k)f.unshiftContainer("arguments",f5()),I.replaceWith(R2($1,A1("call"))),Y.push(f.get("arguments.0"));else if(w)f.replaceWith($1);else if(Q1)I.replaceWith(v0(R2($1,A1("bind"),!1),[f5()])),Y.push(I.get("arguments.0"));else I.replaceWith($1)})}let A;if(Y.length>0||!G){if(A=eY1(Z,Q),G||Q&&eY(Z)){if(Y.forEach((D)=>{let I=D.isJSX()?PY1(A):A1(A);I.loc=D.node.loc,D.replaceWith(I)}),!G)A=null}}return{thisBinding:A,fnPath:J}}function tY1(J){return NY1.includes(J)}function nY1(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=tY1(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,U0("=",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(fY1(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=[U0("=",H,R2(J.node.object,V?U0("=",V,J.node.property):J.node.property,J.node.computed)),U0("=",R2(J.node.object,V?A1(V.name):J.node.property,J.node.computed),aJ(J.parentPath.node.operator[0],A1(H.name),wY1(1)))];if(!J.parentPath.node.prefix)Z.push(A1(H.name));X.replaceWith(EY1(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 U0("=",H,V);else return aJ(X,H,V)}}function eY(J){return J.isClassMethod()&&!!J.parentPath.parentPath.node.superClass}var oY1=rJ.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,U0("=",A1(X),A1("this"))])}});function eY1(J,G){return N5(J,"this",(X)=>{if(!G||!eY(J))return f5();J.traverse(oY1,{supers:new WeakSet,thisBinding:X})})}function JW1(J){return N5(J,"supercall",()=>{let G=J.scope.generateUidIdentifier("args");return dJ([kY1(G)],v0(pJ(),[vY1(A1(G.name))]))})}function GW1(J,G,X){return N5(J,`superprop_${G?"set":"get"}:${X||""}`,()=>{let V=[],Z;if(X)Z=R2(pJ(),A1(X));else{let Q=J.scope.generateUidIdentifier("prop");V.unshift(Q),Z=R2(pJ(),A1(Q.name),!0)}if(G){let Q=J.scope.generateUidIdentifier("value");V.push(Q),Z=U0("=",Z,A1(Q.name))}return dJ(V,Z)})}function N5(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 XW1=rJ.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 HW1(J){let G=[],X=[],H=[],V=[],Z=[];return J.traverse(XW1,{thisPaths:G,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}),{thisPaths:G,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}}function VW1(){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=B0(Y)}else if(Z&&Q.hasBinding(Y.name))W=!0,Y=Q.generateUidIdentifier(Y.name);let z=V?J.node:mY1("var",[cY1(B0(Y),J.node)]),U=rY(null,[dY(B0(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 dY(A1(V),A1(V))}),H=rY(null,X);return this.insertAfter(H),this.replaceWith(J.node),this}var ZW1={"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 QW1(J){if(this.node.id)return this;let G=xY1(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=_Y1(X.replace(/[/ ]/g,"_"));let H=A1(X);lY1(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(ZW1,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(!uY1(this.node))return null;let Y=Z.generateUidIdentifier(H.name),W=[];for(let U=0,F=YW1(this.node);U<F;U++)W.push(Z.generateUidIdentifier("x"));let z=AY1.default.expression.ast`
11
11
  (function (${Y}) {
12
12
  function ${H}(${W}) {
13
13
  return ${B0(Y)}.apply(this, arguments);
@@ -19,7 +19,4 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
19
19
 
20
20
  return ${B0(H)};
21
21
  })(${nY(this.node)})
22
- `;return this.replaceWith(z)[0].get("arguments.0")}function YW1(J){const G=J.params.findIndex((X)=>hY1(X)||yY1(X));return G===-1?J.params.length:G}Object.defineProperty(JW,"__esModule",{value:!0});JW.arrowFunctionToExpression=dY1;JW.ensureBlock=aY1;JW.ensureFunctionName=QW1;JW.splitExportDeclaration=VW1;JW.toComputedKey=iY1;JW.unwrapFunctionEnvironment=pY1;var OY1=W1(),AY1=pY(),rJ=O5(),CY1=O2(),{arrowFunctionExpression:dJ,assignmentExpression:U0,binaryExpression:aJ,blockStatement:DY1,callExpression:v0,conditionalExpression:SY1,expressionStatement:sY,identifier:A1,isIdentifier:IY1,jsxIdentifier:PY1,logicalExpression:fY1,LOGICAL_OPERATORS:NY1,memberExpression:R2,metaProperty:TY1,numericLiteral:wY1,objectExpression:LY1,restElement:kY1,returnStatement:bY1,sequenceExpression:EY1,spreadElement:vY1,stringLiteral:tY,super:pJ,thisExpression:f5,toExpression:nY,unaryExpression:gY1,toBindingIdentifierName:_Y1,isFunction:uY1,isAssignmentPattern:hY1,isRestElement:yY1,getFunctionName:xY1,cloneNode:B0,variableDeclaration:mY1,variableDeclarator:cY1,exportNamedDeclaration:rY,exportSpecifier:dY,inherits:lY1}=OY1;JW.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()};var sY1=rJ.environmentVisitor({CallExpression(J,{allSuperCalls:G}){if(!J.get("callee").isSuper())return;G.push(J)}}),oY1=rJ.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,U0("=",A1(X),A1("this"))])}}),XW1=rJ.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)}}),ZW1={"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()}}});var WW=C((YW)=>{function SW1(J,G){return DW1(this.node,J,G)}function IW1(){return this.scope.isStatic(this.node)}function PW1(J){return CW1(this.type,J)}function fW1(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function NW1(J){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return ZW(J);else if(this.isBlockStatement())return FW1(J);return!1}function TW1(J){let G=this,X=!0;do{const{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 wW1(){if(this.parentPath.isLabeledStatement()||ZW(this.container))return!1;else return MW1.includes(this.key)}function LW1(J,G){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===G||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?AW1(this.node.property,{value:G}):this.node.property.name===G)){const Z=this.get("object");return Z.isReferencedIdentifier()&&Z.referencesImport(J,"*")}return!1}const X=this.scope.getBinding(this.node.name);if(!X||X.kind!=="module")return!1;const 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()&&jW1(H.node.imported,{name:G}))return!0;return!1}function kW1(){const J=this.node;if(J.end){const G=this.hub.getCode();if(G)return G.slice(J.start,J.end)}return""}function bW1(J){return this._guessExecutionStatusRelativeTo(J)!=="after"}function XW(J){return J.isProgram()?J:(J.parentPath.scope.getFunctionParent()||J.parentPath.scope.getProgramParent()).path}function EW1(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 HW(J,G){for(let X=0;X<G;X++){const H=J[X];if(EW1(H.parent.type,H.parentKey))return!0}return!1}function vW1(J){return sJ(this,J,new Map)}function sJ(J,G,X){const H={this:XW(J),target:XW(G)};if(H.target.node!==H.this.node)return _W1(J,H.target,X);const V={target:G.getAncestry(),this:J.getAncestry()};if(V.target.includes(J))return"after";if(V.this.includes(G))return"before";let Z;const Q={target:0,this:0};while(!Z&&Q.this<V.this.length){const 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(HW(V.this,Q.this-1)||HW(V.target,Q.target-1))return"unknown";const 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";const W=qW1[Z.type],z={this:W.indexOf(Y.this.parentKey),target:W.indexOf(Y.target.parentKey)};return z.target>z.this?"before":"after"}function gW1(J,G,X){if(!G.isFunctionDeclaration()){if(sJ(J,G,X)==="before")return"before";return"unknown"}else if(G.parentPath.isExportDeclaration())return"unknown";const H=G.scope.getBinding(G.node.id.name);if(!H.references)return"before";const V=H.referencePaths;let Z;for(let Q of V){if(!!Q.find((z)=>z.node===G.node))continue;if(Q.key!=="callee"||!Q.parentPath.isCallExpression())return"unknown";const W=sJ(J,Q,X);if(Z&&Z!==W)return"unknown";else Z=W}return Z}function _W1(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===VW)return"unknown";return V}H.set(G.node,VW);const Z=gW1(J,G,X);return H.set(G.node,Z),Z}function uW1(J,G){return QW.call(this,J,G)||this}function QW(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()){const H=this.scope.getBinding(this.node.name);if(!H)return;if(!H.constant)return;if(H.kind==="module")return;if(H.path!==this){const 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()){const H=this.toComputedKey();if(!OW1(H))return;const V=H.value,Z=this.get("object").resolve(J,G);if(Z.isObjectExpression()){const Q=Z.get("properties");for(let Y of Q){if(!Y.isProperty())continue;const W=Y.get("key");let 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)){const Y=Z.get("elements")[V];if(Y)return Y.resolve(J,G)}}}function hW1(){if(this.isIdentifier()){const 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()){const{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 yW1(){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})}Object.defineProperty(YW,"__esModule",{value:!0});YW._guessExecutionStatusRelativeTo=vW1;YW._resolve=QW;YW.canHaveVariableDeclarationOrExpression=fW1;YW.canSwapBetweenExpressionAndStatement=NW1;YW.getSource=kW1;YW.isCompletionRecord=TW1;YW.isConstantExpression=hW1;YW.isInStrictMode=yW1;YW.isNodeType=PW1;YW.isStatementOrBlock=wW1;YW.isStatic=IW1;YW.matchesPattern=SW1;YW.referencesImport=LW1;YW.resolve=uW1;YW.willIMaybeExecuteBefore=bW1;var $W1=W1(),{STATEMENT_OR_BLOCK_KEYS:MW1,VISITOR_KEYS:qW1,isBlockStatement:ZW,isExpression:FW1,isIdentifier:jW1,isLiteral:OW1,isStringLiteral:AW1,isType:CW1,matchesPattern:DW1}=$W1;YW.has=function J(G){var X;const H=(X=this.node)==null?void 0:X[G];if(H&&Array.isArray(H))return!!H.length;else return!!H};YW.is=YW.has,YW.isnt=function J(G){return!this.has(G)},YW.equals=function J(G,X){return this.node[G]===X};var VW=Symbol()});var $W=C((RW)=>{function Yz1(J){return{type:oJ,path:J}}function Wz1(J){return{type:T5,path:J}}function zz1(){if(this.key==="left")return this.getSibling("right");else if(this.key==="right")return this.getSibling("left");return null}function g0(J,G,X){if(J)G.push(..._0(J,X));return G}function Kz1(J,G,X){let H=[];for(let V=0;V<J.length;V++){const Z=J[V],Q=_0(Z,X),Y=[],W=[];for(let z of Q){if(z.type===oJ)Y.push(z);if(z.type===T5)W.push(z)}if(Y.length)H=Y;G.push(...W)}return G.push(...H),G}function Uz1(J){J.forEach((G)=>{G.type=T5})}function tJ(J,G){J.forEach((X)=>{if(X.path.isBreakStatement({label:null}))if(G)X.path.replaceWith(Qz1("void",Zz1(0)));else X.path.remove()})}function zW(J,G){const X=[];if(G.canHaveBreak){let H=[];for(let V=0;V<J.length;V++){const Z=J[V],Q=Object.assign({},G,{inCaseClause:!1});if(Z.isBlockStatement()&&(G.inCaseClause||G.shouldPopulateBreak))Q.shouldPopulateBreak=!0;else Q.shouldPopulateBreak=!1;const Y=_0(Z,Q);if(Y.length>0&&Y.every((W)=>W.type===T5)){if(H.length>0&&Y.every((W)=>W.path.isBreakStatement({label:null}))){if(Uz1(H),X.push(...H),H.some((W)=>W.path.isDeclaration()))X.push(...Y),tJ(Y,!0);tJ(Y,!1)}else if(X.push(...Y),!G.shouldPopulateBreak)tJ(Y,!0);break}if(V===J.length-1)X.push(...Y);else{H=[];for(let W=0;W<Y.length;W++){const z=Y[W];if(z.type===T5)X.push(z);if(z.type===oJ)H.push(z)}}}}else if(J.length)for(let H=J.length-1;H>=0;H--){const V=_0(J[H],G);if(V.length>1||V.length===1&&!V[0].path.isVariableDeclaration()){X.push(...V);break}}return X}function _0(J,G){let X=[];if(J.isIfStatement())X=g0(J.get("consequent"),X,G),X=g0(J.get("alternate"),X,G);else if(J.isDoExpression()||J.isFor()||J.isWhile()||J.isLabeledStatement())return g0(J.get("body"),X,G);else if(J.isProgram()||J.isBlockStatement())return zW(J.get("body"),G);else if(J.isFunction())return _0(J.get("body"),G);else if(J.isTryStatement())X=g0(J.get("block"),X,G),X=g0(J.get("handler"),X,G);else if(J.isCatchClause())return g0(J.get("body"),X,G);else if(J.isSwitchStatement())return Kz1(J.get("cases"),X,G);else if(J.isSwitchCase())return zW(J.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});else if(J.isBreakStatement())X.push(Wz1(J));else X.push(Yz1(J));return X}function Bz1(){return _0(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((G)=>G.path)}function Rz1(J){return nJ.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:J}).setContext(this.context)}function $z1(){return this.getSibling(this.key-1)}function Mz1(){return this.getSibling(this.key+1)}function qz1(){let J=this.key,G=this.getSibling(++J);const X=[];while(G.node)X.push(G),G=this.getSibling(++J);return X}function Fz1(){let J=this.key,G=this.getSibling(--J);const X=[];while(G.node)X.push(G),G=this.getSibling(--J);return X}function jz1(J,G=!0){if(G===!0)G=this.context;const X=J.split(".");if(X.length===1)return UW.call(this,J,G);else return BW.call(this,X,G)}function UW(J,G){const X=this.node,H=X[J];if(Array.isArray(H))return H.map((V,Z)=>{return nJ.default.get({listKey:J,parentPath:this,parent:X,container:H,key:Z}).setContext(G)});else return nJ.default.get({parentPath:this,parent:X,container:X,key:J}).setContext(G)}function BW(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 Oz1(){return Hz1(this.node)}function Az1(J){return KW(this.node,J)}function Cz1(J){return Vz1(this.node,J)}function Dz1(J=!1,G=!1){const H=[this],V=Object.create(null);while(H.length){const Z=H.shift();if(!Z)continue;if(!Z.node)continue;const Q=KW.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()){const 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++){const W=Q[Y],z=Z.get(W);if(Array.isArray(z))H.push(...z);else if(z.node)H.push(z)}}return V}function Sz1(J=!1){return this.getBindingIdentifierPaths(J,!0)}Object.defineProperty(RW,"__esModule",{value:!0});RW._getKey=UW;RW._getPattern=BW;RW.get=jz1;RW.getAllNextSiblings=qz1;RW.getAllPrevSiblings=Fz1;RW.getAssignmentIdentifiers=Oz1;RW.getBindingIdentifierPaths=Dz1;RW.getBindingIdentifiers=Az1;RW.getCompletionRecords=Bz1;RW.getNextSibling=Mz1;RW.getOpposite=zz1;RW.getOuterBindingIdentifierPaths=Sz1;RW.getOuterBindingIdentifiers=Cz1;RW.getPrevSibling=$z1;RW.getSibling=Rz1;var nJ=p2(),Xz1=W1(),{getAssignmentIdentifiers:Hz1,getBindingIdentifiers:KW,getOuterBindingIdentifiers:Vz1,numericLiteral:Zz1,unaryExpression:Qz1}=Xz1,oJ=0,T5=1});var FW=C((qW)=>{function cz1(){if(typeof this.key==="string")return;const J=this.node;if(!J)return;const{trailingComments:G,leadingComments:X}=J;if(!G&&!X)return;const 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",MW(X,H.node.trailingComments));if(G&&!Q)H.addComments("trailing",G)}if(Q){if(G)V.addComments("leading",MW(G,V.node.leadingComments));if(X&&!Z)V.addComments("leading",X)}}function MW(J,G){if(!(G!=null&&G.length))return J;const X=new Set(G);return J.filter((H)=>{return!X.has(H)})}function lz1(J,G,X){xz1(this.node,J,G,X)}function iz1(J,G){mz1(this.node,J,G)}Object.defineProperty(qW,"__esModule",{value:!0});qW.addComment=lz1;qW.addComments=iz1;qW.shareCommentsWithSiblings=cz1;var yz1=W1(),{addComment:xz1,addComments:mz1}=yz1});var p2=C((DW)=>{Object.defineProperty(DW,"__esModule",{value:!0});DW.default=DW.SHOULD_STOP=DW.SHOULD_SKIP=DW.REMOVED=void 0;var dz1=t8(),sz1=bZ(),tz1=A5(),nz1=WJ(),AW=W1(),p9=AW,oz1=Z0(),ez1=f8(),C2=P3(),u0=d3(),h0=TJ(),jW=SY(),R0=GW(),k1=WW(),CW=O2(),L1=CW,y0=y9(),D2=x9(),d1=$W(),eJ=FW(),JK1=XJ(),{validate:GK1}=AW,OW=sz1("babel"),qj1=DW.REMOVED=1,Fj1=DW.SHOULD_STOP=2,jj1=DW.SHOULD_SKIP=4,g2=DW.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");const Y=V[Q],W=oz1.getOrCreateCachedPaths(G,H);let z=W.get(Y);if(!z){if(z=new J(G,H),Y)W.set(Y,z)}return CW.setup.call(z,X,V,Z,Q),z}getScope(G){return this.isScope()?new nz1.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){tz1.default(this.node,G,this.scope,X,this)}set(G,X){GK1(this.node,G,X),this.node[G]=X}getPathLocation(){const G=[];let 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(!OW.enabled)return;OW(`${this.getPathLocation()} ${this.type}: ${G}`)}toString(){return ez1.default(this.node).code}get inList(){return!!this.listKey}set inList(G){if(!G)this.listKey=null}get parentKey(){return this.listKey||this.key}},XK1={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:u0.getTypeAnnotation,isBaseType:u0.isBaseType,couldBeBaseType:u0.couldBeBaseType,baseTypeStrictlyMatches:u0.baseTypeStrictlyMatches,isGenericType:u0.isGenericType,replaceWithMultiple:h0.replaceWithMultiple,replaceWithSourceString:h0.replaceWithSourceString,replaceWith:h0.replaceWith,replaceExpressionWithStatements:h0.replaceExpressionWithStatements,replaceInline:h0.replaceInline,evaluateTruthy:jW.evaluateTruthy,evaluate:jW.evaluate,toComputedKey:R0.toComputedKey,ensureBlock:R0.ensureBlock,unwrapFunctionEnvironment:R0.unwrapFunctionEnvironment,arrowFunctionToExpression:R0.arrowFunctionToExpression,splitExportDeclaration:R0.splitExportDeclaration,ensureFunctionName:R0.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:y0.remove,insertBefore:D2.insertBefore,insertAfter:D2.insertAfter,unshiftContainer:D2.unshiftContainer,pushContainer:D2.pushContainer,getOpposite:d1.getOpposite,getCompletionRecords:d1.getCompletionRecords,getSibling:d1.getSibling,getPrevSibling:d1.getPrevSibling,getNextSibling:d1.getNextSibling,getAllNextSiblings:d1.getAllNextSiblings,getAllPrevSiblings:d1.getAllPrevSiblings,get:d1.get,getAssignmentIdentifiers:d1.getAssignmentIdentifiers,getBindingIdentifiers:d1.getBindingIdentifiers,getOuterBindingIdentifiers:d1.getOuterBindingIdentifiers,getBindingIdentifierPaths:d1.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:d1.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:eJ.shareCommentsWithSiblings,addComment:eJ.addComment,addComments:eJ.addComments};Object.assign(g2.prototype,XK1);g2.prototype.arrowFunctionToShadowed=R0[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:u0._getTypeAnnotation,_replaceWith:h0._replaceWith,_resolve:k1._resolve,_call:L1._call,_resyncParent:L1._resyncParent,_resyncKey:L1._resyncKey,_resyncList:L1._resyncList,_resyncRemoved:L1._resyncRemoved,_getQueueContexts:L1._getQueueContexts,_removeFromScope:y0._removeFromScope,_callRemovalHooks:y0._callRemovalHooks,_remove:y0._remove,_markRemoved:y0._markRemoved,_assertUnremoved:y0._assertUnremoved,_containerInsert:D2._containerInsert,_containerInsertBefore:D2._containerInsertBefore,_containerInsertAfter:D2._containerInsertAfter,_verifyNodeList:D2._verifyNodeList,_getKey:d1._getKey,_getPattern:d1._getPattern});for(let J of p9.TYPES){const G=`is${J}`,X=p9[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,JK1);for(let J of Object.keys(dz1)){if(J[0]==="_")continue;if(!p9.TYPES.includes(J))p9.TYPES.push(J)}});var NW=C((PW)=>{Object.defineProperty(PW,"__esModule",{value:!0});PW.default=void 0;var QK1=p2(),YK1=W1(),JG=O2(),{VISITOR_KEYS:WK1}=YK1;class IW{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){const G=this.opts;if(G.enter||G.exit)return!0;if(G[J.type])return!0;const X=WK1[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 QK1.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;const H=[];for(let V=0;V<J.length;V++){const 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=[];const G=new WeakSet;let X=!1,H=0;for(;H<J.length;){const V=J[H];if(H++,JG.resync.call(V),V.contexts.length===0||V.contexts[V.contexts.length-1]!==this)JG.pushContext.call(V,this);if(V.key===null)continue;const{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++)JG.popContext.call(J[V]);return this.queue=null,X}visit(J,G){const X=J[G];if(!X)return!1;if(Array.isArray(X))return this.visitMultiple(X,J,G);else return this.visitSingle(J,G)}}PW.default=IW});var N9=C((TW)=>{function BK1(J,G,X,H,V,Z,Q){const Y=UK1[J.type];if(!Y)return!1;const W=new zK1.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}Object.defineProperty(TW,"__esModule",{value:!0});TW.traverseNode=BK1;var zK1=NW(),KK1=W1(),{VISITOR_KEYS:UK1}=KK1});var O2=C((_W)=>{function GG(J){const G=this.opts;if(this.debug(J),this.node){if(XG.call(this,G[J]))return!0}if(this.node){var X;return XG.call(this,(X=G[this.node.type])==null?void 0:X[J])}return!1}function XG(J){if(!J)return!1;for(let G of J){if(!G)continue;const X=this.node;if(!X)return!0;const 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 kW(){var J;const G=(J=this.opts.denylist)!=null?J:this.opts.blacklist;return G==null?void 0:G.includes(this.node.type)}function LW(J,G){if(J.context!==G)J.context=G,J.state=G.state,J.opts=G.opts}function FK1(){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;const X=this.context;if(this.shouldSkip||GG.call(this,"enter"))return this.debug("Skip..."),this.shouldStop;return LW(this,X),this.debug("Recursing into..."),this.shouldStop=$K1.traverseNode(this.node,this.opts,this.scope,this.state,this,this.skipKeys),LW(this,X),GG.call(this,"exit"),this.shouldStop}function jK1(){this.shouldSkip=!0}function OK1(J){if(this.skipKeys==null)this.skipKeys={};this.skipKeys[J]=!0}function AK1(){this._traverseFlags|=wW.SHOULD_SKIP|wW.SHOULD_STOP}function bW(){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 CK1(J){if(this.skipKeys!=null)this.skipKeys={};if(this._traverseFlags=0,J)this.context=J,this.state=J.state,this.opts=J.opts;return bW.call(this),this}function DK1(){if(this.removed)return;EW.call(this),gW.call(this),vW.call(this)}function EW(){if(this.parentPath)this.parent=this.parentPath.node}function vW(){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){r9.call(this,J);return}}else for(let J of Object.keys(this.container))if(this.container[J]===this.node){r9.call(this,J);return}this.key=null}function gW(){if(!this.parent||!this.inList)return;const J=this.parent[this.listKey];if(this.container===J)return;this.container=J||null}function SK1(){if(this.key==null||!this.container||this.container[this.key]!==this.node)MK1._markRemoved.call(this)}function IK1(){if(this.contexts.pop(),this.contexts.length>0)this.setContext(this.contexts[this.contexts.length-1]);else this.setContext(void 0)}function PK1(J){this.contexts.push(J),this.setContext(J)}function fK1(J,G,X,H){this.listKey=X,this.container=G,this.parentPath=J||this.parentPath,r9.call(this,H)}function r9(J){var G;this.key=J,this.node=this.container[this.key],this.type=(G=this.node)==null?void 0:G.type}function NK1(J=this){if(J.removed)return;const G=this.contexts;for(let X of G)X.maybeQueue(J)}function TK1(){const{context:J,node:G}=this;if(!qK1.isPrivate(G)&&G.computed)J.maybeQueue(this.get("key"));if(G.decorators)for(let X of this.get("decorators"))J.maybeQueue(X)}function wK1(){let J=this,G=this.contexts;while(!G.length){if(J=J.parentPath,!J)break;G=J.contexts}return G}Object.defineProperty(_W,"__esModule",{value:!0});_W._call=XG;_W._getQueueContexts=wK1;_W._resyncKey=vW;_W._resyncList=gW;_W._resyncParent=EW;_W._resyncRemoved=SK1;_W.call=GG;_W.isDenylisted=kW;_W.popContext=IK1;_W.pushContext=PK1;_W.requeue=NK1;_W.requeueComputedKeyAndDecorators=TK1;_W.resync=DK1;_W.setContext=CK1;_W.setKey=r9;_W.setScope=bW;_W.setup=fK1;_W.skip=jK1;_W.skipKey=OK1;_W.stop=AK1;_W.visit=FK1;var $K1=N9(),wW=p2(),MK1=y9(),qK1=W1();_W.isBlacklisted=kW});var xW=C((hW)=>{Object.defineProperty(hW,"__esModule",{value:!0});hW.default=void 0;class uW{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(J,G,X=TypeError){return new X(G)}}hW.default=uW});var A5=C((L5)=>{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(!XU1[J.type])return;w5.explode(G),mW.traverseNode(J,G,X,H,V,null,Z)}function VU1(J,G){if(J.node.type===G.type)G.has=!0,J.stop()}Object.defineProperty(L5,"__esModule",{value:!0});Object.defineProperty(L5,"Hub",{enumerable:!0,get:function(){return GU1.default}});Object.defineProperty(L5,"NodePath",{enumerable:!0,get:function(){return eK1.default}});Object.defineProperty(L5,"Scope",{enumerable:!0,get:function(){return JU1.default}});L5.visitors=L5.default=void 0;O2();var w5=O5();L5.visitors=w5;var nK1=W1(),oK1=Z0(),mW=N9(),eK1=p2(),JU1=WJ(),GU1=xW(),{VISITOR_KEYS:XU1,removeProperties:HU1,traverseFast:cW}=nK1,Pj1=L5.default=Y2;Y2.visitors=w5;Y2.verify=w5.verify;Y2.explode=w5.explode;Y2.cheap=function(J,G){cW(J,G);return};Y2.node=function(J,G,X,H,V,Z){mW.traverseNode(J,G,X,H,V,Z)};Y2.clearNode=function(J,G){HU1(J,G)};Y2.removeProperties=function(J,G){return cW(J,Y2.clearNode,G),J};Y2.hasType=function(J,G,X){if(X!=null&&X.includes(J.type))return!1;if(J.type===G)return!0;const H={has:!1,type:G};return Y2(J,{noScope:!0,denylist:X,enter:VU1},null,H),H.has};Y2.cache=oK1});import zU1 from"process";import{bold as HG,dim as VG,green as KU1,italic as iW,log as UU1}from"@stacksjs/cli";import{path as d9}from"@stacksjs/path";import{fs as BU1,glob as RU1}from"@stacksjs/storage";async function bj1(J){const X=Date.now()-J.startTime,H=J.pkgName??`@stacksjs/${d9.basename(J.dir)}`;if(!J.result.success)console.log(J.result.logs[0]),zU1.exit(1);const V=await RU1([d9.resolve(J.dir,"dist","**/*")],{absolute:!0});for(let Z of V){const Q=await BU1.stat(Z);let Y;if(Q.size<1048576)Y=`${(Q.size/1024).toFixed(2)}kb`;else Y=`${(Q.size/1024/1024).toFixed(2)}mb`;const W=d9.relative(J.dir,Z).replace("dist/","");console.log(`${HG(VG(`[${Y}]`))} ${VG("dist/")}${W}`)}console.log(`${HG(VG(`[${X}ms]`))} Built ${iW(HG(KU1(H)))}`)}async function Ej1(J){const G=J.pkgName??`@stacksjs/${d9.basename(J.dir)}`;if(J.styled===!1)console.log(`Building ${G}...`);else UU1.info(`Building ${iW(G)}...`);return{startTime:Date.now()}}var QU1=e9(f8(),1),YU1=e9(O9(),1),WU1=e9(A5(),1);var export_traverse=WU1.default;var export_parser=YU1.default;var export_generator=QU1.default;export{export_traverse as traverse,export_parser as parser,bj1 as outro,Ej1 as intro,export_generator as generator};
23
-
24
- //# debugId=048DE1716C22F6B564756E2164756E21
25
- //# sourceMappingURL=index.js.map
22
+ `;return this.replaceWith(z)[0].get("arguments.0")}function YW1(J){let G=J.params.findIndex((X)=>hY1(X)||yY1(X));return G===-1?J.params.length:G}});var WW=C((YW)=>{Object.defineProperty(YW,"__esModule",{value:!0});YW._guessExecutionStatusRelativeTo=vW1;YW._resolve=QW;YW.canHaveVariableDeclarationOrExpression=fW1;YW.canSwapBetweenExpressionAndStatement=NW1;YW.getSource=kW1;YW.isCompletionRecord=TW1;YW.isConstantExpression=hW1;YW.isInStrictMode=yW1;YW.isNodeType=PW1;YW.isStatementOrBlock=wW1;YW.isStatic=IW1;YW.matchesPattern=SW1;YW.referencesImport=LW1;YW.resolve=uW1;YW.willIMaybeExecuteBefore=bW1;var $W1=W1(),{STATEMENT_OR_BLOCK_KEYS:MW1,VISITOR_KEYS:qW1,isBlockStatement:ZW,isExpression:FW1,isIdentifier:jW1,isLiteral:OW1,isStringLiteral:AW1,isType:CW1,matchesPattern:DW1}=$W1;function SW1(J,G){return DW1(this.node,J,G)}YW.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 IW1(){return this.scope.isStatic(this.node)}YW.is=YW.has,YW.isnt=function J(G){return!this.has(G)},YW.equals=function J(G,X){return this.node[G]===X};function PW1(J){return CW1(this.type,J)}function fW1(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function NW1(J){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return ZW(J);else if(this.isBlockStatement())return FW1(J);return!1}function TW1(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 wW1(){if(this.parentPath.isLabeledStatement()||ZW(this.container))return!1;else return MW1.includes(this.key)}function LW1(J,G){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===G||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?AW1(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()&&jW1(H.node.imported,{name:G}))return!0;return!1}function kW1(){let J=this.node;if(J.end){let G=this.hub.getCode();if(G)return G.slice(J.start,J.end)}return""}function bW1(J){return this._guessExecutionStatusRelativeTo(J)!=="after"}function XW(J){return J.isProgram()?J:(J.parentPath.scope.getFunctionParent()||J.parentPath.scope.getProgramParent()).path}function EW1(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 HW(J,G){for(let X=0;X<G;X++){let H=J[X];if(EW1(H.parent.type,H.parentKey))return!0}return!1}var VW=Symbol();function vW1(J){return sJ(this,J,new Map)}function sJ(J,G,X){let H={this:XW(J),target:XW(G)};if(H.target.node!==H.this.node)return _W1(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(HW(V.this,Q.this-1)||HW(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=qW1[Z.type],z={this:W.indexOf(Y.this.parentKey),target:W.indexOf(Y.target.parentKey)};return z.target>z.this?"before":"after"}function gW1(J,G,X){if(!G.isFunctionDeclaration()){if(sJ(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=sJ(J,Q,X);if(Z&&Z!==W)return"unknown";else Z=W}return Z}function _W1(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===VW)return"unknown";return V}H.set(G.node,VW);let Z=gW1(J,G,X);return H.set(G.node,Z),Z}function uW1(J,G){return QW.call(this,J,G)||this}function QW(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(!OW1(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 hW1(){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 yW1(){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 $W=C((RW)=>{Object.defineProperty(RW,"__esModule",{value:!0});RW._getKey=UW;RW._getPattern=BW;RW.get=jz1;RW.getAllNextSiblings=qz1;RW.getAllPrevSiblings=Fz1;RW.getAssignmentIdentifiers=Oz1;RW.getBindingIdentifierPaths=Dz1;RW.getBindingIdentifiers=Az1;RW.getCompletionRecords=Bz1;RW.getNextSibling=Mz1;RW.getOpposite=zz1;RW.getOuterBindingIdentifierPaths=Sz1;RW.getOuterBindingIdentifiers=Cz1;RW.getPrevSibling=$z1;RW.getSibling=Rz1;var nJ=p2(),Xz1=W1(),{getAssignmentIdentifiers:Hz1,getBindingIdentifiers:KW,getOuterBindingIdentifiers:Vz1,numericLiteral:Zz1,unaryExpression:Qz1}=Xz1,oJ=0,T5=1;function Yz1(J){return{type:oJ,path:J}}function Wz1(J){return{type:T5,path:J}}function zz1(){if(this.key==="left")return this.getSibling("right");else if(this.key==="right")return this.getSibling("left");return null}function g0(J,G,X){if(J)G.push(..._0(J,X));return G}function Kz1(J,G,X){let H=[];for(let V=0;V<J.length;V++){let Z=J[V],Q=_0(Z,X),Y=[],W=[];for(let z of Q){if(z.type===oJ)Y.push(z);if(z.type===T5)W.push(z)}if(Y.length)H=Y;G.push(...W)}return G.push(...H),G}function Uz1(J){J.forEach((G)=>{G.type=T5})}function tJ(J,G){J.forEach((X)=>{if(X.path.isBreakStatement({label:null}))if(G)X.path.replaceWith(Qz1("void",Zz1(0)));else X.path.remove()})}function zW(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=_0(Z,Q);if(Y.length>0&&Y.every((W)=>W.type===T5)){if(H.length>0&&Y.every((W)=>W.path.isBreakStatement({label:null}))){if(Uz1(H),X.push(...H),H.some((W)=>W.path.isDeclaration()))X.push(...Y),tJ(Y,!0);tJ(Y,!1)}else if(X.push(...Y),!G.shouldPopulateBreak)tJ(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===T5)X.push(z);if(z.type===oJ)H.push(z)}}}}else if(J.length)for(let H=J.length-1;H>=0;H--){let V=_0(J[H],G);if(V.length>1||V.length===1&&!V[0].path.isVariableDeclaration()){X.push(...V);break}}return X}function _0(J,G){let X=[];if(J.isIfStatement())X=g0(J.get("consequent"),X,G),X=g0(J.get("alternate"),X,G);else if(J.isDoExpression()||J.isFor()||J.isWhile()||J.isLabeledStatement())return g0(J.get("body"),X,G);else if(J.isProgram()||J.isBlockStatement())return zW(J.get("body"),G);else if(J.isFunction())return _0(J.get("body"),G);else if(J.isTryStatement())X=g0(J.get("block"),X,G),X=g0(J.get("handler"),X,G);else if(J.isCatchClause())return g0(J.get("body"),X,G);else if(J.isSwitchStatement())return Kz1(J.get("cases"),X,G);else if(J.isSwitchCase())return zW(J.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});else if(J.isBreakStatement())X.push(Wz1(J));else X.push(Yz1(J));return X}function Bz1(){return _0(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((G)=>G.path)}function Rz1(J){return nJ.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:J}).setContext(this.context)}function $z1(){return this.getSibling(this.key-1)}function Mz1(){return this.getSibling(this.key+1)}function qz1(){let J=this.key,G=this.getSibling(++J),X=[];while(G.node)X.push(G),G=this.getSibling(++J);return X}function Fz1(){let J=this.key,G=this.getSibling(--J),X=[];while(G.node)X.push(G),G=this.getSibling(--J);return X}function jz1(J,G=!0){if(G===!0)G=this.context;let X=J.split(".");if(X.length===1)return UW.call(this,J,G);else return BW.call(this,X,G)}function UW(J,G){let X=this.node,H=X[J];if(Array.isArray(H))return H.map((V,Z)=>{return nJ.default.get({listKey:J,parentPath:this,parent:X,container:H,key:Z}).setContext(G)});else return nJ.default.get({parentPath:this,parent:X,container:X,key:J}).setContext(G)}function BW(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 Oz1(){return Hz1(this.node)}function Az1(J){return KW(this.node,J)}function Cz1(J){return Vz1(this.node,J)}function Dz1(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=KW.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 Sz1(J=!1){return this.getBindingIdentifierPaths(J,!0)}});var FW=C((qW)=>{Object.defineProperty(qW,"__esModule",{value:!0});qW.addComment=lz1;qW.addComments=iz1;qW.shareCommentsWithSiblings=cz1;var yz1=W1(),{addComment:xz1,addComments:mz1}=yz1;function cz1(){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",MW(X,H.node.trailingComments));if(G&&!Q)H.addComments("trailing",G)}if(Q){if(G)V.addComments("leading",MW(G,V.node.leadingComments));if(X&&!Z)V.addComments("leading",X)}}function MW(J,G){if(!(G!=null&&G.length))return J;let X=new Set(G);return J.filter((H)=>{return!X.has(H)})}function lz1(J,G,X){xz1(this.node,J,G,X)}function iz1(J,G){mz1(this.node,J,G)}});var p2=C((DW)=>{Object.defineProperty(DW,"__esModule",{value:!0});DW.default=DW.SHOULD_STOP=DW.SHOULD_SKIP=DW.REMOVED=void 0;var dz1=t8(),sz1=bZ(),tz1=A5(),nz1=WJ(),AW=W1(),p9=AW,oz1=Z0(),ez1=f8(),C2=P3(),u0=d3(),h0=TJ(),jW=SY(),R0=GW(),k1=WW(),CW=O2(),L1=CW,y0=y9(),D2=x9(),d1=$W(),eJ=FW(),JK1=XJ(),{validate:GK1}=AW,OW=sz1("babel"),qj1=DW.REMOVED=1,Fj1=DW.SHOULD_STOP=2,jj1=DW.SHOULD_SKIP=4,g2=DW.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=oz1.getOrCreateCachedPaths(G,H),z=W.get(Y);if(!z){if(z=new J(G,H),Y)W.set(Y,z)}return CW.setup.call(z,X,V,Z,Q),z}getScope(G){return this.isScope()?new nz1.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){tz1.default(this.node,G,this.scope,X,this)}set(G,X){GK1(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(!OW.enabled)return;OW(`${this.getPathLocation()} ${this.type}: ${G}`)}toString(){return ez1.default(this.node).code}get inList(){return!!this.listKey}set inList(G){if(!G)this.listKey=null}get parentKey(){return this.listKey||this.key}},XK1={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:u0.getTypeAnnotation,isBaseType:u0.isBaseType,couldBeBaseType:u0.couldBeBaseType,baseTypeStrictlyMatches:u0.baseTypeStrictlyMatches,isGenericType:u0.isGenericType,replaceWithMultiple:h0.replaceWithMultiple,replaceWithSourceString:h0.replaceWithSourceString,replaceWith:h0.replaceWith,replaceExpressionWithStatements:h0.replaceExpressionWithStatements,replaceInline:h0.replaceInline,evaluateTruthy:jW.evaluateTruthy,evaluate:jW.evaluate,toComputedKey:R0.toComputedKey,ensureBlock:R0.ensureBlock,unwrapFunctionEnvironment:R0.unwrapFunctionEnvironment,arrowFunctionToExpression:R0.arrowFunctionToExpression,splitExportDeclaration:R0.splitExportDeclaration,ensureFunctionName:R0.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:y0.remove,insertBefore:D2.insertBefore,insertAfter:D2.insertAfter,unshiftContainer:D2.unshiftContainer,pushContainer:D2.pushContainer,getOpposite:d1.getOpposite,getCompletionRecords:d1.getCompletionRecords,getSibling:d1.getSibling,getPrevSibling:d1.getPrevSibling,getNextSibling:d1.getNextSibling,getAllNextSiblings:d1.getAllNextSiblings,getAllPrevSiblings:d1.getAllPrevSiblings,get:d1.get,getAssignmentIdentifiers:d1.getAssignmentIdentifiers,getBindingIdentifiers:d1.getBindingIdentifiers,getOuterBindingIdentifiers:d1.getOuterBindingIdentifiers,getBindingIdentifierPaths:d1.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:d1.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:eJ.shareCommentsWithSiblings,addComment:eJ.addComment,addComments:eJ.addComments};Object.assign(g2.prototype,XK1);g2.prototype.arrowFunctionToShadowed=R0[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:u0._getTypeAnnotation,_replaceWith:h0._replaceWith,_resolve:k1._resolve,_call:L1._call,_resyncParent:L1._resyncParent,_resyncKey:L1._resyncKey,_resyncList:L1._resyncList,_resyncRemoved:L1._resyncRemoved,_getQueueContexts:L1._getQueueContexts,_removeFromScope:y0._removeFromScope,_callRemovalHooks:y0._callRemovalHooks,_remove:y0._remove,_markRemoved:y0._markRemoved,_assertUnremoved:y0._assertUnremoved,_containerInsert:D2._containerInsert,_containerInsertBefore:D2._containerInsertBefore,_containerInsertAfter:D2._containerInsertAfter,_verifyNodeList:D2._verifyNodeList,_getKey:d1._getKey,_getPattern:d1._getPattern});for(let J of p9.TYPES){let G=`is${J}`,X=p9[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,JK1);for(let J of Object.keys(dz1)){if(J[0]==="_")continue;if(!p9.TYPES.includes(J))p9.TYPES.push(J)}});var NW=C((PW)=>{Object.defineProperty(PW,"__esModule",{value:!0});PW.default=void 0;var QK1=p2(),YK1=W1(),JG=O2(),{VISITOR_KEYS:WK1}=YK1;class IW{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=WK1[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 QK1.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++,JG.resync.call(V),V.contexts.length===0||V.contexts[V.contexts.length-1]!==this)JG.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++)JG.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)}}PW.default=IW});var N9=C((TW)=>{Object.defineProperty(TW,"__esModule",{value:!0});TW.traverseNode=BK1;var zK1=NW(),KK1=W1(),{VISITOR_KEYS:UK1}=KK1;function BK1(J,G,X,H,V,Z,Q){let Y=UK1[J.type];if(!Y)return!1;let W=new zK1.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((_W)=>{Object.defineProperty(_W,"__esModule",{value:!0});_W._call=XG;_W._getQueueContexts=wK1;_W._resyncKey=vW;_W._resyncList=gW;_W._resyncParent=EW;_W._resyncRemoved=SK1;_W.call=GG;_W.isDenylisted=kW;_W.popContext=IK1;_W.pushContext=PK1;_W.requeue=NK1;_W.requeueComputedKeyAndDecorators=TK1;_W.resync=DK1;_W.setContext=CK1;_W.setKey=r9;_W.setScope=bW;_W.setup=fK1;_W.skip=jK1;_W.skipKey=OK1;_W.stop=AK1;_W.visit=FK1;var $K1=N9(),wW=p2(),MK1=y9(),qK1=W1();function GG(J){let G=this.opts;if(this.debug(J),this.node){if(XG.call(this,G[J]))return!0}if(this.node){var X;return XG.call(this,(X=G[this.node.type])==null?void 0:X[J])}return!1}function XG(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 kW(){var J;let G=(J=this.opts.denylist)!=null?J:this.opts.blacklist;return G==null?void 0:G.includes(this.node.type)}_W.isBlacklisted=kW;function LW(J,G){if(J.context!==G)J.context=G,J.state=G.state,J.opts=G.opts}function FK1(){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||GG.call(this,"enter"))return this.debug("Skip..."),this.shouldStop;return LW(this,X),this.debug("Recursing into..."),this.shouldStop=$K1.traverseNode(this.node,this.opts,this.scope,this.state,this,this.skipKeys),LW(this,X),GG.call(this,"exit"),this.shouldStop}function jK1(){this.shouldSkip=!0}function OK1(J){if(this.skipKeys==null)this.skipKeys={};this.skipKeys[J]=!0}function AK1(){this._traverseFlags|=wW.SHOULD_SKIP|wW.SHOULD_STOP}function bW(){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 CK1(J){if(this.skipKeys!=null)this.skipKeys={};if(this._traverseFlags=0,J)this.context=J,this.state=J.state,this.opts=J.opts;return bW.call(this),this}function DK1(){if(this.removed)return;EW.call(this),gW.call(this),vW.call(this)}function EW(){if(this.parentPath)this.parent=this.parentPath.node}function vW(){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){r9.call(this,J);return}}else for(let J of Object.keys(this.container))if(this.container[J]===this.node){r9.call(this,J);return}this.key=null}function gW(){if(!this.parent||!this.inList)return;let J=this.parent[this.listKey];if(this.container===J)return;this.container=J||null}function SK1(){if(this.key==null||!this.container||this.container[this.key]!==this.node)MK1._markRemoved.call(this)}function IK1(){if(this.contexts.pop(),this.contexts.length>0)this.setContext(this.contexts[this.contexts.length-1]);else this.setContext(void 0)}function PK1(J){this.contexts.push(J),this.setContext(J)}function fK1(J,G,X,H){this.listKey=X,this.container=G,this.parentPath=J||this.parentPath,r9.call(this,H)}function r9(J){var G;this.key=J,this.node=this.container[this.key],this.type=(G=this.node)==null?void 0:G.type}function NK1(J=this){if(J.removed)return;let G=this.contexts;for(let X of G)X.maybeQueue(J)}function TK1(){let{context:J,node:G}=this;if(!qK1.isPrivate(G)&&G.computed)J.maybeQueue(this.get("key"));if(G.decorators)for(let X of this.get("decorators"))J.maybeQueue(X)}function wK1(){let J=this,G=this.contexts;while(!G.length){if(J=J.parentPath,!J)break;G=J.contexts}return G}});var xW=C((hW)=>{Object.defineProperty(hW,"__esModule",{value:!0});hW.default=void 0;class uW{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(J,G,X=TypeError){return new X(G)}}hW.default=uW});var A5=C((L5)=>{Object.defineProperty(L5,"__esModule",{value:!0});Object.defineProperty(L5,"Hub",{enumerable:!0,get:function(){return GU1.default}});Object.defineProperty(L5,"NodePath",{enumerable:!0,get:function(){return eK1.default}});Object.defineProperty(L5,"Scope",{enumerable:!0,get:function(){return JU1.default}});L5.visitors=L5.default=void 0;O2();var w5=O5();L5.visitors=w5;var nK1=W1(),oK1=Z0(),mW=N9(),eK1=p2(),JU1=WJ(),GU1=xW(),{VISITOR_KEYS:XU1,removeProperties:HU1,traverseFast:cW}=nK1;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(!XU1[J.type])return;w5.explode(G),mW.traverseNode(J,G,X,H,V,null,Z)}var Pj1=L5.default=Y2;Y2.visitors=w5;Y2.verify=w5.verify;Y2.explode=w5.explode;Y2.cheap=function(J,G){cW(J,G);return};Y2.node=function(J,G,X,H,V,Z){mW.traverseNode(J,G,X,H,V,Z)};Y2.clearNode=function(J,G){HU1(J,G)};Y2.removeProperties=function(J,G){return cW(J,Y2.clearNode,G),J};function VU1(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:VU1},null,H),H.has};Y2.cache=oK1});import zU1 from"process";import{bold as HG,dim as VG,green as KU1,italic as iW,log as UU1}from"@stacksjs/cli";import{path as d9}from"@stacksjs/path";import{fs as BU1,glob as RU1}from"@stacksjs/storage";var QU1=e9(f8(),1),YU1=e9(O9(),1),WU1=e9(A5(),1);async function bj1(J){let X=Date.now()-J.startTime,H=J.pkgName??`@stacksjs/${d9.basename(J.dir)}`;if(!J.result.success)console.log(J.result.logs[0]),zU1.exit(1);let V=await RU1([d9.resolve(J.dir,"dist","**/*")],{absolute:!0});for(let Z of V){let Q=await BU1.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=d9.relative(J.dir,Z).replace("dist/","");console.log(`${HG(VG(`[${Y}]`))} ${VG("dist/")}${W}`)}console.log(`${HG(VG(`[${X}ms]`))} Built ${iW(HG(KU1(H)))}`)}async function Ej1(J){let G=J.pkgName??`@stacksjs/${d9.basename(J.dir)}`;if(J.styled===!1)console.log(`Building ${G}...`);else UU1.info(`Building ${iW(G)}...`);return{startTime:Date.now()}}var export_traverse=WU1.default;var export_parser=YU1.default;var export_generator=QU1.default;export{export_traverse as traverse,export_parser as parser,bj1 as outro,Ej1 as intro,export_generator as generator};