@stacksjs/build 0.63.0 → 0.64.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,51 +1,25 @@
1
1
  // @bun
2
- // src/index.ts
3
- import process from "process";
4
- import {bold, dim, green, italic, log} from "@stacksjs/cli";
5
- import {path as p} from "@stacksjs/path";
6
- import {fs, glob} from "@stacksjs/storage";
7
- async function outro(options) {
8
- const endTime = Date.now();
9
- const timeTaken = endTime - options.startTime;
10
- const pkgName = options.pkgName ?? `@stacksjs/${p.basename(options.dir)}`;
11
- if (!options.result.success) {
12
- console.log(options.result.logs[0]);
13
- process.exit(1);
14
- }
15
- const files = await glob(p.resolve(options.dir, "dist", "**/*"));
16
- for (const file of files) {
17
- const stats = await fs.stat(file);
18
- let sizeStr;
19
- if (stats.size < 1024 * 1024) {
20
- const sizeInKb = stats.size / 1024;
21
- sizeStr = `${sizeInKb.toFixed(2)}kb`;
22
- } else {
23
- const sizeInMb = stats.size / 1024 / 1024;
24
- sizeStr = `${sizeInMb.toFixed(2)}mb`;
25
- }
26
- const relativeFilePath = p.relative(options.dir, file).replace("dist/", "");
27
- console.log(`${bold(dim(`[${sizeStr}]`))} ${dim("dist/")}${relativeFilePath}`);
28
- }
29
- log.success(`${bold(dim(`[${timeTaken}ms]`))} Built ${italic(bold(green(pkgName)))}`);
30
- }
31
- async function intro(options) {
32
- const pkgName = options.pkgName ?? `@stacksjs/${p.basename(options.dir)}`;
33
- log.info(`Building ${italic(pkgName)}...`);
34
- const startTime = Date.now();
35
- return { startTime };
36
- }
2
+ var Zz=Object.create;var{getPrototypeOf:Qz,defineProperty:m0,getOwnPropertyNames:UG,getOwnPropertyDescriptor:Yz}=Object,FG=Object.prototype.hasOwnProperty;var d9=(J,G,X)=>{X=J!=null?Zz(Qz(J)):{};const H=G||!J||!J.__esModule?m0(X,"default",{value:J,enumerable:!0}):X;for(let V of UG(J))if(!FG.call(H,V))m0(H,V,{get:()=>J[V],enumerable:!0});return H},KG=new WeakMap,Wz=(J)=>{var G=KG.get(J),X;if(G)return G;if(G=m0({},"__esModule",{value:!0}),J&&typeof J==="object"||typeof J==="function")UG(J).map((H)=>!FG.call(G,H)&&m0(G,H,{get:()=>J[H],enumerable:!(X=Yz(J,H))||X.enumerable}));return KG.set(J,G),G};var q=(J,G)=>()=>(G||J((G={exports:{}}).exports,G),G.exports);var zz=(J,G)=>{for(var X in G)m0(J,X,{get:G[X],enumerable:!0,configurable:!0,set:(H)=>G[X]=()=>H})};var Kz=(J,G)=>()=>(J&&(G=J(J=0)),G);var y5=q((ZX)=>{function Uz(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 m1(J,G){const{line:X,column:H,index:V}=J;return new L2(X,H+G,V+G)}function $G(J,G,X){Object.defineProperty(J,G,{enumerable:!1,configurable:!0,value:X})}function Oz({toMessage:J,code:G,reasonCode:X,syntaxPlugin:H}){const V=X==="MissingPlugin"||X==="MissingOneOfPlugins";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 $G(W,"clone",function z(U={}){var D;const{line:f,column:j,index:I}=(D=U.loc)!=null?D:Q;return Z(new L2(f,j,I),Object.assign({},Y,U.details))}),$G(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 C2(J,G){if(Array.isArray(J))return(H)=>C2(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=Uz(Z,Mz),W=typeof Q==="string"?()=>Q:Q;X[H]=Oz(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:H,toMessage:W},G?{syntaxPlugin:G}:{},Y))}return X}function c0(J){return DG(J.loc.start,"index"),DG(J.loc.end,"index"),J}function B1(J,G={}){G.keyword=J;const X=r(J,G);return Z4.set(J,X),X}function x1(J,G){return r(J,{beforeExpr:K1,binop:G})}function r(J,G={}){var X,H,V,Z;return++r0,Q4.push(J),Y4.push((X=G.binop)!=null?X:-1),W4.push((H=G.beforeExpr)!=null?H:!1),z4.push((V=G.startsExpr)!=null?V:!1),K4.push((Z=G.prefix)!=null?Z:!1),I2.push(new V4(J,G)),r0}function z1(J,G={}){var X,H,V,Z;return++r0,Z4.set(J,r0),Q4.push(J),Y4.push((X=G.binop)!=null?X:-1),W4.push((H=G.beforeExpr)!=null?H:!1),z4.push((V=G.startsExpr)!=null?V:!1),K4.push((Z=G.prefix)!=null?Z:!1),I2.push(new V4("name",G)),r0}function O1(J){return J>=93&&J<=132}function Iz(J){return J<=92}function W2(J){return J>=58&&J<=132}function TG(J){return J>=58&&J<=136}function Az(J){return W4[J]}function G4(J){return z4[J]}function Cz(J){return J>=29&&J<=33}function MG(J){return J>=129&&J<=131}function Lz(J){return J>=90&&J<=92}function U4(J){return J>=58&&J<=92}function Pz(J){return J>=39&&J<=59}function Tz(J){return J===34}function Nz(J){return K4[J]}function wz(J){return J>=121&&J<=123}function Ez(J){return J>=124&&J<=130}function g2(J){return Q4[J]}function v5(J){return Y4[J]}function kz(J){return J===57}function _5(J){return J>=24&&J<=25}function j2(J){return I2[J]}function X4(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 A2(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&&bz.test(String.fromCharCode(J));return X4(J,wG)}function D0(J){if(J<48)return J===36;if(J<58)return!0;if(J<65)return!1;if(J<=90)return!0;if(J<97)return J===95;if(J<=122)return!0;if(J<=65535)return J>=170&&vz.test(String.fromCharCode(J));return X4(J,wG)||X4(J,gz)}function EG(J,G){return G&&J==="await"||J==="enum"}function kG(J,G){return EG(J,G)||uz.has(J)}function bG(J){return hz.has(J)}function vG(J,G){return kG(J,G)||bG(J)}function yz(J){return _z.has(J)}function xz(J,G,X){return J===64&&G===64&&A2(X)}function cz(J){return mz.has(J)}function hG(J,G){if(J.trailingComments===void 0)J.trailingComments=G;else J.trailingComments.unshift(...G)}function lz(J,G){if(J.leadingComments===void 0)J.leadingComments=G;else J.leadingComments.unshift(...G)}function t0(J,G){if(J.innerComments===void 0)J.innerComments=G;else J.innerComments.unshift(...G)}function i0(J,G,X){let H=null,V=G.length;while(H===null&&V>0)H=G[--V];if(H===null||H.start>X.start)t0(J,X.comments);else hG(H,X.comments)}function M0(J){switch(J){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function OG(J,G,X){for(let H=G;H<X;H++)if(M0(J.charCodeAt(H)))return!0;return!1}function az(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 qG(J,G,X,H,V,Z){const Q=X,Y=H,W=V;let z="",U=null,D=X;const{length:f}=G;for(;;){if(X>=f){Z.unterminated(Q,Y,W),z+=G.slice(D,X);break}const j=G.charCodeAt(X);if(rz(J,j,G,X)){z+=G.slice(D,X);break}if(j===92){z+=G.slice(D,X);const I=dz(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),D=X}else if(j===8232||j===8233)++X,++V,H=X;else if(j===10||j===13)if(J==="template"){if(z+=G.slice(D,X)+"\n",++X,j===13&&G.charCodeAt(X)===10)++X;++V,D=H=X}else Z.unterminated(Q,Y,W);else++X}return{pos:X,str:z,firstInvalidLoc:U,lineStart:H,curLine:V,containsInvalid:!!U}}function rz(J,G,X,H){if(J==="template")return G===96||G===36&&X.charCodeAt(H+1)===123;return G===(J==="double"?34:39)}function dz(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}=H4(J,G,X,H,2,!1,Q,Z),Y(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:G}=mG(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 D=/^[0-7]+/.exec(J.slice(z,G+2))[0],f=parseInt(D,8);if(f>255)D=D.slice(0,-1),f=parseInt(D,8);G+=D.length-1;const j=J.charCodeAt(G);if(D!=="0"||j===56||j===57)if(V)return Y(null);else Z.strictNumericEscape(z,X,H);return Y(String.fromCharCode(f))}return Y(String.fromCharCode(W))}}function H4(J,G,X,H,V,Z,Q,Y){const W=G;let z;if({n:z,pos:G}=xG(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 xG(J,G,X,H,V,Z,Q,Y,W,z){const U=G,D=V===16?fG.hex:fG.decBinOct,f=V===16?k5.hex:V===10?k5.dec:V===8?k5.oct:k5.bin;let j=!1,I=0;for(let g=0,C=Z==null?1/0:Z;g<C;++g){const T=J.charCodeAt(G);let E;if(T===95&&Y!=="bail"){const H1=J.charCodeAt(G-1),J1=J.charCodeAt(G+1);if(!Y){if(z)return{n:null,pos:G};W.numericSeparatorInEscapeSequence(G,X,H)}else if(Number.isNaN(J1)||!f(J1)||D.has(H1)||D.has(J1)){if(z)return{n:null,pos:G};W.unexpectedNumericSeparator(G,X,H)}++G;continue}if(T>=97)E=T-97+10;else if(T>=65)E=T-65+10;else if(pz(T))E=T-48;else E=1/0;if(E>=V)if(E<=9&&z)return{n:null,pos:G};else if(E<=9&&W.invalidDigit(G,X,H,V))E=0;else if(Q)E=0,j=!0;else break;++G,I=I*V+E}if(G===U||Z!=null&&G-U!==Z||j)return{n:null,pos:G};return{n:I,pos:G}}function mG(J,G,X,H,V,Z){const Q=J.charCodeAt(G);let Y;if(Q===123){if(++G,{code:Y,pos:G}=H4(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}=H4(J,G,X,H,4,!1,V,Z));return{code:Y,pos:G}}function a0(J,G,X){return new L2(X,J-G,J)}function tz(){return new o0(3)}function nz(){return new $4(1)}function oz(){return new $4(2)}function pG(){return new o0}function g5(J,G){return(J?2:0)|(G?1:0)}function ez(J){return P2(J)}function P2(J){const{type:G,start:X,end:H,loc:V,range:Z,extra:Q,name:Y}=J,W=Object.create(D4);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 JK(J){const{type:G,start:X,end:H,loc:V,range:Z,extra:Q}=J;if(G==="Placeholder")return ez(J);const Y=Object.create(D4);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 XK(J){return J.type==="DeclareExportAllDeclaration"||J.type==="DeclareExportDeclaration"&&(!J.declaration||J.declaration.type!=="TypeAlias"&&J.declaration.type!=="InterfaceDeclaration")}function jG(J){return J.importKind==="type"||J.importKind==="typeof"}function VK(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 v2(J){return J?J.type==="JSXOpeningFragment"||J.type==="JSXClosingFragment":!1}function $0(J){if(J.type==="JSXIdentifier")return J.name;if(J.type==="JSXNamespacedName")return J.namespace.name+":"+J.name.name;if(J.type==="JSXMemberExpression")return $0(J.object)+"."+$0(J.property);throw new Error("Node had unexpected type: "+J.type)}function zK(J){if(J==null)throw new Error(`Unexpected ${J} value.`);return J}function SG(J){if(!J)throw new Error("Assert fail")}function KK(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 IG(J){return J==="private"||J==="public"||J==="protected"}function UK(J){return J==="in"||J==="out"}function RK(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 GX(J.object)}function BK(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(JX(J,G)||$K(J,G))return!0;if(H==="TemplateLiteral"&&J.expressions.length===0)return!0;if(RK(J))return!0;return!1}function JX(J,G){if(G)return J.type==="Literal"&&(typeof J.value==="number"||("bigint"in J));return J.type==="NumericLiteral"||J.type==="BigIntLiteral"}function $K(J,G){if(J.type==="UnaryExpression"){const{operator:X,argument:H}=J;if(X==="-"&&JX(H,G))return!0}return!1}function GX(J){if(J.type==="Identifier")return!0;if(J.type!=="MemberExpression"||J.computed)return!1;return GX(J.object)}function OK(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(!CG.includes(X)){const V=CG.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(!LG.includes(V)){const Z=LG.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("importAttributes")&&J.has("importAssertions"))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 qK(J){if(J==null)return Object.assign({},o9);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(o9)){var X;G[H]=(X=J[H])!=null?X:o9[H]}return G}function IK(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=m1(Z.start,1);J.splice(X,1,new S2({type:j2(27),value:"#",start:Q,end:z,startLoc:Z.start,endLoc:U}),new S2({type:j2(132),value:Y,start:z,end:W,startLoc:U,endLoc:Z.end})),X++;continue}if(_5(V)){const{loc:Z,start:Q,value:Y,end:W}=H,z=Q+1,U=m1(Z.start,1);let D;if(G.charCodeAt(Q)===96)D=new S2({type:j2(22),value:"`",start:Q,end:z,startLoc:Z.start,endLoc:U});else D=new S2({type:j2(8),value:"}",start:Q,end:z,startLoc:Z.start,endLoc:U});let f,j,I,g;if(V===24)j=W-1,I=m1(Z.end,-1),f=Y===null?null:Y.slice(1,-1),g=new S2({type:j2(22),value:"`",start:j,end:W,startLoc:I,endLoc:Z.end});else j=W-2,I=m1(Z.end,-2),f=Y===null?null:Y.slice(1,-2),g=new S2({type:j2(23),value:"${",start:j,end:W,startLoc:I,endLoc:Z.end});J.splice(X,1,D,new S2({type:j2(20),value:f,start:z,end:j,startLoc:U,endLoc:I}),g),X+=2;continue}}H.type=j2(V)}}return J}function AK(J,G){var X;if(((X=G)==null?void 0:X.sourceType)==="unambiguous"){G=Object.assign({},G);try{G.sourceType="module";const H=p0(G,J),V=H.parse();if(H.sawUnambiguousESM)return V;if(H.ambiguousScriptDifferentAst)try{return G.sourceType="script",p0(G,J).parse()}catch(Z){}else V.program.sourceType="script";return V}catch(H){try{return G.sourceType="script",p0(G,J).parse()}catch(V){}throw H}}else return p0(G,J).parse()}function CK(J,G){const X=p0(G,J);if(X.options.strictMode)X.state.strict=!0;return X.getExpression()}function LK(J){const G={};for(let X of Object.keys(J))G[X]=j2(J[X]);return G}function p0(J,G){let X=M4;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||{})}OK(H),X=TK(H)}return new X(J,G,H)}function TK(J){const G=[];for(let V of fK)if(J.has(V))G.push(V);const X=G.join("|");let H=PG.get(X);if(!H){H=M4;for(let V of G)H=XX[V](H);PG.set(X,H)}return H}Object.defineProperty(ZX,"__esModule",{value:!0});class L2{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 s0{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 RG="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",Fz={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:RG},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:RG}},BG={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"},b5=(J)=>J.type==="UpdateExpression"?BG.UpdateExpression[`${J.prefix}`]:BG[J.type],Rz={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 ${b5(J)}.`,InvalidLhsBinding:({ancestor:J})=>`Binding invalid left-hand side in ${b5(J)}.`,InvalidLhsOptionalChaining:({ancestor:J})=>`Invalid optional chaining in the left-hand side of ${b5(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."},Bz={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."},$z=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Dz={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 ${b5({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.'},Mz=["message"],M=Object.assign({},C2(Fz),C2(Rz),C2(Bz),C2`pipelineOperator`(Dz)),{defineProperty:fz}=Object,DG=(J,G)=>{if(J)fz(J,G,{enumerable:!1,value:J[G]})},qz=(J)=>class G extends J{parse(){const X=c0(super.parse());if(this.options.tokens)X.tokens=X.tokens.map(c0);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(M.PatternHasAccessor,X.key);else if(X.type==="Property"&&X.method)this.raise(M.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 c0(super.finishNodeAt(X,H,V))}resetStartLocation(X,H){super.resetStartLocation(X,H),c0(X)}resetEndLocation(X,H=this.state.lastTokEndLoc){super.resetEndLocation(X,H),c0(X)}};class B0{constructor(J,G){this.token=void 0,this.preserveSpace=void 0,this.token=J,this.preserveSpace=!!G}}var q1={brace:new B0("{"),j_oTag:new B0("<tag"),j_cTag:new B0("</tag"),j_expr:new B0("<tag>...</tag>",!0)};q1.template=new B0("`",!0);var K1=!0,h=!0,s9=!0,l0=!0,b2=!0,jz=!0;class V4{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 Z4=new Map,r0=-1,I2=[],Q4=[],Y4=[],W4=[],z4=[],K4=[],Sz={bracketL:r("[",{beforeExpr:K1,startsExpr:h}),bracketHashL:r("#[",{beforeExpr:K1,startsExpr:h}),bracketBarL:r("[|",{beforeExpr:K1,startsExpr:h}),bracketR:r("]"),bracketBarR:r("|]"),braceL:r("{",{beforeExpr:K1,startsExpr:h}),braceBarL:r("{|",{beforeExpr:K1,startsExpr:h}),braceHashL:r("#{",{beforeExpr:K1,startsExpr:h}),braceR:r("}"),braceBarR:r("|}"),parenL:r("(",{beforeExpr:K1,startsExpr:h}),parenR:r(")"),comma:r(",",{beforeExpr:K1}),semi:r(";",{beforeExpr:K1}),colon:r(":",{beforeExpr:K1}),doubleColon:r("::",{beforeExpr:K1}),dot:r("."),question:r("?",{beforeExpr:K1}),questionDot:r("?."),arrow:r("=>",{beforeExpr:K1}),template:r("template"),ellipsis:r("...",{beforeExpr:K1}),backQuote:r("`",{startsExpr:h}),dollarBraceL:r("${",{beforeExpr:K1,startsExpr:h}),templateTail:r("...`",{startsExpr:h}),templateNonTail:r("...${",{beforeExpr:K1,startsExpr:h}),at:r("@"),hash:r("#",{startsExpr:h}),interpreterDirective:r("#!..."),eq:r("=",{beforeExpr:K1,isAssign:l0}),assign:r("_=",{beforeExpr:K1,isAssign:l0}),slashAssign:r("_=",{beforeExpr:K1,isAssign:l0}),xorAssign:r("_=",{beforeExpr:K1,isAssign:l0}),moduloAssign:r("_=",{beforeExpr:K1,isAssign:l0}),incDec:r("++/--",{prefix:b2,postfix:jz,startsExpr:h}),bang:r("!",{beforeExpr:K1,prefix:b2,startsExpr:h}),tilde:r("~",{beforeExpr:K1,prefix:b2,startsExpr:h}),doubleCaret:r("^^",{startsExpr:h}),doubleAt:r("@@",{startsExpr:h}),pipeline:x1("|>",0),nullishCoalescing:x1("??",1),logicalOR:x1("||",1),logicalAND:x1("&&",2),bitwiseOR:x1("|",3),bitwiseXOR:x1("^",4),bitwiseAND:x1("&",5),equality:x1("==/!=/===/!==",6),lt:x1("</>/<=/>=",7),gt:x1("</>/<=/>=",7),relational:x1("</>/<=/>=",7),bitShift:x1("<</>>/>>>",8),bitShiftL:x1("<</>>/>>>",8),bitShiftR:x1("<</>>/>>>",8),plusMin:r("+/-",{beforeExpr:K1,binop:9,prefix:b2,startsExpr:h}),modulo:r("%",{binop:10,startsExpr:h}),star:r("*",{binop:10}),slash:x1("/",10),exponent:r("**",{beforeExpr:K1,binop:11,rightAssociative:!0}),_in:B1("in",{beforeExpr:K1,binop:7}),_instanceof:B1("instanceof",{beforeExpr:K1,binop:7}),_break:B1("break"),_case:B1("case",{beforeExpr:K1}),_catch:B1("catch"),_continue:B1("continue"),_debugger:B1("debugger"),_default:B1("default",{beforeExpr:K1}),_else:B1("else",{beforeExpr:K1}),_finally:B1("finally"),_function:B1("function",{startsExpr:h}),_if:B1("if"),_return:B1("return",{beforeExpr:K1}),_switch:B1("switch"),_throw:B1("throw",{beforeExpr:K1,prefix:b2,startsExpr:h}),_try:B1("try"),_var:B1("var"),_const:B1("const"),_with:B1("with"),_new:B1("new",{beforeExpr:K1,startsExpr:h}),_this:B1("this",{startsExpr:h}),_super:B1("super",{startsExpr:h}),_class:B1("class",{startsExpr:h}),_extends:B1("extends",{beforeExpr:K1}),_export:B1("export"),_import:B1("import",{startsExpr:h}),_null:B1("null",{startsExpr:h}),_true:B1("true",{startsExpr:h}),_false:B1("false",{startsExpr:h}),_typeof:B1("typeof",{beforeExpr:K1,prefix:b2,startsExpr:h}),_void:B1("void",{beforeExpr:K1,prefix:b2,startsExpr:h}),_delete:B1("delete",{beforeExpr:K1,prefix:b2,startsExpr:h}),_do:B1("do",{isLoop:s9,beforeExpr:K1}),_for:B1("for",{isLoop:s9}),_while:B1("while",{isLoop:s9}),_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:r("name",{startsExpr:h}),string:r("string",{startsExpr:h}),num:r("num",{startsExpr:h}),bigint:r("bigint",{startsExpr:h}),decimal:r("decimal",{startsExpr:h}),regexp:r("regexp",{startsExpr:h}),privateName:r("#name",{startsExpr:h}),eof:r("eof"),jsxName:r("jsxName"),jsxText:r("jsxText",{beforeExpr:!0}),jsxTagStart:r("jsxTagStart",{startsExpr:!0}),jsxTagEnd:r("jsxTagEnd"),placeholder:r("%%",{startsExpr:!0})};I2[8].updateContext=(J)=>{J.pop()},I2[5].updateContext=I2[7].updateContext=I2[23].updateContext=(J)=>{J.push(q1.brace)},I2[22].updateContext=(J)=>{if(J[J.length-1]===q1.template)J.pop();else J.push(q1.template)},I2[142].updateContext=(J)=>{J.push(q1.j_expr,q1.j_oTag)};var F4="\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-\u1C88\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-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\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",NG="\u200C\u200D\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\u0898-\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",bz=new RegExp("["+F4+"]"),vz=new RegExp("["+F4+NG+"]");F4=NG=null;var wG=[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,68,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,349,41,7,1,79,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,159,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,264,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,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,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,757,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],gz=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239],R4={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"]},_z=new Set(R4.keyword),uz=new Set(R4.strict),hz=new Set(R4.strictBind),mz=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 u5{constructor(J){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=J}}class h5{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 u5(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(M.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 gG extends u5{constructor(...J){super(...J);this.declareFunctions=new Set}}class _G extends h5{createScope(J){return new gG(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 uG{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 yG extends uG{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)hG(J.leadingNode,G);if(J.trailingNode!==null)lz(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":i0(X,X.properties,J);break;case"CallExpression":case"OptionalCallExpression":i0(X,X.arguments,J);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":i0(X,X.params,J);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":i0(X,X.elements,J);break;case"ExportNamedDeclaration":case"ImportDeclaration":i0(X,X.specifiers,J);break;default:t0(X,G)}else t0(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 iz=/\r\n|[\r\n\u2028\u2029]/,E5=new RegExp(iz.source,"g"),t9=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,n9=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;class B4{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=[q1.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 L2(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 L2(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const J=new B4;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 pz=function J(G){return G>=48&&G<=57},fG={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},k5={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},sz=new Set([103,109,115,105,121,117,100,118]);class S2{constructor(J){this.type=J.type,this.value=J.value,this.start=J.start,this.end=J.end,this.loc=new s0(J.startLoc,J.endLoc)}}class cG extends yG{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(M.InvalidDigit,a0(X,H,V),{radix:Z}),!0},numericSeparatorInEscapeSequence:this.errorBuilder(M.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(M.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(M.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(M.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(X,H,V)=>{this.recordStrictModeErrors(M.StrictNumericEscape,a0(X,H,V))},unterminated:(X,H,V)=>{throw this.raise(M.UnterminatedString,a0(X-1,H,V))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(M.StrictNumericEscape),unterminated:(X,H,V)=>{throw this.raise(M.UnterminatedTemplate,a0(X,H,V))}}),this.state=new B4,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 S2(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 t9.lastIndex=J,t9.test(this.input)?t9.lastIndex:J}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(J){return n9.lastIndex=J,n9.test(this.input)?n9.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(M.UnterminatedComment,this.state.curPosition());this.state.pos=H+J.length,E5.lastIndex=X+2;while(E5.test(this.input)&&E5.lastIndex<=H)++this.state.curLine,this.state.lineStart=E5.lastIndex;if(this.isLookahead)return;const V={type:"CommentBlock",value:this.input.slice(X+2,H),start:X,end:H+J.length,loc:new s0(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(!M0(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 s0(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(az(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(M.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?M.RecordExpressionHashIncorrectStartSyntaxType:M.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());if(this.state.pos+=2,G===123)this.finishToken(7);else this.finishToken(1)}else if(A2(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(!M0(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(M.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(M.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(M.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(M.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(A2(J)){this.readWord(J);return}}throw this.raise(M.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(M.UnterminatedRegExp,m1(J,1));const W=this.input.charCodeAt(V);if(M0(W))throw this.raise(M.UnterminatedRegExp,m1(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=()=>m1(J,V+2-G);while(V<this.length){const W=this.codePointAtPos(V),z=String.fromCharCode(W);if(sz.has(W)){if(W===118){if(Q.includes("u"))this.raise(M.IncompatibleRegExpUVFlags,Y())}else if(W===117){if(Q.includes("v"))this.raise(M.IncompatibleRegExpUVFlags,Y())}if(Q.includes(z))this.raise(M.DuplicateRegExpFlags,Y())}else if(D0(W)||W===92)this.raise(M.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}=xG(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(M.InvalidDigit,m1(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(M.InvalidDecimal,G);if(A2(this.codePointAtPos(this.state.pos)))throw this.raise(M.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,Y=!1;if(!J&&this.readInt(10)===null)this.raise(M.InvalidNumber,this.state.curPosition());const W=this.state.pos-G>=2&&this.input.charCodeAt(G)===48;if(W){const f=this.input.slice(G,this.state.pos);if(this.recordStrictModeErrors(M.StrictOctalLiteral,X),!this.state.strict){const j=f.indexOf("_");if(j>0)this.raise(M.ZeroDigitNumericSeparator,m1(X,j))}Y=W&&!/[89]/.test(f)}let z=this.input.charCodeAt(this.state.pos);if(z===46&&!Y)++this.state.pos,this.readInt(10),H=!0,z=this.input.charCodeAt(this.state.pos);if((z===69||z===101)&&!Y){if(z=this.input.charCodeAt(++this.state.pos),z===43||z===45)++this.state.pos;if(this.readInt(10)===null)this.raise(M.InvalidOrMissingExponent,X);H=!0,Q=!0,z=this.input.charCodeAt(this.state.pos)}if(z===110){if(H||W)this.raise(M.InvalidBigIntLiteral,X);++this.state.pos,V=!0}if(z===109){if(this.expectPlugin("decimal",this.state.curPosition()),Q||W)this.raise(M.InvalidDecimal,X);++this.state.pos,Z=!0}if(A2(this.codePointAtPos(this.state.pos)))throw this.raise(M.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 D=Y?parseInt(U,8):parseFloat(U);this.finishToken(134,D)}readCodePoint(J){const{code:G,pos:X}=mG(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}=qG(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}=qG("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 L2(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(D0(V))this.state.pos+=V<=65535?1:2;else if(V===92){this.state.containsEsc=!0,G+=this.input.slice(H,this.state.pos);const Z=this.state.curPosition(),Q=this.state.pos===X?A2:D0;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(M.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(M.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=Z4.get(G);if(X!==void 0)this.finishToken(X,g2(X));else this.finishToken(132,G)}checkKeywordEscapes(){const{type:J}=this.state;if(U4(J)&&this.state.containsEsc)this.raise(M.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:g2(J)})}raise(J,G,X={}){const H=G instanceof L2?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 L2?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(M.UnexpectedToken,J!=null?J:this.state.startLoc,{expected:G?g2(G):null})}expectPlugin(J,G){if(this.hasPlugin(J))return!0;throw this.raise(M.MissingPlugin,G!=null?G:this.state.startLoc,{missingPlugin:[J]})}expectOnePlugin(J){if(!J.some((G)=>this.hasPlugin(G)))throw this.raise(M.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:J})}errorBuilder(J){return(G,X,H)=>{this.raise(J,a0(G,X,H))}}}class lG{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class iG{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 lG)}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(M.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,D=G&3;if(Q=U===D||W!==z,!Q)V.delete(J)}else if(!Q)V.set(J,G)}if(Q)this.parser.raise(M.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(M.InvalidPrivateFieldResolution,G,{identifierName:J})}}class o0{constructor(J=0){this.type=J}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class $4 extends o0{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 aG{constructor(J){this.parser=void 0,this.stack=[new o0],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(M.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 rG{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 dG extends cG{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!(D0(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 OG(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return OG(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(M.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(M.InvalidCoverInitializedName,X);if(H!=null)this.raise(M.DuplicateProto,H);if(V!=null)this.raise(M.UnexpectedPrivateField,V);if(Z!=null)this.unexpected(Z)}isLiteralPropertyName(){return TG(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 rG;const Y=this.classScope;this.classScope=new iG(this);const W=this.expressionScope;return this.expressionScope=new aG(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 d0{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class n0{constructor(J,G,X){if(this.type="",this.start=G,this.end=0,this.loc=new s0(X),J!=null&&J.options.ranges)this.range=[G,0];if(J!=null&&J.filename)this.loc.filename=J.filename}}var D4=n0.prototype;D4.__clone=function(){const J=new n0(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 sG extends dG{startNode(){const J=this.state.startLoc;return new n0(this,J.index,J)}startNodeAt(J){return new n0(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 GK=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),t=C2`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."}),HK={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},ZK=/\*?\s*@((?:no)?flow)\b/,QK=(J)=>class G extends J{constructor(...X){super(...X);this.flowPragma=void 0}getScopeHandler(){return _G}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}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=ZK.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(t.UnexpectedSpaceBetweenModuloChecks,H);if(this.eat(10))return X.value=super.parseExpression(),this.expect(11),this.finishNode(X,"DeclaredPredicate");else return this.finishNode(X,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){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(t.NestedDeclareModule,this.state.lastTokStartLoc);return this.flowParseDeclareModule(X)}else if(this.isContextual(130))return this.flowParseDeclareTypeAlias(X);else if(this.isContextual(131))return this.flowParseDeclareOpaqueType(X);else if(this.isContextual(129))return this.flowParseDeclareInterface(X);else if(this.match(82))return this.flowParseDeclareExportDeclaration(X,H);else this.unexpected()}flowParseDeclareVariable(X){return this.next(),X.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(X.id.name,5,X.id.loc.start),this.semicolon(),this.finishNode(X,"DeclareVariable")}flowParseDeclareModule(X){if(this.scope.enter(0),this.match(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(t.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc);super.parseImport(Y)}else this.expectContextual(125,t.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(XK(Y)){if(Z==="CommonJS")this.raise(t.AmbiguousDeclareModuleKind,Y);Z="ES"}else if(Y.type==="DeclareModuleExports"){if(Q)this.raise(t.DuplicateDeclareModuleExports,Y);if(Z==="ES")this.raise(t.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(t.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:V,suggestion:HK[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(t.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(X,H,V){if(!GK.has(X))return;this.raise(V?t.AssignReservedType:t.UnexpectedReservedType,H,{reservedType:X})}flowParseRestrictedIdentifier(X,H){return this.checkReservedType(this.state.value,this.state.startLoc,H),this.parseIdentifier(X)}flowParseTypeAlias(X){if(X.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(X.id.name,8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;return X.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(X,"TypeAlias")}flowParseOpaqueType(X,H){if(this.expectContextual(130),X.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(X.id.name,8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;if(X.supertype=null,this.match(14))X.supertype=this.flowParseTypeInitialiser(14);if(X.impltype=null,!H)X.impltype=this.flowParseTypeInitialiser(29);return this.semicolon(),this.finishNode(X,"OpaqueType")}flowParseTypeParameter(X=!1){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(t.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,D=!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 j=!1,I=null,g=null;const C=this.startNode();if(Z&&this.isContextual(118)){const E=this.lookahead();if(E.type!==14&&E.type!==17)this.next(),I=this.state.startLoc,X=!1}if(X&&this.isContextual(106)){const E=this.lookahead();if(E.type!==14&&E.type!==17)this.next(),j=!0}const T=this.flowParseVariance();if(this.eat(0)){if(I!=null)this.unexpected(I);if(this.eat(0)){if(T)this.unexpected(T.loc.start);W.internalSlots.push(this.flowParseObjectTypeInternalSlot(C,j))}else W.indexers.push(this.flowParseObjectTypeIndexer(C,j,T))}else if(this.match(10)||this.match(47)){if(I!=null)this.unexpected(I);if(T)this.unexpected(T.loc.start);W.callProperties.push(this.flowParseObjectTypeCallProperty(C,j))}else{let E="init";if(this.isContextual(99)||this.isContextual(104)){const J1=this.lookahead();if(TG(J1.type))E=this.state.value,this.next()}const H1=this.flowParseObjectTypeProperty(C,j,I,T,E,V,Q!=null?Q:!U);if(H1===null)D=!0,g=this.state.lastTokStartLoc;else W.properties.push(H1)}if(this.flowObjectTypeSemicolon(),g&&!this.match(8)&&!this.match(9))this.raise(t.UnexpectedExplicitInexactInObject,g)}if(this.expect(z),V)W.inexact=D;const f=this.finishNode(W,"ObjectTypeAnnotation");return this.state.inType=Y,f}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(t.InexactInsideNonObject,this.state.lastTokStartLoc);else if(!W)this.raise(t.InexactInsideExact,this.state.lastTokStartLoc);if(Z)this.raise(t.InexactVariance,Z);return null}if(!Y)this.raise(t.UnexpectedSpreadType,this.state.lastTokStartLoc);if(V!=null)this.unexpected(V);if(Z)this.raise(t.SpreadVariance,Z);return X.argument=this.flowParseType(),this.finishNode(X,"ObjectTypeSpreadProperty")}else{X.key=this.flowParseObjectPropertyKey(),X.static=H,X.proto=V!=null,X.kind=Q;let z=!1;if(this.match(47)||this.match(10)){if(X.method=!0,V!=null)this.unexpected(V);if(Z)this.unexpected(Z.loc.start);if(X.value=this.flowParseObjectTypeMethodish(this.startNodeAt(X.loc.start)),Q==="get"||Q==="set")this.flowCheckGetterSetterParams(X);if(!Y&&X.key.name==="constructor"&&X.value.this)this.raise(t.ThisParamBannedInConstructor,X.value.this)}else{if(Q!=="init")this.unexpected();if(X.method=!1,this.eat(17))z=!0;X.value=this.flowParseTypeInitialiser(),X.variance=Z}return X.optional=z,this.finishNode(X,"ObjectTypeProperty")}}flowCheckGetterSetterParams(X){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"?t.GetterMayNotHaveThisParam:t.SetterMayNotHaveThisParam,X.value.this);if(V!==H)this.raise(X.kind==="get"?M.BadGetterArity:M.BadSetterArity,X);if(X.kind==="set"&&X.value.rest)this.raise(M.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(t.ThisParamMustBeFirst,Q);if(H=this.parseIdentifier(W),this.eat(17)){if(V=!0,W)this.raise(t.ThisParamMayNotBeOptional,Q)}Z=this.flowParseTypeInitialiser()}else Z=this.flowParseType();return Q.name=H,Q.optional=V,Q.typeAnnotation=Z,this.finishNode(Q,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(X){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(O1(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(t.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(U4(this.state.type)){const W=g2(this.state.type);return this.next(),super.createIdentifier(H,W)}else if(O1(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(W2(V.type)){const Z=this.startNode();return this.next(),this.flowParseInterface(Z)}}else if(this.shouldParseEnums()&&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)||O1(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(X)}else if(O1(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(MG(X)||this.shouldParseEnums()&&X===126)return!this.state.containsEsc;return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:X}=this.state;if(MG(X)||this.shouldParseEnums()&&X===126)return this.state.containsEsc;return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&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 f=this.lookaheadCharCode();if(f===44||f===61||f===58||f===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,D]=this.getArrowLikeExpressions(W);if(z||D.length>0){const f=[...Q];if(D.length>0){this.state=Z,this.state.noArrowAt=f;for(let j=0;j<D.length;j++)f.push(D[j].start);({consequent:W,failed:z}=this.tryParseConditionalConsequent()),[U,D]=this.getArrowLikeExpressions(W)}if(z&&U.length>1)this.raise(t.AmbiguousConditionalArrow,Z.startLoc);if(z&&U.length===1)this.state=Z,f.push(U[0].start),this.state.noArrowAt=f,{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 VK(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.shouldParseEnums()&&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(t.DeclareClassElement,Z);else if(H.value)this.raise(t.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(M.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(xz(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(t.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(t.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(t.ThisParamBannedInConstructor,H)}}pushClassPrivateMethod(X,H,V,Z){if(H.variance)this.unexpected(H.variance.loc.start);if(delete H.variance,this.match(47))H.typeParameters=this.flowParseTypeParameterDeclaration();super.pushClassPrivateMethod(X,H,V,Z)}parseClassSuper(X){if(super.parseClassSuper(X),X.superClass&&this.match(47))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(t.GetterMayNotHaveThisParam,V);else if(this.isThisParam(V))this.raise(t.SetterMayNotHaveThisParam,V)}}parsePropertyNamePrefixOperator(X){X.variance=this.flowParseVariance()}parseObjPropValue(X,H,V,Z,Q,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}parseAssignableListItemTypes(X){if(this.eat(17)){if(X.type!=="Identifier")this.raise(t.PatternIsOptional,X);if(this.isThisParam(X))this.raise(t.ThisParamMayNotBeOptional,X);X.optional=!0}if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();else if(this.isThisParam(X))this.raise(t.ThisParamAnnotationRequired,X);if(this.match(29)&&this.isThisParam(X))this.raise(t.ThisParamNoDefault,X);return this.resetEndLocation(X),X}parseMaybeDefault(X,H){const V=super.parseMaybeDefault(X,H);if(V.type==="AssignmentPattern"&&V.typeAnnotation&&V.right.start<V.typeAnnotation.start)this.raise(t.TypeBeforeInitializer,V.typeAnnotation);return V}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(t.ImportReflectionHasImportType,X.specifiers[0].loc.start)}parseImportSpecifierLocal(X,H,V){H.local=jG(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 D=this.parseIdentifier(!0);if(W!==null&&!W2(this.state.type))X.imported=D,X.importKind=W,X.local=P2(D);else X.imported=Y,X.importKind=null,X.local=this.parseIdentifier()}else{if(W!==null&&W2(this.state.type))X.imported=this.parseIdentifier(!0),X.importKind=W;else{if(H)throw this.raise(M.ImportBindingIsString,X,{importName:Y.value});X.imported=Y,X.importKind=null}if(this.eatContextual(93))X.local=this.parseIdentifier();else z=!0,X.local=P2(X.imported)}const U=jG(X);if(V&&U)this.raise(t.ImportTypeShorthandOnlyInPureImport,X);if(V||U)this.checkReservedType(X.local.name,X.local.loc.start,!0);if(z&&!V&&!U)this.checkReservedWord(X.local.name,X.loc.start,!0,!0);return this.finishImportSpecifier(X,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(X,H){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===q1.j_oTag||U===q1.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((f)=>{var j;z=this.flowParseTypeParameterDeclaration();const I=this.forwardNoArrowParamsConversionAt(z,()=>{const C=super.parseMaybeAssign(X,H);return this.resetStartLocationFromNode(C,z),C});if((j=I.extra)!=null&&j.parenthesized)f();const g=this.maybeUnwrapTypeCastExpression(I);if(g.type!=="ArrowFunctionExpression")f();return g.typeParameters=z,this.resetStartLocationFromNode(g,z),I},Z);let D=null;if(U.node&&this.maybeUnwrapTypeCastExpression(U.node).type==="ArrowFunctionExpression"){if(!U.error&&!U.aborted){if(U.node.async)this.raise(t.UnexpectedTypeParameterBeforeAsyncArrowFunction,z);return U.node}D=U.node}if((Y=Q)!=null&&Y.node)return this.state=Q.failState,Q.node;if(D)return this.state=U.failState,D;if((W=Q)!=null&&W.thrown)throw Q.error;if(U.thrown)throw U.error;throw this.raise(t.UnexpectedTokenAfterTypeParameter,z)}return super.parseMaybeAssign(X,H)}parseArrow(X){if(this.match(14)){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(t.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(t.UnterminatedFlowComment,this.state.curPosition());return V}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(t.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();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(M.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(X,{enumName:H,memberName:V}){this.raise(t.EnumBooleanMemberNotInitialized,X,{memberName:V,enumName:H})}flowEnumErrorInvalidMemberInitializer(X,H){return this.raise(!H.explicitType?t.EnumInvalidMemberInitializerUnknownType:H.explicitType==="symbol"?t.EnumInvalidMemberInitializerSymbolType:t.EnumInvalidMemberInitializerPrimaryType,X,H)}flowEnumErrorNumberMemberNotInitialized(X,H){this.raise(t.EnumNumberMemberNotInitialized,X,H)}flowEnumErrorStringMemberInconsistentlyInitialized(X,H){this.raise(t.EnumStringMemberInconsistentlyInitialized,X,H)}flowEnumMemberInit(){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(t.EnumInvalidMemberName,W,{memberName:U,suggestion:U[0].toUpperCase()+U.slice(1),enumName:X});if(V.has(U))this.raise(t.EnumDuplicateMemberName,W,{memberName:U,enumName:X});V.add(U);const D={enumName:X,explicitType:H,memberName:U};switch(Y.id=W,z.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(z.loc,D,"boolean"),Y.init=z.value,Z.booleanMembers.push(this.finishNode(Y,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(z.loc,D,"number"),Y.init=z.value,Z.numberMembers.push(this.finishNode(Y,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(z.loc,D,"string"),Y.init=z.value,Z.stringMembers.push(this.finishNode(Y,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(z.loc,D);case"none":switch(H){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(z.loc,D);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(z.loc,D);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(!O1(this.state.type))throw this.raise(t.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:X});const{value:H}=this.state;if(this.next(),H!=="boolean"&&H!=="number"&&H!=="string"&&H!=="symbol")this.raise(t.EnumInvalidExplicitType,this.state.startLoc,{enumName:X,invalidEnumType:H});return H}flowEnumBody(X,H){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,D=Y.numberMembers.length,f=Y.stringMembers.length,j=Y.defaultedMembers.length;if(!U&&!D&&!f&&!j)return z();else if(!U&&!D)return X.members=this.flowEnumStringMembers(Y.stringMembers,Y.defaultedMembers,{enumName:V}),this.expect(8),this.finishNode(X,"EnumStringBody");else if(!D&&!f&&U>=j){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&&!f&&D>=j){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(t.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}},YK={__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"},d2=C2`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 <>...</>?"}),WK=(J)=>class G extends J{jsxReadToken(){let X="",H=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(d2.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(M0(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(M.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(M0(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=YK[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(D0(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(U4(this.state.type))X.name=g2(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(q1.brace),this.next(),X=this.jsxParseExpressionContainer(X,q1.j_oTag),X.expression.type==="JSXEmptyExpression")this.raise(d2.AttributeIsEmpty,X);return X;case 142:case 133:return this.parseExprAtom();default:throw this.raise(d2.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(q1.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadChild")}jsxParseExpressionContainer(X,H){if(this.match(8))X.expression=this.jsxParseEmptyExpression();else{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(q1.brace),this.next(),this.expect(21),X.argument=this.parseMaybeAssignAllowIn(),this.setContext(q1.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadAttribute");return X.name=this.jsxParseNamespacedName(),X.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(X,"JSXAttribute")}jsxParseOpeningElementAt(X){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(q1.brace),this.next(),this.match(21))V.push(this.jsxParseSpreadChild(Y));else V.push(this.jsxParseExpressionContainer(Y,q1.j_expr));break}default:this.unexpected()}if(v2(Z)&&!v2(Q)&&Q!==null)this.raise(d2.MissingClosingTagFragment,Q);else if(!v2(Z)&&v2(Q))this.raise(d2.MissingClosingTagElement,Q,{openingTagName:$0(Z.name)});else if(!v2(Z)&&!v2(Q)){if($0(Q.name)!==$0(Z.name))this.raise(d2.MissingClosingTagElement,Q,{openingTagName:$0(Z.name)})}}if(v2(Z))H.openingFragment=Z,H.closingFragment=Q;else H.openingElement=Z,H.closingElement=Q;if(H.children=V,this.match(47))throw this.raise(d2.UnwrappedAdjacentJSXElements,this.state.startLoc);return v2(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===q1.j_expr){this.jsxReadToken();return}if(H===q1.j_oTag||H===q1.j_cTag){if(A2(X)){this.jsxReadWord();return}if(X===62){++this.state.pos,this.finishToken(143);return}if((X===34||X===39)&&H===q1.j_oTag){this.jsxReadString(X);return}}if(X===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(142);return}super.getTokenFromCode(X)}updateContext(X){const{context:H,type:V}=this.state;if(V===56&&X===142)H.splice(-2,2,q1.j_cTag),this.state.canStartJSXElement=!1;else if(V===142)H.push(q1.j_oTag);else if(V===143){const Z=H[H.length-1];if(Z===q1.j_oTag&&X===56||Z===q1.j_cTag)H.pop(),this.state.canStartJSXElement=H[H.length-1]===q1.j_expr;else this.setContext(q1.j_expr),this.state.canStartJSXElement=!0}else this.state.canStartJSXElement=Az(V)}};class tG extends u5{constructor(...J){super(...J);this.tsNames=new Map}}class nG extends h5{constructor(...J){super(...J);this.importsStack=[]}createScope(J){return this.importsStack.push(new Set),new tG(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(M.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 oG=(J)=>{return J.type==="ParenthesizedExpression"?oG(J.expression):J};class eG extends sG{toAssignable(J,G=!1){var X,H;let V=void 0;if(J.type==="ParenthesizedExpression"||(X=J.extra)!=null&&X.parenthesized)if(V=oG(J),G){if(V.type==="Identifier")this.expressionScope.recordArrowParameterBindingError(M.InvalidParenthesizedAssignment,J);else if(V.type!=="MemberExpression"&&!this.isOptionalMemberExpression(V))this.raise(M.InvalidParenthesizedAssignment,J)}else this.raise(M.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(M.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(M.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"?M.PatternHasAccessor:M.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(M.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(M.RestTrailingComma,Z);else if(G)this.raise(M.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)){if(V.push(this.parseAssignableListItemTypes(this.parseRestBinding(),X)),!this.checkCommaAfterRest(G)){this.expect(J);break}}else{const Q=[];if(this.match(26)&&this.hasPlugin("decorators"))this.raise(M.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();this.parseAssignableListItemTypes(X,J);const H=this.parseMaybeDefault(X.loc.start,X);if(G.length)X.decorators=G;return H}parseAssignableListItemTypes(J,G){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(M.InvalidLhsOptionalChaining,J,{ancestor:G})}if(X!==64)this.raise(M.InvalidPropertyBindingPattern,J);return}if(Y==="Identifier"){this.checkIdentifier(J,X,V);const{name:I}=J;if(H)if(H.has(I))this.raise(M.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?M.InvalidLhs:M.InvalidLhsBinding;this.raise(I,J,{ancestor:G});return}let U,D;if(typeof z==="string")U=z,D=Y==="ParenthesizedExpression";else[U,D]=z;const f=Y==="ArrayPattern"||Y==="ObjectPattern"?{type:Y}:G,j=J[U];if(Array.isArray(j)){for(let I of j)if(I)this.checkLVal(I,f,X,H,V,D)}else if(j)this.checkLVal(j,f,X,H,V,D)}checkIdentifier(J,G,X=!1){if(this.state.strict&&(X?vG(J.name,this.inModule):bG(J.name)))if(G===64)this.raise(M.StrictEvalArguments,J,{referenceName:J.name});else this.raise(M.StrictEvalArgumentsBinding,J,{bindingName:J.name});if(G&8192&&J.name==="let")this.raise(M.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(M.InvalidRestAssignmentPattern,J)}}checkCommaAfterRest(J){if(!this.match(12))return!1;return this.raise(this.lookaheadCharCode()===J?M.RestTrailingComma:M.ElementAfterRest,this.state.startLoc),!0}}var i=C2`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.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"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}.`}),FK=(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:i.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:i.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:i.InvalidModifierOnTypeParameter})}getScopeHandler(){return nG}tsIsIdentifier(){return O1(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(X,H){if(!O1(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=i.InvalidModifierOnTypeMember},Q){const Y=(z,U,D,f)=>{if(U===D&&Q[f])this.raise(i.InvalidModifiersOrder,z,{orderedModifiers:[D,f]})},W=(z,U,D,f)=>{if(Q[D]&&U===f||Q[f]&&U===D)this.raise(i.IncompatibleModifiers,z,{modifiers:[D,f]})};for(;;){const{startLoc:z}=this.state,U=this.tsParseModifier(X.concat(H!=null?H:[]),V);if(!U)break;if(IG(U))if(Q.accessibility)this.raise(i.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(UK(U)){if(Q[U])this.raise(i.DuplicateModifier,z,{modifier:U});Q[U]=!0,Y(z,U,"in","out")}else{if(hasOwnProperty.call(Q,U))this.raise(i.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 zK(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(i.UnsupportedImportTypeArgument,this.state.startLoc);if(X.argument=super.parseExprAtom(),this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))X.options=null;if(this.eat(12)){if(this.expectImportAttributesPlugin(),!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(i.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(i.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(),O1(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(i.ReadonlyForMethodSignature,X);const Z=V;if(Z.kind&&this.match(47))this.raise(i.AccesorCannotHaveTypeParameters,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(M.BadGetterArity,this.state.curPosition()),this.isThisParam(Z[Q][0]))this.raise(i.AccesorCannotDeclareThisParameter,this.state.curPosition())}}else if(Z.kind==="set"){if(Z[Q].length!==1)this.raise(M.BadSetterArity,this.state.curPosition());else{const W=Z[Q][0];if(this.isThisParam(W))this.raise(i.AccesorCannotDeclareThisParameter,this.state.curPosition());if(W.type==="Identifier"&&W.optional)this.raise(i.SetAccesorCannotHaveOptionalParameter,this.state.curPosition());if(W.type==="RestElement")this.raise(i.SetAccesorCannotHaveRestParameter,this.state.curPosition())}if(Z[Y])this.raise(i.SetAccesorCannotHaveReturnType,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)}tsParseMappedTypeParameter(){const X=this.startNode();return X.name=this.tsParseTypeParameterName(),X.constraint=this.tsExpectThenParseType(58),this.finishNode(X,"TSTypeParameter")}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;if(this.expect(0),X.typeParameter=this.tsParseMappedTypeParameter(),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(i.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=W2(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,D=this.state.value,f=this.tsParseNonArrayType();if(this.lookaheadCharCode()===58)V=!0,Z=this.createIdentifier(this.startNodeAt(U),D),this.expect(17),this.expect(14),Y=this.tsParseType();else V=!1,Y=f,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(i.TupleOptionalAfterType,this.state.lastTokStartLoc)}else U=this.startNodeAtNode(Y),U.optional=Q,this.raise(i.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(O1(X)||X===88||X===84){const H=X===88?"TSVoidKeyword":X===84?"TSNullKeyword":KK(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(i.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 wz(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(O1(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(),!O1(this.state.type)&&!this.match(78))return!1;if(X)this.raise(M.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(){SG(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(i.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(i.EmptyHeritageClauseType,H,{token:X});return V}tsParseInterfaceDeclaration(X,H={}){if(this.hasFollowingLineBreak())return null;if(this.expectContextual(129),H.declare)X.declare=!0;if(O1(this.state.type))X.id=this.parseIdentifier(),this.checkIdentifier(X.id,130);else X.id=null,this.raise(i.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(i.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(O1(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)||O1(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(O1(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(X)}break;case"namespace":if(this.tsCheckLineTerminator(V)&&O1(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(X);break;case"type":if(this.tsCheckLineTerminator(V)&&O1(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(i.EmptyTypeArguments,X);else if(!this.state.inType&&this.curContext()===q1.brace)this.reScan_lt_gt();return this.expect(48),this.finishNode(X,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Ez(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(i.UnexpectedParameterModifier,V);const z=this.parseMaybeDefault();this.parseAssignableListItemTypes(z,X);const U=this.parseMaybeDefault(z.loc.start,z);if(Q||W||Y){const D=this.startNodeAt(V);if(H.length)D.decorators=H;if(Q)D.accessibility=Q;if(W)D.readonly=W;if(Y)D.override=Y;if(U.type!=="Identifier"&&U.type!=="AssignmentPattern")this.raise(i.UnsupportedParameterPropertyKind,D);return D.parameter=U,this.finishNode(D,"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(i.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(i.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(i.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 f=this.tsTryParseGenericAsyncArrowFunction(H);if(f)return f}const z=this.tsParseTypeArgumentsInExpression();if(!z)return;if(Q&&!this.match(10)){Y=this.state.curPosition();return}if(_5(this.state.type)){const f=super.parseTaggedTemplateExpression(X,H,Z);return f.typeParameters=z,f}if(!V&&this.eat(10)){const f=this.startNodeAt(H);if(f.callee=X,f.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(f.arguments),f.typeParameters=z,Z.optionalChainMember)f.optional=Q;return this.finishCallExpression(f,Z.optionalChainMember)}const U=this.state.type;if(U===48||U===52||U!==10&&G4(U)&&!this.hasPrecedingLineBreak())return;const D=this.startNodeAt(H);return D.expression=X,D.typeParameters=z,this.finishNode(D,"TSInstantiationExpression")});if(Y)this.unexpected(Y,10);if(W){if(W.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40))this.raise(i.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(v5(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(M.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(i.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(O1(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(i.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(i.InitializerNotAllowedInAmbientContext,W);else if(!BK(W,this.hasPlugin("estree")))this.raise(i.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,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(IG(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:i.InvalidModifierOnTypeParameterPositions},H);const Q=()=>{if(this.tsIsStartOfStaticBlocks()){if(this.next(),this.next(),this.tsHasSomeModifiers(H,Z))this.raise(i.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(i.IndexSignatureHasAbstract,H);if(H.accessibility)this.raise(i.IndexSignatureHasAccessibility,H,{modifier:H.accessibility});if(H.declare)this.raise(i.IndexSignatureHasDeclare,H);if(H.override)this.raise(i.IndexSignatureHasOverride,H);return}if(!this.state.inAbstractClass&&H.abstract)this.raise(i.NonAbstractClassHasAbstractMethod,H);if(H.override){if(!V.hadSuperClass)this.raise(i.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(i.ClassMethodHasReadonly,X);if(X.declare&&this.match(10))this.raise(i.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(i.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const Q=O1(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(i.DeclareClassFieldHasInitializer,this.state.startLoc);if(X.abstract&&this.match(29)){const{key:H}=X;this.raise(i.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(i.PrivateElementHasAbstract,X);if(X.accessibility)this.raise(i.PrivateElementHasAccessibility,X,{modifier:X.accessibility});return this.parseClassPropertyAnnotation(X),super.parseClassPrivateProperty(X)}parseClassAccessorProperty(X){if(this.parseClassPropertyAnnotation(X),X.optional)this.raise(i.AccessorCannotBeOptional,X);return super.parseClassAccessorProperty(X)}pushClassMethod(X,H,V,Z,Q,Y){const W=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(W&&Q)this.raise(i.ConstructorHasTypeParameters,W);const{declare:z=!1,kind:U}=H;if(z&&(U==="get"||U==="set"))this.raise(i.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,D;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,g=I[I.length-1];if(g===q1.j_oTag||g===q1.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 f;const j=this.tryParse((I)=>{var g,C;f=this.tsParseTypeParameters(this.tsParseConstModifier);const T=super.parseMaybeAssign(X,H);if(T.type!=="ArrowFunctionExpression"||(g=T.extra)!=null&&g.parenthesized)I();if(((C=f)==null?void 0:C.params.length)!==0)this.resetStartLocationFromNode(T,f);return T.typeParameters=f,T},z);if(!j.error&&!j.aborted){if(f)this.reportReservedArrowTypeParam(f);return j.node}if(!U){if(SG(!this.hasPlugin("jsx")),D=this.tryParse(()=>super.parseMaybeAssign(X,H),z),!D.error)return D.node}if((Z=U)!=null&&Z.node)return this.state=U.failState,U.node;if(j.node){if(this.state=j.failState,f)this.reportReservedArrowTypeParam(f);return j.node}if((Q=D)!=null&&Q.node)return this.state=D.failState,D.node;throw((Y=U)==null?void 0:Y.error)||j.error||((W=D)==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(i.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)}parseAssignableListItemTypes(X,H){if(!(H&2))return X;if(this.eat(17))X.optional=!0;const V=this.tsTryParseTypeAnnotation();if(V)X.typeAnnotation=V;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(i.UnexpectedTypeCastInParameter,X);else this.raise(i.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(i.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(i.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:D}=z;this.raise(i.AbstractMethodHasImplementation,z,{methodName:D.type==="Identifier"&&!z.computed?D.name:`[${this.input.slice(D.start,D.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 D=Y.loc.start;if(this.isContextual(93)){const j=this.parseIdentifier();if(this.isContextual(93)){const I=this.parseIdentifier();if(W2(this.state.type))z=!0,Y=j,W=H?this.parseIdentifier():this.parseModuleExportName(),U=!1;else W=I,U=!1}else if(W2(this.state.type))U=!1,W=H?this.parseIdentifier():this.parseModuleExportName();else z=!0,Y=j}else if(W2(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?i.TypeModifierIsUsedInTypeImports:i.TypeModifierIsUsedInTypeExports,D);X[Z]=Y,X[Q]=W;const f=H?"importKind":"exportKind";if(X[f]=z?"type":"value",U&&this.eatContextual(93))X[Q]=H?this.parseIdentifier():this.parseModuleExportName();if(!X[Q])X[Q]=P2(X[Z]);if(H)this.checkIdentifier(X[Q],z?4098:4096)}},AG=C2`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),DK=(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(AG.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(g2(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(AG.UnexpectedSpace,this.state.lastTokEndLoc)}},MK=(J)=>class G extends J{parseV8Intrinsic(){if(this.match(54)){const X=this.state.startLoc,H=this.startNode();if(this.next(),O1(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)}},CG=["minimal","fsharp","hack","smart"],LG=["^^","@@","^","%","#"],XX={estree:qz,jsx:WK,flow:QK,typescript:FK,v8intrinsic:MK,placeholders:DK},fK=Object.keys(XX),o9={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 HX extends eG{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(M.RecordNoProto,V);return}if(X.used)if(H){if(H.doubleProtoLoc===null)H.doubleProtoLoc=V.loc.start}else this.raise(M.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 d0,H=!0;const{type:V}=this.state;if(V===10||O1(V))this.state.potentialArrowAt=this.state.start;let Z=this.parseMaybeConditional(J);if(G)Z=G.call(this,Z,X);if(Cz(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>=v5(58)||!this.prodParam.hasIn||!this.match(58))this.raise(M.PrivateInExpectedIn,J,{identifierName:V});this.classScope.usePrivateName(V,J.loc.start)}const H=this.state.type;if(Pz(H)&&(this.prodParam.hasIn||!this.match(58))){let V=v5(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=v5(42);if(this.next(),H===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait)throw this.raise(M.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(M.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(M.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,kz(J)?G-1:G)}parseHackPipeBody(){var J;const{startLoc:G}=this.state,X=this.parseMaybeAssign();if($z.has(X.type)&&!((J=X.extra)!=null&&J.parenthesized))this.raise(M.PipeUnparenthesizedBody,G,{type:X.type});if(!this.topicReferenceWasUsedInCurrentContext())this.raise(M.PipeTopicUnused,G);return X}checkExponentialAfterUnary(J){if(this.match(57))this.raise(M.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(Nz(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(M.StrictDelete,Z);else if(this.hasPropertyAsPrivateName(W))this.raise(M.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")?G4(Y):G4(Y)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(M.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(Tz(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(_5(V))return this.parseTaggedTemplateExpression(J,G,H);let Z=!1;if(V===18){if(X){if(this.raise(M.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(M.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(oz()),Z=new d0;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(M.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}expectImportAttributesPlugin(){if(!this.hasPlugin("importAssertions"))this.expectPlugin("importAttributes")}finishCallExpression(J,G){if(J.callee.type==="Import"){if(J.arguments.length===2){if(!this.hasPlugin("moduleAttributes"))this.expectImportAttributesPlugin()}if(J.arguments.length===0||J.arguments.length>2)this.raise(M.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(M.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(M.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)t0(J,G.innerComments);if(G.callee.trailingComments)t0(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(M.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 136:return this.parseDecimalLiteral(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(M.UnsupportedBind,V)}case 138:return this.raise(M.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(A2(V)||V===62)this.expectOnePlugin(["jsx","flow","typescript"]);else this.unexpected();break}default:if(O1(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(O1(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=m1(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"?M.PrimaryTopicNotAllowed:M.PipeTopicUnbound,G);return this.registerTopicReference(),this.finishNode(J,V)}else throw this.raise(M.PipeTopicUnconfiguredToken,G,{token:g2(H)})}testTopicReferenceConfiguration(J,G,X){switch(J){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:g2(X)}]);case"smart":return X===27;default:throw this.raise(M.PipeTopicRequiresHackPipes,G)}}parseAsyncArrowUnaryFunction(J){this.prodParam.enter(g5(!0,this.prodParam.hasYield));const G=[this.parseIdentifier()];if(this.prodParam.exit(),this.hasPrecedingLineBreak())this.raise(M.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(M.SuperNotAllowed,J);else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod)this.raise(M.UnexpectedSuper,J);if(!this.match(10)&&!this.match(0)&&!this.match(16))this.raise(M.UnsupportedSuper,J);return this.finishNode(J,"Super")}parsePrivateName(){const J=this.startNode(),G=this.startNodeAt(m1(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(M.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(M.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(M.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(nz());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 d0;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 j=this.state.startLoc;if(z=this.state.startLoc,Q.push(this.parseParenItem(this.parseRestBinding(),j)),!this.checkCommaAfterRest(41))break}else Q.push(this.parseMaybeAssignAllowIn(Y,this.parseParenItem))}const D=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=H,this.state.inFSharpPipelineDirectBody=V;let f=this.startNodeAt(G);if(J&&this.shouldParseArrow(Q)&&(f=this.parseArrow(f)))return this.checkDestructuringPrivate(Y),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,Q,!1),f;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,D);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(M.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(M.ImportCallNotNewExpression,X)}parseTemplateElement(J){const{start:G,startLoc:X,end:H,value:V}=this.state,Z=G+1,Q=this.startNodeAt(m1(X,1));if(V===null){if(!J)this.raise(M.InvalidEscapeSequenceTemplate,m1(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,m1(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(M.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(M.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(M.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"?M.BadGetterArity:M.BadSetterArity,J);if(J.kind==="set"&&((G=H[H.length-1])==null?void 0:G.type)==="RestElement")this.raise(M.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,P2(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(M.InvalidCoverInitializedName,V);J.value=this.parseMaybeDefault(G,P2(J.key))}else J.value=P2(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(W2(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 136:V=this.parseDecimalLiteral(H);break;case 138:{const Z=this.state.startLoc;if(G!=null){if(G.privateKeyLoc===null)G.privateKeyLoc=Z}else this.raise(M.UnexpectedPrivateField,Z);V=this.parsePrivateName();break}default: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(g5(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=g5(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(pG()),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(M.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(M.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(M.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(W2(H))G=this.state.value;else this.unexpected();const V=Iz(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(!cz(J))return;if(X&&yz(J)){this.raise(M.UnexpectedKeyword,G,{keyword:J});return}if((!this.state.strict?EG:H?vG:kG)(J,this.inModule)){this.raise(M.UnexpectedReservedWord,G,{reservedWord:J});return}else if(J==="yield"){if(this.prodParam.hasYield){this.raise(M.YieldBindingIdentifier,G);return}}else if(J==="await"){if(this.prodParam.hasAwait){this.raise(M.AwaitBindingIdentifier,G);return}if(this.scope.inStaticBlock){this.raise(M.AwaitBindingIdentifierInStaticBlock,G);return}this.expressionScope.recordAsyncArrowParametersError(G)}else if(J==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(M.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(M.AwaitExpressionFormalParameter,G),this.eat(55))this.raise(M.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||_5(J)||J===102&&!this.state.containsEsc||J===137||J===56||this.hasPlugin("v8intrinsic")&&J===54}parseYield(){const J=this.startNode();this.expressionScope.recordParameterInitializerError(M.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.expectImportAttributesPlugin(),!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(M.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(M.PipelineBodyNoArrow,this.state.startLoc);if(!this.topicReferenceWasUsedInCurrentContext())this.raise(M.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 e9={kind:1},jK={kind:2},SK=/[\uD800-\uDFFF]/u,J4=/in(?:stanceof)?/y;class VX extends HX{parseTopLevel(J,G){if(J.program=this.parseProgram(G),J.comments=this.comments,this.options.tokens)J.tokens=IK(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(M.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",m1(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(A2(J)){if(J4.lastIndex=G,J4.test(this.input)){const X=this.codePointAtPos(J4.lastIndex);if(!D0(X)&&X!==92)return!1}return!0}else if(J===92)return!0;else return!1}chStartsBindingPattern(J){return J===91||J===123}hasFollowingBindingAtom(){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(O1(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?M.StrictFunction:this.options.annexB?M.SloppyFunctionAnnexB:M.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(M.AwaitUsingNotInAsyncContext,H);else if(!V)this.raise(M.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(M.UnexpectedUsingDeclaration,this.state.startLoc);else if(!V)this.raise(M.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(M.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(M.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(M.AsyncFunctionInSingleStatementContext,this.state.startLoc);return this.next(),this.parseFunctionStatement(H,!0,!V&&Z)}}const Y=this.state.value,W=this.parseExpression();if(O1(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(M.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(M.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(M.DecoratorExportClass,this.state.startLoc)}else if(!this.canHaveLeadingDecorator())throw this.raise(M.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(M.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(M.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(e9),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(e9);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 D;if(Y){if(D="await using",!this.recordAwaitIfAllowed())this.raise(M.AwaitUsingNotInAsyncContext,this.state.startLoc);this.next()}else D=this.state.value;this.next(),this.parseVar(U,!0,D);const f=this.finishNode(U,"VariableDeclaration"),j=this.match(58);if(j&&W)this.raise(M.ForInUsing,f);if((j||this.isContextual(102))&&f.declarations.length===1)return this.parseForIn(J,f,G);if(G!==null)this.unexpected(G);return this.parseFor(J,f)}}const H=this.isContextual(95),V=new d0,Z=this.parseExpression(!0,V),Q=this.isContextual(102);if(Q){if(X)this.raise(M.ForOfLet,Z);if(G===null&&H&&Z.type==="Identifier")this.raise(M.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(M.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(jK),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(M.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(M.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(M.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(e9),J.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(J,"WhileStatement")}parseWithStatement(J){if(this.state.strict)this.raise(M.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(M.LabelRedeclaration,X,{labelName:G});const V=Lz(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(M.ForInOfLoopInitializer,G,{type:H?"ForInStatement":"ForOfStatement"});if(G.type==="AssignmentPattern")this.raise(M.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(M.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"});else if((X==="const"||X==="using"||X==="await using")&&!(this.match(58)||this.isContextual(102)))this.raise(M.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(M.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(M.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(g5(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||O1(this.state.type)?this.parseIdentifier():null}parseFunctionParams(J,G){this.expect(10),this.expressionScope.enter(tz()),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(M.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(M.DecoratorConstructor,Z)}}),this.state.strict=G,this.next(),H.length)throw this.raise(M.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 C=this.match(138);if(this.parseClassElementName(z),C){this.pushClassPrivateMethod(J,Z,!0,!1);return}if(this.isNonstaticConstructor(V))this.raise(M.ConstructorIsGenerator,V.key);this.pushClassMethod(J,V,!0,!1,!1,!1);return}const D=!this.state.containsEsc&&O1(this.state.type),f=this.parseClassElementName(G),j=D?f.name:null,I=this.isPrivateName(f),g=this.state.startLoc;if(this.parsePostMemberNameModifiers(U),this.isClassMethod()){if(z.kind="method",I){this.pushClassPrivateMethod(J,Z,!1,!1);return}const C=this.isNonstaticConstructor(V);let T=!1;if(C){if(V.kind="constructor",X.hadConstructor&&!this.hasPlugin("typescript"))this.raise(M.DuplicateConstructor,f);if(C&&this.hasPlugin("typescript")&&G.override)this.raise(M.OverrideOnConstructor,f);X.hadConstructor=!0,T=X.hadSuperClass}this.pushClassMethod(J,V,!1,!1,C,T)}else if(this.isClassProperty())if(I)this.pushClassPrivateProperty(J,Y);else this.pushClassProperty(J,Q);else if(j==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);const C=this.eat(55);if(U.optional)this.unexpected(g);z.kind="method";const T=this.match(138);if(this.parseClassElementName(z),this.parsePostMemberNameModifiers(U),T)this.pushClassPrivateMethod(J,Z,C,!0);else{if(this.isNonstaticConstructor(V))this.raise(M.ConstructorIsAsync,V.key);this.pushClassMethod(J,V,C,!0,!1,!1)}}else if((j==="get"||j==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(f),z.kind=j;const C=this.match(138);if(this.parseClassElementName(V),C)this.pushClassPrivateMethod(J,Z,!1,!1);else{if(this.isNonstaticConstructor(V))this.raise(M.ConstructorIsAccessor,V.key);this.pushClassMethod(J,V,!1,!1,!1,!1)}this.checkGetterSetterParams(V)}else if(j==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(f);const C=this.match(138);this.parseClassElementName(Q),this.pushClassAccessorProperty(J,W,C)}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(M.StaticPrototype,this.state.startLoc);if(G===138){if(X==="constructor")this.raise(M.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(M.DecoratorStaticBlock,G)}pushClassProperty(J,G){if(!G.computed&&this.nameIsConstructor(G.key))this.raise(M.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(M.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(pG()),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(O1(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(M.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(M.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(M.UnsupportedDecoratorExport,J);this.parseExportFrom(J,W)}else U=this.maybeParseExportDeclaration(J);if(W||z||U){var D;const f=J;if(this.checkExport(f,!0,!1,!!f.source),((D=f.declaration)==null?void 0:D.type)==="ClassDeclaration")this.maybeTakeDecorators(G,f.declaration,f);else if(G)throw this.raise(M.UnsupportedDecoratorExport,J);return this.finishNode(f,"ExportNamedDeclaration")}if(this.eat(65)){const f=J,j=this.parseExportDefaultExpression();if(f.declaration=j,j.type==="ClassDeclaration")this.maybeTakeDecorators(G,j,f);else if(G)throw this.raise(M.UnsupportedDecoratorExport,J);return this.checkExport(f,!0,!0),this.finishNode(f,"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(M.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(M.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(O1(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(O1(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||O1(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(M.DecoratorBeforeExport,this.state.startLoc);return!0}}if(this.isContextual(107))return this.raise(M.UsingDeclarationExport,this.state.startLoc),!0;if(this.isContextual(96)&&this.startsAwaitUsing())return this.raise(M.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(M.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(M.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(M.DuplicateDefaultExport,J);else this.raise(M.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=JK(J.local);else if(!J.exported)J.exported=P2(J.local);return this.finishNode(J,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const J=this.parseStringLiteral(this.state.value),G=SK.exec(J.value);if(G)this.raise(M.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(M.SourcePhaseImportRequiresDefault,G[0].loc.start)}else if(J.phase==="defer"){if(X!=="ImportNamespaceSpecifier")this.raise(M.DeferImportRequiresNamespace,G[0].loc.start)}else if(J.module){var H;if(X!=="ImportDefaultSpecifier")this.raise(M.ImportReflectionNotBinding,G[0].loc.start);if(((H=J.assertions)==null?void 0:H.length)>0)this.raise(M.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(M.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(W2(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 O1(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(M.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(M.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(M.ModuleAttributeDifferentFromType,X.key);if(G.has(X.key.name))this.raise(M.ModuleAttributesWithDuplicateKeys,X.key,{key:X.key.name});if(G.add(X.key.name),this.expect(14),!this.match(133))throw this.raise(M.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,X=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;if(this.next(),this.hasPlugin("moduleAttributes"))G=this.parseModuleAttributes();else this.expectImportAttributesPlugin(),G=this.parseImportAttributes();X=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){if(this.hasPlugin("importAttributes")){if(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0)this.raise(M.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(W2(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(M.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(M.ImportBindingIsString,J,{importName:Z.value});if(this.checkReservedWord(Z.name,J.loc.start,!0,!0),!J.local)J.local=P2(Z)}return this.finishImportSpecifier(J,"ImportSpecifier",V)}isThisParam(J){return J.type==="Identifier"&&J.name==="this"}}class M4 extends VX{constructor(J,G,X){J=qK(J);super(J,G);this.options=J,this.initializeScopes(),this.plugins=X,this.filename=J.sourceFilename}getScopeHandler(){return h5}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 PK=LK(Sz),PG=new Map;ZX.parse=AK;ZX.parseExpression=CK;ZX.tokTypes=PK});var O4=q((QX)=>{Object.defineProperty(QX,"__esModule",{value:!0});QX.Var=QX.User=QX.Statement=QX.SpreadProperty=QX.Scope=QX.RestProperty=QX.ReferencedMemberExpression=QX.ReferencedIdentifier=QX.Referenced=QX.Pure=QX.NumericLiteralTypeAnnotation=QX.Generated=QX.ForAwaitStatement=QX.Flow=QX.Expression=QX.ExistentialTypeParam=QX.BlockScoped=QX.BindingIdentifier=void 0;var nU1=QX.ReferencedIdentifier=["Identifier","JSXIdentifier"],oU1=QX.ReferencedMemberExpression=["MemberExpression"],eU1=QX.BindingIdentifier=["Identifier"],JF1=QX.Statement=["Statement"],GF1=QX.Expression=["Expression"],XF1=QX.Scope=["Scopable","Pattern"],HF1=QX.Referenced=null,VF1=QX.BlockScoped=null,ZF1=QX.Var=["VariableDeclaration"],QF1=QX.User=null,YF1=QX.Generated=null,WF1=QX.Pure=null,zF1=QX.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],KF1=QX.RestProperty=["RestElement"],UF1=QX.SpreadProperty=["RestElement"],FF1=QX.ExistentialTypeParam=["ExistsTypeAnnotation"],RF1=QX.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],BF1=QX.ForAwaitStatement=["ForOfStatement"]});var zX=q((DF1,WX)=>{function nK(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*tK;case"weeks":case"week":case"w":return X*sK;case"days":case"day":case"d":return X*s2;case"hours":case"hour":case"hrs":case"hr":case"h":return X*q0;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*O0;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return X;default:return}}function oK(J){var G=Math.abs(J);if(G>=s2)return Math.round(J/s2)+"d";if(G>=q0)return Math.round(J/q0)+"h";if(G>=f0)return Math.round(J/f0)+"m";if(G>=O0)return Math.round(J/O0)+"s";return J+"ms"}function eK(J){var G=Math.abs(J);if(G>=s2)return x5(J,G,s2,"day");if(G>=q0)return x5(J,G,q0,"hour");if(G>=f0)return x5(J,G,f0,"minute");if(G>=O0)return x5(J,G,O0,"second");return J+" ms"}function x5(J,G,X,H){var V=G>=X*1.5;return Math.round(J/X)+" "+H+(V?"s":"")}var O0=1000,f0=O0*60,q0=f0*60,s2=q0*24,sK=s2*7,tK=s2*365.25;WX.exports=function(J,G){G=G||{};var X=typeof J;if(X==="string"&&J.length>0)return nK(J);else if(X==="number"&&isFinite(J))return G.long?eK(J):oK(J);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(J))}});var f4=q((MF1,KX)=>{function JU(J){X.debug=X,X.default=X,X.coerce=W,X.disable=Z,X.enable=V,X.enabled=Q,X.humanize=zX(),X.destroy=z,Object.keys(J).forEach((U)=>{X[U]=J[U]}),X.names=[],X.skips=[],X.formatters={};function G(U){let D=0;for(let f=0;f<U.length;f++)D=(D<<5)-D+U.charCodeAt(f),D|=0;return X.colors[Math.abs(D)%X.colors.length]}X.selectColor=G;function X(U){let D,f=null,j,I;function g(...C){if(!g.enabled)return;const T=g,E=Number(new Date),H1=E-(D||E);if(T.diff=H1,T.prev=D,T.curr=E,D=E,C[0]=X.coerce(C[0]),typeof C[0]!=="string")C.unshift("%O");let J1=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(d,C1)=>{if(d==="%%")return"%";J1++;const L1=X.formatters[C1];if(typeof L1==="function"){const u=C[J1];d=L1.call(T,u),C.splice(J1,1),J1--}return d}),X.formatArgs.call(T,C),(T.log||X.log).apply(T,C)}if(g.namespace=U,g.useColors=X.useColors(),g.color=X.selectColor(U),g.extend=H,g.destroy=X.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(f!==null)return f;if(j!==X.namespaces)j=X.namespaces,I=X.enabled(U);return I},set:(C)=>{f=C}}),typeof X.init==="function")X.init(g);return g}function H(U,D){const f=X(this.namespace+(typeof D==="undefined"?":":D)+U);return f.log=this.log,f}function V(U){X.save(U),X.namespaces=U,X.names=[],X.skips=[];let D;const f=(typeof U==="string"?U:"").split(/[\s,]+/),j=f.length;for(D=0;D<j;D++){if(!f[D])continue;if(U=f[D].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((D)=>"-"+D)].join(",");return X.enable(""),U}function Q(U){if(U[U.length-1]==="*")return!0;let D,f;for(D=0,f=X.skips.length;D<f;D++)if(X.skips[D].test(U))return!1;for(D=0,f=X.names.length;D<f;D++)if(X.names[D].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}KX.exports=JU});var FX=q((UX,c5)=>{function GU(){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 XU(J){if(J[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+J[0]+(this.useColors?"%c ":" ")+"+"+c5.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 HU(J){try{if(J)UX.storage.setItem("debug",J);else UX.storage.removeItem("debug")}catch(G){}}function VU(){let J;try{J=UX.storage.getItem("debug")}catch(G){}if(!J&&typeof process!=="undefined"&&"env"in process)J=process.env.DEBUG;return J}function ZU(){try{return localStorage}catch(J){}}UX.formatArgs=XU;UX.save=HU;UX.load=VU;UX.useColors=GU;UX.storage=ZU();UX.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`.")}})();UX.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"];UX.log=console.debug||console.log||(()=>{});c5.exports=f4()(UX);var{formatters:QU}=c5.exports;QU.j=function(J){try{return JSON.stringify(J)}catch(G){return"[UnexpectedJSONParseError]: "+G.message}}});var BX={};zz(BX,{default:()=>fU,createSupportsColor:()=>q4});import j4 from"process";import BU from"os";import RX from"tty";function G2(J,G=globalThis.Deno?globalThis.Deno.args:j4.argv){const X=J.startsWith("-")?"":J.length===1?"-":"--",H=G.indexOf(X+J),V=G.indexOf("--");return H!==-1&&(V===-1||H<V)}function $U(){if("FORCE_COLOR"in T1){if(T1.FORCE_COLOR==="true")return 1;if(T1.FORCE_COLOR==="false")return 0;return T1.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(T1.FORCE_COLOR,10),3)}}function DU(J){if(J===0)return!1;return{level:J,hasBasic:!0,has256:J>=2,has16m:J>=3}}function MU(J,{streamIsTTY:G,sniffFlags:X=!0}={}){const H=$U();if(H!==void 0)l5=H;const V=X?l5:H;if(V===0)return 0;if(X){if(G2("color=16m")||G2("color=full")||G2("color=truecolor"))return 3;if(G2("color=256"))return 2}if("TF_BUILD"in T1&&"AGENT_NAME"in T1)return 1;if(J&&!G&&V===void 0)return 0;const Z=V||0;if(T1.TERM==="dumb")return Z;if(j4.platform==="win32"){const Q=BU.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in T1){if("GITHUB_ACTIONS"in T1||"GITEA_ACTIONS"in T1)return 3;if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in T1))||T1.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in T1)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(T1.TEAMCITY_VERSION)?1:0;if(T1.COLORTERM==="truecolor")return 3;if(T1.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in T1){const Q=Number.parseInt((T1.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(T1.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(T1.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(T1.TERM))return 1;if("COLORTERM"in T1)return 1;return Z}function q4(J,G={}){const X=MU(J,{streamIsTTY:J&&J.isTTY,...G});return DU(X)}var T1,l5,OU,fU;var $X=Kz(()=>{({env:T1}=j4);if(G2("no-color")||G2("no-colors")||G2("color=false")||G2("color=never"))l5=0;else if(G2("color")||G2("colors")||G2("color=true")||G2("color=always"))l5=1;OU={stdout:q4({isTTY:RX.isatty(1)}),stderr:q4({isTTY:RX.isatty(2)})},fU=OU});var fX=q((MX,a5)=>{function jU(){return"colors"in MX.inspectOpts?Boolean(MX.inspectOpts.colors):qU.isatty(process.stderr.fd)}function SU(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+"+a5.exports.humanize(this.diff)+"\x1B[0m")}else J[0]=IU()+G+" "+J[0]}function IU(){if(MX.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function AU(...J){return process.stderr.write(i5.formatWithOptions(MX.inspectOpts,...J)+"\n")}function CU(J){if(J)process.env.DEBUG=J;else delete process.env.DEBUG}function LU(){return process.env.DEBUG}function PU(J){J.inspectOpts={};const G=Object.keys(MX.inspectOpts);for(let X=0;X<G.length;X++)J.inspectOpts[G[X]]=MX.inspectOpts[G[X]]}var qU=import.meta.require("tty"),i5=import.meta.require("util");MX.init=PU;MX.log=AU;MX.formatArgs=SU;MX.save=CU;MX.load=LU;MX.useColors=jU;MX.destroy=i5.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");MX.colors=[6,2,3,4,5,1];try{const J=($X(),Wz(BX));if(J&&(J.stderr||J).level>=2)MX.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){}MX.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},{});a5.exports=f4()(MX);var{formatters:DX}=a5.exports;DX.o=function(J){return this.inspectOpts.colors=this.useColors,i5.inspect(J,this.inspectOpts).split("\n").map((G)=>G.trim()).join(" ")};DX.O=function(J){return this.inspectOpts.colors=this.useColors,i5.inspect(J,this.inspectOpts)}});var qX=q((IF1,S4)=>{if(typeof process==="undefined"||process.type==="renderer"||!1||process.__nwjs)S4.exports=FX();else S4.exports=fX()});var p5=q((jX)=>{function gU(J,G){const X=Object.keys(G);for(let H of X)if(J[H]!==G[H])return!1;return!0}Object.defineProperty(jX,"__esModule",{value:!0});jX.default=gU});var e0=q((IX)=>{function uU(J,G,X=""){if(SX.has(J))return;SX.add(J);const{internal:H,trace:V}=hU(1,2);if(H)return;console.warn(`${X}\`${J}\` has been deprecated, please migrate to \`${G}\`\n${V}`)}function hU(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(IX,"__esModule",{value:!0});IX.default=uU;var SX=new Set});var N1=q((CX)=>{function xU(J,G){if(!J)return!1;if(J.type!=="ArrayExpression")return!1;return G==null||R.default(J,G)}function mU(J,G){if(!J)return!1;if(J.type!=="AssignmentExpression")return!1;return G==null||R.default(J,G)}function cU(J,G){if(!J)return!1;if(J.type!=="BinaryExpression")return!1;return G==null||R.default(J,G)}function lU(J,G){if(!J)return!1;if(J.type!=="InterpreterDirective")return!1;return G==null||R.default(J,G)}function iU(J,G){if(!J)return!1;if(J.type!=="Directive")return!1;return G==null||R.default(J,G)}function aU(J,G){if(!J)return!1;if(J.type!=="DirectiveLiteral")return!1;return G==null||R.default(J,G)}function pU(J,G){if(!J)return!1;if(J.type!=="BlockStatement")return!1;return G==null||R.default(J,G)}function rU(J,G){if(!J)return!1;if(J.type!=="BreakStatement")return!1;return G==null||R.default(J,G)}function dU(J,G){if(!J)return!1;if(J.type!=="CallExpression")return!1;return G==null||R.default(J,G)}function sU(J,G){if(!J)return!1;if(J.type!=="CatchClause")return!1;return G==null||R.default(J,G)}function tU(J,G){if(!J)return!1;if(J.type!=="ConditionalExpression")return!1;return G==null||R.default(J,G)}function nU(J,G){if(!J)return!1;if(J.type!=="ContinueStatement")return!1;return G==null||R.default(J,G)}function oU(J,G){if(!J)return!1;if(J.type!=="DebuggerStatement")return!1;return G==null||R.default(J,G)}function eU(J,G){if(!J)return!1;if(J.type!=="DoWhileStatement")return!1;return G==null||R.default(J,G)}function JF(J,G){if(!J)return!1;if(J.type!=="EmptyStatement")return!1;return G==null||R.default(J,G)}function GF(J,G){if(!J)return!1;if(J.type!=="ExpressionStatement")return!1;return G==null||R.default(J,G)}function XF(J,G){if(!J)return!1;if(J.type!=="File")return!1;return G==null||R.default(J,G)}function HF(J,G){if(!J)return!1;if(J.type!=="ForInStatement")return!1;return G==null||R.default(J,G)}function VF(J,G){if(!J)return!1;if(J.type!=="ForStatement")return!1;return G==null||R.default(J,G)}function ZF(J,G){if(!J)return!1;if(J.type!=="FunctionDeclaration")return!1;return G==null||R.default(J,G)}function QF(J,G){if(!J)return!1;if(J.type!=="FunctionExpression")return!1;return G==null||R.default(J,G)}function YF(J,G){if(!J)return!1;if(J.type!=="Identifier")return!1;return G==null||R.default(J,G)}function WF(J,G){if(!J)return!1;if(J.type!=="IfStatement")return!1;return G==null||R.default(J,G)}function zF(J,G){if(!J)return!1;if(J.type!=="LabeledStatement")return!1;return G==null||R.default(J,G)}function KF(J,G){if(!J)return!1;if(J.type!=="StringLiteral")return!1;return G==null||R.default(J,G)}function UF(J,G){if(!J)return!1;if(J.type!=="NumericLiteral")return!1;return G==null||R.default(J,G)}function FF(J,G){if(!J)return!1;if(J.type!=="NullLiteral")return!1;return G==null||R.default(J,G)}function RF(J,G){if(!J)return!1;if(J.type!=="BooleanLiteral")return!1;return G==null||R.default(J,G)}function BF(J,G){if(!J)return!1;if(J.type!=="RegExpLiteral")return!1;return G==null||R.default(J,G)}function $F(J,G){if(!J)return!1;if(J.type!=="LogicalExpression")return!1;return G==null||R.default(J,G)}function DF(J,G){if(!J)return!1;if(J.type!=="MemberExpression")return!1;return G==null||R.default(J,G)}function MF(J,G){if(!J)return!1;if(J.type!=="NewExpression")return!1;return G==null||R.default(J,G)}function OF(J,G){if(!J)return!1;if(J.type!=="Program")return!1;return G==null||R.default(J,G)}function fF(J,G){if(!J)return!1;if(J.type!=="ObjectExpression")return!1;return G==null||R.default(J,G)}function qF(J,G){if(!J)return!1;if(J.type!=="ObjectMethod")return!1;return G==null||R.default(J,G)}function jF(J,G){if(!J)return!1;if(J.type!=="ObjectProperty")return!1;return G==null||R.default(J,G)}function SF(J,G){if(!J)return!1;if(J.type!=="RestElement")return!1;return G==null||R.default(J,G)}function IF(J,G){if(!J)return!1;if(J.type!=="ReturnStatement")return!1;return G==null||R.default(J,G)}function AF(J,G){if(!J)return!1;if(J.type!=="SequenceExpression")return!1;return G==null||R.default(J,G)}function CF(J,G){if(!J)return!1;if(J.type!=="ParenthesizedExpression")return!1;return G==null||R.default(J,G)}function LF(J,G){if(!J)return!1;if(J.type!=="SwitchCase")return!1;return G==null||R.default(J,G)}function PF(J,G){if(!J)return!1;if(J.type!=="SwitchStatement")return!1;return G==null||R.default(J,G)}function TF(J,G){if(!J)return!1;if(J.type!=="ThisExpression")return!1;return G==null||R.default(J,G)}function NF(J,G){if(!J)return!1;if(J.type!=="ThrowStatement")return!1;return G==null||R.default(J,G)}function wF(J,G){if(!J)return!1;if(J.type!=="TryStatement")return!1;return G==null||R.default(J,G)}function EF(J,G){if(!J)return!1;if(J.type!=="UnaryExpression")return!1;return G==null||R.default(J,G)}function kF(J,G){if(!J)return!1;if(J.type!=="UpdateExpression")return!1;return G==null||R.default(J,G)}function bF(J,G){if(!J)return!1;if(J.type!=="VariableDeclaration")return!1;return G==null||R.default(J,G)}function vF(J,G){if(!J)return!1;if(J.type!=="VariableDeclarator")return!1;return G==null||R.default(J,G)}function gF(J,G){if(!J)return!1;if(J.type!=="WhileStatement")return!1;return G==null||R.default(J,G)}function _F(J,G){if(!J)return!1;if(J.type!=="WithStatement")return!1;return G==null||R.default(J,G)}function uF(J,G){if(!J)return!1;if(J.type!=="AssignmentPattern")return!1;return G==null||R.default(J,G)}function hF(J,G){if(!J)return!1;if(J.type!=="ArrayPattern")return!1;return G==null||R.default(J,G)}function yF(J,G){if(!J)return!1;if(J.type!=="ArrowFunctionExpression")return!1;return G==null||R.default(J,G)}function xF(J,G){if(!J)return!1;if(J.type!=="ClassBody")return!1;return G==null||R.default(J,G)}function mF(J,G){if(!J)return!1;if(J.type!=="ClassExpression")return!1;return G==null||R.default(J,G)}function cF(J,G){if(!J)return!1;if(J.type!=="ClassDeclaration")return!1;return G==null||R.default(J,G)}function lF(J,G){if(!J)return!1;if(J.type!=="ExportAllDeclaration")return!1;return G==null||R.default(J,G)}function iF(J,G){if(!J)return!1;if(J.type!=="ExportDefaultDeclaration")return!1;return G==null||R.default(J,G)}function aF(J,G){if(!J)return!1;if(J.type!=="ExportNamedDeclaration")return!1;return G==null||R.default(J,G)}function pF(J,G){if(!J)return!1;if(J.type!=="ExportSpecifier")return!1;return G==null||R.default(J,G)}function rF(J,G){if(!J)return!1;if(J.type!=="ForOfStatement")return!1;return G==null||R.default(J,G)}function dF(J,G){if(!J)return!1;if(J.type!=="ImportDeclaration")return!1;return G==null||R.default(J,G)}function sF(J,G){if(!J)return!1;if(J.type!=="ImportDefaultSpecifier")return!1;return G==null||R.default(J,G)}function tF(J,G){if(!J)return!1;if(J.type!=="ImportNamespaceSpecifier")return!1;return G==null||R.default(J,G)}function nF(J,G){if(!J)return!1;if(J.type!=="ImportSpecifier")return!1;return G==null||R.default(J,G)}function oF(J,G){if(!J)return!1;if(J.type!=="ImportExpression")return!1;return G==null||R.default(J,G)}function eF(J,G){if(!J)return!1;if(J.type!=="MetaProperty")return!1;return G==null||R.default(J,G)}function JR(J,G){if(!J)return!1;if(J.type!=="ClassMethod")return!1;return G==null||R.default(J,G)}function GR(J,G){if(!J)return!1;if(J.type!=="ObjectPattern")return!1;return G==null||R.default(J,G)}function XR(J,G){if(!J)return!1;if(J.type!=="SpreadElement")return!1;return G==null||R.default(J,G)}function HR(J,G){if(!J)return!1;if(J.type!=="Super")return!1;return G==null||R.default(J,G)}function VR(J,G){if(!J)return!1;if(J.type!=="TaggedTemplateExpression")return!1;return G==null||R.default(J,G)}function ZR(J,G){if(!J)return!1;if(J.type!=="TemplateElement")return!1;return G==null||R.default(J,G)}function QR(J,G){if(!J)return!1;if(J.type!=="TemplateLiteral")return!1;return G==null||R.default(J,G)}function YR(J,G){if(!J)return!1;if(J.type!=="YieldExpression")return!1;return G==null||R.default(J,G)}function WR(J,G){if(!J)return!1;if(J.type!=="AwaitExpression")return!1;return G==null||R.default(J,G)}function zR(J,G){if(!J)return!1;if(J.type!=="Import")return!1;return G==null||R.default(J,G)}function KR(J,G){if(!J)return!1;if(J.type!=="BigIntLiteral")return!1;return G==null||R.default(J,G)}function UR(J,G){if(!J)return!1;if(J.type!=="ExportNamespaceSpecifier")return!1;return G==null||R.default(J,G)}function FR(J,G){if(!J)return!1;if(J.type!=="OptionalMemberExpression")return!1;return G==null||R.default(J,G)}function RR(J,G){if(!J)return!1;if(J.type!=="OptionalCallExpression")return!1;return G==null||R.default(J,G)}function BR(J,G){if(!J)return!1;if(J.type!=="ClassProperty")return!1;return G==null||R.default(J,G)}function $R(J,G){if(!J)return!1;if(J.type!=="ClassAccessorProperty")return!1;return G==null||R.default(J,G)}function DR(J,G){if(!J)return!1;if(J.type!=="ClassPrivateProperty")return!1;return G==null||R.default(J,G)}function MR(J,G){if(!J)return!1;if(J.type!=="ClassPrivateMethod")return!1;return G==null||R.default(J,G)}function OR(J,G){if(!J)return!1;if(J.type!=="PrivateName")return!1;return G==null||R.default(J,G)}function fR(J,G){if(!J)return!1;if(J.type!=="StaticBlock")return!1;return G==null||R.default(J,G)}function qR(J,G){if(!J)return!1;if(J.type!=="AnyTypeAnnotation")return!1;return G==null||R.default(J,G)}function jR(J,G){if(!J)return!1;if(J.type!=="ArrayTypeAnnotation")return!1;return G==null||R.default(J,G)}function SR(J,G){if(!J)return!1;if(J.type!=="BooleanTypeAnnotation")return!1;return G==null||R.default(J,G)}function IR(J,G){if(!J)return!1;if(J.type!=="BooleanLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function AR(J,G){if(!J)return!1;if(J.type!=="NullLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function CR(J,G){if(!J)return!1;if(J.type!=="ClassImplements")return!1;return G==null||R.default(J,G)}function LR(J,G){if(!J)return!1;if(J.type!=="DeclareClass")return!1;return G==null||R.default(J,G)}function PR(J,G){if(!J)return!1;if(J.type!=="DeclareFunction")return!1;return G==null||R.default(J,G)}function TR(J,G){if(!J)return!1;if(J.type!=="DeclareInterface")return!1;return G==null||R.default(J,G)}function NR(J,G){if(!J)return!1;if(J.type!=="DeclareModule")return!1;return G==null||R.default(J,G)}function wR(J,G){if(!J)return!1;if(J.type!=="DeclareModuleExports")return!1;return G==null||R.default(J,G)}function ER(J,G){if(!J)return!1;if(J.type!=="DeclareTypeAlias")return!1;return G==null||R.default(J,G)}function kR(J,G){if(!J)return!1;if(J.type!=="DeclareOpaqueType")return!1;return G==null||R.default(J,G)}function bR(J,G){if(!J)return!1;if(J.type!=="DeclareVariable")return!1;return G==null||R.default(J,G)}function vR(J,G){if(!J)return!1;if(J.type!=="DeclareExportDeclaration")return!1;return G==null||R.default(J,G)}function gR(J,G){if(!J)return!1;if(J.type!=="DeclareExportAllDeclaration")return!1;return G==null||R.default(J,G)}function _R(J,G){if(!J)return!1;if(J.type!=="DeclaredPredicate")return!1;return G==null||R.default(J,G)}function uR(J,G){if(!J)return!1;if(J.type!=="ExistsTypeAnnotation")return!1;return G==null||R.default(J,G)}function hR(J,G){if(!J)return!1;if(J.type!=="FunctionTypeAnnotation")return!1;return G==null||R.default(J,G)}function yR(J,G){if(!J)return!1;if(J.type!=="FunctionTypeParam")return!1;return G==null||R.default(J,G)}function xR(J,G){if(!J)return!1;if(J.type!=="GenericTypeAnnotation")return!1;return G==null||R.default(J,G)}function mR(J,G){if(!J)return!1;if(J.type!=="InferredPredicate")return!1;return G==null||R.default(J,G)}function cR(J,G){if(!J)return!1;if(J.type!=="InterfaceExtends")return!1;return G==null||R.default(J,G)}function lR(J,G){if(!J)return!1;if(J.type!=="InterfaceDeclaration")return!1;return G==null||R.default(J,G)}function iR(J,G){if(!J)return!1;if(J.type!=="InterfaceTypeAnnotation")return!1;return G==null||R.default(J,G)}function aR(J,G){if(!J)return!1;if(J.type!=="IntersectionTypeAnnotation")return!1;return G==null||R.default(J,G)}function pR(J,G){if(!J)return!1;if(J.type!=="MixedTypeAnnotation")return!1;return G==null||R.default(J,G)}function rR(J,G){if(!J)return!1;if(J.type!=="EmptyTypeAnnotation")return!1;return G==null||R.default(J,G)}function dR(J,G){if(!J)return!1;if(J.type!=="NullableTypeAnnotation")return!1;return G==null||R.default(J,G)}function sR(J,G){if(!J)return!1;if(J.type!=="NumberLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function tR(J,G){if(!J)return!1;if(J.type!=="NumberTypeAnnotation")return!1;return G==null||R.default(J,G)}function nR(J,G){if(!J)return!1;if(J.type!=="ObjectTypeAnnotation")return!1;return G==null||R.default(J,G)}function oR(J,G){if(!J)return!1;if(J.type!=="ObjectTypeInternalSlot")return!1;return G==null||R.default(J,G)}function eR(J,G){if(!J)return!1;if(J.type!=="ObjectTypeCallProperty")return!1;return G==null||R.default(J,G)}function JB(J,G){if(!J)return!1;if(J.type!=="ObjectTypeIndexer")return!1;return G==null||R.default(J,G)}function GB(J,G){if(!J)return!1;if(J.type!=="ObjectTypeProperty")return!1;return G==null||R.default(J,G)}function XB(J,G){if(!J)return!1;if(J.type!=="ObjectTypeSpreadProperty")return!1;return G==null||R.default(J,G)}function HB(J,G){if(!J)return!1;if(J.type!=="OpaqueType")return!1;return G==null||R.default(J,G)}function VB(J,G){if(!J)return!1;if(J.type!=="QualifiedTypeIdentifier")return!1;return G==null||R.default(J,G)}function ZB(J,G){if(!J)return!1;if(J.type!=="StringLiteralTypeAnnotation")return!1;return G==null||R.default(J,G)}function QB(J,G){if(!J)return!1;if(J.type!=="StringTypeAnnotation")return!1;return G==null||R.default(J,G)}function YB(J,G){if(!J)return!1;if(J.type!=="SymbolTypeAnnotation")return!1;return G==null||R.default(J,G)}function WB(J,G){if(!J)return!1;if(J.type!=="ThisTypeAnnotation")return!1;return G==null||R.default(J,G)}function zB(J,G){if(!J)return!1;if(J.type!=="TupleTypeAnnotation")return!1;return G==null||R.default(J,G)}function KB(J,G){if(!J)return!1;if(J.type!=="TypeofTypeAnnotation")return!1;return G==null||R.default(J,G)}function UB(J,G){if(!J)return!1;if(J.type!=="TypeAlias")return!1;return G==null||R.default(J,G)}function FB(J,G){if(!J)return!1;if(J.type!=="TypeAnnotation")return!1;return G==null||R.default(J,G)}function RB(J,G){if(!J)return!1;if(J.type!=="TypeCastExpression")return!1;return G==null||R.default(J,G)}function BB(J,G){if(!J)return!1;if(J.type!=="TypeParameter")return!1;return G==null||R.default(J,G)}function $B(J,G){if(!J)return!1;if(J.type!=="TypeParameterDeclaration")return!1;return G==null||R.default(J,G)}function DB(J,G){if(!J)return!1;if(J.type!=="TypeParameterInstantiation")return!1;return G==null||R.default(J,G)}function MB(J,G){if(!J)return!1;if(J.type!=="UnionTypeAnnotation")return!1;return G==null||R.default(J,G)}function OB(J,G){if(!J)return!1;if(J.type!=="Variance")return!1;return G==null||R.default(J,G)}function fB(J,G){if(!J)return!1;if(J.type!=="VoidTypeAnnotation")return!1;return G==null||R.default(J,G)}function qB(J,G){if(!J)return!1;if(J.type!=="EnumDeclaration")return!1;return G==null||R.default(J,G)}function jB(J,G){if(!J)return!1;if(J.type!=="EnumBooleanBody")return!1;return G==null||R.default(J,G)}function SB(J,G){if(!J)return!1;if(J.type!=="EnumNumberBody")return!1;return G==null||R.default(J,G)}function IB(J,G){if(!J)return!1;if(J.type!=="EnumStringBody")return!1;return G==null||R.default(J,G)}function AB(J,G){if(!J)return!1;if(J.type!=="EnumSymbolBody")return!1;return G==null||R.default(J,G)}function CB(J,G){if(!J)return!1;if(J.type!=="EnumBooleanMember")return!1;return G==null||R.default(J,G)}function LB(J,G){if(!J)return!1;if(J.type!=="EnumNumberMember")return!1;return G==null||R.default(J,G)}function PB(J,G){if(!J)return!1;if(J.type!=="EnumStringMember")return!1;return G==null||R.default(J,G)}function TB(J,G){if(!J)return!1;if(J.type!=="EnumDefaultedMember")return!1;return G==null||R.default(J,G)}function NB(J,G){if(!J)return!1;if(J.type!=="IndexedAccessType")return!1;return G==null||R.default(J,G)}function wB(J,G){if(!J)return!1;if(J.type!=="OptionalIndexedAccessType")return!1;return G==null||R.default(J,G)}function EB(J,G){if(!J)return!1;if(J.type!=="JSXAttribute")return!1;return G==null||R.default(J,G)}function kB(J,G){if(!J)return!1;if(J.type!=="JSXClosingElement")return!1;return G==null||R.default(J,G)}function bB(J,G){if(!J)return!1;if(J.type!=="JSXElement")return!1;return G==null||R.default(J,G)}function vB(J,G){if(!J)return!1;if(J.type!=="JSXEmptyExpression")return!1;return G==null||R.default(J,G)}function gB(J,G){if(!J)return!1;if(J.type!=="JSXExpressionContainer")return!1;return G==null||R.default(J,G)}function _B(J,G){if(!J)return!1;if(J.type!=="JSXSpreadChild")return!1;return G==null||R.default(J,G)}function uB(J,G){if(!J)return!1;if(J.type!=="JSXIdentifier")return!1;return G==null||R.default(J,G)}function hB(J,G){if(!J)return!1;if(J.type!=="JSXMemberExpression")return!1;return G==null||R.default(J,G)}function yB(J,G){if(!J)return!1;if(J.type!=="JSXNamespacedName")return!1;return G==null||R.default(J,G)}function xB(J,G){if(!J)return!1;if(J.type!=="JSXOpeningElement")return!1;return G==null||R.default(J,G)}function mB(J,G){if(!J)return!1;if(J.type!=="JSXSpreadAttribute")return!1;return G==null||R.default(J,G)}function cB(J,G){if(!J)return!1;if(J.type!=="JSXText")return!1;return G==null||R.default(J,G)}function lB(J,G){if(!J)return!1;if(J.type!=="JSXFragment")return!1;return G==null||R.default(J,G)}function iB(J,G){if(!J)return!1;if(J.type!=="JSXOpeningFragment")return!1;return G==null||R.default(J,G)}function aB(J,G){if(!J)return!1;if(J.type!=="JSXClosingFragment")return!1;return G==null||R.default(J,G)}function pB(J,G){if(!J)return!1;if(J.type!=="Noop")return!1;return G==null||R.default(J,G)}function rB(J,G){if(!J)return!1;if(J.type!=="Placeholder")return!1;return G==null||R.default(J,G)}function dB(J,G){if(!J)return!1;if(J.type!=="V8IntrinsicIdentifier")return!1;return G==null||R.default(J,G)}function sB(J,G){if(!J)return!1;if(J.type!=="ArgumentPlaceholder")return!1;return G==null||R.default(J,G)}function tB(J,G){if(!J)return!1;if(J.type!=="BindExpression")return!1;return G==null||R.default(J,G)}function nB(J,G){if(!J)return!1;if(J.type!=="ImportAttribute")return!1;return G==null||R.default(J,G)}function oB(J,G){if(!J)return!1;if(J.type!=="Decorator")return!1;return G==null||R.default(J,G)}function eB(J,G){if(!J)return!1;if(J.type!=="DoExpression")return!1;return G==null||R.default(J,G)}function J$(J,G){if(!J)return!1;if(J.type!=="ExportDefaultSpecifier")return!1;return G==null||R.default(J,G)}function G$(J,G){if(!J)return!1;if(J.type!=="RecordExpression")return!1;return G==null||R.default(J,G)}function X$(J,G){if(!J)return!1;if(J.type!=="TupleExpression")return!1;return G==null||R.default(J,G)}function H$(J,G){if(!J)return!1;if(J.type!=="DecimalLiteral")return!1;return G==null||R.default(J,G)}function V$(J,G){if(!J)return!1;if(J.type!=="ModuleExpression")return!1;return G==null||R.default(J,G)}function Z$(J,G){if(!J)return!1;if(J.type!=="TopicReference")return!1;return G==null||R.default(J,G)}function Q$(J,G){if(!J)return!1;if(J.type!=="PipelineTopicExpression")return!1;return G==null||R.default(J,G)}function Y$(J,G){if(!J)return!1;if(J.type!=="PipelineBareFunction")return!1;return G==null||R.default(J,G)}function W$(J,G){if(!J)return!1;if(J.type!=="PipelinePrimaryTopicReference")return!1;return G==null||R.default(J,G)}function z$(J,G){if(!J)return!1;if(J.type!=="TSParameterProperty")return!1;return G==null||R.default(J,G)}function K$(J,G){if(!J)return!1;if(J.type!=="TSDeclareFunction")return!1;return G==null||R.default(J,G)}function U$(J,G){if(!J)return!1;if(J.type!=="TSDeclareMethod")return!1;return G==null||R.default(J,G)}function F$(J,G){if(!J)return!1;if(J.type!=="TSQualifiedName")return!1;return G==null||R.default(J,G)}function R$(J,G){if(!J)return!1;if(J.type!=="TSCallSignatureDeclaration")return!1;return G==null||R.default(J,G)}function B$(J,G){if(!J)return!1;if(J.type!=="TSConstructSignatureDeclaration")return!1;return G==null||R.default(J,G)}function $$(J,G){if(!J)return!1;if(J.type!=="TSPropertySignature")return!1;return G==null||R.default(J,G)}function D$(J,G){if(!J)return!1;if(J.type!=="TSMethodSignature")return!1;return G==null||R.default(J,G)}function M$(J,G){if(!J)return!1;if(J.type!=="TSIndexSignature")return!1;return G==null||R.default(J,G)}function O$(J,G){if(!J)return!1;if(J.type!=="TSAnyKeyword")return!1;return G==null||R.default(J,G)}function f$(J,G){if(!J)return!1;if(J.type!=="TSBooleanKeyword")return!1;return G==null||R.default(J,G)}function q$(J,G){if(!J)return!1;if(J.type!=="TSBigIntKeyword")return!1;return G==null||R.default(J,G)}function j$(J,G){if(!J)return!1;if(J.type!=="TSIntrinsicKeyword")return!1;return G==null||R.default(J,G)}function S$(J,G){if(!J)return!1;if(J.type!=="TSNeverKeyword")return!1;return G==null||R.default(J,G)}function I$(J,G){if(!J)return!1;if(J.type!=="TSNullKeyword")return!1;return G==null||R.default(J,G)}function A$(J,G){if(!J)return!1;if(J.type!=="TSNumberKeyword")return!1;return G==null||R.default(J,G)}function C$(J,G){if(!J)return!1;if(J.type!=="TSObjectKeyword")return!1;return G==null||R.default(J,G)}function L$(J,G){if(!J)return!1;if(J.type!=="TSStringKeyword")return!1;return G==null||R.default(J,G)}function P$(J,G){if(!J)return!1;if(J.type!=="TSSymbolKeyword")return!1;return G==null||R.default(J,G)}function T$(J,G){if(!J)return!1;if(J.type!=="TSUndefinedKeyword")return!1;return G==null||R.default(J,G)}function N$(J,G){if(!J)return!1;if(J.type!=="TSUnknownKeyword")return!1;return G==null||R.default(J,G)}function w$(J,G){if(!J)return!1;if(J.type!=="TSVoidKeyword")return!1;return G==null||R.default(J,G)}function E$(J,G){if(!J)return!1;if(J.type!=="TSThisType")return!1;return G==null||R.default(J,G)}function k$(J,G){if(!J)return!1;if(J.type!=="TSFunctionType")return!1;return G==null||R.default(J,G)}function b$(J,G){if(!J)return!1;if(J.type!=="TSConstructorType")return!1;return G==null||R.default(J,G)}function v$(J,G){if(!J)return!1;if(J.type!=="TSTypeReference")return!1;return G==null||R.default(J,G)}function g$(J,G){if(!J)return!1;if(J.type!=="TSTypePredicate")return!1;return G==null||R.default(J,G)}function _$(J,G){if(!J)return!1;if(J.type!=="TSTypeQuery")return!1;return G==null||R.default(J,G)}function u$(J,G){if(!J)return!1;if(J.type!=="TSTypeLiteral")return!1;return G==null||R.default(J,G)}function h$(J,G){if(!J)return!1;if(J.type!=="TSArrayType")return!1;return G==null||R.default(J,G)}function y$(J,G){if(!J)return!1;if(J.type!=="TSTupleType")return!1;return G==null||R.default(J,G)}function x$(J,G){if(!J)return!1;if(J.type!=="TSOptionalType")return!1;return G==null||R.default(J,G)}function m$(J,G){if(!J)return!1;if(J.type!=="TSRestType")return!1;return G==null||R.default(J,G)}function c$(J,G){if(!J)return!1;if(J.type!=="TSNamedTupleMember")return!1;return G==null||R.default(J,G)}function l$(J,G){if(!J)return!1;if(J.type!=="TSUnionType")return!1;return G==null||R.default(J,G)}function i$(J,G){if(!J)return!1;if(J.type!=="TSIntersectionType")return!1;return G==null||R.default(J,G)}function a$(J,G){if(!J)return!1;if(J.type!=="TSConditionalType")return!1;return G==null||R.default(J,G)}function p$(J,G){if(!J)return!1;if(J.type!=="TSInferType")return!1;return G==null||R.default(J,G)}function r$(J,G){if(!J)return!1;if(J.type!=="TSParenthesizedType")return!1;return G==null||R.default(J,G)}function d$(J,G){if(!J)return!1;if(J.type!=="TSTypeOperator")return!1;return G==null||R.default(J,G)}function s$(J,G){if(!J)return!1;if(J.type!=="TSIndexedAccessType")return!1;return G==null||R.default(J,G)}function t$(J,G){if(!J)return!1;if(J.type!=="TSMappedType")return!1;return G==null||R.default(J,G)}function n$(J,G){if(!J)return!1;if(J.type!=="TSLiteralType")return!1;return G==null||R.default(J,G)}function o$(J,G){if(!J)return!1;if(J.type!=="TSExpressionWithTypeArguments")return!1;return G==null||R.default(J,G)}function e$(J,G){if(!J)return!1;if(J.type!=="TSInterfaceDeclaration")return!1;return G==null||R.default(J,G)}function JD(J,G){if(!J)return!1;if(J.type!=="TSInterfaceBody")return!1;return G==null||R.default(J,G)}function GD(J,G){if(!J)return!1;if(J.type!=="TSTypeAliasDeclaration")return!1;return G==null||R.default(J,G)}function XD(J,G){if(!J)return!1;if(J.type!=="TSInstantiationExpression")return!1;return G==null||R.default(J,G)}function HD(J,G){if(!J)return!1;if(J.type!=="TSAsExpression")return!1;return G==null||R.default(J,G)}function VD(J,G){if(!J)return!1;if(J.type!=="TSSatisfiesExpression")return!1;return G==null||R.default(J,G)}function ZD(J,G){if(!J)return!1;if(J.type!=="TSTypeAssertion")return!1;return G==null||R.default(J,G)}function QD(J,G){if(!J)return!1;if(J.type!=="TSEnumDeclaration")return!1;return G==null||R.default(J,G)}function YD(J,G){if(!J)return!1;if(J.type!=="TSEnumMember")return!1;return G==null||R.default(J,G)}function WD(J,G){if(!J)return!1;if(J.type!=="TSModuleDeclaration")return!1;return G==null||R.default(J,G)}function zD(J,G){if(!J)return!1;if(J.type!=="TSModuleBlock")return!1;return G==null||R.default(J,G)}function KD(J,G){if(!J)return!1;if(J.type!=="TSImportType")return!1;return G==null||R.default(J,G)}function UD(J,G){if(!J)return!1;if(J.type!=="TSImportEqualsDeclaration")return!1;return G==null||R.default(J,G)}function FD(J,G){if(!J)return!1;if(J.type!=="TSExternalModuleReference")return!1;return G==null||R.default(J,G)}function RD(J,G){if(!J)return!1;if(J.type!=="TSNonNullExpression")return!1;return G==null||R.default(J,G)}function BD(J,G){if(!J)return!1;if(J.type!=="TSExportAssignment")return!1;return G==null||R.default(J,G)}function $D(J,G){if(!J)return!1;if(J.type!=="TSNamespaceExportDeclaration")return!1;return G==null||R.default(J,G)}function DD(J,G){if(!J)return!1;if(J.type!=="TSTypeAnnotation")return!1;return G==null||R.default(J,G)}function MD(J,G){if(!J)return!1;if(J.type!=="TSTypeParameterInstantiation")return!1;return G==null||R.default(J,G)}function OD(J,G){if(!J)return!1;if(J.type!=="TSTypeParameterDeclaration")return!1;return G==null||R.default(J,G)}function fD(J,G){if(!J)return!1;if(J.type!=="TSTypeParameter")return!1;return G==null||R.default(J,G)}function qD(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 jD(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 SD(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 ID(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 AD(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 CD(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 LD(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 PD(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 TD(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 ND(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 wD(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 ED(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 kD(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 bD(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 vD(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 gD(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 _D(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 uD(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 hD(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 yD(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 xD(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 mD(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 cD(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 lD(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 iD(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 aD(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 pD(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 rD(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 dD(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 sD(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 tD(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 AX(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 nD(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 oD(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 eD(J,G){if(!J)return!1;switch(J.type){case"ClassAccessorProperty":break;default:return!1}return G==null||R.default(J,G)}function JM(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 GM(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 XM(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 HM(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 VM(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 ZM(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 QM(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 YM(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 WM(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 zM(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 KM(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 UM(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 FM(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 RM(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 BM(J,G){if(J5.default("isNumberLiteral","isNumericLiteral"),!J)return!1;if(J.type!=="NumberLiteral")return!1;return G==null||R.default(J,G)}function $M(J,G){if(J5.default("isRegexLiteral","isRegExpLiteral"),!J)return!1;if(J.type!=="RegexLiteral")return!1;return G==null||R.default(J,G)}function DM(J,G){if(J5.default("isRestProperty","isRestElement"),!J)return!1;if(J.type!=="RestProperty")return!1;return G==null||R.default(J,G)}function MM(J,G){if(J5.default("isSpreadProperty","isSpreadElement"),!J)return!1;if(J.type!=="SpreadProperty")return!1;return G==null||R.default(J,G)}function OM(J,G){return J5.default("isModuleDeclaration","isImportOrExportDeclaration"),AX(J,G)}Object.defineProperty(CX,"__esModule",{value:!0});CX.isAccessor=eD;CX.isAnyTypeAnnotation=qR;CX.isArgumentPlaceholder=sB;CX.isArrayExpression=xU;CX.isArrayPattern=hF;CX.isArrayTypeAnnotation=jR;CX.isArrowFunctionExpression=yF;CX.isAssignmentExpression=mU;CX.isAssignmentPattern=uF;CX.isAwaitExpression=WR;CX.isBigIntLiteral=KR;CX.isBinary=SD;CX.isBinaryExpression=cU;CX.isBindExpression=tB;CX.isBlock=CD;CX.isBlockParent=AD;CX.isBlockStatement=pU;CX.isBooleanLiteral=RF;CX.isBooleanLiteralTypeAnnotation=IR;CX.isBooleanTypeAnnotation=SR;CX.isBreakStatement=rU;CX.isCallExpression=dU;CX.isCatchClause=sU;CX.isClass=tD;CX.isClassAccessorProperty=$R;CX.isClassBody=xF;CX.isClassDeclaration=cF;CX.isClassExpression=mF;CX.isClassImplements=CR;CX.isClassMethod=JR;CX.isClassPrivateMethod=MR;CX.isClassPrivateProperty=DR;CX.isClassProperty=BR;CX.isCompletionStatement=TD;CX.isConditional=ND;CX.isConditionalExpression=tU;CX.isContinueStatement=nU;CX.isDebuggerStatement=oU;CX.isDecimalLiteral=H$;CX.isDeclaration=hD;CX.isDeclareClass=LR;CX.isDeclareExportAllDeclaration=gR;CX.isDeclareExportDeclaration=vR;CX.isDeclareFunction=PR;CX.isDeclareInterface=TR;CX.isDeclareModule=NR;CX.isDeclareModuleExports=wR;CX.isDeclareOpaqueType=kR;CX.isDeclareTypeAlias=ER;CX.isDeclareVariable=bR;CX.isDeclaredPredicate=_R;CX.isDecorator=oB;CX.isDirective=iU;CX.isDirectiveLiteral=aU;CX.isDoExpression=eB;CX.isDoWhileStatement=eU;CX.isEmptyStatement=JF;CX.isEmptyTypeAnnotation=rR;CX.isEnumBody=QM;CX.isEnumBooleanBody=jB;CX.isEnumBooleanMember=CB;CX.isEnumDeclaration=qB;CX.isEnumDefaultedMember=TB;CX.isEnumMember=YM;CX.isEnumNumberBody=SB;CX.isEnumNumberMember=LB;CX.isEnumStringBody=IB;CX.isEnumStringMember=PB;CX.isEnumSymbolBody=AB;CX.isExistsTypeAnnotation=uR;CX.isExportAllDeclaration=lF;CX.isExportDeclaration=nD;CX.isExportDefaultDeclaration=iF;CX.isExportDefaultSpecifier=J$;CX.isExportNamedDeclaration=aF;CX.isExportNamespaceSpecifier=UR;CX.isExportSpecifier=pF;CX.isExpression=jD;CX.isExpressionStatement=GF;CX.isExpressionWrapper=kD;CX.isFile=XF;CX.isFlow=GM;CX.isFlowBaseAnnotation=HM;CX.isFlowDeclaration=VM;CX.isFlowPredicate=ZM;CX.isFlowType=XM;CX.isFor=bD;CX.isForInStatement=HF;CX.isForOfStatement=rF;CX.isForStatement=VF;CX.isForXStatement=vD;CX.isFunction=gD;CX.isFunctionDeclaration=ZF;CX.isFunctionExpression=QF;CX.isFunctionParent=_D;CX.isFunctionTypeAnnotation=hR;CX.isFunctionTypeParam=yR;CX.isGenericTypeAnnotation=xR;CX.isIdentifier=YF;CX.isIfStatement=WF;CX.isImmutable=lD;CX.isImport=zR;CX.isImportAttribute=nB;CX.isImportDeclaration=dF;CX.isImportDefaultSpecifier=sF;CX.isImportExpression=oF;CX.isImportNamespaceSpecifier=tF;CX.isImportOrExportDeclaration=AX;CX.isImportSpecifier=nF;CX.isIndexedAccessType=NB;CX.isInferredPredicate=mR;CX.isInterfaceDeclaration=lR;CX.isInterfaceExtends=cR;CX.isInterfaceTypeAnnotation=iR;CX.isInterpreterDirective=lU;CX.isIntersectionTypeAnnotation=aR;CX.isJSX=WM;CX.isJSXAttribute=EB;CX.isJSXClosingElement=kB;CX.isJSXClosingFragment=aB;CX.isJSXElement=bB;CX.isJSXEmptyExpression=vB;CX.isJSXExpressionContainer=gB;CX.isJSXFragment=lB;CX.isJSXIdentifier=uB;CX.isJSXMemberExpression=hB;CX.isJSXNamespacedName=yB;CX.isJSXOpeningElement=xB;CX.isJSXOpeningFragment=iB;CX.isJSXSpreadAttribute=mB;CX.isJSXSpreadChild=_B;CX.isJSXText=cB;CX.isLVal=xD;CX.isLabeledStatement=zF;CX.isLiteral=cD;CX.isLogicalExpression=$F;CX.isLoop=wD;CX.isMemberExpression=DF;CX.isMetaProperty=eF;CX.isMethod=aD;CX.isMiscellaneous=zM;CX.isMixedTypeAnnotation=pR;CX.isModuleDeclaration=OM;CX.isModuleExpression=V$;CX.isModuleSpecifier=oD;CX.isNewExpression=MF;CX.isNoop=pB;CX.isNullLiteral=FF;CX.isNullLiteralTypeAnnotation=AR;CX.isNullableTypeAnnotation=dR;CX.isNumberLiteral=BM;CX.isNumberLiteralTypeAnnotation=sR;CX.isNumberTypeAnnotation=tR;CX.isNumericLiteral=UF;CX.isObjectExpression=fF;CX.isObjectMember=pD;CX.isObjectMethod=qF;CX.isObjectPattern=GR;CX.isObjectProperty=jF;CX.isObjectTypeAnnotation=nR;CX.isObjectTypeCallProperty=eR;CX.isObjectTypeIndexer=JB;CX.isObjectTypeInternalSlot=oR;CX.isObjectTypeProperty=GB;CX.isObjectTypeSpreadProperty=XB;CX.isOpaqueType=HB;CX.isOptionalCallExpression=RR;CX.isOptionalIndexedAccessType=wB;CX.isOptionalMemberExpression=FR;CX.isParenthesizedExpression=CF;CX.isPattern=sD;CX.isPatternLike=yD;CX.isPipelineBareFunction=Y$;CX.isPipelinePrimaryTopicReference=W$;CX.isPipelineTopicExpression=Q$;CX.isPlaceholder=rB;CX.isPrivate=JM;CX.isPrivateName=OR;CX.isProgram=OF;CX.isProperty=rD;CX.isPureish=uD;CX.isQualifiedTypeIdentifier=VB;CX.isRecordExpression=G$;CX.isRegExpLiteral=BF;CX.isRegexLiteral=$M;CX.isRestElement=SF;CX.isRestProperty=DM;CX.isReturnStatement=IF;CX.isScopable=ID;CX.isSequenceExpression=AF;CX.isSpreadElement=XR;CX.isSpreadProperty=MM;CX.isStandardized=qD;CX.isStatement=LD;CX.isStaticBlock=fR;CX.isStringLiteral=KF;CX.isStringLiteralTypeAnnotation=ZB;CX.isStringTypeAnnotation=QB;CX.isSuper=HR;CX.isSwitchCase=LF;CX.isSwitchStatement=PF;CX.isSymbolTypeAnnotation=YB;CX.isTSAnyKeyword=O$;CX.isTSArrayType=h$;CX.isTSAsExpression=HD;CX.isTSBaseType=RM;CX.isTSBigIntKeyword=q$;CX.isTSBooleanKeyword=f$;CX.isTSCallSignatureDeclaration=R$;CX.isTSConditionalType=a$;CX.isTSConstructSignatureDeclaration=B$;CX.isTSConstructorType=b$;CX.isTSDeclareFunction=K$;CX.isTSDeclareMethod=U$;CX.isTSEntityName=mD;CX.isTSEnumDeclaration=QD;CX.isTSEnumMember=YD;CX.isTSExportAssignment=BD;CX.isTSExpressionWithTypeArguments=o$;CX.isTSExternalModuleReference=FD;CX.isTSFunctionType=k$;CX.isTSImportEqualsDeclaration=UD;CX.isTSImportType=KD;CX.isTSIndexSignature=M$;CX.isTSIndexedAccessType=s$;CX.isTSInferType=p$;CX.isTSInstantiationExpression=XD;CX.isTSInterfaceBody=JD;CX.isTSInterfaceDeclaration=e$;CX.isTSIntersectionType=i$;CX.isTSIntrinsicKeyword=j$;CX.isTSLiteralType=n$;CX.isTSMappedType=t$;CX.isTSMethodSignature=D$;CX.isTSModuleBlock=zD;CX.isTSModuleDeclaration=WD;CX.isTSNamedTupleMember=c$;CX.isTSNamespaceExportDeclaration=$D;CX.isTSNeverKeyword=S$;CX.isTSNonNullExpression=RD;CX.isTSNullKeyword=I$;CX.isTSNumberKeyword=A$;CX.isTSObjectKeyword=C$;CX.isTSOptionalType=x$;CX.isTSParameterProperty=z$;CX.isTSParenthesizedType=r$;CX.isTSPropertySignature=$$;CX.isTSQualifiedName=F$;CX.isTSRestType=m$;CX.isTSSatisfiesExpression=VD;CX.isTSStringKeyword=L$;CX.isTSSymbolKeyword=P$;CX.isTSThisType=E$;CX.isTSTupleType=y$;CX.isTSType=FM;CX.isTSTypeAliasDeclaration=GD;CX.isTSTypeAnnotation=DD;CX.isTSTypeAssertion=ZD;CX.isTSTypeElement=UM;CX.isTSTypeLiteral=u$;CX.isTSTypeOperator=d$;CX.isTSTypeParameter=fD;CX.isTSTypeParameterDeclaration=OD;CX.isTSTypeParameterInstantiation=MD;CX.isTSTypePredicate=g$;CX.isTSTypeQuery=_$;CX.isTSTypeReference=v$;CX.isTSUndefinedKeyword=T$;CX.isTSUnionType=l$;CX.isTSUnknownKeyword=N$;CX.isTSVoidKeyword=w$;CX.isTaggedTemplateExpression=VR;CX.isTemplateElement=ZR;CX.isTemplateLiteral=QR;CX.isTerminatorless=PD;CX.isThisExpression=TF;CX.isThisTypeAnnotation=WB;CX.isThrowStatement=NF;CX.isTopicReference=Z$;CX.isTryStatement=wF;CX.isTupleExpression=X$;CX.isTupleTypeAnnotation=zB;CX.isTypeAlias=UB;CX.isTypeAnnotation=FB;CX.isTypeCastExpression=RB;CX.isTypeParameter=BB;CX.isTypeParameterDeclaration=$B;CX.isTypeParameterInstantiation=DB;CX.isTypeScript=KM;CX.isTypeofTypeAnnotation=KB;CX.isUnaryExpression=EF;CX.isUnaryLike=dD;CX.isUnionTypeAnnotation=MB;CX.isUpdateExpression=kF;CX.isUserWhitespacable=iD;CX.isV8IntrinsicIdentifier=dB;CX.isVariableDeclaration=bF;CX.isVariableDeclarator=vF;CX.isVariance=OB;CX.isVoidTypeAnnotation=fB;CX.isWhile=ED;CX.isWhileStatement=gF;CX.isWithStatement=_F;CX.isYieldExpression=YR;var R=p5(),J5=e0()});var I4=q((LX)=>{function JI(J,G,X){if(!G5.isMemberExpression(J))return!1;const H=Array.isArray(G)?G:G.split("."),V=[];let Z;for(Z=J;G5.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(G5.isIdentifier(W))z=W.name;else if(G5.isStringLiteral(W))z=W.value;else if(G5.isThisExpression(W))z="this";else return!1;if(H[Q]!==z)return!1}return!0}Object.defineProperty(LX,"__esModule",{value:!0});LX.default=JI;var G5=N1()});var A4=q((PX)=>{function HI(J,G){const X=J.split(".");return(H)=>XI.default(H,X,G)}Object.defineProperty(PX,"__esModule",{value:!0});PX.default=HI;var XI=I4()});var wX=q((TX)=>{Object.defineProperty(TX,"__esModule",{value:!0});TX.default=void 0;var ZI=A4(),QI=ZI.default("React.Component"),NF1=TX.default=QI});var kX=q((EX)=>{function YI(J){return!!J&&/^[a-z]/.test(J)}Object.defineProperty(EX,"__esModule",{value:!0});EX.default=YI});var vX=q((kF1,bX)=>{function H5(J){if(X5!==null&&typeof X5.property){const G=X5;return X5=H5.prototype=null,G}return X5=H5.prototype=J==null?Object.create(null):J,new H5}var X5=null;H5();bX.exports=function J(G){return H5(G)}});var r5=q((_X)=>{function zI(J,G){if(J===G)return!0;if(J==null)return!1;if(gX.ALIAS_KEYS[G])return!1;const X=gX.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(_X,"__esModule",{value:!0});_X.default=zI;var gX=X2()});var C4=q((uX)=>{function FI(J,G){if(J===G)return!0;const X=UI.PLACEHOLDERS_ALIAS[J];if(X){for(let H of X)if(G===H)return!0}return!1}Object.defineProperty(uX,"__esModule",{value:!0});uX.default=FI;var UI=X2()});var j0=q((hX)=>{function OI(J,G,X){if(!G)return!1;if(!$I.default(G.type,J)){if(!X&&G.type==="Placeholder"&&J in MI.FLIPPED_ALIAS_KEYS)return DI.default(G.expectedNode,J);return!1}if(typeof X==="undefined")return!0;else return BI.default(G,X)}Object.defineProperty(hX,"__esModule",{value:!0});hX.default=OI;var BI=p5(),$I=r5(),DI=C4(),MI=X2()});var iX=q((lX)=>{function L4(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 mX(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&&qI.test(String.fromCharCode(J));return L4(J,xX)}function cX(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&&jI.test(String.fromCharCode(J));return L4(J,xX)||L4(J,SI)}function II(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,!mX(H))return!1}else if(!cX(H))return!1}return!G}Object.defineProperty(lX,"__esModule",{value:!0});lX.isIdentifierChar=cX;lX.isIdentifierName=II;lX.isIdentifierStart=mX;var P4="\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-\u1C88\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-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\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",yX="\u200C\u200D\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\u0898-\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",qI=new RegExp("["+P4+"]"),jI=new RegExp("["+P4+yX+"]");P4=yX=null;var xX=[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,68,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,349,41,7,1,79,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,159,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,264,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,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,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,757,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],SI=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239]});var sX=q((dX)=>{function aX(J,G){return G&&J==="await"||J==="enum"}function pX(J,G){return aX(J,G)||TI.has(J)}function rX(J){return NI.has(J)}function wI(J,G){return pX(J,G)||rX(J)}function EI(J){return PI.has(J)}Object.defineProperty(dX,"__esModule",{value:!0});dX.isKeyword=EI;dX.isReservedWord=aX;dX.isStrictBindOnlyReservedWord=rX;dX.isStrictBindReservedWord=wI;dX.isStrictReservedWord=pX;var T4={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"]},PI=new Set(T4.keyword),TI=new Set(T4.strict),NI=new Set(T4.strictBind)});var d5=q((B2)=>{Object.defineProperty(B2,"__esModule",{value:!0});Object.defineProperty(B2,"isIdentifierChar",{enumerable:!0,get:function(){return N4.isIdentifierChar}});Object.defineProperty(B2,"isIdentifierName",{enumerable:!0,get:function(){return N4.isIdentifierName}});Object.defineProperty(B2,"isIdentifierStart",{enumerable:!0,get:function(){return N4.isIdentifierStart}});Object.defineProperty(B2,"isKeyword",{enumerable:!0,get:function(){return V5.isKeyword}});Object.defineProperty(B2,"isReservedWord",{enumerable:!0,get:function(){return V5.isReservedWord}});Object.defineProperty(B2,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return V5.isStrictBindOnlyReservedWord}});Object.defineProperty(B2,"isStrictBindReservedWord",{enumerable:!0,get:function(){return V5.isStrictBindReservedWord}});Object.defineProperty(B2,"isStrictReservedWord",{enumerable:!0,get:function(){return V5.isStrictReservedWord}});var N4=iX(),V5=sX()});var S0=q((tX)=>{function uI(J,G=!0){if(typeof J!=="string")return!1;if(G){if(w4.isKeyword(J)||w4.isStrictReservedWord(J,!0))return!1}return w4.isIdentifierName(J)}Object.defineProperty(tX,"__esModule",{value:!0});tX.default=uI;var w4=d5()});var G6=q((J6)=>{function xI(J,G,X,H,V,Z){const Q=X,Y=H,W=V;let z="",U=null,D=X;const{length:f}=G;for(;;){if(X>=f){Z.unterminated(Q,Y,W),z+=G.slice(D,X);break}const j=G.charCodeAt(X);if(mI(J,j,G,X)){z+=G.slice(D,X);break}if(j===92){z+=G.slice(D,X);const I=cI(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),D=X}else if(j===8232||j===8233)++X,++V,H=X;else if(j===10||j===13)if(J==="template"){if(z+=G.slice(D,X)+"\n",++X,j===13&&G.charCodeAt(X)===10)++X;++V,D=H=X}else Z.unterminated(Q,Y,W);else++X}return{pos:X,str:z,firstInvalidLoc:U,lineStart:H,curLine:V,containsInvalid:!!U}}function mI(J,G,X,H){if(J==="template")return G===96||G===36&&X.charCodeAt(H+1)===123;return G===(J==="double"?34:39)}function cI(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}=E4(J,G,X,H,2,!1,Q,Z),Y(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:G}=eX(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 D=/^[0-7]+/.exec(J.slice(z,G+2))[0],f=parseInt(D,8);if(f>255)D=D.slice(0,-1),f=parseInt(D,8);G+=D.length-1;const j=J.charCodeAt(G);if(D!=="0"||j===56||j===57)if(V)return Y(null);else Z.strictNumericEscape(z,X,H);return Y(String.fromCharCode(f))}return Y(String.fromCharCode(W))}}function E4(J,G,X,H,V,Z,Q,Y){const W=G;let z;if({n:z,pos:G}=oX(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 oX(J,G,X,H,V,Z,Q,Y,W,z){const U=G,D=V===16?nX.hex:nX.decBinOct,f=V===16?s5.hex:V===10?s5.dec:V===8?s5.oct:s5.bin;let j=!1,I=0;for(let g=0,C=Z==null?1/0:Z;g<C;++g){const T=J.charCodeAt(G);let E;if(T===95&&Y!=="bail"){const H1=J.charCodeAt(G-1),J1=J.charCodeAt(G+1);if(!Y){if(z)return{n:null,pos:G};W.numericSeparatorInEscapeSequence(G,X,H)}else if(Number.isNaN(J1)||!f(J1)||D.has(H1)||D.has(J1)){if(z)return{n:null,pos:G};W.unexpectedNumericSeparator(G,X,H)}++G;continue}if(T>=97)E=T-97+10;else if(T>=65)E=T-65+10;else if(yI(T))E=T-48;else E=1/0;if(E>=V)if(E<=9&&z)return{n:null,pos:G};else if(E<=9&&W.invalidDigit(G,X,H,V))E=0;else if(Q)E=0,j=!0;else break;++G,I=I*V+E}if(G===U||Z!=null&&G-U!==Z||j)return{n:null,pos:G};return{n:I,pos:G}}function eX(J,G,X,H,V,Z){const Q=J.charCodeAt(G);let Y;if(Q===123){if(++G,{code:Y,pos:G}=E4(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}=E4(J,G,X,H,4,!1,V,Z));return{code:Y,pos:G}}Object.defineProperty(J6,"__esModule",{value:!0});J6.readCodePoint=eX;J6.readInt=oX;J6.readStringContents=xI;var yI=function J(G){return G>=48&&G<=57},nX={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},s5={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 _2=q((H6)=>{Object.defineProperty(H6,"__esModule",{value:!0});H6.UPDATE_OPERATORS=H6.UNARY_OPERATORS=H6.STRING_UNARY_OPERATORS=H6.STATEMENT_OR_BLOCK_KEYS=H6.NUMBER_UNARY_OPERATORS=H6.NUMBER_BINARY_OPERATORS=H6.NOT_LOCAL_BINDING=H6.LOGICAL_OPERATORS=H6.INHERIT_KEYS=H6.FOR_INIT_KEYS=H6.FLATTENABLE_KEYS=H6.EQUALITY_BINARY_OPERATORS=H6.COMPARISON_BINARY_OPERATORS=H6.COMMENT_KEYS=H6.BOOLEAN_UNARY_OPERATORS=H6.BOOLEAN_NUMBER_BINARY_OPERATORS=H6.BOOLEAN_BINARY_OPERATORS=H6.BLOCK_SCOPED_SYMBOL=H6.BINARY_OPERATORS=H6.ASSIGNMENT_OPERATORS=void 0;var mF1=H6.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],cF1=H6.FLATTENABLE_KEYS=["body","expressions"],lF1=H6.FOR_INIT_KEYS=["left","init"],iF1=H6.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],pI=H6.LOGICAL_OPERATORS=["||","&&","??"],aF1=H6.UPDATE_OPERATORS=["++","--"],rI=H6.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],dI=H6.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],sI=H6.COMPARISON_BINARY_OPERATORS=[...dI,"in","instanceof"],tI=H6.BOOLEAN_BINARY_OPERATORS=[...sI,...rI],X6=H6.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],pF1=H6.BINARY_OPERATORS=["+",...X6,...tI,"|>"],rF1=H6.ASSIGNMENT_OPERATORS=["=","+=",...X6.map((J)=>J+"="),...pI.map((J)=>J+"=")],nI=H6.BOOLEAN_UNARY_OPERATORS=["delete","!"],oI=H6.NUMBER_UNARY_OPERATORS=["+","-","~"],eI=H6.STRING_UNARY_OPERATORS=["typeof"],dF1=H6.UNARY_OPERATORS=["void","throw",...nI,...oI,...eI],sF1=H6.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},tF1=H6.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),nF1=H6.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var T2=q((U6)=>{function t5(J){if(Array.isArray(J))return"array";else if(J===null)return"null";else return typeof J}function g4(J){return{validate:J}}function o5(J){return typeof J==="string"?b4(J):b4(...J)}function CA(J){return g4(o5(J))}function LA(J){return{validate:J,optional:!0}}function PA(J){return{validate:o5(J),optional:!0}}function Q6(J){return z6(_4("array"),W6(J))}function Y6(J){return Q6(o5(J))}function TA(J){return g4(Y6(J))}function W6(J){function G(X,H,V){if(!Array.isArray(V))return;for(let Z=0;Z<V.length;Z++){const Q=`${H}[${Z}]`,Y=V[Z];if(J(X,Q,Y),process.env.BABEL_TYPES_8_BREAKING)n5.validateChild(X,Q,Y)}}return G.each=J,G}function NA(...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 b4(...J){function G(X,H,V){for(let Z of J)if(Z6.default(Z,V)){n5.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 wA(...J){function G(X,H,V){for(let Z of J)if(t5(V)===Z||Z6.default(Z,V)){n5.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 _4(J){function G(X,H,V){if(t5(V)!==J)throw new TypeError(`Property ${H} expected type of ${J} but got ${t5(V)}`)}return G.type=J,G}function EA(J){function G(X,H,V){const Z=[];for(let Q of Object.keys(J))try{n5.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 kA(){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 z6(...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 gA(...J){return(G,X={})=>{let H=X.aliases;if(!H){var V,Z;if(X.inherits)H=(V=v4[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),K6(G,X)}}function K6(J,G={}){const X=G.inherits&&v4[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(!bA.includes(Y))throw new Error(`Unknown type option "${Y}" on ${J}`);if(G.deprecatedAlias)IA[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=_4(t5(W.default));for(let z of Object.keys(W))if(!vA.includes(z))throw new Error(`Unknown field key "${z}" on ${J}.${Y}`)}if(fA[J]=G.visitor=V,SA[J]=G.builder=Q,jA[J]=G.fields=H,qA[J]=G.aliases=Z,Z.forEach((Y)=>{k4[Y]=k4[Y]||[],k4[Y].push(J)}),G.validate)AA[J]=G.validate;v4[J]=G}Object.defineProperty(U6,"__esModule",{value:!0});U6.VISITOR_KEYS=U6.NODE_PARENT_VALIDATIONS=U6.NODE_FIELDS=U6.FLIPPED_ALIAS_KEYS=U6.DEPRECATED_KEYS=U6.BUILDER_KEYS=U6.ALIAS_KEYS=void 0;U6.arrayOf=Q6;U6.arrayOfType=Y6;U6.assertEach=W6;U6.assertNodeOrValueType=wA;U6.assertNodeType=b4;U6.assertOneOf=NA;U6.assertOptionalChainStart=kA;U6.assertShape=EA;U6.assertValueType=_4;U6.chain=z6;U6.default=K6;U6.defineAliasedType=gA;U6.typeIs=o5;U6.validate=g4;U6.validateArrayOfType=TA;U6.validateOptional=LA;U6.validateOptionalType=PA;U6.validateType=CA;var Z6=j0(),n5=e5(),fA=U6.VISITOR_KEYS={},qA=U6.ALIAS_KEYS={},k4=U6.FLIPPED_ALIAS_KEYS={},jA=U6.NODE_FIELDS={},SA=U6.BUILDER_KEYS={},IA=U6.DEPRECATED_KEYS={},AA=U6.NODE_PARENT_VALIDATIONS={},bA=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],vA=["default","optional","deprecated","validate"],v4={}});var h4=q(($6)=>{Object.defineProperty($6,"__esModule",{value:!0});$6.patternLikeCommon=$6.functionTypeAnnotationCommon=$6.functionDeclarationCommon=$6.functionCommon=$6.classMethodOrPropertyCommon=$6.classMethodOrDeclareMethodCommon=void 0;var c1=j0(),QC=S0(),R6=d5(),YC=G6(),Z5=_2(),K=T2(),k=K.defineAliasedType("Standardized");k("ArrayExpression",{fields:{elements:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeOrValueType("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:void 0}},visitor:["elements"],aliases:["Expression"]});k("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return K.assertValueType("string");const J=K.assertOneOf(...Z5.ASSIGNMENT_OPERATORS),G=K.assertOneOf("=");return function(X,H,V){(c1.default("Pattern",X.left)?G:J)(X,H,V)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?K.assertNodeType("LVal","OptionalMemberExpression"):K.assertNodeType("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:K.assertNodeType("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});k("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:K.assertOneOf(...Z5.BINARY_OPERATORS)},left:{validate:function(){const J=K.assertNodeType("Expression"),G=K.assertNodeType("Expression","PrivateName");return Object.assign(function(H,V,Z){(H.operator==="in"?G:J)(H,V,Z)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:K.assertNodeType("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});k("InterpreterDirective",{builder:["value"],fields:{value:{validate:K.assertValueType("string")}}});k("Directive",{visitor:["value"],fields:{value:{validate:K.assertNodeType("DirectiveLiteral")}}});k("DirectiveLiteral",{builder:["value"],fields:{value:{validate:K.assertValueType("string")}}});k("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Directive"))),default:[]},body:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});k("BreakStatement",{visitor:["label"],fields:{label:{validate:K.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});k("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:K.assertNodeType("Expression","Super","V8IntrinsicIdentifier")},arguments:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Expression","SpreadElement","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:K.assertOneOf(!0,!1),optional:!0}}:{},{typeArguments:{validate:K.assertNodeType("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:K.assertNodeType("TSTypeParameterInstantiation"),optional:!0}})});k("CatchClause",{visitor:["param","body"],fields:{param:{validate:K.assertNodeType("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:K.assertNodeType("BlockStatement")}},aliases:["Scopable","BlockParent"]});k("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:K.assertNodeType("Expression")},consequent:{validate:K.assertNodeType("Expression")},alternate:{validate:K.assertNodeType("Expression")}},aliases:["Expression","Conditional"]});k("ContinueStatement",{visitor:["label"],fields:{label:{validate:K.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});k("DebuggerStatement",{aliases:["Statement"]});k("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:K.assertNodeType("Expression")},body:{validate:K.assertNodeType("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});k("EmptyStatement",{aliases:["Statement"]});k("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:K.assertNodeType("Expression")}},aliases:["Statement","ExpressionWrapper"]});k("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:K.assertNodeType("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):K.assertEach(K.assertNodeType("CommentBlock","CommentLine")),optional:!0},tokens:{validate:K.assertEach(Object.assign(()=>{},{type:"any"})),optional:!0}}});k("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?K.assertNodeType("VariableDeclaration","LVal"):K.assertNodeType("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:K.assertNodeType("Expression")},body:{validate:K.assertNodeType("Statement")}}});k("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:K.assertNodeType("VariableDeclaration","Expression"),optional:!0},test:{validate:K.assertNodeType("Expression"),optional:!0},update:{validate:K.assertNodeType("Expression"),optional:!0},body:{validate:K.assertNodeType("Statement")}}});var I0=()=>({params:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}});$6.functionCommon=I0;var n2=()=>({returnType:{validate:K.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:K.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});$6.functionTypeAnnotationCommon=n2;var B6=()=>Object.assign({},I0(),{declare:{validate:K.assertValueType("boolean"),optional:!0},id:{validate:K.assertNodeType("Identifier"),optional:!0}});$6.functionDeclarationCommon=B6;k("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},B6(),n2(),{body:{validate:K.assertNodeType("BlockStatement")},predicate:{validate:K.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const J=K.assertNodeType("Identifier");return function(G,X,H){if(!c1.default("ExportDefaultDeclaration",G))J(H,"id",H.id)}}()});k("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},I0(),n2(),{id:{validate:K.assertNodeType("Identifier"),optional:!0},body:{validate:K.assertNodeType("BlockStatement")},predicate:{validate:K.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});var A0=()=>({typeAnnotation:{validate:K.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:K.assertValueType("boolean"),optional:!0},decorators:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Decorator"))),optional:!0}});$6.patternLikeCommon=A0;k("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},A0(),{name:{validate:K.chain(K.assertValueType("string"),Object.assign(function(J,G,X){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!QC.default(X,!1))throw new TypeError(`"${X}" is not a valid identifier name`)},{type:"string"}))}}),validate(J,G,X){if(!process.env.BABEL_TYPES_8_BREAKING)return;const H=/\.(\w+)$/.exec(G);if(!H)return;const[,V]=H,Z={computed:!1};if(V==="property"){if(c1.default("MemberExpression",J,Z))return;if(c1.default("OptionalMemberExpression",J,Z))return}else if(V==="key"){if(c1.default("Property",J,Z))return;if(c1.default("Method",J,Z))return}else if(V==="exported"){if(c1.default("ExportSpecifier",J))return}else if(V==="imported"){if(c1.default("ImportSpecifier",J,{imported:X}))return}else if(V==="meta"){if(c1.default("MetaProperty",J,{meta:X}))return}if((R6.isKeyword(X.name)||R6.isReservedWord(X.name,!1))&&X.name!=="this")throw new TypeError(`"${X.name}" is not a valid identifier`)}});k("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:K.assertNodeType("Expression")},consequent:{validate:K.assertNodeType("Statement")},alternate:{optional:!0,validate:K.assertNodeType("Statement")}}});k("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:K.assertNodeType("Identifier")},body:{validate:K.assertNodeType("Statement")}}});k("StringLiteral",{builder:["value"],fields:{value:{validate:K.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});k("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:K.chain(K.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"]});k("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});k("BooleanLiteral",{builder:["value"],fields:{value:{validate:K.assertValueType("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});k("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:K.assertValueType("string")},flags:{validate:K.chain(K.assertValueType("string"),Object.assign(function(J,G,X){if(!process.env.BABEL_TYPES_8_BREAKING)return;const H=/[^gimsuy]/.exec(X);if(H)throw new TypeError(`"${H[0]}" is not a valid RegExp flag`)},{type:"string"})),default:""}}});k("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:K.assertOneOf(...Z5.LOGICAL_OPERATORS)},left:{validate:K.assertNodeType("Expression")},right:{validate:K.assertNodeType("Expression")}}});k("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:K.assertNodeType("Expression","Super")},property:{validate:function(){const J=K.assertNodeType("Identifier","PrivateName"),G=K.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:K.assertOneOf(!0,!1),optional:!0}}:{})});k("NewExpression",{inherits:"CallExpression"});k("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:K.assertOneOf("script","module"),default:"script"},interpreter:{validate:K.assertNodeType("InterpreterDirective"),default:null,optional:!0},directives:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Directive"))),default:[]},body:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Statement")))}},aliases:["Scopable","BlockParent","Block"]});k("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("ObjectMethod","ObjectProperty","SpreadElement")))}}});k("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},I0(),n2(),{kind:Object.assign({validate:K.assertOneOf("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:!1},key:{validate:function(){const J=K.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),G=K.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:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Decorator"))),optional:!0},body:{validate:K.assertNodeType("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});k("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:!1},key:{validate:function(){const J=K.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),G=K.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:K.assertNodeType("Expression","PatternLike")},shorthand:{validate:K.chain(K.assertValueType("boolean"),Object.assign(function(J,G,X){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(X&&J.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")},{type:"boolean"}),function(J,G,X){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(X&&!c1.default("Identifier",J.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}),default:!1},decorators:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const J=K.assertNodeType("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),G=K.assertNodeType("Expression");return function(X,H,V){if(!process.env.BABEL_TYPES_8_BREAKING)return;(c1.default("ObjectPattern",X)?J:G)(V,"value",V.value)}}()});k("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},A0(),{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?K.assertNodeType("LVal"):K.assertNodeType("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")}}),validate(J,G){if(!process.env.BABEL_TYPES_8_BREAKING)return;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}`)}});k("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:K.assertNodeType("Expression"),optional:!0}}});k("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Expression")))}},aliases:["Expression"]});k("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:K.assertNodeType("Expression")}}});k("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:K.assertNodeType("Expression"),optional:!0},consequent:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Statement")))}}});k("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:K.assertNodeType("Expression")},cases:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("SwitchCase")))}}});k("ThisExpression",{aliases:["Expression"]});k("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:K.assertNodeType("Expression")}}});k("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:K.chain(K.assertNodeType("BlockStatement"),Object.assign(function(J){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!J.handler&&!J.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:K.assertNodeType("CatchClause")},finalizer:{optional:!0,validate:K.assertNodeType("BlockStatement")}}});k("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:K.assertNodeType("Expression")},operator:{validate:K.assertOneOf(...Z5.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});k("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?K.assertNodeType("Expression"):K.assertNodeType("Identifier","MemberExpression")},operator:{validate:K.assertOneOf(...Z5.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});k("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:K.assertValueType("boolean"),optional:!0},kind:{validate:K.assertOneOf("var","let","const","using","await using")},declarations:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("VariableDeclarator")))}},validate(J,G,X){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!c1.default("ForXStatement",J,{left:X}))return;if(X.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${J.type}`)}});k("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return K.assertNodeType("LVal");const J=K.assertNodeType("Identifier","ArrayPattern","ObjectPattern"),G=K.assertNodeType("Identifier");return function(X,H,V){(X.init?J:G)(X,H,V)}}()},definite:{optional:!0,validate:K.assertValueType("boolean")},init:{optional:!0,validate:K.assertNodeType("Expression")}}});k("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:K.assertNodeType("Expression")},body:{validate:K.assertNodeType("Statement")}}});k("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:K.assertNodeType("Expression")},body:{validate:K.assertNodeType("Statement")}}});k("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},A0(),{left:{validate:K.assertNodeType("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:K.assertNodeType("Expression")},decorators:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Decorator"))),optional:!0}})});k("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},A0(),{elements:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeOrValueType("null","PatternLike","LVal")))}})});k("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},I0(),n2(),{expression:{validate:K.assertValueType("boolean")},body:{validate:K.assertNodeType("BlockStatement","Expression")},predicate:{validate:K.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});k("ClassBody",{visitor:["body"],fields:{body:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}});k("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:K.assertNodeType("Identifier"),optional:!0},typeParameters:{validate:K.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:K.assertNodeType("ClassBody")},superClass:{optional:!0,validate:K.assertNodeType("Expression")},superTypeParameters:{validate:K.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Decorator"))),optional:!0},mixins:{validate:K.assertNodeType("InterfaceExtends"),optional:!0}}});k("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:K.assertNodeType("Identifier"),optional:!0},typeParameters:{validate:K.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:K.assertNodeType("ClassBody")},superClass:{optional:!0,validate:K.assertNodeType("Expression")},superTypeParameters:{validate:K.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Decorator"))),optional:!0},mixins:{validate:K.assertNodeType("InterfaceExtends"),optional:!0},declare:{validate:K.assertValueType("boolean"),optional:!0},abstract:{validate:K.assertValueType("boolean"),optional:!0}},validate:function(){const J=K.assertNodeType("Identifier");return function(G,X,H){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!c1.default("ExportDefaultDeclaration",G))J(H,"id",H.id)}}()});k("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:K.assertNodeType("StringLiteral")},exportKind:K.validateOptional(K.assertOneOf("type","value")),attributes:{optional:!0,validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("ImportAttribute")))},assertions:{optional:!0,validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("ImportAttribute")))}}});k("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:K.assertNodeType("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:K.validateOptional(K.assertOneOf("value"))}});k("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:K.chain(K.assertNodeType("Declaration"),Object.assign(function(J,G,X){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(X&&J.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")},{oneOfNodeTypes:["Declaration"]}),function(J,G,X){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(X&&J.source)throw new TypeError("Cannot export a declaration from a source")})},attributes:{optional:!0,validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("ImportAttribute")))},assertions:{optional:!0,validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("ImportAttribute")))},specifiers:{default:[],validate:K.chain(K.assertValueType("array"),K.assertEach(function(){const J=K.assertNodeType("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),G=K.assertNodeType("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return J;return function(X,H,V){(X.source?J:G)(X,H,V)}}()))},source:{validate:K.assertNodeType("StringLiteral"),optional:!0},exportKind:K.validateOptional(K.assertOneOf("type","value"))}});k("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:K.assertNodeType("Identifier")},exported:{validate:K.assertNodeType("Identifier","StringLiteral")},exportKind:{validate:K.assertOneOf("type","value"),optional:!0}}});k("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 K.assertNodeType("VariableDeclaration","LVal");const J=K.assertNodeType("VariableDeclaration"),G=K.assertNodeType("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(X,H,V){if(c1.default("VariableDeclaration",V))J(X,H,V);else G(X,H,V)}}()},right:{validate:K.assertNodeType("Expression")},body:{validate:K.assertNodeType("Statement")},await:{default:!1}}});k("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("ImportAttribute")))},assertions:{optional:!0,validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("ImportAttribute")))},module:{optional:!0,validate:K.assertValueType("boolean")},phase:{default:null,validate:K.assertOneOf("source","defer")},specifiers:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:K.assertNodeType("StringLiteral")},importKind:{validate:K.assertOneOf("type","typeof","value"),optional:!0}}});k("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:K.assertNodeType("Identifier")}}});k("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:K.assertNodeType("Identifier")}}});k("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:K.assertNodeType("Identifier")},imported:{validate:K.assertNodeType("Identifier","StringLiteral")},importKind:{validate:K.assertOneOf("type","typeof","value"),optional:!0}}});k("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:K.assertOneOf("source","defer")},source:{validate:K.assertNodeType("Expression")},options:{validate:K.assertNodeType("Expression"),optional:!0}}});k("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:K.chain(K.assertNodeType("Identifier"),Object.assign(function(J,G,X){if(!process.env.BABEL_TYPES_8_BREAKING)return;let H;switch(X.name){case"function":H="sent";break;case"new":H="target";break;case"import":H="meta";break}if(!c1.default("Identifier",J.property,{name:H}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]}))},property:{validate:K.assertNodeType("Identifier")}}});var J9=()=>({abstract:{validate:K.assertValueType("boolean"),optional:!0},accessibility:{validate:K.assertOneOf("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:K.assertValueType("boolean"),optional:!0},key:{validate:K.chain(function(){const J=K.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),G=K.assertNodeType("Expression");return function(X,H,V){(X.computed?G:J)(X,H,V)}}(),K.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});$6.classMethodOrPropertyCommon=J9;var u4=()=>Object.assign({},I0(),J9(),{params:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:K.assertOneOf("get","set","method","constructor"),default:"method"},access:{validate:K.chain(K.assertValueType("string"),K.assertOneOf("public","private","protected")),optional:!0},decorators:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Decorator"))),optional:!0}});$6.classMethodOrDeclareMethodCommon=u4;k("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},u4(),n2(),{body:{validate:K.assertNodeType("BlockStatement")}})});k("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},A0(),{properties:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("RestElement","ObjectProperty")))}})});k("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:K.assertNodeType("Expression")}}});k("Super",{aliases:["Expression"]});k("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:K.assertNodeType("Expression")},quasi:{validate:K.assertNodeType("TemplateLiteral")},typeParameters:{validate:K.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});k("TemplateElement",{builder:["value","tail"],fields:{value:{validate:K.chain(K.assertShape({raw:{validate:K.assertValueType("string")},cooked:{validate:K.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}=YC.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}}});k("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("TemplateElement")))},expressions:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.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}`)})}}});k("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:K.chain(K.assertValueType("boolean"),Object.assign(function(J,G,X){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(X&&!J.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})),default:!1},argument:{optional:!0,validate:K.assertNodeType("Expression")}}});k("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:K.assertNodeType("Expression")}}});k("Import",{aliases:["Expression"]});k("BigIntLiteral",{builder:["value"],fields:{value:{validate:K.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});k("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:K.assertNodeType("Identifier")}}});k("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:K.assertNodeType("Expression")},property:{validate:function(){const J=K.assertNodeType("Identifier"),G=K.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?K.assertValueType("boolean"):K.chain(K.assertValueType("boolean"),K.assertOptionalChainStart())}}});k("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:K.assertNodeType("Expression")},arguments:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Expression","SpreadElement","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?K.assertValueType("boolean"):K.chain(K.assertValueType("boolean"),K.assertOptionalChainStart())},typeArguments:{validate:K.assertNodeType("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:K.assertNodeType("TSTypeParameterInstantiation"),optional:!0}}});k("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},J9(),{value:{validate:K.assertNodeType("Expression"),optional:!0},definite:{validate:K.assertValueType("boolean"),optional:!0},typeAnnotation:{validate:K.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Decorator"))),optional:!0},readonly:{validate:K.assertValueType("boolean"),optional:!0},declare:{validate:K.assertValueType("boolean"),optional:!0},variance:{validate:K.assertNodeType("Variance"),optional:!0}})});k("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},J9(),{key:{validate:K.chain(function(){const J=K.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),G=K.assertNodeType("Expression");return function(X,H,V){(X.computed?G:J)(X,H,V)}}(),K.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:K.assertNodeType("Expression"),optional:!0},definite:{validate:K.assertValueType("boolean"),optional:!0},typeAnnotation:{validate:K.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Decorator"))),optional:!0},readonly:{validate:K.assertValueType("boolean"),optional:!0},declare:{validate:K.assertValueType("boolean"),optional:!0},variance:{validate:K.assertNodeType("Variance"),optional:!0}})});k("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:K.assertNodeType("PrivateName")},value:{validate:K.assertNodeType("Expression"),optional:!0},typeAnnotation:{validate:K.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Decorator"))),optional:!0},static:{validate:K.assertValueType("boolean"),default:!1},readonly:{validate:K.assertValueType("boolean"),optional:!0},definite:{validate:K.assertValueType("boolean"),optional:!0},variance:{validate:K.assertNodeType("Variance"),optional:!0}}});k("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},u4(),n2(),{kind:{validate:K.assertOneOf("get","set","method"),default:"method"},key:{validate:K.assertNodeType("PrivateName")},body:{validate:K.assertNodeType("BlockStatement")}})});k("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:K.assertNodeType("Identifier")}}});k("StaticBlock",{visitor:["body"],fields:{body:{validate:K.chain(K.assertValueType("array"),K.assertEach(K.assertNodeType("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})});var M6=q(()=>{var S=T2(),a=S.defineAliasedType("Flow"),y4=(J)=>{const G=J==="DeclareClass";a(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")})})};a("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:S.validateType("FlowType")}});a("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("boolean"))}});a("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ClassImplements",{visitor:["id","typeParameters"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});y4("DeclareClass");a("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),predicate:S.validateOptionalType("DeclaredPredicate")}});y4("DeclareInterface");a("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"))}});a("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:S.validateType("TypeAnnotation")}});a("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),right:S.validateType("FlowType")}});a("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")}});a("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier")}});a("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"))}});a("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:S.validateType("StringLiteral"),exportKind:S.validateOptional(S.assertOneOf("type","value"))}});a("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:S.validateType("Flow")}});a("ExistsTypeAnnotation",{aliases:["FlowType"]});a("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:S.validateOptionalType("TypeParameterDeclaration"),params:S.validate(S.arrayOfType("FunctionTypeParam")),rest:S.validateOptionalType("FunctionTypeParam"),this:S.validateOptionalType("FunctionTypeParam"),returnType:S.validateType("FlowType")}});a("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:S.validateOptionalType("Identifier"),typeAnnotation:S.validateType("FlowType"),optional:S.validateOptional(S.assertValueType("boolean"))}});a("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:S.validateType(["Identifier","QualifiedTypeIdentifier"]),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});a("InferredPredicate",{aliases:["FlowPredicate"]});a("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:S.validateType(["Identifier","QualifiedTypeIdentifier"]),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});y4("InterfaceDeclaration");a("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:S.validateOptional(S.arrayOfType("InterfaceExtends")),body:S.validateType("ObjectTypeAnnotation")}});a("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});a("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:S.validateType("FlowType")}});a("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("number"))}});a("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("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"))}});a("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"))}});a("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:S.validateType("FlowType"),static:S.validate(S.assertValueType("boolean"))}});a("ObjectTypeIndexer",{visitor:["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")}});a("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"))}});a("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:S.validateType("FlowType")}});a("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")}});a("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:S.validateType("Identifier"),qualification:S.validateType(["Identifier","QualifiedTypeIdentifier"])}});a("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("string"))}});a("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});a("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:S.validateType("FlowType")}});a("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),right:S.validateType("FlowType")}});a("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:S.validateType("FlowType")}});a("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:S.validateType("Expression"),typeAnnotation:S.validateType("TypeAnnotation")}});a("TypeParameter",{visitor:["bound","default","variance"],fields:{name:S.validate(S.assertValueType("string")),bound:S.validateOptionalType("TypeAnnotation"),default:S.validateOptionalType("FlowType"),variance:S.validateOptionalType("Variance")}});a("TypeParameterDeclaration",{visitor:["params"],fields:{params:S.validate(S.arrayOfType("TypeParameter"))}});a("TypeParameterInstantiation",{visitor:["params"],fields:{params:S.validate(S.arrayOfType("FlowType"))}});a("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});a("Variance",{builder:["kind"],fields:{kind:S.validate(S.assertOneOf("minus","plus"))}});a("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});a("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:S.validateType("Identifier"),body:S.validateType(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});a("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumBooleanMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});a("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumNumberMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});a("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});a("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:S.validateArrayOfType("EnumDefaultedMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});a("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:S.validateType("Identifier"),init:S.validateType("BooleanLiteral")}});a("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:S.validateType("Identifier"),init:S.validateType("NumericLiteral")}});a("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:S.validateType("Identifier"),init:S.validateType("StringLiteral")}});a("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:S.validateType("Identifier")}});a("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:S.validateType("FlowType"),indexType:S.validateType("FlowType")}});a("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:S.validateType("FlowType"),indexType:S.validateType("FlowType"),optional:S.validate(S.assertValueType("boolean"))}})});var O6=q(()=>{var f1=T2(),l1=f1.defineAliasedType("JSX");l1("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:f1.assertNodeType("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});l1("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});l1("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:{validate:f1.chain(f1.assertValueType("array"),f1.assertEach(f1.assertNodeType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:f1.assertValueType("boolean"),optional:!0}})});l1("JSXEmptyExpression",{});l1("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression","JSXEmptyExpression")}}});l1("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression")}}});l1("JSXIdentifier",{builder:["name"],fields:{name:{validate:f1.assertValueType("string")}}});l1("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:f1.assertNodeType("JSXMemberExpression","JSXIdentifier")},property:{validate:f1.assertNodeType("JSXIdentifier")}}});l1("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:f1.assertNodeType("JSXIdentifier")},name:{validate:f1.assertNodeType("JSXIdentifier")}}});l1("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:f1.chain(f1.assertValueType("array"),f1.assertEach(f1.assertNodeType("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:f1.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});l1("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:f1.assertNodeType("Expression")}}});l1("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:f1.assertValueType("string")}}});l1("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:f1.assertNodeType("JSXOpeningFragment")},closingFragment:{validate:f1.assertNodeType("JSXClosingFragment")},children:{validate:f1.chain(f1.assertValueType("array"),f1.assertEach(f1.assertNodeType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});l1("JSXOpeningFragment",{aliases:["Immutable"]});l1("JSXClosingFragment",{aliases:["Immutable"]})});var c4=q((f6)=>{Object.defineProperty(f6,"__esModule",{value:!0});f6.PLACEHOLDERS_FLIPPED_ALIAS=f6.PLACEHOLDERS_ALIAS=f6.PLACEHOLDERS=void 0;var RC=T2(),BC=f6.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],m4=f6.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let J of BC){const G=RC.ALIAS_KEYS[J];if(G!=null&&G.length)m4[J]=G}var x4=f6.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(m4).forEach((J)=>{m4[J].forEach((G)=>{if(!hasOwnProperty.call(x4,G))x4[G]=[];x4[G].push(J)})})});var j6=q(()=>{var G9=T2(),MC=c4(),l4=G9.defineAliasedType("Miscellaneous");l4("Noop",{visitor:[]});l4("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:G9.assertNodeType("Identifier")},expectedNode:{validate:G9.assertOneOf(...MC.PLACEHOLDERS)}}});l4("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:G9.assertValueType("string")}}})});var S6=q(()=>{var D1=T2();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:{validate:D1.chain(D1.assertValueType("array"),D1.assertEach(D1.assertNodeType("ObjectProperty","SpreadElement")))}}});D1.default("TupleExpression",{fields:{elements:{validate:D1.chain(D1.assertValueType("array"),D1.assertEach(D1.assertNodeType("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 w6=q(()=>{var L=T2(),I6=h4(),OC=j0(),e=L.defineAliasedType("TypeScript"),s1=L.assertValueType("boolean"),A6=()=>({returnType:{validate:L.assertNodeType("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:L.assertNodeType("TSTypeParameterDeclaration","Noop"),optional:!0}});e("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:L.assertOneOf("public","private","protected"),optional:!0},readonly:{validate:L.assertValueType("boolean"),optional:!0},parameter:{validate:L.assertNodeType("Identifier","AssignmentPattern")},override:{validate:L.assertValueType("boolean"),optional:!0},decorators:{validate:L.chain(L.assertValueType("array"),L.assertEach(L.assertNodeType("Decorator"))),optional:!0}}});e("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},I6.functionDeclarationCommon(),A6())});e("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},I6.classMethodOrDeclareMethodCommon(),A6())});e("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:L.validateType("TSEntityName"),right:L.validateType("Identifier")}});var X9=()=>({typeParameters:L.validateOptionalType("TSTypeParameterDeclaration"),["parameters"]:L.validateArrayOfType(["ArrayPattern","Identifier","ObjectPattern","RestElement"]),["typeAnnotation"]:L.validateOptionalType("TSTypeAnnotation")}),C6={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:X9()};e("TSCallSignatureDeclaration",C6);e("TSConstructSignatureDeclaration",C6);var L6=()=>({key:L.validateType("Expression"),computed:{default:!1},optional:L.validateOptional(s1)});e("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},L6(),{readonly:L.validateOptional(s1),typeAnnotation:L.validateOptionalType("TSTypeAnnotation"),kind:{validate:L.assertOneOf("get","set")}})});e("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},X9(),L6(),{kind:{validate:L.assertOneOf("method","get","set")}})});e("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:L.validateOptional(s1),static:L.validateOptional(s1),parameters:L.validateArrayOfType("Identifier"),typeAnnotation:L.validateOptionalType("TSTypeAnnotation")}});var fC=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let J of fC)e(J,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});e("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var P6={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};e("TSFunctionType",Object.assign({},P6,{fields:X9()}));e("TSConstructorType",Object.assign({},P6,{fields:Object.assign({},X9(),{abstract:L.validateOptional(s1)})}));e("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:L.validateType("TSEntityName"),typeParameters:L.validateOptionalType("TSTypeParameterInstantiation")}});e("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:L.validateType(["Identifier","TSThisType"]),typeAnnotation:L.validateOptionalType("TSTypeAnnotation"),asserts:L.validateOptional(s1)}});e("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:L.validateType(["TSEntityName","TSImportType"]),typeParameters:L.validateOptionalType("TSTypeParameterInstantiation")}});e("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:L.validateArrayOfType("TSTypeElement")}});e("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:L.validateType("TSType")}});e("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:L.validateArrayOfType(["TSType","TSNamedTupleMember"])}});e("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:L.validateType("TSType")}});e("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:L.validateType("TSType")}});e("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:L.validateType("Identifier"),optional:{validate:s1,default:!1},elementType:L.validateType("TSType")}});var T6={aliases:["TSType"],visitor:["types"],fields:{types:L.validateArrayOfType("TSType")}};e("TSUnionType",T6);e("TSIntersectionType",T6);e("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:L.validateType("TSType"),extendsType:L.validateType("TSType"),trueType:L.validateType("TSType"),falseType:L.validateType("TSType")}});e("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:L.validateType("TSTypeParameter")}});e("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:L.validateType("TSType")}});e("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:L.validate(L.assertValueType("string")),typeAnnotation:L.validateType("TSType")}});e("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:L.validateType("TSType"),indexType:L.validateType("TSType")}});e("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:L.validateOptional(L.assertOneOf(!0,!1,"+","-")),typeParameter:L.validateType("TSTypeParameter"),optional:L.validateOptional(L.assertOneOf(!0,!1,"+","-")),typeAnnotation:L.validateOptionalType("TSType"),nameType:L.validateOptionalType("TSType")}});e("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const J=L.assertNodeType("NumericLiteral","BigIntLiteral"),G=L.assertOneOf("-"),X=L.assertNodeType("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function H(V,Z,Q){if(OC.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}()}}});e("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:L.validateType("TSEntityName"),typeParameters:L.validateOptionalType("TSTypeParameterInstantiation")}});e("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:L.validateOptional(s1),id:L.validateType("Identifier"),typeParameters:L.validateOptionalType("TSTypeParameterDeclaration"),extends:L.validateOptional(L.arrayOfType("TSExpressionWithTypeArguments")),body:L.validateType("TSInterfaceBody")}});e("TSInterfaceBody",{visitor:["body"],fields:{body:L.validateArrayOfType("TSTypeElement")}});e("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:L.validateOptional(s1),id:L.validateType("Identifier"),typeParameters:L.validateOptionalType("TSTypeParameterDeclaration"),typeAnnotation:L.validateType("TSType")}});e("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:L.validateType("Expression"),typeParameters:L.validateOptionalType("TSTypeParameterInstantiation")}});var N6={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:L.validateType("Expression"),typeAnnotation:L.validateType("TSType")}};e("TSAsExpression",N6);e("TSSatisfiesExpression",N6);e("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:L.validateType("TSType"),expression:L.validateType("Expression")}});e("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:L.validateOptional(s1),const:L.validateOptional(s1),id:L.validateType("Identifier"),members:L.validateArrayOfType("TSEnumMember"),initializer:L.validateOptionalType("Expression")}});e("TSEnumMember",{visitor:["id","initializer"],fields:{id:L.validateType(["Identifier","StringLiteral"]),initializer:L.validateOptionalType("Expression")}});e("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:L.validateOptional(s1),global:L.validateOptional(s1),id:L.validateType(["Identifier","StringLiteral"]),body:L.validateType(["TSModuleBlock","TSModuleDeclaration"])}});e("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:L.validateArrayOfType("Statement")}});e("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:L.validateType("StringLiteral"),qualifier:L.validateOptionalType("TSEntityName"),typeParameters:L.validateOptionalType("TSTypeParameterInstantiation"),options:{validate:L.assertNodeType("Expression"),optional:!0}}});e("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:L.validate(s1),id:L.validateType("Identifier"),moduleReference:L.validateType(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:L.assertOneOf("type","value"),optional:!0}}});e("TSExternalModuleReference",{visitor:["expression"],fields:{expression:L.validateType("StringLiteral")}});e("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:L.validateType("Expression")}});e("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:L.validateType("Expression")}});e("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:L.validateType("Identifier")}});e("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:L.assertNodeType("TSType")}}});e("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:L.chain(L.assertValueType("array"),L.assertEach(L.assertNodeType("TSType")))}}});e("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:L.chain(L.assertValueType("array"),L.assertEach(L.assertNodeType("TSTypeParameter")))}}});e("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:L.assertValueType("string")},in:{validate:L.assertValueType("boolean"),optional:!0},out:{validate:L.assertValueType("boolean"),optional:!0},const:{validate:L.assertValueType("boolean"),optional:!0},constraint:{validate:L.assertNodeType("TSType"),optional:!0},default:{validate:L.assertNodeType("TSType"),optional:!0}}})});var b6=q((E6)=>{Object.defineProperty(E6,"__esModule",{value:!0});E6.DEPRECATED_ALIASES=void 0;var FR1=E6.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var X2=q((o1)=>{Object.defineProperty(o1,"__esModule",{value:!0});Object.defineProperty(o1,"ALIAS_KEYS",{enumerable:!0,get:function(){return v1.ALIAS_KEYS}});Object.defineProperty(o1,"BUILDER_KEYS",{enumerable:!0,get:function(){return v1.BUILDER_KEYS}});Object.defineProperty(o1,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return i4.DEPRECATED_ALIASES}});Object.defineProperty(o1,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return v1.DEPRECATED_KEYS}});Object.defineProperty(o1,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return v1.FLIPPED_ALIAS_KEYS}});Object.defineProperty(o1,"NODE_FIELDS",{enumerable:!0,get:function(){return v1.NODE_FIELDS}});Object.defineProperty(o1,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return v1.NODE_PARENT_VALIDATIONS}});Object.defineProperty(o1,"PLACEHOLDERS",{enumerable:!0,get:function(){return Q5.PLACEHOLDERS}});Object.defineProperty(o1,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return Q5.PLACEHOLDERS_ALIAS}});Object.defineProperty(o1,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return Q5.PLACEHOLDERS_FLIPPED_ALIAS}});o1.TYPES=void 0;Object.defineProperty(o1,"VISITOR_KEYS",{enumerable:!0,get:function(){return v1.VISITOR_KEYS}});var u2=vX();h4();M6();O6();j6();S6();w6();var v1=T2(),Q5=c4(),i4=b6();Object.keys(i4.DEPRECATED_ALIASES).forEach((J)=>{v1.FLIPPED_ALIAS_KEYS[J]=v1.FLIPPED_ALIAS_KEYS[i4.DEPRECATED_ALIASES[J]]});u2(v1.VISITOR_KEYS);u2(v1.ALIAS_KEYS);u2(v1.FLIPPED_ALIAS_KEYS);u2(v1.NODE_FIELDS);u2(v1.BUILDER_KEYS);u2(v1.DEPRECATED_KEYS);u2(Q5.PLACEHOLDERS_ALIAS);u2(Q5.PLACEHOLDERS_FLIPPED_ALIAS);var BR1=o1.TYPES=[].concat(Object.keys(v1.VISITOR_KEYS),Object.keys(v1.FLIPPED_ALIAS_KEYS),Object.keys(v1.DEPRECATED_KEYS))});var e5=q((h6)=>{function qC(J,G,X){if(!J)return;const H=g6.NODE_FIELDS[J.type];if(!H)return;const V=H[G];_6(J,G,X,V),u6(J,G,X)}function _6(J,G,X,H){if(!(H!=null&&H.validate))return;if(H.optional&&X==null)return;H.validate(J,G,X)}function u6(J,G,X){if(X==null)return;const H=g6.NODE_PARENT_VALIDATIONS[X.type];if(!H)return;H(J,G,X)}Object.defineProperty(h6,"__esModule",{value:!0});h6.default=qC;h6.validateChild=u6;h6.validateField=_6;var g6=X2()});var x6=q((y6)=>{function LC(J){const G=CC.BUILDER_KEYS[J.type];for(let X of G)AC.default(J,X,J[X]);return J}Object.defineProperty(y6,"__esModule",{value:!0});y6.default=LC;var AC=e5(),CC=Y1()});var i1=q((a6)=>{function TC(J=[]){return O.default({type:"ArrayExpression",elements:J})}function NC(J,G,X){return O.default({type:"AssignmentExpression",operator:J,left:G,right:X})}function wC(J,G,X){return O.default({type:"BinaryExpression",operator:J,left:G,right:X})}function EC(J){return O.default({type:"InterpreterDirective",value:J})}function kC(J){return O.default({type:"Directive",value:J})}function bC(J){return O.default({type:"DirectiveLiteral",value:J})}function vC(J,G=[]){return O.default({type:"BlockStatement",body:J,directives:G})}function gC(J=null){return O.default({type:"BreakStatement",label:J})}function _C(J,G){return O.default({type:"CallExpression",callee:J,arguments:G})}function uC(J=null,G){return O.default({type:"CatchClause",param:J,body:G})}function hC(J,G,X){return O.default({type:"ConditionalExpression",test:J,consequent:G,alternate:X})}function yC(J=null){return O.default({type:"ContinueStatement",label:J})}function xC(){return{type:"DebuggerStatement"}}function mC(J,G){return O.default({type:"DoWhileStatement",test:J,body:G})}function cC(){return{type:"EmptyStatement"}}function lC(J){return O.default({type:"ExpressionStatement",expression:J})}function iC(J,G=null,X=null){return O.default({type:"File",program:J,comments:G,tokens:X})}function aC(J,G,X){return O.default({type:"ForInStatement",left:J,right:G,body:X})}function pC(J=null,G=null,X=null,H){return O.default({type:"ForStatement",init:J,test:G,update:X,body:H})}function rC(J=null,G,X,H=!1,V=!1){return O.default({type:"FunctionDeclaration",id:J,params:G,body:X,generator:H,async:V})}function dC(J=null,G,X,H=!1,V=!1){return O.default({type:"FunctionExpression",id:J,params:G,body:X,generator:H,async:V})}function sC(J){return O.default({type:"Identifier",name:J})}function tC(J,G,X=null){return O.default({type:"IfStatement",test:J,consequent:G,alternate:X})}function nC(J,G){return O.default({type:"LabeledStatement",label:J,body:G})}function oC(J){return O.default({type:"StringLiteral",value:J})}function m6(J){return O.default({type:"NumericLiteral",value:J})}function eC(){return{type:"NullLiteral"}}function JL(J){return O.default({type:"BooleanLiteral",value:J})}function c6(J,G=""){return O.default({type:"RegExpLiteral",pattern:J,flags:G})}function GL(J,G,X){return O.default({type:"LogicalExpression",operator:J,left:G,right:X})}function XL(J,G,X=!1,H=null){return O.default({type:"MemberExpression",object:J,property:G,computed:X,optional:H})}function HL(J,G){return O.default({type:"NewExpression",callee:J,arguments:G})}function VL(J,G=[],X="script",H=null){return O.default({type:"Program",body:J,directives:G,sourceType:X,interpreter:H})}function ZL(J){return O.default({type:"ObjectExpression",properties:J})}function QL(J="method",G,X,H,V=!1,Z=!1,Q=!1){return O.default({type:"ObjectMethod",kind:J,key:G,params:X,body:H,computed:V,generator:Z,async:Q})}function YL(J,G,X=!1,H=!1,V=null){return O.default({type:"ObjectProperty",key:J,value:G,computed:X,shorthand:H,decorators:V})}function l6(J){return O.default({type:"RestElement",argument:J})}function WL(J=null){return O.default({type:"ReturnStatement",argument:J})}function zL(J){return O.default({type:"SequenceExpression",expressions:J})}function KL(J){return O.default({type:"ParenthesizedExpression",expression:J})}function UL(J=null,G){return O.default({type:"SwitchCase",test:J,consequent:G})}function FL(J,G){return O.default({type:"SwitchStatement",discriminant:J,cases:G})}function RL(){return{type:"ThisExpression"}}function BL(J){return O.default({type:"ThrowStatement",argument:J})}function $L(J,G=null,X=null){return O.default({type:"TryStatement",block:J,handler:G,finalizer:X})}function DL(J,G,X=!0){return O.default({type:"UnaryExpression",operator:J,argument:G,prefix:X})}function ML(J,G,X=!1){return O.default({type:"UpdateExpression",operator:J,argument:G,prefix:X})}function OL(J,G){return O.default({type:"VariableDeclaration",kind:J,declarations:G})}function fL(J,G=null){return O.default({type:"VariableDeclarator",id:J,init:G})}function qL(J,G){return O.default({type:"WhileStatement",test:J,body:G})}function jL(J,G){return O.default({type:"WithStatement",object:J,body:G})}function SL(J,G){return O.default({type:"AssignmentPattern",left:J,right:G})}function IL(J){return O.default({type:"ArrayPattern",elements:J})}function AL(J,G,X=!1){return O.default({type:"ArrowFunctionExpression",params:J,body:G,async:X,expression:null})}function CL(J){return O.default({type:"ClassBody",body:J})}function LL(J=null,G=null,X,H=null){return O.default({type:"ClassExpression",id:J,superClass:G,body:X,decorators:H})}function PL(J=null,G=null,X,H=null){return O.default({type:"ClassDeclaration",id:J,superClass:G,body:X,decorators:H})}function TL(J){return O.default({type:"ExportAllDeclaration",source:J})}function NL(J){return O.default({type:"ExportDefaultDeclaration",declaration:J})}function wL(J=null,G=[],X=null){return O.default({type:"ExportNamedDeclaration",declaration:J,specifiers:G,source:X})}function EL(J,G){return O.default({type:"ExportSpecifier",local:J,exported:G})}function kL(J,G,X,H=!1){return O.default({type:"ForOfStatement",left:J,right:G,body:X,await:H})}function bL(J,G){return O.default({type:"ImportDeclaration",specifiers:J,source:G})}function vL(J){return O.default({type:"ImportDefaultSpecifier",local:J})}function gL(J){return O.default({type:"ImportNamespaceSpecifier",local:J})}function _L(J,G){return O.default({type:"ImportSpecifier",local:J,imported:G})}function uL(J,G=null){return O.default({type:"ImportExpression",source:J,options:G})}function hL(J,G){return O.default({type:"MetaProperty",meta:J,property:G})}function yL(J="method",G,X,H,V=!1,Z=!1,Q=!1,Y=!1){return O.default({type:"ClassMethod",kind:J,key:G,params:X,body:H,computed:V,static:Z,generator:Q,async:Y})}function xL(J){return O.default({type:"ObjectPattern",properties:J})}function i6(J){return O.default({type:"SpreadElement",argument:J})}function mL(){return{type:"Super"}}function cL(J,G){return O.default({type:"TaggedTemplateExpression",tag:J,quasi:G})}function lL(J,G=!1){return O.default({type:"TemplateElement",value:J,tail:G})}function iL(J,G){return O.default({type:"TemplateLiteral",quasis:J,expressions:G})}function aL(J=null,G=!1){return O.default({type:"YieldExpression",argument:J,delegate:G})}function pL(J){return O.default({type:"AwaitExpression",argument:J})}function rL(){return{type:"Import"}}function dL(J){return O.default({type:"BigIntLiteral",value:J})}function sL(J){return O.default({type:"ExportNamespaceSpecifier",exported:J})}function tL(J,G,X=!1,H){return O.default({type:"OptionalMemberExpression",object:J,property:G,computed:X,optional:H})}function nL(J,G,X){return O.default({type:"OptionalCallExpression",callee:J,arguments:G,optional:X})}function oL(J,G=null,X=null,H=null,V=!1,Z=!1){return O.default({type:"ClassProperty",key:J,value:G,typeAnnotation:X,decorators:H,computed:V,static:Z})}function eL(J,G=null,X=null,H=null,V=!1,Z=!1){return O.default({type:"ClassAccessorProperty",key:J,value:G,typeAnnotation:X,decorators:H,computed:V,static:Z})}function JP(J,G=null,X=null,H=!1){return O.default({type:"ClassPrivateProperty",key:J,value:G,decorators:X,static:H})}function GP(J="method",G,X,H,V=!1){return O.default({type:"ClassPrivateMethod",kind:J,key:G,params:X,body:H,static:V})}function XP(J){return O.default({type:"PrivateName",id:J})}function HP(J){return O.default({type:"StaticBlock",body:J})}function VP(){return{type:"AnyTypeAnnotation"}}function ZP(J){return O.default({type:"ArrayTypeAnnotation",elementType:J})}function QP(){return{type:"BooleanTypeAnnotation"}}function YP(J){return O.default({type:"BooleanLiteralTypeAnnotation",value:J})}function WP(){return{type:"NullLiteralTypeAnnotation"}}function zP(J,G=null){return O.default({type:"ClassImplements",id:J,typeParameters:G})}function KP(J,G=null,X=null,H){return O.default({type:"DeclareClass",id:J,typeParameters:G,extends:X,body:H})}function UP(J){return O.default({type:"DeclareFunction",id:J})}function FP(J,G=null,X=null,H){return O.default({type:"DeclareInterface",id:J,typeParameters:G,extends:X,body:H})}function RP(J,G,X=null){return O.default({type:"DeclareModule",id:J,body:G,kind:X})}function BP(J){return O.default({type:"DeclareModuleExports",typeAnnotation:J})}function $P(J,G=null,X){return O.default({type:"DeclareTypeAlias",id:J,typeParameters:G,right:X})}function DP(J,G=null,X=null){return O.default({type:"DeclareOpaqueType",id:J,typeParameters:G,supertype:X})}function MP(J){return O.default({type:"DeclareVariable",id:J})}function OP(J=null,G=null,X=null){return O.default({type:"DeclareExportDeclaration",declaration:J,specifiers:G,source:X})}function fP(J){return O.default({type:"DeclareExportAllDeclaration",source:J})}function qP(J){return O.default({type:"DeclaredPredicate",value:J})}function jP(){return{type:"ExistsTypeAnnotation"}}function SP(J=null,G,X=null,H){return O.default({type:"FunctionTypeAnnotation",typeParameters:J,params:G,rest:X,returnType:H})}function IP(J=null,G){return O.default({type:"FunctionTypeParam",name:J,typeAnnotation:G})}function AP(J,G=null){return O.default({type:"GenericTypeAnnotation",id:J,typeParameters:G})}function CP(){return{type:"InferredPredicate"}}function LP(J,G=null){return O.default({type:"InterfaceExtends",id:J,typeParameters:G})}function PP(J,G=null,X=null,H){return O.default({type:"InterfaceDeclaration",id:J,typeParameters:G,extends:X,body:H})}function TP(J=null,G){return O.default({type:"InterfaceTypeAnnotation",extends:J,body:G})}function NP(J){return O.default({type:"IntersectionTypeAnnotation",types:J})}function wP(){return{type:"MixedTypeAnnotation"}}function EP(){return{type:"EmptyTypeAnnotation"}}function kP(J){return O.default({type:"NullableTypeAnnotation",typeAnnotation:J})}function bP(J){return O.default({type:"NumberLiteralTypeAnnotation",value:J})}function vP(){return{type:"NumberTypeAnnotation"}}function gP(J,G=[],X=[],H=[],V=!1){return O.default({type:"ObjectTypeAnnotation",properties:J,indexers:G,callProperties:X,internalSlots:H,exact:V})}function _P(J,G,X,H,V){return O.default({type:"ObjectTypeInternalSlot",id:J,value:G,optional:X,static:H,method:V})}function uP(J){return O.default({type:"ObjectTypeCallProperty",value:J,static:null})}function hP(J=null,G,X,H=null){return O.default({type:"ObjectTypeIndexer",id:J,key:G,value:X,variance:H,static:null})}function yP(J,G,X=null){return O.default({type:"ObjectTypeProperty",key:J,value:G,variance:X,kind:null,method:null,optional:null,proto:null,static:null})}function xP(J){return O.default({type:"ObjectTypeSpreadProperty",argument:J})}function mP(J,G=null,X=null,H){return O.default({type:"OpaqueType",id:J,typeParameters:G,supertype:X,impltype:H})}function cP(J,G){return O.default({type:"QualifiedTypeIdentifier",id:J,qualification:G})}function lP(J){return O.default({type:"StringLiteralTypeAnnotation",value:J})}function iP(){return{type:"StringTypeAnnotation"}}function aP(){return{type:"SymbolTypeAnnotation"}}function pP(){return{type:"ThisTypeAnnotation"}}function rP(J){return O.default({type:"TupleTypeAnnotation",types:J})}function dP(J){return O.default({type:"TypeofTypeAnnotation",argument:J})}function sP(J,G=null,X){return O.default({type:"TypeAlias",id:J,typeParameters:G,right:X})}function tP(J){return O.default({type:"TypeAnnotation",typeAnnotation:J})}function nP(J,G){return O.default({type:"TypeCastExpression",expression:J,typeAnnotation:G})}function oP(J=null,G=null,X=null){return O.default({type:"TypeParameter",bound:J,default:G,variance:X,name:null})}function eP(J){return O.default({type:"TypeParameterDeclaration",params:J})}function JT(J){return O.default({type:"TypeParameterInstantiation",params:J})}function GT(J){return O.default({type:"UnionTypeAnnotation",types:J})}function XT(J){return O.default({type:"Variance",kind:J})}function HT(){return{type:"VoidTypeAnnotation"}}function VT(J,G){return O.default({type:"EnumDeclaration",id:J,body:G})}function ZT(J){return O.default({type:"EnumBooleanBody",members:J,explicitType:null,hasUnknownMembers:null})}function QT(J){return O.default({type:"EnumNumberBody",members:J,explicitType:null,hasUnknownMembers:null})}function YT(J){return O.default({type:"EnumStringBody",members:J,explicitType:null,hasUnknownMembers:null})}function WT(J){return O.default({type:"EnumSymbolBody",members:J,hasUnknownMembers:null})}function zT(J){return O.default({type:"EnumBooleanMember",id:J,init:null})}function KT(J,G){return O.default({type:"EnumNumberMember",id:J,init:G})}function UT(J,G){return O.default({type:"EnumStringMember",id:J,init:G})}function FT(J){return O.default({type:"EnumDefaultedMember",id:J})}function RT(J,G){return O.default({type:"IndexedAccessType",objectType:J,indexType:G})}function BT(J,G){return O.default({type:"OptionalIndexedAccessType",objectType:J,indexType:G,optional:null})}function $T(J,G=null){return O.default({type:"JSXAttribute",name:J,value:G})}function DT(J){return O.default({type:"JSXClosingElement",name:J})}function MT(J,G=null,X,H=null){return O.default({type:"JSXElement",openingElement:J,closingElement:G,children:X,selfClosing:H})}function OT(){return{type:"JSXEmptyExpression"}}function fT(J){return O.default({type:"JSXExpressionContainer",expression:J})}function qT(J){return O.default({type:"JSXSpreadChild",expression:J})}function jT(J){return O.default({type:"JSXIdentifier",name:J})}function ST(J,G){return O.default({type:"JSXMemberExpression",object:J,property:G})}function IT(J,G){return O.default({type:"JSXNamespacedName",namespace:J,name:G})}function AT(J,G,X=!1){return O.default({type:"JSXOpeningElement",name:J,attributes:G,selfClosing:X})}function CT(J){return O.default({type:"JSXSpreadAttribute",argument:J})}function LT(J){return O.default({type:"JSXText",value:J})}function PT(J,G,X){return O.default({type:"JSXFragment",openingFragment:J,closingFragment:G,children:X})}function TT(){return{type:"JSXOpeningFragment"}}function NT(){return{type:"JSXClosingFragment"}}function wT(){return{type:"Noop"}}function ET(J,G){return O.default({type:"Placeholder",expectedNode:J,name:G})}function kT(J){return O.default({type:"V8IntrinsicIdentifier",name:J})}function bT(){return{type:"ArgumentPlaceholder"}}function vT(J,G){return O.default({type:"BindExpression",object:J,callee:G})}function gT(J,G){return O.default({type:"ImportAttribute",key:J,value:G})}function _T(J){return O.default({type:"Decorator",expression:J})}function uT(J,G=!1){return O.default({type:"DoExpression",body:J,async:G})}function hT(J){return O.default({type:"ExportDefaultSpecifier",exported:J})}function yT(J){return O.default({type:"RecordExpression",properties:J})}function xT(J=[]){return O.default({type:"TupleExpression",elements:J})}function mT(J){return O.default({type:"DecimalLiteral",value:J})}function cT(J){return O.default({type:"ModuleExpression",body:J})}function lT(){return{type:"TopicReference"}}function iT(J){return O.default({type:"PipelineTopicExpression",expression:J})}function aT(J){return O.default({type:"PipelineBareFunction",callee:J})}function pT(){return{type:"PipelinePrimaryTopicReference"}}function rT(J){return O.default({type:"TSParameterProperty",parameter:J})}function dT(J=null,G=null,X,H=null){return O.default({type:"TSDeclareFunction",id:J,typeParameters:G,params:X,returnType:H})}function sT(J=null,G,X=null,H,V=null){return O.default({type:"TSDeclareMethod",decorators:J,key:G,typeParameters:X,params:H,returnType:V})}function tT(J,G){return O.default({type:"TSQualifiedName",left:J,right:G})}function nT(J=null,G,X=null){return O.default({type:"TSCallSignatureDeclaration",typeParameters:J,parameters:G,typeAnnotation:X})}function oT(J=null,G,X=null){return O.default({type:"TSConstructSignatureDeclaration",typeParameters:J,parameters:G,typeAnnotation:X})}function eT(J,G=null){return O.default({type:"TSPropertySignature",key:J,typeAnnotation:G,kind:null})}function JN(J,G=null,X,H=null){return O.default({type:"TSMethodSignature",key:J,typeParameters:G,parameters:X,typeAnnotation:H,kind:null})}function GN(J,G=null){return O.default({type:"TSIndexSignature",parameters:J,typeAnnotation:G})}function XN(){return{type:"TSAnyKeyword"}}function HN(){return{type:"TSBooleanKeyword"}}function VN(){return{type:"TSBigIntKeyword"}}function ZN(){return{type:"TSIntrinsicKeyword"}}function QN(){return{type:"TSNeverKeyword"}}function YN(){return{type:"TSNullKeyword"}}function WN(){return{type:"TSNumberKeyword"}}function zN(){return{type:"TSObjectKeyword"}}function KN(){return{type:"TSStringKeyword"}}function UN(){return{type:"TSSymbolKeyword"}}function FN(){return{type:"TSUndefinedKeyword"}}function RN(){return{type:"TSUnknownKeyword"}}function BN(){return{type:"TSVoidKeyword"}}function $N(){return{type:"TSThisType"}}function DN(J=null,G,X=null){return O.default({type:"TSFunctionType",typeParameters:J,parameters:G,typeAnnotation:X})}function MN(J=null,G,X=null){return O.default({type:"TSConstructorType",typeParameters:J,parameters:G,typeAnnotation:X})}function ON(J,G=null){return O.default({type:"TSTypeReference",typeName:J,typeParameters:G})}function fN(J,G=null,X=null){return O.default({type:"TSTypePredicate",parameterName:J,typeAnnotation:G,asserts:X})}function qN(J,G=null){return O.default({type:"TSTypeQuery",exprName:J,typeParameters:G})}function jN(J){return O.default({type:"TSTypeLiteral",members:J})}function SN(J){return O.default({type:"TSArrayType",elementType:J})}function IN(J){return O.default({type:"TSTupleType",elementTypes:J})}function AN(J){return O.default({type:"TSOptionalType",typeAnnotation:J})}function CN(J){return O.default({type:"TSRestType",typeAnnotation:J})}function LN(J,G,X=!1){return O.default({type:"TSNamedTupleMember",label:J,elementType:G,optional:X})}function PN(J){return O.default({type:"TSUnionType",types:J})}function TN(J){return O.default({type:"TSIntersectionType",types:J})}function NN(J,G,X,H){return O.default({type:"TSConditionalType",checkType:J,extendsType:G,trueType:X,falseType:H})}function wN(J){return O.default({type:"TSInferType",typeParameter:J})}function EN(J){return O.default({type:"TSParenthesizedType",typeAnnotation:J})}function kN(J){return O.default({type:"TSTypeOperator",typeAnnotation:J,operator:null})}function bN(J,G){return O.default({type:"TSIndexedAccessType",objectType:J,indexType:G})}function vN(J,G=null,X=null){return O.default({type:"TSMappedType",typeParameter:J,typeAnnotation:G,nameType:X})}function gN(J){return O.default({type:"TSLiteralType",literal:J})}function _N(J,G=null){return O.default({type:"TSExpressionWithTypeArguments",expression:J,typeParameters:G})}function uN(J,G=null,X=null,H){return O.default({type:"TSInterfaceDeclaration",id:J,typeParameters:G,extends:X,body:H})}function hN(J){return O.default({type:"TSInterfaceBody",body:J})}function yN(J,G=null,X){return O.default({type:"TSTypeAliasDeclaration",id:J,typeParameters:G,typeAnnotation:X})}function xN(J,G=null){return O.default({type:"TSInstantiationExpression",expression:J,typeParameters:G})}function mN(J,G){return O.default({type:"TSAsExpression",expression:J,typeAnnotation:G})}function cN(J,G){return O.default({type:"TSSatisfiesExpression",expression:J,typeAnnotation:G})}function lN(J,G){return O.default({type:"TSTypeAssertion",typeAnnotation:J,expression:G})}function iN(J,G){return O.default({type:"TSEnumDeclaration",id:J,members:G})}function aN(J,G=null){return O.default({type:"TSEnumMember",id:J,initializer:G})}function pN(J,G){return O.default({type:"TSModuleDeclaration",id:J,body:G})}function rN(J){return O.default({type:"TSModuleBlock",body:J})}function dN(J,G=null,X=null){return O.default({type:"TSImportType",argument:J,qualifier:G,typeParameters:X})}function sN(J,G){return O.default({type:"TSImportEqualsDeclaration",id:J,moduleReference:G,isExport:null})}function tN(J){return O.default({type:"TSExternalModuleReference",expression:J})}function nN(J){return O.default({type:"TSNonNullExpression",expression:J})}function oN(J){return O.default({type:"TSExportAssignment",expression:J})}function eN(J){return O.default({type:"TSNamespaceExportDeclaration",id:J})}function Jw(J){return O.default({type:"TSTypeAnnotation",typeAnnotation:J})}function Gw(J){return O.default({type:"TSTypeParameterInstantiation",params:J})}function Xw(J){return O.default({type:"TSTypeParameterDeclaration",params:J})}function Hw(J=null,G=null,X){return O.default({type:"TSTypeParameter",constraint:J,default:G,name:X})}function Vw(J){return H9.default("NumberLiteral","NumericLiteral","The node type "),m6(J)}function Zw(J,G=""){return H9.default("RegexLiteral","RegExpLiteral","The node type "),c6(J,G)}function Qw(J){return H9.default("RestProperty","RestElement","The node type "),l6(J)}function Yw(J){return H9.default("SpreadProperty","SpreadElement","The node type "),i6(J)}Object.defineProperty(a6,"__esModule",{value:!0});a6.anyTypeAnnotation=VP;a6.argumentPlaceholder=bT;a6.arrayExpression=TC;a6.arrayPattern=IL;a6.arrayTypeAnnotation=ZP;a6.arrowFunctionExpression=AL;a6.assignmentExpression=NC;a6.assignmentPattern=SL;a6.awaitExpression=pL;a6.bigIntLiteral=dL;a6.binaryExpression=wC;a6.bindExpression=vT;a6.blockStatement=vC;a6.booleanLiteral=JL;a6.booleanLiteralTypeAnnotation=YP;a6.booleanTypeAnnotation=QP;a6.breakStatement=gC;a6.callExpression=_C;a6.catchClause=uC;a6.classAccessorProperty=eL;a6.classBody=CL;a6.classDeclaration=PL;a6.classExpression=LL;a6.classImplements=zP;a6.classMethod=yL;a6.classPrivateMethod=GP;a6.classPrivateProperty=JP;a6.classProperty=oL;a6.conditionalExpression=hC;a6.continueStatement=yC;a6.debuggerStatement=xC;a6.decimalLiteral=mT;a6.declareClass=KP;a6.declareExportAllDeclaration=fP;a6.declareExportDeclaration=OP;a6.declareFunction=UP;a6.declareInterface=FP;a6.declareModule=RP;a6.declareModuleExports=BP;a6.declareOpaqueType=DP;a6.declareTypeAlias=$P;a6.declareVariable=MP;a6.declaredPredicate=qP;a6.decorator=_T;a6.directive=kC;a6.directiveLiteral=bC;a6.doExpression=uT;a6.doWhileStatement=mC;a6.emptyStatement=cC;a6.emptyTypeAnnotation=EP;a6.enumBooleanBody=ZT;a6.enumBooleanMember=zT;a6.enumDeclaration=VT;a6.enumDefaultedMember=FT;a6.enumNumberBody=QT;a6.enumNumberMember=KT;a6.enumStringBody=YT;a6.enumStringMember=UT;a6.enumSymbolBody=WT;a6.existsTypeAnnotation=jP;a6.exportAllDeclaration=TL;a6.exportDefaultDeclaration=NL;a6.exportDefaultSpecifier=hT;a6.exportNamedDeclaration=wL;a6.exportNamespaceSpecifier=sL;a6.exportSpecifier=EL;a6.expressionStatement=lC;a6.file=iC;a6.forInStatement=aC;a6.forOfStatement=kL;a6.forStatement=pC;a6.functionDeclaration=rC;a6.functionExpression=dC;a6.functionTypeAnnotation=SP;a6.functionTypeParam=IP;a6.genericTypeAnnotation=AP;a6.identifier=sC;a6.ifStatement=tC;a6.import=rL;a6.importAttribute=gT;a6.importDeclaration=bL;a6.importDefaultSpecifier=vL;a6.importExpression=uL;a6.importNamespaceSpecifier=gL;a6.importSpecifier=_L;a6.indexedAccessType=RT;a6.inferredPredicate=CP;a6.interfaceDeclaration=PP;a6.interfaceExtends=LP;a6.interfaceTypeAnnotation=TP;a6.interpreterDirective=EC;a6.intersectionTypeAnnotation=NP;a6.jSXAttribute=a6.jsxAttribute=$T;a6.jSXClosingElement=a6.jsxClosingElement=DT;a6.jSXClosingFragment=a6.jsxClosingFragment=NT;a6.jSXElement=a6.jsxElement=MT;a6.jSXEmptyExpression=a6.jsxEmptyExpression=OT;a6.jSXExpressionContainer=a6.jsxExpressionContainer=fT;a6.jSXFragment=a6.jsxFragment=PT;a6.jSXIdentifier=a6.jsxIdentifier=jT;a6.jSXMemberExpression=a6.jsxMemberExpression=ST;a6.jSXNamespacedName=a6.jsxNamespacedName=IT;a6.jSXOpeningElement=a6.jsxOpeningElement=AT;a6.jSXOpeningFragment=a6.jsxOpeningFragment=TT;a6.jSXSpreadAttribute=a6.jsxSpreadAttribute=CT;a6.jSXSpreadChild=a6.jsxSpreadChild=qT;a6.jSXText=a6.jsxText=LT;a6.labeledStatement=nC;a6.logicalExpression=GL;a6.memberExpression=XL;a6.metaProperty=hL;a6.mixedTypeAnnotation=wP;a6.moduleExpression=cT;a6.newExpression=HL;a6.noop=wT;a6.nullLiteral=eC;a6.nullLiteralTypeAnnotation=WP;a6.nullableTypeAnnotation=kP;a6.numberLiteral=Vw;a6.numberLiteralTypeAnnotation=bP;a6.numberTypeAnnotation=vP;a6.numericLiteral=m6;a6.objectExpression=ZL;a6.objectMethod=QL;a6.objectPattern=xL;a6.objectProperty=YL;a6.objectTypeAnnotation=gP;a6.objectTypeCallProperty=uP;a6.objectTypeIndexer=hP;a6.objectTypeInternalSlot=_P;a6.objectTypeProperty=yP;a6.objectTypeSpreadProperty=xP;a6.opaqueType=mP;a6.optionalCallExpression=nL;a6.optionalIndexedAccessType=BT;a6.optionalMemberExpression=tL;a6.parenthesizedExpression=KL;a6.pipelineBareFunction=aT;a6.pipelinePrimaryTopicReference=pT;a6.pipelineTopicExpression=iT;a6.placeholder=ET;a6.privateName=XP;a6.program=VL;a6.qualifiedTypeIdentifier=cP;a6.recordExpression=yT;a6.regExpLiteral=c6;a6.regexLiteral=Zw;a6.restElement=l6;a6.restProperty=Qw;a6.returnStatement=WL;a6.sequenceExpression=zL;a6.spreadElement=i6;a6.spreadProperty=Yw;a6.staticBlock=HP;a6.stringLiteral=oC;a6.stringLiteralTypeAnnotation=lP;a6.stringTypeAnnotation=iP;a6.super=mL;a6.switchCase=UL;a6.switchStatement=FL;a6.symbolTypeAnnotation=aP;a6.taggedTemplateExpression=cL;a6.templateElement=lL;a6.templateLiteral=iL;a6.thisExpression=RL;a6.thisTypeAnnotation=pP;a6.throwStatement=BL;a6.topicReference=lT;a6.tryStatement=$L;a6.tSAnyKeyword=a6.tsAnyKeyword=XN;a6.tSArrayType=a6.tsArrayType=SN;a6.tSAsExpression=a6.tsAsExpression=mN;a6.tSBigIntKeyword=a6.tsBigIntKeyword=VN;a6.tSBooleanKeyword=a6.tsBooleanKeyword=HN;a6.tSCallSignatureDeclaration=a6.tsCallSignatureDeclaration=nT;a6.tSConditionalType=a6.tsConditionalType=NN;a6.tSConstructSignatureDeclaration=a6.tsConstructSignatureDeclaration=oT;a6.tSConstructorType=a6.tsConstructorType=MN;a6.tSDeclareFunction=a6.tsDeclareFunction=dT;a6.tSDeclareMethod=a6.tsDeclareMethod=sT;a6.tSEnumDeclaration=a6.tsEnumDeclaration=iN;a6.tSEnumMember=a6.tsEnumMember=aN;a6.tSExportAssignment=a6.tsExportAssignment=oN;a6.tSExpressionWithTypeArguments=a6.tsExpressionWithTypeArguments=_N;a6.tSExternalModuleReference=a6.tsExternalModuleReference=tN;a6.tSFunctionType=a6.tsFunctionType=DN;a6.tSImportEqualsDeclaration=a6.tsImportEqualsDeclaration=sN;a6.tSImportType=a6.tsImportType=dN;a6.tSIndexSignature=a6.tsIndexSignature=GN;a6.tSIndexedAccessType=a6.tsIndexedAccessType=bN;a6.tSInferType=a6.tsInferType=wN;a6.tSInstantiationExpression=a6.tsInstantiationExpression=xN;a6.tSInterfaceBody=a6.tsInterfaceBody=hN;a6.tSInterfaceDeclaration=a6.tsInterfaceDeclaration=uN;a6.tSIntersectionType=a6.tsIntersectionType=TN;a6.tSIntrinsicKeyword=a6.tsIntrinsicKeyword=ZN;a6.tSLiteralType=a6.tsLiteralType=gN;a6.tSMappedType=a6.tsMappedType=vN;a6.tSMethodSignature=a6.tsMethodSignature=JN;a6.tSModuleBlock=a6.tsModuleBlock=rN;a6.tSModuleDeclaration=a6.tsModuleDeclaration=pN;a6.tSNamedTupleMember=a6.tsNamedTupleMember=LN;a6.tSNamespaceExportDeclaration=a6.tsNamespaceExportDeclaration=eN;a6.tSNeverKeyword=a6.tsNeverKeyword=QN;a6.tSNonNullExpression=a6.tsNonNullExpression=nN;a6.tSNullKeyword=a6.tsNullKeyword=YN;a6.tSNumberKeyword=a6.tsNumberKeyword=WN;a6.tSObjectKeyword=a6.tsObjectKeyword=zN;a6.tSOptionalType=a6.tsOptionalType=AN;a6.tSParameterProperty=a6.tsParameterProperty=rT;a6.tSParenthesizedType=a6.tsParenthesizedType=EN;a6.tSPropertySignature=a6.tsPropertySignature=eT;a6.tSQualifiedName=a6.tsQualifiedName=tT;a6.tSRestType=a6.tsRestType=CN;a6.tSSatisfiesExpression=a6.tsSatisfiesExpression=cN;a6.tSStringKeyword=a6.tsStringKeyword=KN;a6.tSSymbolKeyword=a6.tsSymbolKeyword=UN;a6.tSThisType=a6.tsThisType=$N;a6.tSTupleType=a6.tsTupleType=IN;a6.tSTypeAliasDeclaration=a6.tsTypeAliasDeclaration=yN;a6.tSTypeAnnotation=a6.tsTypeAnnotation=Jw;a6.tSTypeAssertion=a6.tsTypeAssertion=lN;a6.tSTypeLiteral=a6.tsTypeLiteral=jN;a6.tSTypeOperator=a6.tsTypeOperator=kN;a6.tSTypeParameter=a6.tsTypeParameter=Hw;a6.tSTypeParameterDeclaration=a6.tsTypeParameterDeclaration=Xw;a6.tSTypeParameterInstantiation=a6.tsTypeParameterInstantiation=Gw;a6.tSTypePredicate=a6.tsTypePredicate=fN;a6.tSTypeQuery=a6.tsTypeQuery=qN;a6.tSTypeReference=a6.tsTypeReference=ON;a6.tSUndefinedKeyword=a6.tsUndefinedKeyword=FN;a6.tSUnionType=a6.tsUnionType=PN;a6.tSUnknownKeyword=a6.tsUnknownKeyword=RN;a6.tSVoidKeyword=a6.tsVoidKeyword=BN;a6.tupleExpression=xT;a6.tupleTypeAnnotation=rP;a6.typeAlias=sP;a6.typeAnnotation=tP;a6.typeCastExpression=nP;a6.typeParameter=oP;a6.typeParameterDeclaration=eP;a6.typeParameterInstantiation=JT;a6.typeofTypeAnnotation=dP;a6.unaryExpression=DL;a6.unionTypeAnnotation=GT;a6.updateExpression=ML;a6.v8IntrinsicIdentifier=kT;a6.variableDeclaration=OL;a6.variableDeclarator=fL;a6.variance=XT;a6.voidTypeAnnotation=HT;a6.whileStatement=qL;a6.withStatement=jL;a6.yieldExpression=aL;var O=x6(),H9=e0()});var r6=q((p6)=>{function dv(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(rv.inherits(pv.stringLiteral(V),J))}Object.defineProperty(p6,"__esModule",{value:!0});p6.default=dv;var pv=i1(),rv=Y1()});var s6=q((d6)=>{function nv(J){const G=[];for(let X=0;X<J.children.length;X++){let H=J.children[X];if(a4.isJSXText(H)){tv.default(H,G);continue}if(a4.isJSXExpressionContainer(H))H=H.expression;if(a4.isJSXEmptyExpression(H))continue;G.push(H)}return G}Object.defineProperty(d6,"__esModule",{value:!0});d6.default=nv;var a4=N1(),tv=r6()});var p4=q((t6)=>{function Jg(J){return!!(J&&ev.VISITOR_KEYS[J.type])}Object.defineProperty(t6,"__esModule",{value:!0});t6.default=Jg;var ev=X2()});var o6=q((n6)=>{function Hg(J){if(!Xg.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(n6,"__esModule",{value:!0});n6.default=Hg;var Xg=p4()});var J7=q((e6)=>{function F(J,G,X){if(!Zg.default(J,G,X))throw new Error(`Expected type "${J}" with option ${JSON.stringify(X)}, but instead got "${G.type}".`)}function Qg(J,G){F("ArrayExpression",J,G)}function Yg(J,G){F("AssignmentExpression",J,G)}function Wg(J,G){F("BinaryExpression",J,G)}function zg(J,G){F("InterpreterDirective",J,G)}function Kg(J,G){F("Directive",J,G)}function Ug(J,G){F("DirectiveLiteral",J,G)}function Fg(J,G){F("BlockStatement",J,G)}function Rg(J,G){F("BreakStatement",J,G)}function Bg(J,G){F("CallExpression",J,G)}function $g(J,G){F("CatchClause",J,G)}function Dg(J,G){F("ConditionalExpression",J,G)}function Mg(J,G){F("ContinueStatement",J,G)}function Og(J,G){F("DebuggerStatement",J,G)}function fg(J,G){F("DoWhileStatement",J,G)}function qg(J,G){F("EmptyStatement",J,G)}function jg(J,G){F("ExpressionStatement",J,G)}function Sg(J,G){F("File",J,G)}function Ig(J,G){F("ForInStatement",J,G)}function Ag(J,G){F("ForStatement",J,G)}function Cg(J,G){F("FunctionDeclaration",J,G)}function Lg(J,G){F("FunctionExpression",J,G)}function Pg(J,G){F("Identifier",J,G)}function Tg(J,G){F("IfStatement",J,G)}function Ng(J,G){F("LabeledStatement",J,G)}function wg(J,G){F("StringLiteral",J,G)}function Eg(J,G){F("NumericLiteral",J,G)}function kg(J,G){F("NullLiteral",J,G)}function bg(J,G){F("BooleanLiteral",J,G)}function vg(J,G){F("RegExpLiteral",J,G)}function gg(J,G){F("LogicalExpression",J,G)}function _g(J,G){F("MemberExpression",J,G)}function ug(J,G){F("NewExpression",J,G)}function hg(J,G){F("Program",J,G)}function yg(J,G){F("ObjectExpression",J,G)}function xg(J,G){F("ObjectMethod",J,G)}function mg(J,G){F("ObjectProperty",J,G)}function cg(J,G){F("RestElement",J,G)}function lg(J,G){F("ReturnStatement",J,G)}function ig(J,G){F("SequenceExpression",J,G)}function ag(J,G){F("ParenthesizedExpression",J,G)}function pg(J,G){F("SwitchCase",J,G)}function rg(J,G){F("SwitchStatement",J,G)}function dg(J,G){F("ThisExpression",J,G)}function sg(J,G){F("ThrowStatement",J,G)}function tg(J,G){F("TryStatement",J,G)}function ng(J,G){F("UnaryExpression",J,G)}function og(J,G){F("UpdateExpression",J,G)}function eg(J,G){F("VariableDeclaration",J,G)}function J_(J,G){F("VariableDeclarator",J,G)}function G_(J,G){F("WhileStatement",J,G)}function X_(J,G){F("WithStatement",J,G)}function H_(J,G){F("AssignmentPattern",J,G)}function V_(J,G){F("ArrayPattern",J,G)}function Z_(J,G){F("ArrowFunctionExpression",J,G)}function Q_(J,G){F("ClassBody",J,G)}function Y_(J,G){F("ClassExpression",J,G)}function W_(J,G){F("ClassDeclaration",J,G)}function z_(J,G){F("ExportAllDeclaration",J,G)}function K_(J,G){F("ExportDefaultDeclaration",J,G)}function U_(J,G){F("ExportNamedDeclaration",J,G)}function F_(J,G){F("ExportSpecifier",J,G)}function R_(J,G){F("ForOfStatement",J,G)}function B_(J,G){F("ImportDeclaration",J,G)}function $_(J,G){F("ImportDefaultSpecifier",J,G)}function D_(J,G){F("ImportNamespaceSpecifier",J,G)}function M_(J,G){F("ImportSpecifier",J,G)}function O_(J,G){F("ImportExpression",J,G)}function f_(J,G){F("MetaProperty",J,G)}function q_(J,G){F("ClassMethod",J,G)}function j_(J,G){F("ObjectPattern",J,G)}function S_(J,G){F("SpreadElement",J,G)}function I_(J,G){F("Super",J,G)}function A_(J,G){F("TaggedTemplateExpression",J,G)}function C_(J,G){F("TemplateElement",J,G)}function L_(J,G){F("TemplateLiteral",J,G)}function P_(J,G){F("YieldExpression",J,G)}function T_(J,G){F("AwaitExpression",J,G)}function N_(J,G){F("Import",J,G)}function w_(J,G){F("BigIntLiteral",J,G)}function E_(J,G){F("ExportNamespaceSpecifier",J,G)}function k_(J,G){F("OptionalMemberExpression",J,G)}function b_(J,G){F("OptionalCallExpression",J,G)}function v_(J,G){F("ClassProperty",J,G)}function g_(J,G){F("ClassAccessorProperty",J,G)}function __(J,G){F("ClassPrivateProperty",J,G)}function u_(J,G){F("ClassPrivateMethod",J,G)}function h_(J,G){F("PrivateName",J,G)}function y_(J,G){F("StaticBlock",J,G)}function x_(J,G){F("AnyTypeAnnotation",J,G)}function m_(J,G){F("ArrayTypeAnnotation",J,G)}function c_(J,G){F("BooleanTypeAnnotation",J,G)}function l_(J,G){F("BooleanLiteralTypeAnnotation",J,G)}function i_(J,G){F("NullLiteralTypeAnnotation",J,G)}function a_(J,G){F("ClassImplements",J,G)}function p_(J,G){F("DeclareClass",J,G)}function r_(J,G){F("DeclareFunction",J,G)}function d_(J,G){F("DeclareInterface",J,G)}function s_(J,G){F("DeclareModule",J,G)}function t_(J,G){F("DeclareModuleExports",J,G)}function n_(J,G){F("DeclareTypeAlias",J,G)}function o_(J,G){F("DeclareOpaqueType",J,G)}function e_(J,G){F("DeclareVariable",J,G)}function Ju(J,G){F("DeclareExportDeclaration",J,G)}function Gu(J,G){F("DeclareExportAllDeclaration",J,G)}function Xu(J,G){F("DeclaredPredicate",J,G)}function Hu(J,G){F("ExistsTypeAnnotation",J,G)}function Vu(J,G){F("FunctionTypeAnnotation",J,G)}function Zu(J,G){F("FunctionTypeParam",J,G)}function Qu(J,G){F("GenericTypeAnnotation",J,G)}function Yu(J,G){F("InferredPredicate",J,G)}function Wu(J,G){F("InterfaceExtends",J,G)}function zu(J,G){F("InterfaceDeclaration",J,G)}function Ku(J,G){F("InterfaceTypeAnnotation",J,G)}function Uu(J,G){F("IntersectionTypeAnnotation",J,G)}function Fu(J,G){F("MixedTypeAnnotation",J,G)}function Ru(J,G){F("EmptyTypeAnnotation",J,G)}function Bu(J,G){F("NullableTypeAnnotation",J,G)}function $u(J,G){F("NumberLiteralTypeAnnotation",J,G)}function Du(J,G){F("NumberTypeAnnotation",J,G)}function Mu(J,G){F("ObjectTypeAnnotation",J,G)}function Ou(J,G){F("ObjectTypeInternalSlot",J,G)}function fu(J,G){F("ObjectTypeCallProperty",J,G)}function qu(J,G){F("ObjectTypeIndexer",J,G)}function ju(J,G){F("ObjectTypeProperty",J,G)}function Su(J,G){F("ObjectTypeSpreadProperty",J,G)}function Iu(J,G){F("OpaqueType",J,G)}function Au(J,G){F("QualifiedTypeIdentifier",J,G)}function Cu(J,G){F("StringLiteralTypeAnnotation",J,G)}function Lu(J,G){F("StringTypeAnnotation",J,G)}function Pu(J,G){F("SymbolTypeAnnotation",J,G)}function Tu(J,G){F("ThisTypeAnnotation",J,G)}function Nu(J,G){F("TupleTypeAnnotation",J,G)}function wu(J,G){F("TypeofTypeAnnotation",J,G)}function Eu(J,G){F("TypeAlias",J,G)}function ku(J,G){F("TypeAnnotation",J,G)}function bu(J,G){F("TypeCastExpression",J,G)}function vu(J,G){F("TypeParameter",J,G)}function gu(J,G){F("TypeParameterDeclaration",J,G)}function _u(J,G){F("TypeParameterInstantiation",J,G)}function uu(J,G){F("UnionTypeAnnotation",J,G)}function hu(J,G){F("Variance",J,G)}function yu(J,G){F("VoidTypeAnnotation",J,G)}function xu(J,G){F("EnumDeclaration",J,G)}function mu(J,G){F("EnumBooleanBody",J,G)}function cu(J,G){F("EnumNumberBody",J,G)}function lu(J,G){F("EnumStringBody",J,G)}function iu(J,G){F("EnumSymbolBody",J,G)}function au(J,G){F("EnumBooleanMember",J,G)}function pu(J,G){F("EnumNumberMember",J,G)}function ru(J,G){F("EnumStringMember",J,G)}function du(J,G){F("EnumDefaultedMember",J,G)}function su(J,G){F("IndexedAccessType",J,G)}function tu(J,G){F("OptionalIndexedAccessType",J,G)}function nu(J,G){F("JSXAttribute",J,G)}function ou(J,G){F("JSXClosingElement",J,G)}function eu(J,G){F("JSXElement",J,G)}function Jh(J,G){F("JSXEmptyExpression",J,G)}function Gh(J,G){F("JSXExpressionContainer",J,G)}function Xh(J,G){F("JSXSpreadChild",J,G)}function Hh(J,G){F("JSXIdentifier",J,G)}function Vh(J,G){F("JSXMemberExpression",J,G)}function Zh(J,G){F("JSXNamespacedName",J,G)}function Qh(J,G){F("JSXOpeningElement",J,G)}function Yh(J,G){F("JSXSpreadAttribute",J,G)}function Wh(J,G){F("JSXText",J,G)}function zh(J,G){F("JSXFragment",J,G)}function Kh(J,G){F("JSXOpeningFragment",J,G)}function Uh(J,G){F("JSXClosingFragment",J,G)}function Fh(J,G){F("Noop",J,G)}function Rh(J,G){F("Placeholder",J,G)}function Bh(J,G){F("V8IntrinsicIdentifier",J,G)}function $h(J,G){F("ArgumentPlaceholder",J,G)}function Dh(J,G){F("BindExpression",J,G)}function Mh(J,G){F("ImportAttribute",J,G)}function Oh(J,G){F("Decorator",J,G)}function fh(J,G){F("DoExpression",J,G)}function qh(J,G){F("ExportDefaultSpecifier",J,G)}function jh(J,G){F("RecordExpression",J,G)}function Sh(J,G){F("TupleExpression",J,G)}function Ih(J,G){F("DecimalLiteral",J,G)}function Ah(J,G){F("ModuleExpression",J,G)}function Ch(J,G){F("TopicReference",J,G)}function Lh(J,G){F("PipelineTopicExpression",J,G)}function Ph(J,G){F("PipelineBareFunction",J,G)}function Th(J,G){F("PipelinePrimaryTopicReference",J,G)}function Nh(J,G){F("TSParameterProperty",J,G)}function wh(J,G){F("TSDeclareFunction",J,G)}function Eh(J,G){F("TSDeclareMethod",J,G)}function kh(J,G){F("TSQualifiedName",J,G)}function bh(J,G){F("TSCallSignatureDeclaration",J,G)}function vh(J,G){F("TSConstructSignatureDeclaration",J,G)}function gh(J,G){F("TSPropertySignature",J,G)}function _h(J,G){F("TSMethodSignature",J,G)}function uh(J,G){F("TSIndexSignature",J,G)}function hh(J,G){F("TSAnyKeyword",J,G)}function yh(J,G){F("TSBooleanKeyword",J,G)}function xh(J,G){F("TSBigIntKeyword",J,G)}function mh(J,G){F("TSIntrinsicKeyword",J,G)}function ch(J,G){F("TSNeverKeyword",J,G)}function lh(J,G){F("TSNullKeyword",J,G)}function ih(J,G){F("TSNumberKeyword",J,G)}function ah(J,G){F("TSObjectKeyword",J,G)}function ph(J,G){F("TSStringKeyword",J,G)}function rh(J,G){F("TSSymbolKeyword",J,G)}function dh(J,G){F("TSUndefinedKeyword",J,G)}function sh(J,G){F("TSUnknownKeyword",J,G)}function th(J,G){F("TSVoidKeyword",J,G)}function nh(J,G){F("TSThisType",J,G)}function oh(J,G){F("TSFunctionType",J,G)}function eh(J,G){F("TSConstructorType",J,G)}function Jy(J,G){F("TSTypeReference",J,G)}function Gy(J,G){F("TSTypePredicate",J,G)}function Xy(J,G){F("TSTypeQuery",J,G)}function Hy(J,G){F("TSTypeLiteral",J,G)}function Vy(J,G){F("TSArrayType",J,G)}function Zy(J,G){F("TSTupleType",J,G)}function Qy(J,G){F("TSOptionalType",J,G)}function Yy(J,G){F("TSRestType",J,G)}function Wy(J,G){F("TSNamedTupleMember",J,G)}function zy(J,G){F("TSUnionType",J,G)}function Ky(J,G){F("TSIntersectionType",J,G)}function Uy(J,G){F("TSConditionalType",J,G)}function Fy(J,G){F("TSInferType",J,G)}function Ry(J,G){F("TSParenthesizedType",J,G)}function By(J,G){F("TSTypeOperator",J,G)}function $y(J,G){F("TSIndexedAccessType",J,G)}function Dy(J,G){F("TSMappedType",J,G)}function My(J,G){F("TSLiteralType",J,G)}function Oy(J,G){F("TSExpressionWithTypeArguments",J,G)}function fy(J,G){F("TSInterfaceDeclaration",J,G)}function qy(J,G){F("TSInterfaceBody",J,G)}function jy(J,G){F("TSTypeAliasDeclaration",J,G)}function Sy(J,G){F("TSInstantiationExpression",J,G)}function Iy(J,G){F("TSAsExpression",J,G)}function Ay(J,G){F("TSSatisfiesExpression",J,G)}function Cy(J,G){F("TSTypeAssertion",J,G)}function Ly(J,G){F("TSEnumDeclaration",J,G)}function Py(J,G){F("TSEnumMember",J,G)}function Ty(J,G){F("TSModuleDeclaration",J,G)}function Ny(J,G){F("TSModuleBlock",J,G)}function wy(J,G){F("TSImportType",J,G)}function Ey(J,G){F("TSImportEqualsDeclaration",J,G)}function ky(J,G){F("TSExternalModuleReference",J,G)}function by(J,G){F("TSNonNullExpression",J,G)}function vy(J,G){F("TSExportAssignment",J,G)}function gy(J,G){F("TSNamespaceExportDeclaration",J,G)}function _y(J,G){F("TSTypeAnnotation",J,G)}function uy(J,G){F("TSTypeParameterInstantiation",J,G)}function hy(J,G){F("TSTypeParameterDeclaration",J,G)}function yy(J,G){F("TSTypeParameter",J,G)}function xy(J,G){F("Standardized",J,G)}function my(J,G){F("Expression",J,G)}function cy(J,G){F("Binary",J,G)}function ly(J,G){F("Scopable",J,G)}function iy(J,G){F("BlockParent",J,G)}function ay(J,G){F("Block",J,G)}function py(J,G){F("Statement",J,G)}function ry(J,G){F("Terminatorless",J,G)}function dy(J,G){F("CompletionStatement",J,G)}function sy(J,G){F("Conditional",J,G)}function ty(J,G){F("Loop",J,G)}function ny(J,G){F("While",J,G)}function oy(J,G){F("ExpressionWrapper",J,G)}function ey(J,G){F("For",J,G)}function Jx(J,G){F("ForXStatement",J,G)}function Gx(J,G){F("Function",J,G)}function Xx(J,G){F("FunctionParent",J,G)}function Hx(J,G){F("Pureish",J,G)}function Vx(J,G){F("Declaration",J,G)}function Zx(J,G){F("PatternLike",J,G)}function Qx(J,G){F("LVal",J,G)}function Yx(J,G){F("TSEntityName",J,G)}function Wx(J,G){F("Literal",J,G)}function zx(J,G){F("Immutable",J,G)}function Kx(J,G){F("UserWhitespacable",J,G)}function Ux(J,G){F("Method",J,G)}function Fx(J,G){F("ObjectMember",J,G)}function Rx(J,G){F("Property",J,G)}function Bx(J,G){F("UnaryLike",J,G)}function $x(J,G){F("Pattern",J,G)}function Dx(J,G){F("Class",J,G)}function Mx(J,G){F("ImportOrExportDeclaration",J,G)}function Ox(J,G){F("ExportDeclaration",J,G)}function fx(J,G){F("ModuleSpecifier",J,G)}function qx(J,G){F("Accessor",J,G)}function jx(J,G){F("Private",J,G)}function Sx(J,G){F("Flow",J,G)}function Ix(J,G){F("FlowType",J,G)}function Ax(J,G){F("FlowBaseAnnotation",J,G)}function Cx(J,G){F("FlowDeclaration",J,G)}function Lx(J,G){F("FlowPredicate",J,G)}function Px(J,G){F("EnumBody",J,G)}function Tx(J,G){F("EnumMember",J,G)}function Nx(J,G){F("JSX",J,G)}function wx(J,G){F("Miscellaneous",J,G)}function Ex(J,G){F("TypeScript",J,G)}function kx(J,G){F("TSTypeElement",J,G)}function bx(J,G){F("TSType",J,G)}function vx(J,G){F("TSBaseType",J,G)}function gx(J,G){Y5.default("assertNumberLiteral","assertNumericLiteral"),F("NumberLiteral",J,G)}function _x(J,G){Y5.default("assertRegexLiteral","assertRegExpLiteral"),F("RegexLiteral",J,G)}function ux(J,G){Y5.default("assertRestProperty","assertRestElement"),F("RestProperty",J,G)}function hx(J,G){Y5.default("assertSpreadProperty","assertSpreadElement"),F("SpreadProperty",J,G)}function yx(J,G){Y5.default("assertModuleDeclaration","assertImportOrExportDeclaration"),F("ModuleDeclaration",J,G)}Object.defineProperty(e6,"__esModule",{value:!0});e6.assertAccessor=qx;e6.assertAnyTypeAnnotation=x_;e6.assertArgumentPlaceholder=$h;e6.assertArrayExpression=Qg;e6.assertArrayPattern=V_;e6.assertArrayTypeAnnotation=m_;e6.assertArrowFunctionExpression=Z_;e6.assertAssignmentExpression=Yg;e6.assertAssignmentPattern=H_;e6.assertAwaitExpression=T_;e6.assertBigIntLiteral=w_;e6.assertBinary=cy;e6.assertBinaryExpression=Wg;e6.assertBindExpression=Dh;e6.assertBlock=ay;e6.assertBlockParent=iy;e6.assertBlockStatement=Fg;e6.assertBooleanLiteral=bg;e6.assertBooleanLiteralTypeAnnotation=l_;e6.assertBooleanTypeAnnotation=c_;e6.assertBreakStatement=Rg;e6.assertCallExpression=Bg;e6.assertCatchClause=$g;e6.assertClass=Dx;e6.assertClassAccessorProperty=g_;e6.assertClassBody=Q_;e6.assertClassDeclaration=W_;e6.assertClassExpression=Y_;e6.assertClassImplements=a_;e6.assertClassMethod=q_;e6.assertClassPrivateMethod=u_;e6.assertClassPrivateProperty=__;e6.assertClassProperty=v_;e6.assertCompletionStatement=dy;e6.assertConditional=sy;e6.assertConditionalExpression=Dg;e6.assertContinueStatement=Mg;e6.assertDebuggerStatement=Og;e6.assertDecimalLiteral=Ih;e6.assertDeclaration=Vx;e6.assertDeclareClass=p_;e6.assertDeclareExportAllDeclaration=Gu;e6.assertDeclareExportDeclaration=Ju;e6.assertDeclareFunction=r_;e6.assertDeclareInterface=d_;e6.assertDeclareModule=s_;e6.assertDeclareModuleExports=t_;e6.assertDeclareOpaqueType=o_;e6.assertDeclareTypeAlias=n_;e6.assertDeclareVariable=e_;e6.assertDeclaredPredicate=Xu;e6.assertDecorator=Oh;e6.assertDirective=Kg;e6.assertDirectiveLiteral=Ug;e6.assertDoExpression=fh;e6.assertDoWhileStatement=fg;e6.assertEmptyStatement=qg;e6.assertEmptyTypeAnnotation=Ru;e6.assertEnumBody=Px;e6.assertEnumBooleanBody=mu;e6.assertEnumBooleanMember=au;e6.assertEnumDeclaration=xu;e6.assertEnumDefaultedMember=du;e6.assertEnumMember=Tx;e6.assertEnumNumberBody=cu;e6.assertEnumNumberMember=pu;e6.assertEnumStringBody=lu;e6.assertEnumStringMember=ru;e6.assertEnumSymbolBody=iu;e6.assertExistsTypeAnnotation=Hu;e6.assertExportAllDeclaration=z_;e6.assertExportDeclaration=Ox;e6.assertExportDefaultDeclaration=K_;e6.assertExportDefaultSpecifier=qh;e6.assertExportNamedDeclaration=U_;e6.assertExportNamespaceSpecifier=E_;e6.assertExportSpecifier=F_;e6.assertExpression=my;e6.assertExpressionStatement=jg;e6.assertExpressionWrapper=oy;e6.assertFile=Sg;e6.assertFlow=Sx;e6.assertFlowBaseAnnotation=Ax;e6.assertFlowDeclaration=Cx;e6.assertFlowPredicate=Lx;e6.assertFlowType=Ix;e6.assertFor=ey;e6.assertForInStatement=Ig;e6.assertForOfStatement=R_;e6.assertForStatement=Ag;e6.assertForXStatement=Jx;e6.assertFunction=Gx;e6.assertFunctionDeclaration=Cg;e6.assertFunctionExpression=Lg;e6.assertFunctionParent=Xx;e6.assertFunctionTypeAnnotation=Vu;e6.assertFunctionTypeParam=Zu;e6.assertGenericTypeAnnotation=Qu;e6.assertIdentifier=Pg;e6.assertIfStatement=Tg;e6.assertImmutable=zx;e6.assertImport=N_;e6.assertImportAttribute=Mh;e6.assertImportDeclaration=B_;e6.assertImportDefaultSpecifier=$_;e6.assertImportExpression=O_;e6.assertImportNamespaceSpecifier=D_;e6.assertImportOrExportDeclaration=Mx;e6.assertImportSpecifier=M_;e6.assertIndexedAccessType=su;e6.assertInferredPredicate=Yu;e6.assertInterfaceDeclaration=zu;e6.assertInterfaceExtends=Wu;e6.assertInterfaceTypeAnnotation=Ku;e6.assertInterpreterDirective=zg;e6.assertIntersectionTypeAnnotation=Uu;e6.assertJSX=Nx;e6.assertJSXAttribute=nu;e6.assertJSXClosingElement=ou;e6.assertJSXClosingFragment=Uh;e6.assertJSXElement=eu;e6.assertJSXEmptyExpression=Jh;e6.assertJSXExpressionContainer=Gh;e6.assertJSXFragment=zh;e6.assertJSXIdentifier=Hh;e6.assertJSXMemberExpression=Vh;e6.assertJSXNamespacedName=Zh;e6.assertJSXOpeningElement=Qh;e6.assertJSXOpeningFragment=Kh;e6.assertJSXSpreadAttribute=Yh;e6.assertJSXSpreadChild=Xh;e6.assertJSXText=Wh;e6.assertLVal=Qx;e6.assertLabeledStatement=Ng;e6.assertLiteral=Wx;e6.assertLogicalExpression=gg;e6.assertLoop=ty;e6.assertMemberExpression=_g;e6.assertMetaProperty=f_;e6.assertMethod=Ux;e6.assertMiscellaneous=wx;e6.assertMixedTypeAnnotation=Fu;e6.assertModuleDeclaration=yx;e6.assertModuleExpression=Ah;e6.assertModuleSpecifier=fx;e6.assertNewExpression=ug;e6.assertNoop=Fh;e6.assertNullLiteral=kg;e6.assertNullLiteralTypeAnnotation=i_;e6.assertNullableTypeAnnotation=Bu;e6.assertNumberLiteral=gx;e6.assertNumberLiteralTypeAnnotation=$u;e6.assertNumberTypeAnnotation=Du;e6.assertNumericLiteral=Eg;e6.assertObjectExpression=yg;e6.assertObjectMember=Fx;e6.assertObjectMethod=xg;e6.assertObjectPattern=j_;e6.assertObjectProperty=mg;e6.assertObjectTypeAnnotation=Mu;e6.assertObjectTypeCallProperty=fu;e6.assertObjectTypeIndexer=qu;e6.assertObjectTypeInternalSlot=Ou;e6.assertObjectTypeProperty=ju;e6.assertObjectTypeSpreadProperty=Su;e6.assertOpaqueType=Iu;e6.assertOptionalCallExpression=b_;e6.assertOptionalIndexedAccessType=tu;e6.assertOptionalMemberExpression=k_;e6.assertParenthesizedExpression=ag;e6.assertPattern=$x;e6.assertPatternLike=Zx;e6.assertPipelineBareFunction=Ph;e6.assertPipelinePrimaryTopicReference=Th;e6.assertPipelineTopicExpression=Lh;e6.assertPlaceholder=Rh;e6.assertPrivate=jx;e6.assertPrivateName=h_;e6.assertProgram=hg;e6.assertProperty=Rx;e6.assertPureish=Hx;e6.assertQualifiedTypeIdentifier=Au;e6.assertRecordExpression=jh;e6.assertRegExpLiteral=vg;e6.assertRegexLiteral=_x;e6.assertRestElement=cg;e6.assertRestProperty=ux;e6.assertReturnStatement=lg;e6.assertScopable=ly;e6.assertSequenceExpression=ig;e6.assertSpreadElement=S_;e6.assertSpreadProperty=hx;e6.assertStandardized=xy;e6.assertStatement=py;e6.assertStaticBlock=y_;e6.assertStringLiteral=wg;e6.assertStringLiteralTypeAnnotation=Cu;e6.assertStringTypeAnnotation=Lu;e6.assertSuper=I_;e6.assertSwitchCase=pg;e6.assertSwitchStatement=rg;e6.assertSymbolTypeAnnotation=Pu;e6.assertTSAnyKeyword=hh;e6.assertTSArrayType=Vy;e6.assertTSAsExpression=Iy;e6.assertTSBaseType=vx;e6.assertTSBigIntKeyword=xh;e6.assertTSBooleanKeyword=yh;e6.assertTSCallSignatureDeclaration=bh;e6.assertTSConditionalType=Uy;e6.assertTSConstructSignatureDeclaration=vh;e6.assertTSConstructorType=eh;e6.assertTSDeclareFunction=wh;e6.assertTSDeclareMethod=Eh;e6.assertTSEntityName=Yx;e6.assertTSEnumDeclaration=Ly;e6.assertTSEnumMember=Py;e6.assertTSExportAssignment=vy;e6.assertTSExpressionWithTypeArguments=Oy;e6.assertTSExternalModuleReference=ky;e6.assertTSFunctionType=oh;e6.assertTSImportEqualsDeclaration=Ey;e6.assertTSImportType=wy;e6.assertTSIndexSignature=uh;e6.assertTSIndexedAccessType=$y;e6.assertTSInferType=Fy;e6.assertTSInstantiationExpression=Sy;e6.assertTSInterfaceBody=qy;e6.assertTSInterfaceDeclaration=fy;e6.assertTSIntersectionType=Ky;e6.assertTSIntrinsicKeyword=mh;e6.assertTSLiteralType=My;e6.assertTSMappedType=Dy;e6.assertTSMethodSignature=_h;e6.assertTSModuleBlock=Ny;e6.assertTSModuleDeclaration=Ty;e6.assertTSNamedTupleMember=Wy;e6.assertTSNamespaceExportDeclaration=gy;e6.assertTSNeverKeyword=ch;e6.assertTSNonNullExpression=by;e6.assertTSNullKeyword=lh;e6.assertTSNumberKeyword=ih;e6.assertTSObjectKeyword=ah;e6.assertTSOptionalType=Qy;e6.assertTSParameterProperty=Nh;e6.assertTSParenthesizedType=Ry;e6.assertTSPropertySignature=gh;e6.assertTSQualifiedName=kh;e6.assertTSRestType=Yy;e6.assertTSSatisfiesExpression=Ay;e6.assertTSStringKeyword=ph;e6.assertTSSymbolKeyword=rh;e6.assertTSThisType=nh;e6.assertTSTupleType=Zy;e6.assertTSType=bx;e6.assertTSTypeAliasDeclaration=jy;e6.assertTSTypeAnnotation=_y;e6.assertTSTypeAssertion=Cy;e6.assertTSTypeElement=kx;e6.assertTSTypeLiteral=Hy;e6.assertTSTypeOperator=By;e6.assertTSTypeParameter=yy;e6.assertTSTypeParameterDeclaration=hy;e6.assertTSTypeParameterInstantiation=uy;e6.assertTSTypePredicate=Gy;e6.assertTSTypeQuery=Xy;e6.assertTSTypeReference=Jy;e6.assertTSUndefinedKeyword=dh;e6.assertTSUnionType=zy;e6.assertTSUnknownKeyword=sh;e6.assertTSVoidKeyword=th;e6.assertTaggedTemplateExpression=A_;e6.assertTemplateElement=C_;e6.assertTemplateLiteral=L_;e6.assertTerminatorless=ry;e6.assertThisExpression=dg;e6.assertThisTypeAnnotation=Tu;e6.assertThrowStatement=sg;e6.assertTopicReference=Ch;e6.assertTryStatement=tg;e6.assertTupleExpression=Sh;e6.assertTupleTypeAnnotation=Nu;e6.assertTypeAlias=Eu;e6.assertTypeAnnotation=ku;e6.assertTypeCastExpression=bu;e6.assertTypeParameter=vu;e6.assertTypeParameterDeclaration=gu;e6.assertTypeParameterInstantiation=_u;e6.assertTypeScript=Ex;e6.assertTypeofTypeAnnotation=wu;e6.assertUnaryExpression=ng;e6.assertUnaryLike=Bx;e6.assertUnionTypeAnnotation=uu;e6.assertUpdateExpression=og;e6.assertUserWhitespacable=Kx;e6.assertV8IntrinsicIdentifier=Bh;e6.assertVariableDeclaration=eg;e6.assertVariableDeclarator=J_;e6.assertVariance=hu;e6.assertVoidTypeAnnotation=yu;e6.assertWhile=ny;e6.assertWhileStatement=G_;e6.assertWithStatement=X_;e6.assertYieldExpression=P_;var Zg=j0(),Y5=e0()});var H7=q((G7)=>{function qp(J){switch(J){case"string":return z2.stringTypeAnnotation();case"number":return z2.numberTypeAnnotation();case"undefined":return z2.voidTypeAnnotation();case"boolean":return z2.booleanTypeAnnotation();case"function":return z2.genericTypeAnnotation(z2.identifier("Function"));case"object":return z2.genericTypeAnnotation(z2.identifier("Object"));case"symbol":return z2.genericTypeAnnotation(z2.identifier("Symbol"));case"bigint":return z2.anyTypeAnnotation()}throw new Error("Invalid typeof value: "+J)}Object.defineProperty(G7,"__esModule",{value:!0});G7.default=void 0;var z2=i1(),tB1=G7.default=qp});var r4=q((Q7)=>{function V7(J){return W5.isIdentifier(J)?J.name:`${J.id.name}.${V7(J.qualification)}`}function Z7(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(W5.isAnyTypeAnnotation(Y))return[Y];if(W5.isFlowBaseAnnotation(Y)){H.set(Y.type,Y);continue}if(W5.isUnionTypeAnnotation(Y)){if(!V.has(Y.types))G.push(...Y.types),V.add(Y.types);continue}if(W5.isGenericTypeAnnotation(Y)){const W=V7(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=Z7(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(Q7,"__esModule",{value:!0});Q7.default=Z7;var W5=N1()});var W7=q((Y7)=>{function Ap(J){const G=Ip.default(J);if(G.length===1)return G[0];else return Sp.unionTypeAnnotation(G)}Object.defineProperty(Y7,"__esModule",{value:!0});Y7.default=Ap;var Sp=i1(),Ip=r4()});var F7=q((U7)=>{function z7(J){return z5.isIdentifier(J)?J.name:`${J.right.name}.${z7(J.left)}`}function K7(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(z5.isTSAnyKeyword(Y))return[Y];if(z5.isTSBaseType(Y)){H.set(Y.type,Y);continue}if(z5.isTSUnionType(Y)){if(!V.has(Y.types))G.push(...Y.types),V.add(Y.types);continue}if(z5.isTSTypeReference(Y)&&Y.typeParameters){const W=z7(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=K7(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(U7,"__esModule",{value:!0});U7.default=K7;var z5=N1()});var B7=q((R7)=>{function wp(J){const G=J.map((H)=>{return Np.isTSTypeAnnotation(H)?H.typeAnnotation:H}),X=Tp.default(G);if(X.length===1)return X[0];else return Pp.tsUnionType(X)}Object.defineProperty(R7,"__esModule",{value:!0});R7.default=wp;var Pp=i1(),Tp=F7(),Np=N1()});var $7=q((B)=>{Object.defineProperty(B,"__esModule",{value:!0});Object.defineProperty(B,"AnyTypeAnnotation",{enumerable:!0,get:function(){return $.anyTypeAnnotation}});Object.defineProperty(B,"ArgumentPlaceholder",{enumerable:!0,get:function(){return $.argumentPlaceholder}});Object.defineProperty(B,"ArrayExpression",{enumerable:!0,get:function(){return $.arrayExpression}});Object.defineProperty(B,"ArrayPattern",{enumerable:!0,get:function(){return $.arrayPattern}});Object.defineProperty(B,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return $.arrayTypeAnnotation}});Object.defineProperty(B,"ArrowFunctionExpression",{enumerable:!0,get:function(){return $.arrowFunctionExpression}});Object.defineProperty(B,"AssignmentExpression",{enumerable:!0,get:function(){return $.assignmentExpression}});Object.defineProperty(B,"AssignmentPattern",{enumerable:!0,get:function(){return $.assignmentPattern}});Object.defineProperty(B,"AwaitExpression",{enumerable:!0,get:function(){return $.awaitExpression}});Object.defineProperty(B,"BigIntLiteral",{enumerable:!0,get:function(){return $.bigIntLiteral}});Object.defineProperty(B,"BinaryExpression",{enumerable:!0,get:function(){return $.binaryExpression}});Object.defineProperty(B,"BindExpression",{enumerable:!0,get:function(){return $.bindExpression}});Object.defineProperty(B,"BlockStatement",{enumerable:!0,get:function(){return $.blockStatement}});Object.defineProperty(B,"BooleanLiteral",{enumerable:!0,get:function(){return $.booleanLiteral}});Object.defineProperty(B,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return $.booleanLiteralTypeAnnotation}});Object.defineProperty(B,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return $.booleanTypeAnnotation}});Object.defineProperty(B,"BreakStatement",{enumerable:!0,get:function(){return $.breakStatement}});Object.defineProperty(B,"CallExpression",{enumerable:!0,get:function(){return $.callExpression}});Object.defineProperty(B,"CatchClause",{enumerable:!0,get:function(){return $.catchClause}});Object.defineProperty(B,"ClassAccessorProperty",{enumerable:!0,get:function(){return $.classAccessorProperty}});Object.defineProperty(B,"ClassBody",{enumerable:!0,get:function(){return $.classBody}});Object.defineProperty(B,"ClassDeclaration",{enumerable:!0,get:function(){return $.classDeclaration}});Object.defineProperty(B,"ClassExpression",{enumerable:!0,get:function(){return $.classExpression}});Object.defineProperty(B,"ClassImplements",{enumerable:!0,get:function(){return $.classImplements}});Object.defineProperty(B,"ClassMethod",{enumerable:!0,get:function(){return $.classMethod}});Object.defineProperty(B,"ClassPrivateMethod",{enumerable:!0,get:function(){return $.classPrivateMethod}});Object.defineProperty(B,"ClassPrivateProperty",{enumerable:!0,get:function(){return $.classPrivateProperty}});Object.defineProperty(B,"ClassProperty",{enumerable:!0,get:function(){return $.classProperty}});Object.defineProperty(B,"ConditionalExpression",{enumerable:!0,get:function(){return $.conditionalExpression}});Object.defineProperty(B,"ContinueStatement",{enumerable:!0,get:function(){return $.continueStatement}});Object.defineProperty(B,"DebuggerStatement",{enumerable:!0,get:function(){return $.debuggerStatement}});Object.defineProperty(B,"DecimalLiteral",{enumerable:!0,get:function(){return $.decimalLiteral}});Object.defineProperty(B,"DeclareClass",{enumerable:!0,get:function(){return $.declareClass}});Object.defineProperty(B,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return $.declareExportAllDeclaration}});Object.defineProperty(B,"DeclareExportDeclaration",{enumerable:!0,get:function(){return $.declareExportDeclaration}});Object.defineProperty(B,"DeclareFunction",{enumerable:!0,get:function(){return $.declareFunction}});Object.defineProperty(B,"DeclareInterface",{enumerable:!0,get:function(){return $.declareInterface}});Object.defineProperty(B,"DeclareModule",{enumerable:!0,get:function(){return $.declareModule}});Object.defineProperty(B,"DeclareModuleExports",{enumerable:!0,get:function(){return $.declareModuleExports}});Object.defineProperty(B,"DeclareOpaqueType",{enumerable:!0,get:function(){return $.declareOpaqueType}});Object.defineProperty(B,"DeclareTypeAlias",{enumerable:!0,get:function(){return $.declareTypeAlias}});Object.defineProperty(B,"DeclareVariable",{enumerable:!0,get:function(){return $.declareVariable}});Object.defineProperty(B,"DeclaredPredicate",{enumerable:!0,get:function(){return $.declaredPredicate}});Object.defineProperty(B,"Decorator",{enumerable:!0,get:function(){return $.decorator}});Object.defineProperty(B,"Directive",{enumerable:!0,get:function(){return $.directive}});Object.defineProperty(B,"DirectiveLiteral",{enumerable:!0,get:function(){return $.directiveLiteral}});Object.defineProperty(B,"DoExpression",{enumerable:!0,get:function(){return $.doExpression}});Object.defineProperty(B,"DoWhileStatement",{enumerable:!0,get:function(){return $.doWhileStatement}});Object.defineProperty(B,"EmptyStatement",{enumerable:!0,get:function(){return $.emptyStatement}});Object.defineProperty(B,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return $.emptyTypeAnnotation}});Object.defineProperty(B,"EnumBooleanBody",{enumerable:!0,get:function(){return $.enumBooleanBody}});Object.defineProperty(B,"EnumBooleanMember",{enumerable:!0,get:function(){return $.enumBooleanMember}});Object.defineProperty(B,"EnumDeclaration",{enumerable:!0,get:function(){return $.enumDeclaration}});Object.defineProperty(B,"EnumDefaultedMember",{enumerable:!0,get:function(){return $.enumDefaultedMember}});Object.defineProperty(B,"EnumNumberBody",{enumerable:!0,get:function(){return $.enumNumberBody}});Object.defineProperty(B,"EnumNumberMember",{enumerable:!0,get:function(){return $.enumNumberMember}});Object.defineProperty(B,"EnumStringBody",{enumerable:!0,get:function(){return $.enumStringBody}});Object.defineProperty(B,"EnumStringMember",{enumerable:!0,get:function(){return $.enumStringMember}});Object.defineProperty(B,"EnumSymbolBody",{enumerable:!0,get:function(){return $.enumSymbolBody}});Object.defineProperty(B,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return $.existsTypeAnnotation}});Object.defineProperty(B,"ExportAllDeclaration",{enumerable:!0,get:function(){return $.exportAllDeclaration}});Object.defineProperty(B,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return $.exportDefaultDeclaration}});Object.defineProperty(B,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return $.exportDefaultSpecifier}});Object.defineProperty(B,"ExportNamedDeclaration",{enumerable:!0,get:function(){return $.exportNamedDeclaration}});Object.defineProperty(B,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return $.exportNamespaceSpecifier}});Object.defineProperty(B,"ExportSpecifier",{enumerable:!0,get:function(){return $.exportSpecifier}});Object.defineProperty(B,"ExpressionStatement",{enumerable:!0,get:function(){return $.expressionStatement}});Object.defineProperty(B,"File",{enumerable:!0,get:function(){return $.file}});Object.defineProperty(B,"ForInStatement",{enumerable:!0,get:function(){return $.forInStatement}});Object.defineProperty(B,"ForOfStatement",{enumerable:!0,get:function(){return $.forOfStatement}});Object.defineProperty(B,"ForStatement",{enumerable:!0,get:function(){return $.forStatement}});Object.defineProperty(B,"FunctionDeclaration",{enumerable:!0,get:function(){return $.functionDeclaration}});Object.defineProperty(B,"FunctionExpression",{enumerable:!0,get:function(){return $.functionExpression}});Object.defineProperty(B,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return $.functionTypeAnnotation}});Object.defineProperty(B,"FunctionTypeParam",{enumerable:!0,get:function(){return $.functionTypeParam}});Object.defineProperty(B,"GenericTypeAnnotation",{enumerable:!0,get:function(){return $.genericTypeAnnotation}});Object.defineProperty(B,"Identifier",{enumerable:!0,get:function(){return $.identifier}});Object.defineProperty(B,"IfStatement",{enumerable:!0,get:function(){return $.ifStatement}});Object.defineProperty(B,"Import",{enumerable:!0,get:function(){return $.import}});Object.defineProperty(B,"ImportAttribute",{enumerable:!0,get:function(){return $.importAttribute}});Object.defineProperty(B,"ImportDeclaration",{enumerable:!0,get:function(){return $.importDeclaration}});Object.defineProperty(B,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return $.importDefaultSpecifier}});Object.defineProperty(B,"ImportExpression",{enumerable:!0,get:function(){return $.importExpression}});Object.defineProperty(B,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return $.importNamespaceSpecifier}});Object.defineProperty(B,"ImportSpecifier",{enumerable:!0,get:function(){return $.importSpecifier}});Object.defineProperty(B,"IndexedAccessType",{enumerable:!0,get:function(){return $.indexedAccessType}});Object.defineProperty(B,"InferredPredicate",{enumerable:!0,get:function(){return $.inferredPredicate}});Object.defineProperty(B,"InterfaceDeclaration",{enumerable:!0,get:function(){return $.interfaceDeclaration}});Object.defineProperty(B,"InterfaceExtends",{enumerable:!0,get:function(){return $.interfaceExtends}});Object.defineProperty(B,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return $.interfaceTypeAnnotation}});Object.defineProperty(B,"InterpreterDirective",{enumerable:!0,get:function(){return $.interpreterDirective}});Object.defineProperty(B,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return $.intersectionTypeAnnotation}});Object.defineProperty(B,"JSXAttribute",{enumerable:!0,get:function(){return $.jsxAttribute}});Object.defineProperty(B,"JSXClosingElement",{enumerable:!0,get:function(){return $.jsxClosingElement}});Object.defineProperty(B,"JSXClosingFragment",{enumerable:!0,get:function(){return $.jsxClosingFragment}});Object.defineProperty(B,"JSXElement",{enumerable:!0,get:function(){return $.jsxElement}});Object.defineProperty(B,"JSXEmptyExpression",{enumerable:!0,get:function(){return $.jsxEmptyExpression}});Object.defineProperty(B,"JSXExpressionContainer",{enumerable:!0,get:function(){return $.jsxExpressionContainer}});Object.defineProperty(B,"JSXFragment",{enumerable:!0,get:function(){return $.jsxFragment}});Object.defineProperty(B,"JSXIdentifier",{enumerable:!0,get:function(){return $.jsxIdentifier}});Object.defineProperty(B,"JSXMemberExpression",{enumerable:!0,get:function(){return $.jsxMemberExpression}});Object.defineProperty(B,"JSXNamespacedName",{enumerable:!0,get:function(){return $.jsxNamespacedName}});Object.defineProperty(B,"JSXOpeningElement",{enumerable:!0,get:function(){return $.jsxOpeningElement}});Object.defineProperty(B,"JSXOpeningFragment",{enumerable:!0,get:function(){return $.jsxOpeningFragment}});Object.defineProperty(B,"JSXSpreadAttribute",{enumerable:!0,get:function(){return $.jsxSpreadAttribute}});Object.defineProperty(B,"JSXSpreadChild",{enumerable:!0,get:function(){return $.jsxSpreadChild}});Object.defineProperty(B,"JSXText",{enumerable:!0,get:function(){return $.jsxText}});Object.defineProperty(B,"LabeledStatement",{enumerable:!0,get:function(){return $.labeledStatement}});Object.defineProperty(B,"LogicalExpression",{enumerable:!0,get:function(){return $.logicalExpression}});Object.defineProperty(B,"MemberExpression",{enumerable:!0,get:function(){return $.memberExpression}});Object.defineProperty(B,"MetaProperty",{enumerable:!0,get:function(){return $.metaProperty}});Object.defineProperty(B,"MixedTypeAnnotation",{enumerable:!0,get:function(){return $.mixedTypeAnnotation}});Object.defineProperty(B,"ModuleExpression",{enumerable:!0,get:function(){return $.moduleExpression}});Object.defineProperty(B,"NewExpression",{enumerable:!0,get:function(){return $.newExpression}});Object.defineProperty(B,"Noop",{enumerable:!0,get:function(){return $.noop}});Object.defineProperty(B,"NullLiteral",{enumerable:!0,get:function(){return $.nullLiteral}});Object.defineProperty(B,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return $.nullLiteralTypeAnnotation}});Object.defineProperty(B,"NullableTypeAnnotation",{enumerable:!0,get:function(){return $.nullableTypeAnnotation}});Object.defineProperty(B,"NumberLiteral",{enumerable:!0,get:function(){return $.numberLiteral}});Object.defineProperty(B,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return $.numberLiteralTypeAnnotation}});Object.defineProperty(B,"NumberTypeAnnotation",{enumerable:!0,get:function(){return $.numberTypeAnnotation}});Object.defineProperty(B,"NumericLiteral",{enumerable:!0,get:function(){return $.numericLiteral}});Object.defineProperty(B,"ObjectExpression",{enumerable:!0,get:function(){return $.objectExpression}});Object.defineProperty(B,"ObjectMethod",{enumerable:!0,get:function(){return $.objectMethod}});Object.defineProperty(B,"ObjectPattern",{enumerable:!0,get:function(){return $.objectPattern}});Object.defineProperty(B,"ObjectProperty",{enumerable:!0,get:function(){return $.objectProperty}});Object.defineProperty(B,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return $.objectTypeAnnotation}});Object.defineProperty(B,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return $.objectTypeCallProperty}});Object.defineProperty(B,"ObjectTypeIndexer",{enumerable:!0,get:function(){return $.objectTypeIndexer}});Object.defineProperty(B,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return $.objectTypeInternalSlot}});Object.defineProperty(B,"ObjectTypeProperty",{enumerable:!0,get:function(){return $.objectTypeProperty}});Object.defineProperty(B,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return $.objectTypeSpreadProperty}});Object.defineProperty(B,"OpaqueType",{enumerable:!0,get:function(){return $.opaqueType}});Object.defineProperty(B,"OptionalCallExpression",{enumerable:!0,get:function(){return $.optionalCallExpression}});Object.defineProperty(B,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return $.optionalIndexedAccessType}});Object.defineProperty(B,"OptionalMemberExpression",{enumerable:!0,get:function(){return $.optionalMemberExpression}});Object.defineProperty(B,"ParenthesizedExpression",{enumerable:!0,get:function(){return $.parenthesizedExpression}});Object.defineProperty(B,"PipelineBareFunction",{enumerable:!0,get:function(){return $.pipelineBareFunction}});Object.defineProperty(B,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return $.pipelinePrimaryTopicReference}});Object.defineProperty(B,"PipelineTopicExpression",{enumerable:!0,get:function(){return $.pipelineTopicExpression}});Object.defineProperty(B,"Placeholder",{enumerable:!0,get:function(){return $.placeholder}});Object.defineProperty(B,"PrivateName",{enumerable:!0,get:function(){return $.privateName}});Object.defineProperty(B,"Program",{enumerable:!0,get:function(){return $.program}});Object.defineProperty(B,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return $.qualifiedTypeIdentifier}});Object.defineProperty(B,"RecordExpression",{enumerable:!0,get:function(){return $.recordExpression}});Object.defineProperty(B,"RegExpLiteral",{enumerable:!0,get:function(){return $.regExpLiteral}});Object.defineProperty(B,"RegexLiteral",{enumerable:!0,get:function(){return $.regexLiteral}});Object.defineProperty(B,"RestElement",{enumerable:!0,get:function(){return $.restElement}});Object.defineProperty(B,"RestProperty",{enumerable:!0,get:function(){return $.restProperty}});Object.defineProperty(B,"ReturnStatement",{enumerable:!0,get:function(){return $.returnStatement}});Object.defineProperty(B,"SequenceExpression",{enumerable:!0,get:function(){return $.sequenceExpression}});Object.defineProperty(B,"SpreadElement",{enumerable:!0,get:function(){return $.spreadElement}});Object.defineProperty(B,"SpreadProperty",{enumerable:!0,get:function(){return $.spreadProperty}});Object.defineProperty(B,"StaticBlock",{enumerable:!0,get:function(){return $.staticBlock}});Object.defineProperty(B,"StringLiteral",{enumerable:!0,get:function(){return $.stringLiteral}});Object.defineProperty(B,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return $.stringLiteralTypeAnnotation}});Object.defineProperty(B,"StringTypeAnnotation",{enumerable:!0,get:function(){return $.stringTypeAnnotation}});Object.defineProperty(B,"Super",{enumerable:!0,get:function(){return $.super}});Object.defineProperty(B,"SwitchCase",{enumerable:!0,get:function(){return $.switchCase}});Object.defineProperty(B,"SwitchStatement",{enumerable:!0,get:function(){return $.switchStatement}});Object.defineProperty(B,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return $.symbolTypeAnnotation}});Object.defineProperty(B,"TSAnyKeyword",{enumerable:!0,get:function(){return $.tsAnyKeyword}});Object.defineProperty(B,"TSArrayType",{enumerable:!0,get:function(){return $.tsArrayType}});Object.defineProperty(B,"TSAsExpression",{enumerable:!0,get:function(){return $.tsAsExpression}});Object.defineProperty(B,"TSBigIntKeyword",{enumerable:!0,get:function(){return $.tsBigIntKeyword}});Object.defineProperty(B,"TSBooleanKeyword",{enumerable:!0,get:function(){return $.tsBooleanKeyword}});Object.defineProperty(B,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return $.tsCallSignatureDeclaration}});Object.defineProperty(B,"TSConditionalType",{enumerable:!0,get:function(){return $.tsConditionalType}});Object.defineProperty(B,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return $.tsConstructSignatureDeclaration}});Object.defineProperty(B,"TSConstructorType",{enumerable:!0,get:function(){return $.tsConstructorType}});Object.defineProperty(B,"TSDeclareFunction",{enumerable:!0,get:function(){return $.tsDeclareFunction}});Object.defineProperty(B,"TSDeclareMethod",{enumerable:!0,get:function(){return $.tsDeclareMethod}});Object.defineProperty(B,"TSEnumDeclaration",{enumerable:!0,get:function(){return $.tsEnumDeclaration}});Object.defineProperty(B,"TSEnumMember",{enumerable:!0,get:function(){return $.tsEnumMember}});Object.defineProperty(B,"TSExportAssignment",{enumerable:!0,get:function(){return $.tsExportAssignment}});Object.defineProperty(B,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return $.tsExpressionWithTypeArguments}});Object.defineProperty(B,"TSExternalModuleReference",{enumerable:!0,get:function(){return $.tsExternalModuleReference}});Object.defineProperty(B,"TSFunctionType",{enumerable:!0,get:function(){return $.tsFunctionType}});Object.defineProperty(B,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return $.tsImportEqualsDeclaration}});Object.defineProperty(B,"TSImportType",{enumerable:!0,get:function(){return $.tsImportType}});Object.defineProperty(B,"TSIndexSignature",{enumerable:!0,get:function(){return $.tsIndexSignature}});Object.defineProperty(B,"TSIndexedAccessType",{enumerable:!0,get:function(){return $.tsIndexedAccessType}});Object.defineProperty(B,"TSInferType",{enumerable:!0,get:function(){return $.tsInferType}});Object.defineProperty(B,"TSInstantiationExpression",{enumerable:!0,get:function(){return $.tsInstantiationExpression}});Object.defineProperty(B,"TSInterfaceBody",{enumerable:!0,get:function(){return $.tsInterfaceBody}});Object.defineProperty(B,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return $.tsInterfaceDeclaration}});Object.defineProperty(B,"TSIntersectionType",{enumerable:!0,get:function(){return $.tsIntersectionType}});Object.defineProperty(B,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return $.tsIntrinsicKeyword}});Object.defineProperty(B,"TSLiteralType",{enumerable:!0,get:function(){return $.tsLiteralType}});Object.defineProperty(B,"TSMappedType",{enumerable:!0,get:function(){return $.tsMappedType}});Object.defineProperty(B,"TSMethodSignature",{enumerable:!0,get:function(){return $.tsMethodSignature}});Object.defineProperty(B,"TSModuleBlock",{enumerable:!0,get:function(){return $.tsModuleBlock}});Object.defineProperty(B,"TSModuleDeclaration",{enumerable:!0,get:function(){return $.tsModuleDeclaration}});Object.defineProperty(B,"TSNamedTupleMember",{enumerable:!0,get:function(){return $.tsNamedTupleMember}});Object.defineProperty(B,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return $.tsNamespaceExportDeclaration}});Object.defineProperty(B,"TSNeverKeyword",{enumerable:!0,get:function(){return $.tsNeverKeyword}});Object.defineProperty(B,"TSNonNullExpression",{enumerable:!0,get:function(){return $.tsNonNullExpression}});Object.defineProperty(B,"TSNullKeyword",{enumerable:!0,get:function(){return $.tsNullKeyword}});Object.defineProperty(B,"TSNumberKeyword",{enumerable:!0,get:function(){return $.tsNumberKeyword}});Object.defineProperty(B,"TSObjectKeyword",{enumerable:!0,get:function(){return $.tsObjectKeyword}});Object.defineProperty(B,"TSOptionalType",{enumerable:!0,get:function(){return $.tsOptionalType}});Object.defineProperty(B,"TSParameterProperty",{enumerable:!0,get:function(){return $.tsParameterProperty}});Object.defineProperty(B,"TSParenthesizedType",{enumerable:!0,get:function(){return $.tsParenthesizedType}});Object.defineProperty(B,"TSPropertySignature",{enumerable:!0,get:function(){return $.tsPropertySignature}});Object.defineProperty(B,"TSQualifiedName",{enumerable:!0,get:function(){return $.tsQualifiedName}});Object.defineProperty(B,"TSRestType",{enumerable:!0,get:function(){return $.tsRestType}});Object.defineProperty(B,"TSSatisfiesExpression",{enumerable:!0,get:function(){return $.tsSatisfiesExpression}});Object.defineProperty(B,"TSStringKeyword",{enumerable:!0,get:function(){return $.tsStringKeyword}});Object.defineProperty(B,"TSSymbolKeyword",{enumerable:!0,get:function(){return $.tsSymbolKeyword}});Object.defineProperty(B,"TSThisType",{enumerable:!0,get:function(){return $.tsThisType}});Object.defineProperty(B,"TSTupleType",{enumerable:!0,get:function(){return $.tsTupleType}});Object.defineProperty(B,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return $.tsTypeAliasDeclaration}});Object.defineProperty(B,"TSTypeAnnotation",{enumerable:!0,get:function(){return $.tsTypeAnnotation}});Object.defineProperty(B,"TSTypeAssertion",{enumerable:!0,get:function(){return $.tsTypeAssertion}});Object.defineProperty(B,"TSTypeLiteral",{enumerable:!0,get:function(){return $.tsTypeLiteral}});Object.defineProperty(B,"TSTypeOperator",{enumerable:!0,get:function(){return $.tsTypeOperator}});Object.defineProperty(B,"TSTypeParameter",{enumerable:!0,get:function(){return $.tsTypeParameter}});Object.defineProperty(B,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return $.tsTypeParameterDeclaration}});Object.defineProperty(B,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return $.tsTypeParameterInstantiation}});Object.defineProperty(B,"TSTypePredicate",{enumerable:!0,get:function(){return $.tsTypePredicate}});Object.defineProperty(B,"TSTypeQuery",{enumerable:!0,get:function(){return $.tsTypeQuery}});Object.defineProperty(B,"TSTypeReference",{enumerable:!0,get:function(){return $.tsTypeReference}});Object.defineProperty(B,"TSUndefinedKeyword",{enumerable:!0,get:function(){return $.tsUndefinedKeyword}});Object.defineProperty(B,"TSUnionType",{enumerable:!0,get:function(){return $.tsUnionType}});Object.defineProperty(B,"TSUnknownKeyword",{enumerable:!0,get:function(){return $.tsUnknownKeyword}});Object.defineProperty(B,"TSVoidKeyword",{enumerable:!0,get:function(){return $.tsVoidKeyword}});Object.defineProperty(B,"TaggedTemplateExpression",{enumerable:!0,get:function(){return $.taggedTemplateExpression}});Object.defineProperty(B,"TemplateElement",{enumerable:!0,get:function(){return $.templateElement}});Object.defineProperty(B,"TemplateLiteral",{enumerable:!0,get:function(){return $.templateLiteral}});Object.defineProperty(B,"ThisExpression",{enumerable:!0,get:function(){return $.thisExpression}});Object.defineProperty(B,"ThisTypeAnnotation",{enumerable:!0,get:function(){return $.thisTypeAnnotation}});Object.defineProperty(B,"ThrowStatement",{enumerable:!0,get:function(){return $.throwStatement}});Object.defineProperty(B,"TopicReference",{enumerable:!0,get:function(){return $.topicReference}});Object.defineProperty(B,"TryStatement",{enumerable:!0,get:function(){return $.tryStatement}});Object.defineProperty(B,"TupleExpression",{enumerable:!0,get:function(){return $.tupleExpression}});Object.defineProperty(B,"TupleTypeAnnotation",{enumerable:!0,get:function(){return $.tupleTypeAnnotation}});Object.defineProperty(B,"TypeAlias",{enumerable:!0,get:function(){return $.typeAlias}});Object.defineProperty(B,"TypeAnnotation",{enumerable:!0,get:function(){return $.typeAnnotation}});Object.defineProperty(B,"TypeCastExpression",{enumerable:!0,get:function(){return $.typeCastExpression}});Object.defineProperty(B,"TypeParameter",{enumerable:!0,get:function(){return $.typeParameter}});Object.defineProperty(B,"TypeParameterDeclaration",{enumerable:!0,get:function(){return $.typeParameterDeclaration}});Object.defineProperty(B,"TypeParameterInstantiation",{enumerable:!0,get:function(){return $.typeParameterInstantiation}});Object.defineProperty(B,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return $.typeofTypeAnnotation}});Object.defineProperty(B,"UnaryExpression",{enumerable:!0,get:function(){return $.unaryExpression}});Object.defineProperty(B,"UnionTypeAnnotation",{enumerable:!0,get:function(){return $.unionTypeAnnotation}});Object.defineProperty(B,"UpdateExpression",{enumerable:!0,get:function(){return $.updateExpression}});Object.defineProperty(B,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return $.v8IntrinsicIdentifier}});Object.defineProperty(B,"VariableDeclaration",{enumerable:!0,get:function(){return $.variableDeclaration}});Object.defineProperty(B,"VariableDeclarator",{enumerable:!0,get:function(){return $.variableDeclarator}});Object.defineProperty(B,"Variance",{enumerable:!0,get:function(){return $.variance}});Object.defineProperty(B,"VoidTypeAnnotation",{enumerable:!0,get:function(){return $.voidTypeAnnotation}});Object.defineProperty(B,"WhileStatement",{enumerable:!0,get:function(){return $.whileStatement}});Object.defineProperty(B,"WithStatement",{enumerable:!0,get:function(){return $.withStatement}});Object.defineProperty(B,"YieldExpression",{enumerable:!0,get:function(){return $.yieldExpression}});var $=i1()});var d4=q((M7)=>{function kp(){return D7.unaryExpression("void",D7.numericLiteral(0),!0)}Object.defineProperty(M7,"__esModule",{value:!0});M7.buildUndefinedNode=kp;var D7=i1()});var h2=q((S7)=>{function q7(J,G,X,H){if(J&&typeof J.type==="string")return j7(J,G,X,H);return J}function s4(J,G,X,H){if(Array.isArray(J))return J.map((V)=>q7(V,G,X,H));return q7(J,G,X,H)}function vp(J,G=!0,X=!1){return j7(J,G,X,new Map)}function j7(J,G=!0,X=!1,H){if(!J)return J;const{type:V}=J,Z={type:J.type};if(f7.isIdentifier(J)){if(Z.name=J.name,$2(J,"optional")&&typeof J.optional==="boolean")Z.optional=J.optional;if($2(J,"typeAnnotation"))Z.typeAnnotation=G?s4(J.typeAnnotation,!0,X,H):J.typeAnnotation;if($2(J,"decorators"))Z.decorators=G?s4(J.decorators,!0,X,H):J.decorators}else if(!$2(O7.NODE_FIELDS,V))throw new Error(`Unknown node type: "${V}"`);else for(let Q of Object.keys(O7.NODE_FIELDS[V]))if($2(J,Q))if(G)Z[Q]=f7.isFile(J)&&Q==="comments"?V9(J.comments,G,X,H):s4(J[Q],!0,X,H);else Z[Q]=J[Q];if($2(J,"loc"))if(X)Z.loc=null;else Z.loc=J.loc;if($2(J,"leadingComments"))Z.leadingComments=V9(J.leadingComments,G,X,H);if($2(J,"innerComments"))Z.innerComments=V9(J.innerComments,G,X,H);if($2(J,"trailingComments"))Z.trailingComments=V9(J.trailingComments,G,X,H);if($2(J,"extra"))Z.extra=Object.assign({},J.extra);return Z}function V9(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(S7,"__esModule",{value:!0});S7.default=vp;var O7=X2(),f7=N1(),{hasOwn:$2}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)}});var A7=q((I7)=>{function up(J){return _p.default(J,!1)}Object.defineProperty(I7,"__esModule",{value:!0});I7.default=up;var _p=h2()});var L7=q((C7)=>{function xp(J){return yp.default(J)}Object.defineProperty(C7,"__esModule",{value:!0});C7.default=xp;var yp=h2()});var T7=q((P7)=>{function lp(J){return cp.default(J,!0,!0)}Object.defineProperty(P7,"__esModule",{value:!0});P7.default=lp;var cp=h2()});var w7=q((N7)=>{function pp(J){return ap.default(J,!1,!0)}Object.defineProperty(N7,"__esModule",{value:!0});N7.default=pp;var ap=h2()});var t4=q((E7)=>{function dp(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(E7,"__esModule",{value:!0});E7.default=dp});var b7=q((k7)=>{function np(J,G,X,H){return tp.default(J,G,[{type:H?"CommentLine":"CommentBlock",value:X}])}Object.defineProperty(k7,"__esModule",{value:!0});k7.default=np;var tp=t4()});var Z9=q((v7)=>{function ep(J,G,X){if(G&&X)G[J]=Array.from(new Set([].concat(G[J],X[J]).filter(Boolean)))}Object.defineProperty(v7,"__esModule",{value:!0});v7.default=ep});var n4=q((g7)=>{function Xr(J,G){Gr.default("innerComments",J,G)}Object.defineProperty(g7,"__esModule",{value:!0});g7.default=Xr;var Gr=Z9()});var o4=q((_7)=>{function Zr(J,G){Vr.default("leadingComments",J,G)}Object.defineProperty(_7,"__esModule",{value:!0});_7.default=Zr;var Vr=Z9()});var e4=q((u7)=>{function Wr(J,G){Yr.default("trailingComments",J,G)}Object.defineProperty(u7,"__esModule",{value:!0});u7.default=Wr;var Yr=Z9()});var J8=q((h7)=>{function Rr(J,G){return Kr.default(J,G),Ur.default(J,G),Fr.default(J,G),J}Object.defineProperty(h7,"__esModule",{value:!0});h7.default=Rr;var Kr=e4(),Ur=o4(),Fr=n4()});var x7=q((y7)=>{function Dr(J){return $r.COMMENT_KEYS.forEach((G)=>{J[G]=null}),J}Object.defineProperty(y7,"__esModule",{value:!0});y7.default=Dr;var $r=_2()});var l7=q((m7)=>{Object.defineProperty(m7,"__esModule",{value:!0});m7.WHILE_TYPES=m7.USERWHITESPACABLE_TYPES=m7.UNARYLIKE_TYPES=m7.TYPESCRIPT_TYPES=m7.TSTYPE_TYPES=m7.TSTYPEELEMENT_TYPES=m7.TSENTITYNAME_TYPES=m7.TSBASETYPE_TYPES=m7.TERMINATORLESS_TYPES=m7.STATEMENT_TYPES=m7.STANDARDIZED_TYPES=m7.SCOPABLE_TYPES=m7.PUREISH_TYPES=m7.PROPERTY_TYPES=m7.PRIVATE_TYPES=m7.PATTERN_TYPES=m7.PATTERNLIKE_TYPES=m7.OBJECTMEMBER_TYPES=m7.MODULESPECIFIER_TYPES=m7.MODULEDECLARATION_TYPES=m7.MISCELLANEOUS_TYPES=m7.METHOD_TYPES=m7.LVAL_TYPES=m7.LOOP_TYPES=m7.LITERAL_TYPES=m7.JSX_TYPES=m7.IMPORTOREXPORTDECLARATION_TYPES=m7.IMMUTABLE_TYPES=m7.FUNCTION_TYPES=m7.FUNCTIONPARENT_TYPES=m7.FOR_TYPES=m7.FORXSTATEMENT_TYPES=m7.FLOW_TYPES=m7.FLOWTYPE_TYPES=m7.FLOWPREDICATE_TYPES=m7.FLOWDECLARATION_TYPES=m7.FLOWBASEANNOTATION_TYPES=m7.EXPRESSION_TYPES=m7.EXPRESSIONWRAPPER_TYPES=m7.EXPORTDECLARATION_TYPES=m7.ENUMMEMBER_TYPES=m7.ENUMBODY_TYPES=m7.DECLARATION_TYPES=m7.CONDITIONAL_TYPES=m7.COMPLETIONSTATEMENT_TYPES=m7.CLASS_TYPES=m7.BLOCK_TYPES=m7.BLOCKPARENT_TYPES=m7.BINARY_TYPES=m7.ACCESSOR_TYPES=void 0;var X1=X2(),M$1=m7.STANDARDIZED_TYPES=X1.FLIPPED_ALIAS_KEYS.Standardized,O$1=m7.EXPRESSION_TYPES=X1.FLIPPED_ALIAS_KEYS.Expression,f$1=m7.BINARY_TYPES=X1.FLIPPED_ALIAS_KEYS.Binary,q$1=m7.SCOPABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.Scopable,j$1=m7.BLOCKPARENT_TYPES=X1.FLIPPED_ALIAS_KEYS.BlockParent,S$1=m7.BLOCK_TYPES=X1.FLIPPED_ALIAS_KEYS.Block,I$1=m7.STATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.Statement,A$1=m7.TERMINATORLESS_TYPES=X1.FLIPPED_ALIAS_KEYS.Terminatorless,C$1=m7.COMPLETIONSTATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.CompletionStatement,L$1=m7.CONDITIONAL_TYPES=X1.FLIPPED_ALIAS_KEYS.Conditional,P$1=m7.LOOP_TYPES=X1.FLIPPED_ALIAS_KEYS.Loop,T$1=m7.WHILE_TYPES=X1.FLIPPED_ALIAS_KEYS.While,N$1=m7.EXPRESSIONWRAPPER_TYPES=X1.FLIPPED_ALIAS_KEYS.ExpressionWrapper,w$1=m7.FOR_TYPES=X1.FLIPPED_ALIAS_KEYS.For,E$1=m7.FORXSTATEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.ForXStatement,k$1=m7.FUNCTION_TYPES=X1.FLIPPED_ALIAS_KEYS.Function,b$1=m7.FUNCTIONPARENT_TYPES=X1.FLIPPED_ALIAS_KEYS.FunctionParent,v$1=m7.PUREISH_TYPES=X1.FLIPPED_ALIAS_KEYS.Pureish,g$1=m7.DECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.Declaration,_$1=m7.PATTERNLIKE_TYPES=X1.FLIPPED_ALIAS_KEYS.PatternLike,u$1=m7.LVAL_TYPES=X1.FLIPPED_ALIAS_KEYS.LVal,h$1=m7.TSENTITYNAME_TYPES=X1.FLIPPED_ALIAS_KEYS.TSEntityName,y$1=m7.LITERAL_TYPES=X1.FLIPPED_ALIAS_KEYS.Literal,x$1=m7.IMMUTABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.Immutable,m$1=m7.USERWHITESPACABLE_TYPES=X1.FLIPPED_ALIAS_KEYS.UserWhitespacable,c$1=m7.METHOD_TYPES=X1.FLIPPED_ALIAS_KEYS.Method,l$1=m7.OBJECTMEMBER_TYPES=X1.FLIPPED_ALIAS_KEYS.ObjectMember,i$1=m7.PROPERTY_TYPES=X1.FLIPPED_ALIAS_KEYS.Property,a$1=m7.UNARYLIKE_TYPES=X1.FLIPPED_ALIAS_KEYS.UnaryLike,p$1=m7.PATTERN_TYPES=X1.FLIPPED_ALIAS_KEYS.Pattern,r$1=m7.CLASS_TYPES=X1.FLIPPED_ALIAS_KEYS.Class,Or=m7.IMPORTOREXPORTDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,d$1=m7.EXPORTDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.ExportDeclaration,s$1=m7.MODULESPECIFIER_TYPES=X1.FLIPPED_ALIAS_KEYS.ModuleSpecifier,t$1=m7.ACCESSOR_TYPES=X1.FLIPPED_ALIAS_KEYS.Accessor,n$1=m7.PRIVATE_TYPES=X1.FLIPPED_ALIAS_KEYS.Private,o$1=m7.FLOW_TYPES=X1.FLIPPED_ALIAS_KEYS.Flow,e$1=m7.FLOWTYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowType,JD1=m7.FLOWBASEANNOTATION_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,GD1=m7.FLOWDECLARATION_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowDeclaration,XD1=m7.FLOWPREDICATE_TYPES=X1.FLIPPED_ALIAS_KEYS.FlowPredicate,HD1=m7.ENUMBODY_TYPES=X1.FLIPPED_ALIAS_KEYS.EnumBody,VD1=m7.ENUMMEMBER_TYPES=X1.FLIPPED_ALIAS_KEYS.EnumMember,ZD1=m7.JSX_TYPES=X1.FLIPPED_ALIAS_KEYS.JSX,QD1=m7.MISCELLANEOUS_TYPES=X1.FLIPPED_ALIAS_KEYS.Miscellaneous,YD1=m7.TYPESCRIPT_TYPES=X1.FLIPPED_ALIAS_KEYS.TypeScript,WD1=m7.TSTYPEELEMENT_TYPES=X1.FLIPPED_ALIAS_KEYS.TSTypeElement,zD1=m7.TSTYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.TSType,KD1=m7.TSBASETYPE_TYPES=X1.FLIPPED_ALIAS_KEYS.TSBaseType,UD1=m7.MODULEDECLARATION_TYPES=Or});var X8=q((i7)=>{function Bd(J,G){if(Q9.isBlockStatement(J))return J;let X=[];if(Q9.isEmptyStatement(J))X=[];else{if(!Q9.isStatement(J))if(Q9.isFunction(G))J=G8.returnStatement(J);else J=G8.expressionStatement(J);X=[J]}return G8.blockStatement(X)}Object.defineProperty(i7,"__esModule",{value:!0});i7.default=Bd;var Q9=N1(),G8=i1()});var p7=q((a7)=>{function Md(J,G="body"){const X=Dd.default(J[G],J);return J[G]=X,X}Object.defineProperty(a7,"__esModule",{value:!0});a7.default=Md;var Dd=X8()});var H8=q((r7)=>{function jd(J){J=J+"";let G="";for(let X of J)G+=qd.isIdentifierChar(X.codePointAt(0))?X:"-";if(G=G.replace(/^[-0-9]+/,""),G=G.replace(/[-\s]+(.)?/g,function(X,H){return H?H.toUpperCase():""}),!fd.default(G))G=`_${G}`;return G||"_"}Object.defineProperty(r7,"__esModule",{value:!0});r7.default=jd;var fd=S0(),qd=d5()});var s7=q((d7)=>{function Ad(J){if(J=Id.default(J),J==="eval"||J==="arguments")J="_"+J;return J}Object.defineProperty(d7,"__esModule",{value:!0});d7.default=Ad;var Id=H8()});var n7=q((t7)=>{function Td(J,G=J.key||J.property){if(!J.computed&&Ld.isIdentifier(G))G=Pd.stringLiteral(G.name);return G}Object.defineProperty(t7,"__esModule",{value:!0});t7.default=Td;var Ld=N1(),Pd=i1()});var JH=q((o7)=>{function wd(J){if(K5.isExpressionStatement(J))J=J.expression;if(K5.isExpression(J))return J;if(K5.isClass(J))J.type="ClassExpression";else if(K5.isFunction(J))J.type="FunctionExpression";if(!K5.isExpression(J))throw new Error(`cannot turn ${J.type} to an expression`);return J}Object.defineProperty(o7,"__esModule",{value:!0});o7.default=void 0;var K5=N1(),OD1=o7.default=wd});var Z8=q((GH)=>{function V8(J,G,X){if(!J)return;const H=Ed.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)V8(Q,G,X);else V8(Z,G,X)}}Object.defineProperty(GH,"__esModule",{value:!0});GH.default=V8;var Ed=X2()});var Q8=q((HH)=>{function gd(J,G={}){const X=G.preserveComments?XH:vd;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(HH,"__esModule",{value:!0});HH.default=gd;var bd=_2(),XH=["tokens","start","end","loc","raw","rawValue"],vd=[...bd.COMMENT_KEYS,"comments",...XH]});var Y8=q((VH)=>{function yd(J,G){return ud.default(J,hd.default,G),J}Object.defineProperty(VH,"__esModule",{value:!0});VH.default=yd;var ud=Z8(),hd=Q8()});var YH=q((QH)=>{function o2(J,G=J.key){let X;if(J.kind==="method")return o2.increment()+"";else if(ZH.isIdentifier(G))X=G.name;else if(ZH.isStringLiteral(G))X=JSON.stringify(G.value);else X=JSON.stringify(cd.default(md.default(G)));if(J.computed)X=`[${X}]`;if(J.static)X=`static:${X}`;return X}Object.defineProperty(QH,"__esModule",{value:!0});QH.default=o2;var ZH=N1(),md=h2(),cd=Y8();o2.uid=0;o2.increment=function(){if(o2.uid>=Number.MAX_SAFE_INTEGER)return o2.uid=0;else return o2.uid++}});var KH=q((WH)=>{function ad(J,G){if(Y9.isStatement(J))return J;let X=!1,H;if(Y9.isClass(J))X=!0,H="ClassDeclaration";else if(Y9.isFunction(J))X=!0,H="FunctionDeclaration";else if(Y9.isAssignmentExpression(J))return id.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(WH,"__esModule",{value:!0});WH.default=void 0;var Y9=N1(),id=i1(),AD1=WH.default=ad});var RH=q((UH)=>{function dd(J){return rd(J)==="[object RegExp]"}function sd(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 W8(J){if(J===void 0)return u1.identifier("undefined");if(J===!0||J===!1)return u1.booleanLiteral(J);if(J===null)return u1.nullLiteral();if(typeof J==="string")return u1.stringLiteral(J);if(typeof J==="number"){let G;if(Number.isFinite(J))G=u1.numericLiteral(Math.abs(J));else{let X;if(Number.isNaN(J))X=u1.numericLiteral(0);else X=u1.numericLiteral(1);G=u1.binaryExpression("/",X,u1.numericLiteral(0))}if(J<0||Object.is(J,-0))G=u1.unaryExpression("-",G);return G}if(dd(J)){const G=J.source,X=/\/([a-z]*)$/.exec(J.toString())[1];return u1.regExpLiteral(G,X)}if(Array.isArray(J))return u1.arrayExpression(J.map(W8));if(sd(J)){const G=[];for(let X of Object.keys(J)){let H;if(pd.default(X))H=u1.identifier(X);else H=u1.stringLiteral(X);G.push(u1.objectProperty(H,W8(J[X])))}return u1.objectExpression(G)}throw new Error("don't know how to turn this value into a node")}Object.defineProperty(UH,"__esModule",{value:!0});UH.default=void 0;var pd=S0(),u1=i1(),LD1=UH.default=W8,rd=Function.call.bind(Object.prototype.toString)});var $H=q((BH)=>{function nd(J,G,X=!1){return J.object=td.memberExpression(J.object,J.property,J.computed),J.property=G,J.computed=!!X,J}Object.defineProperty(BH,"__esModule",{value:!0});BH.default=nd;var td=i1()});var OH=q((MH)=>{function Js(J,G){if(!J||!G)return J;for(let X of DH.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 DH.INHERIT_KEYS.force)J[X]=G[X];return ed.default(J,G),J}Object.defineProperty(MH,"__esModule",{value:!0});MH.default=Js;var DH=_2(),ed=J8()});var qH=q((fH)=>{function Vs(J,G){if(Hs.isSuper(J.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return J.object=Xs.memberExpression(G,J.object),J}Object.defineProperty(fH,"__esModule",{value:!0});fH.default=Vs;var Xs=i1(),Hs=Y1()});var SH=q((jH)=>{function Qs(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(jH,"__esModule",{value:!0});jH.default=Qs});var U5=q((IH)=>{function z8(J,G,X,H){const V=[].concat(J),Z=Object.create(null);while(V.length){const Q=V.shift();if(!Q)continue;if(H&&(N2.isAssignmentExpression(Q)||N2.isUnaryExpression(Q)||N2.isUpdateExpression(Q)))continue;if(N2.isIdentifier(Q)){if(G)(Z[Q.name]=Z[Q.name]||[]).push(Q);else Z[Q.name]=Q;continue}if(N2.isExportDeclaration(Q)&&!N2.isExportAllDeclaration(Q)){if(N2.isDeclaration(Q.declaration))V.push(Q.declaration);continue}if(X){if(N2.isFunctionDeclaration(Q)){V.push(Q.id);continue}if(N2.isFunctionExpression(Q))continue}const Y=z8.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(IH,"__esModule",{value:!0});IH.default=z8;var N2=N1(),Ws={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"]};z8.keys=Ws});var LH=q((AH)=>{function Us(J,G){return Ks.default(J,G,!0)}Object.defineProperty(AH,"__esModule",{value:!0});AH.default=void 0;var Ks=U5(),bD1=AH.default=Us});var NH=q((TH)=>{function Fs(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 PH(J){if(!J.computed||H2.isLiteral(J.key))return J.key}function Rs(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=PH(G);else if(H2.isObjectMethod(J)||H2.isClassMethod(J)){if(H=PH(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)?Fs(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(TH,"__esModule",{value:!0});TH.default=Rs;var H2=N1()});var EH=q((wH)=>{function Ds(J,G,X){if(typeof G==="function")G={enter:G};const{enter:H,exit:V}=G;K8(J,H,V,X,[])}function K8(J,G,X,H,V){const Z=$s.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}),K8(z,G,X,H,V),V.pop()}else if(Y)V.push({node:J,key:Q}),K8(Y,G,X,H,V),V.pop()}if(X)X(J,V,H)}Object.defineProperty(wH,"__esModule",{value:!0});wH.default=Ds;var $s=X2()});var bH=q((kH)=>{function fs(J,G,X){if(X&&J.type==="Identifier"&&G.type==="ObjectProperty"&&X.type==="ObjectExpression")return!1;const H=Os.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(kH,"__esModule",{value:!0});kH.default=fs;var Os=U5()});var U8=q((vH)=>{function Is(J){return js.isVariableDeclaration(J)&&(J.kind!=="var"||J[Ss.BLOCK_SCOPED_SYMBOL])}Object.defineProperty(vH,"__esModule",{value:!0});vH.default=Is;var js=N1(),Ss=_2()});var uH=q((_H)=>{function Ls(J){return gH.isFunctionDeclaration(J)||gH.isClassDeclaration(J)||Cs.default(J)}Object.defineProperty(_H,"__esModule",{value:!0});_H.default=Ls;var gH=N1(),Cs=U8()});var yH=q((hH)=>{function ws(J){if(Ts.default(J.type,"Immutable"))return!0;if(Ns.isIdentifier(J))if(J.name==="undefined")return!0;else return!1;return!1}Object.defineProperty(hH,"__esModule",{value:!0});hH.default=ws;var Ts=r5(),Ns=N1()});var cH=q((mH)=>{function F8(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(xH.NODE_FIELDS[J.type]||J.type),H=xH.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(!F8(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(!F8(Z,Q))return!1}return!0}Object.defineProperty(mH,"__esModule",{value:!0});mH.default=F8;var xH=X2()});var iH=q((lH)=>{function bs(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(lH,"__esModule",{value:!0});lH.default=bs});var pH=q((aH)=>{function gs(J,G){if(e2.isBlockStatement(J)&&(e2.isFunction(G)||e2.isCatchClause(G)))return!1;if(e2.isPattern(J)&&(e2.isFunction(G)||e2.isCatchClause(G)))return!0;return e2.isScopable(J)}Object.defineProperty(aH,"__esModule",{value:!0});aH.default=gs;var e2=N1()});var sH=q((dH)=>{function us(J){return rH.isImportDefaultSpecifier(J)||rH.isIdentifier(J.imported||J.exported,{name:"default"})}Object.defineProperty(dH,"__esModule",{value:!0});dH.default=us;var rH=N1()});var nH=q((tH)=>{function ms(J){return ys.default(J)&&!xs.has(J)}Object.defineProperty(tH,"__esModule",{value:!0});tH.default=ms;var ys=S0(),xs=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 eH=q((oH)=>{function as(J){return ls.isVariableDeclaration(J,{kind:"var"})&&!J[is.BLOCK_SCOPED_SYMBOL]}Object.defineProperty(oH,"__esModule",{value:!0});oH.default=as;var ls=N1(),is=_2()});var G3=q((J3)=>{function W9(J,G){const X=[];let H=!0;for(let V of J){if(!J0.isEmptyStatement(V))H=!1;if(J0.isExpression(V))X.push(V);else if(J0.isExpressionStatement(V))X.push(V.expression);else if(J0.isVariableDeclaration(V)){if(V.kind!=="var")return;for(let Z of V.declarations){const Q=rs.default(Z);for(let Y of Object.keys(Q))G.push({kind:V.kind,id:ds.default(Q[Y])});if(Z.init)X.push(R8.assignmentExpression("=",Z.id,Z.init))}H=!0}else if(J0.isIfStatement(V)){const Z=V.consequent?W9([V.consequent],G):B8.buildUndefinedNode(),Q=V.alternate?W9([V.alternate],G):B8.buildUndefinedNode();if(!Z||!Q)return;X.push(R8.conditionalExpression(V.test,Z,Q))}else if(J0.isBlockStatement(V)){const Z=W9(V.body,G);if(!Z)return;X.push(Z)}else if(J0.isEmptyStatement(V)){if(J.indexOf(V)===0)H=!0}else return}if(H)X.push(B8.buildUndefinedNode());if(X.length===1)return X[0];else return R8.sequenceExpression(X)}Object.defineProperty(J3,"__esModule",{value:!0});J3.default=W9;var rs=U5(),J0=N1(),R8=i1(),B8=d4(),ds=h2()});var H3=q((X3)=>{function ns(J,G){if(!(J!=null&&J.length))return;const X=[],H=ts.default(J,X);if(!H)return;for(let V of X)G.push(V);return H}Object.defineProperty(X3,"__esModule",{value:!0});X3.default=ns;var ts=G3()});var Y1=q((b)=>{Object.defineProperty(b,"__esModule",{value:!0});var w2={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(b,"__internal__deprecationWarning",{enumerable:!0,get:function(){return Xn.default}});Object.defineProperty(b,"addComment",{enumerable:!0,get:function(){return Kt.default}});Object.defineProperty(b,"addComments",{enumerable:!0,get:function(){return Ut.default}});Object.defineProperty(b,"appendToMemberExpression",{enumerable:!0,get:function(){return Lt.default}});Object.defineProperty(b,"assertNode",{enumerable:!0,get:function(){return Xt.default}});Object.defineProperty(b,"buildMatchMemberExpression",{enumerable:!0,get:function(){return Gn.default}});Object.defineProperty(b,"clone",{enumerable:!0,get:function(){return Qt.default}});Object.defineProperty(b,"cloneDeep",{enumerable:!0,get:function(){return Yt.default}});Object.defineProperty(b,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return Wt.default}});Object.defineProperty(b,"cloneNode",{enumerable:!0,get:function(){return Zt.default}});Object.defineProperty(b,"cloneWithoutLoc",{enumerable:!0,get:function(){return zt.default}});Object.defineProperty(b,"createFlowUnionType",{enumerable:!0,get:function(){return V3.default}});Object.defineProperty(b,"createTSUnionType",{enumerable:!0,get:function(){return Vt.default}});Object.defineProperty(b,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return Ht.default}});Object.defineProperty(b,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return V3.default}});Object.defineProperty(b,"ensureBlock",{enumerable:!0,get:function(){return Mt.default}});Object.defineProperty(b,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return kt.default}});Object.defineProperty(b,"getBindingIdentifiers",{enumerable:!0,get:function(){return bt.default}});Object.defineProperty(b,"getFunctionName",{enumerable:!0,get:function(){return gt.default}});Object.defineProperty(b,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return vt.default}});Object.defineProperty(b,"inheritInnerComments",{enumerable:!0,get:function(){return Ft.default}});Object.defineProperty(b,"inheritLeadingComments",{enumerable:!0,get:function(){return Rt.default}});Object.defineProperty(b,"inheritTrailingComments",{enumerable:!0,get:function(){return $t.default}});Object.defineProperty(b,"inherits",{enumerable:!0,get:function(){return Pt.default}});Object.defineProperty(b,"inheritsComments",{enumerable:!0,get:function(){return Bt.default}});Object.defineProperty(b,"is",{enumerable:!0,get:function(){return ht.default}});Object.defineProperty(b,"isBinding",{enumerable:!0,get:function(){return yt.default}});Object.defineProperty(b,"isBlockScoped",{enumerable:!0,get:function(){return xt.default}});Object.defineProperty(b,"isImmutable",{enumerable:!0,get:function(){return mt.default}});Object.defineProperty(b,"isLet",{enumerable:!0,get:function(){return ct.default}});Object.defineProperty(b,"isNode",{enumerable:!0,get:function(){return lt.default}});Object.defineProperty(b,"isNodesEquivalent",{enumerable:!0,get:function(){return it.default}});Object.defineProperty(b,"isPlaceholderType",{enumerable:!0,get:function(){return at.default}});Object.defineProperty(b,"isReferenced",{enumerable:!0,get:function(){return pt.default}});Object.defineProperty(b,"isScope",{enumerable:!0,get:function(){return rt.default}});Object.defineProperty(b,"isSpecifierDefault",{enumerable:!0,get:function(){return dt.default}});Object.defineProperty(b,"isType",{enumerable:!0,get:function(){return st.default}});Object.defineProperty(b,"isValidES3Identifier",{enumerable:!0,get:function(){return tt.default}});Object.defineProperty(b,"isValidIdentifier",{enumerable:!0,get:function(){return nt.default}});Object.defineProperty(b,"isVar",{enumerable:!0,get:function(){return ot.default}});Object.defineProperty(b,"matchesPattern",{enumerable:!0,get:function(){return et.default}});Object.defineProperty(b,"prependToMemberExpression",{enumerable:!0,get:function(){return Tt.default}});b.react=void 0;Object.defineProperty(b,"removeComments",{enumerable:!0,get:function(){return Dt.default}});Object.defineProperty(b,"removeProperties",{enumerable:!0,get:function(){return Nt.default}});Object.defineProperty(b,"removePropertiesDeep",{enumerable:!0,get:function(){return wt.default}});Object.defineProperty(b,"removeTypeDuplicates",{enumerable:!0,get:function(){return Et.default}});Object.defineProperty(b,"shallowEqual",{enumerable:!0,get:function(){return ut.default}});Object.defineProperty(b,"toBindingIdentifierName",{enumerable:!0,get:function(){return Ot.default}});Object.defineProperty(b,"toBlock",{enumerable:!0,get:function(){return ft.default}});Object.defineProperty(b,"toComputedKey",{enumerable:!0,get:function(){return qt.default}});Object.defineProperty(b,"toExpression",{enumerable:!0,get:function(){return jt.default}});Object.defineProperty(b,"toIdentifier",{enumerable:!0,get:function(){return St.default}});Object.defineProperty(b,"toKeyAlias",{enumerable:!0,get:function(){return It.default}});Object.defineProperty(b,"toStatement",{enumerable:!0,get:function(){return At.default}});Object.defineProperty(b,"traverse",{enumerable:!0,get:function(){return z9.default}});Object.defineProperty(b,"traverseFast",{enumerable:!0,get:function(){return _t.default}});Object.defineProperty(b,"validate",{enumerable:!0,get:function(){return Jn.default}});Object.defineProperty(b,"valueToNode",{enumerable:!0,get:function(){return Ct.default}});var es=wX(),Jt=kX(),Gt=s6(),Xt=o6(),$8=J7();Object.keys($8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w2,J))return;if(J in b&&b[J]===$8[J])return;Object.defineProperty(b,J,{enumerable:!0,get:function(){return $8[J]}})});var Ht=H7(),V3=W7(),Vt=B7(),D8=i1();Object.keys(D8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w2,J))return;if(J in b&&b[J]===D8[J])return;Object.defineProperty(b,J,{enumerable:!0,get:function(){return D8[J]}})});var M8=$7();Object.keys(M8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w2,J))return;if(J in b&&b[J]===M8[J])return;Object.defineProperty(b,J,{enumerable:!0,get:function(){return M8[J]}})});var O8=d4();Object.keys(O8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w2,J))return;if(J in b&&b[J]===O8[J])return;Object.defineProperty(b,J,{enumerable:!0,get:function(){return O8[J]}})});var Zt=h2(),Qt=A7(),Yt=L7(),Wt=T7(),zt=w7(),Kt=b7(),Ut=t4(),Ft=n4(),Rt=o4(),Bt=J8(),$t=e4(),Dt=x7(),f8=l7();Object.keys(f8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w2,J))return;if(J in b&&b[J]===f8[J])return;Object.defineProperty(b,J,{enumerable:!0,get:function(){return f8[J]}})});var q8=_2();Object.keys(q8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w2,J))return;if(J in b&&b[J]===q8[J])return;Object.defineProperty(b,J,{enumerable:!0,get:function(){return q8[J]}})});var Mt=p7(),Ot=s7(),ft=X8(),qt=n7(),jt=JH(),St=H8(),It=YH(),At=KH(),Ct=RH(),j8=X2();Object.keys(j8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w2,J))return;if(J in b&&b[J]===j8[J])return;Object.defineProperty(b,J,{enumerable:!0,get:function(){return j8[J]}})});var Lt=$H(),Pt=OH(),Tt=qH(),Nt=Q8(),wt=Y8(),Et=r4(),kt=SH(),bt=U5(),vt=LH(),gt=NH(),z9=EH();Object.keys(z9).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w2,J))return;if(J in b&&b[J]===z9[J])return;Object.defineProperty(b,J,{enumerable:!0,get:function(){return z9[J]}})});var _t=Z8(),ut=p5(),ht=j0(),yt=bH(),xt=uH(),mt=yH(),ct=U8(),lt=p4(),it=cH(),at=C4(),pt=iH(),rt=pH(),dt=sH(),st=r5(),tt=nH(),nt=S0(),ot=eH(),et=I4(),Jn=e5(),Gn=A4(),S8=N1();Object.keys(S8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(Object.prototype.hasOwnProperty.call(w2,J))return;if(J in b&&b[J]===S8[J])return;Object.defineProperty(b,J,{enumerable:!0,get:function(){return S8[J]}})});var Xn=e0(),sD1=b.react={isReactComponent:es.default,isCompatTag:Jt.default,buildChildren:Gt.default};b.toSequenceExpression=H3().default});var A8=q((W3)=>{function In(J){const{node:G,parent:X}=this;if(!Q3(G,J)&&!Bn(X,J))if(Rn(G,J)){if(Sn(G.name))return!1}else return!1;return I8(G,X,this.parentPath.parent)}function An(){const{node:J,parent:G}=this;return $n(J)&&I8(J,G)}function Cn(){const{node:J,parent:G}=this,X=this.parentPath.parent;return Q3(J)&&Vn(J,G,X)}function Ln(){const{node:J,parent:G}=this;if(Mn(J)){if(fn(J)){if(Kn(G,{left:J}))return!1;if(zn(G,{init:J}))return!1}return!0}else return!1}function Pn(){if(this.isIdentifier())return this.isReferencedIdentifier();else return Yn(this.node)}function Tn(){return Dn(this.node,this.parent)}function Nn(){return I8(this.node,this.parent)}function wn(){return Zn(this.node)}function En(){return On(this.node)}function kn(){return this.node&&!!this.node.loc}function bn(){return!this.isUser()}function vn(J){return this.scope.isPure(this.node,J)}function gn(){const{node:J}=this;if(Wn(J))return!0;else if(Un(J))return J.importKind==="type"||J.importKind==="typeof";else if(Qn(J))return J.exportKind==="type";else if(Fn(J))return J.importKind==="type"||J.importKind==="typeof";else return!1}function _n(){var J;return Y3(this.node)&&((J=this.parentPath)==null?void 0:J.isObjectPattern())}function un(){var J;return Y3(this.node)&&((J=this.parentPath)==null?void 0:J.isObjectExpression())}function hn(){return jn(this.node,{await:!0})}Object.defineProperty(W3,"__esModule",{value:!0});W3.isBindingIdentifier=Cn;W3.isBlockScoped=wn;W3.isExpression=Pn;W3.isFlow=gn;W3.isForAwaitStatement=hn;W3.isGenerated=bn;W3.isPure=vn;W3.isReferenced=Nn;W3.isReferencedIdentifier=In;W3.isReferencedMemberExpression=An;W3.isRestProperty=_n;W3.isScope=Tn;W3.isSpreadProperty=un;W3.isStatement=Ln;W3.isUser=kn;W3.isVar=En;var Hn=Y1(),{isBinding:Vn,isBlockScoped:Zn,isExportDeclaration:Qn,isExpression:Yn,isFlow:Wn,isForStatement:zn,isForXStatement:Kn,isIdentifier:Q3,isImportDeclaration:Un,isImportSpecifier:Fn,isJSXIdentifier:Rn,isJSXMemberExpression:Bn,isMemberExpression:$n,isRestElement:Y3,isReferenced:I8,isScope:Dn,isStatement:Mn,isVar:On,isVariableDeclaration:fn,react:qn,isForOfStatement:jn}=Hn,{isCompatTag:Sn}=qn;W3.isExistentialTypeParam=function J(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},W3.isNumericLiteralTypeAnnotation=function J(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var R5=q((S3)=>{function Zo(J){return J in M3}function O3(J){return J==null?void 0:J._exploded}function f3(J){if(O3(J))return J;J._exploded=!0;for(let G of Object.keys(J)){if(G0(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}q3(J),delete J.__esModule,Qo(J),D3(J);for(let G of Object.keys(J)){if(G0(G))continue;if(!Zo(G))continue;const X=J[G];for(let V of Object.keys(X))X[V]=Yo(G,X[V]);delete J[G];const H=M3[G];if(H!==null)for(let V of H)if(J[V])F5(J[V],X);else J[V]=X;else F5(J,X)}for(let G of Object.keys(J)){if(G0(G))continue;let X=F3[G];if(G in K3){const V=K3[G];R3(G,V,"Visitor "),X=[V]}else if(G in U3){const V=U3[G];R3(G,V,"Visitor "),X=F3[V]}if(!X)continue;const H=J[G];delete J[G];for(let V of X){const Z=J[V];if(Z)F5(Z,H);else J[V]=Object.assign({},H)}}for(let G of Object.keys(J)){if(G0(G))continue;D3(J[G])}return J}function q3(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")B3(G,J[G]);if(G0(G))continue;if(!Vo.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.3`);const X=J[G];if(typeof X==="object")for(let H of Object.keys(X))if(H==="enter"||H==="exit")B3(`${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 B3(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 j3(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=f3(J[V]),Q=G[V];let Y=Z;if(Q||X)Y=$3(Y,Q,X);F5(H,Y);for(let W of Object.keys(Z)){if(G0(W))continue;let z=Z[W];if(Q||X)z=$3(z,Q,X);const U=H[W]||(H[W]={});F5(U,z)}}return H}function $3(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 Qo(J){for(let G of Object.keys(J)){if(G0(G))continue;const X=J[G];if(typeof X==="function")J[G]={enter:X}}}function D3(J){if(J.enter&&!Array.isArray(J.enter))J.enter=[J.enter];if(J.exit&&!Array.isArray(J.exit))J.exit=[J.exit]}function Yo(J,G){const X=`is${J}`,H=Xo[X],V=function(Z){if(H.call(Z))return G.apply(this,arguments)};return V.toString=()=>G.toString(),V}function G0(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 F5(J,G){for(let X of["enter","exit"]){if(!G[X])continue;J[X]=[].concat(J[X]||[],G[X])}}function zo(J){return j3([Wo,J])}Object.defineProperty(S3,"__esModule",{value:!0});S3.environmentVisitor=zo;S3.explode=f3;S3.isExplodedVisitor=O3;S3.merge=j3;S3.verify=q3;var M3=O4(),Xo=A8(),Ho=Y1(),z3=C0(),{DEPRECATED_KEYS:K3,DEPRECATED_ALIASES:U3,FLIPPED_ALIAS_KEYS:F3,TYPES:Vo,__internal__deprecationWarning:R3}=Ho,Wo={FunctionParent(J){if(J.isArrowFunctionExpression())return;if(J.skip(),J.isMethod())if(!J.requeueComputedKeyAndDecorators)z3.requeueComputedKeyAndDecorators.call(J);else J.requeueComputedKeyAndDecorators()},Property(J){if(J.isObjectProperty())return;if(J.skip(),!J.requeueComputedKeyAndDecorators)z3.requeueComputedKeyAndDecorators.call(J);else J.requeueComputedKeyAndDecorators()}}});var L3=q((A3)=>{Object.defineProperty(A3,"__esModule",{value:!0});A3.default=void 0;var $o=Y1(),Do=K9(),Mo=R5(),Oo=C0(),fo={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)Oo.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()?J.getAssignmentIdentifiers():J.getOuterBindingIdentifiers();for(let H in X)if(H===G.oldName)X[H].name=G.newName}};class I3{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($o.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((Y)=>Y.isDeclaration()||Y.isFunctionExpression()||Y.isClassExpression());if(Z){if(Z.getOuterBindingIdentifiers()[G]===J.identifier)this.maybeConvertFromExportDeclaration(Z)}const Q=arguments[0]||H.block;if(Do.traverseNode(Q,Mo.explode(fo),H,this,H.path,{discriminant:!0}),!arguments[0])H.removeOwnBinding(G),H.bindings[X]=J,this.binding.identifier.name=X;if(Z)this.maybeConvertFromClassFunctionDeclaration(V),this.maybeConvertFromClassFunctionExpression(V)}}A3.default=I3});var w3=q((T3)=>{function qo(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(T3,"__esModule",{value:!0});T3.default=void 0;class P3{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")&&qo(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}}T3.default=P3});var E3=q((VM1,jo)=>{jo.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 X0=q((v3)=>{function Io(){k3(),b3()}function k3(){v3.path=U9=new WeakMap}function b3(){v3.scope=So=new WeakMap}function Ao(J,G){var X,H;return J=null,(X=U9.get((H=J)!=null?H:C8))==null?void 0:X.get(G)}function Co(J,G){var X,H;J=null;let V=U9.get((X=J)!=null?X:C8);if(!V)U9.set((H=J)!=null?H:C8,V=new WeakMap);let Z=V.get(G);if(!Z)V.set(G,Z=new Map);return Z}Object.defineProperty(v3,"__esModule",{value:!0});v3.clear=Io;v3.clearPath=k3;v3.clearScope=b3;v3.getCachedPaths=Ao;v3.getOrCreateCachedPaths=Co;v3.scope=v3.path=void 0;var U9=v3.path=new WeakMap,So=v3.scope=new WeakMap,C8=Object.freeze({})});var w8=q((s3)=>{function A1(J,G){switch(J==null?void 0:J.type){default:if(T8(J)||Be(J)){var X;if((r3(J)||P8(J)||T8(J))&&J.source)A1(J.source,G);else if((P8(J)||T8(J))&&(X=J.specifiers)!=null&&X.length)for(let H of J.specifiers)A1(H,G);else if((co(J)||P8(J))&&J.declaration)A1(J.declaration,G)}else if(ro(J))A1(J.local,G);else if(io(J)&&!so(J)&&!eo(J)&&!d3(J))G.push(J.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":A1(J.object,G),A1(J.property,G);break;case"Identifier":case"JSXIdentifier":G.push(J.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":A1(J.callee,G);break;case"ObjectExpression":case"ObjectPattern":for(let H of J.properties)A1(H,G);break;case"SpreadElement":case"RestElement":A1(J.argument,G);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":A1(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"),A1(J.argument,G);break;case"AwaitExpression":G.push("await"),A1(J.argument,G);break;case"AssignmentExpression":A1(J.left,G);break;case"VariableDeclarator":A1(J.id,G);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":A1(J.id,G);break;case"PrivateName":A1(J.id,G);break;case"ParenthesizedExpression":A1(J.expression,G);break;case"UnaryExpression":case"UpdateExpression":A1(J.argument,G);break;case"MetaProperty":A1(J.meta,G),A1(J.property,G);break;case"JSXElement":A1(J.openingElement,G);break;case"JSXOpeningElement":A1(J.name,G);break;case"JSXFragment":A1(J.openingFragment,G);break;case"JSXOpeningFragment":G.push("Fragment");break;case"JSXNamespacedName":A1(J.namespace,G),A1(J.name,G);break}}Object.defineProperty(s3,"__esModule",{value:!0});s3.default=void 0;var Eo=L3(),ko=B5(),bo=w3(),vo=E3(),a3=Y1(),go=a3,_3=X0(),_o=R5(),{NOT_LOCAL_BINDING:u3,assignmentExpression:uo,callExpression:h3,cloneNode:y3,getBindingIdentifiers:p3,identifier:H0,isArrayExpression:x3,isBinary:ho,isCallExpression:m3,isClass:yo,isClassBody:xo,isClassDeclaration:mo,isExportAllDeclaration:r3,isExportDefaultDeclaration:co,isExportNamedDeclaration:P8,isFunctionDeclaration:lo,isIdentifier:V0,isImportDeclaration:T8,isLiteral:io,isMemberExpression:ao,isMethod:po,isModuleSpecifier:ro,isNullLiteral:so,isObjectExpression:to,isProperty:no,isPureish:oo,isRegExpLiteral:eo,isSuper:Je,isTaggedTemplateExpression:Ge,isTemplateLiteral:d3,isThisExpression:c3,isUnaryExpression:Xe,isVariableDeclaration:He,expressionStatement:Ve,matchesPattern:l3,memberExpression:N8,numericLiteral:Ze,toIdentifier:Qe,variableDeclaration:Ye,variableDeclarator:We,isRecordExpression:ze,isTupleExpression:Ke,isObjectProperty:Ue,isTopicReference:i3,isMetaProperty:Fe,isPrivateName:Re,isExportDeclaration:Be,buildUndefinedNode:$e,sequenceExpression:De}=a3,F9={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(r3(G))return;const H=G.declaration;if(mo(H)||lo(H)){const V=H.id;if(!V)return;const Z=X.getBinding(V.name);Z==null||Z.reference(J)}else if(He(H))for(let V of H.declarations)for(let Z of Object.keys(p3(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.has("id")&&!J.get("id").node[u3])J.scope.registerBinding("local",J.get("id"),J)},ClassExpression(J){if(J.has("id")&&!J.get("id").node[u3])J.scope.registerBinding("local",J.get("id"),J)},TSTypeAnnotation(J){J.skip()}},Me=0;class L0{constructor(J){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=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=_3.scope.get(G);if((X==null?void 0:X.path)===J)return X;_3.scope.set(G,this),this.uid=Me++,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}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(J,G,X){ko.default(J,G,this,X,this.path)}generateDeclaredUidIdentifier(J){const G=this.generateUidIdentifier(J);return this.push({id:G}),y3(G)}generateUidIdentifier(J){return H0(this.generateUid(J))}generateUid(J="temp"){J=Qe(J).replace(/^_+/,"").replace(/\d+$/g,"");let G,X=1;do G=this._generateUid(J,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}_generateUid(J,G){let X=J;if(G>1)X+=G;return`_${X}`}generateUidBasedOnNode(J,G){const X=[];A1(J,X);let H=X.join("$");return H=H.replace(/^_/,"")||G||"ref",this.generateUid(H.slice(0,20))}generateUidIdentifierBasedOnNode(J,G){return H0(this.generateUidBasedOnNode(J,G))}isStatic(J){if(c3(J)||Je(J)||i3(J))return!0;if(V0(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}),y3(X);return X}}checkBlockScopedCollisions(J,G,X,H){if(G==="param")return;if(J.kind==="local")return;if(G==="let"||J.kind==="let"||J.kind==="const"||J.kind==="module"||J.kind==="param"&&G==="const")throw this.hub.buildError(H,`Duplicate declaration "${X}"`,TypeError)}rename(J,G){const X=this.getBinding(J);if(X)G||(G=this.generateUidIdentifier(J).name),new Eo.default(X,J,G).rename(arguments[2])}_renameFromMap(J,G,X,H){if(J[G])J[X]=H,J[G]=null}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)}toArray(J,G,X){if(V0(J)){const Z=this.getBinding(J.name);if(Z!=null&&Z.constant&&Z.path.isGenericType("Array"))return J}if(x3(J))return J;if(V0(J,{name:"arguments"}))return h3(N8(N8(N8(H0("Array"),H0("prototype")),H0("slice")),H0("call")),[J]);let H;const V=[J];if(G===!0)H="toConsumableArray";else if(typeof G==="number")V.push(Ze(G)),H="slicedToArray";else H="toArray";if(X)V.unshift(this.hub.addHelper(H)),H="maybeArrayLike";return h3(this.hub.addHelper(H),V)}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 $e()}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 bo.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(V0(J)){const Z=this.getBinding(J.name);if(!Z)return!1;if(G)return Z.constant;return!0}else if(c3(J)||Fe(J)||i3(J)||Re(J))return!0;else if(yo(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(xo(J)){for(let Z of J.body)if(!this.isPure(Z,G))return!1;return!0}else if(ho(J))return this.isPure(J.left,G)&&this.isPure(J.right,G);else if(x3(J)||Ke(J)){for(let Z of J.elements)if(Z!==null&&!this.isPure(Z,G))return!1;return!0}else if(to(J)||ze(J)){for(let Z of J.properties)if(!this.isPure(Z,G))return!1;return!0}else if(po(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(no(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(Ue(J)||J.static){if(J.value!==null&&!this.isPure(J.value,G))return!1}return!0}else if(Xe(J))return this.isPure(J.argument,G);else if(d3(J)){for(let Z of J.expressions)if(!this.isPure(Z,G))return!1;return!0}else if(Ge(J))return l3(J.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(J.quasi,G);else if(ao(J))return!J.computed&&V0(J.object)&&J.object.name==="Symbol"&&V0(J.property)&&J.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0});else if(m3(J))return l3(J.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&J.arguments.length===1&&go.isStringLiteral(J.arguments[0]);else return oo(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"&&_o.isExplodedVisitor(F9)){for(let V of F9.enter)V.call(X,J,X);const H=F9[J.type];if(H)for(let V of H.enter)V.call(X,J,X)}J.traverse(F9,X),this.crawling=!1;for(let H of X.assignments){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&&m3(G.parent,{callee:G.node})&&G.parent.arguments.length<=G.node.params.length&&V0(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 D=Ye(V,[]);if(D._blockHoist=Q,[W]=G.unshiftContainer("body",[D]),!H)G.setData(Y,W)}const z=We(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}getAllBindingsOfKind(...J){const G=Object.create(null);for(let X of J){let H=this;do{for(let V of Object.keys(H.bindings)){const Z=H.bindings[V];if(Z.kind===X)G[V]=Z}H=H.parent}while(H)}return G}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&&L0.globals.includes(J))return!0;if(!H&&L0.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(uo("=",U.id,U.init));const D=Object.keys(p3(U,!1,!0,!0));for(let f of D)J(H0(f),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]:De(z);if(Y.parentPath.isForStatement({init:Q}))Y.replaceWith(U);else Y.replaceWith(Ve(U))}}}}s3.default=L0;L0.globals=Object.keys(vo.builtin);L0.contextVariables=["arguments","undefined","Infinity","NaN"]});var o3=q((R9,n3)=>{(function(J,G){typeof R9==="object"&&typeof n3!=="undefined"?G(R9):typeof define==="function"&&define.amd?define(["exports"],G):(J=typeof globalThis!=="undefined"?globalThis:J||self,G(J.setArray={}))})(R9,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:D}=X(Y),f=U.push(W);return D[W]=f-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:D}=X(Y);for(let f=z+1;f<U.length;f++){const j=U[f];U[f-1]=j,D[j]--}D[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 E8=q((B9,e3)=>{(function(J,G){typeof B9==="object"&&typeof e3!=="undefined"?G(B9):typeof define==="function"&&define.amd?define(["exports"],G):(J=typeof globalThis!=="undefined"?globalThis:J||self,G(J.sourcemapCodec={}))})(B9,function(J){const G=",".charCodeAt(0),X=";".charCodeAt(0),V=new Uint8Array(64),Z=new Uint8Array(128);for(let u=0;u<"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".length;u++){const x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(u);V[u]=x,Z[x]=u}function Q(u,x){let P=0,m=0,Q1=0;do{const _=u.next();Q1=Z[_],P|=(Q1&31)<<m,m+=5}while(Q1&32);const W1=P&1;if(P>>>=1,W1)P=-2147483648|-P;return x+P}function Y(u,x,P){let m=x-P;m=m<0?-m<<1|1:m<<1;do{let Q1=m&31;if(m>>>=5,m>0)Q1|=32;u.write(V[Q1])}while(m>0);return x}function W(u,x){if(u.pos>=x)return!1;return u.peek()!==G}const z=16384,U=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(u){return Buffer.from(u.buffer,u.byteOffset,u.byteLength).toString()}}:{decode(u){let x="";for(let P=0;P<u.length;P++)x+=String.fromCharCode(u[P]);return x}};class D{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(z)}write(u){const{buffer:x}=this;if(x[this.pos++]=u,this.pos===z)this.out+=U.decode(x),this.pos=0}flush(){const{buffer:u,out:x,pos:P}=this;return P>0?x+U.decode(u.subarray(0,P)):x}}class f{constructor(u){this.pos=0,this.buffer=u}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(u){const{buffer:x,pos:P}=this,m=x.indexOf(u,P);return m===-1?x.length:m}}const j=[];function I(u){const{length:x}=u,P=new f(u),m=[],Q1=[];let W1=0;for(;P.pos<x;P.pos++){W1=Q(P,W1);const _=Q(P,0);if(!W(P,x)){const n=Q1.pop();n[2]=W1,n[3]=_;continue}const v=Q(P,0),o=Q(P,0)&1?[W1,_,0,0,v,Q(P,0)]:[W1,_,0,0,v];let G1=j;if(W(P,x)){G1=[];do{const n=Q(P,0);G1.push(n)}while(W(P,x))}o.vars=G1,m.push(o),Q1.push(o)}return m}function g(u){const x=new D;for(let P=0;P<u.length;)P=C(u,P,x,[0]);return x.flush()}function C(u,x,P,m){const Q1=u[x],{0:W1,1:_,2:v,3:c,4:l,vars:o}=Q1;if(x>0)P.write(G);m[0]=Y(P,W1,m[0]),Y(P,_,0),Y(P,l,0);const G1=Q1.length===6?1:0;if(Y(P,G1,0),Q1.length===6)Y(P,Q1[5],0);for(let n of o)Y(P,n,0);for(x++;x<u.length;){const n=u[x],{0:V1,1:U1}=n;if(V1>v||V1===v&&U1>=c)break;x=C(u,x,P,m)}return P.write(G),m[0]=Y(P,v,m[0]),Y(P,c,0),x}function T(u){const{length:x}=u,P=new f(u),m=[],Q1=[];let W1=0,_=0,v=0,c=0,l=0,o=0,G1=0,n=0;do{const V1=P.indexOf(";");let U1=0;for(;P.pos<V1;P.pos++){if(U1=Q(P,U1),!W(P,V1)){const g1=Q1.pop();g1[2]=W1,g1[3]=U1;continue}const _1=Q(P,0),Q2=_1&1,t1=_1&2,e1=_1&4;let F2=null,Y2=j,y1;if(Q2){const g1=Q(P,_);v=Q(P,_===g1?v:0),_=g1,y1=[W1,U1,0,0,g1,v]}else y1=[W1,U1,0,0];if(y1.isScope=!!e1,t1){const g1=c,q2=l;c=Q(P,c);const a2=g1===c;l=Q(P,a2?l:0),o=Q(P,a2&&q2===l?o:0),F2=[c,l,o]}if(y1.callsite=F2,W(P,V1)){Y2=[];do{G1=W1,n=U1;const g1=Q(P,0);let q2;if(g1<-1){q2=[[Q(P,0)]];for(let a2=-1;a2>g1;a2--){const i9=G1;G1=Q(P,G1),n=Q(P,G1===i9?n:0);const y0=Q(P,0);q2.push([y0,G1,n])}}else q2=[[g1]];Y2.push(q2)}while(W(P,V1))}y1.bindings=Y2,m.push(y1),Q1.push(y1)}W1++,P.pos=V1+1}while(P.pos<x);return m}function E(u){if(u.length===0)return"";const x=new D;for(let P=0;P<u.length;)P=H1(u,P,x,[0,0,0,0,0,0,0]);return x.flush()}function H1(u,x,P,m){const Q1=u[x],{0:W1,1:_,2:v,3:c,isScope:l,callsite:o,bindings:G1}=Q1;if(m[0]<W1)J1(P,m[0],W1),m[0]=W1,m[1]=0;else if(x>0)P.write(G);m[1]=Y(P,Q1[1],m[1]);const n=(Q1.length===6?1:0)|(o?2:0)|(l?4:0);if(Y(P,n,0),Q1.length===6){const{4:V1,5:U1}=Q1;if(V1!==m[2])m[3]=0;m[2]=Y(P,V1,m[2]),m[3]=Y(P,U1,m[3])}if(o){const{0:V1,1:U1,2:_1}=Q1.callsite;if(V1!==m[4])m[5]=0,m[6]=0;else if(U1!==m[5])m[6]=0;m[4]=Y(P,V1,m[4]),m[5]=Y(P,U1,m[5]),m[6]=Y(P,_1,m[6])}if(G1)for(let V1 of G1){if(V1.length>1)Y(P,-V1.length,0);const U1=V1[0][0];Y(P,U1,0);let _1=W1,Q2=_;for(let t1=1;t1<V1.length;t1++){const e1=V1[t1];_1=Y(P,e1[1],_1),Q2=Y(P,e1[2],Q2),Y(P,e1[0],0)}}for(x++;x<u.length;){const V1=u[x],{0:U1,1:_1}=V1;if(U1>v||U1===v&&_1>=c)break;x=H1(u,x,P,m)}if(m[0]<v)J1(P,m[0],v),m[0]=v,m[1]=0;else P.write(G);return m[1]=Y(P,c,m[1]),x}function J1(u,x,P){do u.write(X);while(++x<P)}function R1(u){const{length:x}=u,P=new f(u),m=[];let Q1=0,W1=0,_=0,v=0,c=0;do{const l=P.indexOf(";"),o=[];let G1=!0,n=0;Q1=0;while(P.pos<l){let V1;if(Q1=Q(P,Q1),Q1<n)G1=!1;if(n=Q1,W(P,l))if(W1=Q(P,W1),_=Q(P,_),v=Q(P,v),W(P,l))c=Q(P,c),V1=[Q1,W1,_,v,c];else V1=[Q1,W1,_,v];else V1=[Q1];o.push(V1),P.pos++}if(!G1)d(o);m.push(o),P.pos=l+1}while(P.pos<=x);return m}function d(u){u.sort(C1)}function C1(u,x){return u[0]-x[0]}function L1(u){const x=new D;let P=0,m=0,Q1=0,W1=0;for(let _=0;_<u.length;_++){const v=u[_];if(_>0)x.write(X);if(v.length===0)continue;let c=0;for(let l=0;l<v.length;l++){const o=v[l];if(l>0)x.write(G);if(c=Y(x,o[0],c),o.length===1)continue;if(P=Y(x,o[1],P),m=Y(x,o[2],m),Q1=Y(x,o[3],Q1),o.length===4)continue;W1=Y(x,o[4],W1)}}return x.flush()}J.decode=R1,J.decodeGeneratedRanges=T,J.decodeOriginalScopes=I,J.encode=L1,J.encodeGeneratedRanges=E,J.encodeOriginalScopes=g,Object.defineProperty(J,"__esModule",{value:!0})})});var JV=q((k8,b8)=>{(function(J,G){typeof k8==="object"&&typeof b8!=="undefined"?b8.exports=G():typeof define==="function"&&define.amd?define(G):(J=typeof globalThis!=="undefined"?globalThis:J||self,J.resolveURI=G())})(k8,function(){const J=/^[\w+.-]+:\/\//,G=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,X=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function H(C){return J.test(C)}function V(C){return C.startsWith("//")}function Z(C){return C.startsWith("/")}function Q(C){return C.startsWith("file:")}function Y(C){return/^[.?#]/.test(C)}function W(C){const T=G.exec(C);return U(T[1],T[2]||"",T[3],T[4]||"",T[5]||"/",T[6]||"",T[7]||"")}function z(C){const T=X.exec(C),E=T[2];return U("file:","",T[1]||"","",Z(E)?E:"/"+E,T[3]||"",T[4]||"")}function U(C,T,E,H1,J1,R1,d){return{scheme:C,user:T,host:E,port:H1,path:J1,query:R1,hash:d,type:7}}function D(C){if(V(C)){const E=W("http:"+C);return E.scheme="",E.type=6,E}if(Z(C)){const E=W("http://foo.com"+C);return E.scheme="",E.host="",E.type=5,E}if(Q(C))return z(C);if(H(C))return W(C);const T=W("http://foo.com/"+C);return T.scheme="",T.host="",T.type=C?C.startsWith("?")?3:C.startsWith("#")?2:4:1,T}function f(C){if(C.endsWith("/.."))return C;const T=C.lastIndexOf("/");return C.slice(0,T+1)}function j(C,T){if(I(T,T.type),C.path==="/")C.path=T.path;else C.path=f(T.path)+C.path}function I(C,T){const E=T<=4,H1=C.path.split("/");let J1=1,R1=0,d=!1;for(let L1=1;L1<H1.length;L1++){const u=H1[L1];if(!u){d=!0;continue}if(d=!1,u===".")continue;if(u===".."){if(R1)d=!0,R1--,J1--;else if(E)H1[J1++]=u;continue}H1[J1++]=u,R1++}let C1="";for(let L1=1;L1<J1;L1++)C1+="/"+H1[L1];if(!C1||d&&!C1.endsWith("/.."))C1+="/";C.path=C1}function g(C,T){if(!C&&!T)return"";const E=D(C);let H1=E.type;if(T&&H1!==7){const R1=D(T),d=R1.type;switch(H1){case 1:E.hash=R1.hash;case 2:E.query=R1.query;case 3:case 4:j(E,R1);case 5:E.user=R1.user,E.host=R1.host,E.port=R1.port;case 6:E.scheme=R1.scheme}if(d>H1)H1=d}I(E,H1);const J1=E.query+E.hash;switch(H1){case 2:case 3:return J1;case 4:{const R1=E.path.slice(1);if(!R1)return J1||".";if(Y(T||C)&&!Y(R1))return"./"+R1+J1;return R1+J1}case 5:return E.path+J1;default:return E.scheme+"//"+E.user+E.host+E.port+E.path+J1}}return g})});var v8=q(($9,GV)=>{(function(J,G){typeof $9==="object"&&typeof GV!=="undefined"?G($9,E8(),JV()):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))})($9,function(J,G,X){function H(A,N){if(N&&!N.endsWith("/"))N+="/";return X(A,N)}function V(A){if(!A)return"";const N=A.lastIndexOf("/");return A.slice(0,N+1)}const Z=0,Q=1,Y=2,W=3,z=4,U=1,D=2;function f(A,N){const w=j(A,0);if(w===A.length)return A;if(!N)A=A.slice();for(let y=w;y<A.length;y=j(A,y+1))A[y]=g(A[y],N);return A}function j(A,N){for(let w=N;w<A.length;w++)if(!I(A[w]))return w;return A.length}function I(A){for(let N=1;N<A.length;N++)if(A[N][Z]<A[N-1][Z])return!1;return!0}function g(A,N){if(!N)A=A.slice();return A.sort(C)}function C(A,N){return A[Z]-N[Z]}let T=!1;function E(A,N,w,y){while(w<=y){const Z1=w+(y-w>>1),s=A[Z1][Z]-N;if(s===0)return T=!0,Z1;if(s<0)w=Z1+1;else y=Z1-1}return T=!1,w-1}function H1(A,N,w){for(let y=w+1;y<A.length;w=y++)if(A[y][Z]!==N)break;return w}function J1(A,N,w){for(let y=w-1;y>=0;w=y--)if(A[y][Z]!==N)break;return w}function R1(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function d(A,N,w,y){const{lastKey:Z1,lastNeedle:s,lastIndex:M1}=w;let S1=0,F1=A.length-1;if(y===Z1){if(N===s)return T=M1!==-1&&A[M1][Z]===N,M1;if(N>=s)S1=M1===-1?0:M1;else F1=M1}return w.lastKey=y,w.lastNeedle=N,w.lastIndex=E(A,N,S1,F1)}function C1(A,N){const w=N.map(u);for(let y=0;y<A.length;y++){const Z1=A[y];for(let s=0;s<Z1.length;s++){const M1=Z1[s];if(M1.length===1)continue;const S1=M1[Q],F1=M1[Y],I1=M1[W],d1=w[S1],P1=d1[F1]||(d1[F1]=[]),k1=N[S1];let n1=H1(P1,I1,d(P1,I1,k1,F1));k1.lastIndex=++n1,L1(P1,n1,[I1,y,M1[Z]])}}return w}function L1(A,N,w){for(let y=A.length;y>N;y--)A[y]=A[y-1];A[N]=w}function u(){return{__proto__:null}}const x=function(A,N){const w=P(A);if(!("sections"in w))return new G1(w,N);const y=[],Z1=[],s=[],M1=[],S1=[];m(w,N,y,Z1,s,M1,S1,0,0,1/0,1/0);const F1={version:3,file:w.file,names:M1,sources:Z1,sourcesContent:s,mappings:y,ignoreList:S1};return q2(F1)};function P(A){return typeof A==="string"?JSON.parse(A):A}function m(A,N,w,y,Z1,s,M1,S1,F1,I1,d1){const{sections:P1}=A;for(let k1=0;k1<P1.length;k1++){const{map:n1,offset:R2}=P1[k1];let p2=I1,F0=d1;if(k1+1<P1.length){const R0=P1[k1+1].offset;if(p2=Math.min(I1,S1+R0.line),p2===I1)F0=Math.min(d1,F1+R0.column);else if(p2<I1)F0=F1+R0.column}Q1(n1,N,w,y,Z1,s,M1,S1+R2.line,F1+R2.column,p2,F0)}}function Q1(A,N,w,y,Z1,s,M1,S1,F1,I1,d1){const P1=P(A);if("sections"in P1)return m(...arguments);const k1=new G1(P1,N),n1=y.length,R2=s.length,p2=U1(k1),{resolvedSources:F0,sourcesContent:R0,ignoreList:a9}=k1;if(W1(y,F0),W1(s,k1.names),R0)W1(Z1,R0);else for(let J2=0;J2<F0.length;J2++)Z1.push(null);if(a9)for(let J2=0;J2<a9.length;J2++)M1.push(a9[J2]+n1);for(let J2=0;J2<p2.length;J2++){const p9=S1+J2;if(p9>I1)return;const ZG=_(w,p9),Vz=J2===0?F1:0,QG=p2[J2];for(let r9=0;r9<QG.length;r9++){const r2=QG[r9],w5=Vz+r2[Z];if(p9===I1&&w5>=d1)return;if(r2.length===1){ZG.push([w5]);continue}const YG=n1+r2[Q],WG=r2[Y],zG=r2[W];ZG.push(r2.length===4?[w5,YG,WG,zG]:[w5,YG,WG,zG,R2+r2[z]])}}}function W1(A,N){for(let w=0;w<N.length;w++)A.push(N[w])}function _(A,N){for(let w=A.length;w<=N;w++)A[w]=[];return A[N]}const v="`line` must be greater than 0 (lines start at line 1)",c="`column` must be greater than or equal to 0 (columns start at column 0)",l=-1,o=1;class G1{constructor(A,N){const w=typeof A==="string";if(!w&&A._decodedMemo)return A;const y=w?JSON.parse(A):A,{version:Z1,file:s,names:M1,sourceRoot:S1,sources:F1,sourcesContent:I1}=y;this.version=Z1,this.file=s,this.names=M1||[],this.sourceRoot=S1,this.sources=F1,this.sourcesContent=I1,this.ignoreList=y.ignoreList||y.x_google_ignoreList||void 0;const d1=H(S1||"",V(N));this.resolvedSources=F1.map((k1)=>H(k1||"",d1));const{mappings:P1}=y;if(typeof P1==="string")this._encoded=P1,this._decoded=void 0;else this._encoded=void 0,this._decoded=f(P1,w);this._decodedMemo=R1(),this._bySources=void 0,this._bySourceMemos=void 0}}function n(A){return A}function V1(A){var N,w;return(N=(w=n(A))._encoded)!==null&&N!==void 0?N:w._encoded=G.encode(n(A)._decoded)}function U1(A){var N;return(N=n(A))._decoded||(N._decoded=G.decode(n(A)._encoded))}function _1(A,N,w){const y=U1(A);if(N>=y.length)return null;const Z1=y[N],s=N5(Z1,n(A)._decodedMemo,N,w,o);return s===-1?null:Z1[s]}function Q2(A,N){let{line:w,column:y,bias:Z1}=N;if(w--,w<0)throw new Error(v);if(y<0)throw new Error(c);const s=U1(A);if(w>=s.length)return T5(null,null,null,null);const M1=s[w],S1=N5(M1,n(A)._decodedMemo,w,y,Z1||o);if(S1===-1)return T5(null,null,null,null);const F1=M1[S1];if(F1.length===1)return T5(null,null,null,null);const{names:I1,resolvedSources:d1}=A;return T5(d1[F1[Q]],F1[Y]+1,F1[W],F1.length===5?I1[F1[z]]:null)}function t1(A,N){const{source:w,line:y,column:Z1,bias:s}=N;return VG(A,w,y,Z1,s||o,!1)}function e1(A,N){const{source:w,line:y,column:Z1,bias:s}=N;return VG(A,w,y,Z1,s||l,!0)}function F2(A,N){const w=U1(A),{names:y,resolvedSources:Z1}=A;for(let s=0;s<w.length;s++){const M1=w[s];for(let S1=0;S1<M1.length;S1++){const F1=M1[S1],I1=s+1,d1=F1[0];let P1=null,k1=null,n1=null,R2=null;if(F1.length!==1)P1=Z1[F1[1]],k1=F1[2]+1,n1=F1[3];if(F1.length===5)R2=y[F1[4]];N({generatedLine:I1,generatedColumn:d1,source:P1,originalLine:k1,originalColumn:n1,name:R2})}}}function Y2(A,N){const{sources:w,resolvedSources:y}=A;let Z1=w.indexOf(N);if(Z1===-1)Z1=y.indexOf(N);return Z1}function y1(A,N){const{sourcesContent:w}=A;if(w==null)return null;const y=Y2(A,N);return y===-1?null:w[y]}function g1(A,N){const{ignoreList:w}=A;if(w==null)return!1;const y=Y2(A,N);return y===-1?!1:w.includes(y)}function q2(A,N){const w=new G1(y0(A,[]),N);return n(w)._decoded=A.mappings,w}function a2(A){return y0(A,U1(A))}function i9(A){return y0(A,V1(A))}function y0(A,N){return{version:A.version,file:A.file,names:A.names,sourceRoot:A.sourceRoot,sources:A.sources,sourcesContent:A.sourcesContent,mappings:N,ignoreList:A.ignoreList||A.x_google_ignoreList}}function T5(A,N,w,y){return{source:A,line:N,column:w,name:y}}function x0(A,N){return{line:A,column:N}}function N5(A,N,w,y,Z1){let s=d(A,y,N,w);if(T)s=(Z1===l?H1:J1)(A,y,s);else if(Z1===l)s++;if(s===-1||s===A.length)return-1;return s}function Hz(A,N,w,y,Z1){let s=N5(A,N,w,y,o);if(!T&&Z1===l)s++;if(s===-1||s===A.length)return[];const M1=T?y:A[s][Z];if(!T)s=J1(A,M1,s);const S1=H1(A,M1,s),F1=[];for(;s<=S1;s++){const I1=A[s];F1.push(x0(I1[U]+1,I1[D]))}return F1}function VG(A,N,w,y,Z1,s){var M1;if(w--,w<0)throw new Error(v);if(y<0)throw new Error(c);const{sources:S1,resolvedSources:F1}=A;let I1=S1.indexOf(N);if(I1===-1)I1=F1.indexOf(N);if(I1===-1)return s?[]:x0(null,null);const P1=((M1=n(A))._bySources||(M1._bySources=C1(U1(A),n(A)._bySourceMemos=S1.map(R1))))[I1][w];if(P1==null)return s?[]:x0(null,null);const k1=n(A)._bySourceMemos[I1];if(s)return Hz(P1,k1,w,y,Z1);const n1=N5(P1,k1,w,y,Z1);if(n1===-1)return x0(null,null);const R2=P1[n1];return x0(R2[U]+1,R2[D])}J.AnyMap=x,J.GREATEST_LOWER_BOUND=o,J.LEAST_UPPER_BOUND=l,J.TraceMap=G1,J.allGeneratedPositionsFor=e1,J.decodedMap=a2,J.decodedMappings=U1,J.eachMapping=F2,J.encodedMap=i9,J.encodedMappings=V1,J.generatedPositionFor=t1,J.isIgnored=g1,J.originalPositionFor=Q2,J.presortedDecodedMap=q2,J.sourceContentFor=y1,J.traceSegment=_1})});var HV=q((D9,XV)=>{(function(J,G){typeof D9==="object"&&typeof XV!=="undefined"?G(D9,o3(),E8(),v8()):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))})(D9,function(J,G,X,H){class U{constructor({file:_,sourceRoot:v}={}){this._names=new G.SetArray,this._sources=new G.SetArray,this._sourcesContent=[],this._mappings=[],this.file=_,this.sourceRoot=v,this._ignoreList=new G.SetArray}}function D(_){return _}function f(_,v,c,l,o,G1,n,V1){return d(!1,_,v,c,l,o,G1,n,V1)}function j(_,v){return W1(!1,_,v)}const I=(_,v,c,l,o,G1,n,V1)=>{return d(!0,_,v,c,l,o,G1,n,V1)},g=(_,v)=>{return W1(!0,_,v)};function C(_,v,c){const{_sources:l,_sourcesContent:o}=D(_),G1=G.put(l,v);o[G1]=c}function T(_,v,c=!0){const{_sources:l,_sourcesContent:o,_ignoreList:G1}=D(_),n=G.put(l,v);if(n===o.length)o[n]=null;if(c)G.put(G1,n);else G.remove(G1,n)}function E(_){const{_mappings:v,_sources:c,_sourcesContent:l,_names:o,_ignoreList:G1}=D(_);return x(v),{version:3,file:_.file||void 0,names:o.array,sourceRoot:_.sourceRoot||void 0,sources:c.array,sourcesContent:l,mappings:v,ignoreList:G1.array}}function H1(_){const v=E(_);return Object.assign(Object.assign({},v),{mappings:X.encode(v.mappings)})}function J1(_){const v=new H.TraceMap(_),c=new U({file:v.file,sourceRoot:v.sourceRoot});if(P(D(c)._names,v.names),P(D(c)._sources,v.sources),D(c)._sourcesContent=v.sourcesContent||v.sources.map(()=>null),D(c)._mappings=H.decodedMappings(v),v.ignoreList)P(D(c)._ignoreList,v.ignoreList);return c}function R1(_){const v=[],{_mappings:c,_sources:l,_names:o}=D(_);for(let G1=0;G1<c.length;G1++){const n=c[G1];for(let V1=0;V1<n.length;V1++){const U1=n[V1],_1={line:G1+1,column:U1[0]};let Q2=void 0,t1=void 0,e1=void 0;if(U1.length!==1){if(Q2=l.array[U1[1]],t1={line:U1[2]+1,column:U1[3]},U1.length===5)e1=o.array[U1[4]]}v.push({generated:_1,source:Q2,original:t1,name:e1})}}return v}function d(_,v,c,l,o,G1,n,V1,U1){const{_mappings:_1,_sources:Q2,_sourcesContent:t1,_names:e1}=D(v),F2=C1(_1,c),Y2=L1(F2,l);if(!o){if(_&&m(F2,Y2))return;return u(F2,Y2,[l])}const y1=G.put(Q2,o),g1=V1?G.put(e1,V1):-1;if(y1===t1.length)t1[y1]=U1!==null&&U1!==void 0?U1:null;if(_&&Q1(F2,Y2,y1,G1,n,g1))return;return u(F2,Y2,V1?[l,y1,G1,n,g1]:[l,y1,G1,n])}function C1(_,v){for(let c=_.length;c<=v;c++)_[c]=[];return _[v]}function L1(_,v){let c=_.length;for(let l=c-1;l>=0;c=l--){const o=_[l];if(v>=o[0])break}return c}function u(_,v,c){for(let l=_.length;l>v;l--)_[l]=_[l-1];_[v]=c}function x(_){const{length:v}=_;let c=v;for(let l=c-1;l>=0;c=l,l--)if(_[l].length>0)break;if(c<v)_.length=c}function P(_,v){for(let c=0;c<v.length;c++)G.put(_,v[c])}function m(_,v){if(v===0)return!0;return _[v-1].length===1}function Q1(_,v,c,l,o,G1){if(v===0)return!1;const n=_[v-1];if(n.length===1)return!1;return c===n[1]&&l===n[2]&&o===n[3]&&G1===(n.length===5?n[4]:-1)}function W1(_,v,c){const{generated:l,source:o,original:G1,name:n,content:V1}=c;if(!o)return d(_,v,l.line-1,l.column,null,null,null,null,null);return d(_,v,l.line-1,l.column,o,G1.line-1,G1.column,n,V1)}J.GenMapping=U,J.addMapping=j,J.addSegment=f,J.allMappings=R1,J.fromMap=J1,J.maybeAddMapping=g,J.maybeAddSegment=I,J.setIgnore=T,J.setSourceContent=C,J.toDecodedMap=E,J.toEncodedMap=H1,Object.defineProperty(J,"__esModule",{value:!0})})});var YV=q((ZV)=>{Object.defineProperty(ZV,"__esModule",{value:!0});ZV.default=void 0;var y2=HV(),g8=v8();class VV{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 y2.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 g8.TraceMap(J.inputSourceMap);const Z=this._inputMap.resolvedSources;if(Z.length)for(let Q=0;Q<Z.length;Q++){var V;y2.setSourceContent(H,Z[Q],(V=this._inputMap.sourcesContent)==null?void 0:V[Q])}}if(typeof G==="string"&&!J.inputSourceMap)y2.setSourceContent(H,this._sourceFileName,G);else if(typeof G==="object")for(let Z of Object.keys(G))y2.setSourceContent(H,Z.replace(/\\/g,"/"),G[Z])}get(){return y2.toEncodedMap(this._map)}getDecoded(){return y2.toDecodedMap(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=y2.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=g8.originalPositionFor(this._inputMap,{line:G,column:X}),!Y.name&&V){const W=g8.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};y2.maybeAddMapping(this._map,{name:H,generated:J,source:(Q=Y)==null?void 0:Q.source,original:Y})}}ZV.default=VV});var UV=q((zV)=>{Object.defineProperty(zV,"__esModule",{value:!0});zV.default=void 0;class WV{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"),D=0;if(U!==0)this._mark(z,Z,Q,Y,W);while(U!==-1){if(V.line++,V.column=0,D=U+1,D<H&&z!==void 0)this._mark(++z,0,null,null,W);U=J.indexOf("\n",D)}V.column+=H-D}_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}}zV.default=WV});var OV=q((DV)=>{function P0(J,G){if(!J)return G;if(_8(J)||Ce(J)){if(P0(J.object,G),J.computed)P0(J.property,G)}else if(BV(J)||RV(J))P0(J.left,G),P0(J.right,G);else if($V(J)||Ae(J))G.hasCall=!0,P0(J.callee,G);else if($5(J))G.hasFunction=!0;else if(M9(J))G.hasHelper=G.hasHelper||J.callee&&E2(J.callee);return G}function FV(J){return P0(J,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function E2(J){if(!J)return!1;if(_8(J))return E2(J.object)||E2(J.property);else if(M9(J))return J.name==="require"||J.name.charCodeAt(0)===95;else if($V(J))return E2(J.callee);else if(BV(J)||RV(J))return M9(J.left)&&E2(J.left)||E2(J.right);else return!1}function Pe(J){return Se(J)||Ie(J)||qe(J)||M9(J)||_8(J)}Object.defineProperty(DV,"__esModule",{value:!0});DV.nodes=void 0;var Oe=Y1(),{FLIPPED_ALIAS_KEYS:fe,isArrayExpression:qe,isAssignmentExpression:RV,isBinary:BV,isBlockStatement:je,isCallExpression:$V,isFunction:$5,isIdentifier:M9,isLiteral:Se,isMemberExpression:_8,isObjectExpression:Ie,isOptionalCallExpression:Ae,isOptionalMemberExpression:Ce,isStringLiteral:Le}=Oe,Z0=DV.nodes={AssignmentExpression(J){const G=FV(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($5(J.left)||$5(J.right))return 2},Literal(J){if(Le(J)&&J.value==="use strict")return 2},CallExpression(J){if($5(J.callee)||E2(J))return 3},OptionalCallExpression(J){if($5(J.callee))return 3},VariableDeclaration(J){for(let G=0;G<J.declarations.length;G++){const X=J.declarations[G];let H=E2(X.id)&&!Pe(X.init);if(!H&&X.init){const V=FV(X.init);H=E2(X.init)&&V.hasCall||V.hasFunction}if(H)return 3}},IfStatement(J){if(je(J.consequent))return 3}};Z0.ObjectProperty=Z0.ObjectTypeProperty=Z0.ObjectMethod=function(J,G){if(G.properties[0]===J)return 1};Z0.ObjectTypeCallProperty=function(J,G){var X;if(G.callProperties[0]===J&&!((X=G.properties)!=null&&X.length))return 1};Z0.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};Z0.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(fe[J]||[]).forEach(function(X){const H=G?3:0;Z0[X]=()=>H})})});var CV=q((AV)=>{function qV(J,G){if(G==="BinaryExpression"||G==="LogicalExpression")return fV.get(J.operator);if(G==="TSAsExpression"||G==="TSSatisfiesExpression")return fV.get("in")}function u8(J){return J==="TSAsExpression"||J==="TSSatisfiesExpression"||J==="TSTypeAssertion"}function he(J,G){return Ne(G)}function ye(J,G,X){const H=G.type;return H==="UnionTypeAnnotation"||H==="IntersectionTypeAnnotation"||H==="ArrayTypeAnnotation"||Boolean(X&V2.TokenContext.arrowFlowReturnType)}function xe(J,G){return f9(J,G)||O9(J,G)}function me(J,G,X){return Boolean(X&(V2.TokenContext.expressionStatement|V2.TokenContext.arrowBody))}function ce(J,G,X){return!J.async&&Boolean(X&V2.TokenContext.expressionStatement)}function SV(J,G){const X=G.type;if(J.type==="BinaryExpression"&&J.operator==="**"&&X==="BinaryExpression"&&G.operator==="**")return G.left===J;if(O9(J,G))return!0;if(f9(J,G)||X==="UnaryExpression"||X==="SpreadElement"||X==="AwaitExpression")return!0;const H=qV(G,X);if(H!=null){const V=qV(J,J.type);if(H===V&&X==="BinaryExpression"&&G.right===J||H>V)return!0}return}function le(J,G){const X=G.type;return X==="ArrayTypeAnnotation"||X==="NullableTypeAnnotation"||X==="IntersectionTypeAnnotation"||X==="UnionTypeAnnotation"}function ie(J,G){return ve(G)&&G.objectType===J}function ae(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 SV(J,G)}function pe(J,G){const X=G.type;return X==="TSArrayType"||X==="TSOptionalType"||X==="TSIntersectionType"||X==="TSUnionType"||X==="TSRestType"}function re(J,G){const X=G.type;return X==="TSArrayType"||X==="TSOptionalType"}function de(J,G){const X=G.type;return(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression"||X==="TSInstantiationExpression")&&!!G.typeParameters}function se(J,G,X,H){return J.operator==="in"&&H}function te(J,G){const X=G.type;if(X==="ForStatement"||X==="ThrowStatement"||X==="ReturnStatement"||X==="IfStatement"&&G.test===J||X==="WhileStatement"&&G.test===J||X==="ForInStatement"&&G.right===J||X==="SwitchStatement"&&G.discriminant===J||X==="ExpressionStatement"&&G.expression===J)return!1;return!0}function ne(J,G){const X=G.type;return X==="BinaryExpression"||X==="LogicalExpression"||X==="UnaryExpression"||X==="SpreadElement"||f9(J,G)||X==="AwaitExpression"&&ue(J)||X==="ConditionalExpression"&&J===G.test||O9(J,G)||u8(X)}function oe(J,G,X){return Boolean(X&(V2.TokenContext.expressionStatement|V2.TokenContext.exportDefault))}function IV(J,G){return f9(J,G)||we(G)&&G.operator==="**"&&G.left===J||O9(J,G)}function ee(J,G,X){return Boolean(X&(V2.TokenContext.expressionStatement|V2.TokenContext.exportDefault))}function J11(J,G){return ke(G)||h8(J,G)}function h8(J,G){const X=G.type;if(X==="UnaryExpression"||X==="SpreadElement"||X==="BinaryExpression"||X==="LogicalExpression"||X==="ConditionalExpression"&&G.test===J||X==="AwaitExpression"||u8(X))return!0;return IV(J,G)}function G11(J,G){return Ee(G)&&G.callee===J||jV(G)&&G.object===J}function X11(J,G){if(ge(J.left))return!0;else return h8(J,G)}function H11(J,G){const X=G.type;if(u8(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 V11(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((jV(G,{object:J,computed:!0})||_e(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"&&be(G,{left:J,await:!1})}Object.defineProperty(AV,"__esModule",{value:!0});AV.ArrowFunctionExpression=J11;AV.AssignmentExpression=X11;AV.Binary=SV;AV.BinaryExpression=se;AV.ClassExpression=oe;AV.ConditionalExpression=h8;AV.DoExpression=ce;AV.FunctionExpression=ee;AV.FunctionTypeAnnotation=ye;AV.Identifier=V11;AV.LogicalExpression=H11;AV.NullableTypeAnnotation=he;AV.ObjectExpression=me;AV.OptionalIndexedAccessType=ie;AV.OptionalCallExpression=AV.OptionalMemberExpression=G11;AV.SequenceExpression=te;AV.TSSatisfiesExpression=AV.TSAsExpression=ae;AV.TSInferType=re;AV.TSInstantiationExpression=de;AV.UnaryLike=AV.TSTypeAssertion=IV;AV.TSIntersectionType=AV.TSUnionType=pe;AV.IntersectionTypeAnnotation=AV.UnionTypeAnnotation=le;AV.UpdateExpression=xe;AV.AwaitExpression=AV.YieldExpression=ne;var Te=Y1(),V2=x2(),{isArrayTypeAnnotation:Ne,isBinaryExpression:we,isCallExpression:Ee,isExportDeclaration:ke,isForOfStatement:be,isIndexedAccessType:ve,isMemberExpression:jV,isObjectPattern:ge,isOptionalMemberExpression:_e,isYieldExpression:ue}=Te,fV=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]]),O9=(J,G)=>{const X=G.type;return(X==="ClassDeclaration"||X==="ClassExpression")&&G.superClass===J},f9=(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=q((NV)=>{function PV(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=k11[H];if(V)for(let Z of V)X(Z,J[H]);else X(H,J[H])}return G}function TV(J){if(LV(J))return!0;return g11(J)&&TV(J.object)}function x8(J,G,X){var H;if(!J)return!1;if(v11(J))J=J.expression;const V=(H=y11.get(J.type))==null?void 0:H(J,G);if(typeof V==="number")return(V&X)!==0;return!1}function x11(J,G){return x8(J,G,1)}function m11(J,G){return x8(J,G,2)}function c11(J,G,X,H){var V;if(!G)return!1;if(_11(G)&&G.callee===J){if(TV(J))return!0}if(b11(G))return!y8(J)&&!(LV(J)&&y8(J.callee))&&!u11(J);return(V=h11.get(J.type))==null?void 0:V(J,G,X,H)}function y8(J){switch(J.type){case"Identifier":return!0;case"MemberExpression":return!J.computed&&J.property.type==="Identifier"&&y8(J.object);default:return!1}}Object.defineProperty(NV,"__esModule",{value:!0});NV.TokenContext=void 0;NV.needsParens=c11;NV.needsWhitespace=x8;NV.needsWhitespaceAfter=m11;NV.needsWhitespaceBefore=x11;var N11=OV(),w11=CV(),E11=Y1(),{FLIPPED_ALIAS_KEYS:k11,isCallExpression:LV,isDecorator:b11,isExpressionStatement:v11,isMemberExpression:g11,isNewExpression:_11,isParenthesizedExpression:u11}=E11,MM1=NV.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64},h11=PV(w11),y11=PV(N11.nodes)});var kV=q((EV)=>{function r11(J){this.print(J.tag,J),this.print(J.typeParameters,J),this.print(J.quasi,J)}function d11(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function s11(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],J),X="}";this.token(X+"`",!0)}Object.defineProperty(EV,"__esModule",{value:!0});EV.TaggedTemplateExpression=r11;EV.TemplateElement=d11;EV.TemplateLiteral=s11});var gV=q((vV)=>{function H21(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,J)}function V21(J){if(J.async)this.word("async",!0),this.space();this.word("do"),this.space(),this.print(J.body,J)}function Z21(J){this.tokenChar(40),this.print(J.expression,J),this.rightParens(J)}function Q21(J){if(J.prefix)this.token(J.operator),this.print(J.argument,J);else this.printTerminatorless(J.argument,J,!0),this.token(J.operator)}function Y21(J){this.print(J.test,J),this.space(),this.tokenChar(63),this.space(),this.print(J.consequent,J),this.space(),this.tokenChar(58),this.space(),this.print(J.alternate,J)}function W21(J,G){if(this.word("new"),this.space(),this.print(J.callee,J),this.format.minified&&J.arguments.length===0&&!J.optional&&!G21(G,{callee:J})&&!m8(G)&&!X21(G))return;if(this.print(J.typeArguments,J),this.print(J.typeParameters,J),J.optional)this.token("?.");this.tokenChar(40);const X=this.enterForStatementInit(!1);this.printList(J.arguments,J),X(),this.rightParens(J)}function z21(J){this.printList(J.expressions,J)}function K21(){this.word("this")}function U21(){this.word("super")}function F21(J){if(typeof this.format.decoratorsBeforeExport==="boolean")return this.format.decoratorsBeforeExport;return typeof J.start==="number"&&J.start===J.declaration.start}function R21(J){this.tokenChar(64),this.print(J.expression,J),this.newline()}function B21(J){let{computed:G}=J;const{optional:X,property:H}=J;if(this.print(J.object,J),!G&&m8(H))throw new TypeError("Got a MemberExpression for MemberExpression property");if(bV(H)&&typeof H.value==="number")G=!0;if(X)this.token("?.");if(G)this.tokenChar(91),this.print(H,J),this.tokenChar(93);else{if(!X)this.tokenChar(46);this.print(H,J)}}function $21(J){if(this.print(J.callee,J),this.print(J.typeParameters,J),J.optional)this.token("?.");this.print(J.typeArguments,J),this.tokenChar(40);const G=this.enterForStatementInit(!1);this.printList(J.arguments,J),G(),this.rightParens(J)}function D21(J){this.print(J.callee,J),this.print(J.typeArguments,J),this.print(J.typeParameters,J),this.tokenChar(40);const G=this.enterForStatementInit(!1);this.printList(J.arguments,J),G(),this.rightParens(J)}function M21(){this.word("import")}function O21(J){if(this.word("await"),J.argument)this.space(),this.printTerminatorless(J.argument,J,!1)}function f21(J){if(this.word("yield",!0),J.delegate){if(this.tokenChar(42),J.argument)this.space(),this.print(J.argument,J)}else if(J.argument)this.space(),this.printTerminatorless(J.argument,J,!1)}function q21(){this.semicolon(!0)}function j21(J){this.tokenContext|=J21.TokenContext.expressionStatement,this.print(J.expression,J),this.semicolon()}function S21(J){if(this.print(J.left,J),J.left.type==="Identifier"){if(J.left.optional)this.tokenChar(63);this.print(J.left.typeAnnotation,J)}this.space(),this.tokenChar(61),this.space(),this.print(J.right,J)}function I21(J){if(this.print(J.left,J),this.space(),J.operator==="in"||J.operator==="instanceof")this.word(J.operator);else this.token(J.operator);this.space(),this.print(J.right,J)}function A21(J){this.print(J.object,J),this.token("::"),this.print(J.callee,J)}function C21(J){if(this.print(J.object,J),!J.computed&&m8(J.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let G=J.computed;if(bV(J.property)&&typeof J.property.value==="number")G=!0;if(G){const X=this.enterForStatementInit(!1);this.tokenChar(91),this.print(J.property,J),this.tokenChar(93),X()}else this.tokenChar(46),this.print(J.property,J)}function L21(J){this.print(J.meta,J),this.tokenChar(46),this.print(J.property,J)}function P21(J){this.tokenChar(35),this.print(J.id,J)}function T21(J){this.tokenChar(37),this.word(J.name)}function N21(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,J),this.dedent(),this.rightBrace(J)}Object.defineProperty(vV,"__esModule",{value:!0});vV.LogicalExpression=vV.BinaryExpression=vV.AssignmentExpression=I21;vV.AssignmentPattern=S21;vV.AwaitExpression=O21;vV.BindExpression=A21;vV.CallExpression=D21;vV.ConditionalExpression=Y21;vV.Decorator=R21;vV.DoExpression=V21;vV.EmptyStatement=q21;vV.ExpressionStatement=j21;vV.Import=M21;vV.MemberExpression=C21;vV.MetaProperty=L21;vV.ModuleExpression=N21;vV.NewExpression=W21;vV.OptionalCallExpression=$21;vV.OptionalMemberExpression=B21;vV.ParenthesizedExpression=Z21;vV.PrivateName=P21;vV.SequenceExpression=z21;vV.Super=U21;vV.ThisExpression=K21;vV.UnaryExpression=H21;vV.UpdateExpression=Q21;vV.V8IntrinsicIdentifier=T21;vV.YieldExpression=f21;vV._shouldPrintDecoratorsBeforeExport=F21;var e11=Y1(),J21=x2(),{isCallExpression:G21,isLiteral:bV,isMemberExpression:m8,isNewExpression:X21}=e11});var mV=q((yV)=>{function Y01(J){this.word("with"),this.space(),this.tokenChar(40),this.print(J.object,J),this.tokenChar(41),this.printBlock(J)}function W01(J){this.word("if"),this.space(),this.tokenChar(40),this.print(J.test,J),this.tokenChar(41),this.space();const G=J.alternate&&Z01(uV(J.consequent));if(G)this.tokenChar(123),this.newline(),this.indent();if(this.printAndIndentOnComments(J.consequent,J),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,J)}}function uV(J){const{body:G}=J;if(Q01(G)===!1)return J;return uV(G)}function z01(J){this.word("for"),this.space(),this.tokenChar(40);{const G=this.enterForStatementInit(!0);this.tokenContext|=c8.TokenContext.forHead,this.print(J.init,J),G()}if(this.tokenChar(59),J.test)this.space(),this.print(J.test,J);if(this.tokenChar(59),J.update)this.space(),this.print(J.update,J);this.tokenChar(41),this.printBlock(J)}function K01(J){this.word("while"),this.space(),this.tokenChar(40),this.print(J.test,J),this.tokenChar(41),this.printBlock(J)}function hV(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(!0);this.tokenContext|=G?c8.TokenContext.forOfHead:c8.TokenContext.forInHead,this.print(J.left,J),X==null||X()}this.space(),this.word(G?"of":"in"),this.space(),this.print(J.right,J),this.tokenChar(41),this.printBlock(J)}function U01(J){this.word("do"),this.space(),this.print(J.body,J),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(J.test,J),this.tokenChar(41),this.semicolon()}function q9(J,G,X,H){if(G)J.space(),J.printTerminatorless(G,X,H);J.semicolon()}function F01(J){this.word("break"),q9(this,J.label,J,!0)}function R01(J){this.word("continue"),q9(this,J.label,J,!0)}function B01(J){this.word("return"),q9(this,J.argument,J,!1)}function $01(J){this.word("throw"),q9(this,J.argument,J,!1)}function D01(J){this.print(J.label,J),this.tokenChar(58),this.space(),this.print(J.body,J)}function M01(J){if(this.word("try"),this.space(),this.print(J.block,J),this.space(),J.handlers)this.print(J.handlers[0],J);else this.print(J.handler,J);if(J.finalizer)this.space(),this.word("finally"),this.space(),this.print(J.finalizer,J)}function O01(J){if(this.word("catch"),this.space(),J.param)this.tokenChar(40),this.print(J.param,J),this.print(J.param.typeAnnotation,J),this.tokenChar(41),this.space();this.print(J.body,J)}function f01(J){this.word("switch"),this.space(),this.tokenChar(40),this.print(J.discriminant,J),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(J.cases,J,{indent:!0,addNewlines(G,X){if(!G&&J.cases[J.cases.length-1]===X)return-1}}),this.rightBrace(J)}function q01(J){if(J.test)this.word("case"),this.space(),this.print(J.test,J),this.tokenChar(58);else this.word("default"),this.tokenChar(58);if(J.consequent.length)this.newline(),this.printSequence(J.consequent,J,{indent:!0})}function j01(){this.word("debugger"),this.semicolon()}function S01(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(!_V(G)){for(let V of J.declarations)if(V.init)H=!0}if(this.printList(J.declarations,J,{separator:H?function(){this.tokenChar(44),this.newline()}:void 0,indent:J.declarations.length>1?!0:!1}),_V(G)){if(V01(G)){if(G.init===J)return}else if(G.left===J)return}this.semicolon()}function I01(J){if(this.print(J.id,J),J.definite)this.tokenChar(33);if(this.print(J.id.typeAnnotation,J),J.init)this.space(),this.tokenChar(61),this.space(),this.print(J.init,J)}Object.defineProperty(yV,"__esModule",{value:!0});yV.BreakStatement=F01;yV.CatchClause=O01;yV.ContinueStatement=R01;yV.DebuggerStatement=j01;yV.DoWhileStatement=U01;yV.ForOfStatement=yV.ForInStatement=void 0;yV.ForStatement=z01;yV.IfStatement=W01;yV.LabeledStatement=D01;yV.ReturnStatement=B01;yV.SwitchCase=q01;yV.SwitchStatement=f01;yV.ThrowStatement=$01;yV.TryStatement=M01;yV.VariableDeclaration=S01;yV.VariableDeclarator=I01;yV.WhileStatement=K01;yV.WithStatement=Y01;var H01=Y1(),c8=x2(),{isFor:_V,isForStatement:V01,isIfStatement:Z01,isStatement:Q01}=H01,IM1=yV.ForInStatement=hV,AM1=yV.ForOfStatement=hV});var lV=q((cV)=>{function a01(J,G){if(!(l01(G)||i01(G))||!this._shouldPrintDecoratorsBeforeExport(G))this.printJoin(J.decorators,J);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,J);if(this.print(J.typeParameters,J),J.superClass)this.space(),this.word("extends"),this.space(),this.print(J.superClass,J),this.print(J.superTypeParameters,J);if(J.implements)this.space(),this.word("implements"),this.space(),this.printList(J.implements,J);this.space(),this.print(J.body,J)}function p01(J){if(this.tokenChar(123),J.body.length===0)this.tokenChar(125);else{this.newline();const G=this.enterForStatementInit(!1);if(this.printSequence(J.body,J,{indent:!0}),G(),!this.endsWith(10))this.newline();this.rightBrace(J)}}function r01(J){var G;this.printJoin(J.decorators,J);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,J),this.tokenChar(93);else this._variance(J),this.print(J.key,J);if(J.optional)this.tokenChar(63);if(J.definite)this.tokenChar(33);if(this.print(J.typeAnnotation,J),J.value)this.space(),this.tokenChar(61),this.space(),this.print(J.value,J);this.semicolon()}function d01(J){var G;this.printJoin(J.decorators,J);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,J),this.tokenChar(93);else this._variance(J),this.print(J.key,J);if(J.optional)this.tokenChar(63);if(J.definite)this.tokenChar(33);if(this.print(J.typeAnnotation,J),J.value)this.space(),this.tokenChar(61),this.space(),this.print(J.value,J);this.semicolon()}function s01(J){if(this.printJoin(J.decorators,J),J.static)this.word("static"),this.space();if(this.print(J.key,J),this.print(J.typeAnnotation,J),J.value)this.space(),this.tokenChar(61),this.space(),this.print(J.value,J);this.semicolon()}function t01(J){this._classMethodHead(J),this.space(),this.print(J.body,J)}function n01(J){this._classMethodHead(J),this.space(),this.print(J.body,J)}function o01(J){var G;this.printJoin(J.decorators,J);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 e01(J){if(this.word("static"),this.space(),this.tokenChar(123),J.body.length===0)this.tokenChar(125);else this.newline(),this.printSequence(J.body,J,{indent:!0}),this.rightBrace(J)}Object.defineProperty(cV,"__esModule",{value:!0});cV.ClassAccessorProperty=d01;cV.ClassBody=p01;cV.ClassExpression=cV.ClassDeclaration=a01;cV.ClassMethod=t01;cV.ClassPrivateMethod=n01;cV.ClassPrivateProperty=s01;cV.ClassProperty=r01;cV.StaticBlock=e01;cV._classMethodHead=o01;var c01=Y1(),{isExportDefaultDeclaration:l01,isExportNamedDeclaration:i01}=c01});var aV=q((iV)=>{function F51(J,G,X){this.print(J.typeParameters,J);const H=j51.call(this,G,X);if(H)this.sourceIdentifierName(H.name,H.pos);this.tokenChar(40),this._parameters(J.params,J),this.tokenChar(41);const V=J.type==="ArrowFunctionExpression";this.print(J.returnType,J,V),this._noLineTerminator=V}function R51(J,G){const X=this.enterForStatementInit(!1),H=J.length;for(let V=0;V<H;V++)if(this._param(J[V],G),V<J.length-1)this.tokenChar(44),this.space();X()}function B51(J,G){if(this.printJoin(J.decorators,J),this.print(J,G),J.optional)this.tokenChar(63);this.print(J.typeAnnotation,J)}function $51(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,J),this.tokenChar(93);else this.print(X,J);if(J.optional)this.tokenChar(63);this._params(J,J.computed&&J.key.type!=="StringLiteral"?void 0:J.key,void 0)}function D51(J,G){if(J.predicate){if(!J.returnType)this.tokenChar(58);this.space(),this.print(J.predicate,J,G)}}function M51(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,J);if(this._params(J,J.id,G),J.type!=="TSDeclareFunction")this._predicate(J)}function O51(J,G){this._functionHead(J,G),this.space(),this.print(J.body,J)}function f51(J,G){if(J.async)this.word("async",!0),this.space();let X;if(!this.format.retainLines&&J.params.length===1&&U51(X=J.params[0])&&!q51(J,X))this.print(X,J,!0);else this._params(J,void 0,G);this._predicate(J,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=K51.TokenContext.arrowBody,this.print(J.body,J)}function q51(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 j51(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(iV,"__esModule",{value:!0});iV.ArrowFunctionExpression=f51;iV.FunctionDeclaration=iV.FunctionExpression=O51;iV._functionHead=M51;iV._methodHead=$51;iV._param=B51;iV._parameters=R51;iV._params=F51;iV._predicate=D51;var z51=Y1(),K51=x2(),{isIdentifier:U51}=z51});var l8=q((sV)=>{function u51(J){if(J.importKind==="type"||J.importKind==="typeof")this.word(J.importKind),this.space();if(this.print(J.imported,J),J.local&&J.local.name!==J.imported.name)this.space(),this.word("as"),this.space(),this.print(J.local,J)}function h51(J){this.print(J.local,J)}function y51(J){this.print(J.exported,J)}function x51(J){if(J.exportKind==="type")this.word("type"),this.space();if(this.print(J.local,J),J.exported&&J.local.name!==J.exported.name)this.space(),this.word("as"),this.space(),this.print(J.exported,J)}function m51(J){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(J.exported,J)}function c51(J){const{importAttributesKeyword:G}=this.format,{attributes:X,assertions:H}=J;if(X&&!G&&!pV)pV=!0,console.warn(`You are using import attributes, without specifying the desired output syntax.
3
+ Please specify the "importAttributesKeyword" generator option, whose value can be one of:
4
+ - "with" : \`import { a } from "b" with { type: "json" };\`
5
+ - "assert" : \`import { a } from "b" assert { type: "json" };\`
6
+ - "with-legacy" : \`import { a } from "b" with type: "json";\`
7
+ `);const V=G==="assert"||!G&&H;if(this.word(V?"assert":"with"),this.space(),!V&&G!=="with"){this.printList(X||H,J);return}this.tokenChar(123),this.space(),this.printList(X||H,J),this.space(),this.tokenChar(125)}function l51(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,J,!0),this.space(),this._printAttributes(J);else this.print(J.source,J);this.semicolon()}function dV(J,G){if(k51(G.declaration)&&J._shouldPrintDecoratorsBeforeExport(G))J.printJoin(G.declaration.decorators,G)}function i51(J){if(dV(this,J),this.word("export"),this.space(),J.declaration){const H=J.declaration;if(this.print(H,J),!rV(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(b51(Z)||v51(Z)){if(V=!0,this.print(H.shift(),J),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,J),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,J,!0),this.space(),this._printAttributes(J);else this.print(J.source,J)}this.semicolon()}}function a51(J){dV(this,J),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=E51.TokenContext.exportDefault;const G=J.declaration;if(this.print(G,J),!rV(G))this.semicolon()}function p51(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(g51(Q)||_51(Q)){if(this.print(V.shift(),J),V.length)this.tokenChar(44),this.space()}else break}if(V.length)this.tokenChar(123),this.space(),this.printList(V,J),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,J,!0),this.space(),this._printAttributes(J);else this.print(J.source,J);this.semicolon()}function r51(J){this.print(J.key),this.tokenChar(58),this.space(),this.print(J.value)}function d51(J){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(J.local,J)}function s51(J){if(this.word("import"),J.phase)this.tokenChar(46),this.word(J.phase);if(this.tokenChar(40),this.print(J.source,J),J.options!=null)this.tokenChar(44),this.space(),this.print(J.options,J);this.tokenChar(41)}Object.defineProperty(sV,"__esModule",{value:!0});sV.ExportAllDeclaration=l51;sV.ExportDefaultDeclaration=a51;sV.ExportDefaultSpecifier=y51;sV.ExportNamedDeclaration=i51;sV.ExportNamespaceSpecifier=m51;sV.ExportSpecifier=x51;sV.ImportAttribute=r51;sV.ImportDeclaration=p51;sV.ImportDefaultSpecifier=h51;sV.ImportExpression=s51;sV.ImportNamespaceSpecifier=d51;sV.ImportSpecifier=u51;sV._printAttributes=c51;var w51=Y1(),E51=x2(),{isClassDeclaration:k51,isExportDefaultSpecifier:b51,isExportNamespaceSpecifier:v51,isImportDefaultSpecifier:g51,isImportNamespaceSpecifier:_51,isStatement:rV}=w51,pV=!1});var eV=q((EM1,oV)=>{var tV={},z91=tV.hasOwnProperty,nV=(J,G)=>{for(let X in J)if(z91.call(J,X))G(X,J[X])},K91=(J,G)=>{if(!G)return J;return nV(G,(X,H)=>{J[X]=H}),J},U91=(J,G)=>{const X=J.length;let H=-1;while(++H<X)G(J[H])},D5=tV.toString,F91=Array.isArray,R91=Buffer.isBuffer,B91=(J)=>{return D5.call(J)=="[object Object]"},$91=(J)=>{return typeof J=="string"||D5.call(J)=="[object String]"},D91=(J)=>{return typeof J=="number"||D5.call(J)=="[object Number]"},M91=(J)=>{return typeof J=="function"},O91=(J)=>{return D5.call(J)=="[object Map]"},f91=(J)=>{return D5.call(J)=="[object Set]"},q91={'"':'\\"',"\'":"\\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},j91=/["'\\\b\f\n\r\t]/,S91=/[0-9]/,I91=/[ !#-&\(-\[\]-_a-~]/,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=K91(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__:D}=G,f=Q?"":"\n";let j,I=!0;const g=G.numbers=="binary",C=G.numbers=="octal",T=G.numbers=="decimal",E=G.numbers=="hexadecimal";if(V&&J&&M91(J.toJSON))J=J.toJSON();if(!$91(J)){if(O91(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(f91(J)){if(J.size==0)return"new Set()";return"new Set("+m2(Array.from(J),G)+")"}if(R91(J)){if(J.length==0)return"Buffer.from([])";return"Buffer.from("+m2(Array.from(J),G)+")"}if(F91(J)){if(j=[],G.wrap=!0,U)G.__inline1__=!1,G.__inline2__=!0;if(!D)X();if(U91(J,(d)=>{if(I=!1,D)G.__inline2__=!1;j.push((Q||D?"":W)+m2(d,G))}),I)return"[]";if(D)return"["+j.join(", ")+"]";return"["+f+j.join(","+f)+f+(Q?"":z)+"]"}else if(D91(J)){if(V)return JSON.stringify(J);if(T)return String(J);if(E){let d=J.toString(16);if(!Y)d=d.toUpperCase();return"0x"+d}if(g)return"0b"+J.toString(2);if(C)return"0o"+J.toString(8)}else if(!B91(J)){if(V)return JSON.stringify(J)||"null";return String(J)}else{if(j=[],G.wrap=!0,X(),nV(J,(d,C1)=>{I=!1,j.push((Q?"":W)+m2(d,G)+":"+(Q?"":" ")+m2(C1,G))}),I)return"{}";return"{"+f+j.join(","+f)+f+(Q?"":z)+"}"}}const H1=J;let J1=-1;const R1=H1.length;j="";while(++J1<R1){const d=H1.charAt(J1);if(G.es6){const P=H1.charCodeAt(J1);if(P>=55296&&P<=56319&&R1>J1+1){const m=H1.charCodeAt(J1+1);if(m>=56320&&m<=57343){let W1=((P-55296)*1024+m-56320+65536).toString(16);if(!Y)W1=W1.toUpperCase();j+="\\u{"+W1+"}",++J1;continue}}}if(!G.escapeEverything){if(I91.test(d)){j+=d;continue}if(d=='"'){j+=Z==d?'\\"':d;continue}if(d=="`"){j+=Z==d?"\\`":d;continue}if(d=="\'"){j+=Z==d?"\\\'":d;continue}}if(d=="\0"&&!V&&!S91.test(H1.charAt(J1+1))){j+="\\0";continue}if(j91.test(d)){j+=q91[d];continue}const C1=d.charCodeAt(0);if(G.minimal&&C1!=8232&&C1!=8233){j+=d;continue}let L1=C1.toString(16);if(!Y)L1=L1.toUpperCase();const u=L1.length>2||V,x="\\"+(u?"u":"x")+("0000"+L1).slice(u?-4:-2);j+=x;continue}if(G.wrap)j=Z+j+Z;if(Z=="`")j=j.replace(/\$\{/g,"\\${");if(G.isScriptContext)return j.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,V?"\\u003C!--":"\\x3C!--");return j};m2.version="2.5.2";oV.exports=m2});var a8=q((XZ)=>{function L91(J){var G;this.sourceIdentifierName(((G=J.loc)==null?void 0:G.identifierName)||J.name),this.word(J.name)}function P91(){this.tokenChar(63)}function T91(J){this.token("..."),this.print(J.argument,J)}function N91(J){const G=J.properties;if(this.tokenChar(123),G.length){const X=this.enterForStatementInit(!1);this.space(),this.printList(G,J,{indent:!0,statement:!0}),this.space(),X()}this.sourceWithOffset("end",J.loc,-1),this.tokenChar(125)}function w91(J){this.printJoin(J.decorators,J),this._methodHead(J),this.space(),this.print(J.body,J)}function E91(J){if(this.printJoin(J.decorators,J),J.computed)this.tokenChar(91),this.print(J.key,J),this.tokenChar(93);else{if(C91(J.value)&&i8(J.key)&&J.key.name===J.value.left.name){this.print(J.value,J);return}if(this.print(J.key,J),J.shorthand&&i8(J.key)&&i8(J.value)&&J.key.name===J.value.name)return}this.tokenChar(58),this.space(),this.print(J.value,J)}function k91(J){const G=J.elements,X=G.length;this.tokenChar(91);const H=this.enterForStatementInit(!1);for(let V=0;V<G.length;V++){const Z=G[V];if(Z){if(V>0)this.space();if(this.print(Z,J),V<X-1)this.tokenChar(44)}else this.tokenChar(44)}H(),this.tokenChar(93)}function b91(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,J,{indent:!0,statement:!0}),this.space();this.token(H)}function v91(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,J),Z<X-1)this.tokenChar(44)}}this.token(V)}function g91(J){this.word(`/${J.pattern}/${J.flags}`)}function _91(J){this.word(J.value?"true":"false")}function u91(){this.word("null")}function h91(J){const G=this.getPossibleRaw(J),X=this.format.jsescOption,H=J.value,V=H+"";if(X.numbers)this.number(GZ(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 y91(J){const G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.token(G);return}const X=GZ(J.value,this.format.jsescOption);this.token(X)}function x91(J){const G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.word(G);return}this.word(J.value+"n")}function m91(J){const G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.word(G);return}this.word(J.value+"m")}function c91(){const{topicToken:J}=this.format;if(JZ.has(J))this.token(J);else{const G=JSON.stringify(J),X=Array.from(JZ,(H)=>JSON.stringify(H));throw new Error(`The "topicToken" generator option must be one of ${X.join(", ")} (${G} received instead).`)}}function l91(J){this.print(J.expression,J)}function i91(J){this.print(J.callee,J)}function a91(){this.tokenChar(35)}Object.defineProperty(XZ,"__esModule",{value:!0});XZ.ArgumentPlaceholder=P91;XZ.ArrayPattern=XZ.ArrayExpression=k91;XZ.BigIntLiteral=x91;XZ.BooleanLiteral=_91;XZ.DecimalLiteral=m91;XZ.Identifier=L91;XZ.NullLiteral=u91;XZ.NumericLiteral=h91;XZ.ObjectPattern=XZ.ObjectExpression=N91;XZ.ObjectMethod=w91;XZ.ObjectProperty=E91;XZ.PipelineBareFunction=i91;XZ.PipelinePrimaryTopicReference=a91;XZ.PipelineTopicExpression=l91;XZ.RecordExpression=b91;XZ.RegExpLiteral=g91;XZ.SpreadElement=XZ.RestElement=T91;XZ.StringLiteral=y91;XZ.TopicReference=c91;XZ.TupleExpression=v91;var A91=Y1(),GZ=eV(),{isAssignmentPattern:C91,isIdentifier:i8}=A91,JZ=new Set(["^^","@@","^","%","#"])});var VZ=q((A9)=>{function D41(){this.word("any")}function M41(J){this.print(J.elementType,J,!0),this.tokenChar(91),this.tokenChar(93)}function O41(){this.word("boolean")}function f41(J){this.word(J.value?"true":"false")}function q41(){this.word("null")}function j41(J,G){if(!j9(G))this.word("declare"),this.space();this.word("class"),this.space(),this._interfaceish(J)}function S41(J,G){if(!j9(G))this.word("declare"),this.space();if(this.word("function"),this.space(),this.print(J.id,J),this.print(J.id.typeAnnotation.typeAnnotation,J),J.predicate)this.space(),this.print(J.predicate,J);this.semicolon()}function I41(){this.tokenChar(37),this.word("checks")}function A41(J){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(J.value,J),this.tokenChar(41)}function C41(J){this.word("declare"),this.space(),this.InterfaceDeclaration(J)}function L41(J){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(J.id,J),this.space(),this.print(J.body,J)}function P41(J){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(J.typeAnnotation,J)}function T41(J){this.word("declare"),this.space(),this.TypeAlias(J)}function N41(J,G){if(!j9(G))this.word("declare"),this.space();this.OpaqueType(J)}function w41(J,G){if(!j9(G))this.word("declare"),this.space();this.word("var"),this.space(),this.print(J.id,J),this.print(J.id.typeAnnotation,J),this.semicolon()}function E41(J){if(this.word("declare"),this.space(),this.word("export"),this.space(),J.default)this.word("default"),this.space();c41.call(this,J)}function k41(J){this.word("declare"),this.space(),R41.ExportAllDeclaration.call(this,J)}function b41(J){const{id:G,body:X}=J;this.word("enum"),this.space(),this.print(G,J),this.print(X,J)}function S9(J,G,X){if(X)J.space(),J.word("of"),J.space(),J.word(G);J.space()}function I9(J,G){const{members:X}=G;J.token("{"),J.indent(),J.newline();for(let H of X)J.print(H,G),J.newline();if(G.hasUnknownMembers)J.token("..."),J.newline();J.dedent(),J.token("}")}function v41(J){const{explicitType:G}=J;S9(this,"boolean",G),I9(this,J)}function g41(J){const{explicitType:G}=J;S9(this,"number",G),I9(this,J)}function _41(J){const{explicitType:G}=J;S9(this,"string",G),I9(this,J)}function u41(J){S9(this,"symbol",!0),I9(this,J)}function h41(J){const{id:G}=J;this.print(G,J),this.tokenChar(44)}function p8(J,G){const{id:X,init:H}=G;J.print(X,G),J.space(),J.token("="),J.space(),J.print(H,G),J.token(",")}function y41(J){p8(this,J)}function x41(J){p8(this,J)}function m41(J){p8(this,J)}function c41(J){if(J.declaration){const G=J.declaration;if(this.print(G,J),!$41(G))this.semicolon()}else{if(this.tokenChar(123),J.specifiers.length)this.space(),this.printList(J.specifiers,J),this.space();if(this.tokenChar(125),J.source)this.space(),this.word("from"),this.space(),this.print(J.source,J);this.semicolon()}}function l41(){this.tokenChar(42)}function i41(J,G){if(this.print(J.typeParameters,J),this.tokenChar(40),J.this){if(this.word("this"),this.tokenChar(58),this.space(),this.print(J.this.typeAnnotation,J),J.params.length||J.rest)this.tokenChar(44),this.space()}if(this.printList(J.params,J),J.rest){if(J.params.length)this.tokenChar(44),this.space();this.token("..."),this.print(J.rest,J)}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,J)}function a41(J){if(this.print(J.name,J),J.optional)this.tokenChar(63);if(J.name)this.tokenChar(58),this.space();this.print(J.typeAnnotation,J)}function p41(J){this.print(J.id,J),this.print(J.typeParameters,J,!0)}function r41(J){var G;if(this.print(J.id,J),this.print(J.typeParameters,J),(G=J.extends)!=null&&G.length)this.space(),this.word("extends"),this.space(),this.printList(J.extends,J);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,J);if((H=J.implements)!=null&&H.length)this.space(),this.word("implements"),this.space(),this.printList(J.implements,J)}this.space(),this.print(J.body,J)}function d41(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 s41(J){this.word("interface"),this.space(),this._interfaceish(J)}function t41(){this.space(),this.tokenChar(38),this.space()}function n41(J){var G;if(this.word("interface"),(G=J.extends)!=null&&G.length)this.space(),this.word("extends"),this.space(),this.printList(J.extends,J);this.space(),this.print(J.body,J)}function o41(J){this.printJoin(J.types,J,{separator:t41})}function e41(){this.word("mixed")}function J81(){this.word("empty")}function G81(J){this.tokenChar(63),this.print(J.typeAnnotation,J)}function X81(){this.word("number")}function H81(){this.word("string")}function V81(){this.word("this")}function Z81(J){this.tokenChar(91),this.printList(J.types,J),this.tokenChar(93)}function Q81(J){this.word("typeof"),this.space(),this.print(J.argument,J)}function Y81(J){this.word("type"),this.space(),this.print(J.id,J),this.print(J.typeParameters,J),this.space(),this.tokenChar(61),this.space(),this.print(J.right,J),this.semicolon()}function W81(J,G){if(this.tokenChar(58),this.space(),G.type==="ArrowFunctionExpression")this.tokenContext|=B41.TokenContext.arrowFlowReturnType;else if(J.optional)this.tokenChar(63);this.print(J.typeAnnotation,J)}function z81(J){this.tokenChar(60),this.printList(J.params,J,{}),this.tokenChar(62)}function K81(J){if(this._variance(J),this.word(J.name),J.bound)this.print(J.bound,J);if(J.default)this.space(),this.tokenChar(61),this.space(),this.print(J.default,J)}function U81(J){if(this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(J.id,J),this.print(J.typeParameters,J),J.supertype)this.tokenChar(58),this.space(),this.print(J.supertype,J);if(J.impltype)this.space(),this.tokenChar(61),this.space(),this.print(J.impltype,J);this.semicolon()}function F81(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,J,{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 R81(J){if(J.static)this.word("static"),this.space();if(this.tokenChar(91),this.tokenChar(91),this.print(J.id,J),this.tokenChar(93),this.tokenChar(93),J.optional)this.tokenChar(63);if(!J.method)this.tokenChar(58),this.space();this.print(J.value,J)}function B81(J){if(J.static)this.word("static"),this.space();this.print(J.value,J)}function $81(J){if(J.static)this.word("static"),this.space();if(this._variance(J),this.tokenChar(91),J.id)this.print(J.id,J),this.tokenChar(58),this.space();this.print(J.key,J),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(J.value,J)}function D81(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),J.optional)this.tokenChar(63);if(!J.method)this.tokenChar(58),this.space();this.print(J.value,J)}function M81(J){this.token("..."),this.print(J.argument,J)}function O81(J){this.print(J.qualification,J),this.tokenChar(46),this.print(J.id,J)}function f81(){this.word("symbol")}function q81(){this.space(),this.tokenChar(124),this.space()}function j81(J){this.printJoin(J.types,J,{separator:q81})}function S81(J){this.tokenChar(40),this.print(J.expression,J),this.print(J.typeAnnotation,J),this.tokenChar(41)}function I81(J){if(J.kind==="plus")this.tokenChar(43);else this.tokenChar(45)}function A81(){this.word("void")}function C81(J){this.print(J.objectType,J,!0),this.tokenChar(91),this.print(J.indexType,J),this.tokenChar(93)}function L81(J){if(this.print(J.objectType,J),J.optional)this.token("?.");this.tokenChar(91),this.print(J.indexType,J),this.tokenChar(93)}Object.defineProperty(A9,"__esModule",{value:!0});A9.AnyTypeAnnotation=D41;A9.ArrayTypeAnnotation=M41;A9.BooleanLiteralTypeAnnotation=f41;A9.BooleanTypeAnnotation=O41;A9.DeclareClass=j41;A9.DeclareExportAllDeclaration=k41;A9.DeclareExportDeclaration=E41;A9.DeclareFunction=S41;A9.DeclareInterface=C41;A9.DeclareModule=L41;A9.DeclareModuleExports=P41;A9.DeclareOpaqueType=N41;A9.DeclareTypeAlias=T41;A9.DeclareVariable=w41;A9.DeclaredPredicate=A41;A9.EmptyTypeAnnotation=J81;A9.EnumBooleanBody=v41;A9.EnumBooleanMember=y41;A9.EnumDeclaration=b41;A9.EnumDefaultedMember=h41;A9.EnumNumberBody=g41;A9.EnumNumberMember=x41;A9.EnumStringBody=_41;A9.EnumStringMember=m41;A9.EnumSymbolBody=u41;A9.ExistsTypeAnnotation=l41;A9.FunctionTypeAnnotation=i41;A9.FunctionTypeParam=a41;A9.IndexedAccessType=C81;A9.InferredPredicate=I41;A9.InterfaceDeclaration=s41;A9.GenericTypeAnnotation=A9.ClassImplements=A9.InterfaceExtends=p41;A9.InterfaceTypeAnnotation=n41;A9.IntersectionTypeAnnotation=o41;A9.MixedTypeAnnotation=e41;A9.NullLiteralTypeAnnotation=q41;A9.NullableTypeAnnotation=G81;Object.defineProperty(A9,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return HZ.NumericLiteral}});A9.NumberTypeAnnotation=X81;A9.ObjectTypeAnnotation=F81;A9.ObjectTypeCallProperty=B81;A9.ObjectTypeIndexer=$81;A9.ObjectTypeInternalSlot=R81;A9.ObjectTypeProperty=D81;A9.ObjectTypeSpreadProperty=M81;A9.OpaqueType=U81;A9.OptionalIndexedAccessType=L81;A9.QualifiedTypeIdentifier=O81;Object.defineProperty(A9,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return HZ.StringLiteral}});A9.StringTypeAnnotation=H81;A9.SymbolTypeAnnotation=f81;A9.ThisTypeAnnotation=V81;A9.TupleTypeAnnotation=Z81;A9.TypeAlias=Y81;A9.TypeAnnotation=W81;A9.TypeCastExpression=S81;A9.TypeParameter=K81;A9.TypeParameterDeclaration=A9.TypeParameterInstantiation=z81;A9.TypeofTypeAnnotation=Q81;A9.UnionTypeAnnotation=j81;A9.Variance=I81;A9.VoidTypeAnnotation=A81;A9._interfaceish=r41;A9._variance=d41;var F41=Y1(),R41=l8(),B41=x2(),HZ=a8(),{isDeclareExportDeclaration:j9,isStatement:$41}=F41});var QZ=q((ZZ)=>{function gJ1(J){if(J.program)this.print(J.program.interpreter,J);this.print(J.program,J)}function _J1(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,J,{trailingCommentsLineOffset:V}),!((H=J.directives[X-1].trailingComments)!=null&&H.length))this.newline(V)}this.printSequence(J.body,J)}function uJ1(J){var G;this.tokenChar(123);const X=(G=J.directives)==null?void 0:G.length;if(X){var H;const Z=J.body.length?2:1;if(this.printSequence(J.directives,J,{indent:!0,trailingCommentsLineOffset:Z}),!((H=J.directives[X-1].trailingComments)!=null&&H.length))this.newline(Z)}const V=this.enterForStatementInit(!1);this.printSequence(J.body,J,{indent:!0}),V(),this.rightBrace(J)}function hJ1(J){this.print(J.value,J),this.semicolon()}function mJ1(J){const G=this.getPossibleRaw(J);if(!this.format.minified&&G!==void 0){this.token(G);return}const{value:X}=J;if(!xJ1.test(X))this.token(`"${X}"`);else if(!yJ1.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 cJ1(J){this.token(`#!${J.value}`),this.newline(1,!0)}function lJ1(J){if(this.token("%%"),this.print(J.name),this.token("%%"),J.expectedNode==="Statement")this.semicolon()}Object.defineProperty(ZZ,"__esModule",{value:!0});ZZ.BlockStatement=uJ1;ZZ.Directive=hJ1;ZZ.DirectiveLiteral=mJ1;ZZ.File=gJ1;ZZ.InterpreterDirective=cJ1;ZZ.Placeholder=lJ1;ZZ.Program=_J1;var yJ1=/(?:^|[^\\])(?:\\\\)*'/,xJ1=/(?:^|[^\\])(?:\\\\)*"/});var WZ=q((YZ)=>{function nJ1(J){if(this.print(J.name,J),J.value)this.tokenChar(61),this.print(J.value,J)}function oJ1(J){this.word(J.name)}function eJ1(J){this.print(J.namespace,J),this.tokenChar(58),this.print(J.name,J)}function JG1(J){this.print(J.object,J),this.tokenChar(46),this.print(J.property,J)}function GG1(J){this.tokenChar(123),this.token("..."),this.print(J.argument,J),this.tokenChar(125)}function XG1(J){this.tokenChar(123),this.print(J.expression,J),this.tokenChar(125)}function HG1(J){this.tokenChar(123),this.token("..."),this.print(J.expression,J),this.tokenChar(125)}function VG1(J){const G=this.getPossibleRaw(J);if(G!==void 0)this.token(G,!0);else this.token(J.value,!0)}function ZG1(J){const G=J.openingElement;if(this.print(G,J),G.selfClosing)return;this.indent();for(let X of J.children)this.print(X,J);this.dedent(),this.print(J.closingElement,J)}function QG1(){this.space()}function YG1(J){if(this.tokenChar(60),this.print(J.name,J),this.print(J.typeParameters,J),J.attributes.length>0)this.space(),this.printJoin(J.attributes,J,{separator:QG1});if(J.selfClosing)this.space(),this.token("/>");else this.tokenChar(62)}function WG1(J){this.token("</"),this.print(J.name,J),this.tokenChar(62)}function zG1(){this.printInnerComments()}function KG1(J){this.print(J.openingFragment,J),this.indent();for(let G of J.children)this.print(G,J);this.dedent(),this.print(J.closingFragment,J)}function UG1(){this.tokenChar(60),this.tokenChar(62)}function FG1(){this.token("</"),this.tokenChar(62)}Object.defineProperty(YZ,"__esModule",{value:!0});YZ.JSXAttribute=nJ1;YZ.JSXClosingElement=WG1;YZ.JSXClosingFragment=FG1;YZ.JSXElement=ZG1;YZ.JSXEmptyExpression=zG1;YZ.JSXExpressionContainer=XG1;YZ.JSXFragment=KG1;YZ.JSXIdentifier=oJ1;YZ.JSXMemberExpression=JG1;YZ.JSXNamespacedName=eJ1;YZ.JSXOpeningElement=YG1;YZ.JSXOpeningFragment=UG1;YZ.JSXSpreadAttribute=GG1;YZ.JSXSpreadChild=HG1;YZ.JSXText=VG1});var FZ=q((UZ)=>{function TG1(J){if(this.tokenChar(58),this.space(),J.optional)this.tokenChar(63);this.print(J.typeAnnotation,J)}function NG1(J,G){if(this.tokenChar(60),this.printList(J.params,J,{}),G.type==="ArrowFunctionExpression"&&J.params.length===1)this.tokenChar(44);this.tokenChar(62)}function wG1(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,J);if(J.default)this.space(),this.tokenChar(61),this.space(),this.print(J.default,J)}function EG1(J){if(J.accessibility)this.word(J.accessibility),this.space();if(J.readonly)this.word("readonly"),this.space();this._param(J.parameter)}function kG1(J,G){if(J.declare)this.word("declare"),this.space();this._functionHead(J,G),this.tokenChar(59)}function bG1(J){this._classMethodHead(J),this.tokenChar(59)}function vG1(J){this.print(J.left,J),this.tokenChar(46),this.print(J.right,J)}function gG1(J){this.tsPrintSignatureDeclarationBase(J),this.tokenChar(59)}function _G1(J){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(J),this.tokenChar(59)}function uG1(J){const{readonly:G}=J;if(G)this.word("readonly"),this.space();this.tsPrintPropertyOrMethodName(J),this.print(J.typeAnnotation,J),this.tokenChar(59)}function hG1(J){if(J.computed)this.tokenChar(91);if(this.print(J.key,J),J.computed)this.tokenChar(93);if(J.optional)this.tokenChar(63)}function yG1(J){const{kind:G}=J;if(G==="set"||G==="get")this.word(G),this.space();this.tsPrintPropertyOrMethodName(J),this.tsPrintSignatureDeclarationBase(J),this.tokenChar(59)}function xG1(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,J),this.tokenChar(93),this.print(J.typeAnnotation,J),this.tokenChar(59)}function mG1(){this.word("any")}function cG1(){this.word("bigint")}function lG1(){this.word("unknown")}function iG1(){this.word("number")}function aG1(){this.word("object")}function pG1(){this.word("boolean")}function rG1(){this.word("string")}function dG1(){this.word("symbol")}function sG1(){this.word("void")}function tG1(){this.word("undefined")}function nG1(){this.word("null")}function oG1(){this.word("never")}function eG1(){this.word("intrinsic")}function JX1(){this.word("this")}function GX1(J){this.tsPrintFunctionOrConstructorType(J)}function XX1(J){if(J.abstract)this.word("abstract"),this.space();this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(J)}function HX1(J){const{typeParameters:G}=J,X=J.parameters;this.print(G,J),this.tokenChar(40),this._parameters(X,J),this.tokenChar(41),this.space(),this.token("=>"),this.space();const H=J.typeAnnotation;this.print(H.typeAnnotation,J)}function VX1(J){this.print(J.typeName,J,!0),this.print(J.typeParameters,J,!0)}function ZX1(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 QX1(J){if(this.word("typeof"),this.space(),this.print(J.exprName),J.typeParameters)this.print(J.typeParameters,J)}function YX1(J){this.tsPrintTypeLiteralOrInterfaceBody(J.members,J)}function WX1(J,G){r8(this,J,G)}function r8(J,G,X){if(J.token("{"),G.length){J.indent(),J.newline();for(let H of G)J.print(H,X),J.newline();J.dedent()}J.rightBrace(X)}function zX1(J){this.print(J.elementType,J,!0),this.token("[]")}function KX1(J){this.tokenChar(91),this.printList(J.elementTypes,J),this.tokenChar(93)}function UX1(J){this.print(J.typeAnnotation,J),this.tokenChar(63)}function FX1(J){this.token("..."),this.print(J.typeAnnotation,J)}function RX1(J){if(this.print(J.label,J),J.optional)this.tokenChar(63);this.tokenChar(58),this.space(),this.print(J.elementType,J)}function BX1(J){KZ(this,J,"|")}function $X1(J){KZ(this,J,"&")}function KZ(J,G,X){J.printJoin(G.types,G,{separator(){this.space(),this.token(X),this.space()}})}function DX1(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 MX1(J){this.token("infer"),this.space(),this.print(J.typeParameter)}function OX1(J){this.tokenChar(40),this.print(J.typeAnnotation,J),this.tokenChar(41)}function fX1(J){this.word(J.operator),this.space(),this.print(J.typeAnnotation,J)}function qX1(J){this.print(J.objectType,J,!0),this.tokenChar(91),this.print(J.indexType,J),this.tokenChar(93)}function jX1(J){const{nameType:G,optional:X,readonly:H,typeParameter:V,typeAnnotation:Z}=J;if(this.tokenChar(123),this.space(),H)zZ(this,H),this.word("readonly"),this.space();if(this.tokenChar(91),this.word(V.name),this.space(),this.word("in"),this.space(),this.print(V.constraint,V),G)this.space(),this.word("as"),this.space(),this.print(G,J);if(this.tokenChar(93),X)zZ(this,X),this.tokenChar(63);if(Z)this.tokenChar(58),this.space(),this.print(Z,J);this.space(),this.tokenChar(125)}function zZ(J,G){if(G!==!0)J.token(G)}function SX1(J){this.print(J.literal,J)}function IX1(J){this.print(J.expression,J),this.print(J.typeParameters,J)}function AX1(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,J),this.print(H,J),V!=null&&V.length)this.space(),this.word("extends"),this.space(),this.printList(V,J);this.space(),this.print(Z,J)}function CX1(J){this.tsPrintTypeLiteralOrInterfaceBody(J.body,J)}function LX1(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,J),this.print(H,J),this.space(),this.tokenChar(61),this.space(),this.print(V,J),this.tokenChar(59)}function PX1(J){var G;const{type:X,expression:H,typeAnnotation:V}=J,Z=!!((G=H.trailingComments)!=null&&G.length);this.print(H,J,!0,void 0,Z),this.space(),this.word(X==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(V,J)}function TX1(J){const{typeAnnotation:G,expression:X}=J;this.tokenChar(60),this.print(G,J),this.tokenChar(62),this.space(),this.print(X,J)}function NX1(J){this.print(J.expression,J),this.print(J.typeParameters,J)}function wX1(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,J),this.space(),r8(this,V,J)}function EX1(J){const{id:G,initializer:X}=J;if(this.print(G,J),X)this.space(),this.tokenChar(61),this.space(),this.print(X,J);this.tokenChar(44)}function kX1(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),!J.body){this.tokenChar(59);return}let H=J.body;while(H.type==="TSModuleDeclaration")this.tokenChar(46),this.print(H.id,H),H=H.body;this.space(),this.print(H,J)}function bX1(J){r8(this,J.body,J)}function vX1(J){const{argument:G,qualifier:X,typeParameters:H}=J;if(this.word("import"),this.tokenChar(40),this.print(G,J),this.tokenChar(41),X)this.tokenChar(46),this.print(X,J);if(H)this.print(H,J)}function gX1(J){const{isExport:G,id:X,moduleReference:H}=J;if(G)this.word("export"),this.space();this.word("import"),this.space(),this.print(X,J),this.space(),this.tokenChar(61),this.space(),this.print(H,J),this.tokenChar(59)}function _X1(J){this.token("require("),this.print(J.expression,J),this.tokenChar(41)}function uX1(J){this.print(J.expression,J),this.tokenChar(33)}function hX1(J){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(J.expression,J),this.tokenChar(59)}function yX1(J){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(J.id,J)}function xX1(J){const{typeParameters:G}=J,X=J.parameters;this.print(G,J),this.tokenChar(40),this._parameters(X,J),this.tokenChar(41);const H=J.typeAnnotation;this.print(H,J)}function mX1(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(UZ,"__esModule",{value:!0});UZ.TSAnyKeyword=mG1;UZ.TSArrayType=zX1;UZ.TSSatisfiesExpression=UZ.TSAsExpression=PX1;UZ.TSBigIntKeyword=cG1;UZ.TSBooleanKeyword=pG1;UZ.TSCallSignatureDeclaration=gG1;UZ.TSConditionalType=DX1;UZ.TSConstructSignatureDeclaration=_G1;UZ.TSConstructorType=XX1;UZ.TSDeclareFunction=kG1;UZ.TSDeclareMethod=bG1;UZ.TSEnumDeclaration=wX1;UZ.TSEnumMember=EX1;UZ.TSExportAssignment=hX1;UZ.TSExpressionWithTypeArguments=IX1;UZ.TSExternalModuleReference=_X1;UZ.TSFunctionType=GX1;UZ.TSImportEqualsDeclaration=gX1;UZ.TSImportType=vX1;UZ.TSIndexSignature=xG1;UZ.TSIndexedAccessType=qX1;UZ.TSInferType=MX1;UZ.TSInstantiationExpression=NX1;UZ.TSInterfaceBody=CX1;UZ.TSInterfaceDeclaration=AX1;UZ.TSIntersectionType=$X1;UZ.TSIntrinsicKeyword=eG1;UZ.TSLiteralType=SX1;UZ.TSMappedType=jX1;UZ.TSMethodSignature=yG1;UZ.TSModuleBlock=bX1;UZ.TSModuleDeclaration=kX1;UZ.TSNamedTupleMember=RX1;UZ.TSNamespaceExportDeclaration=yX1;UZ.TSNeverKeyword=oG1;UZ.TSNonNullExpression=uX1;UZ.TSNullKeyword=nG1;UZ.TSNumberKeyword=iG1;UZ.TSObjectKeyword=aG1;UZ.TSOptionalType=UX1;UZ.TSParameterProperty=EG1;UZ.TSParenthesizedType=OX1;UZ.TSPropertySignature=uG1;UZ.TSQualifiedName=vG1;UZ.TSRestType=FX1;UZ.TSStringKeyword=rG1;UZ.TSSymbolKeyword=dG1;UZ.TSThisType=JX1;UZ.TSTupleType=KX1;UZ.TSTypeAliasDeclaration=LX1;UZ.TSTypeAnnotation=TG1;UZ.TSTypeAssertion=TX1;UZ.TSTypeLiteral=YX1;UZ.TSTypeOperator=fX1;UZ.TSTypeParameter=wG1;UZ.TSTypeParameterDeclaration=UZ.TSTypeParameterInstantiation=NG1;UZ.TSTypePredicate=ZX1;UZ.TSTypeQuery=QX1;UZ.TSTypeReference=VX1;UZ.TSUndefinedKeyword=tG1;UZ.TSUnionType=BX1;UZ.TSUnknownKeyword=lG1;UZ.TSVoidKeyword=sG1;UZ.tsPrintClassMemberModifiers=mX1;UZ.tsPrintFunctionOrConstructorType=HX1;UZ.tsPrintPropertyOrMethodName=hG1;UZ.tsPrintSignatureDeclarationBase=xX1;UZ.tsPrintTypeLiteralOrInterfaceBody=WX1});var RZ=q(($1)=>{Object.defineProperty($1,"__esModule",{value:!0});var d8=kV();Object.keys(d8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===d8[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return d8[J]}})});var s8=gV();Object.keys(s8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===s8[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return s8[J]}})});var t8=mV();Object.keys(t8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===t8[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return t8[J]}})});var n8=lV();Object.keys(n8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===n8[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return n8[J]}})});var o8=aV();Object.keys(o8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===o8[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return o8[J]}})});var e8=l8();Object.keys(e8).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===e8[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return e8[J]}})});var JJ=a8();Object.keys(JJ).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===JJ[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return JJ[J]}})});var GJ=VZ();Object.keys(GJ).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===GJ[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return GJ[J]}})});var XJ=QZ();Object.keys(XJ).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===XJ[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return XJ[J]}})});var HJ=WZ();Object.keys(HJ).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===HJ[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return HJ[J]}})});var VJ=FZ();Object.keys(VJ).forEach(function(J){if(J==="default"||J==="__esModule")return;if(J in $1&&$1[J]===VJ[J])return;Object.defineProperty($1,J,{enumerable:!0,get:function(){return VJ[J]}})})});var MZ=q(($Z)=>{function $71(){this.tokenChar(44),this.space()}Object.defineProperty($Z,"__esModule",{value:!0});$Z.default=void 0;var X71=UV(),H71=x2(),V71=Y1(),Z71=RZ(),{isFunction:Q71,isStatement:Y71,isClassBody:W71,isTSInterfaceBody:z71,isTSEnumDeclaration:K71}=V71,U71=/e/i,F71=/\.0+$/,BZ=/[\n\r\u2028\u2029]/,R71=/[\n\r\u2028\u2029]|\*\//,{needsParens:B71}=H71;class C9{constructor(J,G){this.inForStatementInit=!1,this.tokenContext=0,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._parenPushNewlineState=null,this._noLineTerminator=!1,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!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 X71.default(G,J.indent.style[0])}enterForStatementInit(J){const G=this.inForStatementInit;if(G===J)return()=>{};return this.inForStatementInit=J,()=>{this.inForStatementInit=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||J.charCodeAt(0)===47&&this.endsWith(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)&&!U71.test(J)&&!F71.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._maybeAddParen(J),this._maybeIndent(J.charCodeAt(0)),this._buf.append(J,G),this._endsWithWord=!1,this._endsWithInteger=!1}_appendChar(J){this._maybeAddParenChar(J),this._maybeIndent(J),this._buf.appendChar(J),this._endsWithWord=!1,this._endsWithInteger=!1}_queue(J){this._maybeAddParenChar(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}_maybeAddParenChar(J){const G=this._parenPushNewlineState;if(!G)return;if(J===32)return;if(J!==10){this._parenPushNewlineState=null;return}this.tokenChar(40),this.indent(),G.printed=!0}_maybeAddParen(J){const G=this._parenPushNewlineState;if(!G)return;const X=J.length;let H;for(H=0;H<X&&J.charCodeAt(H)===32;H++)continue;if(H===X)return;const V=J.charCodeAt(H);if(V!==10){if(V!==47||H+1===X){this._parenPushNewlineState=null;return}const Z=J.charCodeAt(H+1);if(Z===42)return;else if(Z!==47){this._parenPushNewlineState=null;return}}this.tokenChar(40),this.indent(),G.printed=!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,G,X){if(X)this._noLineTerminator=!0,this.print(J,G);else{const H={printed:!1};if(this._parenPushNewlineState=H,this.print(J,G),H.printed)this.dedent(),this.newline(),this.tokenChar(41)}}print(J,G,X,H,V){var Z,Q;if(!J)return;this._endsWithInnerRaw=!1;const Y=J.type,W=this.format,z=W.concise;if(J._compact)W.concise=!0;const U=this[Y];if(U===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(Y)} with constructor ${JSON.stringify(J.constructor.name)}`);const D=this._currentNode;this._currentNode=J;const f=this._insideAux;this._insideAux=J.loc==null,this._maybeAddAuxComment(this._insideAux&&!f);const j=(Z=J.extra)==null?void 0:Z.parenthesized;let I=V||j&&W.retainFunctionParens&&Y==="FunctionExpression"||B71(J,G,this.tokenContext,this.inForStatementInit);if(!I&&j&&(Q=J.leadingComments)!=null&&Q.length&&J.leadingComments[0].type==="CommentBlock")switch(G==null?void 0:G.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(G.callee!==J)break;default:I=!0}let g;if(I)this.tokenChar(40),this._endsWithInnerRaw=!1,g=this.enterForStatementInit(!1);this._lastCommentLine=0,this._printLeadingComments(J,G);const C=Y==="Program"||Y==="File"?null:J.loc;if(this.exactSource(C,U.bind(this,J,G)),I)this._printTrailingComments(J,G),this.tokenChar(41),this._noLineTerminator=X,g();else if(X&&!this._noLineTerminator)this._noLineTerminator=!0,this._printTrailingComments(J,G);else this._printTrailingComments(J,G,H);this._currentNode=D,W.concise=z,this._insideAux=f,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,X={}){if(!(J!=null&&J.length))return;let{indent:H}=X;if(H==null&&this.format.retainLines){var V;const U=(V=J[0].loc)==null?void 0:V.start.line;if(U!=null&&U!==this._buf.getCurrentLine())H=!0}if(H)this.indent();const Z={addNewlines:X.addNewlines,nextNodeStartLine:0},Q=X.separator?X.separator.bind(this):null,Y=J.length;for(let U=0;U<Y;U++){const D=J[U];if(!D)continue;if(X.statement)this._printNewline(U===0,Z);if(this.print(D,G,void 0,X.trailingCommentsLineOffset||0),X.iterator==null||X.iterator(D,U),U<Y-1)Q==null||Q();if(X.statement){var W;if(!((W=D.trailingComments)!=null&&W.length))this._lastCommentLine=0;if(U+1===Y)this.newline(1);else{var z;const f=J[U+1];Z.nextNodeStartLine=((z=f.loc)==null?void 0:z.start.line)||0,this._printNewline(!0,Z)}}}if(H)this.dedent()}printAndIndentOnComments(J,G){const X=J.leadingComments&&J.leadingComments.length>0;if(X)this.indent();if(this.print(J,G),X)this.dedent()}printBlock(J){const G=J.body;if(G.type!=="EmptyStatement")this.space();this.print(G,J)}_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,X={}){var H;X.statement=!0,(H=X.indent)!=null||(X.indent=!1),this.printJoin(J,G,X)}printList(J,G,X={}){if(X.separator==null)X.separator=$71;this.printJoin(J,G,X)}_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&&R71.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)this.space();let Q;if(H){const{_parenPushNewlineState:W}=this;if((W==null?void 0:W.printed)===!1&&BZ.test(J.value))this.tokenChar(40),this.indent(),W.printed=!0;if(Q=`/*${J.value}*/`,this.format.indent.adjustMultilineComment){var Y;const z=(Y=J.loc)==null?void 0:Y.start.column;if(z){const U=new RegExp("\\n\\s{1,"+z+"}","g");Q=Q.replace(U,"\n")}if(this.format.concise)Q=Q.replace(/\n(?!$)/g,"\n");else{let U=this.format.retainLines?0:this._buf.getCurrentColumn();if(this._shouldIndent(47)||this.format.retainLines)U+=this._getIndent();Q=Q.replace(/\n(?!$)/g,`\n${" ".repeat(U)}`)}}}else if(!X)Q=`//${J.value}`;else Q=`/*${J.value}*/`;if(this.endsWith(47))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,D=0;const f=this._noLineTerminator?function(){}:this.newline.bind(this);for(let j=0;j<Q;j++){const I=G[j],g=this._shouldPrintComment(I);if(g===2){Y=!1;break}if(Y&&I.loc&&g===1){const C=I.loc.start.line,T=I.loc.end.line;if(J===0){let E=0;if(j===0){if(this._buf.hasContent()&&(I.type==="CommentLine"||C!==T))E=D=1}else E=C-U;if(U=T,f(E),this._printComment(I,1),j+1===Q)f(Math.max(W-U,D)),U=W}else if(J===1){const E=C-(j===0?W:U);if(U=T,f(E),this._printComment(I,1),j+1===Q)f(Math.min(1,z-U)),U=z}else{const E=C-(j===0?z-V:U);U=T,f(E),this._printComment(I,1)}}else{if(Y=!1,g!==1)continue;if(Q===1){const C=I.loc?I.loc.start.line===I.loc.end.line:!BZ.test(I.value),T=C&&!Y71(X)&&!W71(H)&&!z71(H)&&!K71(H);if(J===0)this._printComment(I,T&&X.type!=="ObjectExpression"||C&&Q71(H,{body:X})?1:0);else if(T&&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,j===0?2:j===Q-1?3:0);else this._printComment(I,0)}}if(J===2&&Y&&U)this._lastCommentLine=U}}Object.assign(C9.prototype,Z71);C9.prototype.Noop=function J(){};var pM1=$Z.default=C9});var ZJ=q((jZ)=>{function qZ(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 D71(J,G={},X){const H=qZ(X,G),V=G.sourceMaps?new OZ.default(G,X):null;return new fZ.default(H,V).generate(J)}Object.defineProperty(jZ,"__esModule",{value:!0});jZ.default=D71;var OZ=YV(),fZ=MZ();jZ.CodeGenerator=class J{constructor(G,X={},H){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=G,this._format=qZ(H,X),this._map=X.sourceMaps?new OZ.default(X,H):null}generate(){return new fZ.default(this._format,this._map).generate(this._ast)}}});var IZ=q((SZ)=>{function q71(J){let G=this;while(G=G.parentPath)if(J(G))return G;return null}function j71(J){let G=this;do if(J(G))return G;while(G=G.parentPath);return null}function S71(){return this.findParent((J)=>J.isFunction())}function I71(){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 A71(J){return this.getDeepestCommonAncestorFrom(J,function(G,X,H){let V;const Z=f71[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 C71(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 L71(){let J=this;const G=[];do G.push(J);while(J=J.parentPath);return G}function P71(J){return J.isDescendant(this)}function T71(J){return!!this.findParent((G)=>G===J)}function N71(...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(SZ,"__esModule",{value:!0});SZ.find=j71;SZ.findParent=q71;SZ.getAncestry=L71;SZ.getDeepestCommonAncestorFrom=C71;SZ.getEarliestCommonAncestorFrom=A71;SZ.getFunctionParent=S71;SZ.getStatementParent=I71;SZ.inType=N71;SZ.isAncestor=P71;SZ.isDescendant=T71;var O71=Y1(),{VISITOR_KEYS:f71}=O71});var QJ=q((LZ)=>{function i71(J){if(J.every((G)=>c71(G))){if(AZ)return AZ(J);return m71(J)}else if(J.every((G)=>l71(G))){if(CZ)return CZ(J)}}Object.defineProperty(LZ,"__esModule",{value:!0});LZ.createUnionType=i71;var x71=Y1(),{createFlowUnionType:AZ,createTSUnionType:CZ,createUnionTypeAnnotation:m71,isFlowType:c71,isTSType:l71}=x71});var kZ=q((EZ)=>{function t71(J){if(!this.isReferenced())return;const G=this.scope.getBinding(J.name);if(G)if(G.identifier.typeAnnotation)return G.identifier.typeAnnotation;else return n71(G,this,J.name);if(J.name==="undefined")return s71();else if(J.name==="NaN"||J.name==="Infinity")return NZ();else if(J.name==="arguments");}function n71(J,G,X){const H=[],V=[];let Z=PZ(J,G,V);const Q=wZ(J,G,X);if(Q){const Y=PZ(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 TZ.createUnionType(H)}function PZ(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 o71(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(r71.includes(X))return NZ();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 d71(W)}function e71(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 wZ(J,G,X){const H=e71(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=o71(X,W);if(z)Q.push(z)}}if(Q.length)return{typeAnnotation:TZ.createUnionType(Q),ifStatement:H};return wZ(J,H,X)}Object.defineProperty(EZ,"__esModule",{value:!0});EZ.default=t71;var p71=Y1(),TZ=QJ(),{BOOLEAN_NUMBER_BINARY_OPERATORS:r71,createTypeAnnotationBasedOnTypeof:d71,numberTypeAnnotation:NZ,voidTypeAnnotation:s71}=p71});var xZ=q((zJ)=>{function RH1(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function gZ(J){return J.typeAnnotation}function _Z(J){return J.typeAnnotation}function BH1(){return this.get("expression").getTypeAnnotation()}function $H1(J){if(J.callee.type==="Identifier")return c2(J.callee)}function DH1(){return Y0()}function MH1(J){const G=J.operator;if(G==="void")return UH1();else if(QH1.includes(G))return T0();else if(YH1.includes(G))return Y0();else if(VH1.includes(G))return WJ()}function OH1(J){const G=J.operator;if(ZH1.includes(G))return T0();else if(HH1.includes(G))return WJ();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 Y0();return KH1([Y0(),T0()])}}function fH1(){const J=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return vZ.createUnionType(J)}function qH1(){const J=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return vZ.createUnionType(J)}function jH1(){return this.get("expressions").pop().getTypeAnnotation()}function SH1(){return this.get("expression").getTypeAnnotation()}function IH1(){return this.get("right").getTypeAnnotation()}function AH1(J){const G=J.operator;if(G==="++"||G==="--")return T0()}function CH1(){return Y0()}function LH1(){return T0()}function PH1(){return WJ()}function TH1(){return WH1()}function NH1(){return c2(Q0("RegExp"))}function wH1(){return c2(Q0("Object"))}function uZ(){return c2(Q0("Array"))}function hZ(){return uZ()}function EH1(){return c2(Q0("Function"))}function _H1(){const{callee:J}=this.node;if(bH1(J))return YJ(Y0());else if(kH1(J)||vH1(J)||FH1(J,{name:"Array"}))return YJ(bZ());else if(gH1(J))return YJ(zH1([Y0(),bZ()]));return yZ(this.get("callee"))}function uH1(){return yZ(this.get("tag"))}function yZ(J){if(J=J.resolve(),J.isFunction()){const{node:G}=J;if(G.async)if(G.generator)return c2(Q0("AsyncIterator"));else return c2(Q0("Promise"));else if(G.generator)return c2(Q0("Iterator"));else if(J.node.returnType)return J.node.returnType}}Object.defineProperty(zJ,"__esModule",{value:!0});zJ.ArrayExpression=uZ;zJ.AssignmentExpression=IH1;zJ.BinaryExpression=OH1;zJ.BooleanLiteral=PH1;zJ.CallExpression=_H1;zJ.ConditionalExpression=qH1;zJ.ClassDeclaration=zJ.ClassExpression=zJ.FunctionDeclaration=zJ.ArrowFunctionExpression=zJ.FunctionExpression=EH1;Object.defineProperty(zJ,"Identifier",{enumerable:!0,get:function(){return XH1.default}});zJ.LogicalExpression=fH1;zJ.NewExpression=$H1;zJ.NullLiteral=TH1;zJ.NumericLiteral=LH1;zJ.ObjectExpression=wH1;zJ.ParenthesizedExpression=SH1;zJ.RegExpLiteral=NH1;zJ.RestElement=hZ;zJ.SequenceExpression=jH1;zJ.StringLiteral=CH1;zJ.TSAsExpression=_Z;zJ.TSNonNullExpression=BH1;zJ.TaggedTemplateExpression=uH1;zJ.TemplateLiteral=DH1;zJ.TypeCastExpression=gZ;zJ.UnaryExpression=MH1;zJ.UpdateExpression=AH1;zJ.VariableDeclarator=RH1;var GH1=Y1(),XH1=kZ(),vZ=QJ(),{BOOLEAN_BINARY_OPERATORS:HH1,BOOLEAN_UNARY_OPERATORS:VH1,NUMBER_BINARY_OPERATORS:ZH1,NUMBER_UNARY_OPERATORS:QH1,STRING_UNARY_OPERATORS:YH1,anyTypeAnnotation:bZ,arrayTypeAnnotation:YJ,booleanTypeAnnotation:WJ,buildMatchMemberExpression:L9,genericTypeAnnotation:c2,identifier:Q0,nullLiteralTypeAnnotation:WH1,numberTypeAnnotation:T0,stringTypeAnnotation:Y0,tupleTypeAnnotation:zH1,unionTypeAnnotation:KH1,voidTypeAnnotation:UH1,isIdentifier:FH1}=GH1;gZ.validParent=!0;_Z.validParent=!0;hZ.validParent=!0;var kH1=L9("Array.from"),bH1=L9("Object.keys"),vH1=L9("Object.values"),gH1=L9("Object.entries")});var pZ=q((aZ)=>{function P31(){let J=this.getData("typeAnnotation");if(J!=null)return J;if(J=iZ.call(this)||lZ(),S31(J)||f31(J))J=J.typeAnnotation;return this.setData("typeAnnotation",J),J}function iZ(){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 C31();if(X.key==="left"&&H.isForOfStatement())return lZ();return L31()}else return;if(J.typeAnnotation)return J.typeAnnotation;if(KJ.has(J))return;KJ.add(J);try{var G;let X=mZ[J.type];if(X)return X.call(this,J);if(X=mZ[this.parentPath.type],(G=X)!=null&&G.validParent)return this.parentPath.getTypeAnnotation()}finally{KJ.delete(J)}}function T31(J,G){return UJ(J,this.getTypeAnnotation(),G)}function UJ(J,G,X){if(J==="string")return M31(G);else if(J==="number")return D31(G);else if(J==="boolean")return U31(G);else if(J==="any")return P9(G);else if(J==="mixed")return $31(G);else if(J==="empty")return F31(G);else if(J==="void")return A31(G);else if(X)return!1;else throw new Error(`Unknown base type ${J}`)}function N31(J){const G=this.getTypeAnnotation();if(P9(G))return!0;if(I31(G)){for(let X of G.types)if(P9(X)||UJ(J,X,!0))return!0;return!1}else return UJ(J,G,!0)}function w31(J){const G=this.getTypeAnnotation(),X=J.getTypeAnnotation();if(!P9(G)&&R31(G))return X.type===G.type;return!1}function E31(J){const G=this.getTypeAnnotation();if(J==="Array"){if(O31(G)||K31(G)||j31(G))return!0}return B31(G)&&cZ(G.id,{name:J})||q31(G)&&cZ(G.typeName,{name:J})}Object.defineProperty(aZ,"__esModule",{value:!0});aZ._getTypeAnnotation=iZ;aZ.baseTypeStrictlyMatches=w31;aZ.couldBeBaseType=N31;aZ.getTypeAnnotation=P31;aZ.isBaseType=T31;aZ.isGenericType=E31;var mZ=xZ(),z31=Y1(),{anyTypeAnnotation:lZ,isAnyTypeAnnotation:P9,isArrayTypeAnnotation:K31,isBooleanTypeAnnotation:U31,isEmptyTypeAnnotation:F31,isFlowBaseAnnotation:R31,isGenericTypeAnnotation:B31,isIdentifier:cZ,isMixedTypeAnnotation:$31,isNumberTypeAnnotation:D31,isStringTypeAnnotation:M31,isTSArrayType:O31,isTSTypeAnnotation:f31,isTSTypeReference:q31,isTupleTypeAnnotation:j31,isTypeAnnotation:S31,isUnionTypeAnnotation:I31,isVoidTypeAnnotation:A31,stringTypeAnnotation:C31,voidTypeAnnotation:L31}=z31,KJ=new WeakSet});var dZ=q((rZ)=>{Object.defineProperty(rZ,"__esModule",{value:!0});rZ.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;rZ.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 JQ=q((eZ)=>{function FJ(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 nZ(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&&x31.test(String.fromCharCode(J));return FJ(J,tZ)}function oZ(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&&m31.test(String.fromCharCode(J));return FJ(J,tZ)||FJ(J,c31)}function l31(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,!nZ(H))return!1}else if(!oZ(H))return!1}return!G}Object.defineProperty(eZ,"__esModule",{value:!0});eZ.isIdentifierChar=oZ;eZ.isIdentifierName=l31;eZ.isIdentifierStart=nZ;var RJ="\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-\u1C88\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-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\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",sZ="\u200C\u200D\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\u0898-\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",x31=new RegExp("["+RJ+"]"),m31=new RegExp("["+RJ+sZ+"]");RJ=sZ=null;var tZ=[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,68,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,349,41,7,1,79,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,159,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,264,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,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,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,757,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],c31=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239]});var ZQ=q((VQ)=>{function GQ(J,G){return G&&J==="await"||J==="enum"}function XQ(J,G){return GQ(J,G)||d31.has(J)}function HQ(J){return s31.has(J)}function t31(J,G){return XQ(J,G)||HQ(J)}function n31(J){return r31.has(J)}Object.defineProperty(VQ,"__esModule",{value:!0});VQ.isKeyword=n31;VQ.isReservedWord=GQ;VQ.isStrictBindOnlyReservedWord=HQ;VQ.isStrictBindReservedWord=t31;VQ.isStrictReservedWord=XQ;var BJ={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"]},r31=new Set(BJ.keyword),d31=new Set(BJ.strict),s31=new Set(BJ.strictBind)});var QQ=q((D2)=>{Object.defineProperty(D2,"__esModule",{value:!0});Object.defineProperty(D2,"isIdentifierChar",{enumerable:!0,get:function(){return $J.isIdentifierChar}});Object.defineProperty(D2,"isIdentifierName",{enumerable:!0,get:function(){return $J.isIdentifierName}});Object.defineProperty(D2,"isIdentifierStart",{enumerable:!0,get:function(){return $J.isIdentifierStart}});Object.defineProperty(D2,"isKeyword",{enumerable:!0,get:function(){return M5.isKeyword}});Object.defineProperty(D2,"isReservedWord",{enumerable:!0,get:function(){return M5.isReservedWord}});Object.defineProperty(D2,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return M5.isStrictBindOnlyReservedWord}});Object.defineProperty(D2,"isStrictBindReservedWord",{enumerable:!0,get:function(){return M5.isStrictBindReservedWord}});Object.defineProperty(D2,"isStrictReservedWord",{enumerable:!0,get:function(){return M5.isStrictReservedWord}});var $J=JQ(),M5=ZQ()});var zQ=q((zO1,DJ)=>{var YQ=process.argv||[],T9=process.env,HV1=!(("NO_COLOR"in T9)||YQ.includes("--no-color"))&&(("FORCE_COLOR"in T9)||YQ.includes("--color")||process.platform==="win32"||import.meta.require!=null&&import.meta.require("tty").isatty(1)&&T9.TERM!=="dumb"||("CI"in T9)),VV1=(J,G,X=J)=>(H)=>{let V=""+H,Z=V.indexOf(G,J.length);return~Z?J+ZV1(V,G,X,Z)+G:J+V+G},ZV1=(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)},WQ=(J=HV1)=>{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")}};DJ.exports=WQ();DJ.exports.createColors=WQ});var UQ=q((KO1,KQ)=>{var QV1=/[|\\{}()[\]^$+*?.]/g;KQ.exports=function(J){if(typeof J!=="string")throw new TypeError("Expected a string");return J.replace(QV1,"\\$&")}});var RQ=q((UO1,FQ)=>{FQ.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 MJ=q((FO1,MQ)=>{function YV1(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 W0=RQ(),DQ={};for(N9 in W0)if(W0.hasOwnProperty(N9))DQ[W0[N9]]=N9;var N9,p=MQ.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(a1 in p)if(p.hasOwnProperty(a1)){if(!("channels"in p[a1]))throw new Error("missing channels property: "+a1);if(!("labels"in p[a1]))throw new Error("missing channel labels property: "+a1);if(p[a1].labels.length!==p[a1].channels)throw new Error("channel and label counts mismatch: "+a1);BQ=p[a1].channels,$Q=p[a1].labels,delete p[a1].channels,delete p[a1].labels,Object.defineProperty(p[a1],"channels",{value:BQ}),Object.defineProperty(p[a1],"labels",{value:$Q})}var BQ,$Q,a1;p.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]};p.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),D=function(f){return(z-f)/6/U+0.5};if(U===0)V=Z=0;else{if(Z=U/z,G=D(Q),X=D(Y),H=D(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]};p.rgb.hwb=function(J){var G=J[0],X=J[1],H=J[2],V=p.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]};p.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]};p.rgb.keyword=function(J){var G=DQ[J];if(G)return G;var X=1/0,H;for(var V in W0)if(W0.hasOwnProperty(V)){var Z=W0[V],Q=YV1(J,Z);if(Q<X)X=Q,H=V}return H};p.keyword.rgb=function(J){return W0[J]};p.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]};p.rgb.lab=function(J){var G=p.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]};p.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};p.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]};p.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]}};p.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]};p.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,D;switch(Z){default:case 6:case 0:z=Q,U=W,D=X;break;case 1:z=W,U=Q,D=X;break;case 2:z=X,U=Q,D=W;break;case 3:z=X,U=W,D=Q;break;case 4:z=W,U=X,D=Q;break;case 5:z=Q,U=X,D=W;break}return[z*255,U*255,D*255]};p.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]};p.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]};p.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]};p.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]};p.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]};p.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]};p.rgb.ansi16=function(J){var G=J[0],X=J[1],H=J[2],V=1 in arguments?arguments[1]:p.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};p.hsv.ansi16=function(J){return p.rgb.ansi16(p.hsv.rgb(J),J[2])};p.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};p.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]};p.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]};p.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};p.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]};p.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]};p.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]};p.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]};p.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]};p.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]};p.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]};p.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]};p.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]};p.apple.rgb=function(J){return[J[0]/65535*255,J[1]/65535*255,J[2]/65535*255]};p.rgb.apple=function(J){return[J[0]/255*65535,J[1]/255*65535,J[2]/255*65535]};p.gray.rgb=function(J){return[J[0]/100*255,J[0]/100*255,J[0]/100*255]};p.gray.hsl=p.gray.hsv=function(J){return[0,0,J[0]]};p.gray.hwb=function(J){return[0,100,J[0]]};p.gray.cmyk=function(J){return[0,0,0,J[0]]};p.gray.lab=function(J){return[J[0],0,0]};p.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};p.rgb.gray=function(J){var G=(J[0]+J[1]+J[2])/3;return[G/255*100]}});var fQ=q((RO1,OQ)=>{function WV1(){var J={},G=Object.keys(w9);for(var X=G.length,H=0;H<X;H++)J[G[H]]={distance:-1,parent:null};return J}function zV1(J){var G=WV1(),X=[J];G[J].distance=0;while(X.length){var H=X.pop(),V=Object.keys(w9[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 KV1(J,G){return function(X){return G(J(X))}}function UV1(J,G){var X=[G[J].parent,J],H=w9[G[J].parent][J],V=G[J].parent;while(G[V].parent)X.unshift(G[V].parent),H=KV1(w9[G[V].parent][V],H),V=G[V].parent;return H.conversion=X,H}var w9=MJ();OQ.exports=function(J){var G=zV1(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]=UV1(Q,G)}return X}});var jQ=q((BO1,qQ)=>{function BV1(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 $V1(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 OJ=MJ(),FV1=fQ(),N0={},RV1=Object.keys(OJ);RV1.forEach(function(J){N0[J]={},Object.defineProperty(N0[J],"channels",{value:OJ[J].channels}),Object.defineProperty(N0[J],"labels",{value:OJ[J].labels});var G=FV1(J),X=Object.keys(G);X.forEach(function(H){var V=G[H];N0[J][H]=$V1(V),N0[J][H].raw=BV1(V)})});qQ.exports=N0});var IQ=q(($O1,SQ)=>{function DV1(){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:E9(X,0)},G.color.ansi256={ansi256:k9(X,0)},G.color.ansi16m={rgb:b9(H,0)},G.bgColor.ansi={ansi:E9(X,10)},G.bgColor.ansi256={ansi256:k9(X,10)},G.bgColor.ansi16m={rgb:b9(H,10)};for(let V of Object.keys(w0)){if(typeof w0[V]!=="object")continue;const Z=w0[V];if(V==="ansi16")V="ansi";if("ansi16"in Z)G.color.ansi[V]=E9(Z.ansi16,0),G.bgColor.ansi[V]=E9(Z.ansi16,10);if("ansi256"in Z)G.color.ansi256[V]=k9(Z.ansi256,0),G.bgColor.ansi256[V]=k9(Z.ansi256,10);if("rgb"in Z)G.color.ansi16m[V]=b9(Z.rgb,0),G.bgColor.ansi16m[V]=b9(Z.rgb,10)}return G}var w0=jQ(),E9=(J,G)=>function(){return`\x1B[${J.apply(w0,arguments)+G}m`},k9=(J,G)=>function(){const X=J.apply(w0,arguments);return`\x1B[${38+G};5;${X}m`},b9=(J,G)=>function(){const X=J.apply(w0,arguments);return`\x1B[${38+G};2;${X[0]};${X[1]};${X[2]}m`};Object.defineProperty(SQ,"exports",{enumerable:!0,get:DV1})});var CQ=q((DO1,AQ)=>{AQ.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 PQ=q((MO1,LQ)=>{function OV1(J){if(J===0)return!1;return{level:J,hasBasic:!0,has256:J>=2,has16m:J>=3}}function fV1(J){if(E0===!1)return 0;if(K2("color=16m")||K2("color=full")||K2("color=truecolor"))return 3;if(K2("color=256"))return 2;if(J&&!J.isTTY&&E0!==!0)return 0;const G=E0?1:0;if(process.platform==="win32"){const X=MV1.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(X[0])>=10&&Number(X[2])>=10586)return Number(X[2])>=14931?3:2;return 1}if("CI"in h1){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((X)=>(X in h1))||h1.CI_NAME==="codeship")return 1;return G}if("TEAMCITY_VERSION"in h1)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h1.TEAMCITY_VERSION)?1:0;if(h1.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in h1){const X=parseInt((h1.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(h1.TERM_PROGRAM){case"iTerm.app":return X>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(h1.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h1.TERM))return 1;if("COLORTERM"in h1)return 1;if(h1.TERM==="dumb")return G;return G}function fJ(J){const G=fV1(J);return OV1(G)}var MV1=import.meta.require("os"),K2=CQ(),h1=process.env,E0;if(K2("no-color")||K2("no-colors")||K2("color=false"))E0=!1;else if(K2("color")||K2("colors")||K2("color=true")||K2("color=always"))E0=!0;if("FORCE_COLOR"in h1)E0=h1.FORCE_COLOR.length===0||parseInt(h1.FORCE_COLOR,10)!==0;LQ.exports={supportsColor:fJ,stdout:fJ(process.stdout),stderr:fJ(process.stderr)}});var kQ=q((OO1,EQ)=>{function wQ(J){if(J[0]==="u"&&J.length===5||J[0]==="x"&&J.length===3)return String.fromCharCode(parseInt(J.slice(1),16));return IV1.get(J)||J}function AV1(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(jV1))X.push(V[2].replace(SV1,(Q,Y,W)=>Y?wQ(Y):W));else throw new Error(`Invalid Chalk template style argument: ${Z} (in style '${J}')`);return X}function CV1(J){TQ.lastIndex=0;const G=[];let X;while((X=TQ.exec(J))!==null){const H=X[1];if(X[2]){const V=AV1(H,X[2]);G.push([H].concat(V))}else G.push([H])}return G}function NQ(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 qV1=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,TQ=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,jV1=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,SV1=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,IV1=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);EQ.exports=(J,G)=>{const X=[],H=[];let V=[];if(G.replace(qV1,(Z,Q,Y,W,z,U)=>{if(Q)V.push(wQ(Q));else if(W){const D=V.join("");V=[],H.push(X.length===0?D:NQ(J,X)(D)),X.push({inverse:Y,styles:CV1(W)})}else if(z){if(X.length===0)throw new Error("Found extraneous } in Chalk template literal");H.push(NQ(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 uQ=q((fO1,f5)=>{function bQ(J,G){G=G||{};const X=qJ?qJ.level:0;J.level=G.level===void 0?X:G.level,J.enabled="enabled"in G?G.enabled:J.level>0}function O5(J){if(!this||!(this instanceof O5)||this.template){const G={};return bQ(G,J),G.template=function(){const X=[].slice.call(arguments);return NV1.apply(null,[G.template].concat(X))},Object.setPrototypeOf(G,O5.prototype),Object.setPrototypeOf(G.template,G),G.template.constructor=O5,G.template}bQ(this,J)}function v9(J,G,X){const H=function(){return TV1.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__=PV1,H}function TV1(){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=b1.dim.open;if(vQ&&this.hasGrey)b1.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 b1.dim.open=H,X}function NV1(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 LV1(J,H.join(""))}var jJ=UQ(),b1=IQ(),qJ=PQ().stdout,LV1=kQ(),vQ=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),gQ=["ansi","ansi","ansi256","ansi16m"],_Q=new Set(["gray"]),k0=Object.create(null);if(vQ)b1.blue.open="\x1B[94m";for(let J of Object.keys(b1))b1[J].closeRe=new RegExp(jJ(b1[J].close),"g"),k0[J]={get(){const G=b1[J];return v9.call(this,this._styles?this._styles.concat(G):[G],this._empty,J)}};k0.visible={get(){return v9.call(this,this._styles||[],!0,"visible")}};b1.color.closeRe=new RegExp(jJ(b1.color.close),"g");for(let J of Object.keys(b1.color.ansi)){if(_Q.has(J))continue;k0[J]={get(){const G=this.level;return function(){const H={open:b1.color[gQ[G]][J].apply(null,arguments),close:b1.color.close,closeRe:b1.color.closeRe};return v9.call(this,this._styles?this._styles.concat(H):[H],this._empty,J)}}}}b1.bgColor.closeRe=new RegExp(jJ(b1.bgColor.close),"g");for(let J of Object.keys(b1.bgColor.ansi)){if(_Q.has(J))continue;const G="bg"+J[0].toUpperCase()+J.slice(1);k0[G]={get(){const X=this.level;return function(){const V={open:b1.bgColor[gQ[X]][J].apply(null,arguments),close:b1.bgColor.close,closeRe:b1.bgColor.closeRe};return v9.call(this,this._styles?this._styles.concat(V):[V],this._empty,J)}}}}var PV1=Object.defineProperties(()=>{},k0);Object.defineProperties(O5.prototype,k0);f5.exports=O5();f5.exports.supportsColor=qJ;f5.exports.default=f5.exports});var pQ=q((aQ)=>{function mQ(J){if(typeof WeakMap!="function")return null;var G=new WeakMap,X=new WeakMap;return(mQ=function(H){return H?X:G})(J)}function wV1(J,G){if(!G&&J&&J.__esModule)return J;if(J===null||typeof J!="object"&&typeof J!="function")return{default:J};var X=mQ(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 kV1(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:xQ(xQ(J.white,J.bgRed),J.bold)}}function gV1(J,G){let X="";for(let{type:H,value:V}of lQ(G)){const Z=J[H];if(Z)X+=V.split(bV1).map((Q)=>Z(Q)).join("\n");else X+=V}return X}function iQ(J){return cQ.isColorSupported||J.forceColor}function _V1(J){if(J){var G;return(G=SJ)!=null||(SJ=IJ.createColors(!0)),SJ}return cQ}function uV1(J,G={}){if(J!==""&&iQ(G)){const X=kV1(_V1(G.forceColor));return gV1(X,J)}else return J}Object.defineProperty(aQ,"__esModule",{value:!0});aQ.default=uV1;aQ.shouldHighlight=iQ;var hQ=dZ(),yQ=QQ(),IJ=wV1(zQ(),!0),cQ=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?IJ.createColors(!1):IJ.default,xQ=(J,G)=>(X)=>J(G(X)),EV1=new Set(["as","async","from","get","of","set"]),bV1=/\r\n|[\n\r\u2028\u2029]/,vV1=/^[()[\]{}]$/,lQ;{const J=/^[a-z][\w-]*$/i,G=function(X,H,V){if(X.type==="name"){if(yQ.isKeyword(X.value)||yQ.isStrictReservedWord(X.value,!0)||EV1.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"&&vV1.test(X.value))return"bracket";if(X.type==="invalid"&&(X.value==="@"||X.value==="#"))return"punctuator";return X.type};lQ=function*(X){let H;while(H=hQ.default.exec(X)){const V=hQ.matchToToken(H);yield{type:G(V,H.index,X),value:V.value}}}}var SJ=void 0;{let J,G;aQ.getChalk=({forceColor:X})=>{var H;if((H=J)!=null||(J=uQ()),X){var V;return(V=G)!=null||(G=new J.constructor({enabled:!0,level:1})),G}return J}}});var sQ=q((SO1,AJ)=>{var rQ=process.argv||[],g9=process.env,xV1=!(("NO_COLOR"in g9)||rQ.includes("--no-color"))&&(("FORCE_COLOR"in g9)||rQ.includes("--color")||process.platform==="win32"||import.meta.require!=null&&import.meta.require("tty").isatty(1)&&g9.TERM!=="dumb"||("CI"in g9)),mV1=(J,G,X=J)=>(H)=>{let V=""+H,Z=V.indexOf(G,J.length);return~Z?J+cV1(V,G,X,Z)+G:J+V+G},cV1=(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)},dQ=(J=xV1)=>{let G=J?mV1:()=>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")}};AJ.exports=dQ();AJ.exports.createColors=dQ});var PJ=q((XY)=>{function JY(J){if(typeof WeakMap!="function")return null;var G=new WeakMap,X=new WeakMap;return(JY=function(H){return H?X:G})(J)}function lV1(J,G){if(!G&&J&&J.__esModule)return J;if(J===null||typeof J!="object"&&typeof J!="function")return{default:J};var X=JY(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 aV1(J){if(J){var G;return(G=CJ)!=null||(CJ=LJ.createColors(!0)),CJ}return iV1}function pV1(J){return{gutter:J.gray,marker:nQ(J.red,J.bold),message:nQ(J.red,J.bold)}}function rV1(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 D=Math.max(Y-(Z+1),0),f=Math.min(G.length,z+Q);if(Y===-1)D=0;if(z===-1)f=G.length;const j=z-Y,I={};if(j)for(let g=0;g<=j;g++){const C=g+Y;if(!W)I[C]=!0;else if(g===0){const T=G[C-1].length;I[C]=[W,T-W+1]}else if(g===j)I[C]=[0,U];else{const T=G[C-g].length;I[C]=[0,T]}}else if(W===U)if(W)I[Y]=[W,0];else I[Y]=!0;else I[Y]=[W,U-W];return{start:D,end:f,markerLines:I}}function GY(J,G,X={}){const H=(X.highlightCode||X.forceColor)&&tQ.shouldHighlight(X),V=aV1(X.forceColor),Z=pV1(V),Q=(g,C)=>{return H?g(C):C},Y=J.split(eQ),{start:W,end:z,markerLines:U}=rV1(G,Y,X),D=G.start&&typeof G.start.column==="number",f=String(z).length;let I=(H?tQ.default(J,X):J).split(eQ,z).slice(W,z).map((g,C)=>{const T=W+1+C,H1=` ${` ${T}`.slice(-f)} |`,J1=U[T],R1=!U[T+1];if(J1){let d="";if(Array.isArray(J1)){const C1=g.slice(0,Math.max(J1[0]-1,0)).replace(/[^\t]/g," "),L1=J1[1]||1;if(d=["\n ",Q(Z.gutter,H1.replace(/\d/g," "))," ",C1,Q(Z.marker,"^").repeat(L1)].join(""),R1&&X.message)d+=" "+Q(Z.message,X.message)}return[Q(Z.marker,">"),Q(Z.gutter,H1),g.length>0?` ${g}`:"",d].join("")}else return` ${Q(Z.gutter,H1)}${g.length>0?` ${g}`:""}`}).join("\n");if(X.message&&!D)I=`${" ".repeat(f+1)}${X.message}\n${I}`;if(H)return V.reset(I);else return I}function dV1(J,G,X,H={}){if(!oQ){oQ=!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),GY(J,{start:{column:X,line:G}},H)}Object.defineProperty(XY,"__esModule",{value:!0});XY.codeFrameColumns=GY;XY.default=dV1;var tQ=pQ(),LJ=lV1(sQ(),!0),iV1=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?LJ.createColors(!1):LJ.default,nQ=(J,G)=>(X)=>J(G(X)),CJ=void 0,oQ=!1,eQ=/\r\n|[\n\r\u2028\u2029]/});var YY=q((ZY)=>{Object.defineProperty(ZY,"__esModule",{value:!0});ZY.default=void 0;var HY=Y1(),nV1=HY,{react:oV1}=HY,{cloneNode:eV1,jsxExpressionContainer:JZ1,variableDeclaration:GZ1,variableDeclarator:XZ1}=nV1,HZ1={ReferencedIdentifier(J,G){if(J.isJSXIdentifier()&&oV1.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 VY{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(HZ1,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=XZ1(G,this.path.node),H=this.attachAfter?"insertAfter":"insertBefore",[V]=J[H]([J.isVariableDeclarator()?X:GZ1("var",[X])]),Z=this.path.parentPath;if(Z.isJSXElement()&&this.path.container===Z.node.children)G=JZ1(G);return this.path.replaceWith(eV1(G)),J.isVariableDeclarator()?V.get("init"):V.get("declarations.0.init")}}ZY.default=VY});var KY=q((WY)=>{Object.defineProperty(WY,"__esModule",{value:!0});WY.hooks=void 0;var CO1=WY.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 _9=q((DY)=>{function zZ1(){var J;if($Y.call(this),this.resync(),RY.call(this)){TJ.call(this);return}if(!((J=this.opts)!=null&&J.noScope))FY.call(this);this.shareCommentsWithSiblings(),BY.call(this),TJ.call(this)}function FY(){const J=WZ1(this.node,!1,!1,!0);Object.keys(J).forEach((G)=>this.scope.removeBinding(G))}function RY(){if(this.parentPath){for(let J of VZ1.hooks)if(J(this,this.parentPath))return!0}}function BY(){if(Array.isArray(this.container))this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1);else QZ1._replaceWith.call(this,null)}function TJ(){if(this._traverseFlags|=UY.SHOULD_SKIP|UY.REMOVED,this.parent)ZZ1.getCachedPaths(this.hub,this.parent).delete(this.node);this.node=null}function $Y(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}Object.defineProperty(DY,"__esModule",{value:!0});DY._assertUnremoved=$Y;DY._callRemovalHooks=RY;DY._markRemoved=TJ;DY._remove=BY;DY._removeFromScope=FY;DY.remove=zZ1;var VZ1=KY(),ZZ1=X0(),QZ1=NJ(),UY=l2(),YZ1=Y1(),{getBindingIdentifiers:WZ1}=YZ1});var gJ=q((SY)=>{function EZ1(J){u9._assertUnremoved.call(this);const G=q5.call(this,J),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||OY(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(MY(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 bJ(J,G){this.updateSiblingKeys(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)Y.pushContext(this.context)}const V=OZ1._getQueueContexts.call(this);for(let Z of X){Z.setScope(),Z.debug("Inserted.");for(let Q of V)Q.maybeQueue(Z,!0)}return X}function vJ(J){return bJ.call(this,this.key,J)}function fY(J){return bJ.call(this,this.key+1,J)}function jY(J){return TZ1(J.parent)&&(qY(J.parent.expressions)!==J.node||jY(J.parentPath))}function kZ1(J,G){if(!AZ1(J)||!PZ1(J.left))return!1;const X=G.getBlockParent();return X.hasOwnBinding(J.left.name)&&X.getOwnBinding(J.left.name).constantViolations.length<=1}function bZ1(J){if(u9._assertUnremoved.call(this),this.isSequenceExpression())return qY(this.get("expressions")).insertAfter(J);const G=q5.call(this,J),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||OY(H)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertAfter(G.map((V)=>{return LZ1(V)?EJ(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 jZ1(Z),V.replaceWith(IZ1(qZ1([],Z),[])),V.get("callee.body").insertAfter(G),[V];if(jY(V))G.unshift(Z);else if(CZ1(Z)&&NZ1(Z.callee))G.unshift(Z),G.push(wZ1());else if(kZ1(Z,Q))G.unshift(Z),G.push(wJ(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(EJ(SZ1("=",wJ(Y),Z))),G.push(EJ(wJ(Y)))}}return this.replaceExpressionWithStatements(G)}else if(Array.isArray(this.container))return fY.call(this,G);else if(this.isStatementOrBlock()){const V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(MY(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 vZ1(J,G){if(!this.parent)return;const X=DZ1.getCachedPaths(this.hub,this.parent)||[];for(let[,H]of X)if(typeof H.key==="number"&&H.key>=J)H.key+=G}function q5(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 kJ.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 gZ1(J,G){u9._assertUnremoved.call(this),G=q5.call(this,G);const X=kJ.default.get({parentPath:this,parent:this.node,container:this.node[J],listKey:J,key:0}).setContext(this.context);return vJ.call(X,G)}function _Z1(J,G){u9._assertUnremoved.call(this);const X=q5.call(this,G),H=this.node[J];return kJ.default.get({parentPath:this,parent:this.node,container:H,listKey:J,key:H.length}).setContext(this.context).replaceWithMultiple(X)}function uZ1(J=this.scope){return new MZ1.default(this,J).run()}Object.defineProperty(SY,"__esModule",{value:!0});SY._containerInsert=bJ;SY._containerInsertAfter=fY;SY._containerInsertBefore=vJ;SY._verifyNodeList=q5;SY.hoist=uZ1;SY.insertAfter=bZ1;SY.insertBefore=EZ1;SY.pushContainer=_Z1;SY.unshiftContainer=gZ1;SY.updateSiblingKeys=vZ1;var DZ1=X0(),MZ1=YY(),kJ=l2(),OZ1=C0(),u9=_9(),fZ1=Y1(),{arrowFunctionExpression:qZ1,assertExpression:jZ1,assignmentExpression:SZ1,blockStatement:MY,callExpression:IZ1,cloneNode:wJ,expressionStatement:EJ,isAssignmentExpression:AZ1,isCallExpression:CZ1,isExportNamedDeclaration:OY,isExpression:LZ1,isIdentifier:PZ1,isSequenceExpression:TZ1,isSuper:NZ1,thisExpression:wZ1}=fZ1,qY=(J)=>J[J.length-1]});var NJ=q((EY)=>{function OQ1(J){var G;this.resync(),J=hJ._verifyNodeList.call(this,J),QQ1(J[0],this.node),YQ1(J[J.length-1],this.node),(G=PY.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 fQ1(J){this.resync();let G;try{J=`(${J})`,G=tZ1.parse(J)}catch(H){const V=H.loc;if(V)H.message+=" - make sure this is an expression.\n"+dZ1.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 uJ.default.removeProperties(X),this.replaceWith(X)}function qQ1(J){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");let G=J instanceof sZ1.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()&&!FQ1(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")&&NY(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G)&&!this.parentPath.isExportDefaultDeclaration())G=HQ1(G),X="expression"}if(this.isNodeType("Expression")&&RQ1(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G))return this.replaceExpressionWithStatements([G])}const H=this.node;if(H)WQ1(G,H),$Q1(H);return wY.call(this,G),this.type=G.type,this.setScope(),this.requeue(),[X?this.get(X):this]}function wY(J){var G;if(!this.container)throw new ReferenceError("Container is falsy");if(this.inList)LY(this.parent,this.key,[J]);else LY(this.parent,this.key,J);this.debug(`Replace with ${J==null?void 0:J.type}`),(G=PY.getCachedPaths(this.hub,this.parent))==null||G.set(J,this).delete(this.node),this.node=this.container[this.key]=J}function jQ1(J){this.resync();const G=[],X=h9(J,G);if(X){for(let f of G)this.scope.push({id:f});return this.replaceWith(X)[0].get("expressions")}const H=this.getFunctionParent(),V=H==null?void 0:H.is("async"),Z=H==null?void 0:H.is("generator"),Q=oZ1([],JQ1(J));this.replaceWith(GQ1(Q,[]));const Y=this.get("callee");Y.get("body").scope.hoistVariables((f)=>this.scope.push({id:f}));const W=Y.getCompletionRecords();for(let f of W){if(!f.isExpressionStatement())continue;const j=f.findParent((I)=>I.isLoop());if(j){let I=j.getData("expressionReplacementReturnUid");if(!I)I=Y.scope.generateDeclaredUidIdentifier("ret"),Y.get("body").pushContainer("body",CY(yJ(I))),j.setData("expressionReplacementReturnUid",I);else I=ZQ1(I.name);f.get("expression").replaceWith(TY("=",yJ(I),f.node.expression))}else f.replaceWith(CY(f.node.expression))}Y.arrowFunctionToExpression();const z=Y,U=V&&uJ.default.hasType(this.get("callee.body").node,"AwaitExpression",IY),D=Z&&uJ.default.hasType(this.get("callee.body").node,"YieldExpression",IY);if(U){if(z.set("async",!0),!D)this.replaceWith(eZ1(this.node))}if(D)z.set("generator",!0),this.replaceWith(MQ1(this.node,!0));return z.get("body.body")}function h9(J,G){const X=[];let H=!0;for(let V of J){if(!AY(V))H=!1;if(NY(V))X.push(V);else if(KQ1(V))X.push(V.expression);else if(BQ1(V)){if(V.kind!=="var")return;for(let Z of V.declarations){const Q=VQ1(Z);for(let Y of Object.keys(Q))G.push(yJ(Q[Y]));if(Z.init)X.push(TY("=",Z.id,Z.init))}H=!0}else if(UQ1(V)){const Z=V.consequent?h9([V.consequent],G):_J(),Q=V.alternate?h9([V.alternate],G):_J();if(!Z||!Q)return;X.push(XQ1(V.test,Z,Q))}else if(zQ1(V)){const Z=h9(V.body,G);if(!Z)return;X.push(Z)}else if(AY(V)){if(J.indexOf(V)===0)H=!0}else return}if(H)X.push(_J());if(X.length===1)return X[0];else return DQ1(X)}function SQ1(J){if(this.resync(),Array.isArray(J))if(Array.isArray(this.container)){J=hJ._verifyNodeList.call(this,J);const G=hJ._containerInsertAfter.call(this,J);return this.remove(),G}else return this.replaceWithMultiple(J);else return this.replaceWith(J)}Object.defineProperty(EY,"__esModule",{value:!0});EY._replaceWith=wY;EY.replaceExpressionWithStatements=jQ1;EY.replaceInline=SQ1;EY.replaceWith=qQ1;EY.replaceWithMultiple=OQ1;EY.replaceWithSourceString=fQ1;var dZ1=PJ(),uJ=B5(),sZ1=l2(),PY=X0(),hJ=gJ(),tZ1=y5(),nZ1=Y1(),{FUNCTION_TYPES:IY,arrowFunctionExpression:oZ1,assignmentExpression:TY,awaitExpression:eZ1,blockStatement:JQ1,buildUndefinedNode:_J,callExpression:GQ1,cloneNode:yJ,conditionalExpression:XQ1,expressionStatement:HQ1,getBindingIdentifiers:VQ1,identifier:ZQ1,inheritLeadingComments:QQ1,inheritTrailingComments:YQ1,inheritsComments:WQ1,isBlockStatement:zQ1,isEmptyStatement:AY,isExpression:NY,isExpressionStatement:KQ1,isIfStatement:UQ1,isProgram:FQ1,isStatement:RQ1,isVariableDeclaration:BQ1,removeComments:$Q1,returnStatement:CY,sequenceExpression:DQ1,validate:LY,yieldExpression:MQ1}=nZ1});var _Y=q((gY)=>{function kY(J){return NQ1.includes(J)}function kQ1(J){return wQ1.includes(J)}function bQ1(J){return EQ1.includes(J)}function vQ1(){const J=this.evaluate();if(J.confident)return!!J.value}function k2(J,G){if(!G.confident)return;G.deoptPath=J,G.confident=!1}function p1(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{k2(J,G);return}}else{const V={resolved:!1};H.set(X,V);const Z=gQ1(J,G);if(G.confident)V.resolved=!0,V.value=Z;return Z}}function gQ1(J,G){if(!G.confident)return;if(J.isSequenceExpression()){const X=J.get("expressions");return p1(X[X.length-1],G)}if(J.isStringLiteral()||J.isNumericLiteral()||J.isBooleanLiteral())return J.node.value;if(J.isNullLiteral())return null;if(J.isTemplateLiteral())return vY(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 vY(J,J.node.quasi.quasis,G,!0)}if(J.isConditionalExpression()){const X=p1(J.get("test"),G);if(!G.confident)return;if(X)return p1(J.get("consequent"),G);else return p1(J.get("alternate"),G)}if(J.isExpressionWrapper())return p1(J.get("expression"),G);if(J.isMemberExpression()&&!J.parentPath.isCallExpression({callee:J.node})){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=p1(X,G),!G.confident)return}else if(X.isIdentifier())Q=X.node.name;if((Z==="number"||Z==="string")&&Q!=null&&(typeof Q==="number"||typeof Q==="string"))return V[Q]}}if(J.isReferencedIdentifier()){const X=J.scope.getBinding(J.node.name);if(X){if(X.constantViolations.length>0||J.node.start<X.path.node.end){k2(X.path,G);return}if(X.hasValue)return X.value}const H=J.node.name;if(bY.has(H)){if(!X)return bY.get(H);k2(X.path,G);return}const V=J.resolve();if(V===J){k2(J,G);return}else return p1(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=p1(X,G);if(!G.confident)return;switch(J.node.operator){case"!":return!H;case"+":return+H;case"-":return-H;case"~":return~H;case"typeof":return typeof H}}if(J.isArrayExpression()){const X=[],H=J.get("elements");for(let V of H){const Z=V.evaluate();if(Z.confident)X.push(Z.value);else{k2(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()){k2(V,G);return}const Z=V.get("key");let Q;if(V.node.computed){if(Q=Z.evaluate(),!Q.confident){k2(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){k2(W.deopt,G);return}W=W.value,X[Q]=W}return X}if(J.isLogicalExpression()){const X=G.confident,H=p1(J.get("left"),G),V=G.confident;G.confident=X;const Z=p1(J.get("right"),G),Q=G.confident;switch(J.node.operator){case"||":if(G.confident=V&&(!!H||Q),!G.confident)return;return H||Z;case"&&":if(G.confident=V&&(!H||Q),!G.confident)return;return H&&Z;case"??":if(G.confident=V&&(H!=null||Q),!G.confident)return;return H!=null?H:Z}}if(J.isBinaryExpression()){const X=p1(J.get("left"),G);if(!G.confident)return;const H=p1(J.get("right"),G);if(!G.confident)return;switch(J.node.operator){case"-":return X-H;case"+":return X+H;case"/":return X/H;case"*":return X*H;case"%":return X%H;case"**":return Math.pow(X,H);case"<":return X<H;case">":return X>H;case"<=":return X<=H;case">=":return X>=H;case"==":return X==H;case"!=":return X!=H;case"===":return X===H;case"!==":return X!==H;case"|":return X|H;case"&":return X&H;case"^":return X^H;case"<<":return X<<H;case">>":return X>>H;case">>>":return X>>>H}}if(J.isCallExpression()){const X=J.get("callee");let H,V;if(X.isIdentifier()&&!J.scope.getBinding(X.node.name)&&(kY(X.node.name)||kQ1(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()&&kY(Z.node.name)&&!bQ1(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)=>p1(Q,G));if(!G.confident)return;return V.apply(H,Z)}}k2(J,G)}function vY(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(p1(W,X))}if(!X.confident)return;return V}function _Q1(){const J={confident:!0,deoptPath:null,seen:new Map};let G=p1(this,J);if(!J.confident)G=void 0;return{confident:J.confident,deopt:J.deoptPath,value:G}}Object.defineProperty(gY,"__esModule",{value:!0});gY.evaluate=_Q1;gY.evaluateTruthy=vQ1;var NQ1=["Number","String","Math"],wQ1=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],EQ1=["random"],bY=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]])});var yY=q((uY)=>{function xJ(J){return{code:(G)=>`/* @babel/template */;\n${G}`,validate:()=>{},unwrap:(G)=>{return J(G.program.body.slice(1))}}}Object.defineProperty(uY,"__esModule",{value:!0});uY.statements=uY.statement=uY.smart=uY.program=uY.expression=void 0;var yQ1=Y1(),{assertExpressionStatement:xQ1}=yQ1,EO1=uY.smart=xJ((J)=>{if(J.length>1)return J;else return J[0]}),kO1=uY.statements=xJ((J)=>J),bO1=uY.statement=xJ((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]}),mQ1=uY.expression={code:(J)=>`(\n${J}\n)`,validate:(J)=>{if(J.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(mQ1.unwrap(J).start===0)throw new Error("Parse result included parens.")},unwrap:({program:J})=>{const[G]=J.body;return xQ1(G),G.expression}},vO1=uY.program={code:(J)=>J,validate:()=>{},unwrap:(J)=>J.program}});var y9=q((xY)=>{function rQ1(J,G){if(J==null)return{};var X={},H=Object.keys(J),V,Z;for(Z=0;Z<H.length;Z++){if(V=H[Z],G.indexOf(V)>=0)continue;X[V]=J[V]}return X}function dQ1(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 sQ1(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=rQ1(G,pQ1);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 tQ1(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(xY,"__esModule",{value:!0});xY.merge=dQ1;xY.normalizeReplacements=tQ1;xY.validate=sQ1;var pQ1=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]});var mJ=q((cY)=>{function RY1(J,G,X){const{placeholderWhitelist:H,placeholderPattern:V,preserveComments:Z,syntacticPlaceholders:Q}=X,Y=DY1(G,X.parser,Q);KY1(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 UY1(Y,BY1,W),Object.assign({ast:Y},W.syntactic.placeholders.length?W.syntactic:W.legacy)}function BY1(J,G,X){var H;let V,Z=X.syntactic.placeholders.length>0;if(x9(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(QY1(J)||YY1(J))V=J.name;else if(mY(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||FY1).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(mY(J)||x9(J,{expectedNode:"StringLiteral"}))W="string";else if(WY1(Q)&&Y==="arguments"||HY1(Q)&&Y==="arguments"||ZY1(Q)&&Y==="params")W="param";else if(VY1(Q)&&!x9(J))W="statement",G=G.slice(0,-1);else if(zY1(J)&&x9(J))W="statement";else W="other";const{placeholders:z,placeholderNames:U}=!Z?X.legacy:X.syntactic;z.push({name:V,type:W,resolve:(D)=>$Y1(D,G),isDuplicate:U.has(V)}),U.add(V)}function $Y1(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 DY1(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 GY1.parse(J,G)}catch(V){const Z=V.loc;if(Z)V.message+="\n"+XY1.codeFrameColumns(J,{start:Z}),V.code="BABEL_TEMPLATE_PARSE_ERROR";throw V}}Object.defineProperty(cY,"__esModule",{value:!0});cY.default=RY1;var JY1=Y1(),GY1=y5(),XY1=PJ(),{isCallExpression:HY1,isExpressionStatement:VY1,isFunction:ZY1,isIdentifier:QY1,isJSXIdentifier:YY1,isNewExpression:WY1,isPlaceholder:x9,isStatement:zY1,isStringLiteral:mY,removePropertiesDeep:KY1,traverse:UY1}=JY1,FY1=/^[_$A-Z0-9]+$/});var iJ=q((aY)=>{function IY1(J,G){const X=lJ(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
8
+ placeholder you may want to consider passing one of the following options to @babel/template:
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{AY1(H,X,G&&G[H.name]||null)}catch(V){throw V.message=`@babel/template placeholder "${H.name}": ${V.message}`,V}}),X}function AY1(J,G,X){if(J.isDuplicate){if(Array.isArray(X))X=X.map((Y)=>lJ(Y));else if(typeof X==="object")X=lJ(X)}const{parent:H,key:V,index:Z}=J.resolve(G);if(J.type==="string"){if(typeof X==="string")X=SY1(X);if(!X||!jY1(X))throw new Error("Expected string substitution")}else if(J.type==="statement"){if(Z===void 0){if(!X)X=qY1();else if(Array.isArray(X))X=fY1(X);else if(typeof X==="string")X=cJ(m9(X));else if(!lY(X))X=cJ(X)}else if(X&&!Array.isArray(X)){if(typeof X==="string")X=m9(X);if(!lY(X))X=cJ(X)}}else if(J.type==="param"){if(typeof X==="string")X=m9(X);if(Z===void 0)throw new Error("Assertion failure.")}else{if(typeof X==="string")X=m9(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)iY(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);iY(H,V,Y),H[V]=Y}}Object.defineProperty(aY,"__esModule",{value:!0});aY.default=IY1;var OY1=Y1(),{blockStatement:fY1,cloneNode:lJ,emptyStatement:qY1,expressionStatement:cJ,identifier:m9,isStatement:lY,isStringLiteral:jY1,stringLiteral:SY1,validate:iY}=OY1});var rY=q((pY)=>{function NY1(J,G,X){G=J.code(G);let H;return(V)=>{const Z=LY1.normalizeReplacements(V);if(!H)H=PY1.default(J,G,X);return J.unwrap(TY1.default(H,Z))}}Object.defineProperty(pY,"__esModule",{value:!0});pY.default=NY1;var LY1=y9(),PY1=mJ(),TY1=iJ()});var sY=q((dY)=>{function vY1(J,G,X){const{metadata:H,names:V}=gY1(J,G,X);return(Z)=>{const Q={};return Z.forEach((Y,W)=>{Q[V[W]]=Y}),(Y)=>{const W=EY1.normalizeReplacements(Y);if(W)Object.keys(W).forEach((z)=>{if(hasOwnProperty.call(Q,z))throw new Error("Unexpected replacement overlap.")});return J.unwrap(bY1.default(H,W?Object.assign(W,Q):Q))}}}function gY1(J,G,X){let H="BABEL_TPL$";const V=G.join("");do H="$$"+H;while(V.includes(H));const{names:Z,code:Q}=_Y1(G,H);return{metadata:kY1.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 _Y1(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(dY,"__esModule",{value:!0});dY.default=vY1;var EY1=y9(),kY1=mJ(),bY1=iJ()});var XW=q((GW)=>{function JW(J,G){const X=new WeakMap,H=new WeakMap,V=G||M2.validate(null);return Object.assign((Z,...Q)=>{if(typeof Z==="string"){if(Q.length>1)throw new Error("Unexpected extra params.");return eY(tY.default(J,Z,M2.merge(V,M2.validate(Q[0]))))}else if(Array.isArray(Z)){let Y=X.get(Z);if(!Y)Y=nY.default(J,Z,V),X.set(Z,Y);return eY(Y(Q))}else if(typeof Z==="object"&&Z){if(Q.length>0)throw new Error("Unexpected extra params.");return JW(J,M2.merge(V,M2.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 tY.default(J,Z,M2.merge(M2.merge(V,M2.validate(Q[0])),oY))()}else if(Array.isArray(Z)){let Y=H.get(Z);if(!Y)Y=nY.default(J,Z,M2.merge(V,oY)),H.set(Z,Y);return Y(Q)()}throw new Error(`Unexpected template param ${typeof Z}`)}})}function eY(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(GW,"__esModule",{value:!0});GW.default=JW;var M2=y9(),tY=rY(),nY=sY(),oY=M2.validate({placeholderPattern:!1})});var ZW=q((HW)=>{Object.defineProperty(HW,"__esModule",{value:!0});HW.statements=HW.statement=HW.smart=HW.program=HW.expression=HW.default=void 0;var j5=yY(),S5=XW(),aJ=HW.smart=S5.default(j5.smart),yY1=HW.statement=S5.default(j5.statement),xY1=HW.statements=S5.default(j5.statements),mY1=HW.expression=S5.default(j5.expression),cY1=HW.program=S5.default(j5.program),cO1=HW.default=Object.assign(aJ.bind(void 0),{smart:aJ,statement:yY1,statements:xY1,expression:mY1,program:cY1,ast:aJ.ast})});var BW=q((RW)=>{function OW1(){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(oY1(J))J=zW(J.name)}return J}function fW1(){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(QW1(J.node));else V="expression",X.push(WW(J.node));this.node.body=tY1(X);const Q=this.get(H);return J.setup(Q,Z?Q.node[Z]:Q.node,Z,V),this.node}function qW1(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");UW(this)}function jW1(J,G){J.node.type=G}function SW1({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}=UW(H,X,J,G);if(Q.ensureBlock(),jW1(Q,"FunctionExpression"),!X){const Y=Z?null:Q.scope.generateUidIdentifier("arrowCheckId");if(Y)Q.parentPath.scope.push({id:Y,init:VW1([])});return Q.get("body").unshiftContainer("body",WW(b0(this.hub.addHelper("newArrowCheck"),[I5(),Y?j1(Y.name):j1(Z)]))),Q.replaceWith(b0(U2(Q.node,j1("bind")),[Y?j1(Y.name):I5()])),Q.get("callee.object")}return Q}function UW(J,G=!0,X=!0,H=!0){let V,Z=J.findParent((j)=>{if(j.isArrowFunctionExpression()){var I;return(I=V)!=null||(V=j),!1}return j.isFunction()||j.isProgram()||j.isClassProperty({static:!1})||j.isClassPrivateProperty({static:!1})});const Q=Z.isClassMethod({kind:"constructor"});if(Z.isClassProperty()||Z.isClassPrivateProperty())if(V)Z=V;else if(X)J.replaceWith(b0(sJ([],KW(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:D}=EW1(J);if(Q&&D.length>0){if(!X)throw D[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 D[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 j=[];Z.traverse(IW1,{allSuperCalls:j});const I=TW1(Z);j.forEach((g)=>{const C=j1(I);C.loc=g.node.callee.loc,g.get("callee").replaceWith(C)})}if(W.length>0){const j=A5(Z,"arguments",()=>{const I=()=>j1("arguments");if(Z.scope.path.isProgram())return nY1(pJ("===",zW1("typeof",I()),zW("undefined")),Z.scope.buildUndefinedNode(),I());else return I()});W.forEach((I)=>{const g=j1(j);g.loc=I.node.loc,I.replaceWith(g)})}if(z.length>0){const j=A5(Z,"newtarget",()=>XW1(j1("new"),j1("target")));z.forEach((I)=>{const g=j1(j);g.loc=I.node.loc,I.replaceWith(g)})}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,g)=>I.concat(CW1(g)),[]).forEach((I)=>{const g=I.node.computed?"":I.get("property").node.name,C=I.parentPath,T=C.isAssignmentExpression({left:I.node}),E=C.isCallExpression({callee:I.node}),H1=C.isTaggedTemplateExpression({tag:I.node}),J1=NW1(Z,T,g),R1=[];if(I.node.computed)R1.push(I.get("property").node);if(T){const C1=C.node.right;R1.push(C1)}const d=b0(j1(J1),R1);if(E)C.unshiftContainer("arguments",I5()),I.replaceWith(U2(d,j1("call"))),Y.push(C.get("arguments.0"));else if(T)C.replaceWith(d);else if(H1)I.replaceWith(b0(U2(d,j1("bind"),!1),[I5()])),Y.push(I.get("arguments.0"));else I.replaceWith(d)})}let f;if(Y.length>0||!G){if(f=PW1(Z,Q),G||Q&&FW(Z)){if(Y.forEach((j)=>{const I=j.isJSX()?eY1(f):j1(f);I.loc=j.node.loc,j.replaceWith(I)}),!G)f=null}}return{thisBinding:f,fnPath:J}}function AW1(J){return GW1.includes(J)}function CW1(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=AW1(H);if(J.node.computed){const Q=J.scope.generateDeclaredUidIdentifier("tmp"),Y=J.node.object,W=J.node.property;X.get("left").replaceWith(U2(Y,z0("=",Q,W),!0)),X.get("right").replaceWith(G(Z?"=":H,U2(Y,j1(Q.name),!0),V))}else{const Q=J.node.object,Y=J.node.property;X.get("left").replaceWith(U2(Q,Y)),X.get("right").replaceWith(G(Z?"=":H,U2(Q,j1(Y.name)),V))}if(Z)X.replaceWith(JW1(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=[z0("=",H,U2(J.node.object,V?z0("=",V,J.node.property):J.node.property,J.node.computed)),z0("=",U2(J.node.object,V?j1(V.name):J.node.property,J.node.computed),pJ(J.parentPath.node.operator[0],j1(H.name),HW1(1)))];if(!J.parentPath.node.prefix)Z.push(j1(H.name));X.replaceWith(YW1(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 z0("=",H,V);else return pJ(X,H,V)}}function FW(J){return J.isClassMethod()&&!!J.parentPath.parentPath.node.superClass}function PW1(J,G){return A5(J,"this",(X)=>{if(!G||!FW(J))return I5();J.traverse(LW1,{supers:new WeakSet,thisBinding:X})})}function TW1(J){return A5(J,"supercall",()=>{const G=J.scope.generateUidIdentifier("args");return sJ([ZW1(G)],b0(rJ(),[WW1(j1(G.name))]))})}function NW1(J,G,X){return A5(J,`superprop_${G?"set":"get"}:${X||""}`,()=>{const V=[];let Z;if(X)Z=U2(rJ(),j1(X));else{const Q=J.scope.generateUidIdentifier("prop");V.unshift(Q),Z=U2(rJ(),j1(Q.name),!0)}if(G){const Q=J.scope.generateUidIdentifier("value");V.push(Q),Z=z0("=",Z,j1(Q.name))}return sJ(V,Z)})}function A5(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 EW1(J){const G=[],X=[],H=[],V=[],Z=[];return J.traverse(wW1,{thisPaths:G,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}),{thisPaths:G,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}}function kW1(){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=K0(Y)}else if(Z&&Q.hasBinding(Y.name))W=!0,Y=Q.generateUidIdentifier(Y.name);const z=V?J.node:$W1("var",[DW1(K0(Y),J.node)]),U=QW(null,[YW(K0(Y),j1("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 YW(j1(V),j1(V))}),H=QW(null,X);return this.insertAfter(H),this.replaceWith(J.node),this}function vW1(J){if(this.node.id)return this;const G=BW1(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=KW1(X.replace(/[/ ]/g,"_"));const H=j1(X);MW1(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(bW1,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(!UW1(this.node))return null;const Y=Z.generateUidIdentifier(H.name),W=[];for(let U=0,D=gW1(this.node);U<D;U++)W.push(Z.generateUidIdentifier("x"));const z=sY1.default.expression.ast`
11
+ (function (${Y}) {
12
+ function ${H}(${W}) {
13
+ return ${K0(Y)}.apply(this, arguments);
14
+ }
37
15
 
38
- // src/utils.ts
39
- import {default as default2} from "@babel/parser";
40
- import {default as default3} from "@babel/traverse";
41
- import {default as default4} from "@babel/generator";
42
- export {
43
- default3 as traverse,
44
- default2 as parser,
45
- outro,
46
- intro,
47
- default4 as generator
48
- };
16
+ ${K0(H)}.toString = function () {
17
+ return ${K0(Y)}.toString();
18
+ }
49
19
 
50
- //# debugId=1014B7BD2D06DD7964756E2164756E21
20
+ return ${K0(H)};
21
+ })(${KW(this.node)})
22
+ `;return this.replaceWith(z)[0].get("arguments.0")}function gW1(J){const G=J.params.findIndex((X)=>FW1(X)||RW1(X));return G===-1?J.params.length:G}Object.defineProperty(RW,"__esModule",{value:!0});RW.arrowFunctionToExpression=SW1;RW.ensureBlock=fW1;RW.ensureFunctionName=vW1;RW.splitExportDeclaration=kW1;RW.toComputedKey=OW1;RW.unwrapFunctionEnvironment=qW1;var dY1=Y1(),sY1=ZW(),dJ=R5(),{arrowFunctionExpression:sJ,assignmentExpression:z0,binaryExpression:pJ,blockStatement:tY1,callExpression:b0,conditionalExpression:nY1,expressionStatement:WW,identifier:j1,isIdentifier:oY1,jsxIdentifier:eY1,logicalExpression:JW1,LOGICAL_OPERATORS:GW1,memberExpression:U2,metaProperty:XW1,numericLiteral:HW1,objectExpression:VW1,restElement:ZW1,returnStatement:QW1,sequenceExpression:YW1,spreadElement:WW1,stringLiteral:zW,super:rJ,thisExpression:I5,toExpression:KW,unaryExpression:zW1,toBindingIdentifierName:KW1,isFunction:UW1,isAssignmentPattern:FW1,isRestElement:RW1,getFunctionName:BW1,cloneNode:K0,variableDeclaration:$W1,variableDeclarator:DW1,exportNamedDeclaration:QW,exportSpecifier:YW,inherits:MW1}=dY1;RW.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()};var IW1=dJ.environmentVisitor({CallExpression(J,{allSuperCalls:G}){if(!J.get("callee").isSuper())return;G.push(J)}}),LW1=dJ.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,z0("=",j1(X),j1("this"))])}}),wW1=dJ.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)}}),bW1={"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 IW=q((jW)=>{function nW1(J,G){return tW1(this.node,J,G)}function fW(J){var G;const X=(G=this.node)==null?void 0:G[J];if(X&&Array.isArray(X))return!!X.length;else return!!X}function oW1(){return this.scope.isStatic(this.node)}function eW1(J){return!this.has(J)}function Jz1(J,G){return this.node[J]===G}function Gz1(J){return sW1(this.type,J)}function Xz1(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function Hz1(J){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return OW(J);else if(this.isBlockStatement())return aW1(J);return!1}function Vz1(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 Zz1(){if(this.parentPath.isLabeledStatement()||OW(this.container))return!1;else return lW1.includes(this.key)}function Qz1(J,G){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===G||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?dW1(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()&&pW1(H.node.imported,{name:G}))return!0;return!1}function Yz1(){const J=this.node;if(J.end){const G=this.hub.getCode();if(G)return G.slice(J.start,J.end)}return""}function Wz1(J){return this._guessExecutionStatusRelativeTo(J)!=="after"}function $W(J){return J.isProgram()?J:(J.parentPath.scope.getFunctionParent()||J.parentPath.scope.getProgramParent()).path}function zz1(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 DW(J,G){for(let X=0;X<G;X++){const H=J[X];if(zz1(H.parent.type,H.parentKey))return!0}return!1}function Kz1(J){return tJ(this,J,new Map)}function tJ(J,G,X){const H={this:$W(J),target:$W(G)};if(H.target.node!==H.this.node)return Fz1(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(DW(V.this,Q.this-1)||DW(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=iW1[Z.type],z={this:W.indexOf(Y.this.parentKey),target:W.indexOf(Y.target.parentKey)};return z.target>z.this?"before":"after"}function Uz1(J,G,X){if(!G.isFunctionDeclaration()){if(tJ(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=tJ(J,Q,X);if(Z&&Z!==W)return"unknown";else Z=W}return Z}function Fz1(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===MW)return"unknown";return V}H.set(G.node,MW);const Z=Uz1(J,G,X);return H.set(G.node,Z),Z}function Rz1(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(!rW1(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 Bz1(){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 $z1(){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(jW,"__esModule",{value:!0});jW._guessExecutionStatusRelativeTo=Kz1;jW._resolve=qW;jW.canHaveVariableDeclarationOrExpression=Xz1;jW.canSwapBetweenExpressionAndStatement=Hz1;jW.equals=Jz1;jW.getSource=Yz1;jW.has=fW;jW.is=void 0;jW.isCompletionRecord=Vz1;jW.isConstantExpression=Bz1;jW.isInStrictMode=$z1;jW.isNodeType=Gz1;jW.isStatementOrBlock=Zz1;jW.isStatic=oW1;jW.isnt=eW1;jW.matchesPattern=nW1;jW.referencesImport=Qz1;jW.resolve=Rz1;jW.willIMaybeExecuteBefore=Wz1;var cW1=Y1(),{STATEMENT_OR_BLOCK_KEYS:lW1,VISITOR_KEYS:iW1,isBlockStatement:OW,isExpression:aW1,isIdentifier:pW1,isLiteral:rW1,isStringLiteral:dW1,isType:sW1,matchesPattern:tW1}=cW1,pO1=jW.is=fW,MW=Symbol()});var NW=q((TW)=>{function yz1(J){return{type:eJ,path:J}}function xz1(J){return{type:C5,path:J}}function mz1(){if(this.key==="left")return this.getSibling("right");else if(this.key==="right")return this.getSibling("left");return null}function v0(J,G,X){if(J)G.push(...g0(J,X));return G}function cz1(J,G,X){let H=[];for(let V=0;V<J.length;V++){const Z=J[V],Q=g0(Z,X),Y=[],W=[];for(let z of Q){if(z.type===eJ)Y.push(z);if(z.type===C5)W.push(z)}if(Y.length)H=Y;G.push(...W)}return G.push(...H),G}function lz1(J){J.forEach((G)=>{G.type=C5})}function nJ(J,G){J.forEach((X)=>{if(X.path.isBreakStatement({label:null}))if(G)X.path.replaceWith(hz1("void",uz1(0)));else X.path.remove()})}function AW(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=g0(Z,Q);if(Y.length>0&&Y.every((W)=>W.type===C5)){if(H.length>0&&Y.every((W)=>W.path.isBreakStatement({label:null}))){if(lz1(H),X.push(...H),H.some((W)=>W.path.isDeclaration()))X.push(...Y),nJ(Y,!0);nJ(Y,!1)}else if(X.push(...Y),!G.shouldPopulateBreak)nJ(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===C5)X.push(z);if(z.type===eJ)H.push(z)}}}}else if(J.length)for(let H=J.length-1;H>=0;H--){const V=g0(J[H],G);if(V.length>1||V.length===1&&!V[0].path.isVariableDeclaration()){X.push(...V);break}}return X}function g0(J,G){let X=[];if(J.isIfStatement())X=v0(J.get("consequent"),X,G),X=v0(J.get("alternate"),X,G);else if(J.isDoExpression()||J.isFor()||J.isWhile()||J.isLabeledStatement())return v0(J.get("body"),X,G);else if(J.isProgram()||J.isBlockStatement())return AW(J.get("body"),G);else if(J.isFunction())return g0(J.get("body"),G);else if(J.isTryStatement())X=v0(J.get("block"),X,G),X=v0(J.get("handler"),X,G);else if(J.isCatchClause())return v0(J.get("body"),X,G);else if(J.isSwitchStatement())return cz1(J.get("cases"),X,G);else if(J.isSwitchCase())return AW(J.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});else if(J.isBreakStatement())X.push(xz1(J));else X.push(yz1(J));return X}function iz1(){return g0(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((G)=>G.path)}function az1(J){return oJ.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:J}).setContext(this.context)}function pz1(){return this.getSibling(this.key-1)}function rz1(){return this.getSibling(this.key+1)}function dz1(){let J=this.key,G=this.getSibling(++J);const X=[];while(G.node)X.push(G),G=this.getSibling(++J);return X}function sz1(){let J=this.key,G=this.getSibling(--J);const X=[];while(G.node)X.push(G),G=this.getSibling(--J);return X}function tz1(J,G=!0){if(G===!0)G=this.context;const X=J.split(".");if(X.length===1)return LW.call(this,J,G);else return PW.call(this,X,G)}function LW(J,G){const X=this.node,H=X[J];if(Array.isArray(H))return H.map((V,Z)=>{return oJ.default.get({listKey:J,parentPath:this,parent:X,container:H,key:Z}).setContext(G)});else return oJ.default.get({parentPath:this,parent:X,container:X,key:J}).setContext(G)}function PW(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 nz1(){return gz1(this.node)}function oz1(J){return CW(this.node,J)}function ez1(J){return _z1(this.node,J)}function JK1(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=CW.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 GK1(J=!1){return this.getBindingIdentifierPaths(J,!0)}Object.defineProperty(TW,"__esModule",{value:!0});TW._getKey=LW;TW._getPattern=PW;TW.get=tz1;TW.getAllNextSiblings=dz1;TW.getAllPrevSiblings=sz1;TW.getAssignmentIdentifiers=nz1;TW.getBindingIdentifierPaths=JK1;TW.getBindingIdentifiers=oz1;TW.getCompletionRecords=iz1;TW.getNextSibling=rz1;TW.getOpposite=mz1;TW.getOuterBindingIdentifierPaths=GK1;TW.getOuterBindingIdentifiers=ez1;TW.getPrevSibling=pz1;TW.getSibling=az1;var oJ=l2(),vz1=Y1(),{getAssignmentIdentifiers:gz1,getBindingIdentifiers:CW,getOuterBindingIdentifiers:_z1,numericLiteral:uz1,unaryExpression:hz1}=vz1,eJ=0,C5=1});var kW=q((EW)=>{function qK1(){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",wW(X,H.node.trailingComments));if(G&&!Q)H.addComments("trailing",G)}if(Q){if(G)V.addComments("leading",wW(G,V.node.leadingComments));if(X&&!Z)V.addComments("leading",X)}}function wW(J,G){if(!(G!=null&&G.length))return J;const X=new Set(G);return J.filter((H)=>{return!X.has(H)})}function jK1(J,G,X){OK1(this.node,J,G,X)}function SK1(J,G){fK1(this.node,J,G)}Object.defineProperty(EW,"__esModule",{value:!0});EW.addComment=jK1;EW.addComments=SK1;EW.shareCommentsWithSiblings=qK1;var MK1=Y1(),{addComment:OK1,addComments:fK1}=MK1});var l2=q((_W)=>{Object.defineProperty(_W,"__esModule",{value:!0});_W.default=_W.SHOULD_STOP=_W.SHOULD_SKIP=_W.REMOVED=void 0;var LK1=O4(),PK1=qX(),TK1=B5(),NK1=w8(),gW=Y1(),c9=gW,wK1=X0(),EK1=ZJ(),O2=IZ(),_0=pZ(),u0=NJ(),bW=_Y(),U0=BW(),E1=IW(),w1=C0(),h0=_9(),f2=gJ(),r1=NW(),JG=kW(),kK1=A8(),{validate:bK1}=gW,vW=PK1("babel"),tO1=_W.REMOVED=1,nO1=_W.SHOULD_STOP=2,oO1=_W.SHOULD_SKIP=4,i2=_W.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=wK1.getOrCreateCachedPaths(G,H);let z=W.get(Y);if(!z){if(z=new J(G,H),Y)W.set(Y,z)}return z.setup(X,V,Z,Q),z}getScope(G){return this.isScope()?new NK1.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){TK1.default(this.node,G,this.scope,X,this)}set(G,X){bK1(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(!vW.enabled)return;vW(`${this.getPathLocation()} ${this.type}: ${G}`)}toString(){return EK1.default(this.node).code}get inList(){return!!this.listKey}set inList(G){if(!G)this.listKey=null}get parentKey(){return this.listKey||this.key}},vK1={findParent:O2.findParent,find:O2.find,getFunctionParent:O2.getFunctionParent,getStatementParent:O2.getStatementParent,getEarliestCommonAncestorFrom:O2.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:O2.getDeepestCommonAncestorFrom,getAncestry:O2.getAncestry,isAncestor:O2.isAncestor,isDescendant:O2.isDescendant,inType:O2.inType,getTypeAnnotation:_0.getTypeAnnotation,isBaseType:_0.isBaseType,couldBeBaseType:_0.couldBeBaseType,baseTypeStrictlyMatches:_0.baseTypeStrictlyMatches,isGenericType:_0.isGenericType,replaceWithMultiple:u0.replaceWithMultiple,replaceWithSourceString:u0.replaceWithSourceString,replaceWith:u0.replaceWith,replaceExpressionWithStatements:u0.replaceExpressionWithStatements,replaceInline:u0.replaceInline,evaluateTruthy:bW.evaluateTruthy,evaluate:bW.evaluate,toComputedKey:U0.toComputedKey,ensureBlock:U0.ensureBlock,unwrapFunctionEnvironment:U0.unwrapFunctionEnvironment,arrowFunctionToExpression:U0.arrowFunctionToExpression,splitExportDeclaration:U0.splitExportDeclaration,ensureFunctionName:U0.ensureFunctionName,matchesPattern:E1.matchesPattern,has:E1.has,isStatic:E1.isStatic,is:E1.is,isnt:E1.isnt,equals:E1.equals,isNodeType:E1.isNodeType,canHaveVariableDeclarationOrExpression:E1.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:E1.canSwapBetweenExpressionAndStatement,isCompletionRecord:E1.isCompletionRecord,isStatementOrBlock:E1.isStatementOrBlock,referencesImport:E1.referencesImport,getSource:E1.getSource,willIMaybeExecuteBefore:E1.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:E1._guessExecutionStatusRelativeTo,resolve:E1.resolve,isConstantExpression:E1.isConstantExpression,isInStrictMode:E1.isInStrictMode,call:w1.call,isDenylisted:w1.isDenylisted,isBlacklisted:w1.isBlacklisted,visit:w1.visit,skip:w1.skip,skipKey:w1.skipKey,stop:w1.stop,setScope:w1.setScope,setContext:w1.setContext,resync:w1.resync,popContext:w1.popContext,pushContext:w1.pushContext,setup:w1.setup,setKey:w1.setKey,requeue:w1.requeue,requeueComputedKeyAndDecorators:w1.requeueComputedKeyAndDecorators,remove:h0.remove,insertBefore:f2.insertBefore,insertAfter:f2.insertAfter,updateSiblingKeys:f2.updateSiblingKeys,unshiftContainer:f2.unshiftContainer,pushContainer:f2.pushContainer,hoist:f2.hoist,getOpposite:r1.getOpposite,getCompletionRecords:r1.getCompletionRecords,getSibling:r1.getSibling,getPrevSibling:r1.getPrevSibling,getNextSibling:r1.getNextSibling,getAllNextSiblings:r1.getAllNextSiblings,getAllPrevSiblings:r1.getAllPrevSiblings,get:r1.get,getAssignmentIdentifiers:r1.getAssignmentIdentifiers,getBindingIdentifiers:r1.getBindingIdentifiers,getOuterBindingIdentifiers:r1.getOuterBindingIdentifiers,getBindingIdentifierPaths:r1.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:r1.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:JG.shareCommentsWithSiblings,addComment:JG.addComment,addComments:JG.addComments};Object.assign(i2.prototype,vK1);i2.prototype.arrowFunctionToShadowed=U0[String("arrowFunctionToShadowed")];i2.prototype._guessExecutionStatusRelativeToDifferentFunctions=E1._guessExecutionStatusRelativeTo;i2.prototype._guessExecutionStatusRelativeToDifferentFunctions=E1._guessExecutionStatusRelativeTo,Object.assign(i2.prototype,{_getTypeAnnotation:_0._getTypeAnnotation,_replaceWith:u0._replaceWith,_resolve:E1._resolve,_call:w1._call,_resyncParent:w1._resyncParent,_resyncKey:w1._resyncKey,_resyncList:w1._resyncList,_resyncRemoved:w1._resyncRemoved,_getQueueContexts:w1._getQueueContexts,_removeFromScope:h0._removeFromScope,_callRemovalHooks:h0._callRemovalHooks,_remove:h0._remove,_markRemoved:h0._markRemoved,_assertUnremoved:h0._assertUnremoved,_containerInsert:f2._containerInsert,_containerInsertBefore:f2._containerInsertBefore,_containerInsertAfter:f2._containerInsertAfter,_verifyNodeList:f2._verifyNodeList,_getKey:r1._getKey,_getPattern:r1._getPattern});for(let J of c9.TYPES){const G=`is${J}`,X=c9[G];i2.prototype[G]=function(H){return X(this.node,H)},i2.prototype[`assert${J}`]=function(H){if(!X(this.node,H))throw new TypeError(`Expected node path of type ${J}`)}}Object.assign(i2.prototype,kK1);for(let J of Object.keys(LK1)){if(J[0]==="_")continue;if(!c9.TYPES.includes(J))c9.TYPES.push(J)}});var mW=q((yW)=>{Object.defineProperty(yW,"__esModule",{value:!0});yW.default=void 0;var hK1=l2(),yK1=Y1(),{VISITOR_KEYS:xK1}=yK1;class hW{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=xK1[J.type];if(!(X!=null&&X.length))return!1;for(let H of X)if(J[H])return!0;return!1}create(J,G,X,H){return hK1.default.get({parentPath:this.parentPath,parent:J,container:G,key:X,listKey:H})}maybeQueue(J,G){if(this.queue)if(G)this.queue.push(J);else this.priorityQueue.push(J)}visitMultiple(J,G,X){if(J.length===0)return!1;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++,V.resync(),V.contexts.length===0||V.contexts[V.contexts.length-1]!==this)V.pushContext(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++)J[V].popContext();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)}}yW.default=hW});var K9=q((cW)=>{function iK1(J,G,X,H,V,Z,Q){const Y=lK1[J.type];if(!Y)return!1;const W=new mK1.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(cW,"__esModule",{value:!0});cW.traverseNode=iK1;var mK1=mW(),cK1=Y1(),{VISITOR_KEYS:lK1}=cK1});var C0=q((dW)=>{function sK1(J){const G=this.opts;if(this.debug(J),this.node){if(GG.call(this,G[J]))return!0}if(this.node){var X;return GG.call(this,(X=G[this.node.type])==null?void 0:X[J])}return!1}function GG(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 tK1(){var J;const G=(J=this.opts.denylist)!=null?J:this.opts.blacklist;return G&&G.indexOf(this.node.type)>-1}function iW(J,G){if(J.context!==G)J.context=G,J.state=G.state,J.opts=G.opts}function nK1(){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||this.call("enter"))return this.debug("Skip..."),this.shouldStop;return iW(this,X),this.debug("Recursing into..."),this.shouldStop=pK1.traverseNode(this.node,this.opts,this.scope,this.state,this,this.skipKeys),iW(this,X),this.call("exit"),this.shouldStop}function oK1(){this.shouldSkip=!0}function eK1(J){if(this.skipKeys==null)this.skipKeys={};this.skipKeys[J]=!0}function JU1(){this._traverseFlags|=lW.SHOULD_SKIP|lW.SHOULD_STOP}function GU1(){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 XU1(J){if(this.skipKeys!=null)this.skipKeys={};if(this._traverseFlags=0,J)this.context=J,this.state=J.state,this.opts=J.opts;return this.setScope(),this}function HU1(){if(this.removed)return;aW.call(this),rW.call(this),pW.call(this)}function aW(){if(this.parentPath)this.parent=this.parentPath.node}function pW(){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){this.setKey(J);return}}else for(let J of Object.keys(this.container))if(this.container[J]===this.node){this.setKey(J);return}this.key=null}function rW(){if(!this.parent||!this.inList)return;const J=this.parent[this.listKey];if(this.container===J)return;this.container=J||null}function VU1(){if(this.key==null||!this.container||this.container[this.key]!==this.node)rK1._markRemoved.call(this)}function ZU1(){if(this.contexts.pop(),this.contexts.length>0)this.setContext(this.contexts[this.contexts.length-1]);else this.setContext(void 0)}function QU1(J){this.contexts.push(J),this.setContext(J)}function YU1(J,G,X,H){this.listKey=X,this.container=G,this.parentPath=J||this.parentPath,this.setKey(H)}function WU1(J){var G;this.key=J,this.node=this.container[this.key],this.type=(G=this.node)==null?void 0:G.type}function zU1(J=this){if(J.removed)return;const G=this.contexts;for(let X of G)X.maybeQueue(J)}function KU1(){const{context:J,node:G}=this;if(!dK1.isPrivate(G)&&G.computed)J.maybeQueue(this.get("key"));if(G.decorators)for(let X of this.get("decorators"))J.maybeQueue(X)}function UU1(){let J=this,G=this.contexts;while(!G.length){if(J=J.parentPath,!J)break;G=J.contexts}return G}Object.defineProperty(dW,"__esModule",{value:!0});dW._call=GG;dW._getQueueContexts=UU1;dW._resyncKey=pW;dW._resyncList=rW;dW._resyncParent=aW;dW._resyncRemoved=VU1;dW.call=sK1;dW.isBlacklisted=dW.isDenylisted=tK1;dW.popContext=ZU1;dW.pushContext=QU1;dW.requeue=zU1;dW.requeueComputedKeyAndDecorators=KU1;dW.resync=HU1;dW.setContext=XU1;dW.setKey=WU1;dW.setScope=GU1;dW.setup=YU1;dW.skip=oK1;dW.skipKey=eK1;dW.stop=JU1;dW.visit=nK1;var pK1=K9(),lW=l2(),rK1=_9(),dK1=Y1()});var oW=q((tW)=>{Object.defineProperty(tW,"__esModule",{value:!0});tW.default=void 0;class sW{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(J,G,X=TypeError){return new X(G)}}tW.default=sW});var B5=q((P5)=>{function Z2(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(!hU1[J.type])return;L5.explode(G),eW.traverseNode(J,G,X,H,V,null,Z)}function xU1(J,G){if(J.node.type===G.type)G.has=!0,J.stop()}Object.defineProperty(P5,"__esModule",{value:!0});Object.defineProperty(P5,"Hub",{enumerable:!0,get:function(){return uU1.default}});Object.defineProperty(P5,"NodePath",{enumerable:!0,get:function(){return gU1.default}});Object.defineProperty(P5,"Scope",{enumerable:!0,get:function(){return _U1.default}});P5.visitors=P5.default=void 0;C0();var L5=R5();P5.visitors=L5;var bU1=Y1(),vU1=X0(),eW=K9(),gU1=l2(),_U1=w8(),uU1=oW(),{VISITOR_KEYS:hU1,removeProperties:yU1,traverseFast:Jz}=bU1,Zf1=P5.default=Z2;Z2.visitors=L5;Z2.verify=L5.verify;Z2.explode=L5.explode;Z2.cheap=function(J,G){Jz(J,G);return};Z2.node=function(J,G,X,H,V,Z){eW.traverseNode(J,G,X,H,V,Z)};Z2.clearNode=function(J,G){yU1(J,G)};Z2.removeProperties=function(J,G){return Jz(J,Z2.clearNode,G),J};Z2.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 Z2(J,{noScope:!0,denylist:X,enter:xU1},null,H),H.has};Z2.cache=vU1});import aU1 from"process";import{bold as XG,dim as HG,green as pU1,italic as Xz}from"@stacksjs/cli";import{path as l9}from"@stacksjs/path";import{fs as rU1,glob as dU1}from"@stacksjs/storage";async function Ff1(J){const X=Date.now()-J.startTime,H=J.pkgName??`@stacksjs/${l9.basename(J.dir)}`;if(!J.result.success)console.log(J.result.logs[0]),aU1.exit(1);const V=await dU1(l9.resolve(J.dir,"dist","**/*"));for(let Z of V){const Q=await rU1.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=l9.relative(J.dir,Z).replace("dist/","");console.log(`${XG(HG(`[${Y}]`))} ${HG("dist/")}${W}`)}console.log(`${XG(HG(`[${X}ms]`))} Built ${Xz(XG(pU1(H)))}`)}async function Rf1(J){const G=J.pkgName??`@stacksjs/${l9.basename(J.dir)}`;return console.log(`Building ${Xz(G)}...`),{startTime:Date.now()}}var cU1=d9(y5(),1),lU1=d9(B5(),1),iU1=d9(ZJ(),1);var export_traverse=lU1.default;var export_parser=cU1.default;var export_generator=iU1.default;export{export_traverse as traverse,export_parser as parser,Ff1 as outro,Rf1 as intro,export_generator as generator};
23
+
24
+ //# debugId=3CEC9C4211638C3D64756E2164756E21
51
25
  //# sourceMappingURL=index.js.map