"use strict"; var sN = Object.create; var Pa = Object.defineProperty; var iN = Object.getOwnPropertyDescriptor; var aN = Object.getOwnPropertyNames; var oN = Object.getPrototypeOf, lN = Object.prototype.hasOwnProperty; var s = (e, t) => Pa(e, "name", { value: t, configurable: !0 }); var T = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), uN = (e, t) => { for (var r in t) Pa(e, r, { get: t[r], enumerable: !0 }); }, U1 = (e, t, r, n) => { if (t && typeof t == "object" || typeof t == "function") for (let i of aN(t)) !lN.call(e, i) && i !== r && Pa(e, i, { get: () => t[i], enumerable: !(n = iN(t, i)) || n.enumerable }); return e; }; var an = (e, t, r) => (r = e != null ? sN(oN(e)) : {}, U1( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. t || !e || !e.__esModule ? Pa(r, "default", { value: e, enumerable: !0 }) : r, e )), cN = (e) => U1(Pa({}, "__esModule", { value: !0 }), e); // ../node_modules/@babel/types/lib/utils/shallowEqual.js var fl = T((zf) => { "use strict"; Object.defineProperty(zf, "__esModule", { value: !0 }); zf.default = fN; function fN(e, t) { let r = Object.keys(t); for (let n of r) if (e[n] !== t[n]) return !1; return !0; } s(fN, "shallowEqual"); }); // ../node_modules/@babel/types/lib/utils/deprecationWarning.js var Aa = T((Jf) => { "use strict"; Object.defineProperty(Jf, "__esModule", { value: !0 }); Jf.default = pN; var V1 = /* @__PURE__ */ new Set(); function pN(e, t, r = "") { if (V1.has(e)) return; V1.add(e); let { internal: n, trace: i } = dN(1, 2); n || console.warn(`${r}\`${e}\` has been deprecated, please migrate to \`${t}\` ${i}`); } s(pN, "deprecationWarning"); function dN(e, t) { let { stackTraceLimit: r, prepareStackTrace: n } = Error, i; if (Error.stackTraceLimit = 1 + e + t, Error.prepareStackTrace = function(o, l) { i = l; }, new Error().stack, Error.stackTraceLimit = r, Error.prepareStackTrace = n, !i) return { internal: !1, trace: "" }; let a = i.slice(1 + e, 1 + e + t); return { internal: /[\\/]@babel[\\/]/.test(a[1].getFileName()), trace: a.map((o) => ` at ${o}`).join(` `) }; } s(dN, "captureShortStackTrace"); }); // ../node_modules/@babel/types/lib/validators/generated/index.js var vt = T((x) => { "use strict"; Object.defineProperty(x, "__esModule", { value: !0 }); x.isAccessor = w4; x.isAnyTypeAnnotation = Y3; x.isArgumentPlaceholder = Sk; x.isArrayExpression = hN; x.isArrayPattern = p3; x.isArrayTypeAnnotation = z3; x.isArrowFunctionExpression = d3; x.isAssignmentExpression = mN; x.isAssignmentPattern = f3; x.isAwaitExpression = j3; x.isBigIntLiteral = M3; x.isBinary = JF; x.isBinaryExpression = yN; x.isBindExpression = Pk; x.isBlock = ZF; x.isBlockParent = QF; x.isBlockStatement = vN; x.isBooleanLiteral = UN; x.isBooleanLiteralTypeAnnotation = X3; x.isBooleanTypeAnnotation = J3; x.isBreakStatement = TN; x.isCallExpression = xN; x.isCatchClause = SN; x.isClass = P4; x.isClassAccessorProperty = $3; x.isClassBody = h3; x.isClassDeclaration = y3; x.isClassExpression = m3; x.isClassImplements = Z3; x.isClassMethod = D3; x.isClassPrivateMethod = K3; x.isClassPrivateProperty = W3; x.isClassProperty = V3; x.isCompletionStatement = r4; x.isConditional = n4; x.isConditionalExpression = PN; x.isContinueStatement = AN; x.isDebuggerStatement = CN; x.isDecimalLiteral = Ok; x.isDeclaration = p4; x.isDeclareClass = eB; x.isDeclareExportAllDeclaration = uB; x.isDeclareExportDeclaration = lB; x.isDeclareFunction = tB; x.isDeclareInterface = rB; x.isDeclareModule = nB; x.isDeclareModuleExports = sB; x.isDeclareOpaqueType = aB; x.isDeclareTypeAlias = iB; x.isDeclareVariable = oB; x.isDeclaredPredicate = cB; x.isDecorator = Ck; x.isDirective = bN; x.isDirectiveLiteral = EN; x.isDoExpression = wk; x.isDoWhileStatement = wN; x.isEmptyStatement = DN; x.isEmptyTypeAnnotation = TB; x.isEnumBody = k4; x.isEnumBooleanBody = zB; x.isEnumBooleanMember = ZB; x.isEnumDeclaration = YB; x.isEnumDefaultedMember = rk; x.isEnumMember = F4; x.isEnumNumberBody = JB; x.isEnumNumberMember = ek; x.isEnumStringBody = XB; x.isEnumStringMember = tk; x.isEnumSymbolBody = QB; x.isExistsTypeAnnotation = fB; x.isExportAllDeclaration = g3; x.isExportDeclaration = A4; x.isExportDefaultDeclaration = b3; x.isExportDefaultSpecifier = Dk; x.isExportNamedDeclaration = E3; x.isExportNamespaceSpecifier = R3; x.isExportSpecifier = v3; x.isExpression = zF; x.isExpressionStatement = IN; x.isExpressionWrapper = a4; x.isFile = _N; x.isFlow = I4; x.isFlowBaseAnnotation = O4; x.isFlowDeclaration = N4; x.isFlowPredicate = B4; x.isFlowType = _4; x.isFor = o4; x.isForInStatement = ON; x.isForOfStatement = T3; x.isForStatement = NN; x.isForXStatement = l4; x.isFunction = u4; x.isFunctionDeclaration = BN; x.isFunctionExpression = kN; x.isFunctionParent = c4; x.isFunctionTypeAnnotation = pB; x.isFunctionTypeParam = dB; x.isGenericTypeAnnotation = hB; x.isIdentifier = FN; x.isIfStatement = jN; x.isImmutable = g4; x.isImport = L3; x.isImportAttribute = Ak; x.isImportDeclaration = x3; x.isImportDefaultSpecifier = S3; x.isImportExpression = C3; x.isImportNamespaceSpecifier = P3; x.isImportOrExportDeclaration = $1; x.isImportSpecifier = A3; x.isIndexedAccessType = nk; x.isInferredPredicate = mB; x.isInterfaceDeclaration = gB; x.isInterfaceExtends = yB; x.isInterfaceTypeAnnotation = bB; x.isInterpreterDirective = gN; x.isIntersectionTypeAnnotation = EB; x.isJSX = j4; x.isJSXAttribute = ik; x.isJSXClosingElement = ak; x.isJSXClosingFragment = Ek; x.isJSXElement = ok; x.isJSXEmptyExpression = lk; x.isJSXExpressionContainer = uk; x.isJSXFragment = gk; x.isJSXIdentifier = fk; x.isJSXMemberExpression = pk; x.isJSXNamespacedName = dk; x.isJSXOpeningElement = hk; x.isJSXOpeningFragment = bk; x.isJSXSpreadAttribute = mk; x.isJSXSpreadChild = ck; x.isJSXText = yk; x.isLVal = h4; x.isLabeledStatement = LN; x.isLiteral = y4; x.isLogicalExpression = $N; x.isLoop = s4; x.isMemberExpression = WN; x.isMetaProperty = w3; x.isMethod = E4; x.isMiscellaneous = L4; x.isMixedTypeAnnotation = vB; x.isModuleDeclaration = G4; x.isModuleExpression = Nk; x.isModuleSpecifier = C4; x.isNewExpression = KN; x.isNoop = vk; x.isNullLiteral = qN; x.isNullLiteralTypeAnnotation = Q3; x.isNullableTypeAnnotation = xB; x.isNumberLiteral = V4; x.isNumberLiteralTypeAnnotation = SB; x.isNumberTypeAnnotation = PB; x.isNumericLiteral = RN; x.isObjectExpression = HN; x.isObjectMember = v4; x.isObjectMethod = YN; x.isObjectPattern = I3; x.isObjectProperty = zN; x.isObjectTypeAnnotation = AB; x.isObjectTypeCallProperty = wB; x.isObjectTypeIndexer = DB; x.isObjectTypeInternalSlot = CB; x.isObjectTypeProperty = IB; x.isObjectTypeSpreadProperty = _B; x.isOpaqueType = OB; x.isOptionalCallExpression = U3; x.isOptionalIndexedAccessType = sk; x.isOptionalMemberExpression = q3; x.isParenthesizedExpression = ZN; x.isPattern = S4; x.isPatternLike = d4; x.isPipelineBareFunction = Fk; x.isPipelinePrimaryTopicReference = jk; x.isPipelineTopicExpression = kk; x.isPlaceholder = Tk; x.isPrivate = D4; x.isPrivateName = G3; x.isProgram = GN; x.isProperty = T4; x.isPureish = f4; x.isQualifiedTypeIdentifier = NB; x.isRecordExpression = Ik; x.isRegExpLiteral = VN; x.isRegexLiteral = $4; x.isRestElement = JN; x.isRestProperty = W4; x.isReturnStatement = XN; x.isScopable = XF; x.isSequenceExpression = QN; x.isSpreadElement = _3; x.isSpreadProperty = K4; x.isStandardized = YF; x.isStatement = e4; x.isStaticBlock = H3; x.isStringLiteral = MN; x.isStringLiteralTypeAnnotation = BB; x.isStringTypeAnnotation = kB; x.isSuper = O3; x.isSwitchCase = e3; x.isSwitchStatement = t3; x.isSymbolTypeAnnotation = FB; x.isTSAnyKeyword = Gk; x.isTSArrayType = pF; x.isTSAsExpression = OF; x.isTSBaseType = U4; x.isTSBigIntKeyword = Yk; x.isTSBooleanKeyword = Hk; x.isTSCallSignatureDeclaration = Uk; x.isTSConditionalType = EF; x.isTSConstructSignatureDeclaration = Vk; x.isTSConstructorType = oF; x.isTSDeclareFunction = Mk; x.isTSDeclareMethod = Rk; x.isTSEntityName = m4; x.isTSEnumDeclaration = kF; x.isTSEnumMember = FF; x.isTSExportAssignment = VF; x.isTSExpressionWithTypeArguments = CF; x.isTSExternalModuleReference = qF; x.isTSFunctionType = aF; x.isTSImportEqualsDeclaration = RF; x.isTSImportType = MF; x.isTSIndexSignature = Kk; x.isTSIndexedAccessType = SF; x.isTSInferType = vF; x.isTSInstantiationExpression = _F; x.isTSInterfaceBody = DF; x.isTSInterfaceDeclaration = wF; x.isTSIntersectionType = bF; x.isTSIntrinsicKeyword = zk; x.isTSLiteralType = AF; x.isTSMappedType = PF; x.isTSMethodSignature = Wk; x.isTSModuleBlock = LF; x.isTSModuleDeclaration = jF; x.isTSNamedTupleMember = yF; x.isTSNamespaceExportDeclaration = $F; x.isTSNeverKeyword = Jk; x.isTSNonNullExpression = UF; x.isTSNullKeyword = Xk; x.isTSNumberKeyword = Qk; x.isTSObjectKeyword = Zk; x.isTSOptionalType = hF; x.isTSParameterProperty = Lk; x.isTSParenthesizedType = TF; x.isTSPropertySignature = $k; x.isTSQualifiedName = qk; x.isTSRestType = mF; x.isTSSatisfiesExpression = NF; x.isTSStringKeyword = eF; x.isTSSymbolKeyword = tF; x.isTSThisType = iF; x.isTSTupleType = dF; x.isTSType = q4; x.isTSTypeAliasDeclaration = IF; x.isTSTypeAnnotation = WF; x.isTSTypeAssertion = BF; x.isTSTypeElement = R4; x.isTSTypeLiteral = fF; x.isTSTypeOperator = xF; x.isTSTypeParameter = HF; x.isTSTypeParameterDeclaration = GF; x.isTSTypeParameterInstantiation = KF; x.isTSTypePredicate = uF; x.isTSTypeQuery = cF; x.isTSTypeReference = lF; x.isTSUndefinedKeyword = rF; x.isTSUnionType = gF; x.isTSUnknownKeyword = nF; x.isTSVoidKeyword = sF; x.isTaggedTemplateExpression = N3; x.isTemplateElement = B3; x.isTemplateLiteral = k3; x.isTerminatorless = t4; x.isThisExpression = r3; x.isThisTypeAnnotation = jB; x.isThrowStatement = n3; x.isTopicReference = Bk; x.isTryStatement = s3; x.isTupleExpression = _k; x.isTupleTypeAnnotation = LB; x.isTypeAlias = RB; x.isTypeAnnotation = qB; x.isTypeCastExpression = UB; x.isTypeParameter = VB; x.isTypeParameterDeclaration = $B; x.isTypeParameterInstantiation = WB; x.isTypeScript = M4; x.isTypeofTypeAnnotation = MB; x.isUnaryExpression = i3; x.isUnaryLike = x4; x.isUnionTypeAnnotation = KB; x.isUpdateExpression = a3; x.isUserWhitespacable = b4; x.isV8IntrinsicIdentifier = xk; x.isVariableDeclaration = o3; x.isVariableDeclarator = l3; x.isVariance = GB; x.isVoidTypeAnnotation = HB; x.isWhile = i4; x.isWhileStatement = u3; x.isWithStatement = c3; x.isYieldExpression = F3; var A = fl(), Ca = Aa(); function hN(e, t) { return !e || e.type !== "ArrayExpression" ? !1 : t == null || (0, A.default)(e, t); } s(hN, "isArrayExpression"); function mN(e, t) { return !e || e.type !== "AssignmentExpression" ? !1 : t == null || (0, A.default)(e, t); } s(mN, "isAssignmentExpression"); function yN(e, t) { return !e || e.type !== "BinaryExpression" ? !1 : t == null || (0, A.default)(e, t); } s(yN, "isBinaryExpression"); function gN(e, t) { return !e || e.type !== "InterpreterDirective" ? !1 : t == null || (0, A.default)(e, t); } s(gN, "isInterpreterDirective"); function bN(e, t) { return !e || e.type !== "Directive" ? !1 : t == null || (0, A.default)(e, t); } s(bN, "isDirective"); function EN(e, t) { return !e || e.type !== "DirectiveLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(EN, "isDirectiveLiteral"); function vN(e, t) { return !e || e.type !== "BlockStatement" ? !1 : t == null || (0, A.default)(e, t); } s(vN, "isBlockStatement"); function TN(e, t) { return !e || e.type !== "BreakStatement" ? !1 : t == null || (0, A.default)(e, t); } s(TN, "isBreakStatement"); function xN(e, t) { return !e || e.type !== "CallExpression" ? !1 : t == null || (0, A.default)(e, t); } s(xN, "isCallExpression"); function SN(e, t) { return !e || e.type !== "CatchClause" ? !1 : t == null || (0, A.default)(e, t); } s(SN, "isCatchClause"); function PN(e, t) { return !e || e.type !== "ConditionalExpression" ? !1 : t == null || (0, A.default)(e, t); } s(PN, "isConditionalExpression"); function AN(e, t) { return !e || e.type !== "ContinueStatement" ? !1 : t == null || (0, A.default)(e, t); } s(AN, "isContinueStatement"); function CN(e, t) { return !e || e.type !== "DebuggerStatement" ? !1 : t == null || (0, A.default)(e, t); } s(CN, "isDebuggerStatement"); function wN(e, t) { return !e || e.type !== "DoWhileStatement" ? !1 : t == null || (0, A.default)(e, t); } s(wN, "isDoWhileStatement"); function DN(e, t) { return !e || e.type !== "EmptyStatement" ? !1 : t == null || (0, A.default)(e, t); } s(DN, "isEmptyStatement"); function IN(e, t) { return !e || e.type !== "ExpressionStatement" ? !1 : t == null || (0, A.default)(e, t); } s(IN, "isExpressionStatement"); function _N(e, t) { return !e || e.type !== "File" ? !1 : t == null || (0, A.default)(e, t); } s(_N, "isFile"); function ON(e, t) { return !e || e.type !== "ForInStatement" ? !1 : t == null || (0, A.default)(e, t); } s(ON, "isForInStatement"); function NN(e, t) { return !e || e.type !== "ForStatement" ? !1 : t == null || (0, A.default)(e, t); } s(NN, "isForStatement"); function BN(e, t) { return !e || e.type !== "FunctionDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(BN, "isFunctionDeclaration"); function kN(e, t) { return !e || e.type !== "FunctionExpression" ? !1 : t == null || (0, A.default)(e, t); } s(kN, "isFunctionExpression"); function FN(e, t) { return !e || e.type !== "Identifier" ? !1 : t == null || (0, A.default)(e, t); } s(FN, "isIdentifier"); function jN(e, t) { return !e || e.type !== "IfStatement" ? !1 : t == null || (0, A.default)(e, t); } s(jN, "isIfStatement"); function LN(e, t) { return !e || e.type !== "LabeledStatement" ? !1 : t == null || (0, A.default)(e, t); } s(LN, "isLabeledStatement"); function MN(e, t) { return !e || e.type !== "StringLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(MN, "isStringLiteral"); function RN(e, t) { return !e || e.type !== "NumericLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(RN, "isNumericLiteral"); function qN(e, t) { return !e || e.type !== "NullLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(qN, "isNullLiteral"); function UN(e, t) { return !e || e.type !== "BooleanLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(UN, "isBooleanLiteral"); function VN(e, t) { return !e || e.type !== "RegExpLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(VN, "isRegExpLiteral"); function $N(e, t) { return !e || e.type !== "LogicalExpression" ? !1 : t == null || (0, A.default)(e, t); } s($N, "isLogicalExpression"); function WN(e, t) { return !e || e.type !== "MemberExpression" ? !1 : t == null || (0, A.default)(e, t); } s(WN, "isMemberExpression"); function KN(e, t) { return !e || e.type !== "NewExpression" ? !1 : t == null || (0, A.default)(e, t); } s(KN, "isNewExpression"); function GN(e, t) { return !e || e.type !== "Program" ? !1 : t == null || (0, A.default)(e, t); } s(GN, "isProgram"); function HN(e, t) { return !e || e.type !== "ObjectExpression" ? !1 : t == null || (0, A.default)(e, t); } s(HN, "isObjectExpression"); function YN(e, t) { return !e || e.type !== "ObjectMethod" ? !1 : t == null || (0, A.default)(e, t); } s(YN, "isObjectMethod"); function zN(e, t) { return !e || e.type !== "ObjectProperty" ? !1 : t == null || (0, A.default)(e, t); } s(zN, "isObjectProperty"); function JN(e, t) { return !e || e.type !== "RestElement" ? !1 : t == null || (0, A.default)(e, t); } s(JN, "isRestElement"); function XN(e, t) { return !e || e.type !== "ReturnStatement" ? !1 : t == null || (0, A.default)(e, t); } s(XN, "isReturnStatement"); function QN(e, t) { return !e || e.type !== "SequenceExpression" ? !1 : t == null || (0, A.default)(e, t); } s(QN, "isSequenceExpression"); function ZN(e, t) { return !e || e.type !== "ParenthesizedExpression" ? !1 : t == null || (0, A.default)(e, t); } s(ZN, "isParenthesizedExpression"); function e3(e, t) { return !e || e.type !== "SwitchCase" ? !1 : t == null || (0, A.default)(e, t); } s(e3, "isSwitchCase"); function t3(e, t) { return !e || e.type !== "SwitchStatement" ? !1 : t == null || (0, A.default)(e, t); } s(t3, "isSwitchStatement"); function r3(e, t) { return !e || e.type !== "ThisExpression" ? !1 : t == null || (0, A.default)(e, t); } s(r3, "isThisExpression"); function n3(e, t) { return !e || e.type !== "ThrowStatement" ? !1 : t == null || (0, A.default)(e, t); } s(n3, "isThrowStatement"); function s3(e, t) { return !e || e.type !== "TryStatement" ? !1 : t == null || (0, A.default)(e, t); } s(s3, "isTryStatement"); function i3(e, t) { return !e || e.type !== "UnaryExpression" ? !1 : t == null || (0, A.default)(e, t); } s(i3, "isUnaryExpression"); function a3(e, t) { return !e || e.type !== "UpdateExpression" ? !1 : t == null || (0, A.default)(e, t); } s(a3, "isUpdateExpression"); function o3(e, t) { return !e || e.type !== "VariableDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(o3, "isVariableDeclaration"); function l3(e, t) { return !e || e.type !== "VariableDeclarator" ? !1 : t == null || (0, A.default)(e, t); } s(l3, "isVariableDeclarator"); function u3(e, t) { return !e || e.type !== "WhileStatement" ? !1 : t == null || (0, A.default)(e, t); } s(u3, "isWhileStatement"); function c3(e, t) { return !e || e.type !== "WithStatement" ? !1 : t == null || (0, A.default)(e, t); } s(c3, "isWithStatement"); function f3(e, t) { return !e || e.type !== "AssignmentPattern" ? !1 : t == null || (0, A.default)(e, t); } s(f3, "isAssignmentPattern"); function p3(e, t) { return !e || e.type !== "ArrayPattern" ? !1 : t == null || (0, A.default)(e, t); } s(p3, "isArrayPattern"); function d3(e, t) { return !e || e.type !== "ArrowFunctionExpression" ? !1 : t == null || (0, A.default)(e, t); } s(d3, "isArrowFunctionExpression"); function h3(e, t) { return !e || e.type !== "ClassBody" ? !1 : t == null || (0, A.default)(e, t); } s(h3, "isClassBody"); function m3(e, t) { return !e || e.type !== "ClassExpression" ? !1 : t == null || (0, A.default)(e, t); } s(m3, "isClassExpression"); function y3(e, t) { return !e || e.type !== "ClassDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(y3, "isClassDeclaration"); function g3(e, t) { return !e || e.type !== "ExportAllDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(g3, "isExportAllDeclaration"); function b3(e, t) { return !e || e.type !== "ExportDefaultDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(b3, "isExportDefaultDeclaration"); function E3(e, t) { return !e || e.type !== "ExportNamedDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(E3, "isExportNamedDeclaration"); function v3(e, t) { return !e || e.type !== "ExportSpecifier" ? !1 : t == null || (0, A.default)(e, t); } s(v3, "isExportSpecifier"); function T3(e, t) { return !e || e.type !== "ForOfStatement" ? !1 : t == null || (0, A.default)(e, t); } s(T3, "isForOfStatement"); function x3(e, t) { return !e || e.type !== "ImportDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(x3, "isImportDeclaration"); function S3(e, t) { return !e || e.type !== "ImportDefaultSpecifier" ? !1 : t == null || (0, A.default)(e, t); } s(S3, "isImportDefaultSpecifier"); function P3(e, t) { return !e || e.type !== "ImportNamespaceSpecifier" ? !1 : t == null || (0, A.default)(e, t); } s(P3, "isImportNamespaceSpecifier"); function A3(e, t) { return !e || e.type !== "ImportSpecifier" ? !1 : t == null || (0, A.default)(e, t); } s(A3, "isImportSpecifier"); function C3(e, t) { return !e || e.type !== "ImportExpression" ? !1 : t == null || (0, A.default)(e, t); } s(C3, "isImportExpression"); function w3(e, t) { return !e || e.type !== "MetaProperty" ? !1 : t == null || (0, A.default)(e, t); } s(w3, "isMetaProperty"); function D3(e, t) { return !e || e.type !== "ClassMethod" ? !1 : t == null || (0, A.default)(e, t); } s(D3, "isClassMethod"); function I3(e, t) { return !e || e.type !== "ObjectPattern" ? !1 : t == null || (0, A.default)(e, t); } s(I3, "isObjectPattern"); function _3(e, t) { return !e || e.type !== "SpreadElement" ? !1 : t == null || (0, A.default)(e, t); } s(_3, "isSpreadElement"); function O3(e, t) { return !e || e.type !== "Super" ? !1 : t == null || (0, A.default)(e, t); } s(O3, "isSuper"); function N3(e, t) { return !e || e.type !== "TaggedTemplateExpression" ? !1 : t == null || (0, A.default)(e, t); } s(N3, "isTaggedTemplateExpression"); function B3(e, t) { return !e || e.type !== "TemplateElement" ? !1 : t == null || (0, A.default)(e, t); } s(B3, "isTemplateElement"); function k3(e, t) { return !e || e.type !== "TemplateLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(k3, "isTemplateLiteral"); function F3(e, t) { return !e || e.type !== "YieldExpression" ? !1 : t == null || (0, A.default)(e, t); } s(F3, "isYieldExpression"); function j3(e, t) { return !e || e.type !== "AwaitExpression" ? !1 : t == null || (0, A.default)(e, t); } s(j3, "isAwaitExpression"); function L3(e, t) { return !e || e.type !== "Import" ? !1 : t == null || (0, A.default)(e, t); } s(L3, "isImport"); function M3(e, t) { return !e || e.type !== "BigIntLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(M3, "isBigIntLiteral"); function R3(e, t) { return !e || e.type !== "ExportNamespaceSpecifier" ? !1 : t == null || (0, A.default)(e, t); } s(R3, "isExportNamespaceSpecifier"); function q3(e, t) { return !e || e.type !== "OptionalMemberExpression" ? !1 : t == null || (0, A.default)(e, t); } s(q3, "isOptionalMemberExpression"); function U3(e, t) { return !e || e.type !== "OptionalCallExpression" ? !1 : t == null || (0, A.default)(e, t); } s(U3, "isOptionalCallExpression"); function V3(e, t) { return !e || e.type !== "ClassProperty" ? !1 : t == null || (0, A.default)(e, t); } s(V3, "isClassProperty"); function $3(e, t) { return !e || e.type !== "ClassAccessorProperty" ? !1 : t == null || (0, A.default)(e, t); } s($3, "isClassAccessorProperty"); function W3(e, t) { return !e || e.type !== "ClassPrivateProperty" ? !1 : t == null || (0, A.default)(e, t); } s(W3, "isClassPrivateProperty"); function K3(e, t) { return !e || e.type !== "ClassPrivateMethod" ? !1 : t == null || (0, A.default)(e, t); } s(K3, "isClassPrivateMethod"); function G3(e, t) { return !e || e.type !== "PrivateName" ? !1 : t == null || (0, A.default)(e, t); } s(G3, "isPrivateName"); function H3(e, t) { return !e || e.type !== "StaticBlock" ? !1 : t == null || (0, A.default)(e, t); } s(H3, "isStaticBlock"); function Y3(e, t) { return !e || e.type !== "AnyTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(Y3, "isAnyTypeAnnotation"); function z3(e, t) { return !e || e.type !== "ArrayTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(z3, "isArrayTypeAnnotation"); function J3(e, t) { return !e || e.type !== "BooleanTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(J3, "isBooleanTypeAnnotation"); function X3(e, t) { return !e || e.type !== "BooleanLiteralTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(X3, "isBooleanLiteralTypeAnnotation"); function Q3(e, t) { return !e || e.type !== "NullLiteralTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(Q3, "isNullLiteralTypeAnnotation"); function Z3(e, t) { return !e || e.type !== "ClassImplements" ? !1 : t == null || (0, A.default)(e, t); } s(Z3, "isClassImplements"); function eB(e, t) { return !e || e.type !== "DeclareClass" ? !1 : t == null || (0, A.default)(e, t); } s(eB, "isDeclareClass"); function tB(e, t) { return !e || e.type !== "DeclareFunction" ? !1 : t == null || (0, A.default)(e, t); } s(tB, "isDeclareFunction"); function rB(e, t) { return !e || e.type !== "DeclareInterface" ? !1 : t == null || (0, A.default)(e, t); } s(rB, "isDeclareInterface"); function nB(e, t) { return !e || e.type !== "DeclareModule" ? !1 : t == null || (0, A.default)(e, t); } s(nB, "isDeclareModule"); function sB(e, t) { return !e || e.type !== "DeclareModuleExports" ? !1 : t == null || (0, A.default)(e, t); } s(sB, "isDeclareModuleExports"); function iB(e, t) { return !e || e.type !== "DeclareTypeAlias" ? !1 : t == null || (0, A.default)(e, t); } s(iB, "isDeclareTypeAlias"); function aB(e, t) { return !e || e.type !== "DeclareOpaqueType" ? !1 : t == null || (0, A.default)(e, t); } s(aB, "isDeclareOpaqueType"); function oB(e, t) { return !e || e.type !== "DeclareVariable" ? !1 : t == null || (0, A.default)(e, t); } s(oB, "isDeclareVariable"); function lB(e, t) { return !e || e.type !== "DeclareExportDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(lB, "isDeclareExportDeclaration"); function uB(e, t) { return !e || e.type !== "DeclareExportAllDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(uB, "isDeclareExportAllDeclaration"); function cB(e, t) { return !e || e.type !== "DeclaredPredicate" ? !1 : t == null || (0, A.default)(e, t); } s(cB, "isDeclaredPredicate"); function fB(e, t) { return !e || e.type !== "ExistsTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(fB, "isExistsTypeAnnotation"); function pB(e, t) { return !e || e.type !== "FunctionTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(pB, "isFunctionTypeAnnotation"); function dB(e, t) { return !e || e.type !== "FunctionTypeParam" ? !1 : t == null || (0, A.default)(e, t); } s(dB, "isFunctionTypeParam"); function hB(e, t) { return !e || e.type !== "GenericTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(hB, "isGenericTypeAnnotation"); function mB(e, t) { return !e || e.type !== "InferredPredicate" ? !1 : t == null || (0, A.default)(e, t); } s(mB, "isInferredPredicate"); function yB(e, t) { return !e || e.type !== "InterfaceExtends" ? !1 : t == null || (0, A.default)(e, t); } s(yB, "isInterfaceExtends"); function gB(e, t) { return !e || e.type !== "InterfaceDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(gB, "isInterfaceDeclaration"); function bB(e, t) { return !e || e.type !== "InterfaceTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(bB, "isInterfaceTypeAnnotation"); function EB(e, t) { return !e || e.type !== "IntersectionTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(EB, "isIntersectionTypeAnnotation"); function vB(e, t) { return !e || e.type !== "MixedTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(vB, "isMixedTypeAnnotation"); function TB(e, t) { return !e || e.type !== "EmptyTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(TB, "isEmptyTypeAnnotation"); function xB(e, t) { return !e || e.type !== "NullableTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(xB, "isNullableTypeAnnotation"); function SB(e, t) { return !e || e.type !== "NumberLiteralTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(SB, "isNumberLiteralTypeAnnotation"); function PB(e, t) { return !e || e.type !== "NumberTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(PB, "isNumberTypeAnnotation"); function AB(e, t) { return !e || e.type !== "ObjectTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(AB, "isObjectTypeAnnotation"); function CB(e, t) { return !e || e.type !== "ObjectTypeInternalSlot" ? !1 : t == null || (0, A.default)(e, t); } s(CB, "isObjectTypeInternalSlot"); function wB(e, t) { return !e || e.type !== "ObjectTypeCallProperty" ? !1 : t == null || (0, A.default)(e, t); } s(wB, "isObjectTypeCallProperty"); function DB(e, t) { return !e || e.type !== "ObjectTypeIndexer" ? !1 : t == null || (0, A.default)(e, t); } s(DB, "isObjectTypeIndexer"); function IB(e, t) { return !e || e.type !== "ObjectTypeProperty" ? !1 : t == null || (0, A.default)(e, t); } s(IB, "isObjectTypeProperty"); function _B(e, t) { return !e || e.type !== "ObjectTypeSpreadProperty" ? !1 : t == null || (0, A.default)(e, t); } s(_B, "isObjectTypeSpreadProperty"); function OB(e, t) { return !e || e.type !== "OpaqueType" ? !1 : t == null || (0, A.default)(e, t); } s(OB, "isOpaqueType"); function NB(e, t) { return !e || e.type !== "QualifiedTypeIdentifier" ? !1 : t == null || (0, A.default)(e, t); } s(NB, "isQualifiedTypeIdentifier"); function BB(e, t) { return !e || e.type !== "StringLiteralTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(BB, "isStringLiteralTypeAnnotation"); function kB(e, t) { return !e || e.type !== "StringTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(kB, "isStringTypeAnnotation"); function FB(e, t) { return !e || e.type !== "SymbolTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(FB, "isSymbolTypeAnnotation"); function jB(e, t) { return !e || e.type !== "ThisTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(jB, "isThisTypeAnnotation"); function LB(e, t) { return !e || e.type !== "TupleTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(LB, "isTupleTypeAnnotation"); function MB(e, t) { return !e || e.type !== "TypeofTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(MB, "isTypeofTypeAnnotation"); function RB(e, t) { return !e || e.type !== "TypeAlias" ? !1 : t == null || (0, A.default)(e, t); } s(RB, "isTypeAlias"); function qB(e, t) { return !e || e.type !== "TypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(qB, "isTypeAnnotation"); function UB(e, t) { return !e || e.type !== "TypeCastExpression" ? !1 : t == null || (0, A.default)(e, t); } s(UB, "isTypeCastExpression"); function VB(e, t) { return !e || e.type !== "TypeParameter" ? !1 : t == null || (0, A.default)(e, t); } s(VB, "isTypeParameter"); function $B(e, t) { return !e || e.type !== "TypeParameterDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s($B, "isTypeParameterDeclaration"); function WB(e, t) { return !e || e.type !== "TypeParameterInstantiation" ? !1 : t == null || (0, A.default)(e, t); } s(WB, "isTypeParameterInstantiation"); function KB(e, t) { return !e || e.type !== "UnionTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(KB, "isUnionTypeAnnotation"); function GB(e, t) { return !e || e.type !== "Variance" ? !1 : t == null || (0, A.default)(e, t); } s(GB, "isVariance"); function HB(e, t) { return !e || e.type !== "VoidTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(HB, "isVoidTypeAnnotation"); function YB(e, t) { return !e || e.type !== "EnumDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(YB, "isEnumDeclaration"); function zB(e, t) { return !e || e.type !== "EnumBooleanBody" ? !1 : t == null || (0, A.default)(e, t); } s(zB, "isEnumBooleanBody"); function JB(e, t) { return !e || e.type !== "EnumNumberBody" ? !1 : t == null || (0, A.default)(e, t); } s(JB, "isEnumNumberBody"); function XB(e, t) { return !e || e.type !== "EnumStringBody" ? !1 : t == null || (0, A.default)(e, t); } s(XB, "isEnumStringBody"); function QB(e, t) { return !e || e.type !== "EnumSymbolBody" ? !1 : t == null || (0, A.default)(e, t); } s(QB, "isEnumSymbolBody"); function ZB(e, t) { return !e || e.type !== "EnumBooleanMember" ? !1 : t == null || (0, A.default)(e, t); } s(ZB, "isEnumBooleanMember"); function ek(e, t) { return !e || e.type !== "EnumNumberMember" ? !1 : t == null || (0, A.default)(e, t); } s(ek, "isEnumNumberMember"); function tk(e, t) { return !e || e.type !== "EnumStringMember" ? !1 : t == null || (0, A.default)(e, t); } s(tk, "isEnumStringMember"); function rk(e, t) { return !e || e.type !== "EnumDefaultedMember" ? !1 : t == null || (0, A.default)(e, t); } s(rk, "isEnumDefaultedMember"); function nk(e, t) { return !e || e.type !== "IndexedAccessType" ? !1 : t == null || (0, A.default)(e, t); } s(nk, "isIndexedAccessType"); function sk(e, t) { return !e || e.type !== "OptionalIndexedAccessType" ? !1 : t == null || (0, A.default)(e, t); } s(sk, "isOptionalIndexedAccessType"); function ik(e, t) { return !e || e.type !== "JSXAttribute" ? !1 : t == null || (0, A.default)(e, t); } s(ik, "isJSXAttribute"); function ak(e, t) { return !e || e.type !== "JSXClosingElement" ? !1 : t == null || (0, A.default)(e, t); } s(ak, "isJSXClosingElement"); function ok(e, t) { return !e || e.type !== "JSXElement" ? !1 : t == null || (0, A.default)(e, t); } s(ok, "isJSXElement"); function lk(e, t) { return !e || e.type !== "JSXEmptyExpression" ? !1 : t == null || (0, A.default)(e, t); } s(lk, "isJSXEmptyExpression"); function uk(e, t) { return !e || e.type !== "JSXExpressionContainer" ? !1 : t == null || (0, A.default)(e, t); } s(uk, "isJSXExpressionContainer"); function ck(e, t) { return !e || e.type !== "JSXSpreadChild" ? !1 : t == null || (0, A.default)(e, t); } s(ck, "isJSXSpreadChild"); function fk(e, t) { return !e || e.type !== "JSXIdentifier" ? !1 : t == null || (0, A.default)(e, t); } s(fk, "isJSXIdentifier"); function pk(e, t) { return !e || e.type !== "JSXMemberExpression" ? !1 : t == null || (0, A.default)(e, t); } s(pk, "isJSXMemberExpression"); function dk(e, t) { return !e || e.type !== "JSXNamespacedName" ? !1 : t == null || (0, A.default)(e, t); } s(dk, "isJSXNamespacedName"); function hk(e, t) { return !e || e.type !== "JSXOpeningElement" ? !1 : t == null || (0, A.default)(e, t); } s(hk, "isJSXOpeningElement"); function mk(e, t) { return !e || e.type !== "JSXSpreadAttribute" ? !1 : t == null || (0, A.default)(e, t); } s(mk, "isJSXSpreadAttribute"); function yk(e, t) { return !e || e.type !== "JSXText" ? !1 : t == null || (0, A.default)(e, t); } s(yk, "isJSXText"); function gk(e, t) { return !e || e.type !== "JSXFragment" ? !1 : t == null || (0, A.default)(e, t); } s(gk, "isJSXFragment"); function bk(e, t) { return !e || e.type !== "JSXOpeningFragment" ? !1 : t == null || (0, A.default)(e, t); } s(bk, "isJSXOpeningFragment"); function Ek(e, t) { return !e || e.type !== "JSXClosingFragment" ? !1 : t == null || (0, A.default)(e, t); } s(Ek, "isJSXClosingFragment"); function vk(e, t) { return !e || e.type !== "Noop" ? !1 : t == null || (0, A.default)(e, t); } s(vk, "isNoop"); function Tk(e, t) { return !e || e.type !== "Placeholder" ? !1 : t == null || (0, A.default)(e, t); } s(Tk, "isPlaceholder"); function xk(e, t) { return !e || e.type !== "V8IntrinsicIdentifier" ? !1 : t == null || (0, A.default)(e, t); } s(xk, "isV8IntrinsicIdentifier"); function Sk(e, t) { return !e || e.type !== "ArgumentPlaceholder" ? !1 : t == null || (0, A.default)(e, t); } s(Sk, "isArgumentPlaceholder"); function Pk(e, t) { return !e || e.type !== "BindExpression" ? !1 : t == null || (0, A.default)(e, t); } s(Pk, "isBindExpression"); function Ak(e, t) { return !e || e.type !== "ImportAttribute" ? !1 : t == null || (0, A.default)(e, t); } s(Ak, "isImportAttribute"); function Ck(e, t) { return !e || e.type !== "Decorator" ? !1 : t == null || (0, A.default)(e, t); } s(Ck, "isDecorator"); function wk(e, t) { return !e || e.type !== "DoExpression" ? !1 : t == null || (0, A.default)(e, t); } s(wk, "isDoExpression"); function Dk(e, t) { return !e || e.type !== "ExportDefaultSpecifier" ? !1 : t == null || (0, A.default)(e, t); } s(Dk, "isExportDefaultSpecifier"); function Ik(e, t) { return !e || e.type !== "RecordExpression" ? !1 : t == null || (0, A.default)(e, t); } s(Ik, "isRecordExpression"); function _k(e, t) { return !e || e.type !== "TupleExpression" ? !1 : t == null || (0, A.default)(e, t); } s(_k, "isTupleExpression"); function Ok(e, t) { return !e || e.type !== "DecimalLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(Ok, "isDecimalLiteral"); function Nk(e, t) { return !e || e.type !== "ModuleExpression" ? !1 : t == null || (0, A.default)(e, t); } s(Nk, "isModuleExpression"); function Bk(e, t) { return !e || e.type !== "TopicReference" ? !1 : t == null || (0, A.default)(e, t); } s(Bk, "isTopicReference"); function kk(e, t) { return !e || e.type !== "PipelineTopicExpression" ? !1 : t == null || (0, A.default)(e, t); } s(kk, "isPipelineTopicExpression"); function Fk(e, t) { return !e || e.type !== "PipelineBareFunction" ? !1 : t == null || (0, A.default)(e, t); } s(Fk, "isPipelineBareFunction"); function jk(e, t) { return !e || e.type !== "PipelinePrimaryTopicReference" ? !1 : t == null || (0, A.default)(e, t); } s(jk, "isPipelinePrimaryTopicReference"); function Lk(e, t) { return !e || e.type !== "TSParameterProperty" ? !1 : t == null || (0, A.default)(e, t); } s(Lk, "isTSParameterProperty"); function Mk(e, t) { return !e || e.type !== "TSDeclareFunction" ? !1 : t == null || (0, A.default)(e, t); } s(Mk, "isTSDeclareFunction"); function Rk(e, t) { return !e || e.type !== "TSDeclareMethod" ? !1 : t == null || (0, A.default)(e, t); } s(Rk, "isTSDeclareMethod"); function qk(e, t) { return !e || e.type !== "TSQualifiedName" ? !1 : t == null || (0, A.default)(e, t); } s(qk, "isTSQualifiedName"); function Uk(e, t) { return !e || e.type !== "TSCallSignatureDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(Uk, "isTSCallSignatureDeclaration"); function Vk(e, t) { return !e || e.type !== "TSConstructSignatureDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(Vk, "isTSConstructSignatureDeclaration"); function $k(e, t) { return !e || e.type !== "TSPropertySignature" ? !1 : t == null || (0, A.default)(e, t); } s($k, "isTSPropertySignature"); function Wk(e, t) { return !e || e.type !== "TSMethodSignature" ? !1 : t == null || (0, A.default)(e, t); } s(Wk, "isTSMethodSignature"); function Kk(e, t) { return !e || e.type !== "TSIndexSignature" ? !1 : t == null || (0, A.default)(e, t); } s(Kk, "isTSIndexSignature"); function Gk(e, t) { return !e || e.type !== "TSAnyKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(Gk, "isTSAnyKeyword"); function Hk(e, t) { return !e || e.type !== "TSBooleanKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(Hk, "isTSBooleanKeyword"); function Yk(e, t) { return !e || e.type !== "TSBigIntKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(Yk, "isTSBigIntKeyword"); function zk(e, t) { return !e || e.type !== "TSIntrinsicKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(zk, "isTSIntrinsicKeyword"); function Jk(e, t) { return !e || e.type !== "TSNeverKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(Jk, "isTSNeverKeyword"); function Xk(e, t) { return !e || e.type !== "TSNullKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(Xk, "isTSNullKeyword"); function Qk(e, t) { return !e || e.type !== "TSNumberKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(Qk, "isTSNumberKeyword"); function Zk(e, t) { return !e || e.type !== "TSObjectKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(Zk, "isTSObjectKeyword"); function eF(e, t) { return !e || e.type !== "TSStringKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(eF, "isTSStringKeyword"); function tF(e, t) { return !e || e.type !== "TSSymbolKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(tF, "isTSSymbolKeyword"); function rF(e, t) { return !e || e.type !== "TSUndefinedKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(rF, "isTSUndefinedKeyword"); function nF(e, t) { return !e || e.type !== "TSUnknownKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(nF, "isTSUnknownKeyword"); function sF(e, t) { return !e || e.type !== "TSVoidKeyword" ? !1 : t == null || (0, A.default)(e, t); } s(sF, "isTSVoidKeyword"); function iF(e, t) { return !e || e.type !== "TSThisType" ? !1 : t == null || (0, A.default)(e, t); } s(iF, "isTSThisType"); function aF(e, t) { return !e || e.type !== "TSFunctionType" ? !1 : t == null || (0, A.default)(e, t); } s(aF, "isTSFunctionType"); function oF(e, t) { return !e || e.type !== "TSConstructorType" ? !1 : t == null || (0, A.default)(e, t); } s(oF, "isTSConstructorType"); function lF(e, t) { return !e || e.type !== "TSTypeReference" ? !1 : t == null || (0, A.default)(e, t); } s(lF, "isTSTypeReference"); function uF(e, t) { return !e || e.type !== "TSTypePredicate" ? !1 : t == null || (0, A.default)(e, t); } s(uF, "isTSTypePredicate"); function cF(e, t) { return !e || e.type !== "TSTypeQuery" ? !1 : t == null || (0, A.default)(e, t); } s(cF, "isTSTypeQuery"); function fF(e, t) { return !e || e.type !== "TSTypeLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(fF, "isTSTypeLiteral"); function pF(e, t) { return !e || e.type !== "TSArrayType" ? !1 : t == null || (0, A.default)(e, t); } s(pF, "isTSArrayType"); function dF(e, t) { return !e || e.type !== "TSTupleType" ? !1 : t == null || (0, A.default)(e, t); } s(dF, "isTSTupleType"); function hF(e, t) { return !e || e.type !== "TSOptionalType" ? !1 : t == null || (0, A.default)(e, t); } s(hF, "isTSOptionalType"); function mF(e, t) { return !e || e.type !== "TSRestType" ? !1 : t == null || (0, A.default)(e, t); } s(mF, "isTSRestType"); function yF(e, t) { return !e || e.type !== "TSNamedTupleMember" ? !1 : t == null || (0, A.default)(e, t); } s(yF, "isTSNamedTupleMember"); function gF(e, t) { return !e || e.type !== "TSUnionType" ? !1 : t == null || (0, A.default)(e, t); } s(gF, "isTSUnionType"); function bF(e, t) { return !e || e.type !== "TSIntersectionType" ? !1 : t == null || (0, A.default)(e, t); } s(bF, "isTSIntersectionType"); function EF(e, t) { return !e || e.type !== "TSConditionalType" ? !1 : t == null || (0, A.default)(e, t); } s(EF, "isTSConditionalType"); function vF(e, t) { return !e || e.type !== "TSInferType" ? !1 : t == null || (0, A.default)(e, t); } s(vF, "isTSInferType"); function TF(e, t) { return !e || e.type !== "TSParenthesizedType" ? !1 : t == null || (0, A.default)(e, t); } s(TF, "isTSParenthesizedType"); function xF(e, t) { return !e || e.type !== "TSTypeOperator" ? !1 : t == null || (0, A.default)(e, t); } s(xF, "isTSTypeOperator"); function SF(e, t) { return !e || e.type !== "TSIndexedAccessType" ? !1 : t == null || (0, A.default)(e, t); } s(SF, "isTSIndexedAccessType"); function PF(e, t) { return !e || e.type !== "TSMappedType" ? !1 : t == null || (0, A.default)(e, t); } s(PF, "isTSMappedType"); function AF(e, t) { return !e || e.type !== "TSLiteralType" ? !1 : t == null || (0, A.default)(e, t); } s(AF, "isTSLiteralType"); function CF(e, t) { return !e || e.type !== "TSExpressionWithTypeArguments" ? !1 : t == null || (0, A.default)(e, t); } s(CF, "isTSExpressionWithTypeArguments"); function wF(e, t) { return !e || e.type !== "TSInterfaceDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(wF, "isTSInterfaceDeclaration"); function DF(e, t) { return !e || e.type !== "TSInterfaceBody" ? !1 : t == null || (0, A.default)(e, t); } s(DF, "isTSInterfaceBody"); function IF(e, t) { return !e || e.type !== "TSTypeAliasDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(IF, "isTSTypeAliasDeclaration"); function _F(e, t) { return !e || e.type !== "TSInstantiationExpression" ? !1 : t == null || (0, A.default)(e, t); } s(_F, "isTSInstantiationExpression"); function OF(e, t) { return !e || e.type !== "TSAsExpression" ? !1 : t == null || (0, A.default)(e, t); } s(OF, "isTSAsExpression"); function NF(e, t) { return !e || e.type !== "TSSatisfiesExpression" ? !1 : t == null || (0, A.default)(e, t); } s(NF, "isTSSatisfiesExpression"); function BF(e, t) { return !e || e.type !== "TSTypeAssertion" ? !1 : t == null || (0, A.default)(e, t); } s(BF, "isTSTypeAssertion"); function kF(e, t) { return !e || e.type !== "TSEnumDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(kF, "isTSEnumDeclaration"); function FF(e, t) { return !e || e.type !== "TSEnumMember" ? !1 : t == null || (0, A.default)(e, t); } s(FF, "isTSEnumMember"); function jF(e, t) { return !e || e.type !== "TSModuleDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(jF, "isTSModuleDeclaration"); function LF(e, t) { return !e || e.type !== "TSModuleBlock" ? !1 : t == null || (0, A.default)(e, t); } s(LF, "isTSModuleBlock"); function MF(e, t) { return !e || e.type !== "TSImportType" ? !1 : t == null || (0, A.default)(e, t); } s(MF, "isTSImportType"); function RF(e, t) { return !e || e.type !== "TSImportEqualsDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(RF, "isTSImportEqualsDeclaration"); function qF(e, t) { return !e || e.type !== "TSExternalModuleReference" ? !1 : t == null || (0, A.default)(e, t); } s(qF, "isTSExternalModuleReference"); function UF(e, t) { return !e || e.type !== "TSNonNullExpression" ? !1 : t == null || (0, A.default)(e, t); } s(UF, "isTSNonNullExpression"); function VF(e, t) { return !e || e.type !== "TSExportAssignment" ? !1 : t == null || (0, A.default)(e, t); } s(VF, "isTSExportAssignment"); function $F(e, t) { return !e || e.type !== "TSNamespaceExportDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s($F, "isTSNamespaceExportDeclaration"); function WF(e, t) { return !e || e.type !== "TSTypeAnnotation" ? !1 : t == null || (0, A.default)(e, t); } s(WF, "isTSTypeAnnotation"); function KF(e, t) { return !e || e.type !== "TSTypeParameterInstantiation" ? !1 : t == null || (0, A.default)(e, t); } s(KF, "isTSTypeParameterInstantiation"); function GF(e, t) { return !e || e.type !== "TSTypeParameterDeclaration" ? !1 : t == null || (0, A.default)(e, t); } s(GF, "isTSTypeParameterDeclaration"); function HF(e, t) { return !e || e.type !== "TSTypeParameter" ? !1 : t == null || (0, A.default)(e, t); } s(HF, "isTSTypeParameter"); function YF(e, t) { if (!e) return !1; switch (e.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 (e.expectedNode) { case "Identifier": case "StringLiteral": case "BlockStatement": case "ClassBody": break; default: return !1; } break; default: return !1; } return t == null || (0, A.default)(e, t); } s(YF, "isStandardized"); function zF(e, t) { if (!e) return !1; switch (e.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 (e.expectedNode) { case "Expression": case "Identifier": case "StringLiteral": break; default: return !1; } break; default: return !1; } return t == null || (0, A.default)(e, t); } s(zF, "isExpression"); function JF(e, t) { if (!e) return !1; switch (e.type) { case "BinaryExpression": case "LogicalExpression": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(JF, "isBinary"); function XF(e, t) { if (!e) return !1; switch (e.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 (e.expectedNode === "BlockStatement") break; default: return !1; } return t == null || (0, A.default)(e, t); } s(XF, "isScopable"); function QF(e, t) { if (!e) return !1; switch (e.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 (e.expectedNode === "BlockStatement") break; default: return !1; } return t == null || (0, A.default)(e, t); } s(QF, "isBlockParent"); function ZF(e, t) { if (!e) return !1; switch (e.type) { case "BlockStatement": case "Program": case "TSModuleBlock": break; case "Placeholder": if (e.expectedNode === "BlockStatement") break; default: return !1; } return t == null || (0, A.default)(e, t); } s(ZF, "isBlock"); function e4(e, t) { if (!e) return !1; switch (e.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 (e.expectedNode) { case "Statement": case "Declaration": case "BlockStatement": break; default: return !1; } break; default: return !1; } return t == null || (0, A.default)(e, t); } s(e4, "isStatement"); function t4(e, t) { if (!e) return !1; switch (e.type) { case "BreakStatement": case "ContinueStatement": case "ReturnStatement": case "ThrowStatement": case "YieldExpression": case "AwaitExpression": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(t4, "isTerminatorless"); function r4(e, t) { if (!e) return !1; switch (e.type) { case "BreakStatement": case "ContinueStatement": case "ReturnStatement": case "ThrowStatement": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(r4, "isCompletionStatement"); function n4(e, t) { if (!e) return !1; switch (e.type) { case "ConditionalExpression": case "IfStatement": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(n4, "isConditional"); function s4(e, t) { if (!e) return !1; switch (e.type) { case "DoWhileStatement": case "ForInStatement": case "ForStatement": case "WhileStatement": case "ForOfStatement": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(s4, "isLoop"); function i4(e, t) { if (!e) return !1; switch (e.type) { case "DoWhileStatement": case "WhileStatement": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(i4, "isWhile"); function a4(e, t) { if (!e) return !1; switch (e.type) { case "ExpressionStatement": case "ParenthesizedExpression": case "TypeCastExpression": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(a4, "isExpressionWrapper"); function o4(e, t) { if (!e) return !1; switch (e.type) { case "ForInStatement": case "ForStatement": case "ForOfStatement": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(o4, "isFor"); function l4(e, t) { if (!e) return !1; switch (e.type) { case "ForInStatement": case "ForOfStatement": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(l4, "isForXStatement"); function u4(e, t) { if (!e) return !1; switch (e.type) { case "FunctionDeclaration": case "FunctionExpression": case "ObjectMethod": case "ArrowFunctionExpression": case "ClassMethod": case "ClassPrivateMethod": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(u4, "isFunction"); function c4(e, t) { if (!e) return !1; switch (e.type) { case "FunctionDeclaration": case "FunctionExpression": case "ObjectMethod": case "ArrowFunctionExpression": case "ClassMethod": case "ClassPrivateMethod": case "StaticBlock": case "TSModuleBlock": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(c4, "isFunctionParent"); function f4(e, t) { if (!e) return !1; switch (e.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 (e.expectedNode === "StringLiteral") break; default: return !1; } return t == null || (0, A.default)(e, t); } s(f4, "isPureish"); function p4(e, t) { if (!e) return !1; switch (e.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 (e.expectedNode === "Declaration") break; default: return !1; } return t == null || (0, A.default)(e, t); } s(p4, "isDeclaration"); function d4(e, t) { if (!e) return !1; switch (e.type) { case "Identifier": case "RestElement": case "AssignmentPattern": case "ArrayPattern": case "ObjectPattern": case "TSAsExpression": case "TSSatisfiesExpression": case "TSTypeAssertion": case "TSNonNullExpression": break; case "Placeholder": switch (e.expectedNode) { case "Pattern": case "Identifier": break; default: return !1; } break; default: return !1; } return t == null || (0, A.default)(e, t); } s(d4, "isPatternLike"); function h4(e, t) { if (!e) return !1; switch (e.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 (e.expectedNode) { case "Pattern": case "Identifier": break; default: return !1; } break; default: return !1; } return t == null || (0, A.default)(e, t); } s(h4, "isLVal"); function m4(e, t) { if (!e) return !1; switch (e.type) { case "Identifier": case "TSQualifiedName": break; case "Placeholder": if (e.expectedNode === "Identifier") break; default: return !1; } return t == null || (0, A.default)(e, t); } s(m4, "isTSEntityName"); function y4(e, t) { if (!e) return !1; switch (e.type) { case "StringLiteral": case "NumericLiteral": case "NullLiteral": case "BooleanLiteral": case "RegExpLiteral": case "TemplateLiteral": case "BigIntLiteral": case "DecimalLiteral": break; case "Placeholder": if (e.expectedNode === "StringLiteral") break; default: return !1; } return t == null || (0, A.default)(e, t); } s(y4, "isLiteral"); function g4(e, t) { if (!e) return !1; switch (e.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 (e.expectedNode === "StringLiteral") break; default: return !1; } return t == null || (0, A.default)(e, t); } s(g4, "isImmutable"); function b4(e, t) { if (!e) return !1; switch (e.type) { case "ObjectMethod": case "ObjectProperty": case "ObjectTypeInternalSlot": case "ObjectTypeCallProperty": case "ObjectTypeIndexer": case "ObjectTypeProperty": case "ObjectTypeSpreadProperty": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(b4, "isUserWhitespacable"); function E4(e, t) { if (!e) return !1; switch (e.type) { case "ObjectMethod": case "ClassMethod": case "ClassPrivateMethod": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(E4, "isMethod"); function v4(e, t) { if (!e) return !1; switch (e.type) { case "ObjectMethod": case "ObjectProperty": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(v4, "isObjectMember"); function T4(e, t) { if (!e) return !1; switch (e.type) { case "ObjectProperty": case "ClassProperty": case "ClassAccessorProperty": case "ClassPrivateProperty": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(T4, "isProperty"); function x4(e, t) { if (!e) return !1; switch (e.type) { case "UnaryExpression": case "SpreadElement": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(x4, "isUnaryLike"); function S4(e, t) { if (!e) return !1; switch (e.type) { case "AssignmentPattern": case "ArrayPattern": case "ObjectPattern": break; case "Placeholder": if (e.expectedNode === "Pattern") break; default: return !1; } return t == null || (0, A.default)(e, t); } s(S4, "isPattern"); function P4(e, t) { if (!e) return !1; switch (e.type) { case "ClassExpression": case "ClassDeclaration": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(P4, "isClass"); function $1(e, t) { if (!e) return !1; switch (e.type) { case "ExportAllDeclaration": case "ExportDefaultDeclaration": case "ExportNamedDeclaration": case "ImportDeclaration": break; default: return !1; } return t == null || (0, A.default)(e, t); } s($1, "isImportOrExportDeclaration"); function A4(e, t) { if (!e) return !1; switch (e.type) { case "ExportAllDeclaration": case "ExportDefaultDeclaration": case "ExportNamedDeclaration": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(A4, "isExportDeclaration"); function C4(e, t) { if (!e) return !1; switch (e.type) { case "ExportSpecifier": case "ImportDefaultSpecifier": case "ImportNamespaceSpecifier": case "ImportSpecifier": case "ExportNamespaceSpecifier": case "ExportDefaultSpecifier": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(C4, "isModuleSpecifier"); function w4(e, t) { if (!e) return !1; switch (e.type) { case "ClassAccessorProperty": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(w4, "isAccessor"); function D4(e, t) { if (!e) return !1; switch (e.type) { case "ClassPrivateProperty": case "ClassPrivateMethod": case "PrivateName": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(D4, "isPrivate"); function I4(e, t) { if (!e) return !1; switch (e.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 t == null || (0, A.default)(e, t); } s(I4, "isFlow"); function _4(e, t) { if (!e) return !1; switch (e.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 t == null || (0, A.default)(e, t); } s(_4, "isFlowType"); function O4(e, t) { if (!e) return !1; switch (e.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 t == null || (0, A.default)(e, t); } s(O4, "isFlowBaseAnnotation"); function N4(e, t) { if (!e) return !1; switch (e.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 t == null || (0, A.default)(e, t); } s(N4, "isFlowDeclaration"); function B4(e, t) { if (!e) return !1; switch (e.type) { case "DeclaredPredicate": case "InferredPredicate": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(B4, "isFlowPredicate"); function k4(e, t) { if (!e) return !1; switch (e.type) { case "EnumBooleanBody": case "EnumNumberBody": case "EnumStringBody": case "EnumSymbolBody": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(k4, "isEnumBody"); function F4(e, t) { if (!e) return !1; switch (e.type) { case "EnumBooleanMember": case "EnumNumberMember": case "EnumStringMember": case "EnumDefaultedMember": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(F4, "isEnumMember"); function j4(e, t) { if (!e) return !1; switch (e.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 t == null || (0, A.default)(e, t); } s(j4, "isJSX"); function L4(e, t) { if (!e) return !1; switch (e.type) { case "Noop": case "Placeholder": case "V8IntrinsicIdentifier": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(L4, "isMiscellaneous"); function M4(e, t) { if (!e) return !1; switch (e.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 t == null || (0, A.default)(e, t); } s(M4, "isTypeScript"); function R4(e, t) { if (!e) return !1; switch (e.type) { case "TSCallSignatureDeclaration": case "TSConstructSignatureDeclaration": case "TSPropertySignature": case "TSMethodSignature": case "TSIndexSignature": break; default: return !1; } return t == null || (0, A.default)(e, t); } s(R4, "isTSTypeElement"); function q4(e, t) { if (!e) return !1; switch (e.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 t == null || (0, A.default)(e, t); } s(q4, "isTSType"); function U4(e, t) { if (!e) return !1; switch (e.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 t == null || (0, A.default)(e, t); } s(U4, "isTSBaseType"); function V4(e, t) { return (0, Ca.default)("isNumberLiteral", "isNumericLiteral"), !e || e.type !== "NumberLiteral" ? !1 : t == null || (0, A.default)(e, t); } s(V4, "isNumberLiteral"); function $4(e, t) { return (0, Ca.default)("isRegexLiteral", "isRegExpLiteral"), !e || e.type !== "RegexLiteral" ? !1 : t == null || (0, A.default)(e, t); } s($4, "isRegexLiteral"); function W4(e, t) { return (0, Ca.default)("isRestProperty", "isRestElement"), !e || e.type !== "RestProperty" ? !1 : t == null || (0, A.default)(e, t); } s(W4, "isRestProperty"); function K4(e, t) { return (0, Ca.default)("isSpreadProperty", "isSpreadElement"), !e || e.type !== "SpreadProperty" ? !1 : t == null || (0, A.default)(e, t); } s(K4, "isSpreadProperty"); function G4(e, t) { return (0, Ca.default)("isModuleDeclaration", "isImportOrExportDeclaration"), $1(e, t); } s(G4, "isModuleDeclaration"); }); // ../node_modules/@babel/types/lib/validators/matchesPattern.js var Qf = T((Xf) => { "use strict"; Object.defineProperty(Xf, "__esModule", { value: !0 }); Xf.default = H4; var wa = vt(); function H4(e, t, r) { if (!(0, wa.isMemberExpression)(e)) return !1; let n = Array.isArray(t) ? t : t.split("."), i = [], a; for (a = e; (0, wa.isMemberExpression)(a); a = a.object) i.push(a.property); if (i.push(a), i.length < n.length || !r && i.length > n.length) return !1; for (let o = 0, l = i.length - 1; o < n.length; o++, l--) { let u = i[l], c; if ((0, wa.isIdentifier)(u)) c = u.name; else if ((0, wa.isStringLiteral)(u)) c = u.value; else if ((0, wa.isThisExpression)(u)) c = "this"; else return !1; if (n[o] !== c) return !1; } return !0; } s(H4, "matchesPattern"); }); // ../node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js var ep = T((Zf) => { "use strict"; Object.defineProperty(Zf, "__esModule", { value: !0 }); Zf.default = z4; var Y4 = Qf(); function z4(e, t) { let r = e.split("."); return (n) => (0, Y4.default)(n, r, t); } s(z4, "buildMatchMemberExpression"); }); // ../node_modules/@babel/types/lib/validators/react/isReactComponent.js var W1 = T((pl) => { "use strict"; Object.defineProperty(pl, "__esModule", { value: !0 }); pl.default = void 0; var J4 = ep(), X4 = (0, J4.default)("React.Component"), dEe = pl.default = X4; }); // ../node_modules/@babel/types/lib/validators/react/isCompatTag.js var K1 = T((tp) => { "use strict"; Object.defineProperty(tp, "__esModule", { value: !0 }); tp.default = Q4; function Q4(e) { return !!e && /^[a-z]/.test(e); } s(Q4, "isCompatTag"); }); // ../node_modules/to-fast-properties/index.js var H1 = T((gEe, G1) => { "use strict"; var Da = null; function Ia(e) { if (Da !== null && typeof Da.property) { let t = Da; return Da = Ia.prototype = null, t; } return Da = Ia.prototype = e ?? /* @__PURE__ */ Object.create(null), new Ia(); } s(Ia, "FastObject"); Ia(); G1.exports = /* @__PURE__ */ s(function(t) { return Ia(t); }, "toFastproperties"); }); // ../node_modules/@babel/types/lib/validators/isType.js var dl = T((rp) => { "use strict"; Object.defineProperty(rp, "__esModule", { value: !0 }); rp.default = Z4; var Y1 = Ar(); function Z4(e, t) { if (e === t) return !0; if (e == null || Y1.ALIAS_KEYS[t]) return !1; let r = Y1.FLIPPED_ALIAS_KEYS[t]; if (r) { if (r[0] === e) return !0; for (let n of r) if (e === n) return !0; } return !1; } s(Z4, "isType"); }); // ../node_modules/@babel/types/lib/validators/isPlaceholderType.js var sp = T((np) => { "use strict"; Object.defineProperty(np, "__esModule", { value: !0 }); np.default = t8; var e8 = Ar(); function t8(e, t) { if (e === t) return !0; let r = e8.PLACEHOLDERS_ALIAS[e]; if (r) { for (let n of r) if (t === n) return !0; } return !1; } s(t8, "isPlaceholderType"); }); // ../node_modules/@babel/types/lib/validators/is.js var mi = T((ip) => { "use strict"; Object.defineProperty(ip, "__esModule", { value: !0 }); ip.default = a8; var r8 = fl(), n8 = dl(), s8 = sp(), i8 = Ar(); function a8(e, t, r) { return t ? (0, n8.default)(t.type, e) ? typeof r > "u" ? !0 : (0, r8.default)(t, r) : !r && t.type === "Placeholder" && e in i8.FLIPPED_ALIAS_KEYS ? (0, s8.default)(t.expectedNode, e) : !1 : !1; } s(a8, "is"); }); // ../node_modules/@babel/helper-validator-identifier/lib/identifier.js var Z1 = T((_a) => { "use strict"; Object.defineProperty(_a, "__esModule", { value: !0 }); _a.isIdentifierChar = Q1; _a.isIdentifierName = c8; _a.isIdentifierStart = X1; var op = "\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", z1 = "\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", o8 = new RegExp("[" + op + "]"), l8 = new RegExp("[" + op + z1 + "]"); op = z1 = null; var J1 = [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], u8 = [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]; function ap(e, t) { let r = 65536; for (let n = 0, i = t.length; n < i; n += 2) { if (r += t[n], r > e) return !1; if (r += t[n + 1], r >= e) return !0; } return !1; } s(ap, "isInAstralSet"); function X1(e) { return e < 65 ? e === 36 : e <= 90 ? !0 : e < 97 ? e === 95 : e <= 122 ? !0 : e <= 65535 ? e >= 170 && o8.test(String.fromCharCode(e)) : ap(e, J1); } s(X1, "isIdentifierStart"); function Q1(e) { return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e <= 90 ? !0 : e < 97 ? e === 95 : e <= 122 ? !0 : e <= 65535 ? e >= 170 && l8.test( String.fromCharCode(e)) : ap(e, J1) || ap(e, u8); } s(Q1, "isIdentifierChar"); function c8(e) { let t = !0; for (let r = 0; r < e.length; r++) { let n = e.charCodeAt(r); if ((n & 64512) === 55296 && r + 1 < e.length) { let i = e.charCodeAt(++r); (i & 64512) === 56320 && (n = 65536 + ((n & 1023) << 10) + (i & 1023)); } if (t) { if (t = !1, !X1(n)) return !1; } else if (!Q1(n)) return !1; } return !t; } s(c8, "isIdentifierName"); }); // ../node_modules/@babel/helper-validator-identifier/lib/keyword.js var nE = T((Is) => { "use strict"; Object.defineProperty(Is, "__esModule", { value: !0 }); Is.isKeyword = m8; Is.isReservedWord = eE; Is.isStrictBindOnlyReservedWord = rE; Is.isStrictBindReservedWord = h8; Is.isStrictReservedWord = tE; var lp = { keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "swit\ ch", "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"] }, f8 = new Set(lp.keyword), p8 = new Set(lp.strict), d8 = new Set(lp.strictBind); function eE(e, t) { return t && e === "await" || e === "enum"; } s(eE, "isReservedWord"); function tE(e, t) { return eE(e, t) || p8.has(e); } s(tE, "isStrictReservedWord"); function rE(e) { return d8.has(e); } s(rE, "isStrictBindOnlyReservedWord"); function h8(e, t) { return tE(e, t) || rE(e); } s(h8, "isStrictBindReservedWord"); function m8(e) { return f8.has(e); } s(m8, "isKeyword"); }); // ../node_modules/@babel/helper-validator-identifier/lib/index.js var yi = T((on) => { "use strict"; Object.defineProperty(on, "__esModule", { value: !0 }); Object.defineProperty(on, "isIdentifierChar", { enumerable: !0, get: /* @__PURE__ */ s(function() { return up.isIdentifierChar; }, "get") }); Object.defineProperty(on, "isIdentifierName", { enumerable: !0, get: /* @__PURE__ */ s(function() { return up.isIdentifierName; }, "get") }); Object.defineProperty(on, "isIdentifierStart", { enumerable: !0, get: /* @__PURE__ */ s(function() { return up.isIdentifierStart; }, "get") }); Object.defineProperty(on, "isKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return Oa.isKeyword; }, "get") }); Object.defineProperty(on, "isReservedWord", { enumerable: !0, get: /* @__PURE__ */ s(function() { return Oa.isReservedWord; }, "get") }); Object.defineProperty(on, "isStrictBindOnlyReservedWord", { enumerable: !0, get: /* @__PURE__ */ s(function() { return Oa.isStrictBindOnlyReservedWord; }, "get") }); Object.defineProperty(on, "isStrictBindReservedWord", { enumerable: !0, get: /* @__PURE__ */ s(function() { return Oa.isStrictBindReservedWord; }, "get") }); Object.defineProperty(on, "isStrictReservedWord", { enumerable: !0, get: /* @__PURE__ */ s(function() { return Oa.isStrictReservedWord; }, "get") }); var up = Z1(), Oa = nE(); }); // ../node_modules/@babel/types/lib/validators/isValidIdentifier.js var gi = T((fp) => { "use strict"; Object.defineProperty(fp, "__esModule", { value: !0 }); fp.default = y8; var cp = yi(); function y8(e, t = !0) { return typeof e != "string" || t && ((0, cp.isKeyword)(e) || (0, cp.isStrictReservedWord)(e, !0)) ? !1 : (0, cp.isIdentifierName)(e); } s(y8, "isValidIdentifier"); }); // ../node_modules/@babel/helper-string-parser/lib/index.js var oE = T((Na) => { "use strict"; Object.defineProperty(Na, "__esModule", { value: !0 }); Na.readCodePoint = aE; Na.readInt = iE; Na.readStringContents = b8; var g8 = /* @__PURE__ */ s(function(t) { return t >= 48 && t <= 57; }, "isDigit"), sE = { decBinOct: /* @__PURE__ */ new Set([46, 66, 69, 79, 95, 98, 101, 111]), hex: /* @__PURE__ */ new Set([46, 88, 95, 120]) }, hl = { bin: /* @__PURE__ */ s((e) => e === 48 || e === 49, "bin"), oct: /* @__PURE__ */ s((e) => e >= 48 && e <= 55, "oct"), dec: /* @__PURE__ */ s((e) => e >= 48 && e <= 57, "dec"), hex: /* @__PURE__ */ s((e) => e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102, "hex") }; function b8(e, t, r, n, i, a) { let o = r, l = n, u = i, c = "", f = null, p = r, { length: h } = t; for (; ; ) { if (r >= h) { a.unterminated(o, l, u), c += t.slice(p, r); break; } let y = t.charCodeAt(r); if (E8(e, y, t, r)) { c += t.slice(p, r); break; } if (y === 92) { c += t.slice(p, r); let v = v8(t, r, n, i, e === "template", a); v.ch === null && !f ? f = { pos: r, lineStart: n, curLine: i } : c += v.ch, { pos: r, lineStart: n, curLine: i } = v, p = r; } else y === 8232 || y === 8233 ? (++r, ++i, n = r) : y === 10 || y === 13 ? e === "template" ? (c += t.slice(p, r) + ` `, ++r, y === 13 && t.charCodeAt(r) === 10 && ++r, ++i, p = n = r) : a.unterminated(o, l, u) : ++r; } return { pos: r, str: c, firstInvalidLoc: f, lineStart: n, curLine: i, containsInvalid: !!f }; } s(b8, "readStringContents"); function E8(e, t, r, n) { return e === "template" ? t === 96 || t === 36 && r.charCodeAt(n + 1) === 123 : t === (e === "double" ? 34 : 39); } s(E8, "isStringEnd"); function v8(e, t, r, n, i, a) { let o = !i; t++; let l = /* @__PURE__ */ s((c) => ({ pos: t, ch: c, lineStart: r, curLine: n }), "res"), u = e.charCodeAt(t++); switch (u) { case 110: return l(` `); case 114: return l("\r"); case 120: { let c; return { code: c, pos: t } = pp(e, t, r, n, 2, !1, o, a), l(c === null ? null : String.fromCharCode(c)); } case 117: { let c; return { code: c, pos: t } = aE(e, t, r, n, o, a), l(c === null ? null : String.fromCodePoint(c)); } case 116: return l(" "); case 98: return l("\b"); case 118: return l("\v"); case 102: return l("\f"); case 13: e.charCodeAt(t) === 10 && ++t; case 10: r = t, ++n; case 8232: case 8233: return l(""); case 56: case 57: if (i) return l(null); a.strictNumericEscape(t - 1, r, n); default: if (u >= 48 && u <= 55) { let c = t - 1, p = /^[0-7]+/.exec(e.slice(c, t + 2))[0], h = parseInt(p, 8); h > 255 && (p = p.slice(0, -1), h = parseInt(p, 8)), t += p.length - 1; let y = e.charCodeAt(t); if (p !== "0" || y === 56 || y === 57) { if (i) return l(null); a.strictNumericEscape(c, r, n); } return l(String.fromCharCode(h)); } return l(String.fromCharCode(u)); } } s(v8, "readEscapedChar"); function pp(e, t, r, n, i, a, o, l) { let u = t, c; return { n: c, pos: t } = iE(e, t, r, n, 16, i, a, !1, l, !o), c === null && (o ? l.invalidEscapeSequence(u, r, n) : t = u - 1), { code: c, pos: t }; } s(pp, "readHexChar"); function iE(e, t, r, n, i, a, o, l, u, c) { let f = t, p = i === 16 ? sE.hex : sE.decBinOct, h = i === 16 ? hl.hex : i === 10 ? hl.dec : i === 8 ? hl.oct : hl.bin, y = !1, v = 0; for (let d = 0, b = a ?? 1 / 0; d < b; ++d) { let E = e.charCodeAt(t), I; if (E === 95 && l !== "bail") { let O = e.charCodeAt(t - 1), k = e.charCodeAt(t + 1); if (l) { if (Number.isNaN(k) || !h(k) || p.has(O) || p.has(k)) { if (c) return { n: null, pos: t }; u.unexpectedNumericSeparator(t, r, n); } } else { if (c) return { n: null, pos: t }; u.numericSeparatorInEscapeSequence(t, r, n); } ++t; continue; } if (E >= 97 ? I = E - 97 + 10 : E >= 65 ? I = E - 65 + 10 : g8(E) ? I = E - 48 : I = 1 / 0, I >= i) { if (I <= 9 && c) return { n: null, pos: t }; if (I <= 9 && u.invalidDigit(t, r, n, i)) I = 0; else if (o) I = 0, y = !0; else break; } ++t, v = v * i + I; } return t === f || a != null && t - f !== a || y ? { n: null, pos: t } : { n: v, pos: t }; } s(iE, "readInt"); function aE(e, t, r, n, i, a) { let o = e.charCodeAt(t), l; if (o === 123) { if (++t, { code: l, pos: t } = pp(e, t, r, n, e.indexOf("}", t) - t, !0, i, a), ++t, l !== null && l > 1114111) if (i) a.invalidCodePoint(t, r, n); else return { code: null, pos: t }; } else ({ code: l, pos: t } = pp(e, t, r, n, 4, !1, i, a)); return { code: l, pos: t }; } s(aE, "readCodePoint"); }); // ../node_modules/@babel/types/lib/constants/index.js var Jn = T((Le) => { "use strict"; Object.defineProperty(Le, "__esModule", { value: !0 }); Le.UPDATE_OPERATORS = Le.UNARY_OPERATORS = Le.STRING_UNARY_OPERATORS = Le.STATEMENT_OR_BLOCK_KEYS = Le.NUMBER_UNARY_OPERATORS = Le.NUMBER_BINARY_OPERATORS = Le.NOT_LOCAL_BINDING = Le.LOGICAL_OPERATORS = Le.INHERIT_KEYS = Le.FOR_INIT_KEYS = Le.FLATTENABLE_KEYS = Le.EQUALITY_BINARY_OPERATORS = Le. COMPARISON_BINARY_OPERATORS = Le.COMMENT_KEYS = Le.BOOLEAN_UNARY_OPERATORS = Le.BOOLEAN_NUMBER_BINARY_OPERATORS = Le.BOOLEAN_BINARY_OPERATORS = Le.BLOCK_SCOPED_SYMBOL = Le.BINARY_OPERATORS = Le.ASSIGNMENT_OPERATORS = void 0; var FEe = Le.STATEMENT_OR_BLOCK_KEYS = ["consequent", "body", "alternate"], jEe = Le.FLATTENABLE_KEYS = ["body", "expressions"], LEe = Le. FOR_INIT_KEYS = ["left", "init"], MEe = Le.COMMENT_KEYS = ["leadingComments", "trailingComments", "innerComments"], T8 = Le.LOGICAL_OPERATORS = ["||", "&&", "??"], REe = Le.UPDATE_OPERATORS = ["++", "--"], x8 = Le.BOOLEAN_NUMBER_BINARY_OPERATORS = [">", "<", ">=", "<="], S8 = Le.EQUALITY_BINARY_OPERATORS = ["==", "===", "!=", "!=="], P8 = Le.COMPARISON_BINARY_OPERATORS = [...S8, "in", "instanceof"], A8 = Le.BOOLEAN_BINARY_OPERATORS = [...P8, ...x8], lE = Le.NUMBER_BINARY_OPERATORS = ["-", "/", "%", "*", "**", "&", "|", ">>", ">>>", "<<", "^"], qEe = Le.BINARY_OPERATORS = ["+", ...lE, ...A8, "|>"], UEe = Le.ASSIGNMENT_OPERATORS = ["=", "+=", ...lE.map((e) => e + "="), ...T8.map((e) => e + "=")], C8 = Le.BOOLEAN_UNARY_OPERATORS = ["delete", "!"], w8 = Le.NUMBER_UNARY_OPERATORS = ["+", "-", "~"], D8 = Le.STRING_UNARY_OPERATORS = ["typeof"], VEe = Le.UNARY_OPERATORS = ["void", "throw", ...C8, ...w8, ...D8], $Ee = Le.INHERIT_KEYS = { optional: ["typeAnnotation", "typeParameters", "returnType"], force: ["start", "loc", "end"] }, WEe = Le.BLOCK_SCOPED_SYMBOL = Symbol.for("var used to be block scoped"), KEe = Le.NOT_LOCAL_BINDING = Symbol.for("should not be consid\ ered a local binding"); }); // ../node_modules/@babel/types/lib/definitions/utils.js var xn = T((Je) => { "use strict"; Object.defineProperty(Je, "__esModule", { value: !0 }); Je.VISITOR_KEYS = Je.NODE_PARENT_VALIDATIONS = Je.NODE_FIELDS = Je.FLIPPED_ALIAS_KEYS = Je.DEPRECATED_KEYS = Je.BUILDER_KEYS = Je.ALIAS_KEYS = void 0; Je.arrayOf = cE; Je.arrayOfType = fE; Je.assertEach = pE; Je.assertNodeOrValueType = q8; Je.assertNodeType = hp; Je.assertOneOf = R8; Je.assertOptionalChainStart = V8; Je.assertShape = U8; Je.assertValueType = gp; Je.chain = dE; Je.default = hE; Je.defineAliasedType = K8; Je.typeIs = gl; Je.validate = yp; Je.validateArrayOfType = M8; Je.validateOptional = j8; Je.validateOptionalType = L8; Je.validateType = F8; var uE = mi(), yl = bl(), I8 = Je.VISITOR_KEYS = {}, _8 = Je.ALIAS_KEYS = {}, dp = Je.FLIPPED_ALIAS_KEYS = {}, O8 = Je.NODE_FIELDS = {}, N8 = Je. BUILDER_KEYS = {}, B8 = Je.DEPRECATED_KEYS = {}, k8 = Je.NODE_PARENT_VALIDATIONS = {}; function ml(e) { return Array.isArray(e) ? "array" : e === null ? "null" : typeof e; } s(ml, "getType"); function yp(e) { return { validate: e }; } s(yp, "validate"); function gl(e) { return typeof e == "string" ? hp(e) : hp(...e); } s(gl, "typeIs"); function F8(e) { return yp(gl(e)); } s(F8, "validateType"); function j8(e) { return { validate: e, optional: !0 }; } s(j8, "validateOptional"); function L8(e) { return { validate: gl(e), optional: !0 }; } s(L8, "validateOptionalType"); function cE(e) { return dE(gp("array"), pE(e)); } s(cE, "arrayOf"); function fE(e) { return cE(gl(e)); } s(fE, "arrayOfType"); function M8(e) { return yp(fE(e)); } s(M8, "validateArrayOfType"); function pE(e) { function t(r, n, i) { if (Array.isArray(i)) for (let a = 0; a < i.length; a++) { let o = `${n}[${a}]`, l = i[a]; e(r, o, l), process.env.BABEL_TYPES_8_BREAKING && (0, yl.validateChild)(r, o, l); } } return s(t, "validator"), t.each = e, t; } s(pE, "assertEach"); function R8(...e) { function t(r, n, i) { if (!e.includes(i)) throw new TypeError(`Property ${n} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(i)}`); } return s(t, "validate"), t.oneOf = e, t; } s(R8, "assertOneOf"); function hp(...e) { function t(r, n, i) { for (let a of e) if ((0, uE.default)(a, i)) { (0, yl.validateChild)(r, n, i); return; } throw new TypeError(`Property ${n} of ${r.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i?. type)}`); } return s(t, "validate"), t.oneOfNodeTypes = e, t; } s(hp, "assertNodeType"); function q8(...e) { function t(r, n, i) { for (let a of e) if (ml(i) === a || (0, uE.default)(a, i)) { (0, yl.validateChild)(r, n, i); return; } throw new TypeError(`Property ${n} of ${r.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i?. type)}`); } return s(t, "validate"), t.oneOfNodeOrValueTypes = e, t; } s(q8, "assertNodeOrValueType"); function gp(e) { function t(r, n, i) { if (!(ml(i) === e)) throw new TypeError(`Property ${n} expected type of ${e} but got ${ml(i)}`); } return s(t, "validate"), t.type = e, t; } s(gp, "assertValueType"); function U8(e) { function t(r, n, i) { let a = []; for (let o of Object.keys(e)) try { (0, yl.validateField)(r, o, i[o], e[o]); } catch (l) { if (l instanceof TypeError) { a.push(l.message); continue; } throw l; } if (a.length) throw new TypeError(`Property ${n} of ${r.type} expected to have the following: ${a.join(` `)}`); } return s(t, "validate"), t.shapeOf = e, t; } s(U8, "assertShape"); function V8() { function e(t) { var r; let n = t; for (; t; ) { let { type: i } = n; if (i === "OptionalCallExpression") { if (n.optional) return; n = n.callee; continue; } if (i === "OptionalMemberExpression") { if (n.optional) return; n = n.object; continue; } break; } throw new TypeError(`Non-optional ${t.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chai\ n from ${(r = n) == null ? void 0 : r.type}`); } return s(e, "validate"), e; } s(V8, "assertOptionalChainStart"); function dE(...e) { function t(...r) { for (let n of e) n(...r); } if (s(t, "validate"), t.chainOf = e, e.length >= 2 && "type" in e[0] && e[0].type === "array" && !("each" in e[1])) throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.'); return t; } s(dE, "chain"); var $8 = ["aliases", "builder", "deprecatedAlias", "fields", "inherits", "visitor", "validate"], W8 = ["default", "optional", "deprecated", "validate"], mp = {}; function K8(...e) { return (t, r = {}) => { let n = r.aliases; if (!n) { var i, a; r.inherits && (n = (i = mp[r.inherits].aliases) == null ? void 0 : i.slice()), (a = n) != null || (n = []), r.aliases = n; } let o = e.filter((l) => !n.includes(l)); n.unshift(...o), hE(t, r); }; } s(K8, "defineAliasedType"); function hE(e, t = {}) { let r = t.inherits && mp[t.inherits] || {}, n = t.fields; if (!n && (n = {}, r.fields)) { let l = Object.getOwnPropertyNames(r.fields); for (let u of l) { let c = r.fields[u], f = c.default; if (Array.isArray(f) ? f.length > 0 : f && typeof f == "object") throw new Error("field defaults can only be primitives or empty arrays currently"); n[u] = { default: Array.isArray(f) ? [] : f, optional: c.optional, deprecated: c.deprecated, validate: c.validate }; } } let i = t.visitor || r.visitor || [], a = t.aliases || r.aliases || [], o = t.builder || r.builder || t.visitor || []; for (let l of Object.keys(t)) if (!$8.includes(l)) throw new Error(`Unknown type option "${l}" on ${e}`); t.deprecatedAlias && (B8[t.deprecatedAlias] = e); for (let l of i.concat(o)) n[l] = n[l] || {}; for (let l of Object.keys(n)) { let u = n[l]; u.default !== void 0 && !o.includes(l) && (u.optional = !0), u.default === void 0 ? u.default = null : !u.validate && u.default != null && (u.validate = gp(ml(u.default))); for (let c of Object.keys(u)) if (!W8.includes(c)) throw new Error(`Unknown field key "${c}" on ${e}.${l}`); } I8[e] = t.visitor = i, N8[e] = t.builder = o, O8[e] = t.fields = n, _8[e] = t.aliases = a, a.forEach((l) => { dp[l] = dp[l] || [], dp[l].push(e); }), t.validate && (k8[e] = t.validate), mp[e] = t; } s(hE, "defineType"); }); // ../node_modules/@babel/types/lib/definitions/core.js var Ep = T((pr) => { "use strict"; Object.defineProperty(pr, "__esModule", { value: !0 }); pr.patternLikeCommon = pr.functionTypeAnnotationCommon = pr.functionDeclarationCommon = pr.functionCommon = pr.classMethodOrPropertyCommon = pr.classMethodOrDeclareMethodCommon = void 0; var er = mi(), G8 = gi(), mE = yi(), H8 = oE(), Ba = Jn(), m = xn(), te = (0, m.defineAliasedType)("Standardized"); te("ArrayExpression", { fields: { elements: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeOrValueType)("null", "Expression", "Spread\ Element"))), default: process.env.BABEL_TYPES_8_BREAKING ? void 0 : [] } }, visitor: ["elements"], aliases: ["Expression"] }); te("AssignmentExpression", { fields: { operator: { validate: function() { if (!process.env.BABEL_TYPES_8_BREAKING) return (0, m.assertValueType)("string"); let e = (0, m.assertOneOf)(...Ba.ASSIGNMENT_OPERATORS), t = (0, m.assertOneOf)("="); return function(r, n, i) { ((0, er.default)("Pattern", r.left) ? t : e)(r, n, i); }; }() }, left: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, m.assertNodeType)("Identifier", "MemberExpression", "OptionalMemberExpression", "\ ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") : (0, m.assertNodeType)( "LVal", "OptionalMemberExpression") }, right: { validate: (0, m.assertNodeType)("Expression") } }, builder: ["operator", "left", "right"], visitor: ["left", "right"], aliases: ["Expression"] }); te("BinaryExpression", { builder: ["operator", "left", "right"], fields: { operator: { validate: (0, m.assertOneOf)(...Ba.BINARY_OPERATORS) }, left: { validate: function() { let e = (0, m.assertNodeType)("Expression"), t = (0, m.assertNodeType)("Expression", "PrivateName"); return Object.assign(function(n, i, a) { (n.operator === "in" ? t : e)(n, i, a); }, { oneOfNodeTypes: ["Expression", "PrivateName"] }); }() }, right: { validate: (0, m.assertNodeType)("Expression") } }, visitor: ["left", "right"], aliases: ["Binary", "Expression"] }); te("InterpreterDirective", { builder: ["value"], fields: { value: { validate: (0, m.assertValueType)("string") } } }); te("Directive", { visitor: ["value"], fields: { value: { validate: (0, m.assertNodeType)("DirectiveLiteral") } } }); te("DirectiveLiteral", { builder: ["value"], fields: { value: { validate: (0, m.assertValueType)("string") } } }); te("BlockStatement", { builder: ["body", "directives"], visitor: ["directives", "body"], fields: { directives: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Directive"))), default: [] }, body: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Statement"))) } }, aliases: ["Scopable", "BlockParent", "Block", "Statement"] }); te("BreakStatement", { visitor: ["label"], fields: { label: { validate: (0, m.assertNodeType)("Identifier"), optional: !0 } }, aliases: ["Statement", "Terminatorless", "CompletionStatement"] }); te("CallExpression", { visitor: ["callee", "arguments", "typeParameters", "typeArguments"], builder: ["callee", "arguments"], aliases: ["Expression"], fields: Object.assign({ callee: { validate: (0, m.assertNodeType)("Expression", "Super", "V8IntrinsicIdentifier") }, arguments: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Expression", "SpreadElement", "Argu\ mentPlaceholder"))) } }, process.env.BABEL_TYPES_8_BREAKING ? {} : { optional: { validate: (0, m.assertOneOf)(!0, !1), optional: !0 } }, { typeArguments: { validate: (0, m.assertNodeType)("TypeParameterInstantiation"), optional: !0 }, typeParameters: { validate: (0, m.assertNodeType)("TSTypeParameterInstantiation"), optional: !0 } }) }); te("CatchClause", { visitor: ["param", "body"], fields: { param: { validate: (0, m.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern"), optional: !0 }, body: { validate: (0, m.assertNodeType)("BlockStatement") } }, aliases: ["Scopable", "BlockParent"] }); te("ConditionalExpression", { visitor: ["test", "consequent", "alternate"], fields: { test: { validate: (0, m.assertNodeType)("Expression") }, consequent: { validate: (0, m.assertNodeType)("Expression") }, alternate: { validate: (0, m.assertNodeType)("Expression") } }, aliases: ["Expression", "Conditional"] }); te("ContinueStatement", { visitor: ["label"], fields: { label: { validate: (0, m.assertNodeType)("Identifier"), optional: !0 } }, aliases: ["Statement", "Terminatorless", "CompletionStatement"] }); te("DebuggerStatement", { aliases: ["Statement"] }); te("DoWhileStatement", { visitor: ["test", "body"], fields: { test: { validate: (0, m.assertNodeType)("Expression") }, body: { validate: (0, m.assertNodeType)("Statement") } }, aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"] }); te("EmptyStatement", { aliases: ["Statement"] }); te("ExpressionStatement", { visitor: ["expression"], fields: { expression: { validate: (0, m.assertNodeType)("Expression") } }, aliases: ["Statement", "ExpressionWrapper"] }); te("File", { builder: ["program", "comments", "tokens"], visitor: ["program"], fields: { program: { validate: (0, m.assertNodeType)("Program") }, comments: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, m.assertEach)((0, m.assertNodeType)("CommentBlock", "CommentLine")) : Object.assign( () => { }, { each: { oneOfNodeTypes: ["CommentBlock", "CommentLine"] } }), optional: !0 }, tokens: { validate: (0, m.assertEach)(Object.assign(() => { }, { type: "any" })), optional: !0 } } }); te("ForInStatement", { visitor: ["left", "right", "body"], aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], fields: { left: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, m.assertNodeType)("VariableDeclaration", "Identifier", "MemberExpression", "Array\ Pattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") : (0, m.assertNodeType)("Var\ iableDeclaration", "LVal") }, right: { validate: (0, m.assertNodeType)("Expression") }, body: { validate: (0, m.assertNodeType)("Statement") } } }); te("ForStatement", { visitor: ["init", "test", "update", "body"], aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop"], fields: { init: { validate: (0, m.assertNodeType)("VariableDeclaration", "Expression"), optional: !0 }, test: { validate: (0, m.assertNodeType)("Expression"), optional: !0 }, update: { validate: (0, m.assertNodeType)("Expression"), optional: !0 }, body: { validate: (0, m.assertNodeType)("Statement") } } }); var bi = /* @__PURE__ */ s(() => ({ params: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Identifier", "Pattern", "RestElement"))) }, generator: { default: !1 }, async: { default: !1 } }), "functionCommon"); pr.functionCommon = bi; var _s = /* @__PURE__ */ s(() => ({ returnType: { validate: (0, m.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: !0 }, typeParameters: { validate: (0, m.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), optional: !0 } }), "functionTypeAnnotationCommon"); pr.functionTypeAnnotationCommon = _s; var yE = /* @__PURE__ */ s(() => Object.assign({}, bi(), { declare: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, id: { validate: (0, m.assertNodeType)("Identifier"), optional: !0 } }), "functionDeclarationCommon"); pr.functionDeclarationCommon = yE; te("FunctionDeclaration", { builder: ["id", "params", "body", "generator", "async"], visitor: ["id", "params", "body", "returnType", "typeParameters"], fields: Object.assign({}, yE(), _s(), { body: { validate: (0, m.assertNodeType)("BlockStatement") }, predicate: { validate: (0, m.assertNodeType)("DeclaredPredicate", "InferredPredicate"), optional: !0 } }), aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Statement", "Pureish", "Declaration"], validate: function() { if (!process.env.BABEL_TYPES_8_BREAKING) return () => { }; let e = (0, m.assertNodeType)("Identifier"); return function(t, r, n) { (0, er.default)("ExportDefaultDeclaration", t) || e(n, "id", n.id); }; }() }); te("FunctionExpression", { inherits: "FunctionDeclaration", aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], fields: Object.assign({}, bi(), _s(), { id: { validate: (0, m.assertNodeType)("Identifier"), optional: !0 }, body: { validate: (0, m.assertNodeType)("BlockStatement") }, predicate: { validate: (0, m.assertNodeType)("DeclaredPredicate", "InferredPredicate"), optional: !0 } }) }); var Ei = /* @__PURE__ */ s(() => ({ typeAnnotation: { validate: (0, m.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: !0 }, optional: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, decorators: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Decorator"))), optional: !0 } }), "patternLikeCommon"); pr.patternLikeCommon = Ei; te("Identifier", { builder: ["name"], visitor: ["typeAnnotation", "decorators"], aliases: ["Expression", "PatternLike", "LVal", "TSEntityName"], fields: Object.assign({}, Ei(), { name: { validate: (0, m.chain)((0, m.assertValueType)("string"), Object.assign(function(e, t, r) { if (process.env.BABEL_TYPES_8_BREAKING && !(0, G8.default)(r, !1)) throw new TypeError(`"${r}" is not a valid identifier name`); }, { type: "string" })) } }), validate(e, t, r) { if (!process.env.BABEL_TYPES_8_BREAKING) return; let n = /\.(\w+)$/.exec(t); if (!n) return; let [, i] = n, a = { computed: !1 }; if (i === "property") { if ((0, er.default)("MemberExpression", e, a) || (0, er.default)("OptionalMemberExpression", e, a)) return; } else if (i === "key") { if ((0, er.default)("Property", e, a) || (0, er.default)("Method", e, a)) return; } else if (i === "exported") { if ((0, er.default)("ExportSpecifier", e)) return; } else if (i === "imported") { if ((0, er.default)("ImportSpecifier", e, { imported: r })) return; } else if (i === "meta" && (0, er.default)("MetaProperty", e, { meta: r })) return; if (((0, mE.isKeyword)(r.name) || (0, mE.isReservedWord)(r.name, !1)) && r.name !== "this") throw new TypeError(`"${r.name}" is not a valid identifier`); } }); te("IfStatement", { visitor: ["test", "consequent", "alternate"], aliases: ["Statement", "Conditional"], fields: { test: { validate: (0, m.assertNodeType)("Expression") }, consequent: { validate: (0, m.assertNodeType)("Statement") }, alternate: { optional: !0, validate: (0, m.assertNodeType)("Statement") } } }); te("LabeledStatement", { visitor: ["label", "body"], aliases: ["Statement"], fields: { label: { validate: (0, m.assertNodeType)("Identifier") }, body: { validate: (0, m.assertNodeType)("Statement") } } }); te("StringLiteral", { builder: ["value"], fields: { value: { validate: (0, m.assertValueType)("string") } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }); te("NumericLiteral", { builder: ["value"], deprecatedAlias: "NumberLiteral", fields: { value: { validate: (0, m.chain)((0, m.assertValueType)("number"), Object.assign(function(e, t, r) { if (1 / r < 0 || !Number.isFinite(r)) { let n = new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${r}) instead.`); } }, { type: "number" })) } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }); te("NullLiteral", { aliases: ["Expression", "Pureish", "Literal", "Immutable"] }); te("BooleanLiteral", { builder: ["value"], fields: { value: { validate: (0, m.assertValueType)("boolean") } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }); te("RegExpLiteral", { builder: ["pattern", "flags"], deprecatedAlias: "RegexLiteral", aliases: ["Expression", "Pureish", "Literal"], fields: { pattern: { validate: (0, m.assertValueType)("string") }, flags: { validate: (0, m.chain)((0, m.assertValueType)("string"), Object.assign(function(e, t, r) { if (!process.env.BABEL_TYPES_8_BREAKING) return; let n = /[^gimsuy]/.exec(r); if (n) throw new TypeError(`"${n[0]}" is not a valid RegExp flag`); }, { type: "string" })), default: "" } } }); te("LogicalExpression", { builder: ["operator", "left", "right"], visitor: ["left", "right"], aliases: ["Binary", "Expression"], fields: { operator: { validate: (0, m.assertOneOf)(...Ba.LOGICAL_OPERATORS) }, left: { validate: (0, m.assertNodeType)("Expression") }, right: { validate: (0, m.assertNodeType)("Expression") } } }); te("MemberExpression", { builder: ["object", "property", "computed", ...process.env.BABEL_TYPES_8_BREAKING ? [] : ["optional"]], visitor: ["object", "property"], aliases: ["Expression", "LVal"], fields: Object.assign({ object: { validate: (0, m.assertNodeType)("Expression", "Super") }, property: { validate: function() { let e = (0, m.assertNodeType)("Identifier", "PrivateName"), t = (0, m.assertNodeType)("Expression"), r = /* @__PURE__ */ s(function(n, i, a) { (n.computed ? t : e)(n, i, a); }, "validator"); return r.oneOfNodeTypes = ["Expression", "Identifier", "PrivateName"], r; }() }, computed: { default: !1 } }, process.env.BABEL_TYPES_8_BREAKING ? {} : { optional: { validate: (0, m.assertOneOf)(!0, !1), optional: !0 } }) }); te("NewExpression", { inherits: "CallExpression" }); te("Program", { visitor: ["directives", "body"], builder: ["body", "directives", "sourceType", "interpreter"], fields: { sourceType: { validate: (0, m.assertOneOf)("script", "module"), default: "script" }, interpreter: { validate: (0, m.assertNodeType)("InterpreterDirective"), default: null, optional: !0 }, directives: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Directive"))), default: [] }, body: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Statement"))) } }, aliases: ["Scopable", "BlockParent", "Block"] }); te("ObjectExpression", { visitor: ["properties"], aliases: ["Expression"], fields: { properties: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("ObjectMethod", "ObjectProperty", "S\ preadElement"))) } } }); te("ObjectMethod", { builder: ["kind", "key", "params", "body", "computed", "generator", "async"], fields: Object.assign({}, bi(), _s(), { kind: Object.assign({ validate: (0, m.assertOneOf)("method", "get", "set") }, process.env.BABEL_TYPES_8_BREAKING ? {} : { default: "method" }), computed: { default: !1 }, key: { validate: function() { let e = (0, m.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral"), t = (0, m.assertNodeType)("Expres\ sion"), r = /* @__PURE__ */ s(function(n, i, a) { (n.computed ? t : e)(n, i, a); }, "validator"); return r.oneOfNodeTypes = ["Expression", "Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral"], r; }() }, decorators: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Decorator"))), optional: !0 }, body: { validate: (0, m.assertNodeType)("BlockStatement") } }), visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], aliases: ["UserWhitespacable", "Function", "Scopable", "BlockParent", "FunctionParent", "Method", "ObjectMember"] }); te("ObjectProperty", { builder: ["key", "value", "computed", "shorthand", ...process.env.BABEL_TYPES_8_BREAKING ? [] : ["decorators"]], fields: { computed: { default: !1 }, key: { validate: function() { let e = (0, m.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "DecimalLiteral", "PrivateName"), t = (0, m. assertNodeType)("Expression"); return Object.assign(function(n, i, a) { (n.computed ? t : e)(n, i, a); }, { oneOfNodeTypes: ["Expression", "Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "DecimalLiteral", "PrivateName"] }); }() }, value: { validate: (0, m.assertNodeType)("Expression", "PatternLike") }, shorthand: { validate: (0, m.chain)((0, m.assertValueType)("boolean"), Object.assign(function(e, t, r) { if (process.env.BABEL_TYPES_8_BREAKING && r && e.computed) throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true"); }, { type: "boolean" }), function(e, t, r) { if (process.env.BABEL_TYPES_8_BREAKING && r && !(0, er.default)("Identifier", e.key)) throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier"); }), default: !1 }, decorators: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Decorator"))), optional: !0 } }, visitor: ["key", "value", "decorators"], aliases: ["UserWhitespacable", "Property", "ObjectMember"], validate: function() { let e = (0, m.assertNodeType)("Identifier", "Pattern", "TSAsExpression", "TSSatisfiesExpression", "TSNonNullExpression", "TSTypeAssert\ ion"), t = (0, m.assertNodeType)("Expression"); return function(r, n, i) { if (!process.env.BABEL_TYPES_8_BREAKING) return; ((0, er.default)("ObjectPattern", r) ? e : t)(i, "value", i.value); }; }() }); te("RestElement", { visitor: ["argument", "typeAnnotation"], builder: ["argument"], aliases: ["LVal", "PatternLike"], deprecatedAlias: "RestProperty", fields: Object.assign({}, Ei(), { argument: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, m.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "MemberExpressio\ n", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") : (0, m.assertNodeType)("LVal") } }), validate(e, t) { if (!process.env.BABEL_TYPES_8_BREAKING) return; let r = /(\w+)\[(\d+)\]/.exec(t); if (!r) throw new Error("Internal Babel error: malformed key."); let [, n, i] = r; if (e[n].length > +i + 1) throw new TypeError(`RestElement must be last element of ${n}`); } }); te("ReturnStatement", { visitor: ["argument"], aliases: ["Statement", "Terminatorless", "CompletionStatement"], fields: { argument: { validate: (0, m.assertNodeType)("Expression"), optional: !0 } } }); te("SequenceExpression", { visitor: ["expressions"], fields: { expressions: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Expression"))) } }, aliases: ["Expression"] }); te("ParenthesizedExpression", { visitor: ["expression"], aliases: ["Expression", "ExpressionWrapper"], fields: { expression: { validate: (0, m.assertNodeType)("Expression") } } }); te("SwitchCase", { visitor: ["test", "consequent"], fields: { test: { validate: (0, m.assertNodeType)("Expression"), optional: !0 }, consequent: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Statement"))) } } }); te("SwitchStatement", { visitor: ["discriminant", "cases"], aliases: ["Statement", "BlockParent", "Scopable"], fields: { discriminant: { validate: (0, m.assertNodeType)("Expression") }, cases: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("SwitchCase"))) } } }); te("ThisExpression", { aliases: ["Expression"] }); te("ThrowStatement", { visitor: ["argument"], aliases: ["Statement", "Terminatorless", "CompletionStatement"], fields: { argument: { validate: (0, m.assertNodeType)("Expression") } } }); te("TryStatement", { visitor: ["block", "handler", "finalizer"], aliases: ["Statement"], fields: { block: { validate: (0, m.chain)((0, m.assertNodeType)("BlockStatement"), Object.assign(function(e) { if (process.env.BABEL_TYPES_8_BREAKING && !e.handler && !e.finalizer) throw new TypeError("TryStatement expects either a handler or finalizer, or both"); }, { oneOfNodeTypes: ["BlockStatement"] })) }, handler: { optional: !0, validate: (0, m.assertNodeType)("CatchClause") }, finalizer: { optional: !0, validate: (0, m.assertNodeType)("BlockStatement") } } }); te("UnaryExpression", { builder: ["operator", "argument", "prefix"], fields: { prefix: { default: !0 }, argument: { validate: (0, m.assertNodeType)("Expression") }, operator: { validate: (0, m.assertOneOf)(...Ba.UNARY_OPERATORS) } }, visitor: ["argument"], aliases: ["UnaryLike", "Expression"] }); te("UpdateExpression", { builder: ["operator", "argument", "prefix"], fields: { prefix: { default: !1 }, argument: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, m.assertNodeType)("Identifier", "MemberExpression") : (0, m.assertNodeType)("Expr\ ession") }, operator: { validate: (0, m.assertOneOf)(...Ba.UPDATE_OPERATORS) } }, visitor: ["argument"], aliases: ["Expression"] }); te("VariableDeclaration", { builder: ["kind", "declarations"], visitor: ["declarations"], aliases: ["Statement", "Declaration"], fields: { declare: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, kind: { validate: (0, m.assertOneOf)("var", "let", "const", "using", "await using") }, declarations: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("VariableDeclarator"))) } }, validate(e, t, r) { if (process.env.BABEL_TYPES_8_BREAKING && (0, er.default)("ForXStatement", e, { left: r }) && r.declarations.length !== 1) throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`); } }); te("VariableDeclarator", { visitor: ["id", "init"], fields: { id: { validate: function() { if (!process.env.BABEL_TYPES_8_BREAKING) return (0, m.assertNodeType)("LVal"); let e = (0, m.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern"), t = (0, m.assertNodeType)("Identifier"); return function(r, n, i) { (r.init ? e : t)(r, n, i); }; }() }, definite: { optional: !0, validate: (0, m.assertValueType)("boolean") }, init: { optional: !0, validate: (0, m.assertNodeType)("Expression") } } }); te("WhileStatement", { visitor: ["test", "body"], aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"], fields: { test: { validate: (0, m.assertNodeType)("Expression") }, body: { validate: (0, m.assertNodeType)("Statement") } } }); te("WithStatement", { visitor: ["object", "body"], aliases: ["Statement"], fields: { object: { validate: (0, m.assertNodeType)("Expression") }, body: { validate: (0, m.assertNodeType)("Statement") } } }); te("AssignmentPattern", { visitor: ["left", "right", "decorators"], builder: ["left", "right"], aliases: ["Pattern", "PatternLike", "LVal"], fields: Object.assign({}, Ei(), { left: { validate: (0, m.assertNodeType)("Identifier", "ObjectPattern", "ArrayPattern", "MemberExpression", "TSAsExpression", "TSSatisfiesExp\ ression", "TSTypeAssertion", "TSNonNullExpression") }, right: { validate: (0, m.assertNodeType)("Expression") }, decorators: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Decorator"))), optional: !0 } }) }); te("ArrayPattern", { visitor: ["elements", "typeAnnotation"], builder: ["elements"], aliases: ["Pattern", "PatternLike", "LVal"], fields: Object.assign({}, Ei(), { elements: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeOrValueType)("null", "PatternLike", "LVal"))) } }) }); te("ArrowFunctionExpression", { builder: ["params", "body", "async"], visitor: ["params", "body", "returnType", "typeParameters"], aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], fields: Object.assign({}, bi(), _s(), { expression: { validate: (0, m.assertValueType)("boolean") }, body: { validate: (0, m.assertNodeType)("BlockStatement", "Expression") }, predicate: { validate: (0, m.assertNodeType)("DeclaredPredicate", "InferredPredicate"), optional: !0 } }) }); te("ClassBody", { visitor: ["body"], fields: { body: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("ClassMethod", "ClassPrivateMethod", "ClassProperty", "ClassPrivateProperty", "ClassAccessorProperty", "TSDeclareMethod", "TSIndexSignature", "StaticBlock"))) } } }); te("ClassExpression", { builder: ["id", "superClass", "body", "decorators"], visitor: ["id", "body", "superClass", "mixins", "typeParameters", "superTypeParameters", "implements", "decorators"], aliases: ["Scopable", "Class", "Expression"], fields: { id: { validate: (0, m.assertNodeType)("Identifier"), optional: !0 }, typeParameters: { validate: (0, m.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), optional: !0 }, body: { validate: (0, m.assertNodeType)("ClassBody") }, superClass: { optional: !0, validate: (0, m.assertNodeType)("Expression") }, superTypeParameters: { validate: (0, m.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), optional: !0 }, implements: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("TSExpressionWithTypeArguments", "Cl\ assImplements"))), optional: !0 }, decorators: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Decorator"))), optional: !0 }, mixins: { validate: (0, m.assertNodeType)("InterfaceExtends"), optional: !0 } } }); te("ClassDeclaration", { inherits: "ClassExpression", aliases: ["Scopable", "Class", "Statement", "Declaration"], fields: { id: { validate: (0, m.assertNodeType)("Identifier"), optional: !0 }, typeParameters: { validate: (0, m.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), optional: !0 }, body: { validate: (0, m.assertNodeType)("ClassBody") }, superClass: { optional: !0, validate: (0, m.assertNodeType)("Expression") }, superTypeParameters: { validate: (0, m.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), optional: !0 }, implements: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("TSExpressionWithTypeArguments", "Cl\ assImplements"))), optional: !0 }, decorators: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Decorator"))), optional: !0 }, mixins: { validate: (0, m.assertNodeType)("InterfaceExtends"), optional: !0 }, declare: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, abstract: { validate: (0, m.assertValueType)("boolean"), optional: !0 } }, validate: function() { let e = (0, m.assertNodeType)("Identifier"); return function(t, r, n) { process.env.BABEL_TYPES_8_BREAKING && ((0, er.default)("ExportDefaultDeclaration", t) || e(n, "id", n.id)); }; }() }); te("ExportAllDeclaration", { builder: ["source"], visitor: ["source", "attributes", "assertions"], aliases: ["Statement", "Declaration", "ImportOrExportDeclaration", "ExportDeclaration"], fields: { source: { validate: (0, m.assertNodeType)("StringLiteral") }, exportKind: (0, m.validateOptional)((0, m.assertOneOf)("type", "value")), attributes: { optional: !0, validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("ImportAttribute"))) }, assertions: { optional: !0, validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("ImportAttribute"))) } } }); te("ExportDefaultDeclaration", { visitor: ["declaration"], aliases: ["Statement", "Declaration", "ImportOrExportDeclaration", "ExportDeclaration"], fields: { declaration: { validate: (0, m.assertNodeType)("TSDeclareFunction", "FunctionDeclaration", "ClassDeclaration", "Expression") }, exportKind: (0, m.validateOptional)((0, m.assertOneOf)("value")) } }); te("ExportNamedDeclaration", { builder: ["declaration", "specifiers", "source"], visitor: ["declaration", "specifiers", "source", "attributes", "assertions"], aliases: ["Statement", "Declaration", "ImportOrExportDeclaration", "ExportDeclaration"], fields: { declaration: { optional: !0, validate: (0, m.chain)((0, m.assertNodeType)("Declaration"), Object.assign(function(e, t, r) { if (process.env.BABEL_TYPES_8_BREAKING && r && e.specifiers.length) throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration"); }, { oneOfNodeTypes: ["Declaration"] }), function(e, t, r) { if (process.env.BABEL_TYPES_8_BREAKING && r && e.source) throw new TypeError("Cannot export a declaration from a source"); }) }, attributes: { optional: !0, validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("ImportAttribute"))) }, assertions: { optional: !0, validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("ImportAttribute"))) }, specifiers: { default: [], validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)(function() { let e = (0, m.assertNodeType)("ExportSpecifier", "ExportDefaultSpecifier", "ExportNamespaceSpecifier"), t = (0, m.assertNodeType)( "ExportSpecifier"); return process.env.BABEL_TYPES_8_BREAKING ? function(r, n, i) { (r.source ? e : t)(r, n, i); } : e; }())) }, source: { validate: (0, m.assertNodeType)("StringLiteral"), optional: !0 }, exportKind: (0, m.validateOptional)((0, m.assertOneOf)("type", "value")) } }); te("ExportSpecifier", { visitor: ["local", "exported"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, m.assertNodeType)("Identifier") }, exported: { validate: (0, m.assertNodeType)("Identifier", "StringLiteral") }, exportKind: { validate: (0, m.assertOneOf)("type", "value"), optional: !0 } } }); te("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 (0, m.assertNodeType)("VariableDeclaration", "LVal"); let e = (0, m.assertNodeType)("VariableDeclaration"), t = (0, m.assertNodeType)("Identifier", "MemberExpression", "ArrayPattern", "\ ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression"); return function(r, n, i) { (0, er.default)("VariableDeclaration", i) ? e(r, n, i) : t(r, n, i); }; }() }, right: { validate: (0, m.assertNodeType)("Expression") }, body: { validate: (0, m.assertNodeType)("Statement") }, await: { default: !1 } } }); te("ImportDeclaration", { builder: ["specifiers", "source"], visitor: ["specifiers", "source", "attributes", "assertions"], aliases: ["Statement", "Declaration", "ImportOrExportDeclaration"], fields: { attributes: { optional: !0, validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("ImportAttribute"))) }, assertions: { optional: !0, validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("ImportAttribute"))) }, module: { optional: !0, validate: (0, m.assertValueType)("boolean") }, phase: { default: null, validate: (0, m.assertOneOf)("source", "defer") }, specifiers: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("ImportSpecifier", "ImportDefaultSpe\ cifier", "ImportNamespaceSpecifier"))) }, source: { validate: (0, m.assertNodeType)("StringLiteral") }, importKind: { validate: (0, m.assertOneOf)("type", "typeof", "value"), optional: !0 } } }); te("ImportDefaultSpecifier", { visitor: ["local"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, m.assertNodeType)("Identifier") } } }); te("ImportNamespaceSpecifier", { visitor: ["local"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, m.assertNodeType)("Identifier") } } }); te("ImportSpecifier", { visitor: ["local", "imported"], aliases: ["ModuleSpecifier"], fields: { local: { validate: (0, m.assertNodeType)("Identifier") }, imported: { validate: (0, m.assertNodeType)("Identifier", "StringLiteral") }, importKind: { validate: (0, m.assertOneOf)("type", "typeof", "value"), optional: !0 } } }); te("ImportExpression", { visitor: ["source", "options"], aliases: ["Expression"], fields: { phase: { default: null, validate: (0, m.assertOneOf)("source", "defer") }, source: { validate: (0, m.assertNodeType)("Expression") }, options: { validate: (0, m.assertNodeType)("Expression"), optional: !0 } } }); te("MetaProperty", { visitor: ["meta", "property"], aliases: ["Expression"], fields: { meta: { validate: (0, m.chain)((0, m.assertNodeType)("Identifier"), Object.assign(function(e, t, r) { if (!process.env.BABEL_TYPES_8_BREAKING) return; let n; switch (r.name) { case "function": n = "sent"; break; case "new": n = "target"; break; case "import": n = "meta"; break; } if (!(0, er.default)("Identifier", e.property, { name: n })) throw new TypeError("Unrecognised MetaProperty"); }, { oneOfNodeTypes: ["Identifier"] })) }, property: { validate: (0, m.assertNodeType)("Identifier") } } }); var El = /* @__PURE__ */ s(() => ({ abstract: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, accessibility: { validate: (0, m.assertOneOf)("public", "private", "protected"), optional: !0 }, static: { default: !1 }, override: { default: !1 }, computed: { default: !1 }, optional: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, key: { validate: (0, m.chain)(function() { let e = (0, m.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral"), t = (0, m.assertNodeType)("Expressi\ on"); return function(r, n, i) { (r.computed ? t : e)(r, n, i); }; }(), (0, m.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "Expression")) } }), "classMethodOrPropertyCommon"); pr.classMethodOrPropertyCommon = El; var bp = /* @__PURE__ */ s(() => Object.assign({}, bi(), El(), { params: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Identifier", "Pattern", "RestElement", "TSParameterProperty"))) }, kind: { validate: (0, m.assertOneOf)("get", "set", "method", "constructor"), default: "method" }, access: { validate: (0, m.chain)((0, m.assertValueType)("string"), (0, m.assertOneOf)("public", "private", "protected")), optional: !0 }, decorators: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Decorator"))), optional: !0 } }), "classMethodOrDeclareMethodCommon"); pr.classMethodOrDeclareMethodCommon = bp; te("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({}, bp(), _s(), { body: { validate: (0, m.assertNodeType)("BlockStatement") } }) }); te("ObjectPattern", { visitor: ["properties", "typeAnnotation", "decorators"], builder: ["properties"], aliases: ["Pattern", "PatternLike", "LVal"], fields: Object.assign({}, Ei(), { properties: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("RestElement", "ObjectProperty"))) } }) }); te("SpreadElement", { visitor: ["argument"], aliases: ["UnaryLike"], deprecatedAlias: "SpreadProperty", fields: { argument: { validate: (0, m.assertNodeType)("Expression") } } }); te("Super", { aliases: ["Expression"] }); te("TaggedTemplateExpression", { visitor: ["tag", "quasi", "typeParameters"], builder: ["tag", "quasi"], aliases: ["Expression"], fields: { tag: { validate: (0, m.assertNodeType)("Expression") }, quasi: { validate: (0, m.assertNodeType)("TemplateLiteral") }, typeParameters: { validate: (0, m.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), optional: !0 } } }); te("TemplateElement", { builder: ["value", "tail"], fields: { value: { validate: (0, m.chain)((0, m.assertShape)({ raw: { validate: (0, m.assertValueType)("string") }, cooked: { validate: (0, m.assertValueType)("string"), optional: !0 } }), /* @__PURE__ */ s(function(t) { let r = t.value.raw, n = !1, i = /* @__PURE__ */ s(() => { throw new Error("Internal @babel/types error."); }, "error"), { str: a, firstInvalidLoc: o } = (0, H8.readStringContents)("template", r, 0, 0, 0, { unterminated() { n = !0; }, strictNumericEscape: i, invalidEscapeSequence: i, numericSeparatorInEscapeSequence: i, unexpectedNumericSeparator: i, invalidDigit: i, invalidCodePoint: i }); if (!n) throw new Error("Invalid raw"); t.value.cooked = o ? null : a; }, "templateElementCookedValidator")) }, tail: { default: !1 } } }); te("TemplateLiteral", { visitor: ["quasis", "expressions"], aliases: ["Expression", "Literal"], fields: { quasis: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("TemplateElement"))) }, expressions: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Expression", "TSType")), function(e, t, r) { if (e.quasis.length !== r.length + 1) throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions. Expected ${r.length + 1} quasis but got ${e.quasis.length}`); }) } } }); te("YieldExpression", { builder: ["argument", "delegate"], visitor: ["argument"], aliases: ["Expression", "Terminatorless"], fields: { delegate: { validate: (0, m.chain)((0, m.assertValueType)("boolean"), Object.assign(function(e, t, r) { if (process.env.BABEL_TYPES_8_BREAKING && r && !e.argument) throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument"); }, { type: "boolean" })), default: !1 }, argument: { optional: !0, validate: (0, m.assertNodeType)("Expression") } } }); te("AwaitExpression", { builder: ["argument"], visitor: ["argument"], aliases: ["Expression", "Terminatorless"], fields: { argument: { validate: (0, m.assertNodeType)("Expression") } } }); te("Import", { aliases: ["Expression"] }); te("BigIntLiteral", { builder: ["value"], fields: { value: { validate: (0, m.assertValueType)("string") } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }); te("ExportNamespaceSpecifier", { visitor: ["exported"], aliases: ["ModuleSpecifier"], fields: { exported: { validate: (0, m.assertNodeType)("Identifier") } } }); te("OptionalMemberExpression", { builder: ["object", "property", "computed", "optional"], visitor: ["object", "property"], aliases: ["Expression"], fields: { object: { validate: (0, m.assertNodeType)("Expression") }, property: { validate: function() { let e = (0, m.assertNodeType)("Identifier"), t = (0, m.assertNodeType)("Expression"); return Object.assign(function(n, i, a) { (n.computed ? t : e)(n, i, a); }, { oneOfNodeTypes: ["Expression", "Identifier"] }); }() }, computed: { default: !1 }, optional: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, m.chain)((0, m.assertValueType)("boolean"), (0, m.assertOptionalChainStart)()) : (0, m. assertValueType)("boolean") } } }); te("OptionalCallExpression", { visitor: ["callee", "arguments", "typeParameters", "typeArguments"], builder: ["callee", "arguments", "optional"], aliases: ["Expression"], fields: { callee: { validate: (0, m.assertNodeType)("Expression") }, arguments: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Expression", "SpreadElement", "Argu\ mentPlaceholder"))) }, optional: { validate: process.env.BABEL_TYPES_8_BREAKING ? (0, m.chain)((0, m.assertValueType)("boolean"), (0, m.assertOptionalChainStart)()) : (0, m. assertValueType)("boolean") }, typeArguments: { validate: (0, m.assertNodeType)("TypeParameterInstantiation"), optional: !0 }, typeParameters: { validate: (0, m.assertNodeType)("TSTypeParameterInstantiation"), optional: !0 } } }); te("ClassProperty", { visitor: ["key", "value", "typeAnnotation", "decorators"], builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], aliases: ["Property"], fields: Object.assign({}, El(), { value: { validate: (0, m.assertNodeType)("Expression"), optional: !0 }, definite: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, typeAnnotation: { validate: (0, m.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: !0 }, decorators: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Decorator"))), optional: !0 }, readonly: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, declare: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, variance: { validate: (0, m.assertNodeType)("Variance"), optional: !0 } }) }); te("ClassAccessorProperty", { visitor: ["key", "value", "typeAnnotation", "decorators"], builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], aliases: ["Property", "Accessor"], fields: Object.assign({}, El(), { key: { validate: (0, m.chain)(function() { let e = (0, m.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "PrivateName"), t = (0, m.assertNodeType)( "Expression"); return function(r, n, i) { (r.computed ? t : e)(r, n, i); }; }(), (0, m.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "Expression", "PrivateName")) }, value: { validate: (0, m.assertNodeType)("Expression"), optional: !0 }, definite: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, typeAnnotation: { validate: (0, m.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: !0 }, decorators: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Decorator"))), optional: !0 }, readonly: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, declare: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, variance: { validate: (0, m.assertNodeType)("Variance"), optional: !0 } }) }); te("ClassPrivateProperty", { visitor: ["key", "value", "decorators", "typeAnnotation"], builder: ["key", "value", "decorators", "static"], aliases: ["Property", "Private"], fields: { key: { validate: (0, m.assertNodeType)("PrivateName") }, value: { validate: (0, m.assertNodeType)("Expression"), optional: !0 }, typeAnnotation: { validate: (0, m.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), optional: !0 }, decorators: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Decorator"))), optional: !0 }, static: { validate: (0, m.assertValueType)("boolean"), default: !1 }, readonly: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, definite: { validate: (0, m.assertValueType)("boolean"), optional: !0 }, variance: { validate: (0, m.assertNodeType)("Variance"), optional: !0 } } }); te("ClassPrivateMethod", { builder: ["kind", "key", "params", "body", "static"], visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method", "Private"], fields: Object.assign({}, bp(), _s(), { kind: { validate: (0, m.assertOneOf)("get", "set", "method"), default: "method" }, key: { validate: (0, m.assertNodeType)("PrivateName") }, body: { validate: (0, m.assertNodeType)("BlockStatement") } }) }); te("PrivateName", { visitor: ["id"], aliases: ["Private"], fields: { id: { validate: (0, m.assertNodeType)("Identifier") } } }); te("StaticBlock", { visitor: ["body"], fields: { body: { validate: (0, m.chain)((0, m.assertValueType)("array"), (0, m.assertEach)((0, m.assertNodeType)("Statement"))) } }, aliases: ["Scopable", "BlockParent", "FunctionParent"] }); }); // ../node_modules/@babel/types/lib/definitions/flow.js var gE = T(() => { "use strict"; var L = xn(), me = (0, L.defineAliasedType)("Flow"), vp = /* @__PURE__ */ s((e) => { let t = e === "DeclareClass"; me(e, { builder: ["id", "typeParameters", "extends", "body"], visitor: ["id", "typeParameters", "extends", ...t ? ["mixins", "implements"] : [], "body"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: Object.assign({ id: (0, L.validateType)("Identifier"), typeParameters: (0, L.validateOptionalType)("TypeParameterDeclaration"), extends: (0, L.validateOptional)((0, L.arrayOfType)("InterfaceExtends")) }, t ? { mixins: (0, L.validateOptional)((0, L.arrayOfType)("InterfaceExtends")), implements: (0, L.validateOptional)((0, L.arrayOfType)("ClassImplements")) } : {}, { body: (0, L.validateType)("ObjectTypeAnnotation") }) }); }, "defineInterfaceishType"); me("AnyTypeAnnotation", { aliases: ["FlowType", "FlowBaseAnnotation"] }); me("ArrayTypeAnnotation", { visitor: ["elementType"], aliases: ["FlowType"], fields: { elementType: (0, L.validateType)("FlowType") } }); me("BooleanTypeAnnotation", { aliases: ["FlowType", "FlowBaseAnnotation"] }); me("BooleanLiteralTypeAnnotation", { builder: ["value"], aliases: ["FlowType"], fields: { value: (0, L.validate)((0, L.assertValueType)("boolean")) } }); me("NullLiteralTypeAnnotation", { aliases: ["FlowType", "FlowBaseAnnotation"] }); me("ClassImplements", { visitor: ["id", "typeParameters"], fields: { id: (0, L.validateType)("Identifier"), typeParameters: (0, L.validateOptionalType)("TypeParameterInstantiation") } }); vp("DeclareClass"); me("DeclareFunction", { visitor: ["id"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: { id: (0, L.validateType)("Identifier"), predicate: (0, L.validateOptionalType)("DeclaredPredicate") } }); vp("DeclareInterface"); me("DeclareModule", { builder: ["id", "body", "kind"], visitor: ["id", "body"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: { id: (0, L.validateType)(["Identifier", "StringLiteral"]), body: (0, L.validateType)("BlockStatement"), kind: (0, L.validateOptional)((0, L.assertOneOf)("CommonJS", "ES")) } }); me("DeclareModuleExports", { visitor: ["typeAnnotation"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: { typeAnnotation: (0, L.validateType)("TypeAnnotation") } }); me("DeclareTypeAlias", { visitor: ["id", "typeParameters", "right"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: { id: (0, L.validateType)("Identifier"), typeParameters: (0, L.validateOptionalType)("TypeParameterDeclaration"), right: (0, L.validateType)("FlowType") } }); me("DeclareOpaqueType", { visitor: ["id", "typeParameters", "supertype"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: { id: (0, L.validateType)("Identifier"), typeParameters: (0, L.validateOptionalType)("TypeParameterDeclaration"), supertype: (0, L.validateOptionalType)("FlowType"), impltype: (0, L.validateOptionalType)("FlowType") } }); me("DeclareVariable", { visitor: ["id"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: { id: (0, L.validateType)("Identifier") } }); me("DeclareExportDeclaration", { visitor: ["declaration", "specifiers", "source"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: { declaration: (0, L.validateOptionalType)("Flow"), specifiers: (0, L.validateOptional)((0, L.arrayOfType)(["ExportSpecifier", "ExportNamespaceSpecifier"])), source: (0, L.validateOptionalType)("StringLiteral"), default: (0, L.validateOptional)((0, L.assertValueType)("boolean")) } }); me("DeclareExportAllDeclaration", { visitor: ["source"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: { source: (0, L.validateType)("StringLiteral"), exportKind: (0, L.validateOptional)((0, L.assertOneOf)("type", "value")) } }); me("DeclaredPredicate", { visitor: ["value"], aliases: ["FlowPredicate"], fields: { value: (0, L.validateType)("Flow") } }); me("ExistsTypeAnnotation", { aliases: ["FlowType"] }); me("FunctionTypeAnnotation", { visitor: ["typeParameters", "params", "rest", "returnType"], aliases: ["FlowType"], fields: { typeParameters: (0, L.validateOptionalType)("TypeParameterDeclaration"), params: (0, L.validate)((0, L.arrayOfType)("FunctionTypeParam")), rest: (0, L.validateOptionalType)("FunctionTypeParam"), this: (0, L.validateOptionalType)("FunctionTypeParam"), returnType: (0, L.validateType)("FlowType") } }); me("FunctionTypeParam", { visitor: ["name", "typeAnnotation"], fields: { name: (0, L.validateOptionalType)("Identifier"), typeAnnotation: (0, L.validateType)("FlowType"), optional: (0, L.validateOptional)((0, L.assertValueType)("boolean")) } }); me("GenericTypeAnnotation", { visitor: ["id", "typeParameters"], aliases: ["FlowType"], fields: { id: (0, L.validateType)(["Identifier", "QualifiedTypeIdentifier"]), typeParameters: (0, L.validateOptionalType)("TypeParameterInstantiation") } }); me("InferredPredicate", { aliases: ["FlowPredicate"] }); me("InterfaceExtends", { visitor: ["id", "typeParameters"], fields: { id: (0, L.validateType)(["Identifier", "QualifiedTypeIdentifier"]), typeParameters: (0, L.validateOptionalType)("TypeParameterInstantiation") } }); vp("InterfaceDeclaration"); me("InterfaceTypeAnnotation", { visitor: ["extends", "body"], aliases: ["FlowType"], fields: { extends: (0, L.validateOptional)((0, L.arrayOfType)("InterfaceExtends")), body: (0, L.validateType)("ObjectTypeAnnotation") } }); me("IntersectionTypeAnnotation", { visitor: ["types"], aliases: ["FlowType"], fields: { types: (0, L.validate)((0, L.arrayOfType)("FlowType")) } }); me("MixedTypeAnnotation", { aliases: ["FlowType", "FlowBaseAnnotation"] }); me("EmptyTypeAnnotation", { aliases: ["FlowType", "FlowBaseAnnotation"] }); me("NullableTypeAnnotation", { visitor: ["typeAnnotation"], aliases: ["FlowType"], fields: { typeAnnotation: (0, L.validateType)("FlowType") } }); me("NumberLiteralTypeAnnotation", { builder: ["value"], aliases: ["FlowType"], fields: { value: (0, L.validate)((0, L.assertValueType)("number")) } }); me("NumberTypeAnnotation", { aliases: ["FlowType", "FlowBaseAnnotation"] }); me("ObjectTypeAnnotation", { visitor: ["properties", "indexers", "callProperties", "internalSlots"], aliases: ["FlowType"], builder: ["properties", "indexers", "callProperties", "internalSlots", "exact"], fields: { properties: (0, L.validate)((0, L.arrayOfType)(["ObjectTypeProperty", "ObjectTypeSpreadProperty"])), indexers: { validate: (0, L.arrayOfType)("ObjectTypeIndexer"), optional: !0, default: [] }, callProperties: { validate: (0, L.arrayOfType)("ObjectTypeCallProperty"), optional: !0, default: [] }, internalSlots: { validate: (0, L.arrayOfType)("ObjectTypeInternalSlot"), optional: !0, default: [] }, exact: { validate: (0, L.assertValueType)("boolean"), default: !1 }, inexact: (0, L.validateOptional)((0, L.assertValueType)("boolean")) } }); me("ObjectTypeInternalSlot", { visitor: ["id", "value"], builder: ["id", "value", "optional", "static", "method"], aliases: ["UserWhitespacable"], fields: { id: (0, L.validateType)("Identifier"), value: (0, L.validateType)("FlowType"), optional: (0, L.validate)((0, L.assertValueType)("boolean")), static: (0, L.validate)((0, L.assertValueType)("boolean")), method: (0, L.validate)((0, L.assertValueType)("boolean")) } }); me("ObjectTypeCallProperty", { visitor: ["value"], aliases: ["UserWhitespacable"], fields: { value: (0, L.validateType)("FlowType"), static: (0, L.validate)((0, L.assertValueType)("boolean")) } }); me("ObjectTypeIndexer", { visitor: ["id", "key", "value", "variance"], aliases: ["UserWhitespacable"], fields: { id: (0, L.validateOptionalType)("Identifier"), key: (0, L.validateType)("FlowType"), value: (0, L.validateType)("FlowType"), static: (0, L.validate)((0, L.assertValueType)("boolean")), variance: (0, L.validateOptionalType)("Variance") } }); me("ObjectTypeProperty", { visitor: ["key", "value", "variance"], aliases: ["UserWhitespacable"], fields: { key: (0, L.validateType)(["Identifier", "StringLiteral"]), value: (0, L.validateType)("FlowType"), kind: (0, L.validate)((0, L.assertOneOf)("init", "get", "set")), static: (0, L.validate)((0, L.assertValueType)("boolean")), proto: (0, L.validate)((0, L.assertValueType)("boolean")), optional: (0, L.validate)((0, L.assertValueType)("boolean")), variance: (0, L.validateOptionalType)("Variance"), method: (0, L.validate)((0, L.assertValueType)("boolean")) } }); me("ObjectTypeSpreadProperty", { visitor: ["argument"], aliases: ["UserWhitespacable"], fields: { argument: (0, L.validateType)("FlowType") } }); me("OpaqueType", { visitor: ["id", "typeParameters", "supertype", "impltype"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: { id: (0, L.validateType)("Identifier"), typeParameters: (0, L.validateOptionalType)("TypeParameterDeclaration"), supertype: (0, L.validateOptionalType)("FlowType"), impltype: (0, L.validateType)("FlowType") } }); me("QualifiedTypeIdentifier", { visitor: ["id", "qualification"], fields: { id: (0, L.validateType)("Identifier"), qualification: (0, L.validateType)(["Identifier", "QualifiedTypeIdentifier"]) } }); me("StringLiteralTypeAnnotation", { builder: ["value"], aliases: ["FlowType"], fields: { value: (0, L.validate)((0, L.assertValueType)("string")) } }); me("StringTypeAnnotation", { aliases: ["FlowType", "FlowBaseAnnotation"] }); me("SymbolTypeAnnotation", { aliases: ["FlowType", "FlowBaseAnnotation"] }); me("ThisTypeAnnotation", { aliases: ["FlowType", "FlowBaseAnnotation"] }); me("TupleTypeAnnotation", { visitor: ["types"], aliases: ["FlowType"], fields: { types: (0, L.validate)((0, L.arrayOfType)("FlowType")) } }); me("TypeofTypeAnnotation", { visitor: ["argument"], aliases: ["FlowType"], fields: { argument: (0, L.validateType)("FlowType") } }); me("TypeAlias", { visitor: ["id", "typeParameters", "right"], aliases: ["FlowDeclaration", "Statement", "Declaration"], fields: { id: (0, L.validateType)("Identifier"), typeParameters: (0, L.validateOptionalType)("TypeParameterDeclaration"), right: (0, L.validateType)("FlowType") } }); me("TypeAnnotation", { visitor: ["typeAnnotation"], fields: { typeAnnotation: (0, L.validateType)("FlowType") } }); me("TypeCastExpression", { visitor: ["expression", "typeAnnotation"], aliases: ["ExpressionWrapper", "Expression"], fields: { expression: (0, L.validateType)("Expression"), typeAnnotation: (0, L.validateType)("TypeAnnotation") } }); me("TypeParameter", { visitor: ["bound", "default", "variance"], fields: { name: (0, L.validate)((0, L.assertValueType)("string")), bound: (0, L.validateOptionalType)("TypeAnnotation"), default: (0, L.validateOptionalType)("FlowType"), variance: (0, L.validateOptionalType)("Variance") } }); me("TypeParameterDeclaration", { visitor: ["params"], fields: { params: (0, L.validate)((0, L.arrayOfType)("TypeParameter")) } }); me("TypeParameterInstantiation", { visitor: ["params"], fields: { params: (0, L.validate)((0, L.arrayOfType)("FlowType")) } }); me("UnionTypeAnnotation", { visitor: ["types"], aliases: ["FlowType"], fields: { types: (0, L.validate)((0, L.arrayOfType)("FlowType")) } }); me("Variance", { builder: ["kind"], fields: { kind: (0, L.validate)((0, L.assertOneOf)("minus", "plus")) } }); me("VoidTypeAnnotation", { aliases: ["FlowType", "FlowBaseAnnotation"] }); me("EnumDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "body"], fields: { id: (0, L.validateType)("Identifier"), body: (0, L.validateType)(["EnumBooleanBody", "EnumNumberBody", "EnumStringBody", "EnumSymbolBody"]) } }); me("EnumBooleanBody", { aliases: ["EnumBody"], visitor: ["members"], fields: { explicitType: (0, L.validate)((0, L.assertValueType)("boolean")), members: (0, L.validateArrayOfType)("EnumBooleanMember"), hasUnknownMembers: (0, L.validate)((0, L.assertValueType)("boolean")) } }); me("EnumNumberBody", { aliases: ["EnumBody"], visitor: ["members"], fields: { explicitType: (0, L.validate)((0, L.assertValueType)("boolean")), members: (0, L.validateArrayOfType)("EnumNumberMember"), hasUnknownMembers: (0, L.validate)((0, L.assertValueType)("boolean")) } }); me("EnumStringBody", { aliases: ["EnumBody"], visitor: ["members"], fields: { explicitType: (0, L.validate)((0, L.assertValueType)("boolean")), members: (0, L.validateArrayOfType)(["EnumStringMember", "EnumDefaultedMember"]), hasUnknownMembers: (0, L.validate)((0, L.assertValueType)("boolean")) } }); me("EnumSymbolBody", { aliases: ["EnumBody"], visitor: ["members"], fields: { members: (0, L.validateArrayOfType)("EnumDefaultedMember"), hasUnknownMembers: (0, L.validate)((0, L.assertValueType)("boolean")) } }); me("EnumBooleanMember", { aliases: ["EnumMember"], visitor: ["id"], fields: { id: (0, L.validateType)("Identifier"), init: (0, L.validateType)("BooleanLiteral") } }); me("EnumNumberMember", { aliases: ["EnumMember"], visitor: ["id", "init"], fields: { id: (0, L.validateType)("Identifier"), init: (0, L.validateType)("NumericLiteral") } }); me("EnumStringMember", { aliases: ["EnumMember"], visitor: ["id", "init"], fields: { id: (0, L.validateType)("Identifier"), init: (0, L.validateType)("StringLiteral") } }); me("EnumDefaultedMember", { aliases: ["EnumMember"], visitor: ["id"], fields: { id: (0, L.validateType)("Identifier") } }); me("IndexedAccessType", { visitor: ["objectType", "indexType"], aliases: ["FlowType"], fields: { objectType: (0, L.validateType)("FlowType"), indexType: (0, L.validateType)("FlowType") } }); me("OptionalIndexedAccessType", { visitor: ["objectType", "indexType"], aliases: ["FlowType"], fields: { objectType: (0, L.validateType)("FlowType"), indexType: (0, L.validateType)("FlowType"), optional: (0, L.validate)((0, L.assertValueType)("boolean")) } }); }); // ../node_modules/@babel/types/lib/definitions/jsx.js var bE = T(() => { "use strict"; var Ze = xn(), tr = (0, Ze.defineAliasedType)("JSX"); tr("JSXAttribute", { visitor: ["name", "value"], aliases: ["Immutable"], fields: { name: { validate: (0, Ze.assertNodeType)("JSXIdentifier", "JSXNamespacedName") }, value: { optional: !0, validate: (0, Ze.assertNodeType)("JSXElement", "JSXFragment", "StringLiteral", "JSXExpressionContainer") } } }); tr("JSXClosingElement", { visitor: ["name"], aliases: ["Immutable"], fields: { name: { validate: (0, Ze.assertNodeType)("JSXIdentifier", "JSXMemberExpression", "JSXNamespacedName") } } }); tr("JSXElement", { builder: ["openingElement", "closingElement", "children", "selfClosing"], visitor: ["openingElement", "children", "closingElement"], aliases: ["Immutable", "Expression"], fields: Object.assign({ openingElement: { validate: (0, Ze.assertNodeType)("JSXOpeningElement") }, closingElement: { optional: !0, validate: (0, Ze.assertNodeType)("JSXClosingElement") }, children: { validate: (0, Ze.chain)((0, Ze.assertValueType)("array"), (0, Ze.assertEach)((0, Ze.assertNodeType)("JSXText", "JSXExpressionContain\ er", "JSXSpreadChild", "JSXElement", "JSXFragment"))) } }, { selfClosing: { validate: (0, Ze.assertValueType)("boolean"), optional: !0 } }) }); tr("JSXEmptyExpression", {}); tr("JSXExpressionContainer", { visitor: ["expression"], aliases: ["Immutable"], fields: { expression: { validate: (0, Ze.assertNodeType)("Expression", "JSXEmptyExpression") } } }); tr("JSXSpreadChild", { visitor: ["expression"], aliases: ["Immutable"], fields: { expression: { validate: (0, Ze.assertNodeType)("Expression") } } }); tr("JSXIdentifier", { builder: ["name"], fields: { name: { validate: (0, Ze.assertValueType)("string") } } }); tr("JSXMemberExpression", { visitor: ["object", "property"], fields: { object: { validate: (0, Ze.assertNodeType)("JSXMemberExpression", "JSXIdentifier") }, property: { validate: (0, Ze.assertNodeType)("JSXIdentifier") } } }); tr("JSXNamespacedName", { visitor: ["namespace", "name"], fields: { namespace: { validate: (0, Ze.assertNodeType)("JSXIdentifier") }, name: { validate: (0, Ze.assertNodeType)("JSXIdentifier") } } }); tr("JSXOpeningElement", { builder: ["name", "attributes", "selfClosing"], visitor: ["name", "attributes"], aliases: ["Immutable"], fields: { name: { validate: (0, Ze.assertNodeType)("JSXIdentifier", "JSXMemberExpression", "JSXNamespacedName") }, selfClosing: { default: !1 }, attributes: { validate: (0, Ze.chain)((0, Ze.assertValueType)("array"), (0, Ze.assertEach)((0, Ze.assertNodeType)("JSXAttribute", "JSXSpreadAttrib\ ute"))) }, typeParameters: { validate: (0, Ze.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), optional: !0 } } }); tr("JSXSpreadAttribute", { visitor: ["argument"], fields: { argument: { validate: (0, Ze.assertNodeType)("Expression") } } }); tr("JSXText", { aliases: ["Immutable"], builder: ["value"], fields: { value: { validate: (0, Ze.assertValueType)("string") } } }); tr("JSXFragment", { builder: ["openingFragment", "closingFragment", "children"], visitor: ["openingFragment", "children", "closingFragment"], aliases: ["Immutable", "Expression"], fields: { openingFragment: { validate: (0, Ze.assertNodeType)("JSXOpeningFragment") }, closingFragment: { validate: (0, Ze.assertNodeType)("JSXClosingFragment") }, children: { validate: (0, Ze.chain)((0, Ze.assertValueType)("array"), (0, Ze.assertEach)((0, Ze.assertNodeType)("JSXText", "JSXExpressionContain\ er", "JSXSpreadChild", "JSXElement", "JSXFragment"))) } } }); tr("JSXOpeningFragment", { aliases: ["Immutable"] }); tr("JSXClosingFragment", { aliases: ["Immutable"] }); }); // ../node_modules/@babel/types/lib/definitions/placeholders.js var Sp = T((Xn) => { "use strict"; Object.defineProperty(Xn, "__esModule", { value: !0 }); Xn.PLACEHOLDERS_FLIPPED_ALIAS = Xn.PLACEHOLDERS_ALIAS = Xn.PLACEHOLDERS = void 0; var Y8 = xn(), z8 = Xn.PLACEHOLDERS = ["Identifier", "StringLiteral", "Expression", "Statement", "Declaration", "BlockStatement", "ClassBo\ dy", "Pattern"], xp = Xn.PLACEHOLDERS_ALIAS = { Declaration: ["Statement"], Pattern: ["PatternLike", "LVal"] }; for (let e of z8) { let t = Y8.ALIAS_KEYS[e]; t != null && t.length && (xp[e] = t); } var Tp = Xn.PLACEHOLDERS_FLIPPED_ALIAS = {}; Object.keys(xp).forEach((e) => { xp[e].forEach((t) => { hasOwnProperty.call(Tp, t) || (Tp[t] = []), Tp[t].push(e); }); }); }); // ../node_modules/@babel/types/lib/definitions/misc.js var EE = T(() => { "use strict"; var vl = xn(), J8 = Sp(), Pp = (0, vl.defineAliasedType)("Miscellaneous"); Pp("Noop", { visitor: [] }); Pp("Placeholder", { visitor: [], builder: ["expectedNode", "name"], fields: { name: { validate: (0, vl.assertNodeType)("Identifier") }, expectedNode: { validate: (0, vl.assertOneOf)(...J8.PLACEHOLDERS) } } }); Pp("V8IntrinsicIdentifier", { builder: ["name"], fields: { name: { validate: (0, vl.assertValueType)("string") } } }); }); // ../node_modules/@babel/types/lib/definitions/experimental.js var vE = T(() => { "use strict"; var Xe = xn(); (0, Xe.default)("ArgumentPlaceholder", {}); (0, Xe.default)("BindExpression", { visitor: ["object", "callee"], aliases: ["Expression"], fields: process.env.BABEL_TYPES_8_BREAKING ? { object: { validate: (0, Xe.assertNodeType)("Expression") }, callee: { validate: (0, Xe.assertNodeType)("Expression") } } : { object: { validate: Object.assign(() => { }, { oneOfNodeTypes: ["Expression"] }) }, callee: { validate: Object.assign(() => { }, { oneOfNodeTypes: ["Expression"] }) } } }); (0, Xe.default)("ImportAttribute", { visitor: ["key", "value"], fields: { key: { validate: (0, Xe.assertNodeType)("Identifier", "StringLiteral") }, value: { validate: (0, Xe.assertNodeType)("StringLiteral") } } }); (0, Xe.default)("Decorator", { visitor: ["expression"], fields: { expression: { validate: (0, Xe.assertNodeType)("Expression") } } }); (0, Xe.default)("DoExpression", { visitor: ["body"], builder: ["body", "async"], aliases: ["Expression"], fields: { body: { validate: (0, Xe.assertNodeType)("BlockStatement") }, async: { validate: (0, Xe.assertValueType)("boolean"), default: !1 } } }); (0, Xe.default)("ExportDefaultSpecifier", { visitor: ["exported"], aliases: ["ModuleSpecifier"], fields: { exported: { validate: (0, Xe.assertNodeType)("Identifier") } } }); (0, Xe.default)("RecordExpression", { visitor: ["properties"], aliases: ["Expression"], fields: { properties: { validate: (0, Xe.chain)((0, Xe.assertValueType)("array"), (0, Xe.assertEach)((0, Xe.assertNodeType)("ObjectProperty", "SpreadElement"))) } } }); (0, Xe.default)("TupleExpression", { fields: { elements: { validate: (0, Xe.chain)((0, Xe.assertValueType)("array"), (0, Xe.assertEach)((0, Xe.assertNodeType)("Expression", "SpreadElement"))), default: [] } }, visitor: ["elements"], aliases: ["Expression"] }); (0, Xe.default)("DecimalLiteral", { builder: ["value"], fields: { value: { validate: (0, Xe.assertValueType)("string") } }, aliases: ["Expression", "Pureish", "Literal", "Immutable"] }); (0, Xe.default)("ModuleExpression", { visitor: ["body"], fields: { body: { validate: (0, Xe.assertNodeType)("Program") } }, aliases: ["Expression"] }); (0, Xe.default)("TopicReference", { aliases: ["Expression"] }); (0, Xe.default)("PipelineTopicExpression", { builder: ["expression"], visitor: ["expression"], fields: { expression: { validate: (0, Xe.assertNodeType)("Expression") } }, aliases: ["Expression"] }); (0, Xe.default)("PipelineBareFunction", { builder: ["callee"], visitor: ["callee"], fields: { callee: { validate: (0, Xe.assertNodeType)("Expression") } }, aliases: ["Expression"] }); (0, Xe.default)("PipelinePrimaryTopicReference", { aliases: ["Expression"] }); }); // ../node_modules/@babel/types/lib/definitions/typescript.js var DE = T(() => { "use strict"; var $ = xn(), TE = Ep(), X8 = mi(), Ce = (0, $.defineAliasedType)("TypeScript"), dr = (0, $.assertValueType)("boolean"), xE = /* @__PURE__ */ s( () => ({ returnType: { validate: (0, $.assertNodeType)("TSTypeAnnotation", "Noop"), optional: !0 }, typeParameters: { validate: (0, $.assertNodeType)("TSTypeParameterDeclaration", "Noop"), optional: !0 } }), "tSFunctionTypeAnnotationCommon"); Ce("TSParameterProperty", { aliases: ["LVal"], visitor: ["parameter"], fields: { accessibility: { validate: (0, $.assertOneOf)("public", "private", "protected"), optional: !0 }, readonly: { validate: (0, $.assertValueType)("boolean"), optional: !0 }, parameter: { validate: (0, $.assertNodeType)("Identifier", "AssignmentPattern") }, override: { validate: (0, $.assertValueType)("boolean"), optional: !0 }, decorators: { validate: (0, $.chain)((0, $.assertValueType)("array"), (0, $.assertEach)((0, $.assertNodeType)("Decorator"))), optional: !0 } } }); Ce("TSDeclareFunction", { aliases: ["Statement", "Declaration"], visitor: ["id", "typeParameters", "params", "returnType"], fields: Object.assign({}, (0, TE.functionDeclarationCommon)(), xE()) }); Ce("TSDeclareMethod", { visitor: ["decorators", "key", "typeParameters", "params", "returnType"], fields: Object.assign({}, (0, TE.classMethodOrDeclareMethodCommon)(), xE()) }); Ce("TSQualifiedName", { aliases: ["TSEntityName"], visitor: ["left", "right"], fields: { left: (0, $.validateType)("TSEntityName"), right: (0, $.validateType)("Identifier") } }); var Tl = /* @__PURE__ */ s(() => ({ typeParameters: (0, $.validateOptionalType)("TSTypeParameterDeclaration"), parameters: (0, $.validateArrayOfType)(["ArrayPattern", "Identifier", "ObjectPattern", "RestElement"]), typeAnnotation: (0, $.validateOptionalType)("TSTypeAnnotation") }), "signatureDeclarationCommon"), SE = { aliases: ["TSTypeElement"], visitor: ["typeParameters", "parameters", "typeAnnotation"], fields: Tl() }; Ce("TSCallSignatureDeclaration", SE); Ce("TSConstructSignatureDeclaration", SE); var PE = /* @__PURE__ */ s(() => ({ key: (0, $.validateType)("Expression"), computed: { default: !1 }, optional: (0, $.validateOptional)(dr) }), "namedTypeElementCommon"); Ce("TSPropertySignature", { aliases: ["TSTypeElement"], visitor: ["key", "typeAnnotation"], fields: Object.assign({}, PE(), { readonly: (0, $.validateOptional)(dr), typeAnnotation: (0, $.validateOptionalType)("TSTypeAnnotation"), kind: { validate: (0, $.assertOneOf)("get", "set") } }) }); Ce("TSMethodSignature", { aliases: ["TSTypeElement"], visitor: ["key", "typeParameters", "parameters", "typeAnnotation"], fields: Object.assign({}, Tl(), PE(), { kind: { validate: (0, $.assertOneOf)("method", "get", "set") } }) }); Ce("TSIndexSignature", { aliases: ["TSTypeElement"], visitor: ["parameters", "typeAnnotation"], fields: { readonly: (0, $.validateOptional)(dr), static: (0, $.validateOptional)(dr), parameters: (0, $.validateArrayOfType)("Identifier"), typeAnnotation: (0, $.validateOptionalType)("TSTypeAnnotation") } }); var Q8 = ["TSAnyKeyword", "TSBooleanKeyword", "TSBigIntKeyword", "TSIntrinsicKeyword", "TSNeverKeyword", "TSNullKeyword", "TSNumberKeyword", "TSObjectKeyword", "TSStringKeyword", "TSSymbolKeyword", "TSUndefinedKeyword", "TSUnknownKeyword", "TSVoidKeyword"]; for (let e of Q8) Ce(e, { aliases: ["TSType", "TSBaseType"], visitor: [], fields: {} }); Ce("TSThisType", { aliases: ["TSType", "TSBaseType"], visitor: [], fields: {} }); var AE = { aliases: ["TSType"], visitor: ["typeParameters", "parameters", "typeAnnotation"] }; Ce("TSFunctionType", Object.assign({}, AE, { fields: Tl() })); Ce("TSConstructorType", Object.assign({}, AE, { fields: Object.assign({}, Tl(), { abstract: (0, $.validateOptional)(dr) }) })); Ce("TSTypeReference", { aliases: ["TSType"], visitor: ["typeName", "typeParameters"], fields: { typeName: (0, $.validateType)("TSEntityName"), typeParameters: (0, $.validateOptionalType)("TSTypeParameterInstantiation") } }); Ce("TSTypePredicate", { aliases: ["TSType"], visitor: ["parameterName", "typeAnnotation"], builder: ["parameterName", "typeAnnotation", "asserts"], fields: { parameterName: (0, $.validateType)(["Identifier", "TSThisType"]), typeAnnotation: (0, $.validateOptionalType)("TSTypeAnnotation"), asserts: (0, $.validateOptional)(dr) } }); Ce("TSTypeQuery", { aliases: ["TSType"], visitor: ["exprName", "typeParameters"], fields: { exprName: (0, $.validateType)(["TSEntityName", "TSImportType"]), typeParameters: (0, $.validateOptionalType)("TSTypeParameterInstantiation") } }); Ce("TSTypeLiteral", { aliases: ["TSType"], visitor: ["members"], fields: { members: (0, $.validateArrayOfType)("TSTypeElement") } }); Ce("TSArrayType", { aliases: ["TSType"], visitor: ["elementType"], fields: { elementType: (0, $.validateType)("TSType") } }); Ce("TSTupleType", { aliases: ["TSType"], visitor: ["elementTypes"], fields: { elementTypes: (0, $.validateArrayOfType)(["TSType", "TSNamedTupleMember"]) } }); Ce("TSOptionalType", { aliases: ["TSType"], visitor: ["typeAnnotation"], fields: { typeAnnotation: (0, $.validateType)("TSType") } }); Ce("TSRestType", { aliases: ["TSType"], visitor: ["typeAnnotation"], fields: { typeAnnotation: (0, $.validateType)("TSType") } }); Ce("TSNamedTupleMember", { visitor: ["label", "elementType"], builder: ["label", "elementType", "optional"], fields: { label: (0, $.validateType)("Identifier"), optional: { validate: dr, default: !1 }, elementType: (0, $.validateType)("TSType") } }); var CE = { aliases: ["TSType"], visitor: ["types"], fields: { types: (0, $.validateArrayOfType)("TSType") } }; Ce("TSUnionType", CE); Ce("TSIntersectionType", CE); Ce("TSConditionalType", { aliases: ["TSType"], visitor: ["checkType", "extendsType", "trueType", "falseType"], fields: { checkType: (0, $.validateType)("TSType"), extendsType: (0, $.validateType)("TSType"), trueType: (0, $.validateType)("TSType"), falseType: (0, $.validateType)("TSType") } }); Ce("TSInferType", { aliases: ["TSType"], visitor: ["typeParameter"], fields: { typeParameter: (0, $.validateType)("TSTypeParameter") } }); Ce("TSParenthesizedType", { aliases: ["TSType"], visitor: ["typeAnnotation"], fields: { typeAnnotation: (0, $.validateType)("TSType") } }); Ce("TSTypeOperator", { aliases: ["TSType"], visitor: ["typeAnnotation"], fields: { operator: (0, $.validate)((0, $.assertValueType)("string")), typeAnnotation: (0, $.validateType)("TSType") } }); Ce("TSIndexedAccessType", { aliases: ["TSType"], visitor: ["objectType", "indexType"], fields: { objectType: (0, $.validateType)("TSType"), indexType: (0, $.validateType)("TSType") } }); Ce("TSMappedType", { aliases: ["TSType"], visitor: ["typeParameter", "typeAnnotation", "nameType"], fields: { readonly: (0, $.validateOptional)((0, $.assertOneOf)(!0, !1, "+", "-")), typeParameter: (0, $.validateType)("TSTypeParameter"), optional: (0, $.validateOptional)((0, $.assertOneOf)(!0, !1, "+", "-")), typeAnnotation: (0, $.validateOptionalType)("TSType"), nameType: (0, $.validateOptionalType)("TSType") } }); Ce("TSLiteralType", { aliases: ["TSType", "TSBaseType"], visitor: ["literal"], fields: { literal: { validate: function() { let e = (0, $.assertNodeType)("NumericLiteral", "BigIntLiteral"), t = (0, $.assertOneOf)("-"), r = (0, $.assertNodeType)("NumericL\ iteral", "StringLiteral", "BooleanLiteral", "BigIntLiteral", "TemplateLiteral"); function n(i, a, o) { (0, X8.default)("UnaryExpression", o) ? (t(o, "operator", o.operator), e(o, "argument", o.argument)) : r(i, a, o); } return s(n, "validator"), n.oneOfNodeTypes = ["NumericLiteral", "StringLiteral", "BooleanLiteral", "BigIntLiteral", "TemplateLiter\ al", "UnaryExpression"], n; }() } } }); Ce("TSExpressionWithTypeArguments", { aliases: ["TSType"], visitor: ["expression", "typeParameters"], fields: { expression: (0, $.validateType)("TSEntityName"), typeParameters: (0, $.validateOptionalType)("TSTypeParameterInstantiation") } }); Ce("TSInterfaceDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "typeParameters", "extends", "body"], fields: { declare: (0, $.validateOptional)(dr), id: (0, $.validateType)("Identifier"), typeParameters: (0, $.validateOptionalType)("TSTypeParameterDeclaration"), extends: (0, $.validateOptional)((0, $.arrayOfType)("TSExpressionWithTypeArguments")), body: (0, $.validateType)("TSInterfaceBody") } }); Ce("TSInterfaceBody", { visitor: ["body"], fields: { body: (0, $.validateArrayOfType)("TSTypeElement") } }); Ce("TSTypeAliasDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "typeParameters", "typeAnnotation"], fields: { declare: (0, $.validateOptional)(dr), id: (0, $.validateType)("Identifier"), typeParameters: (0, $.validateOptionalType)("TSTypeParameterDeclaration"), typeAnnotation: (0, $.validateType)("TSType") } }); Ce("TSInstantiationExpression", { aliases: ["Expression"], visitor: ["expression", "typeParameters"], fields: { expression: (0, $.validateType)("Expression"), typeParameters: (0, $.validateOptionalType)("TSTypeParameterInstantiation") } }); var wE = { aliases: ["Expression", "LVal", "PatternLike"], visitor: ["expression", "typeAnnotation"], fields: { expression: (0, $.validateType)("Expression"), typeAnnotation: (0, $.validateType)("TSType") } }; Ce("TSAsExpression", wE); Ce("TSSatisfiesExpression", wE); Ce("TSTypeAssertion", { aliases: ["Expression", "LVal", "PatternLike"], visitor: ["typeAnnotation", "expression"], fields: { typeAnnotation: (0, $.validateType)("TSType"), expression: (0, $.validateType)("Expression") } }); Ce("TSEnumDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "members"], fields: { declare: (0, $.validateOptional)(dr), const: (0, $.validateOptional)(dr), id: (0, $.validateType)("Identifier"), members: (0, $.validateArrayOfType)("TSEnumMember"), initializer: (0, $.validateOptionalType)("Expression") } }); Ce("TSEnumMember", { visitor: ["id", "initializer"], fields: { id: (0, $.validateType)(["Identifier", "StringLiteral"]), initializer: (0, $.validateOptionalType)("Expression") } }); Ce("TSModuleDeclaration", { aliases: ["Statement", "Declaration"], visitor: ["id", "body"], fields: { declare: (0, $.validateOptional)(dr), global: (0, $.validateOptional)(dr), id: (0, $.validateType)(["Identifier", "StringLiteral"]), body: (0, $.validateType)(["TSModuleBlock", "TSModuleDeclaration"]) } }); Ce("TSModuleBlock", { aliases: ["Scopable", "Block", "BlockParent", "FunctionParent"], visitor: ["body"], fields: { body: (0, $.validateArrayOfType)("Statement") } }); Ce("TSImportType", { aliases: ["TSType"], visitor: ["argument", "qualifier", "typeParameters"], fields: { argument: (0, $.validateType)("StringLiteral"), qualifier: (0, $.validateOptionalType)("TSEntityName"), typeParameters: (0, $.validateOptionalType)("TSTypeParameterInstantiation"), options: { validate: (0, $.assertNodeType)("Expression"), optional: !0 } } }); Ce("TSImportEqualsDeclaration", { aliases: ["Statement"], visitor: ["id", "moduleReference"], fields: { isExport: (0, $.validate)(dr), id: (0, $.validateType)("Identifier"), moduleReference: (0, $.validateType)(["TSEntityName", "TSExternalModuleReference"]), importKind: { validate: (0, $.assertOneOf)("type", "value"), optional: !0 } } }); Ce("TSExternalModuleReference", { visitor: ["expression"], fields: { expression: (0, $.validateType)("StringLiteral") } }); Ce("TSNonNullExpression", { aliases: ["Expression", "LVal", "PatternLike"], visitor: ["expression"], fields: { expression: (0, $.validateType)("Expression") } }); Ce("TSExportAssignment", { aliases: ["Statement"], visitor: ["expression"], fields: { expression: (0, $.validateType)("Expression") } }); Ce("TSNamespaceExportDeclaration", { aliases: ["Statement"], visitor: ["id"], fields: { id: (0, $.validateType)("Identifier") } }); Ce("TSTypeAnnotation", { visitor: ["typeAnnotation"], fields: { typeAnnotation: { validate: (0, $.assertNodeType)("TSType") } } }); Ce("TSTypeParameterInstantiation", { visitor: ["params"], fields: { params: { validate: (0, $.chain)((0, $.assertValueType)("array"), (0, $.assertEach)((0, $.assertNodeType)("TSType"))) } } }); Ce("TSTypeParameterDeclaration", { visitor: ["params"], fields: { params: { validate: (0, $.chain)((0, $.assertValueType)("array"), (0, $.assertEach)((0, $.assertNodeType)("TSTypeParameter"))) } } }); Ce("TSTypeParameter", { builder: ["constraint", "default", "name"], visitor: ["constraint", "default"], fields: { name: { validate: (0, $.assertValueType)("string") }, in: { validate: (0, $.assertValueType)("boolean"), optional: !0 }, out: { validate: (0, $.assertValueType)("boolean"), optional: !0 }, const: { validate: (0, $.assertValueType)("boolean"), optional: !0 }, constraint: { validate: (0, $.assertNodeType)("TSType"), optional: !0 }, default: { validate: (0, $.assertNodeType)("TSType"), optional: !0 } } }); }); // ../node_modules/@babel/types/lib/definitions/deprecated-aliases.js var IE = T((xl) => { "use strict"; Object.defineProperty(xl, "__esModule", { value: !0 }); xl.DEPRECATED_ALIASES = void 0; var cve = xl.DEPRECATED_ALIASES = { ModuleDeclaration: "ImportOrExportDeclaration" }; }); // ../node_modules/@babel/types/lib/definitions/index.js var Ar = T((rr) => { "use strict"; Object.defineProperty(rr, "__esModule", { value: !0 }); Object.defineProperty(rr, "ALIAS_KEYS", { enumerable: !0, get: /* @__PURE__ */ s(function() { return kt.ALIAS_KEYS; }, "get") }); Object.defineProperty(rr, "BUILDER_KEYS", { enumerable: !0, get: /* @__PURE__ */ s(function() { return kt.BUILDER_KEYS; }, "get") }); Object.defineProperty(rr, "DEPRECATED_ALIASES", { enumerable: !0, get: /* @__PURE__ */ s(function() { return Ap.DEPRECATED_ALIASES; }, "get") }); Object.defineProperty(rr, "DEPRECATED_KEYS", { enumerable: !0, get: /* @__PURE__ */ s(function() { return kt.DEPRECATED_KEYS; }, "get") }); Object.defineProperty(rr, "FLIPPED_ALIAS_KEYS", { enumerable: !0, get: /* @__PURE__ */ s(function() { return kt.FLIPPED_ALIAS_KEYS; }, "get") }); Object.defineProperty(rr, "NODE_FIELDS", { enumerable: !0, get: /* @__PURE__ */ s(function() { return kt.NODE_FIELDS; }, "get") }); Object.defineProperty(rr, "NODE_PARENT_VALIDATIONS", { enumerable: !0, get: /* @__PURE__ */ s(function() { return kt.NODE_PARENT_VALIDATIONS; }, "get") }); Object.defineProperty(rr, "PLACEHOLDERS", { enumerable: !0, get: /* @__PURE__ */ s(function() { return ka.PLACEHOLDERS; }, "get") }); Object.defineProperty(rr, "PLACEHOLDERS_ALIAS", { enumerable: !0, get: /* @__PURE__ */ s(function() { return ka.PLACEHOLDERS_ALIAS; }, "get") }); Object.defineProperty(rr, "PLACEHOLDERS_FLIPPED_ALIAS", { enumerable: !0, get: /* @__PURE__ */ s(function() { return ka.PLACEHOLDERS_FLIPPED_ALIAS; }, "get") }); rr.TYPES = void 0; Object.defineProperty(rr, "VISITOR_KEYS", { enumerable: !0, get: /* @__PURE__ */ s(function() { return kt.VISITOR_KEYS; }, "get") }); var Qn = H1(); Ep(); gE(); bE(); EE(); vE(); DE(); var kt = xn(), ka = Sp(), Ap = IE(); Object.keys(Ap.DEPRECATED_ALIASES).forEach((e) => { kt.FLIPPED_ALIAS_KEYS[e] = kt.FLIPPED_ALIAS_KEYS[Ap.DEPRECATED_ALIASES[e]]; }); Qn(kt.VISITOR_KEYS); Qn(kt.ALIAS_KEYS); Qn(kt.FLIPPED_ALIAS_KEYS); Qn(kt.NODE_FIELDS); Qn(kt.BUILDER_KEYS); Qn(kt.DEPRECATED_KEYS); Qn(ka.PLACEHOLDERS_ALIAS); Qn(ka.PLACEHOLDERS_FLIPPED_ALIAS); var pve = rr.TYPES = [].concat(Object.keys(kt.VISITOR_KEYS), Object.keys(kt.FLIPPED_ALIAS_KEYS), Object.keys(kt.DEPRECATED_KEYS)); }); // ../node_modules/@babel/types/lib/validators/validate.js var bl = T((Fa) => { "use strict"; Object.defineProperty(Fa, "__esModule", { value: !0 }); Fa.default = Z8; Fa.validateChild = NE; Fa.validateField = OE; var _E = Ar(); function Z8(e, t, r) { if (!e) return; let n = _E.NODE_FIELDS[e.type]; if (!n) return; let i = n[t]; OE(e, t, r, i), NE(e, t, r); } s(Z8, "validate"); function OE(e, t, r, n) { n != null && n.validate && (n.optional && r == null || n.validate(e, t, r)); } s(OE, "validateField"); function NE(e, t, r) { if (r == null) return; let n = _E.NODE_PARENT_VALIDATIONS[r.type]; n && n(e, t, r); } s(NE, "validateChild"); }); // ../node_modules/@babel/types/lib/builders/validateNode.js var BE = T((Cp) => { "use strict"; Object.defineProperty(Cp, "__esModule", { value: !0 }); Cp.default = r6; var e6 = bl(), t6 = Se(); function r6(e) { let t = t6.BUILDER_KEYS[e.type]; for (let r of t) (0, e6.default)(e, r, e[r]); return e; } s(r6, "validateNode"); }); // ../node_modules/@babel/types/lib/builders/generated/index.js var nr = T((g) => { "use strict"; Object.defineProperty(g, "__esModule", { value: !0 }); g.anyTypeAnnotation = B5; g.argumentPlaceholder = lL; g.arrayExpression = n6; g.arrayPattern = Q6; g.arrayTypeAnnotation = k5; g.arrowFunctionExpression = Z6; g.assignmentExpression = s6; g.assignmentPattern = X6; g.awaitExpression = T5; g.bigIntLiteral = S5; g.binaryExpression = i6; g.bindExpression = uL; g.blockStatement = u6; g.booleanLiteral = I6; g.booleanLiteralTypeAnnotation = j5; g.booleanTypeAnnotation = F5; g.breakStatement = c6; g.callExpression = f6; g.catchClause = p6; g.classAccessorProperty = D5; g.classBody = e5; g.classDeclaration = r5; g.classExpression = t5; g.classImplements = M5; g.classMethod = h5; g.classPrivateMethod = _5; g.classPrivateProperty = I5; g.classProperty = w5; g.conditionalExpression = d6; g.continueStatement = h6; g.debuggerStatement = m6; g.decimalLiteral = yL; g.declareClass = R5; g.declareExportAllDeclaration = Y5; g.declareExportDeclaration = H5; g.declareFunction = q5; g.declareInterface = U5; g.declareModule = V5; g.declareModuleExports = $5; g.declareOpaqueType = K5; g.declareTypeAlias = W5; g.declareVariable = G5; g.declaredPredicate = z5; g.decorator = fL; g.directive = o6; g.directiveLiteral = l6; g.doExpression = pL; g.doWhileStatement = y6; g.emptyStatement = g6; g.emptyTypeAnnotation = aj; g.enumBooleanBody = kj; g.enumBooleanMember = Mj; g.enumDeclaration = Bj; g.enumDefaultedMember = Uj; g.enumNumberBody = Fj; g.enumNumberMember = Rj; g.enumStringBody = jj; g.enumStringMember = qj; g.enumSymbolBody = Lj; g.existsTypeAnnotation = J5; g.exportAllDeclaration = n5; g.exportDefaultDeclaration = s5; g.exportDefaultSpecifier = dL; g.exportNamedDeclaration = i5; g.exportNamespaceSpecifier = P5; g.exportSpecifier = a5; g.expressionStatement = b6; g.file = E6; g.forInStatement = v6; g.forOfStatement = o5; g.forStatement = T6; g.functionDeclaration = x6; g.functionExpression = S6; g.functionTypeAnnotation = X5; g.functionTypeParam = Q5; g.genericTypeAnnotation = Z5; g.identifier = P6; g.ifStatement = A6; g.import = x5; g.importAttribute = cL; g.importDeclaration = l5; g.importDefaultSpecifier = u5; g.importExpression = p5; g.importNamespaceSpecifier = c5; g.importSpecifier = f5; g.indexedAccessType = Vj; g.inferredPredicate = ej; g.interfaceDeclaration = rj; g.interfaceExtends = tj; g.interfaceTypeAnnotation = nj; g.interpreterDirective = a6; g.intersectionTypeAnnotation = sj; g.jSXAttribute = g.jsxAttribute = Wj; g.jSXClosingElement = g.jsxClosingElement = Kj; g.jSXClosingFragment = g.jsxClosingFragment = sL; g.jSXElement = g.jsxElement = Gj; g.jSXEmptyExpression = g.jsxEmptyExpression = Hj; g.jSXExpressionContainer = g.jsxExpressionContainer = Yj; g.jSXFragment = g.jsxFragment = rL; g.jSXIdentifier = g.jsxIdentifier = Jj; g.jSXMemberExpression = g.jsxMemberExpression = Xj; g.jSXNamespacedName = g.jsxNamespacedName = Qj; g.jSXOpeningElement = g.jsxOpeningElement = Zj; g.jSXOpeningFragment = g.jsxOpeningFragment = nL; g.jSXSpreadAttribute = g.jsxSpreadAttribute = eL; g.jSXSpreadChild = g.jsxSpreadChild = zj; g.jSXText = g.jsxText = tL; g.labeledStatement = C6; g.logicalExpression = _6; g.memberExpression = O6; g.metaProperty = d5; g.mixedTypeAnnotation = ij; g.moduleExpression = gL; g.newExpression = N6; g.noop = iL; g.nullLiteral = D6; g.nullLiteralTypeAnnotation = L5; g.nullableTypeAnnotation = oj; g.numberLiteral = BM; g.numberLiteralTypeAnnotation = lj; g.numberTypeAnnotation = uj; g.numericLiteral = kE; g.objectExpression = k6; g.objectMethod = F6; g.objectPattern = m5; g.objectProperty = j6; g.objectTypeAnnotation = cj; g.objectTypeCallProperty = pj; g.objectTypeIndexer = dj; g.objectTypeInternalSlot = fj; g.objectTypeProperty = hj; g.objectTypeSpreadProperty = mj; g.opaqueType = yj; g.optionalCallExpression = C5; g.optionalIndexedAccessType = $j; g.optionalMemberExpression = A5; g.parenthesizedExpression = R6; g.pipelineBareFunction = vL; g.pipelinePrimaryTopicReference = TL; g.pipelineTopicExpression = EL; g.placeholder = aL; g.privateName = O5; g.program = B6; g.qualifiedTypeIdentifier = gj; g.recordExpression = hL; g.regExpLiteral = FE; g.regexLiteral = kM; g.restElement = jE; g.restProperty = FM; g.returnStatement = L6; g.sequenceExpression = M6; g.spreadElement = LE; g.spreadProperty = jM; g.staticBlock = N5; g.stringLiteral = w6; g.stringLiteralTypeAnnotation = bj; g.stringTypeAnnotation = Ej; g.super = y5; g.switchCase = q6; g.switchStatement = U6; g.symbolTypeAnnotation = vj; g.taggedTemplateExpression = g5; g.templateElement = b5; g.templateLiteral = E5; g.thisExpression = V6; g.thisTypeAnnotation = Tj; g.throwStatement = $6; g.topicReference = bL; g.tryStatement = W6; g.tSAnyKeyword = g.tsAnyKeyword = OL; g.tSArrayType = g.tsArrayType = XL; g.tSAsExpression = g.tsAsExpression = yM; g.tSBigIntKeyword = g.tsBigIntKeyword = BL; g.tSBooleanKeyword = g.tsBooleanKeyword = NL; g.tSCallSignatureDeclaration = g.tsCallSignatureDeclaration = CL; g.tSConditionalType = g.tsConditionalType = sM; g.tSConstructSignatureDeclaration = g.tsConstructSignatureDeclaration = wL; g.tSConstructorType = g.tsConstructorType = GL; g.tSDeclareFunction = g.tsDeclareFunction = SL; g.tSDeclareMethod = g.tsDeclareMethod = PL; g.tSEnumDeclaration = g.tsEnumDeclaration = EM; g.tSEnumMember = g.tsEnumMember = vM; g.tSExportAssignment = g.tsExportAssignment = wM; g.tSExpressionWithTypeArguments = g.tsExpressionWithTypeArguments = fM; g.tSExternalModuleReference = g.tsExternalModuleReference = AM; g.tSFunctionType = g.tsFunctionType = KL; g.tSImportEqualsDeclaration = g.tsImportEqualsDeclaration = PM; g.tSImportType = g.tsImportType = SM; g.tSIndexSignature = g.tsIndexSignature = _L; g.tSIndexedAccessType = g.tsIndexedAccessType = lM; g.tSInferType = g.tsInferType = iM; g.tSInstantiationExpression = g.tsInstantiationExpression = mM; g.tSInterfaceBody = g.tsInterfaceBody = dM; g.tSInterfaceDeclaration = g.tsInterfaceDeclaration = pM; g.tSIntersectionType = g.tsIntersectionType = nM; g.tSIntrinsicKeyword = g.tsIntrinsicKeyword = kL; g.tSLiteralType = g.tsLiteralType = cM; g.tSMappedType = g.tsMappedType = uM; g.tSMethodSignature = g.tsMethodSignature = IL; g.tSModuleBlock = g.tsModuleBlock = xM; g.tSModuleDeclaration = g.tsModuleDeclaration = TM; g.tSNamedTupleMember = g.tsNamedTupleMember = tM; g.tSNamespaceExportDeclaration = g.tsNamespaceExportDeclaration = DM; g.tSNeverKeyword = g.tsNeverKeyword = FL; g.tSNonNullExpression = g.tsNonNullExpression = CM; g.tSNullKeyword = g.tsNullKeyword = jL; g.tSNumberKeyword = g.tsNumberKeyword = LL; g.tSObjectKeyword = g.tsObjectKeyword = ML; g.tSOptionalType = g.tsOptionalType = ZL; g.tSParameterProperty = g.tsParameterProperty = xL; g.tSParenthesizedType = g.tsParenthesizedType = aM; g.tSPropertySignature = g.tsPropertySignature = DL; g.tSQualifiedName = g.tsQualifiedName = AL; g.tSRestType = g.tsRestType = eM; g.tSSatisfiesExpression = g.tsSatisfiesExpression = gM; g.tSStringKeyword = g.tsStringKeyword = RL; g.tSSymbolKeyword = g.tsSymbolKeyword = qL; g.tSThisType = g.tsThisType = WL; g.tSTupleType = g.tsTupleType = QL; g.tSTypeAliasDeclaration = g.tsTypeAliasDeclaration = hM; g.tSTypeAnnotation = g.tsTypeAnnotation = IM; g.tSTypeAssertion = g.tsTypeAssertion = bM; g.tSTypeLiteral = g.tsTypeLiteral = JL; g.tSTypeOperator = g.tsTypeOperator = oM; g.tSTypeParameter = g.tsTypeParameter = NM; g.tSTypeParameterDeclaration = g.tsTypeParameterDeclaration = OM; g.tSTypeParameterInstantiation = g.tsTypeParameterInstantiation = _M; g.tSTypePredicate = g.tsTypePredicate = YL; g.tSTypeQuery = g.tsTypeQuery = zL; g.tSTypeReference = g.tsTypeReference = HL; g.tSUndefinedKeyword = g.tsUndefinedKeyword = UL; g.tSUnionType = g.tsUnionType = rM; g.tSUnknownKeyword = g.tsUnknownKeyword = VL; g.tSVoidKeyword = g.tsVoidKeyword = $L; g.tupleExpression = mL; g.tupleTypeAnnotation = xj; g.typeAlias = Pj; g.typeAnnotation = Aj; g.typeCastExpression = Cj; g.typeParameter = wj; g.typeParameterDeclaration = Dj; g.typeParameterInstantiation = Ij; g.typeofTypeAnnotation = Sj; g.unaryExpression = K6; g.unionTypeAnnotation = _j; g.updateExpression = G6; g.v8IntrinsicIdentifier = oL; g.variableDeclaration = H6; g.variableDeclarator = Y6; g.variance = Oj; g.voidTypeAnnotation = Nj; g.whileStatement = z6; g.withStatement = J6; g.yieldExpression = v5; var N = BE(), Sl = Aa(); function n6(e = []) { return (0, N.default)({ type: "ArrayExpression", elements: e }); } s(n6, "arrayExpression"); function s6(e, t, r) { return (0, N.default)({ type: "AssignmentExpression", operator: e, left: t, right: r }); } s(s6, "assignmentExpression"); function i6(e, t, r) { return (0, N.default)({ type: "BinaryExpression", operator: e, left: t, right: r }); } s(i6, "binaryExpression"); function a6(e) { return (0, N.default)({ type: "InterpreterDirective", value: e }); } s(a6, "interpreterDirective"); function o6(e) { return (0, N.default)({ type: "Directive", value: e }); } s(o6, "directive"); function l6(e) { return (0, N.default)({ type: "DirectiveLiteral", value: e }); } s(l6, "directiveLiteral"); function u6(e, t = []) { return (0, N.default)({ type: "BlockStatement", body: e, directives: t }); } s(u6, "blockStatement"); function c6(e = null) { return (0, N.default)({ type: "BreakStatement", label: e }); } s(c6, "breakStatement"); function f6(e, t) { return (0, N.default)({ type: "CallExpression", callee: e, arguments: t }); } s(f6, "callExpression"); function p6(e = null, t) { return (0, N.default)({ type: "CatchClause", param: e, body: t }); } s(p6, "catchClause"); function d6(e, t, r) { return (0, N.default)({ type: "ConditionalExpression", test: e, consequent: t, alternate: r }); } s(d6, "conditionalExpression"); function h6(e = null) { return (0, N.default)({ type: "ContinueStatement", label: e }); } s(h6, "continueStatement"); function m6() { return { type: "DebuggerStatement" }; } s(m6, "debuggerStatement"); function y6(e, t) { return (0, N.default)({ type: "DoWhileStatement", test: e, body: t }); } s(y6, "doWhileStatement"); function g6() { return { type: "EmptyStatement" }; } s(g6, "emptyStatement"); function b6(e) { return (0, N.default)({ type: "ExpressionStatement", expression: e }); } s(b6, "expressionStatement"); function E6(e, t = null, r = null) { return (0, N.default)({ type: "File", program: e, comments: t, tokens: r }); } s(E6, "file"); function v6(e, t, r) { return (0, N.default)({ type: "ForInStatement", left: e, right: t, body: r }); } s(v6, "forInStatement"); function T6(e = null, t = null, r = null, n) { return (0, N.default)({ type: "ForStatement", init: e, test: t, update: r, body: n }); } s(T6, "forStatement"); function x6(e = null, t, r, n = !1, i = !1) { return (0, N.default)({ type: "FunctionDeclaration", id: e, params: t, body: r, generator: n, async: i }); } s(x6, "functionDeclaration"); function S6(e = null, t, r, n = !1, i = !1) { return (0, N.default)({ type: "FunctionExpression", id: e, params: t, body: r, generator: n, async: i }); } s(S6, "functionExpression"); function P6(e) { return (0, N.default)({ type: "Identifier", name: e }); } s(P6, "identifier"); function A6(e, t, r = null) { return (0, N.default)({ type: "IfStatement", test: e, consequent: t, alternate: r }); } s(A6, "ifStatement"); function C6(e, t) { return (0, N.default)({ type: "LabeledStatement", label: e, body: t }); } s(C6, "labeledStatement"); function w6(e) { return (0, N.default)({ type: "StringLiteral", value: e }); } s(w6, "stringLiteral"); function kE(e) { return (0, N.default)({ type: "NumericLiteral", value: e }); } s(kE, "numericLiteral"); function D6() { return { type: "NullLiteral" }; } s(D6, "nullLiteral"); function I6(e) { return (0, N.default)({ type: "BooleanLiteral", value: e }); } s(I6, "booleanLiteral"); function FE(e, t = "") { return (0, N.default)({ type: "RegExpLiteral", pattern: e, flags: t }); } s(FE, "regExpLiteral"); function _6(e, t, r) { return (0, N.default)({ type: "LogicalExpression", operator: e, left: t, right: r }); } s(_6, "logicalExpression"); function O6(e, t, r = !1, n = null) { return (0, N.default)({ type: "MemberExpression", object: e, property: t, computed: r, optional: n }); } s(O6, "memberExpression"); function N6(e, t) { return (0, N.default)({ type: "NewExpression", callee: e, arguments: t }); } s(N6, "newExpression"); function B6(e, t = [], r = "script", n = null) { return (0, N.default)({ type: "Program", body: e, directives: t, sourceType: r, interpreter: n }); } s(B6, "program"); function k6(e) { return (0, N.default)({ type: "ObjectExpression", properties: e }); } s(k6, "objectExpression"); function F6(e = "method", t, r, n, i = !1, a = !1, o = !1) { return (0, N.default)({ type: "ObjectMethod", kind: e, key: t, params: r, body: n, computed: i, generator: a, async: o }); } s(F6, "objectMethod"); function j6(e, t, r = !1, n = !1, i = null) { return (0, N.default)({ type: "ObjectProperty", key: e, value: t, computed: r, shorthand: n, decorators: i }); } s(j6, "objectProperty"); function jE(e) { return (0, N.default)({ type: "RestElement", argument: e }); } s(jE, "restElement"); function L6(e = null) { return (0, N.default)({ type: "ReturnStatement", argument: e }); } s(L6, "returnStatement"); function M6(e) { return (0, N.default)({ type: "SequenceExpression", expressions: e }); } s(M6, "sequenceExpression"); function R6(e) { return (0, N.default)({ type: "ParenthesizedExpression", expression: e }); } s(R6, "parenthesizedExpression"); function q6(e = null, t) { return (0, N.default)({ type: "SwitchCase", test: e, consequent: t }); } s(q6, "switchCase"); function U6(e, t) { return (0, N.default)({ type: "SwitchStatement", discriminant: e, cases: t }); } s(U6, "switchStatement"); function V6() { return { type: "ThisExpression" }; } s(V6, "thisExpression"); function $6(e) { return (0, N.default)({ type: "ThrowStatement", argument: e }); } s($6, "throwStatement"); function W6(e, t = null, r = null) { return (0, N.default)({ type: "TryStatement", block: e, handler: t, finalizer: r }); } s(W6, "tryStatement"); function K6(e, t, r = !0) { return (0, N.default)({ type: "UnaryExpression", operator: e, argument: t, prefix: r }); } s(K6, "unaryExpression"); function G6(e, t, r = !1) { return (0, N.default)({ type: "UpdateExpression", operator: e, argument: t, prefix: r }); } s(G6, "updateExpression"); function H6(e, t) { return (0, N.default)({ type: "VariableDeclaration", kind: e, declarations: t }); } s(H6, "variableDeclaration"); function Y6(e, t = null) { return (0, N.default)({ type: "VariableDeclarator", id: e, init: t }); } s(Y6, "variableDeclarator"); function z6(e, t) { return (0, N.default)({ type: "WhileStatement", test: e, body: t }); } s(z6, "whileStatement"); function J6(e, t) { return (0, N.default)({ type: "WithStatement", object: e, body: t }); } s(J6, "withStatement"); function X6(e, t) { return (0, N.default)({ type: "AssignmentPattern", left: e, right: t }); } s(X6, "assignmentPattern"); function Q6(e) { return (0, N.default)({ type: "ArrayPattern", elements: e }); } s(Q6, "arrayPattern"); function Z6(e, t, r = !1) { return (0, N.default)({ type: "ArrowFunctionExpression", params: e, body: t, async: r, expression: null }); } s(Z6, "arrowFunctionExpression"); function e5(e) { return (0, N.default)({ type: "ClassBody", body: e }); } s(e5, "classBody"); function t5(e = null, t = null, r, n = null) { return (0, N.default)({ type: "ClassExpression", id: e, superClass: t, body: r, decorators: n }); } s(t5, "classExpression"); function r5(e = null, t = null, r, n = null) { return (0, N.default)({ type: "ClassDeclaration", id: e, superClass: t, body: r, decorators: n }); } s(r5, "classDeclaration"); function n5(e) { return (0, N.default)({ type: "ExportAllDeclaration", source: e }); } s(n5, "exportAllDeclaration"); function s5(e) { return (0, N.default)({ type: "ExportDefaultDeclaration", declaration: e }); } s(s5, "exportDefaultDeclaration"); function i5(e = null, t = [], r = null) { return (0, N.default)({ type: "ExportNamedDeclaration", declaration: e, specifiers: t, source: r }); } s(i5, "exportNamedDeclaration"); function a5(e, t) { return (0, N.default)({ type: "ExportSpecifier", local: e, exported: t }); } s(a5, "exportSpecifier"); function o5(e, t, r, n = !1) { return (0, N.default)({ type: "ForOfStatement", left: e, right: t, body: r, await: n }); } s(o5, "forOfStatement"); function l5(e, t) { return (0, N.default)({ type: "ImportDeclaration", specifiers: e, source: t }); } s(l5, "importDeclaration"); function u5(e) { return (0, N.default)({ type: "ImportDefaultSpecifier", local: e }); } s(u5, "importDefaultSpecifier"); function c5(e) { return (0, N.default)({ type: "ImportNamespaceSpecifier", local: e }); } s(c5, "importNamespaceSpecifier"); function f5(e, t) { return (0, N.default)({ type: "ImportSpecifier", local: e, imported: t }); } s(f5, "importSpecifier"); function p5(e, t = null) { return (0, N.default)({ type: "ImportExpression", source: e, options: t }); } s(p5, "importExpression"); function d5(e, t) { return (0, N.default)({ type: "MetaProperty", meta: e, property: t }); } s(d5, "metaProperty"); function h5(e = "method", t, r, n, i = !1, a = !1, o = !1, l = !1) { return (0, N.default)({ type: "ClassMethod", kind: e, key: t, params: r, body: n, computed: i, static: a, generator: o, async: l }); } s(h5, "classMethod"); function m5(e) { return (0, N.default)({ type: "ObjectPattern", properties: e }); } s(m5, "objectPattern"); function LE(e) { return (0, N.default)({ type: "SpreadElement", argument: e }); } s(LE, "spreadElement"); function y5() { return { type: "Super" }; } s(y5, "_super"); function g5(e, t) { return (0, N.default)({ type: "TaggedTemplateExpression", tag: e, quasi: t }); } s(g5, "taggedTemplateExpression"); function b5(e, t = !1) { return (0, N.default)({ type: "TemplateElement", value: e, tail: t }); } s(b5, "templateElement"); function E5(e, t) { return (0, N.default)({ type: "TemplateLiteral", quasis: e, expressions: t }); } s(E5, "templateLiteral"); function v5(e = null, t = !1) { return (0, N.default)({ type: "YieldExpression", argument: e, delegate: t }); } s(v5, "yieldExpression"); function T5(e) { return (0, N.default)({ type: "AwaitExpression", argument: e }); } s(T5, "awaitExpression"); function x5() { return { type: "Import" }; } s(x5, "_import"); function S5(e) { return (0, N.default)({ type: "BigIntLiteral", value: e }); } s(S5, "bigIntLiteral"); function P5(e) { return (0, N.default)({ type: "ExportNamespaceSpecifier", exported: e }); } s(P5, "exportNamespaceSpecifier"); function A5(e, t, r = !1, n) { return (0, N.default)({ type: "OptionalMemberExpression", object: e, property: t, computed: r, optional: n }); } s(A5, "optionalMemberExpression"); function C5(e, t, r) { return (0, N.default)({ type: "OptionalCallExpression", callee: e, arguments: t, optional: r }); } s(C5, "optionalCallExpression"); function w5(e, t = null, r = null, n = null, i = !1, a = !1) { return (0, N.default)({ type: "ClassProperty", key: e, value: t, typeAnnotation: r, decorators: n, computed: i, static: a }); } s(w5, "classProperty"); function D5(e, t = null, r = null, n = null, i = !1, a = !1) { return (0, N.default)({ type: "ClassAccessorProperty", key: e, value: t, typeAnnotation: r, decorators: n, computed: i, static: a }); } s(D5, "classAccessorProperty"); function I5(e, t = null, r = null, n = !1) { return (0, N.default)({ type: "ClassPrivateProperty", key: e, value: t, decorators: r, static: n }); } s(I5, "classPrivateProperty"); function _5(e = "method", t, r, n, i = !1) { return (0, N.default)({ type: "ClassPrivateMethod", kind: e, key: t, params: r, body: n, static: i }); } s(_5, "classPrivateMethod"); function O5(e) { return (0, N.default)({ type: "PrivateName", id: e }); } s(O5, "privateName"); function N5(e) { return (0, N.default)({ type: "StaticBlock", body: e }); } s(N5, "staticBlock"); function B5() { return { type: "AnyTypeAnnotation" }; } s(B5, "anyTypeAnnotation"); function k5(e) { return (0, N.default)({ type: "ArrayTypeAnnotation", elementType: e }); } s(k5, "arrayTypeAnnotation"); function F5() { return { type: "BooleanTypeAnnotation" }; } s(F5, "booleanTypeAnnotation"); function j5(e) { return (0, N.default)({ type: "BooleanLiteralTypeAnnotation", value: e }); } s(j5, "booleanLiteralTypeAnnotation"); function L5() { return { type: "NullLiteralTypeAnnotation" }; } s(L5, "nullLiteralTypeAnnotation"); function M5(e, t = null) { return (0, N.default)({ type: "ClassImplements", id: e, typeParameters: t }); } s(M5, "classImplements"); function R5(e, t = null, r = null, n) { return (0, N.default)({ type: "DeclareClass", id: e, typeParameters: t, extends: r, body: n }); } s(R5, "declareClass"); function q5(e) { return (0, N.default)({ type: "DeclareFunction", id: e }); } s(q5, "declareFunction"); function U5(e, t = null, r = null, n) { return (0, N.default)({ type: "DeclareInterface", id: e, typeParameters: t, extends: r, body: n }); } s(U5, "declareInterface"); function V5(e, t, r = null) { return (0, N.default)({ type: "DeclareModule", id: e, body: t, kind: r }); } s(V5, "declareModule"); function $5(e) { return (0, N.default)({ type: "DeclareModuleExports", typeAnnotation: e }); } s($5, "declareModuleExports"); function W5(e, t = null, r) { return (0, N.default)({ type: "DeclareTypeAlias", id: e, typeParameters: t, right: r }); } s(W5, "declareTypeAlias"); function K5(e, t = null, r = null) { return (0, N.default)({ type: "DeclareOpaqueType", id: e, typeParameters: t, supertype: r }); } s(K5, "declareOpaqueType"); function G5(e) { return (0, N.default)({ type: "DeclareVariable", id: e }); } s(G5, "declareVariable"); function H5(e = null, t = null, r = null) { return (0, N.default)({ type: "DeclareExportDeclaration", declaration: e, specifiers: t, source: r }); } s(H5, "declareExportDeclaration"); function Y5(e) { return (0, N.default)({ type: "DeclareExportAllDeclaration", source: e }); } s(Y5, "declareExportAllDeclaration"); function z5(e) { return (0, N.default)({ type: "DeclaredPredicate", value: e }); } s(z5, "declaredPredicate"); function J5() { return { type: "ExistsTypeAnnotation" }; } s(J5, "existsTypeAnnotation"); function X5(e = null, t, r = null, n) { return (0, N.default)({ type: "FunctionTypeAnnotation", typeParameters: e, params: t, rest: r, returnType: n }); } s(X5, "functionTypeAnnotation"); function Q5(e = null, t) { return (0, N.default)({ type: "FunctionTypeParam", name: e, typeAnnotation: t }); } s(Q5, "functionTypeParam"); function Z5(e, t = null) { return (0, N.default)({ type: "GenericTypeAnnotation", id: e, typeParameters: t }); } s(Z5, "genericTypeAnnotation"); function ej() { return { type: "InferredPredicate" }; } s(ej, "inferredPredicate"); function tj(e, t = null) { return (0, N.default)({ type: "InterfaceExtends", id: e, typeParameters: t }); } s(tj, "interfaceExtends"); function rj(e, t = null, r = null, n) { return (0, N.default)({ type: "InterfaceDeclaration", id: e, typeParameters: t, extends: r, body: n }); } s(rj, "interfaceDeclaration"); function nj(e = null, t) { return (0, N.default)({ type: "InterfaceTypeAnnotation", extends: e, body: t }); } s(nj, "interfaceTypeAnnotation"); function sj(e) { return (0, N.default)({ type: "IntersectionTypeAnnotation", types: e }); } s(sj, "intersectionTypeAnnotation"); function ij() { return { type: "MixedTypeAnnotation" }; } s(ij, "mixedTypeAnnotation"); function aj() { return { type: "EmptyTypeAnnotation" }; } s(aj, "emptyTypeAnnotation"); function oj(e) { return (0, N.default)({ type: "NullableTypeAnnotation", typeAnnotation: e }); } s(oj, "nullableTypeAnnotation"); function lj(e) { return (0, N.default)({ type: "NumberLiteralTypeAnnotation", value: e }); } s(lj, "numberLiteralTypeAnnotation"); function uj() { return { type: "NumberTypeAnnotation" }; } s(uj, "numberTypeAnnotation"); function cj(e, t = [], r = [], n = [], i = !1) { return (0, N.default)({ type: "ObjectTypeAnnotation", properties: e, indexers: t, callProperties: r, internalSlots: n, exact: i }); } s(cj, "objectTypeAnnotation"); function fj(e, t, r, n, i) { return (0, N.default)({ type: "ObjectTypeInternalSlot", id: e, value: t, optional: r, static: n, method: i }); } s(fj, "objectTypeInternalSlot"); function pj(e) { return (0, N.default)({ type: "ObjectTypeCallProperty", value: e, static: null }); } s(pj, "objectTypeCallProperty"); function dj(e = null, t, r, n = null) { return (0, N.default)({ type: "ObjectTypeIndexer", id: e, key: t, value: r, variance: n, static: null }); } s(dj, "objectTypeIndexer"); function hj(e, t, r = null) { return (0, N.default)({ type: "ObjectTypeProperty", key: e, value: t, variance: r, kind: null, method: null, optional: null, proto: null, static: null }); } s(hj, "objectTypeProperty"); function mj(e) { return (0, N.default)({ type: "ObjectTypeSpreadProperty", argument: e }); } s(mj, "objectTypeSpreadProperty"); function yj(e, t = null, r = null, n) { return (0, N.default)({ type: "OpaqueType", id: e, typeParameters: t, supertype: r, impltype: n }); } s(yj, "opaqueType"); function gj(e, t) { return (0, N.default)({ type: "QualifiedTypeIdentifier", id: e, qualification: t }); } s(gj, "qualifiedTypeIdentifier"); function bj(e) { return (0, N.default)({ type: "StringLiteralTypeAnnotation", value: e }); } s(bj, "stringLiteralTypeAnnotation"); function Ej() { return { type: "StringTypeAnnotation" }; } s(Ej, "stringTypeAnnotation"); function vj() { return { type: "SymbolTypeAnnotation" }; } s(vj, "symbolTypeAnnotation"); function Tj() { return { type: "ThisTypeAnnotation" }; } s(Tj, "thisTypeAnnotation"); function xj(e) { return (0, N.default)({ type: "TupleTypeAnnotation", types: e }); } s(xj, "tupleTypeAnnotation"); function Sj(e) { return (0, N.default)({ type: "TypeofTypeAnnotation", argument: e }); } s(Sj, "typeofTypeAnnotation"); function Pj(e, t = null, r) { return (0, N.default)({ type: "TypeAlias", id: e, typeParameters: t, right: r }); } s(Pj, "typeAlias"); function Aj(e) { return (0, N.default)({ type: "TypeAnnotation", typeAnnotation: e }); } s(Aj, "typeAnnotation"); function Cj(e, t) { return (0, N.default)({ type: "TypeCastExpression", expression: e, typeAnnotation: t }); } s(Cj, "typeCastExpression"); function wj(e = null, t = null, r = null) { return (0, N.default)({ type: "TypeParameter", bound: e, default: t, variance: r, name: null }); } s(wj, "typeParameter"); function Dj(e) { return (0, N.default)({ type: "TypeParameterDeclaration", params: e }); } s(Dj, "typeParameterDeclaration"); function Ij(e) { return (0, N.default)({ type: "TypeParameterInstantiation", params: e }); } s(Ij, "typeParameterInstantiation"); function _j(e) { return (0, N.default)({ type: "UnionTypeAnnotation", types: e }); } s(_j, "unionTypeAnnotation"); function Oj(e) { return (0, N.default)({ type: "Variance", kind: e }); } s(Oj, "variance"); function Nj() { return { type: "VoidTypeAnnotation" }; } s(Nj, "voidTypeAnnotation"); function Bj(e, t) { return (0, N.default)({ type: "EnumDeclaration", id: e, body: t }); } s(Bj, "enumDeclaration"); function kj(e) { return (0, N.default)({ type: "EnumBooleanBody", members: e, explicitType: null, hasUnknownMembers: null }); } s(kj, "enumBooleanBody"); function Fj(e) { return (0, N.default)({ type: "EnumNumberBody", members: e, explicitType: null, hasUnknownMembers: null }); } s(Fj, "enumNumberBody"); function jj(e) { return (0, N.default)({ type: "EnumStringBody", members: e, explicitType: null, hasUnknownMembers: null }); } s(jj, "enumStringBody"); function Lj(e) { return (0, N.default)({ type: "EnumSymbolBody", members: e, hasUnknownMembers: null }); } s(Lj, "enumSymbolBody"); function Mj(e) { return (0, N.default)({ type: "EnumBooleanMember", id: e, init: null }); } s(Mj, "enumBooleanMember"); function Rj(e, t) { return (0, N.default)({ type: "EnumNumberMember", id: e, init: t }); } s(Rj, "enumNumberMember"); function qj(e, t) { return (0, N.default)({ type: "EnumStringMember", id: e, init: t }); } s(qj, "enumStringMember"); function Uj(e) { return (0, N.default)({ type: "EnumDefaultedMember", id: e }); } s(Uj, "enumDefaultedMember"); function Vj(e, t) { return (0, N.default)({ type: "IndexedAccessType", objectType: e, indexType: t }); } s(Vj, "indexedAccessType"); function $j(e, t) { return (0, N.default)({ type: "OptionalIndexedAccessType", objectType: e, indexType: t, optional: null }); } s($j, "optionalIndexedAccessType"); function Wj(e, t = null) { return (0, N.default)({ type: "JSXAttribute", name: e, value: t }); } s(Wj, "jsxAttribute"); function Kj(e) { return (0, N.default)({ type: "JSXClosingElement", name: e }); } s(Kj, "jsxClosingElement"); function Gj(e, t = null, r, n = null) { return (0, N.default)({ type: "JSXElement", openingElement: e, closingElement: t, children: r, selfClosing: n }); } s(Gj, "jsxElement"); function Hj() { return { type: "JSXEmptyExpression" }; } s(Hj, "jsxEmptyExpression"); function Yj(e) { return (0, N.default)({ type: "JSXExpressionContainer", expression: e }); } s(Yj, "jsxExpressionContainer"); function zj(e) { return (0, N.default)({ type: "JSXSpreadChild", expression: e }); } s(zj, "jsxSpreadChild"); function Jj(e) { return (0, N.default)({ type: "JSXIdentifier", name: e }); } s(Jj, "jsxIdentifier"); function Xj(e, t) { return (0, N.default)({ type: "JSXMemberExpression", object: e, property: t }); } s(Xj, "jsxMemberExpression"); function Qj(e, t) { return (0, N.default)({ type: "JSXNamespacedName", namespace: e, name: t }); } s(Qj, "jsxNamespacedName"); function Zj(e, t, r = !1) { return (0, N.default)({ type: "JSXOpeningElement", name: e, attributes: t, selfClosing: r }); } s(Zj, "jsxOpeningElement"); function eL(e) { return (0, N.default)({ type: "JSXSpreadAttribute", argument: e }); } s(eL, "jsxSpreadAttribute"); function tL(e) { return (0, N.default)({ type: "JSXText", value: e }); } s(tL, "jsxText"); function rL(e, t, r) { return (0, N.default)({ type: "JSXFragment", openingFragment: e, closingFragment: t, children: r }); } s(rL, "jsxFragment"); function nL() { return { type: "JSXOpeningFragment" }; } s(nL, "jsxOpeningFragment"); function sL() { return { type: "JSXClosingFragment" }; } s(sL, "jsxClosingFragment"); function iL() { return { type: "Noop" }; } s(iL, "noop"); function aL(e, t) { return (0, N.default)({ type: "Placeholder", expectedNode: e, name: t }); } s(aL, "placeholder"); function oL(e) { return (0, N.default)({ type: "V8IntrinsicIdentifier", name: e }); } s(oL, "v8IntrinsicIdentifier"); function lL() { return { type: "ArgumentPlaceholder" }; } s(lL, "argumentPlaceholder"); function uL(e, t) { return (0, N.default)({ type: "BindExpression", object: e, callee: t }); } s(uL, "bindExpression"); function cL(e, t) { return (0, N.default)({ type: "ImportAttribute", key: e, value: t }); } s(cL, "importAttribute"); function fL(e) { return (0, N.default)({ type: "Decorator", expression: e }); } s(fL, "decorator"); function pL(e, t = !1) { return (0, N.default)({ type: "DoExpression", body: e, async: t }); } s(pL, "doExpression"); function dL(e) { return (0, N.default)({ type: "ExportDefaultSpecifier", exported: e }); } s(dL, "exportDefaultSpecifier"); function hL(e) { return (0, N.default)({ type: "RecordExpression", properties: e }); } s(hL, "recordExpression"); function mL(e = []) { return (0, N.default)({ type: "TupleExpression", elements: e }); } s(mL, "tupleExpression"); function yL(e) { return (0, N.default)({ type: "DecimalLiteral", value: e }); } s(yL, "decimalLiteral"); function gL(e) { return (0, N.default)({ type: "ModuleExpression", body: e }); } s(gL, "moduleExpression"); function bL() { return { type: "TopicReference" }; } s(bL, "topicReference"); function EL(e) { return (0, N.default)({ type: "PipelineTopicExpression", expression: e }); } s(EL, "pipelineTopicExpression"); function vL(e) { return (0, N.default)({ type: "PipelineBareFunction", callee: e }); } s(vL, "pipelineBareFunction"); function TL() { return { type: "PipelinePrimaryTopicReference" }; } s(TL, "pipelinePrimaryTopicReference"); function xL(e) { return (0, N.default)({ type: "TSParameterProperty", parameter: e }); } s(xL, "tsParameterProperty"); function SL(e = null, t = null, r, n = null) { return (0, N.default)({ type: "TSDeclareFunction", id: e, typeParameters: t, params: r, returnType: n }); } s(SL, "tsDeclareFunction"); function PL(e = null, t, r = null, n, i = null) { return (0, N.default)({ type: "TSDeclareMethod", decorators: e, key: t, typeParameters: r, params: n, returnType: i }); } s(PL, "tsDeclareMethod"); function AL(e, t) { return (0, N.default)({ type: "TSQualifiedName", left: e, right: t }); } s(AL, "tsQualifiedName"); function CL(e = null, t, r = null) { return (0, N.default)({ type: "TSCallSignatureDeclaration", typeParameters: e, parameters: t, typeAnnotation: r }); } s(CL, "tsCallSignatureDeclaration"); function wL(e = null, t, r = null) { return (0, N.default)({ type: "TSConstructSignatureDeclaration", typeParameters: e, parameters: t, typeAnnotation: r }); } s(wL, "tsConstructSignatureDeclaration"); function DL(e, t = null) { return (0, N.default)({ type: "TSPropertySignature", key: e, typeAnnotation: t, kind: null }); } s(DL, "tsPropertySignature"); function IL(e, t = null, r, n = null) { return (0, N.default)({ type: "TSMethodSignature", key: e, typeParameters: t, parameters: r, typeAnnotation: n, kind: null }); } s(IL, "tsMethodSignature"); function _L(e, t = null) { return (0, N.default)({ type: "TSIndexSignature", parameters: e, typeAnnotation: t }); } s(_L, "tsIndexSignature"); function OL() { return { type: "TSAnyKeyword" }; } s(OL, "tsAnyKeyword"); function NL() { return { type: "TSBooleanKeyword" }; } s(NL, "tsBooleanKeyword"); function BL() { return { type: "TSBigIntKeyword" }; } s(BL, "tsBigIntKeyword"); function kL() { return { type: "TSIntrinsicKeyword" }; } s(kL, "tsIntrinsicKeyword"); function FL() { return { type: "TSNeverKeyword" }; } s(FL, "tsNeverKeyword"); function jL() { return { type: "TSNullKeyword" }; } s(jL, "tsNullKeyword"); function LL() { return { type: "TSNumberKeyword" }; } s(LL, "tsNumberKeyword"); function ML() { return { type: "TSObjectKeyword" }; } s(ML, "tsObjectKeyword"); function RL() { return { type: "TSStringKeyword" }; } s(RL, "tsStringKeyword"); function qL() { return { type: "TSSymbolKeyword" }; } s(qL, "tsSymbolKeyword"); function UL() { return { type: "TSUndefinedKeyword" }; } s(UL, "tsUndefinedKeyword"); function VL() { return { type: "TSUnknownKeyword" }; } s(VL, "tsUnknownKeyword"); function $L() { return { type: "TSVoidKeyword" }; } s($L, "tsVoidKeyword"); function WL() { return { type: "TSThisType" }; } s(WL, "tsThisType"); function KL(e = null, t, r = null) { return (0, N.default)({ type: "TSFunctionType", typeParameters: e, parameters: t, typeAnnotation: r }); } s(KL, "tsFunctionType"); function GL(e = null, t, r = null) { return (0, N.default)({ type: "TSConstructorType", typeParameters: e, parameters: t, typeAnnotation: r }); } s(GL, "tsConstructorType"); function HL(e, t = null) { return (0, N.default)({ type: "TSTypeReference", typeName: e, typeParameters: t }); } s(HL, "tsTypeReference"); function YL(e, t = null, r = null) { return (0, N.default)({ type: "TSTypePredicate", parameterName: e, typeAnnotation: t, asserts: r }); } s(YL, "tsTypePredicate"); function zL(e, t = null) { return (0, N.default)({ type: "TSTypeQuery", exprName: e, typeParameters: t }); } s(zL, "tsTypeQuery"); function JL(e) { return (0, N.default)({ type: "TSTypeLiteral", members: e }); } s(JL, "tsTypeLiteral"); function XL(e) { return (0, N.default)({ type: "TSArrayType", elementType: e }); } s(XL, "tsArrayType"); function QL(e) { return (0, N.default)({ type: "TSTupleType", elementTypes: e }); } s(QL, "tsTupleType"); function ZL(e) { return (0, N.default)({ type: "TSOptionalType", typeAnnotation: e }); } s(ZL, "tsOptionalType"); function eM(e) { return (0, N.default)({ type: "TSRestType", typeAnnotation: e }); } s(eM, "tsRestType"); function tM(e, t, r = !1) { return (0, N.default)({ type: "TSNamedTupleMember", label: e, elementType: t, optional: r }); } s(tM, "tsNamedTupleMember"); function rM(e) { return (0, N.default)({ type: "TSUnionType", types: e }); } s(rM, "tsUnionType"); function nM(e) { return (0, N.default)({ type: "TSIntersectionType", types: e }); } s(nM, "tsIntersectionType"); function sM(e, t, r, n) { return (0, N.default)({ type: "TSConditionalType", checkType: e, extendsType: t, trueType: r, falseType: n }); } s(sM, "tsConditionalType"); function iM(e) { return (0, N.default)({ type: "TSInferType", typeParameter: e }); } s(iM, "tsInferType"); function aM(e) { return (0, N.default)({ type: "TSParenthesizedType", typeAnnotation: e }); } s(aM, "tsParenthesizedType"); function oM(e) { return (0, N.default)({ type: "TSTypeOperator", typeAnnotation: e, operator: null }); } s(oM, "tsTypeOperator"); function lM(e, t) { return (0, N.default)({ type: "TSIndexedAccessType", objectType: e, indexType: t }); } s(lM, "tsIndexedAccessType"); function uM(e, t = null, r = null) { return (0, N.default)({ type: "TSMappedType", typeParameter: e, typeAnnotation: t, nameType: r }); } s(uM, "tsMappedType"); function cM(e) { return (0, N.default)({ type: "TSLiteralType", literal: e }); } s(cM, "tsLiteralType"); function fM(e, t = null) { return (0, N.default)({ type: "TSExpressionWithTypeArguments", expression: e, typeParameters: t }); } s(fM, "tsExpressionWithTypeArguments"); function pM(e, t = null, r = null, n) { return (0, N.default)({ type: "TSInterfaceDeclaration", id: e, typeParameters: t, extends: r, body: n }); } s(pM, "tsInterfaceDeclaration"); function dM(e) { return (0, N.default)({ type: "TSInterfaceBody", body: e }); } s(dM, "tsInterfaceBody"); function hM(e, t = null, r) { return (0, N.default)({ type: "TSTypeAliasDeclaration", id: e, typeParameters: t, typeAnnotation: r }); } s(hM, "tsTypeAliasDeclaration"); function mM(e, t = null) { return (0, N.default)({ type: "TSInstantiationExpression", expression: e, typeParameters: t }); } s(mM, "tsInstantiationExpression"); function yM(e, t) { return (0, N.default)({ type: "TSAsExpression", expression: e, typeAnnotation: t }); } s(yM, "tsAsExpression"); function gM(e, t) { return (0, N.default)({ type: "TSSatisfiesExpression", expression: e, typeAnnotation: t }); } s(gM, "tsSatisfiesExpression"); function bM(e, t) { return (0, N.default)({ type: "TSTypeAssertion", typeAnnotation: e, expression: t }); } s(bM, "tsTypeAssertion"); function EM(e, t) { return (0, N.default)({ type: "TSEnumDeclaration", id: e, members: t }); } s(EM, "tsEnumDeclaration"); function vM(e, t = null) { return (0, N.default)({ type: "TSEnumMember", id: e, initializer: t }); } s(vM, "tsEnumMember"); function TM(e, t) { return (0, N.default)({ type: "TSModuleDeclaration", id: e, body: t }); } s(TM, "tsModuleDeclaration"); function xM(e) { return (0, N.default)({ type: "TSModuleBlock", body: e }); } s(xM, "tsModuleBlock"); function SM(e, t = null, r = null) { return (0, N.default)({ type: "TSImportType", argument: e, qualifier: t, typeParameters: r }); } s(SM, "tsImportType"); function PM(e, t) { return (0, N.default)({ type: "TSImportEqualsDeclaration", id: e, moduleReference: t, isExport: null }); } s(PM, "tsImportEqualsDeclaration"); function AM(e) { return (0, N.default)({ type: "TSExternalModuleReference", expression: e }); } s(AM, "tsExternalModuleReference"); function CM(e) { return (0, N.default)({ type: "TSNonNullExpression", expression: e }); } s(CM, "tsNonNullExpression"); function wM(e) { return (0, N.default)({ type: "TSExportAssignment", expression: e }); } s(wM, "tsExportAssignment"); function DM(e) { return (0, N.default)({ type: "TSNamespaceExportDeclaration", id: e }); } s(DM, "tsNamespaceExportDeclaration"); function IM(e) { return (0, N.default)({ type: "TSTypeAnnotation", typeAnnotation: e }); } s(IM, "tsTypeAnnotation"); function _M(e) { return (0, N.default)({ type: "TSTypeParameterInstantiation", params: e }); } s(_M, "tsTypeParameterInstantiation"); function OM(e) { return (0, N.default)({ type: "TSTypeParameterDeclaration", params: e }); } s(OM, "tsTypeParameterDeclaration"); function NM(e = null, t = null, r) { return (0, N.default)({ type: "TSTypeParameter", constraint: e, default: t, name: r }); } s(NM, "tsTypeParameter"); function BM(e) { return (0, Sl.default)("NumberLiteral", "NumericLiteral", "The node type "), kE(e); } s(BM, "NumberLiteral"); function kM(e, t = "") { return (0, Sl.default)("RegexLiteral", "RegExpLiteral", "The node type "), FE(e, t); } s(kM, "RegexLiteral"); function FM(e) { return (0, Sl.default)("RestProperty", "RestElement", "The node type "), jE(e); } s(FM, "RestProperty"); function jM(e) { return (0, Sl.default)("SpreadProperty", "SpreadElement", "The node type "), LE(e); } s(jM, "SpreadProperty"); }); // ../node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js var ME = T((wp) => { "use strict"; Object.defineProperty(wp, "__esModule", { value: !0 }); wp.default = RM; var LM = nr(), MM = Se(); function RM(e, t) { let r = e.value.split(/\r\n|\n|\r/), n = 0; for (let a = 0; a < r.length; a++) /[^ \t]/.exec(r[a]) && (n = a); let i = ""; for (let a = 0; a < r.length; a++) { let o = r[a], l = a === 0, u = a === r.length - 1, c = a === n, f = o.replace(/\t/g, " "); l || (f = f.replace(/^ +/, "")), u || (f = f.replace(/ +$/, "")), f && (c || (f += " "), i += f); } i && t.push((0, MM.inherits)((0, LM.stringLiteral)(i), e)); } s(RM, "cleanJSXElementLiteralChild"); }); // ../node_modules/@babel/types/lib/builders/react/buildChildren.js var RE = T((Ip) => { "use strict"; Object.defineProperty(Ip, "__esModule", { value: !0 }); Ip.default = UM; var Dp = vt(), qM = ME(); function UM(e) { let t = []; for (let r = 0; r < e.children.length; r++) { let n = e.children[r]; if ((0, Dp.isJSXText)(n)) { (0, qM.default)(n, t); continue; } (0, Dp.isJSXExpressionContainer)(n) && (n = n.expression), !(0, Dp.isJSXEmptyExpression)(n) && t.push(n); } return t; } s(UM, "buildChildren"); }); // ../node_modules/@babel/types/lib/validators/isNode.js var Op = T((_p) => { "use strict"; Object.defineProperty(_p, "__esModule", { value: !0 }); _p.default = $M; var VM = Ar(); function $M(e) { return !!(e && VM.VISITOR_KEYS[e.type]); } s($M, "isNode"); }); // ../node_modules/@babel/types/lib/asserts/assertNode.js var qE = T((Np) => { "use strict"; Object.defineProperty(Np, "__esModule", { value: !0 }); Np.default = KM; var WM = Op(); function KM(e) { if (!(0, WM.default)(e)) { var t; let r = (t = e?.type) != null ? t : JSON.stringify(e); throw new TypeError(`Not a valid node of type "${r}"`); } } s(KM, "assertNode"); }); // ../node_modules/@babel/types/lib/asserts/generated/index.js var UE = T((S) => { "use strict"; Object.defineProperty(S, "__esModule", { value: !0 }); S.assertAccessor = oV; S.assertAnyTypeAnnotation = wR; S.assertArgumentPlaceholder = rq; S.assertArrayExpression = HM; S.assertArrayPattern = K9; S.assertArrayTypeAnnotation = DR; S.assertArrowFunctionExpression = G9; S.assertAssignmentExpression = YM; S.assertAssignmentPattern = W9; S.assertAwaitExpression = mR; S.assertBigIntLiteral = gR; S.assertBinary = IU; S.assertBinaryExpression = zM; S.assertBindExpression = nq; S.assertBlock = NU; S.assertBlockParent = OU; S.assertBlockStatement = ZM; S.assertBooleanLiteral = v9; S.assertBooleanLiteralTypeAnnotation = _R; S.assertBooleanTypeAnnotation = IR; S.assertBreakStatement = e9; S.assertCallExpression = t9; S.assertCatchClause = r9; S.assertClass = nV; S.assertClassAccessorProperty = xR; S.assertClassBody = H9; S.assertClassDeclaration = z9; S.assertClassExpression = Y9; S.assertClassImplements = NR; S.assertClassMethod = oR; S.assertClassPrivateMethod = PR; S.assertClassPrivateProperty = SR; S.assertClassProperty = TR; S.assertCompletionStatement = FU; S.assertConditional = jU; S.assertConditionalExpression = n9; S.assertContinueStatement = s9; S.assertDebuggerStatement = i9; S.assertDecimalLiteral = cq; S.assertDeclaration = KU; S.assertDeclareClass = BR; S.assertDeclareExportAllDeclaration = VR; S.assertDeclareExportDeclaration = UR; S.assertDeclareFunction = kR; S.assertDeclareInterface = FR; S.assertDeclareModule = jR; S.assertDeclareModuleExports = LR; S.assertDeclareOpaqueType = RR; S.assertDeclareTypeAlias = MR; S.assertDeclareVariable = qR; S.assertDeclaredPredicate = $R; S.assertDecorator = iq; S.assertDirective = XM; S.assertDirectiveLiteral = QM; S.assertDoExpression = aq; S.assertDoWhileStatement = a9; S.assertEmptyStatement = o9; S.assertEmptyTypeAnnotation = e7; S.assertEnumBody = hV; S.assertEnumBooleanBody = D7; S.assertEnumBooleanMember = N7; S.assertEnumDeclaration = w7; S.assertEnumDefaultedMember = F7; S.assertEnumMember = mV; S.assertEnumNumberBody = I7; S.assertEnumNumberMember = B7; S.assertEnumStringBody = _7; S.assertEnumStringMember = k7; S.assertEnumSymbolBody = O7; S.assertExistsTypeAnnotation = WR; S.assertExportAllDeclaration = J9; S.assertExportDeclaration = iV; S.assertExportDefaultDeclaration = X9; S.assertExportDefaultSpecifier = oq; S.assertExportNamedDeclaration = Q9; S.assertExportNamespaceSpecifier = bR; S.assertExportSpecifier = Z9; S.assertExpression = DU; S.assertExpressionStatement = l9; S.assertExpressionWrapper = RU; S.assertFile = u9; S.assertFlow = uV; S.assertFlowBaseAnnotation = fV; S.assertFlowDeclaration = pV; S.assertFlowPredicate = dV; S.assertFlowType = cV; S.assertFor = qU; S.assertForInStatement = c9; S.assertForOfStatement = eR; S.assertForStatement = f9; S.assertForXStatement = UU; S.assertFunction = VU; S.assertFunctionDeclaration = p9; S.assertFunctionExpression = d9; S.assertFunctionParent = $U; S.assertFunctionTypeAnnotation = KR; S.assertFunctionTypeParam = GR; S.assertGenericTypeAnnotation = HR; S.assertIdentifier = h9; S.assertIfStatement = m9; S.assertImmutable = JU; S.assertImport = yR; S.assertImportAttribute = sq; S.assertImportDeclaration = tR; S.assertImportDefaultSpecifier = rR; S.assertImportExpression = iR; S.assertImportNamespaceSpecifier = nR; S.assertImportOrExportDeclaration = sV; S.assertImportSpecifier = sR; S.assertIndexedAccessType = j7; S.assertInferredPredicate = YR; S.assertInterfaceDeclaration = JR; S.assertInterfaceExtends = zR; S.assertInterfaceTypeAnnotation = XR; S.assertInterpreterDirective = JM; S.assertIntersectionTypeAnnotation = QR; S.assertJSX = yV; S.assertJSXAttribute = M7; S.assertJSXClosingElement = R7; S.assertJSXClosingFragment = Q7; S.assertJSXElement = q7; S.assertJSXEmptyExpression = U7; S.assertJSXExpressionContainer = V7; S.assertJSXFragment = J7; S.assertJSXIdentifier = W7; S.assertJSXMemberExpression = K7; S.assertJSXNamespacedName = G7; S.assertJSXOpeningElement = H7; S.assertJSXOpeningFragment = X7; S.assertJSXSpreadAttribute = Y7; S.assertJSXSpreadChild = $7; S.assertJSXText = z7; S.assertLVal = HU; S.assertLabeledStatement = y9; S.assertLiteral = zU; S.assertLogicalExpression = x9; S.assertLoop = LU; S.assertMemberExpression = S9; S.assertMetaProperty = aR; S.assertMethod = QU; S.assertMiscellaneous = gV; S.assertMixedTypeAnnotation = ZR; S.assertModuleDeclaration = CV; S.assertModuleExpression = fq; S.assertModuleSpecifier = aV; S.assertNewExpression = P9; S.assertNoop = Z7; S.assertNullLiteral = E9; S.assertNullLiteralTypeAnnotation = OR; S.assertNullableTypeAnnotation = t7; S.assertNumberLiteral = xV; S.assertNumberLiteralTypeAnnotation = r7; S.assertNumberTypeAnnotation = n7; S.assertNumericLiteral = b9; S.assertObjectExpression = C9; S.assertObjectMember = ZU; S.assertObjectMethod = w9; S.assertObjectPattern = lR; S.assertObjectProperty = D9; S.assertObjectTypeAnnotation = s7; S.assertObjectTypeCallProperty = a7; S.assertObjectTypeIndexer = o7; S.assertObjectTypeInternalSlot = i7; S.assertObjectTypeProperty = l7; S.assertObjectTypeSpreadProperty = u7; S.assertOpaqueType = c7; S.assertOptionalCallExpression = vR; S.assertOptionalIndexedAccessType = L7; S.assertOptionalMemberExpression = ER; S.assertParenthesizedExpression = N9; S.assertPattern = rV; S.assertPatternLike = GU; S.assertPipelineBareFunction = hq; S.assertPipelinePrimaryTopicReference = mq; S.assertPipelineTopicExpression = dq; S.assertPlaceholder = eq; S.assertPrivate = lV; S.assertPrivateName = AR; S.assertProgram = A9; S.assertProperty = eV; S.assertPureish = WU; S.assertQualifiedTypeIdentifier = f7; S.assertRecordExpression = lq; S.assertRegExpLiteral = T9; S.assertRegexLiteral = SV; S.assertRestElement = I9; S.assertRestProperty = PV; S.assertReturnStatement = _9; S.assertScopable = _U; S.assertSequenceExpression = O9; S.assertSpreadElement = uR; S.assertSpreadProperty = AV; S.assertStandardized = wU; S.assertStatement = BU; S.assertStaticBlock = CR; S.assertStringLiteral = g9; S.assertStringLiteralTypeAnnotation = p7; S.assertStringTypeAnnotation = d7; S.assertSuper = cR; S.assertSwitchCase = B9; S.assertSwitchStatement = k9; S.assertSymbolTypeAnnotation = h7; S.assertTSAnyKeyword = Aq; S.assertTSArrayType = Kq; S.assertTSAsExpression = cU; S.assertTSBaseType = TV; S.assertTSBigIntKeyword = wq; S.assertTSBooleanKeyword = Cq; S.assertTSCallSignatureDeclaration = vq; S.assertTSConditionalType = Qq; S.assertTSConstructSignatureDeclaration = Tq; S.assertTSConstructorType = qq; S.assertTSDeclareFunction = gq; S.assertTSDeclareMethod = bq; S.assertTSEntityName = YU; S.assertTSEnumDeclaration = dU; S.assertTSEnumMember = hU; S.assertTSExportAssignment = TU; S.assertTSExpressionWithTypeArguments = iU; S.assertTSExternalModuleReference = EU; S.assertTSFunctionType = Rq; S.assertTSImportEqualsDeclaration = bU; S.assertTSImportType = gU; S.assertTSIndexSignature = Pq; S.assertTSIndexedAccessType = rU; S.assertTSInferType = Zq; S.assertTSInstantiationExpression = uU; S.assertTSInterfaceBody = oU; S.assertTSInterfaceDeclaration = aU; S.assertTSIntersectionType = Xq; S.assertTSIntrinsicKeyword = Dq; S.assertTSLiteralType = sU; S.assertTSMappedType = nU; S.assertTSMethodSignature = Sq; S.assertTSModuleBlock = yU; S.assertTSModuleDeclaration = mU; S.assertTSNamedTupleMember = zq; S.assertTSNamespaceExportDeclaration = xU; S.assertTSNeverKeyword = Iq; S.assertTSNonNullExpression = vU; S.assertTSNullKeyword = _q; S.assertTSNumberKeyword = Oq; S.assertTSObjectKeyword = Nq; S.assertTSOptionalType = Hq; S.assertTSParameterProperty = yq; S.assertTSParenthesizedType = eU; S.assertTSPropertySignature = xq; S.assertTSQualifiedName = Eq; S.assertTSRestType = Yq; S.assertTSSatisfiesExpression = fU; S.assertTSStringKeyword = Bq; S.assertTSSymbolKeyword = kq; S.assertTSThisType = Mq; S.assertTSTupleType = Gq; S.assertTSType = vV; S.assertTSTypeAliasDeclaration = lU; S.assertTSTypeAnnotation = SU; S.assertTSTypeAssertion = pU; S.assertTSTypeElement = EV; S.assertTSTypeLiteral = Wq; S.assertTSTypeOperator = tU; S.assertTSTypeParameter = CU; S.assertTSTypeParameterDeclaration = AU; S.assertTSTypeParameterInstantiation = PU; S.assertTSTypePredicate = Vq; S.assertTSTypeQuery = $q; S.assertTSTypeReference = Uq; S.assertTSUndefinedKeyword = Fq; S.assertTSUnionType = Jq; S.assertTSUnknownKeyword = jq; S.assertTSVoidKeyword = Lq; S.assertTaggedTemplateExpression = fR; S.assertTemplateElement = pR; S.assertTemplateLiteral = dR; S.assertTerminatorless = kU; S.assertThisExpression = F9; S.assertThisTypeAnnotation = m7; S.assertThrowStatement = j9; S.assertTopicReference = pq; S.assertTryStatement = L9; S.assertTupleExpression = uq; S.assertTupleTypeAnnotation = y7; S.assertTypeAlias = b7; S.assertTypeAnnotation = E7; S.assertTypeCastExpression = v7; S.assertTypeParameter = T7; S.assertTypeParameterDeclaration = x7; S.assertTypeParameterInstantiation = S7; S.assertTypeScript = bV; S.assertTypeofTypeAnnotation = g7; S.assertUnaryExpression = M9; S.assertUnaryLike = tV; S.assertUnionTypeAnnotation = P7; S.assertUpdateExpression = R9; S.assertUserWhitespacable = XU; S.assertV8IntrinsicIdentifier = tq; S.assertVariableDeclaration = q9; S.assertVariableDeclarator = U9; S.assertVariance = A7; S.assertVoidTypeAnnotation = C7; S.assertWhile = MU; S.assertWhileStatement = V9; S.assertWithStatement = $9; S.assertYieldExpression = hR; var GM = mi(), ja = Aa(); function P(e, t, r) { if (!(0, GM.default)(e, t, r)) throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`); } s(P, "assert"); function HM(e, t) { P("ArrayExpression", e, t); } s(HM, "assertArrayExpression"); function YM(e, t) { P("AssignmentExpression", e, t); } s(YM, "assertAssignmentExpression"); function zM(e, t) { P("BinaryExpression", e, t); } s(zM, "assertBinaryExpression"); function JM(e, t) { P("InterpreterDirective", e, t); } s(JM, "assertInterpreterDirective"); function XM(e, t) { P("Directive", e, t); } s(XM, "assertDirective"); function QM(e, t) { P("DirectiveLiteral", e, t); } s(QM, "assertDirectiveLiteral"); function ZM(e, t) { P("BlockStatement", e, t); } s(ZM, "assertBlockStatement"); function e9(e, t) { P("BreakStatement", e, t); } s(e9, "assertBreakStatement"); function t9(e, t) { P("CallExpression", e, t); } s(t9, "assertCallExpression"); function r9(e, t) { P("CatchClause", e, t); } s(r9, "assertCatchClause"); function n9(e, t) { P("ConditionalExpression", e, t); } s(n9, "assertConditionalExpression"); function s9(e, t) { P("ContinueStatement", e, t); } s(s9, "assertContinueStatement"); function i9(e, t) { P("DebuggerStatement", e, t); } s(i9, "assertDebuggerStatement"); function a9(e, t) { P("DoWhileStatement", e, t); } s(a9, "assertDoWhileStatement"); function o9(e, t) { P("EmptyStatement", e, t); } s(o9, "assertEmptyStatement"); function l9(e, t) { P("ExpressionStatement", e, t); } s(l9, "assertExpressionStatement"); function u9(e, t) { P("File", e, t); } s(u9, "assertFile"); function c9(e, t) { P("ForInStatement", e, t); } s(c9, "assertForInStatement"); function f9(e, t) { P("ForStatement", e, t); } s(f9, "assertForStatement"); function p9(e, t) { P("FunctionDeclaration", e, t); } s(p9, "assertFunctionDeclaration"); function d9(e, t) { P("FunctionExpression", e, t); } s(d9, "assertFunctionExpression"); function h9(e, t) { P("Identifier", e, t); } s(h9, "assertIdentifier"); function m9(e, t) { P("IfStatement", e, t); } s(m9, "assertIfStatement"); function y9(e, t) { P("LabeledStatement", e, t); } s(y9, "assertLabeledStatement"); function g9(e, t) { P("StringLiteral", e, t); } s(g9, "assertStringLiteral"); function b9(e, t) { P("NumericLiteral", e, t); } s(b9, "assertNumericLiteral"); function E9(e, t) { P("NullLiteral", e, t); } s(E9, "assertNullLiteral"); function v9(e, t) { P("BooleanLiteral", e, t); } s(v9, "assertBooleanLiteral"); function T9(e, t) { P("RegExpLiteral", e, t); } s(T9, "assertRegExpLiteral"); function x9(e, t) { P("LogicalExpression", e, t); } s(x9, "assertLogicalExpression"); function S9(e, t) { P("MemberExpression", e, t); } s(S9, "assertMemberExpression"); function P9(e, t) { P("NewExpression", e, t); } s(P9, "assertNewExpression"); function A9(e, t) { P("Program", e, t); } s(A9, "assertProgram"); function C9(e, t) { P("ObjectExpression", e, t); } s(C9, "assertObjectExpression"); function w9(e, t) { P("ObjectMethod", e, t); } s(w9, "assertObjectMethod"); function D9(e, t) { P("ObjectProperty", e, t); } s(D9, "assertObjectProperty"); function I9(e, t) { P("RestElement", e, t); } s(I9, "assertRestElement"); function _9(e, t) { P("ReturnStatement", e, t); } s(_9, "assertReturnStatement"); function O9(e, t) { P("SequenceExpression", e, t); } s(O9, "assertSequenceExpression"); function N9(e, t) { P("ParenthesizedExpression", e, t); } s(N9, "assertParenthesizedExpression"); function B9(e, t) { P("SwitchCase", e, t); } s(B9, "assertSwitchCase"); function k9(e, t) { P("SwitchStatement", e, t); } s(k9, "assertSwitchStatement"); function F9(e, t) { P("ThisExpression", e, t); } s(F9, "assertThisExpression"); function j9(e, t) { P("ThrowStatement", e, t); } s(j9, "assertThrowStatement"); function L9(e, t) { P("TryStatement", e, t); } s(L9, "assertTryStatement"); function M9(e, t) { P("UnaryExpression", e, t); } s(M9, "assertUnaryExpression"); function R9(e, t) { P("UpdateExpression", e, t); } s(R9, "assertUpdateExpression"); function q9(e, t) { P("VariableDeclaration", e, t); } s(q9, "assertVariableDeclaration"); function U9(e, t) { P("VariableDeclarator", e, t); } s(U9, "assertVariableDeclarator"); function V9(e, t) { P("WhileStatement", e, t); } s(V9, "assertWhileStatement"); function $9(e, t) { P("WithStatement", e, t); } s($9, "assertWithStatement"); function W9(e, t) { P("AssignmentPattern", e, t); } s(W9, "assertAssignmentPattern"); function K9(e, t) { P("ArrayPattern", e, t); } s(K9, "assertArrayPattern"); function G9(e, t) { P("ArrowFunctionExpression", e, t); } s(G9, "assertArrowFunctionExpression"); function H9(e, t) { P("ClassBody", e, t); } s(H9, "assertClassBody"); function Y9(e, t) { P("ClassExpression", e, t); } s(Y9, "assertClassExpression"); function z9(e, t) { P("ClassDeclaration", e, t); } s(z9, "assertClassDeclaration"); function J9(e, t) { P("ExportAllDeclaration", e, t); } s(J9, "assertExportAllDeclaration"); function X9(e, t) { P("ExportDefaultDeclaration", e, t); } s(X9, "assertExportDefaultDeclaration"); function Q9(e, t) { P("ExportNamedDeclaration", e, t); } s(Q9, "assertExportNamedDeclaration"); function Z9(e, t) { P("ExportSpecifier", e, t); } s(Z9, "assertExportSpecifier"); function eR(e, t) { P("ForOfStatement", e, t); } s(eR, "assertForOfStatement"); function tR(e, t) { P("ImportDeclaration", e, t); } s(tR, "assertImportDeclaration"); function rR(e, t) { P("ImportDefaultSpecifier", e, t); } s(rR, "assertImportDefaultSpecifier"); function nR(e, t) { P("ImportNamespaceSpecifier", e, t); } s(nR, "assertImportNamespaceSpecifier"); function sR(e, t) { P("ImportSpecifier", e, t); } s(sR, "assertImportSpecifier"); function iR(e, t) { P("ImportExpression", e, t); } s(iR, "assertImportExpression"); function aR(e, t) { P("MetaProperty", e, t); } s(aR, "assertMetaProperty"); function oR(e, t) { P("ClassMethod", e, t); } s(oR, "assertClassMethod"); function lR(e, t) { P("ObjectPattern", e, t); } s(lR, "assertObjectPattern"); function uR(e, t) { P("SpreadElement", e, t); } s(uR, "assertSpreadElement"); function cR(e, t) { P("Super", e, t); } s(cR, "assertSuper"); function fR(e, t) { P("TaggedTemplateExpression", e, t); } s(fR, "assertTaggedTemplateExpression"); function pR(e, t) { P("TemplateElement", e, t); } s(pR, "assertTemplateElement"); function dR(e, t) { P("TemplateLiteral", e, t); } s(dR, "assertTemplateLiteral"); function hR(e, t) { P("YieldExpression", e, t); } s(hR, "assertYieldExpression"); function mR(e, t) { P("AwaitExpression", e, t); } s(mR, "assertAwaitExpression"); function yR(e, t) { P("Import", e, t); } s(yR, "assertImport"); function gR(e, t) { P("BigIntLiteral", e, t); } s(gR, "assertBigIntLiteral"); function bR(e, t) { P("ExportNamespaceSpecifier", e, t); } s(bR, "assertExportNamespaceSpecifier"); function ER(e, t) { P("OptionalMemberExpression", e, t); } s(ER, "assertOptionalMemberExpression"); function vR(e, t) { P("OptionalCallExpression", e, t); } s(vR, "assertOptionalCallExpression"); function TR(e, t) { P("ClassProperty", e, t); } s(TR, "assertClassProperty"); function xR(e, t) { P("ClassAccessorProperty", e, t); } s(xR, "assertClassAccessorProperty"); function SR(e, t) { P("ClassPrivateProperty", e, t); } s(SR, "assertClassPrivateProperty"); function PR(e, t) { P("ClassPrivateMethod", e, t); } s(PR, "assertClassPrivateMethod"); function AR(e, t) { P("PrivateName", e, t); } s(AR, "assertPrivateName"); function CR(e, t) { P("StaticBlock", e, t); } s(CR, "assertStaticBlock"); function wR(e, t) { P("AnyTypeAnnotation", e, t); } s(wR, "assertAnyTypeAnnotation"); function DR(e, t) { P("ArrayTypeAnnotation", e, t); } s(DR, "assertArrayTypeAnnotation"); function IR(e, t) { P("BooleanTypeAnnotation", e, t); } s(IR, "assertBooleanTypeAnnotation"); function _R(e, t) { P("BooleanLiteralTypeAnnotation", e, t); } s(_R, "assertBooleanLiteralTypeAnnotation"); function OR(e, t) { P("NullLiteralTypeAnnotation", e, t); } s(OR, "assertNullLiteralTypeAnnotation"); function NR(e, t) { P("ClassImplements", e, t); } s(NR, "assertClassImplements"); function BR(e, t) { P("DeclareClass", e, t); } s(BR, "assertDeclareClass"); function kR(e, t) { P("DeclareFunction", e, t); } s(kR, "assertDeclareFunction"); function FR(e, t) { P("DeclareInterface", e, t); } s(FR, "assertDeclareInterface"); function jR(e, t) { P("DeclareModule", e, t); } s(jR, "assertDeclareModule"); function LR(e, t) { P("DeclareModuleExports", e, t); } s(LR, "assertDeclareModuleExports"); function MR(e, t) { P("DeclareTypeAlias", e, t); } s(MR, "assertDeclareTypeAlias"); function RR(e, t) { P("DeclareOpaqueType", e, t); } s(RR, "assertDeclareOpaqueType"); function qR(e, t) { P("DeclareVariable", e, t); } s(qR, "assertDeclareVariable"); function UR(e, t) { P("DeclareExportDeclaration", e, t); } s(UR, "assertDeclareExportDeclaration"); function VR(e, t) { P("DeclareExportAllDeclaration", e, t); } s(VR, "assertDeclareExportAllDeclaration"); function $R(e, t) { P("DeclaredPredicate", e, t); } s($R, "assertDeclaredPredicate"); function WR(e, t) { P("ExistsTypeAnnotation", e, t); } s(WR, "assertExistsTypeAnnotation"); function KR(e, t) { P("FunctionTypeAnnotation", e, t); } s(KR, "assertFunctionTypeAnnotation"); function GR(e, t) { P("FunctionTypeParam", e, t); } s(GR, "assertFunctionTypeParam"); function HR(e, t) { P("GenericTypeAnnotation", e, t); } s(HR, "assertGenericTypeAnnotation"); function YR(e, t) { P("InferredPredicate", e, t); } s(YR, "assertInferredPredicate"); function zR(e, t) { P("InterfaceExtends", e, t); } s(zR, "assertInterfaceExtends"); function JR(e, t) { P("InterfaceDeclaration", e, t); } s(JR, "assertInterfaceDeclaration"); function XR(e, t) { P("InterfaceTypeAnnotation", e, t); } s(XR, "assertInterfaceTypeAnnotation"); function QR(e, t) { P("IntersectionTypeAnnotation", e, t); } s(QR, "assertIntersectionTypeAnnotation"); function ZR(e, t) { P("MixedTypeAnnotation", e, t); } s(ZR, "assertMixedTypeAnnotation"); function e7(e, t) { P("EmptyTypeAnnotation", e, t); } s(e7, "assertEmptyTypeAnnotation"); function t7(e, t) { P("NullableTypeAnnotation", e, t); } s(t7, "assertNullableTypeAnnotation"); function r7(e, t) { P("NumberLiteralTypeAnnotation", e, t); } s(r7, "assertNumberLiteralTypeAnnotation"); function n7(e, t) { P("NumberTypeAnnotation", e, t); } s(n7, "assertNumberTypeAnnotation"); function s7(e, t) { P("ObjectTypeAnnotation", e, t); } s(s7, "assertObjectTypeAnnotation"); function i7(e, t) { P("ObjectTypeInternalSlot", e, t); } s(i7, "assertObjectTypeInternalSlot"); function a7(e, t) { P("ObjectTypeCallProperty", e, t); } s(a7, "assertObjectTypeCallProperty"); function o7(e, t) { P("ObjectTypeIndexer", e, t); } s(o7, "assertObjectTypeIndexer"); function l7(e, t) { P("ObjectTypeProperty", e, t); } s(l7, "assertObjectTypeProperty"); function u7(e, t) { P("ObjectTypeSpreadProperty", e, t); } s(u7, "assertObjectTypeSpreadProperty"); function c7(e, t) { P("OpaqueType", e, t); } s(c7, "assertOpaqueType"); function f7(e, t) { P("QualifiedTypeIdentifier", e, t); } s(f7, "assertQualifiedTypeIdentifier"); function p7(e, t) { P("StringLiteralTypeAnnotation", e, t); } s(p7, "assertStringLiteralTypeAnnotation"); function d7(e, t) { P("StringTypeAnnotation", e, t); } s(d7, "assertStringTypeAnnotation"); function h7(e, t) { P("SymbolTypeAnnotation", e, t); } s(h7, "assertSymbolTypeAnnotation"); function m7(e, t) { P("ThisTypeAnnotation", e, t); } s(m7, "assertThisTypeAnnotation"); function y7(e, t) { P("TupleTypeAnnotation", e, t); } s(y7, "assertTupleTypeAnnotation"); function g7(e, t) { P("TypeofTypeAnnotation", e, t); } s(g7, "assertTypeofTypeAnnotation"); function b7(e, t) { P("TypeAlias", e, t); } s(b7, "assertTypeAlias"); function E7(e, t) { P("TypeAnnotation", e, t); } s(E7, "assertTypeAnnotation"); function v7(e, t) { P("TypeCastExpression", e, t); } s(v7, "assertTypeCastExpression"); function T7(e, t) { P("TypeParameter", e, t); } s(T7, "assertTypeParameter"); function x7(e, t) { P("TypeParameterDeclaration", e, t); } s(x7, "assertTypeParameterDeclaration"); function S7(e, t) { P("TypeParameterInstantiation", e, t); } s(S7, "assertTypeParameterInstantiation"); function P7(e, t) { P("UnionTypeAnnotation", e, t); } s(P7, "assertUnionTypeAnnotation"); function A7(e, t) { P("Variance", e, t); } s(A7, "assertVariance"); function C7(e, t) { P("VoidTypeAnnotation", e, t); } s(C7, "assertVoidTypeAnnotation"); function w7(e, t) { P("EnumDeclaration", e, t); } s(w7, "assertEnumDeclaration"); function D7(e, t) { P("EnumBooleanBody", e, t); } s(D7, "assertEnumBooleanBody"); function I7(e, t) { P("EnumNumberBody", e, t); } s(I7, "assertEnumNumberBody"); function _7(e, t) { P("EnumStringBody", e, t); } s(_7, "assertEnumStringBody"); function O7(e, t) { P("EnumSymbolBody", e, t); } s(O7, "assertEnumSymbolBody"); function N7(e, t) { P("EnumBooleanMember", e, t); } s(N7, "assertEnumBooleanMember"); function B7(e, t) { P("EnumNumberMember", e, t); } s(B7, "assertEnumNumberMember"); function k7(e, t) { P("EnumStringMember", e, t); } s(k7, "assertEnumStringMember"); function F7(e, t) { P("EnumDefaultedMember", e, t); } s(F7, "assertEnumDefaultedMember"); function j7(e, t) { P("IndexedAccessType", e, t); } s(j7, "assertIndexedAccessType"); function L7(e, t) { P("OptionalIndexedAccessType", e, t); } s(L7, "assertOptionalIndexedAccessType"); function M7(e, t) { P("JSXAttribute", e, t); } s(M7, "assertJSXAttribute"); function R7(e, t) { P("JSXClosingElement", e, t); } s(R7, "assertJSXClosingElement"); function q7(e, t) { P("JSXElement", e, t); } s(q7, "assertJSXElement"); function U7(e, t) { P("JSXEmptyExpression", e, t); } s(U7, "assertJSXEmptyExpression"); function V7(e, t) { P("JSXExpressionContainer", e, t); } s(V7, "assertJSXExpressionContainer"); function $7(e, t) { P("JSXSpreadChild", e, t); } s($7, "assertJSXSpreadChild"); function W7(e, t) { P("JSXIdentifier", e, t); } s(W7, "assertJSXIdentifier"); function K7(e, t) { P("JSXMemberExpression", e, t); } s(K7, "assertJSXMemberExpression"); function G7(e, t) { P("JSXNamespacedName", e, t); } s(G7, "assertJSXNamespacedName"); function H7(e, t) { P("JSXOpeningElement", e, t); } s(H7, "assertJSXOpeningElement"); function Y7(e, t) { P("JSXSpreadAttribute", e, t); } s(Y7, "assertJSXSpreadAttribute"); function z7(e, t) { P("JSXText", e, t); } s(z7, "assertJSXText"); function J7(e, t) { P("JSXFragment", e, t); } s(J7, "assertJSXFragment"); function X7(e, t) { P("JSXOpeningFragment", e, t); } s(X7, "assertJSXOpeningFragment"); function Q7(e, t) { P("JSXClosingFragment", e, t); } s(Q7, "assertJSXClosingFragment"); function Z7(e, t) { P("Noop", e, t); } s(Z7, "assertNoop"); function eq(e, t) { P("Placeholder", e, t); } s(eq, "assertPlaceholder"); function tq(e, t) { P("V8IntrinsicIdentifier", e, t); } s(tq, "assertV8IntrinsicIdentifier"); function rq(e, t) { P("ArgumentPlaceholder", e, t); } s(rq, "assertArgumentPlaceholder"); function nq(e, t) { P("BindExpression", e, t); } s(nq, "assertBindExpression"); function sq(e, t) { P("ImportAttribute", e, t); } s(sq, "assertImportAttribute"); function iq(e, t) { P("Decorator", e, t); } s(iq, "assertDecorator"); function aq(e, t) { P("DoExpression", e, t); } s(aq, "assertDoExpression"); function oq(e, t) { P("ExportDefaultSpecifier", e, t); } s(oq, "assertExportDefaultSpecifier"); function lq(e, t) { P("RecordExpression", e, t); } s(lq, "assertRecordExpression"); function uq(e, t) { P("TupleExpression", e, t); } s(uq, "assertTupleExpression"); function cq(e, t) { P("DecimalLiteral", e, t); } s(cq, "assertDecimalLiteral"); function fq(e, t) { P("ModuleExpression", e, t); } s(fq, "assertModuleExpression"); function pq(e, t) { P("TopicReference", e, t); } s(pq, "assertTopicReference"); function dq(e, t) { P("PipelineTopicExpression", e, t); } s(dq, "assertPipelineTopicExpression"); function hq(e, t) { P("PipelineBareFunction", e, t); } s(hq, "assertPipelineBareFunction"); function mq(e, t) { P("PipelinePrimaryTopicReference", e, t); } s(mq, "assertPipelinePrimaryTopicReference"); function yq(e, t) { P("TSParameterProperty", e, t); } s(yq, "assertTSParameterProperty"); function gq(e, t) { P("TSDeclareFunction", e, t); } s(gq, "assertTSDeclareFunction"); function bq(e, t) { P("TSDeclareMethod", e, t); } s(bq, "assertTSDeclareMethod"); function Eq(e, t) { P("TSQualifiedName", e, t); } s(Eq, "assertTSQualifiedName"); function vq(e, t) { P("TSCallSignatureDeclaration", e, t); } s(vq, "assertTSCallSignatureDeclaration"); function Tq(e, t) { P("TSConstructSignatureDeclaration", e, t); } s(Tq, "assertTSConstructSignatureDeclaration"); function xq(e, t) { P("TSPropertySignature", e, t); } s(xq, "assertTSPropertySignature"); function Sq(e, t) { P("TSMethodSignature", e, t); } s(Sq, "assertTSMethodSignature"); function Pq(e, t) { P("TSIndexSignature", e, t); } s(Pq, "assertTSIndexSignature"); function Aq(e, t) { P("TSAnyKeyword", e, t); } s(Aq, "assertTSAnyKeyword"); function Cq(e, t) { P("TSBooleanKeyword", e, t); } s(Cq, "assertTSBooleanKeyword"); function wq(e, t) { P("TSBigIntKeyword", e, t); } s(wq, "assertTSBigIntKeyword"); function Dq(e, t) { P("TSIntrinsicKeyword", e, t); } s(Dq, "assertTSIntrinsicKeyword"); function Iq(e, t) { P("TSNeverKeyword", e, t); } s(Iq, "assertTSNeverKeyword"); function _q(e, t) { P("TSNullKeyword", e, t); } s(_q, "assertTSNullKeyword"); function Oq(e, t) { P("TSNumberKeyword", e, t); } s(Oq, "assertTSNumberKeyword"); function Nq(e, t) { P("TSObjectKeyword", e, t); } s(Nq, "assertTSObjectKeyword"); function Bq(e, t) { P("TSStringKeyword", e, t); } s(Bq, "assertTSStringKeyword"); function kq(e, t) { P("TSSymbolKeyword", e, t); } s(kq, "assertTSSymbolKeyword"); function Fq(e, t) { P("TSUndefinedKeyword", e, t); } s(Fq, "assertTSUndefinedKeyword"); function jq(e, t) { P("TSUnknownKeyword", e, t); } s(jq, "assertTSUnknownKeyword"); function Lq(e, t) { P("TSVoidKeyword", e, t); } s(Lq, "assertTSVoidKeyword"); function Mq(e, t) { P("TSThisType", e, t); } s(Mq, "assertTSThisType"); function Rq(e, t) { P("TSFunctionType", e, t); } s(Rq, "assertTSFunctionType"); function qq(e, t) { P("TSConstructorType", e, t); } s(qq, "assertTSConstructorType"); function Uq(e, t) { P("TSTypeReference", e, t); } s(Uq, "assertTSTypeReference"); function Vq(e, t) { P("TSTypePredicate", e, t); } s(Vq, "assertTSTypePredicate"); function $q(e, t) { P("TSTypeQuery", e, t); } s($q, "assertTSTypeQuery"); function Wq(e, t) { P("TSTypeLiteral", e, t); } s(Wq, "assertTSTypeLiteral"); function Kq(e, t) { P("TSArrayType", e, t); } s(Kq, "assertTSArrayType"); function Gq(e, t) { P("TSTupleType", e, t); } s(Gq, "assertTSTupleType"); function Hq(e, t) { P("TSOptionalType", e, t); } s(Hq, "assertTSOptionalType"); function Yq(e, t) { P("TSRestType", e, t); } s(Yq, "assertTSRestType"); function zq(e, t) { P("TSNamedTupleMember", e, t); } s(zq, "assertTSNamedTupleMember"); function Jq(e, t) { P("TSUnionType", e, t); } s(Jq, "assertTSUnionType"); function Xq(e, t) { P("TSIntersectionType", e, t); } s(Xq, "assertTSIntersectionType"); function Qq(e, t) { P("TSConditionalType", e, t); } s(Qq, "assertTSConditionalType"); function Zq(e, t) { P("TSInferType", e, t); } s(Zq, "assertTSInferType"); function eU(e, t) { P("TSParenthesizedType", e, t); } s(eU, "assertTSParenthesizedType"); function tU(e, t) { P("TSTypeOperator", e, t); } s(tU, "assertTSTypeOperator"); function rU(e, t) { P("TSIndexedAccessType", e, t); } s(rU, "assertTSIndexedAccessType"); function nU(e, t) { P("TSMappedType", e, t); } s(nU, "assertTSMappedType"); function sU(e, t) { P("TSLiteralType", e, t); } s(sU, "assertTSLiteralType"); function iU(e, t) { P("TSExpressionWithTypeArguments", e, t); } s(iU, "assertTSExpressionWithTypeArguments"); function aU(e, t) { P("TSInterfaceDeclaration", e, t); } s(aU, "assertTSInterfaceDeclaration"); function oU(e, t) { P("TSInterfaceBody", e, t); } s(oU, "assertTSInterfaceBody"); function lU(e, t) { P("TSTypeAliasDeclaration", e, t); } s(lU, "assertTSTypeAliasDeclaration"); function uU(e, t) { P("TSInstantiationExpression", e, t); } s(uU, "assertTSInstantiationExpression"); function cU(e, t) { P("TSAsExpression", e, t); } s(cU, "assertTSAsExpression"); function fU(e, t) { P("TSSatisfiesExpression", e, t); } s(fU, "assertTSSatisfiesExpression"); function pU(e, t) { P("TSTypeAssertion", e, t); } s(pU, "assertTSTypeAssertion"); function dU(e, t) { P("TSEnumDeclaration", e, t); } s(dU, "assertTSEnumDeclaration"); function hU(e, t) { P("TSEnumMember", e, t); } s(hU, "assertTSEnumMember"); function mU(e, t) { P("TSModuleDeclaration", e, t); } s(mU, "assertTSModuleDeclaration"); function yU(e, t) { P("TSModuleBlock", e, t); } s(yU, "assertTSModuleBlock"); function gU(e, t) { P("TSImportType", e, t); } s(gU, "assertTSImportType"); function bU(e, t) { P("TSImportEqualsDeclaration", e, t); } s(bU, "assertTSImportEqualsDeclaration"); function EU(e, t) { P("TSExternalModuleReference", e, t); } s(EU, "assertTSExternalModuleReference"); function vU(e, t) { P("TSNonNullExpression", e, t); } s(vU, "assertTSNonNullExpression"); function TU(e, t) { P("TSExportAssignment", e, t); } s(TU, "assertTSExportAssignment"); function xU(e, t) { P("TSNamespaceExportDeclaration", e, t); } s(xU, "assertTSNamespaceExportDeclaration"); function SU(e, t) { P("TSTypeAnnotation", e, t); } s(SU, "assertTSTypeAnnotation"); function PU(e, t) { P("TSTypeParameterInstantiation", e, t); } s(PU, "assertTSTypeParameterInstantiation"); function AU(e, t) { P("TSTypeParameterDeclaration", e, t); } s(AU, "assertTSTypeParameterDeclaration"); function CU(e, t) { P("TSTypeParameter", e, t); } s(CU, "assertTSTypeParameter"); function wU(e, t) { P("Standardized", e, t); } s(wU, "assertStandardized"); function DU(e, t) { P("Expression", e, t); } s(DU, "assertExpression"); function IU(e, t) { P("Binary", e, t); } s(IU, "assertBinary"); function _U(e, t) { P("Scopable", e, t); } s(_U, "assertScopable"); function OU(e, t) { P("BlockParent", e, t); } s(OU, "assertBlockParent"); function NU(e, t) { P("Block", e, t); } s(NU, "assertBlock"); function BU(e, t) { P("Statement", e, t); } s(BU, "assertStatement"); function kU(e, t) { P("Terminatorless", e, t); } s(kU, "assertTerminatorless"); function FU(e, t) { P("CompletionStatement", e, t); } s(FU, "assertCompletionStatement"); function jU(e, t) { P("Conditional", e, t); } s(jU, "assertConditional"); function LU(e, t) { P("Loop", e, t); } s(LU, "assertLoop"); function MU(e, t) { P("While", e, t); } s(MU, "assertWhile"); function RU(e, t) { P("ExpressionWrapper", e, t); } s(RU, "assertExpressionWrapper"); function qU(e, t) { P("For", e, t); } s(qU, "assertFor"); function UU(e, t) { P("ForXStatement", e, t); } s(UU, "assertForXStatement"); function VU(e, t) { P("Function", e, t); } s(VU, "assertFunction"); function $U(e, t) { P("FunctionParent", e, t); } s($U, "assertFunctionParent"); function WU(e, t) { P("Pureish", e, t); } s(WU, "assertPureish"); function KU(e, t) { P("Declaration", e, t); } s(KU, "assertDeclaration"); function GU(e, t) { P("PatternLike", e, t); } s(GU, "assertPatternLike"); function HU(e, t) { P("LVal", e, t); } s(HU, "assertLVal"); function YU(e, t) { P("TSEntityName", e, t); } s(YU, "assertTSEntityName"); function zU(e, t) { P("Literal", e, t); } s(zU, "assertLiteral"); function JU(e, t) { P("Immutable", e, t); } s(JU, "assertImmutable"); function XU(e, t) { P("UserWhitespacable", e, t); } s(XU, "assertUserWhitespacable"); function QU(e, t) { P("Method", e, t); } s(QU, "assertMethod"); function ZU(e, t) { P("ObjectMember", e, t); } s(ZU, "assertObjectMember"); function eV(e, t) { P("Property", e, t); } s(eV, "assertProperty"); function tV(e, t) { P("UnaryLike", e, t); } s(tV, "assertUnaryLike"); function rV(e, t) { P("Pattern", e, t); } s(rV, "assertPattern"); function nV(e, t) { P("Class", e, t); } s(nV, "assertClass"); function sV(e, t) { P("ImportOrExportDeclaration", e, t); } s(sV, "assertImportOrExportDeclaration"); function iV(e, t) { P("ExportDeclaration", e, t); } s(iV, "assertExportDeclaration"); function aV(e, t) { P("ModuleSpecifier", e, t); } s(aV, "assertModuleSpecifier"); function oV(e, t) { P("Accessor", e, t); } s(oV, "assertAccessor"); function lV(e, t) { P("Private", e, t); } s(lV, "assertPrivate"); function uV(e, t) { P("Flow", e, t); } s(uV, "assertFlow"); function cV(e, t) { P("FlowType", e, t); } s(cV, "assertFlowType"); function fV(e, t) { P("FlowBaseAnnotation", e, t); } s(fV, "assertFlowBaseAnnotation"); function pV(e, t) { P("FlowDeclaration", e, t); } s(pV, "assertFlowDeclaration"); function dV(e, t) { P("FlowPredicate", e, t); } s(dV, "assertFlowPredicate"); function hV(e, t) { P("EnumBody", e, t); } s(hV, "assertEnumBody"); function mV(e, t) { P("EnumMember", e, t); } s(mV, "assertEnumMember"); function yV(e, t) { P("JSX", e, t); } s(yV, "assertJSX"); function gV(e, t) { P("Miscellaneous", e, t); } s(gV, "assertMiscellaneous"); function bV(e, t) { P("TypeScript", e, t); } s(bV, "assertTypeScript"); function EV(e, t) { P("TSTypeElement", e, t); } s(EV, "assertTSTypeElement"); function vV(e, t) { P("TSType", e, t); } s(vV, "assertTSType"); function TV(e, t) { P("TSBaseType", e, t); } s(TV, "assertTSBaseType"); function xV(e, t) { (0, ja.default)("assertNumberLiteral", "assertNumericLiteral"), P("NumberLiteral", e, t); } s(xV, "assertNumberLiteral"); function SV(e, t) { (0, ja.default)("assertRegexLiteral", "assertRegExpLiteral"), P("RegexLiteral", e, t); } s(SV, "assertRegexLiteral"); function PV(e, t) { (0, ja.default)("assertRestProperty", "assertRestElement"), P("RestProperty", e, t); } s(PV, "assertRestProperty"); function AV(e, t) { (0, ja.default)("assertSpreadProperty", "assertSpreadElement"), P("SpreadProperty", e, t); } s(AV, "assertSpreadProperty"); function CV(e, t) { (0, ja.default)("assertModuleDeclaration", "assertImportOrExportDeclaration"), P("ModuleDeclaration", e, t); } s(CV, "assertModuleDeclaration"); }); // ../node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js var VE = T((Pl) => { "use strict"; Object.defineProperty(Pl, "__esModule", { value: !0 }); Pl.default = void 0; var Vr = nr(), Ove = Pl.default = wV; function wV(e) { switch (e) { case "string": return (0, Vr.stringTypeAnnotation)(); case "number": return (0, Vr.numberTypeAnnotation)(); case "undefined": return (0, Vr.voidTypeAnnotation)(); case "boolean": return (0, Vr.booleanTypeAnnotation)(); case "function": return (0, Vr.genericTypeAnnotation)((0, Vr.identifier)("Function")); case "object": return (0, Vr.genericTypeAnnotation)((0, Vr.identifier)("Object")); case "symbol": return (0, Vr.genericTypeAnnotation)((0, Vr.identifier)("Symbol")); case "bigint": return (0, Vr.anyTypeAnnotation)(); } throw new Error("Invalid typeof value: " + e); } s(wV, "createTypeAnnotationBasedOnTypeof"); }); // ../node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js var kp = T((Bp) => { "use strict"; Object.defineProperty(Bp, "__esModule", { value: !0 }); Bp.default = WE; var La = vt(); function $E(e) { return (0, La.isIdentifier)(e) ? e.name : `${e.id.name}.${$E(e.qualification)}`; } s($E, "getQualifiedName"); function WE(e) { let t = Array.from(e), r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Set(), a = []; for (let o = 0; o < t.length; o++) { let l = t[o]; if (l && !a.includes(l)) { if ((0, La.isAnyTypeAnnotation)(l)) return [l]; if ((0, La.isFlowBaseAnnotation)(l)) { n.set(l.type, l); continue; } if ((0, La.isUnionTypeAnnotation)(l)) { i.has(l.types) || (t.push(...l.types), i.add(l.types)); continue; } if ((0, La.isGenericTypeAnnotation)(l)) { let u = $E(l.id); if (r.has(u)) { let c = r.get(u); c.typeParameters ? l.typeParameters && (c.typeParameters.params.push(...l.typeParameters.params), c.typeParameters.params = WE(c. typeParameters.params)) : c = l.typeParameters; } else r.set(u, l); continue; } a.push(l); } } for (let [, o] of n) a.push(o); for (let [, o] of r) a.push(o); return a; } s(WE, "removeTypeDuplicates"); }); // ../node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js var KE = T((Fp) => { "use strict"; Object.defineProperty(Fp, "__esModule", { value: !0 }); Fp.default = _V; var DV = nr(), IV = kp(); function _V(e) { let t = (0, IV.default)(e); return t.length === 1 ? t[0] : (0, DV.unionTypeAnnotation)(t); } s(_V, "createFlowUnionType"); }); // ../node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js var YE = T((jp) => { "use strict"; Object.defineProperty(jp, "__esModule", { value: !0 }); jp.default = HE; var Ma = vt(); function GE(e) { return (0, Ma.isIdentifier)(e) ? e.name : `${e.right.name}.${GE(e.left)}`; } s(GE, "getQualifiedName"); function HE(e) { let t = Array.from(e), r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Set(), a = []; for (let o = 0; o < t.length; o++) { let l = t[o]; if (l && !a.includes(l)) { if ((0, Ma.isTSAnyKeyword)(l)) return [l]; if ((0, Ma.isTSBaseType)(l)) { n.set(l.type, l); continue; } if ((0, Ma.isTSUnionType)(l)) { i.has(l.types) || (t.push(...l.types), i.add(l.types)); continue; } if ((0, Ma.isTSTypeReference)(l) && l.typeParameters) { let u = GE(l.typeName); if (r.has(u)) { let c = r.get(u); c.typeParameters ? l.typeParameters && (c.typeParameters.params.push(...l.typeParameters.params), c.typeParameters.params = HE(c. typeParameters.params)) : c = l.typeParameters; } else r.set(u, l); continue; } a.push(l); } } for (let [, o] of n) a.push(o); for (let [, o] of r) a.push(o); return a; } s(HE, "removeTypeDuplicates"); }); // ../node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js var zE = T((Lp) => { "use strict"; Object.defineProperty(Lp, "__esModule", { value: !0 }); Lp.default = kV; var OV = nr(), NV = YE(), BV = vt(); function kV(e) { let t = e.map((n) => (0, BV.isTSTypeAnnotation)(n) ? n.typeAnnotation : n), r = (0, NV.default)(t); return r.length === 1 ? r[0] : (0, OV.tsUnionType)(r); } s(kV, "createTSUnionType"); }); // ../node_modules/@babel/types/lib/builders/generated/uppercase.js var JE = T((w) => { "use strict"; Object.defineProperty(w, "__esModule", { value: !0 }); Object.defineProperty(w, "AnyTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.anyTypeAnnotation; }, "get") }); Object.defineProperty(w, "ArgumentPlaceholder", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.argumentPlaceholder; }, "get") }); Object.defineProperty(w, "ArrayExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.arrayExpression; }, "get") }); Object.defineProperty(w, "ArrayPattern", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.arrayPattern; }, "get") }); Object.defineProperty(w, "ArrayTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.arrayTypeAnnotation; }, "get") }); Object.defineProperty(w, "ArrowFunctionExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.arrowFunctionExpression; }, "get") }); Object.defineProperty(w, "AssignmentExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.assignmentExpression; }, "get") }); Object.defineProperty(w, "AssignmentPattern", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.assignmentPattern; }, "get") }); Object.defineProperty(w, "AwaitExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.awaitExpression; }, "get") }); Object.defineProperty(w, "BigIntLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.bigIntLiteral; }, "get") }); Object.defineProperty(w, "BinaryExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.binaryExpression; }, "get") }); Object.defineProperty(w, "BindExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.bindExpression; }, "get") }); Object.defineProperty(w, "BlockStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.blockStatement; }, "get") }); Object.defineProperty(w, "BooleanLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.booleanLiteral; }, "get") }); Object.defineProperty(w, "BooleanLiteralTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.booleanLiteralTypeAnnotation; }, "get") }); Object.defineProperty(w, "BooleanTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.booleanTypeAnnotation; }, "get") }); Object.defineProperty(w, "BreakStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.breakStatement; }, "get") }); Object.defineProperty(w, "CallExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.callExpression; }, "get") }); Object.defineProperty(w, "CatchClause", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.catchClause; }, "get") }); Object.defineProperty(w, "ClassAccessorProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.classAccessorProperty; }, "get") }); Object.defineProperty(w, "ClassBody", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.classBody; }, "get") }); Object.defineProperty(w, "ClassDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.classDeclaration; }, "get") }); Object.defineProperty(w, "ClassExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.classExpression; }, "get") }); Object.defineProperty(w, "ClassImplements", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.classImplements; }, "get") }); Object.defineProperty(w, "ClassMethod", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.classMethod; }, "get") }); Object.defineProperty(w, "ClassPrivateMethod", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.classPrivateMethod; }, "get") }); Object.defineProperty(w, "ClassPrivateProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.classPrivateProperty; }, "get") }); Object.defineProperty(w, "ClassProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.classProperty; }, "get") }); Object.defineProperty(w, "ConditionalExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.conditionalExpression; }, "get") }); Object.defineProperty(w, "ContinueStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.continueStatement; }, "get") }); Object.defineProperty(w, "DebuggerStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.debuggerStatement; }, "get") }); Object.defineProperty(w, "DecimalLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.decimalLiteral; }, "get") }); Object.defineProperty(w, "DeclareClass", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declareClass; }, "get") }); Object.defineProperty(w, "DeclareExportAllDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declareExportAllDeclaration; }, "get") }); Object.defineProperty(w, "DeclareExportDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declareExportDeclaration; }, "get") }); Object.defineProperty(w, "DeclareFunction", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declareFunction; }, "get") }); Object.defineProperty(w, "DeclareInterface", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declareInterface; }, "get") }); Object.defineProperty(w, "DeclareModule", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declareModule; }, "get") }); Object.defineProperty(w, "DeclareModuleExports", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declareModuleExports; }, "get") }); Object.defineProperty(w, "DeclareOpaqueType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declareOpaqueType; }, "get") }); Object.defineProperty(w, "DeclareTypeAlias", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declareTypeAlias; }, "get") }); Object.defineProperty(w, "DeclareVariable", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declareVariable; }, "get") }); Object.defineProperty(w, "DeclaredPredicate", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.declaredPredicate; }, "get") }); Object.defineProperty(w, "Decorator", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.decorator; }, "get") }); Object.defineProperty(w, "Directive", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.directive; }, "get") }); Object.defineProperty(w, "DirectiveLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.directiveLiteral; }, "get") }); Object.defineProperty(w, "DoExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.doExpression; }, "get") }); Object.defineProperty(w, "DoWhileStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.doWhileStatement; }, "get") }); Object.defineProperty(w, "EmptyStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.emptyStatement; }, "get") }); Object.defineProperty(w, "EmptyTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.emptyTypeAnnotation; }, "get") }); Object.defineProperty(w, "EnumBooleanBody", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.enumBooleanBody; }, "get") }); Object.defineProperty(w, "EnumBooleanMember", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.enumBooleanMember; }, "get") }); Object.defineProperty(w, "EnumDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.enumDeclaration; }, "get") }); Object.defineProperty(w, "EnumDefaultedMember", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.enumDefaultedMember; }, "get") }); Object.defineProperty(w, "EnumNumberBody", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.enumNumberBody; }, "get") }); Object.defineProperty(w, "EnumNumberMember", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.enumNumberMember; }, "get") }); Object.defineProperty(w, "EnumStringBody", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.enumStringBody; }, "get") }); Object.defineProperty(w, "EnumStringMember", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.enumStringMember; }, "get") }); Object.defineProperty(w, "EnumSymbolBody", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.enumSymbolBody; }, "get") }); Object.defineProperty(w, "ExistsTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.existsTypeAnnotation; }, "get") }); Object.defineProperty(w, "ExportAllDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.exportAllDeclaration; }, "get") }); Object.defineProperty(w, "ExportDefaultDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.exportDefaultDeclaration; }, "get") }); Object.defineProperty(w, "ExportDefaultSpecifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.exportDefaultSpecifier; }, "get") }); Object.defineProperty(w, "ExportNamedDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.exportNamedDeclaration; }, "get") }); Object.defineProperty(w, "ExportNamespaceSpecifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.exportNamespaceSpecifier; }, "get") }); Object.defineProperty(w, "ExportSpecifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.exportSpecifier; }, "get") }); Object.defineProperty(w, "ExpressionStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.expressionStatement; }, "get") }); Object.defineProperty(w, "File", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.file; }, "get") }); Object.defineProperty(w, "ForInStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.forInStatement; }, "get") }); Object.defineProperty(w, "ForOfStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.forOfStatement; }, "get") }); Object.defineProperty(w, "ForStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.forStatement; }, "get") }); Object.defineProperty(w, "FunctionDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.functionDeclaration; }, "get") }); Object.defineProperty(w, "FunctionExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.functionExpression; }, "get") }); Object.defineProperty(w, "FunctionTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.functionTypeAnnotation; }, "get") }); Object.defineProperty(w, "FunctionTypeParam", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.functionTypeParam; }, "get") }); Object.defineProperty(w, "GenericTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.genericTypeAnnotation; }, "get") }); Object.defineProperty(w, "Identifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.identifier; }, "get") }); Object.defineProperty(w, "IfStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.ifStatement; }, "get") }); Object.defineProperty(w, "Import", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.import; }, "get") }); Object.defineProperty(w, "ImportAttribute", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.importAttribute; }, "get") }); Object.defineProperty(w, "ImportDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.importDeclaration; }, "get") }); Object.defineProperty(w, "ImportDefaultSpecifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.importDefaultSpecifier; }, "get") }); Object.defineProperty(w, "ImportExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.importExpression; }, "get") }); Object.defineProperty(w, "ImportNamespaceSpecifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.importNamespaceSpecifier; }, "get") }); Object.defineProperty(w, "ImportSpecifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.importSpecifier; }, "get") }); Object.defineProperty(w, "IndexedAccessType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.indexedAccessType; }, "get") }); Object.defineProperty(w, "InferredPredicate", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.inferredPredicate; }, "get") }); Object.defineProperty(w, "InterfaceDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.interfaceDeclaration; }, "get") }); Object.defineProperty(w, "InterfaceExtends", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.interfaceExtends; }, "get") }); Object.defineProperty(w, "InterfaceTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.interfaceTypeAnnotation; }, "get") }); Object.defineProperty(w, "InterpreterDirective", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.interpreterDirective; }, "get") }); Object.defineProperty(w, "IntersectionTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.intersectionTypeAnnotation; }, "get") }); Object.defineProperty(w, "JSXAttribute", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxAttribute; }, "get") }); Object.defineProperty(w, "JSXClosingElement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxClosingElement; }, "get") }); Object.defineProperty(w, "JSXClosingFragment", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxClosingFragment; }, "get") }); Object.defineProperty(w, "JSXElement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxElement; }, "get") }); Object.defineProperty(w, "JSXEmptyExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxEmptyExpression; }, "get") }); Object.defineProperty(w, "JSXExpressionContainer", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxExpressionContainer; }, "get") }); Object.defineProperty(w, "JSXFragment", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxFragment; }, "get") }); Object.defineProperty(w, "JSXIdentifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxIdentifier; }, "get") }); Object.defineProperty(w, "JSXMemberExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxMemberExpression; }, "get") }); Object.defineProperty(w, "JSXNamespacedName", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxNamespacedName; }, "get") }); Object.defineProperty(w, "JSXOpeningElement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxOpeningElement; }, "get") }); Object.defineProperty(w, "JSXOpeningFragment", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxOpeningFragment; }, "get") }); Object.defineProperty(w, "JSXSpreadAttribute", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxSpreadAttribute; }, "get") }); Object.defineProperty(w, "JSXSpreadChild", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxSpreadChild; }, "get") }); Object.defineProperty(w, "JSXText", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.jsxText; }, "get") }); Object.defineProperty(w, "LabeledStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.labeledStatement; }, "get") }); Object.defineProperty(w, "LogicalExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.logicalExpression; }, "get") }); Object.defineProperty(w, "MemberExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.memberExpression; }, "get") }); Object.defineProperty(w, "MetaProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.metaProperty; }, "get") }); Object.defineProperty(w, "MixedTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.mixedTypeAnnotation; }, "get") }); Object.defineProperty(w, "ModuleExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.moduleExpression; }, "get") }); Object.defineProperty(w, "NewExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.newExpression; }, "get") }); Object.defineProperty(w, "Noop", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.noop; }, "get") }); Object.defineProperty(w, "NullLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.nullLiteral; }, "get") }); Object.defineProperty(w, "NullLiteralTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.nullLiteralTypeAnnotation; }, "get") }); Object.defineProperty(w, "NullableTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.nullableTypeAnnotation; }, "get") }); Object.defineProperty(w, "NumberLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.numberLiteral; }, "get") }); Object.defineProperty(w, "NumberLiteralTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.numberLiteralTypeAnnotation; }, "get") }); Object.defineProperty(w, "NumberTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.numberTypeAnnotation; }, "get") }); Object.defineProperty(w, "NumericLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.numericLiteral; }, "get") }); Object.defineProperty(w, "ObjectExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.objectExpression; }, "get") }); Object.defineProperty(w, "ObjectMethod", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.objectMethod; }, "get") }); Object.defineProperty(w, "ObjectPattern", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.objectPattern; }, "get") }); Object.defineProperty(w, "ObjectProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.objectProperty; }, "get") }); Object.defineProperty(w, "ObjectTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.objectTypeAnnotation; }, "get") }); Object.defineProperty(w, "ObjectTypeCallProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.objectTypeCallProperty; }, "get") }); Object.defineProperty(w, "ObjectTypeIndexer", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.objectTypeIndexer; }, "get") }); Object.defineProperty(w, "ObjectTypeInternalSlot", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.objectTypeInternalSlot; }, "get") }); Object.defineProperty(w, "ObjectTypeProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.objectTypeProperty; }, "get") }); Object.defineProperty(w, "ObjectTypeSpreadProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.objectTypeSpreadProperty; }, "get") }); Object.defineProperty(w, "OpaqueType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.opaqueType; }, "get") }); Object.defineProperty(w, "OptionalCallExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.optionalCallExpression; }, "get") }); Object.defineProperty(w, "OptionalIndexedAccessType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.optionalIndexedAccessType; }, "get") }); Object.defineProperty(w, "OptionalMemberExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.optionalMemberExpression; }, "get") }); Object.defineProperty(w, "ParenthesizedExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.parenthesizedExpression; }, "get") }); Object.defineProperty(w, "PipelineBareFunction", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.pipelineBareFunction; }, "get") }); Object.defineProperty(w, "PipelinePrimaryTopicReference", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.pipelinePrimaryTopicReference; }, "get") }); Object.defineProperty(w, "PipelineTopicExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.pipelineTopicExpression; }, "get") }); Object.defineProperty(w, "Placeholder", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.placeholder; }, "get") }); Object.defineProperty(w, "PrivateName", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.privateName; }, "get") }); Object.defineProperty(w, "Program", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.program; }, "get") }); Object.defineProperty(w, "QualifiedTypeIdentifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.qualifiedTypeIdentifier; }, "get") }); Object.defineProperty(w, "RecordExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.recordExpression; }, "get") }); Object.defineProperty(w, "RegExpLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.regExpLiteral; }, "get") }); Object.defineProperty(w, "RegexLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.regexLiteral; }, "get") }); Object.defineProperty(w, "RestElement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.restElement; }, "get") }); Object.defineProperty(w, "RestProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.restProperty; }, "get") }); Object.defineProperty(w, "ReturnStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.returnStatement; }, "get") }); Object.defineProperty(w, "SequenceExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.sequenceExpression; }, "get") }); Object.defineProperty(w, "SpreadElement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.spreadElement; }, "get") }); Object.defineProperty(w, "SpreadProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.spreadProperty; }, "get") }); Object.defineProperty(w, "StaticBlock", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.staticBlock; }, "get") }); Object.defineProperty(w, "StringLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.stringLiteral; }, "get") }); Object.defineProperty(w, "StringLiteralTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.stringLiteralTypeAnnotation; }, "get") }); Object.defineProperty(w, "StringTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.stringTypeAnnotation; }, "get") }); Object.defineProperty(w, "Super", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.super; }, "get") }); Object.defineProperty(w, "SwitchCase", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.switchCase; }, "get") }); Object.defineProperty(w, "SwitchStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.switchStatement; }, "get") }); Object.defineProperty(w, "SymbolTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.symbolTypeAnnotation; }, "get") }); Object.defineProperty(w, "TSAnyKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsAnyKeyword; }, "get") }); Object.defineProperty(w, "TSArrayType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsArrayType; }, "get") }); Object.defineProperty(w, "TSAsExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsAsExpression; }, "get") }); Object.defineProperty(w, "TSBigIntKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsBigIntKeyword; }, "get") }); Object.defineProperty(w, "TSBooleanKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsBooleanKeyword; }, "get") }); Object.defineProperty(w, "TSCallSignatureDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsCallSignatureDeclaration; }, "get") }); Object.defineProperty(w, "TSConditionalType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsConditionalType; }, "get") }); Object.defineProperty(w, "TSConstructSignatureDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsConstructSignatureDeclaration; }, "get") }); Object.defineProperty(w, "TSConstructorType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsConstructorType; }, "get") }); Object.defineProperty(w, "TSDeclareFunction", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsDeclareFunction; }, "get") }); Object.defineProperty(w, "TSDeclareMethod", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsDeclareMethod; }, "get") }); Object.defineProperty(w, "TSEnumDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsEnumDeclaration; }, "get") }); Object.defineProperty(w, "TSEnumMember", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsEnumMember; }, "get") }); Object.defineProperty(w, "TSExportAssignment", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsExportAssignment; }, "get") }); Object.defineProperty(w, "TSExpressionWithTypeArguments", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsExpressionWithTypeArguments; }, "get") }); Object.defineProperty(w, "TSExternalModuleReference", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsExternalModuleReference; }, "get") }); Object.defineProperty(w, "TSFunctionType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsFunctionType; }, "get") }); Object.defineProperty(w, "TSImportEqualsDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsImportEqualsDeclaration; }, "get") }); Object.defineProperty(w, "TSImportType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsImportType; }, "get") }); Object.defineProperty(w, "TSIndexSignature", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsIndexSignature; }, "get") }); Object.defineProperty(w, "TSIndexedAccessType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsIndexedAccessType; }, "get") }); Object.defineProperty(w, "TSInferType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsInferType; }, "get") }); Object.defineProperty(w, "TSInstantiationExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsInstantiationExpression; }, "get") }); Object.defineProperty(w, "TSInterfaceBody", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsInterfaceBody; }, "get") }); Object.defineProperty(w, "TSInterfaceDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsInterfaceDeclaration; }, "get") }); Object.defineProperty(w, "TSIntersectionType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsIntersectionType; }, "get") }); Object.defineProperty(w, "TSIntrinsicKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsIntrinsicKeyword; }, "get") }); Object.defineProperty(w, "TSLiteralType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsLiteralType; }, "get") }); Object.defineProperty(w, "TSMappedType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsMappedType; }, "get") }); Object.defineProperty(w, "TSMethodSignature", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsMethodSignature; }, "get") }); Object.defineProperty(w, "TSModuleBlock", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsModuleBlock; }, "get") }); Object.defineProperty(w, "TSModuleDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsModuleDeclaration; }, "get") }); Object.defineProperty(w, "TSNamedTupleMember", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsNamedTupleMember; }, "get") }); Object.defineProperty(w, "TSNamespaceExportDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsNamespaceExportDeclaration; }, "get") }); Object.defineProperty(w, "TSNeverKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsNeverKeyword; }, "get") }); Object.defineProperty(w, "TSNonNullExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsNonNullExpression; }, "get") }); Object.defineProperty(w, "TSNullKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsNullKeyword; }, "get") }); Object.defineProperty(w, "TSNumberKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsNumberKeyword; }, "get") }); Object.defineProperty(w, "TSObjectKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsObjectKeyword; }, "get") }); Object.defineProperty(w, "TSOptionalType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsOptionalType; }, "get") }); Object.defineProperty(w, "TSParameterProperty", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsParameterProperty; }, "get") }); Object.defineProperty(w, "TSParenthesizedType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsParenthesizedType; }, "get") }); Object.defineProperty(w, "TSPropertySignature", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsPropertySignature; }, "get") }); Object.defineProperty(w, "TSQualifiedName", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsQualifiedName; }, "get") }); Object.defineProperty(w, "TSRestType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsRestType; }, "get") }); Object.defineProperty(w, "TSSatisfiesExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsSatisfiesExpression; }, "get") }); Object.defineProperty(w, "TSStringKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsStringKeyword; }, "get") }); Object.defineProperty(w, "TSSymbolKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsSymbolKeyword; }, "get") }); Object.defineProperty(w, "TSThisType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsThisType; }, "get") }); Object.defineProperty(w, "TSTupleType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTupleType; }, "get") }); Object.defineProperty(w, "TSTypeAliasDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypeAliasDeclaration; }, "get") }); Object.defineProperty(w, "TSTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypeAnnotation; }, "get") }); Object.defineProperty(w, "TSTypeAssertion", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypeAssertion; }, "get") }); Object.defineProperty(w, "TSTypeLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypeLiteral; }, "get") }); Object.defineProperty(w, "TSTypeOperator", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypeOperator; }, "get") }); Object.defineProperty(w, "TSTypeParameter", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypeParameter; }, "get") }); Object.defineProperty(w, "TSTypeParameterDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypeParameterDeclaration; }, "get") }); Object.defineProperty(w, "TSTypeParameterInstantiation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypeParameterInstantiation; }, "get") }); Object.defineProperty(w, "TSTypePredicate", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypePredicate; }, "get") }); Object.defineProperty(w, "TSTypeQuery", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypeQuery; }, "get") }); Object.defineProperty(w, "TSTypeReference", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsTypeReference; }, "get") }); Object.defineProperty(w, "TSUndefinedKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsUndefinedKeyword; }, "get") }); Object.defineProperty(w, "TSUnionType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsUnionType; }, "get") }); Object.defineProperty(w, "TSUnknownKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsUnknownKeyword; }, "get") }); Object.defineProperty(w, "TSVoidKeyword", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tsVoidKeyword; }, "get") }); Object.defineProperty(w, "TaggedTemplateExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.taggedTemplateExpression; }, "get") }); Object.defineProperty(w, "TemplateElement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.templateElement; }, "get") }); Object.defineProperty(w, "TemplateLiteral", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.templateLiteral; }, "get") }); Object.defineProperty(w, "ThisExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.thisExpression; }, "get") }); Object.defineProperty(w, "ThisTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.thisTypeAnnotation; }, "get") }); Object.defineProperty(w, "ThrowStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.throwStatement; }, "get") }); Object.defineProperty(w, "TopicReference", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.topicReference; }, "get") }); Object.defineProperty(w, "TryStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tryStatement; }, "get") }); Object.defineProperty(w, "TupleExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tupleExpression; }, "get") }); Object.defineProperty(w, "TupleTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.tupleTypeAnnotation; }, "get") }); Object.defineProperty(w, "TypeAlias", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.typeAlias; }, "get") }); Object.defineProperty(w, "TypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.typeAnnotation; }, "get") }); Object.defineProperty(w, "TypeCastExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.typeCastExpression; }, "get") }); Object.defineProperty(w, "TypeParameter", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.typeParameter; }, "get") }); Object.defineProperty(w, "TypeParameterDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.typeParameterDeclaration; }, "get") }); Object.defineProperty(w, "TypeParameterInstantiation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.typeParameterInstantiation; }, "get") }); Object.defineProperty(w, "TypeofTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.typeofTypeAnnotation; }, "get") }); Object.defineProperty(w, "UnaryExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.unaryExpression; }, "get") }); Object.defineProperty(w, "UnionTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.unionTypeAnnotation; }, "get") }); Object.defineProperty(w, "UpdateExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.updateExpression; }, "get") }); Object.defineProperty(w, "V8IntrinsicIdentifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.v8IntrinsicIdentifier; }, "get") }); Object.defineProperty(w, "VariableDeclaration", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.variableDeclaration; }, "get") }); Object.defineProperty(w, "VariableDeclarator", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.variableDeclarator; }, "get") }); Object.defineProperty(w, "Variance", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.variance; }, "get") }); Object.defineProperty(w, "VoidTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.voidTypeAnnotation; }, "get") }); Object.defineProperty(w, "WhileStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.whileStatement; }, "get") }); Object.defineProperty(w, "WithStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.withStatement; }, "get") }); Object.defineProperty(w, "YieldExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return D.yieldExpression; }, "get") }); var D = nr(); }); // ../node_modules/@babel/types/lib/builders/productions.js var Rp = T((Mp) => { "use strict"; Object.defineProperty(Mp, "__esModule", { value: !0 }); Mp.buildUndefinedNode = FV; var XE = nr(); function FV() { return (0, XE.unaryExpression)("void", (0, XE.numericLiteral)(0), !0); } s(FV, "buildUndefinedNode"); }); // ../node_modules/@babel/types/lib/clone/cloneNode.js var Zn = T((Up) => { "use strict"; Object.defineProperty(Up, "__esModule", { value: !0 }); Up.default = jV; var QE = Ar(), ZE = vt(), { hasOwn: ln } = { hasOwn: Function.call.bind(Object.prototype.hasOwnProperty) }; function ev(e, t, r, n) { return e && typeof e.type == "string" ? tv(e, t, r, n) : e; } s(ev, "cloneIfNode"); function qp(e, t, r, n) { return Array.isArray(e) ? e.map((i) => ev(i, t, r, n)) : ev(e, t, r, n); } s(qp, "cloneIfNodeOrArray"); function jV(e, t = !0, r = !1) { return tv(e, t, r, /* @__PURE__ */ new Map()); } s(jV, "cloneNode"); function tv(e, t = !0, r = !1, n) { if (!e) return e; let { type: i } = e, a = { type: e.type }; if ((0, ZE.isIdentifier)(e)) a.name = e.name, ln(e, "optional") && typeof e.optional == "boolean" && (a.optional = e.optional), ln(e, "typeAnnotation") && (a.typeAnnotation = t ? qp(e.typeAnnotation, !0, r, n) : e.typeAnnotation), ln(e, "decorators") && (a.decorators = t ? qp(e.decorators, !0, r, n) : e.decorators); else if (ln(QE.NODE_FIELDS, i)) for (let o of Object.keys(QE.NODE_FIELDS[i])) ln(e, o) && (t ? a[o] = (0, ZE.isFile)(e) && o === "comments" ? Al(e.comments, t, r, n) : qp(e[o], !0, r, n) : a[o] = e[o]); else throw new Error(`Unknown node type: "${i}"`); return ln(e, "loc") && (r ? a.loc = null : a.loc = e.loc), ln(e, "leadingComments") && (a.leadingComments = Al(e.leadingComments, t, r, n)), ln(e, "innerComments") && (a.innerComments = Al(e.innerComments, t, r, n)), ln(e, "trailingComments") && (a.trailingComments = Al(e.trailingComments, t, r, n)), ln(e, "extra") && (a.extra = Object.assign({}, e.extra)), a; } s(tv, "cloneNodeInternal"); function Al(e, t, r, n) { return !e || !t ? e : e.map((i) => { let a = n.get(i); if (a) return a; let { type: o, value: l, loc: u } = i, c = { type: o, value: l, loc: u }; return r && (c.loc = null), n.set(i, c), c; }); } s(Al, "maybeCloneComments"); }); // ../node_modules/@babel/types/lib/clone/clone.js var rv = T((Vp) => { "use strict"; Object.defineProperty(Vp, "__esModule", { value: !0 }); Vp.default = MV; var LV = Zn(); function MV(e) { return (0, LV.default)(e, !1); } s(MV, "clone"); }); // ../node_modules/@babel/types/lib/clone/cloneDeep.js var nv = T(($p) => { "use strict"; Object.defineProperty($p, "__esModule", { value: !0 }); $p.default = qV; var RV = Zn(); function qV(e) { return (0, RV.default)(e); } s(qV, "cloneDeep"); }); // ../node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js var sv = T((Wp) => { "use strict"; Object.defineProperty(Wp, "__esModule", { value: !0 }); Wp.default = VV; var UV = Zn(); function VV(e) { return (0, UV.default)(e, !0, !0); } s(VV, "cloneDeepWithoutLoc"); }); // ../node_modules/@babel/types/lib/clone/cloneWithoutLoc.js var iv = T((Kp) => { "use strict"; Object.defineProperty(Kp, "__esModule", { value: !0 }); Kp.default = WV; var $V = Zn(); function WV(e) { return (0, $V.default)(e, !1, !0); } s(WV, "cloneWithoutLoc"); }); // ../node_modules/@babel/types/lib/comments/addComments.js var Hp = T((Gp) => { "use strict"; Object.defineProperty(Gp, "__esModule", { value: !0 }); Gp.default = KV; function KV(e, t, r) { if (!r || !e) return e; let n = `${t}Comments`; return e[n] ? t === "leading" ? e[n] = r.concat(e[n]) : e[n].push(...r) : e[n] = r, e; } s(KV, "addComments"); }); // ../node_modules/@babel/types/lib/comments/addComment.js var av = T((Yp) => { "use strict"; Object.defineProperty(Yp, "__esModule", { value: !0 }); Yp.default = HV; var GV = Hp(); function HV(e, t, r, n) { return (0, GV.default)(e, t, [{ type: n ? "CommentLine" : "CommentBlock", value: r }]); } s(HV, "addComment"); }); // ../node_modules/@babel/types/lib/utils/inherit.js var Cl = T((zp) => { "use strict"; Object.defineProperty(zp, "__esModule", { value: !0 }); zp.default = YV; function YV(e, t, r) { t && r && (t[e] = Array.from(new Set([].concat(t[e], r[e]).filter(Boolean)))); } s(YV, "inherit"); }); // ../node_modules/@babel/types/lib/comments/inheritInnerComments.js var Xp = T((Jp) => { "use strict"; Object.defineProperty(Jp, "__esModule", { value: !0 }); Jp.default = JV; var zV = Cl(); function JV(e, t) { (0, zV.default)("innerComments", e, t); } s(JV, "inheritInnerComments"); }); // ../node_modules/@babel/types/lib/comments/inheritLeadingComments.js var Zp = T((Qp) => { "use strict"; Object.defineProperty(Qp, "__esModule", { value: !0 }); Qp.default = QV; var XV = Cl(); function QV(e, t) { (0, XV.default)("leadingComments", e, t); } s(QV, "inheritLeadingComments"); }); // ../node_modules/@babel/types/lib/comments/inheritTrailingComments.js var td = T((ed) => { "use strict"; Object.defineProperty(ed, "__esModule", { value: !0 }); ed.default = e$; var ZV = Cl(); function e$(e, t) { (0, ZV.default)("trailingComments", e, t); } s(e$, "inheritTrailingComments"); }); // ../node_modules/@babel/types/lib/comments/inheritsComments.js var nd = T((rd) => { "use strict"; Object.defineProperty(rd, "__esModule", { value: !0 }); rd.default = s$; var t$ = td(), r$ = Zp(), n$ = Xp(); function s$(e, t) { return (0, t$.default)(e, t), (0, r$.default)(e, t), (0, n$.default)(e, t), e; } s(s$, "inheritsComments"); }); // ../node_modules/@babel/types/lib/comments/removeComments.js var ov = T((sd) => { "use strict"; Object.defineProperty(sd, "__esModule", { value: !0 }); sd.default = a$; var i$ = Jn(); function a$(e) { return i$.COMMENT_KEYS.forEach((t) => { e[t] = null; }), e; } s(a$, "removeComments"); }); // ../node_modules/@babel/types/lib/constants/generated/index.js var lv = T((z) => { "use strict"; Object.defineProperty(z, "__esModule", { value: !0 }); z.WHILE_TYPES = z.USERWHITESPACABLE_TYPES = z.UNARYLIKE_TYPES = z.TYPESCRIPT_TYPES = z.TSTYPE_TYPES = z.TSTYPEELEMENT_TYPES = z.TSENTITYNAME_TYPES = z.TSBASETYPE_TYPES = z.TERMINATORLESS_TYPES = z.STATEMENT_TYPES = z.STANDARDIZED_TYPES = z.SCOPABLE_TYPES = z.PUREISH_TYPES = z.PROPERTY_TYPES = z.PRIVATE_TYPES = z.PATTERN_TYPES = z.PATTERNLIKE_TYPES = z.OBJECTMEMBER_TYPES = z.MODULESPECIFIER_TYPES = z.MODULEDECLARATION_TYPES = z.MISCELLANEOUS_TYPES = z.METHOD_TYPES = z.LVAL_TYPES = z.LOOP_TYPES = z.LITERAL_TYPES = z.JSX_TYPES = z.IMPORTOREXPORTDECLARATION_TYPES = z.IMMUTABLE_TYPES = z.FUNCTION_TYPES = z.FUNCTIONPARENT_TYPES = z.FOR_TYPES = z.FORXSTATEMENT_TYPES = z.FLOW_TYPES = z.FLOWTYPE_TYPES = z.FLOWPREDICATE_TYPES = z.FLOWDECLARATION_TYPES = z.FLOWBASEANNOTATION_TYPES = z.EXPRESSION_TYPES = z.EXPRESSIONWRAPPER_TYPES = z.EXPORTDECLARATION_TYPES = z.ENUMMEMBER_TYPES = z.ENUMBODY_TYPES = z.DECLARATION_TYPES = z.CONDITIONAL_TYPES = z.COMPLETIONSTATEMENT_TYPES = z.CLASS_TYPES = z.BLOCK_TYPES = z.BLOCKPARENT_TYPES = z.BINARY_TYPES = z.ACCESSOR_TYPES = void 0; var Ie = Ar(), bTe = z.STANDARDIZED_TYPES = Ie.FLIPPED_ALIAS_KEYS.Standardized, ETe = z.EXPRESSION_TYPES = Ie.FLIPPED_ALIAS_KEYS.Expression, vTe = z.BINARY_TYPES = Ie.FLIPPED_ALIAS_KEYS.Binary, TTe = z.SCOPABLE_TYPES = Ie.FLIPPED_ALIAS_KEYS.Scopable, xTe = z.BLOCKPARENT_TYPES = Ie. FLIPPED_ALIAS_KEYS.BlockParent, STe = z.BLOCK_TYPES = Ie.FLIPPED_ALIAS_KEYS.Block, PTe = z.STATEMENT_TYPES = Ie.FLIPPED_ALIAS_KEYS.Statement, ATe = z.TERMINATORLESS_TYPES = Ie.FLIPPED_ALIAS_KEYS.Terminatorless, CTe = z.COMPLETIONSTATEMENT_TYPES = Ie.FLIPPED_ALIAS_KEYS.CompletionStatement, wTe = z.CONDITIONAL_TYPES = Ie.FLIPPED_ALIAS_KEYS.Conditional, DTe = z.LOOP_TYPES = Ie.FLIPPED_ALIAS_KEYS.Loop, ITe = z.WHILE_TYPES = Ie.FLIPPED_ALIAS_KEYS. While, _Te = z.EXPRESSIONWRAPPER_TYPES = Ie.FLIPPED_ALIAS_KEYS.ExpressionWrapper, OTe = z.FOR_TYPES = Ie.FLIPPED_ALIAS_KEYS.For, NTe = z.FORXSTATEMENT_TYPES = Ie.FLIPPED_ALIAS_KEYS.ForXStatement, BTe = z.FUNCTION_TYPES = Ie.FLIPPED_ALIAS_KEYS.Function, kTe = z.FUNCTIONPARENT_TYPES = Ie.FLIPPED_ALIAS_KEYS. FunctionParent, FTe = z.PUREISH_TYPES = Ie.FLIPPED_ALIAS_KEYS.Pureish, jTe = z.DECLARATION_TYPES = Ie.FLIPPED_ALIAS_KEYS.Declaration, LTe = z. PATTERNLIKE_TYPES = Ie.FLIPPED_ALIAS_KEYS.PatternLike, MTe = z.LVAL_TYPES = Ie.FLIPPED_ALIAS_KEYS.LVal, RTe = z.TSENTITYNAME_TYPES = Ie.FLIPPED_ALIAS_KEYS. TSEntityName, qTe = z.LITERAL_TYPES = Ie.FLIPPED_ALIAS_KEYS.Literal, UTe = z.IMMUTABLE_TYPES = Ie.FLIPPED_ALIAS_KEYS.Immutable, VTe = z.USERWHITESPACABLE_TYPES = Ie.FLIPPED_ALIAS_KEYS.UserWhitespacable, $Te = z.METHOD_TYPES = Ie.FLIPPED_ALIAS_KEYS.Method, WTe = z.OBJECTMEMBER_TYPES = Ie.FLIPPED_ALIAS_KEYS. ObjectMember, KTe = z.PROPERTY_TYPES = Ie.FLIPPED_ALIAS_KEYS.Property, GTe = z.UNARYLIKE_TYPES = Ie.FLIPPED_ALIAS_KEYS.UnaryLike, HTe = z. PATTERN_TYPES = Ie.FLIPPED_ALIAS_KEYS.Pattern, YTe = z.CLASS_TYPES = Ie.FLIPPED_ALIAS_KEYS.Class, o$ = z.IMPORTOREXPORTDECLARATION_TYPES = Ie.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration, zTe = z.EXPORTDECLARATION_TYPES = Ie.FLIPPED_ALIAS_KEYS.ExportDeclaration, JTe = z.MODULESPECIFIER_TYPES = Ie.FLIPPED_ALIAS_KEYS.ModuleSpecifier, XTe = z.ACCESSOR_TYPES = Ie.FLIPPED_ALIAS_KEYS.Accessor, QTe = z.PRIVATE_TYPES = Ie.FLIPPED_ALIAS_KEYS. Private, ZTe = z.FLOW_TYPES = Ie.FLIPPED_ALIAS_KEYS.Flow, exe = z.FLOWTYPE_TYPES = Ie.FLIPPED_ALIAS_KEYS.FlowType, txe = z.FLOWBASEANNOTATION_TYPES = Ie.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation, rxe = z.FLOWDECLARATION_TYPES = Ie.FLIPPED_ALIAS_KEYS.FlowDeclaration, nxe = z.FLOWPREDICATE_TYPES = Ie.FLIPPED_ALIAS_KEYS.FlowPredicate, sxe = z.ENUMBODY_TYPES = Ie.FLIPPED_ALIAS_KEYS.EnumBody, ixe = z.ENUMMEMBER_TYPES = Ie.FLIPPED_ALIAS_KEYS. EnumMember, axe = z.JSX_TYPES = Ie.FLIPPED_ALIAS_KEYS.JSX, oxe = z.MISCELLANEOUS_TYPES = Ie.FLIPPED_ALIAS_KEYS.Miscellaneous, lxe = z.TYPESCRIPT_TYPES = Ie.FLIPPED_ALIAS_KEYS.TypeScript, uxe = z.TSTYPEELEMENT_TYPES = Ie.FLIPPED_ALIAS_KEYS.TSTypeElement, cxe = z.TSTYPE_TYPES = Ie.FLIPPED_ALIAS_KEYS. TSType, fxe = z.TSBASETYPE_TYPES = Ie.FLIPPED_ALIAS_KEYS.TSBaseType, pxe = z.MODULEDECLARATION_TYPES = o$; }); // ../node_modules/@babel/types/lib/converters/toBlock.js var od = T((ad) => { "use strict"; Object.defineProperty(ad, "__esModule", { value: !0 }); ad.default = l$; var wl = vt(), id = nr(); function l$(e, t) { if ((0, wl.isBlockStatement)(e)) return e; let r = []; return (0, wl.isEmptyStatement)(e) ? r = [] : ((0, wl.isStatement)(e) || ((0, wl.isFunction)(t) ? e = (0, id.returnStatement)(e) : e = (0, id. expressionStatement)(e)), r = [e]), (0, id.blockStatement)(r); } s(l$, "toBlock"); }); // ../node_modules/@babel/types/lib/converters/ensureBlock.js var uv = T((ld) => { "use strict"; Object.defineProperty(ld, "__esModule", { value: !0 }); ld.default = c$; var u$ = od(); function c$(e, t = "body") { let r = (0, u$.default)(e[t], e); return e[t] = r, r; } s(c$, "ensureBlock"); }); // ../node_modules/@babel/types/lib/converters/toIdentifier.js var cd = T((ud) => { "use strict"; Object.defineProperty(ud, "__esModule", { value: !0 }); ud.default = d$; var f$ = gi(), p$ = yi(); function d$(e) { e = e + ""; let t = ""; for (let r of e) t += (0, p$.isIdentifierChar)(r.codePointAt(0)) ? r : "-"; return t = t.replace(/^[-0-9]+/, ""), t = t.replace(/[-\s]+(.)?/g, function(r, n) { return n ? n.toUpperCase() : ""; }), (0, f$.default)(t) || (t = `_${t}`), t || "_"; } s(d$, "toIdentifier"); }); // ../node_modules/@babel/types/lib/converters/toBindingIdentifierName.js var cv = T((fd) => { "use strict"; Object.defineProperty(fd, "__esModule", { value: !0 }); fd.default = m$; var h$ = cd(); function m$(e) { return e = (0, h$.default)(e), (e === "eval" || e === "arguments") && (e = "_" + e), e; } s(m$, "toBindingIdentifierName"); }); // ../node_modules/@babel/types/lib/converters/toComputedKey.js var fv = T((pd) => { "use strict"; Object.defineProperty(pd, "__esModule", { value: !0 }); pd.default = b$; var y$ = vt(), g$ = nr(); function b$(e, t = e.key || e.property) { return !e.computed && (0, y$.isIdentifier)(t) && (t = (0, g$.stringLiteral)(t.name)), t; } s(b$, "toComputedKey"); }); // ../node_modules/@babel/types/lib/converters/toExpression.js var pv = T((Dl) => { "use strict"; Object.defineProperty(Dl, "__esModule", { value: !0 }); Dl.default = void 0; var Ra = vt(), Pxe = Dl.default = E$; function E$(e) { if ((0, Ra.isExpressionStatement)(e) && (e = e.expression), (0, Ra.isExpression)(e)) return e; if ((0, Ra.isClass)(e) ? e.type = "ClassExpression" : (0, Ra.isFunction)(e) && (e.type = "FunctionExpression"), !(0, Ra.isExpression)(e)) throw new Error(`cannot turn ${e.type} to an expression`); return e; } s(E$, "toExpression"); }); // ../node_modules/@babel/types/lib/traverse/traverseFast.js var md = T((hd) => { "use strict"; Object.defineProperty(hd, "__esModule", { value: !0 }); hd.default = dd; var v$ = Ar(); function dd(e, t, r) { if (!e) return; let n = v$.VISITOR_KEYS[e.type]; if (n) { r = r || {}, t(e, r); for (let i of n) { let a = e[i]; if (Array.isArray(a)) for (let o of a) dd(o, t, r); else dd(a, t, r); } } } s(dd, "traverseFast"); }); // ../node_modules/@babel/types/lib/modifications/removeProperties.js var gd = T((yd) => { "use strict"; Object.defineProperty(yd, "__esModule", { value: !0 }); yd.default = S$; var T$ = Jn(), dv = ["tokens", "start", "end", "loc", "raw", "rawValue"], x$ = [...T$.COMMENT_KEYS, "comments", ...dv]; function S$(e, t = {}) { let r = t.preserveComments ? dv : x$; for (let i of r) e[i] != null && (e[i] = void 0); for (let i of Object.keys(e)) i[0] === "_" && e[i] != null && (e[i] = void 0); let n = Object.getOwnPropertySymbols(e); for (let i of n) e[i] = null; } s(S$, "removeProperties"); }); // ../node_modules/@babel/types/lib/modifications/removePropertiesDeep.js var Ed = T((bd) => { "use strict"; Object.defineProperty(bd, "__esModule", { value: !0 }); bd.default = C$; var P$ = md(), A$ = gd(); function C$(e, t) { return (0, P$.default)(e, A$.default, t), e; } s(C$, "removePropertiesDeep"); }); // ../node_modules/@babel/types/lib/converters/toKeyAlias.js var mv = T((vd) => { "use strict"; Object.defineProperty(vd, "__esModule", { value: !0 }); vd.default = Os; var hv = vt(), w$ = Zn(), D$ = Ed(); function Os(e, t = e.key) { let r; return e.kind === "method" ? Os.increment() + "" : ((0, hv.isIdentifier)(t) ? r = t.name : (0, hv.isStringLiteral)(t) ? r = JSON.stringify( t.value) : r = JSON.stringify((0, D$.default)((0, w$.default)(t))), e.computed && (r = `[${r}]`), e.static && (r = `static:${r}`), r); } s(Os, "toKeyAlias"); Os.uid = 0; Os.increment = function() { return Os.uid >= Number.MAX_SAFE_INTEGER ? Os.uid = 0 : Os.uid++; }; }); // ../node_modules/@babel/types/lib/converters/toStatement.js var yv = T((_l) => { "use strict"; Object.defineProperty(_l, "__esModule", { value: !0 }); _l.default = void 0; var Il = vt(), I$ = nr(), Fxe = _l.default = _$; function _$(e, t) { if ((0, Il.isStatement)(e)) return e; let r = !1, n; if ((0, Il.isClass)(e)) r = !0, n = "ClassDeclaration"; else if ((0, Il.isFunction)(e)) r = !0, n = "FunctionDeclaration"; else if ((0, Il.isAssignmentExpression)(e)) return (0, I$.expressionStatement)(e); if (r && !e.id && (n = !1), !n) { if (t) return !1; throw new Error(`cannot turn ${e.type} to a statement`); } return e.type = n, e; } s(_$, "toStatement"); }); // ../node_modules/@babel/types/lib/converters/valueToNode.js var gv = T((Ol) => { "use strict"; Object.defineProperty(Ol, "__esModule", { value: !0 }); Ol.default = void 0; var O$ = gi(), Gt = nr(), Mxe = Ol.default = Td, N$ = Function.call.bind(Object.prototype.toString); function B$(e) { return N$(e) === "[object RegExp]"; } s(B$, "isRegExp"); function k$(e) { if (typeof e != "object" || e === null || Object.prototype.toString.call(e) !== "[object Object]") return !1; let t = Object.getPrototypeOf(e); return t === null || Object.getPrototypeOf(t) === null; } s(k$, "isPlainObject"); function Td(e) { if (e === void 0) return (0, Gt.identifier)("undefined"); if (e === !0 || e === !1) return (0, Gt.booleanLiteral)(e); if (e === null) return (0, Gt.nullLiteral)(); if (typeof e == "string") return (0, Gt.stringLiteral)(e); if (typeof e == "number") { let t; if (Number.isFinite(e)) t = (0, Gt.numericLiteral)(Math.abs(e)); else { let r; Number.isNaN(e) ? r = (0, Gt.numericLiteral)(0) : r = (0, Gt.numericLiteral)(1), t = (0, Gt.binaryExpression)("/", r, (0, Gt.numericLiteral)( 0)); } return (e < 0 || Object.is(e, -0)) && (t = (0, Gt.unaryExpression)("-", t)), t; } if (B$(e)) { let t = e.source, r = /\/([a-z]*)$/.exec(e.toString())[1]; return (0, Gt.regExpLiteral)(t, r); } if (Array.isArray(e)) return (0, Gt.arrayExpression)(e.map(Td)); if (k$(e)) { let t = []; for (let r of Object.keys(e)) { let n; (0, O$.default)(r) ? n = (0, Gt.identifier)(r) : n = (0, Gt.stringLiteral)(r), t.push((0, Gt.objectProperty)(n, Td(e[r]))); } return (0, Gt.objectExpression)(t); } throw new Error("don't know how to turn this value into a node"); } s(Td, "valueToNode"); }); // ../node_modules/@babel/types/lib/modifications/appendToMemberExpression.js var bv = T((xd) => { "use strict"; Object.defineProperty(xd, "__esModule", { value: !0 }); xd.default = j$; var F$ = nr(); function j$(e, t, r = !1) { return e.object = (0, F$.memberExpression)(e.object, e.property, e.computed), e.property = t, e.computed = !!r, e; } s(j$, "appendToMemberExpression"); }); // ../node_modules/@babel/types/lib/modifications/inherits.js var vv = T((Sd) => { "use strict"; Object.defineProperty(Sd, "__esModule", { value: !0 }); Sd.default = M$; var Ev = Jn(), L$ = nd(); function M$(e, t) { if (!e || !t) return e; for (let r of Ev.INHERIT_KEYS.optional) e[r] == null && (e[r] = t[r]); for (let r of Object.keys(t)) r[0] === "_" && r !== "__clone" && (e[r] = t[r]); for (let r of Ev.INHERIT_KEYS.force) e[r] = t[r]; return (0, L$.default)(e, t), e; } s(M$, "inherits"); }); // ../node_modules/@babel/types/lib/modifications/prependToMemberExpression.js var Tv = T((Pd) => { "use strict"; Object.defineProperty(Pd, "__esModule", { value: !0 }); Pd.default = U$; var R$ = nr(), q$ = Se(); function U$(e, t) { if ((0, q$.isSuper)(e.object)) throw new Error("Cannot prepend node to super property access (`super.foo`)."); return e.object = (0, R$.memberExpression)(t, e.object), e; } s(U$, "prependToMemberExpression"); }); // ../node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js var xv = T((Ad) => { "use strict"; Object.defineProperty(Ad, "__esModule", { value: !0 }); Ad.default = V$; function V$(e) { let t = [].concat(e), r = /* @__PURE__ */ Object.create(null); for (; t.length; ) { let n = t.pop(); if (n) switch (n.type) { case "ArrayPattern": t.push(...n.elements); break; case "AssignmentExpression": case "AssignmentPattern": case "ForInStatement": case "ForOfStatement": t.push(n.left); break; case "ObjectPattern": t.push(...n.properties); break; case "ObjectProperty": t.push(n.value); break; case "RestElement": case "UpdateExpression": t.push(n.argument); break; case "UnaryExpression": n.operator === "delete" && t.push(n.argument); break; case "Identifier": r[n.name] = n; break; default: break; } } return r; } s(V$, "getAssignmentIdentifiers"); }); // ../node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js var qa = T((wd) => { "use strict"; Object.defineProperty(wd, "__esModule", { value: !0 }); wd.default = Cd; var Sn = vt(); function Cd(e, t, r, n) { let i = [].concat(e), a = /* @__PURE__ */ Object.create(null); for (; i.length; ) { let o = i.shift(); if (!o || n && ((0, Sn.isAssignmentExpression)(o) || (0, Sn.isUnaryExpression)(o) || (0, Sn.isUpdateExpression)(o))) continue; if ((0, Sn.isIdentifier)(o)) { t ? (a[o.name] = a[o.name] || []).push(o) : a[o.name] = o; continue; } if ((0, Sn.isExportDeclaration)(o) && !(0, Sn.isExportAllDeclaration)(o)) { (0, Sn.isDeclaration)(o.declaration) && i.push(o.declaration); continue; } if (r) { if ((0, Sn.isFunctionDeclaration)(o)) { i.push(o.id); continue; } if ((0, Sn.isFunctionExpression)(o)) continue; } let l = Cd.keys[o.type]; if (l) for (let u = 0; u < l.length; u++) { let c = l[u], f = o[c]; f && (Array.isArray(f) ? i.push(...f) : i.push(f)); } } return a; } s(Cd, "getBindingIdentifiers"); var $$ = { 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"] }; Cd.keys = $$; }); // ../node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js var Sv = T((Nl) => { "use strict"; Object.defineProperty(Nl, "__esModule", { value: !0 }); Nl.default = void 0; var W$ = qa(), Xxe = Nl.default = K$; function K$(e, t) { return (0, W$.default)(e, t, !0); } s(K$, "getOuterBindingIdentifiers"); }); // ../node_modules/@babel/types/lib/retrievers/getFunctionName.js var Av = T((Dd) => { "use strict"; Object.defineProperty(Dd, "__esModule", { value: !0 }); Dd.default = H$; var Cr = vt(); function G$(e) { return (0, Cr.isNullLiteral)(e) ? "null" : (0, Cr.isRegExpLiteral)(e) ? `/${e.pattern}/${e.flags}` : (0, Cr.isTemplateLiteral)(e) ? e.quasis. map((t) => t.value.raw).join("") : e.value !== void 0 ? String(e.value) : null; } s(G$, "getNameFromLiteralId"); function Pv(e) { if (!e.computed || (0, Cr.isLiteral)(e.key)) return e.key; } s(Pv, "getObjectMemberKey"); function H$(e, t) { if ("id" in e && e.id) return { name: e.id.name, originalNode: e.id }; let r = "", n; if ((0, Cr.isObjectProperty)(t, { value: e }) ? n = Pv(t) : (0, Cr.isObjectMethod)(e) || (0, Cr.isClassMethod)(e) ? (n = Pv(e), e.kind === "get" ? r = "get " : e.kind === "set" && (r = "set ")) : (0, Cr.isVariableDeclarator)(t, { init: e }) ? n = t.id : (0, Cr.isAssignmentExpression)(t, { operator: "=", right: e }) && (n = t.left), !n) return null; let i = (0, Cr.isLiteral)(n) ? G$(n) : (0, Cr.isIdentifier)(n) ? n.name : (0, Cr.isPrivateName)(n) ? n.id.name : null; return i == null ? null : { name: r + i, originalNode: n }; } s(H$, "getFunctionName"); }); // ../node_modules/@babel/types/lib/traverse/traverse.js var Cv = T((_d) => { "use strict"; Object.defineProperty(_d, "__esModule", { value: !0 }); _d.default = z$; var Y$ = Ar(); function z$(e, t, r) { typeof t == "function" && (t = { enter: t }); let { enter: n, exit: i } = t; Id(e, n, i, r, []); } s(z$, "traverse"); function Id(e, t, r, n, i) { let a = Y$.VISITOR_KEYS[e.type]; if (a) { t && t(e, i, n); for (let o of a) { let l = e[o]; if (Array.isArray(l)) for (let u = 0; u < l.length; u++) { let c = l[u]; c && (i.push({ node: e, key: o, index: u }), Id(c, t, r, n, i), i.pop()); } else l && (i.push({ node: e, key: o }), Id(l, t, r, n, i), i.pop()); } r && r(e, i, n); } } s(Id, "traverseSimpleImpl"); }); // ../node_modules/@babel/types/lib/validators/isBinding.js var wv = T((Od) => { "use strict"; Object.defineProperty(Od, "__esModule", { value: !0 }); Od.default = X$; var J$ = qa(); function X$(e, t, r) { if (r && e.type === "Identifier" && t.type === "ObjectProperty" && r.type === "ObjectExpression") return !1; let n = J$.default.keys[t.type]; if (n) for (let i = 0; i < n.length; i++) { let a = n[i], o = t[a]; if (Array.isArray(o)) { if (o.includes(e)) return !0; } else if (o === e) return !0; } return !1; } s(X$, "isBinding"); }); // ../node_modules/@babel/types/lib/validators/isLet.js var Bd = T((Nd) => { "use strict"; Object.defineProperty(Nd, "__esModule", { value: !0 }); Nd.default = eW; var Q$ = vt(), Z$ = Jn(); function eW(e) { return (0, Q$.isVariableDeclaration)(e) && (e.kind !== "var" || e[Z$.BLOCK_SCOPED_SYMBOL]); } s(eW, "isLet"); }); // ../node_modules/@babel/types/lib/validators/isBlockScoped.js var Iv = T((kd) => { "use strict"; Object.defineProperty(kd, "__esModule", { value: !0 }); kd.default = rW; var Dv = vt(), tW = Bd(); function rW(e) { return (0, Dv.isFunctionDeclaration)(e) || (0, Dv.isClassDeclaration)(e) || (0, tW.default)(e); } s(rW, "isBlockScoped"); }); // ../node_modules/@babel/types/lib/validators/isImmutable.js var _v = T((Fd) => { "use strict"; Object.defineProperty(Fd, "__esModule", { value: !0 }); Fd.default = iW; var nW = dl(), sW = vt(); function iW(e) { return (0, nW.default)(e.type, "Immutable") ? !0 : (0, sW.isIdentifier)(e) ? e.name === "undefined" : !1; } s(iW, "isImmutable"); }); // ../node_modules/@babel/types/lib/validators/isNodesEquivalent.js var Nv = T((Ld) => { "use strict"; Object.defineProperty(Ld, "__esModule", { value: !0 }); Ld.default = jd; var Ov = Ar(); function jd(e, t) { if (typeof e != "object" || typeof t != "object" || e == null || t == null) return e === t; if (e.type !== t.type) return !1; let r = Object.keys(Ov.NODE_FIELDS[e.type] || e.type), n = Ov.VISITOR_KEYS[e.type]; for (let i of r) { let a = e[i], o = t[i]; if (typeof a != typeof o) return !1; if (!(a == null && o == null)) { if (a == null || o == null) return !1; if (Array.isArray(a)) { if (!Array.isArray(o) || a.length !== o.length) return !1; for (let l = 0; l < a.length; l++) if (!jd(a[l], o[l])) return !1; continue; } if (typeof a == "object" && !(n != null && n.includes(i))) { for (let l of Object.keys(a)) if (a[l] !== o[l]) return !1; continue; } if (!jd(a, o)) return !1; } } return !0; } s(jd, "isNodesEquivalent"); }); // ../node_modules/@babel/types/lib/validators/isReferenced.js var Bv = T((Md) => { "use strict"; Object.defineProperty(Md, "__esModule", { value: !0 }); Md.default = aW; function aW(e, t, r) { switch (t.type) { case "MemberExpression": case "OptionalMemberExpression": return t.property === e ? !!t.computed : t.object === e; case "JSXMemberExpression": return t.object === e; case "VariableDeclarator": return t.init === e; case "ArrowFunctionExpression": return t.body === e; case "PrivateName": return !1; case "ClassMethod": case "ClassPrivateMethod": case "ObjectMethod": return t.key === e ? !!t.computed : !1; case "ObjectProperty": return t.key === e ? !!t.computed : !r || r.type !== "ObjectPattern"; case "ClassProperty": case "ClassAccessorProperty": return t.key === e ? !!t.computed : !0; case "ClassPrivateProperty": return t.key !== e; case "ClassDeclaration": case "ClassExpression": return t.superClass === e; case "AssignmentExpression": return t.right === e; case "AssignmentPattern": return t.right === e; 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": return r != null && r.source ? !1 : t.local === e; 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 t.key !== e; case "TSEnumMember": return t.id !== e; case "TSPropertySignature": return t.key === e ? !!t.computed : !0; } return !0; } s(aW, "isReferenced"); }); // ../node_modules/@babel/types/lib/validators/isScope.js var kv = T((Rd) => { "use strict"; Object.defineProperty(Rd, "__esModule", { value: !0 }); Rd.default = oW; var Ns = vt(); function oW(e, t) { return (0, Ns.isBlockStatement)(e) && ((0, Ns.isFunction)(t) || (0, Ns.isCatchClause)(t)) ? !1 : (0, Ns.isPattern)(e) && ((0, Ns.isFunction)( t) || (0, Ns.isCatchClause)(t)) ? !0 : (0, Ns.isScopable)(e); } s(oW, "isScope"); }); // ../node_modules/@babel/types/lib/validators/isSpecifierDefault.js var jv = T((qd) => { "use strict"; Object.defineProperty(qd, "__esModule", { value: !0 }); qd.default = lW; var Fv = vt(); function lW(e) { return (0, Fv.isImportDefaultSpecifier)(e) || (0, Fv.isIdentifier)(e.imported || e.exported, { name: "default" }); } s(lW, "isSpecifierDefault"); }); // ../node_modules/@babel/types/lib/validators/isValidES3Identifier.js var Lv = T((Ud) => { "use strict"; Object.defineProperty(Ud, "__esModule", { value: !0 }); Ud.default = fW; var uW = gi(), cW = /* @__PURE__ */ new Set(["abstract", "boolean", "byte", "char", "double", "enum", "final", "float", "goto", "implement\ s", "int", "interface", "long", "native", "package", "private", "protected", "public", "short", "static", "synchronized", "throws", "transie\ nt", "volatile"]); function fW(e) { return (0, uW.default)(e) && !cW.has(e); } s(fW, "isValidES3Identifier"); }); // ../node_modules/@babel/types/lib/validators/isVar.js var Mv = T((Vd) => { "use strict"; Object.defineProperty(Vd, "__esModule", { value: !0 }); Vd.default = hW; var pW = vt(), dW = Jn(); function hW(e) { return (0, pW.isVariableDeclaration)(e, { kind: "var" }) && !e[dW.BLOCK_SCOPED_SYMBOL]; } s(hW, "isVar"); }); // ../node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js var Rv = T((Kd) => { "use strict"; Object.defineProperty(Kd, "__esModule", { value: !0 }); Kd.default = Bl; var mW = qa(), Bs = vt(), $d = nr(), Wd = Rp(), yW = Zn(); function Bl(e, t) { let r = [], n = !0; for (let i of e) if ((0, Bs.isEmptyStatement)(i) || (n = !1), (0, Bs.isExpression)(i)) r.push(i); else if ((0, Bs.isExpressionStatement)(i)) r.push(i.expression); else if ((0, Bs.isVariableDeclaration)(i)) { if (i.kind !== "var") return; for (let a of i.declarations) { let o = (0, mW.default)(a); for (let l of Object.keys(o)) t.push({ kind: i.kind, id: (0, yW.default)(o[l]) }); a.init && r.push((0, $d.assignmentExpression)("=", a.id, a.init)); } n = !0; } else if ((0, Bs.isIfStatement)(i)) { let a = i.consequent ? Bl([i.consequent], t) : (0, Wd.buildUndefinedNode)(), o = i.alternate ? Bl([i.alternate], t) : (0, Wd.buildUndefinedNode)(); if (!a || !o) return; r.push((0, $d.conditionalExpression)(i.test, a, o)); } else if ((0, Bs.isBlockStatement)(i)) { let a = Bl(i.body, t); if (!a) return; r.push(a); } else if ((0, Bs.isEmptyStatement)(i)) e.indexOf(i) === 0 && (n = !0); else return; return n && r.push((0, Wd.buildUndefinedNode)()), r.length === 1 ? r[0] : (0, $d.sequenceExpression)(r); } s(Bl, "gatherSequenceExpressions"); }); // ../node_modules/@babel/types/lib/converters/toSequenceExpression.js var qv = T((Gd) => { "use strict"; Object.defineProperty(Gd, "__esModule", { value: !0 }); Gd.default = bW; var gW = Rv(); function bW(e, t) { if (!(e != null && e.length)) return; let r = [], n = (0, gW.default)(e, r); if (n) { for (let i of r) t.push(i); return n; } } s(bW, "toSequenceExpression"); }); // ../node_modules/@babel/types/lib/index.js var Se = T((ee) => { "use strict"; Object.defineProperty(ee, "__esModule", { value: !0 }); var Pn = { 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(ee, "__internal__deprecationWarning", { enumerable: !0, get: /* @__PURE__ */ s(function() { return xK.default; }, "get") }); Object.defineProperty(ee, "addComment", { enumerable: !0, get: /* @__PURE__ */ s(function() { return _W.default; }, "get") }); Object.defineProperty(ee, "addComments", { enumerable: !0, get: /* @__PURE__ */ s(function() { return OW.default; }, "get") }); Object.defineProperty(ee, "appendToMemberExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return GW.default; }, "get") }); Object.defineProperty(ee, "assertNode", { enumerable: !0, get: /* @__PURE__ */ s(function() { return xW.default; }, "get") }); Object.defineProperty(ee, "buildMatchMemberExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return TK.default; }, "get") }); Object.defineProperty(ee, "clone", { enumerable: !0, get: /* @__PURE__ */ s(function() { return CW.default; }, "get") }); Object.defineProperty(ee, "cloneDeep", { enumerable: !0, get: /* @__PURE__ */ s(function() { return wW.default; }, "get") }); Object.defineProperty(ee, "cloneDeepWithoutLoc", { enumerable: !0, get: /* @__PURE__ */ s(function() { return DW.default; }, "get") }); Object.defineProperty(ee, "cloneNode", { enumerable: !0, get: /* @__PURE__ */ s(function() { return AW.default; }, "get") }); Object.defineProperty(ee, "cloneWithoutLoc", { enumerable: !0, get: /* @__PURE__ */ s(function() { return IW.default; }, "get") }); Object.defineProperty(ee, "createFlowUnionType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return Uv.default; }, "get") }); Object.defineProperty(ee, "createTSUnionType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return PW.default; }, "get") }); Object.defineProperty(ee, "createTypeAnnotationBasedOnTypeof", { enumerable: !0, get: /* @__PURE__ */ s(function() { return SW.default; }, "get") }); Object.defineProperty(ee, "createUnionTypeAnnotation", { enumerable: !0, get: /* @__PURE__ */ s(function() { return Uv.default; }, "get") }); Object.defineProperty(ee, "ensureBlock", { enumerable: !0, get: /* @__PURE__ */ s(function() { return LW.default; }, "get") }); Object.defineProperty(ee, "getAssignmentIdentifiers", { enumerable: !0, get: /* @__PURE__ */ s(function() { return QW.default; }, "get") }); Object.defineProperty(ee, "getBindingIdentifiers", { enumerable: !0, get: /* @__PURE__ */ s(function() { return ZW.default; }, "get") }); Object.defineProperty(ee, "getFunctionName", { enumerable: !0, get: /* @__PURE__ */ s(function() { return tK.default; }, "get") }); Object.defineProperty(ee, "getOuterBindingIdentifiers", { enumerable: !0, get: /* @__PURE__ */ s(function() { return eK.default; }, "get") }); Object.defineProperty(ee, "inheritInnerComments", { enumerable: !0, get: /* @__PURE__ */ s(function() { return NW.default; }, "get") }); Object.defineProperty(ee, "inheritLeadingComments", { enumerable: !0, get: /* @__PURE__ */ s(function() { return BW.default; }, "get") }); Object.defineProperty(ee, "inheritTrailingComments", { enumerable: !0, get: /* @__PURE__ */ s(function() { return FW.default; }, "get") }); Object.defineProperty(ee, "inherits", { enumerable: !0, get: /* @__PURE__ */ s(function() { return HW.default; }, "get") }); Object.defineProperty(ee, "inheritsComments", { enumerable: !0, get: /* @__PURE__ */ s(function() { return kW.default; }, "get") }); Object.defineProperty(ee, "is", { enumerable: !0, get: /* @__PURE__ */ s(function() { return sK.default; }, "get") }); Object.defineProperty(ee, "isBinding", { enumerable: !0, get: /* @__PURE__ */ s(function() { return iK.default; }, "get") }); Object.defineProperty(ee, "isBlockScoped", { enumerable: !0, get: /* @__PURE__ */ s(function() { return aK.default; }, "get") }); Object.defineProperty(ee, "isImmutable", { enumerable: !0, get: /* @__PURE__ */ s(function() { return oK.default; }, "get") }); Object.defineProperty(ee, "isLet", { enumerable: !0, get: /* @__PURE__ */ s(function() { return lK.default; }, "get") }); Object.defineProperty(ee, "isNode", { enumerable: !0, get: /* @__PURE__ */ s(function() { return uK.default; }, "get") }); Object.defineProperty(ee, "isNodesEquivalent", { enumerable: !0, get: /* @__PURE__ */ s(function() { return cK.default; }, "get") }); Object.defineProperty(ee, "isPlaceholderType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return fK.default; }, "get") }); Object.defineProperty(ee, "isReferenced", { enumerable: !0, get: /* @__PURE__ */ s(function() { return pK.default; }, "get") }); Object.defineProperty(ee, "isScope", { enumerable: !0, get: /* @__PURE__ */ s(function() { return dK.default; }, "get") }); Object.defineProperty(ee, "isSpecifierDefault", { enumerable: !0, get: /* @__PURE__ */ s(function() { return hK.default; }, "get") }); Object.defineProperty(ee, "isType", { enumerable: !0, get: /* @__PURE__ */ s(function() { return mK.default; }, "get") }); Object.defineProperty(ee, "isValidES3Identifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return yK.default; }, "get") }); Object.defineProperty(ee, "isValidIdentifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return gK.default; }, "get") }); Object.defineProperty(ee, "isVar", { enumerable: !0, get: /* @__PURE__ */ s(function() { return bK.default; }, "get") }); Object.defineProperty(ee, "matchesPattern", { enumerable: !0, get: /* @__PURE__ */ s(function() { return EK.default; }, "get") }); Object.defineProperty(ee, "prependToMemberExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return YW.default; }, "get") }); ee.react = void 0; Object.defineProperty(ee, "removeComments", { enumerable: !0, get: /* @__PURE__ */ s(function() { return jW.default; }, "get") }); Object.defineProperty(ee, "removeProperties", { enumerable: !0, get: /* @__PURE__ */ s(function() { return zW.default; }, "get") }); Object.defineProperty(ee, "removePropertiesDeep", { enumerable: !0, get: /* @__PURE__ */ s(function() { return JW.default; }, "get") }); Object.defineProperty(ee, "removeTypeDuplicates", { enumerable: !0, get: /* @__PURE__ */ s(function() { return XW.default; }, "get") }); Object.defineProperty(ee, "shallowEqual", { enumerable: !0, get: /* @__PURE__ */ s(function() { return nK.default; }, "get") }); Object.defineProperty(ee, "toBindingIdentifierName", { enumerable: !0, get: /* @__PURE__ */ s(function() { return MW.default; }, "get") }); Object.defineProperty(ee, "toBlock", { enumerable: !0, get: /* @__PURE__ */ s(function() { return RW.default; }, "get") }); Object.defineProperty(ee, "toComputedKey", { enumerable: !0, get: /* @__PURE__ */ s(function() { return qW.default; }, "get") }); Object.defineProperty(ee, "toExpression", { enumerable: !0, get: /* @__PURE__ */ s(function() { return UW.default; }, "get") }); Object.defineProperty(ee, "toIdentifier", { enumerable: !0, get: /* @__PURE__ */ s(function() { return VW.default; }, "get") }); Object.defineProperty(ee, "toKeyAlias", { enumerable: !0, get: /* @__PURE__ */ s(function() { return $W.default; }, "get") }); Object.defineProperty(ee, "toStatement", { enumerable: !0, get: /* @__PURE__ */ s(function() { return WW.default; }, "get") }); Object.defineProperty(ee, "traverse", { enumerable: !0, get: /* @__PURE__ */ s(function() { return kl.default; }, "get") }); Object.defineProperty(ee, "traverseFast", { enumerable: !0, get: /* @__PURE__ */ s(function() { return rK.default; }, "get") }); Object.defineProperty(ee, "validate", { enumerable: !0, get: /* @__PURE__ */ s(function() { return vK.default; }, "get") }); Object.defineProperty(ee, "valueToNode", { enumerable: !0, get: /* @__PURE__ */ s(function() { return KW.default; }, "get") }); var EW = W1(), vW = K1(), TW = RE(), xW = qE(), Hd = UE(); Object.keys(Hd).forEach(function(e) { e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(Pn, e) || e in ee && ee[e] === Hd[e] || Object.defineProperty( ee, e, { enumerable: !0, get: /* @__PURE__ */ s(function() { return Hd[e]; }, "get") }); }); var SW = VE(), Uv = KE(), PW = zE(), Yd = nr(); Object.keys(Yd).forEach(function(e) { e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(Pn, e) || e in ee && ee[e] === Yd[e] || Object.defineProperty( ee, e, { enumerable: !0, get: /* @__PURE__ */ s(function() { return Yd[e]; }, "get") }); }); var zd = JE(); Object.keys(zd).forEach(function(e) { e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(Pn, e) || e in ee && ee[e] === zd[e] || Object.defineProperty( ee, e, { enumerable: !0, get: /* @__PURE__ */ s(function() { return zd[e]; }, "get") }); }); var Jd = Rp(); Object.keys(Jd).forEach(function(e) { e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(Pn, e) || e in ee && ee[e] === Jd[e] || Object.defineProperty( ee, e, { enumerable: !0, get: /* @__PURE__ */ s(function() { return Jd[e]; }, "get") }); }); var AW = Zn(), CW = rv(), wW = nv(), DW = sv(), IW = iv(), _W = av(), OW = Hp(), NW = Xp(), BW = Zp(), kW = nd(), FW = td(), jW = ov(), Xd = lv(); Object.keys(Xd).forEach(function(e) { e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(Pn, e) || e in ee && ee[e] === Xd[e] || Object.defineProperty( ee, e, { enumerable: !0, get: /* @__PURE__ */ s(function() { return Xd[e]; }, "get") }); }); var Qd = Jn(); Object.keys(Qd).forEach(function(e) { e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(Pn, e) || e in ee && ee[e] === Qd[e] || Object.defineProperty( ee, e, { enumerable: !0, get: /* @__PURE__ */ s(function() { return Qd[e]; }, "get") }); }); var LW = uv(), MW = cv(), RW = od(), qW = fv(), UW = pv(), VW = cd(), $W = mv(), WW = yv(), KW = gv(), Zd = Ar(); Object.keys(Zd).forEach(function(e) { e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(Pn, e) || e in ee && ee[e] === Zd[e] || Object.defineProperty( ee, e, { enumerable: !0, get: /* @__PURE__ */ s(function() { return Zd[e]; }, "get") }); }); var GW = bv(), HW = vv(), YW = Tv(), zW = gd(), JW = Ed(), XW = kp(), QW = xv(), ZW = qa(), eK = Sv(), tK = Av(), kl = Cv(); Object.keys(kl).forEach(function(e) { e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(Pn, e) || e in ee && ee[e] === kl[e] || Object.defineProperty( ee, e, { enumerable: !0, get: /* @__PURE__ */ s(function() { return kl[e]; }, "get") }); }); var rK = md(), nK = fl(), sK = mi(), iK = wv(), aK = Iv(), oK = _v(), lK = Bd(), uK = Op(), cK = Nv(), fK = sp(), pK = Bv(), dK = kv(), hK = jv(), mK = dl(), yK = Lv(), gK = gi(), bK = Mv(), EK = Qf(), vK = bl(), TK = ep(), eh = vt(); Object.keys(eh).forEach(function(e) { e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(Pn, e) || e in ee && ee[e] === eh[e] || Object.defineProperty( ee, e, { enumerable: !0, get: /* @__PURE__ */ s(function() { return eh[e]; }, "get") }); }); var xK = Aa(), DSe = ee.react = { isReactComponent: EW.default, isCompatTag: vW.default, buildChildren: TW.default }; ee.toSequenceExpression = qv().default; }); // ../node_modules/@babel/template/lib/formatters.js var Vv = T((wr) => { "use strict"; Object.defineProperty(wr, "__esModule", { value: !0 }); wr.statements = wr.statement = wr.smart = wr.program = wr.expression = void 0; var SK = Se(), { assertExpressionStatement: PK } = SK; function th(e) { return { code: /* @__PURE__ */ s((t) => `/* @babel/template */; ${t}`, "code"), validate: /* @__PURE__ */ s(() => { }, "validate"), unwrap: /* @__PURE__ */ s((t) => e(t.program.body.slice(1)), "unwrap") }; } s(th, "makeStatementFormatter"); var OSe = wr.smart = th((e) => e.length > 1 ? e : e[0]), NSe = wr.statements = th((e) => e), BSe = wr.statement = th((e) => { if (e.length === 0) throw new Error("Found nothing to return."); if (e.length > 1) throw new Error("Found multiple statements but wanted one"); return e[0]; }), AK = wr.expression = { code: /* @__PURE__ */ s((e) => `( ${e} )`, "code"), validate: /* @__PURE__ */ s((e) => { if (e.program.body.length > 1) throw new Error("Found multiple statements but wanted one"); if (AK.unwrap(e).start === 0) throw new Error("Parse result included parens."); }, "validate"), unwrap: /* @__PURE__ */ s(({ program: e }) => { let [t] = e.body; return PK(t), t.expression; }, "unwrap") }, kSe = wr.program = { code: /* @__PURE__ */ s((e) => e, "code"), validate: /* @__PURE__ */ s(() => { }, "validate"), unwrap: /* @__PURE__ */ s((e) => e.program, "unwrap") }; }); // ../node_modules/@babel/template/lib/options.js var Fl = T((Ua) => { "use strict"; Object.defineProperty(Ua, "__esModule", { value: !0 }); Ua.merge = DK; Ua.normalizeReplacements = _K; Ua.validate = IK; var CK = ["placeholderWhitelist", "placeholderPattern", "preserveComments", "syntacticPlaceholders"]; function wK(e, t) { if (e == null) return {}; var r = {}, n = Object.keys(e), i, a; for (a = 0; a < n.length; a++) i = n[a], !(t.indexOf(i) >= 0) && (r[i] = e[i]); return r; } s(wK, "_objectWithoutPropertiesLoose"); function DK(e, t) { let { placeholderWhitelist: r = e.placeholderWhitelist, placeholderPattern: n = e.placeholderPattern, preserveComments: i = e.preserveComments, syntacticPlaceholders: a = e.syntacticPlaceholders } = t; return { parser: Object.assign({}, e.parser, t.parser), placeholderWhitelist: r, placeholderPattern: n, preserveComments: i, syntacticPlaceholders: a }; } s(DK, "merge"); function IK(e) { if (e != null && typeof e != "object") throw new Error("Unknown template options."); let t = e || {}, { placeholderWhitelist: r, placeholderPattern: n, preserveComments: i, syntacticPlaceholders: a } = t, o = wK(t, CK); if (r != null && !(r instanceof Set)) throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined"); if (n != null && !(n instanceof RegExp) && n !== !1) throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined"); if (i != null && typeof i != "boolean") throw new Error("'.preserveComments' must be a boolean, null, or undefined"); if (a != null && typeof a != "boolean") throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined"); if (a === !0 && (r != null || n != null)) throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'"); return { parser: o, placeholderWhitelist: r || void 0, placeholderPattern: n ?? void 0, preserveComments: i ?? void 0, syntacticPlaceholders: a ?? void 0 }; } s(IK, "validate"); function _K(e) { if (Array.isArray(e)) return e.reduce((t, r, n) => (t["$" + n] = r, t), {}); if (typeof e == "object" || e == null) return e || void 0; throw new Error("Template replacements must be an array, object, null, or undefined"); } s(_K, "normalizeReplacements"); }); // ../node_modules/@babel/parser/lib/index.js var js = T((Xa) => { "use strict"; Object.defineProperty(Xa, "__esModule", { value: !0 }); function OK(e, t) { if (e == null) return {}; var r = {}; for (var n in e) if ({}.hasOwnProperty.call(e, n)) { if (t.includes(n)) continue; r[n] = e[n]; } return r; } s(OK, "_objectWithoutPropertiesLoose"); var cn = class { static { s(this, "Position"); } constructor(t, r, n) { this.line = void 0, this.column = void 0, this.index = void 0, this.line = t, this.column = r, this.index = n; } }, Pi = class { static { s(this, "SourceLocation"); } constructor(t, r) { this.start = void 0, this.end = void 0, this.filename = void 0, this.identifierName = void 0, this.start = t, this.end = r; } }; function ir(e, t) { let { line: r, column: n, index: i } = e; return new cn(r, n + t, i + t); } s(ir, "createPositionWithColumnOffset"); var $v = "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED", NK = { ImportMetaOutsideModule: { message: `import.meta may appear only with 'sourceType: "module"'`, code: $v }, ImportOutsideModule: { message: `'import' and 'export' may appear only with 'sourceType: "module"'`, code: $v } }, Wv = { 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" }, Ml = /* @__PURE__ */ s((e) => e.type === "UpdateExpression" ? Wv.UpdateExpression[`${e.prefix}`] : Wv[e.type], "toNodeDescription"), BK = { AccessorIsGenerator: /* @__PURE__ */ s(({ kind: e }) => `A ${e}ter cannot be a generator.`, "AccessorIsGenerator"), 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: /* @__PURE__ */ s(({ kind: e }) => `Missing initializer in ${e} declaration.`, "DeclarationMissingInitializer"), DecoratorArgumentsOutsideParentheses: "Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(deco\ rator)(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 s\ ame 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: /* @__PURE__ */ s(({ exportName: e }) => `\`${e}\` has already been exported. Exported identifiers must be unique.`, "DuplicateExport"), DuplicateProto: "Redefinition of __proto__ property.", DuplicateRegExpFlags: "Duplicate regular expression flag.", DynamicImportPhaseRequiresImportExpressions: /* @__PURE__ */ s(({ phase: e }) => `'import.${e}(...)' can only be parsed when using the 'createImportExpressions' option.`, "DynamicImportPhaseRequiresImportExpress\ ions"), ElementAfterRest: "Rest element must be last element.", EscapedCharNotAnIdentifier: "Invalid Unicode escape.", ExportBindingIsString: /* @__PURE__ */ s(({ localName: e, exportName: t }) => `A string literal cannot be used as an exported binding without \`from\`. - Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`, "ExportBindingIsString"), ExportDefaultFromAsIdentifier: "'from' is not allowed as an identifier after 'export default'.", ForInOfLoopInitializer: /* @__PURE__ */ s(({ type: e }) => `'${e === "ForInStatement" ? "for-in" : "for-of"}' loop variable declaration may not have an initializer.`, "ForInOfLoopInitialize\ r"), 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: /* @__PURE__ */ s(({ type: e }) => `Unsyntactic ${e === "BreakStatement" ? "break" : "continue"}.`, "IllegalBreakContinue"), 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: /* @__PURE__ */ s(({ importName: e }) => `A string literal cannot be used as an imported binding. - Did you mean \`import { "${e}" as foo }\`?`, "ImportBindingIsString"), ImportCallArgumentTrailingComma: "Trailing comma is disallowed inside import(...) arguments.", ImportCallArity: /* @__PURE__ */ s(({ maxArgumentCount: e }) => `\`import()\` requires exactly ${e === 1 ? "one argument" : "one or two arguments"}.`, "ImportCallArity"), 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: /* @__PURE__ */ s(({ radix: e }) => `Expected number in radix ${e}.`, "InvalidDigit"), InvalidEscapeSequence: "Bad character escape sequence.", InvalidEscapeSequenceTemplate: "Invalid escape sequence in template.", InvalidEscapedReservedWord: /* @__PURE__ */ s(({ reservedWord: e }) => `Escape sequence in keyword ${e}.`, "InvalidEscapedReservedWord"), InvalidIdentifier: /* @__PURE__ */ s(({ identifierName: e }) => `Invalid identifier ${e}.`, "InvalidIdentifier"), InvalidLhs: /* @__PURE__ */ s(({ ancestor: e }) => `Invalid left-hand side in ${Ml(e)}.`, "InvalidLhs"), InvalidLhsBinding: /* @__PURE__ */ s(({ ancestor: e }) => `Binding invalid left-hand side in ${Ml(e)}.`, "InvalidLhsBinding"), InvalidLhsOptionalChaining: /* @__PURE__ */ s(({ ancestor: e }) => `Invalid optional chaining in the left-hand side of ${Ml(e)}.`, "InvalidLhsOptionalChaining"), InvalidNumber: "Invalid number.", InvalidOrMissingExponent: "Floating-point numbers require a valid exponent after the 'e'.", InvalidOrUnexpectedToken: /* @__PURE__ */ s(({ unexpected: e }) => `Unexpected character '${e}'.`, "InvalidOrUnexpectedToken"), InvalidParenthesizedAssignment: "Invalid parenthesized assignment pattern.", InvalidPrivateFieldResolution: /* @__PURE__ */ s(({ identifierName: e }) => `Private name #${e} is not defined.`, "InvalidPrivateFieldResolution"), InvalidPropertyBindingPattern: "Binding member expression.", InvalidRecordProperty: "Only properties and spread elements are allowed in record definitions.", InvalidRestAssignmentPattern: "Invalid rest operator's argument.", LabelRedeclaration: /* @__PURE__ */ s(({ labelName: e }) => `Label '${e}' is already declared.`, "LabelRedeclaration"), 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: /* @__PURE__ */ s(({ missingPlugin: e }) => `This experimental syntax requires enabling the parser plugin: ${e.map((t) => JSON.stringify(t)).join(", ")}.`, "MissingPlugin"), MissingOneOfPlugins: /* @__PURE__ */ s(({ missingPlugin: e }) => `This experimental syntax requires enabling one of the following parser plugin(s): ${e.map((t) => JSON.stringify(t)).join(", ")}.`, "MissingOneOfPlugins"), 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: /* @__PURE__ */ s(({ key: e }) => `Duplicate key "${e}" is not allowed in module attributes.`, "ModuleAttributesWithDuplicateKeys"), ModuleExportNameHasLoneSurrogate: /* @__PURE__ */ s(({ surrogateCharCode: e }) => `An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`, "ModuleExportNameHasLoneSurrogate"), ModuleExportUndefined: /* @__PURE__ */ s(({ localName: e }) => `Export '${e}' is not defined.`, "ModuleExportUndefined"), 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: /* @__PURE__ */ s(({ identifierName: e }) => `Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`, "PrivateInExpe\ ctedIn"), PrivateNameRedeclaration: /* @__PURE__ */ s(({ identifierName: e }) => `Duplicate private name #${e}.`, "PrivateNameRedeclaration"), RecordExpressionBarIncorrectEndSyntaxType: "Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 're\ cordAndTuple' 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 th\ e '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 sta\ tement.", 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 n\ ot 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 'reco\ rdAndTuple' 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: /* @__PURE__ */ s(({ keyword: e }) => `Unexpected keyword '${e}'.`, "UnexpectedKeyword"), 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: /* @__PURE__ */ s(({ reservedWord: e }) => `Unexpected reserved word '${e}'.`, "UnexpectedReservedWord"), UnexpectedSuper: "'super' is only allowed in object methods and classes.", UnexpectedToken: /* @__PURE__ */ s(({ expected: e, unexpected: t }) => `Unexpected token${t ? ` '${t}'.` : ""}${e ? `, expected "${e}"` : ""}`, "UnexpectedToken"), 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: /* @__PURE__ */ s(({ target: e, onlyValidPropertyName: t }) => `The only valid meta property for ${e} is ${e}.${t}.`, "UnsupportedMetaProperty"), 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: /* @__PURE__ */ s(({ identifierName: e }) => `Identifier '${e}' has already been declared.`, "VarRedeclaration"), 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." }, kK = { StrictDelete: "Deleting local variable in strict mode.", StrictEvalArguments: /* @__PURE__ */ s(({ referenceName: e }) => `Assigning to '${e}' in strict mode.`, "StrictEvalArguments"), StrictEvalArgumentsBinding: /* @__PURE__ */ s(({ bindingName: e }) => `Binding '${e}' in strict mode.`, "StrictEvalArgumentsBinding"), 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." }, FK = /* @__PURE__ */ new Set(["ArrowFunctionExpression", "AssignmentExpression", "ConditionalExpression", "YieldExpression"]), jK = { 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" opt\ ion.', PipeTopicUnbound: "Topic reference is unbound; it must be inside a pipe body.", PipeTopicUnconfiguredToken: /* @__PURE__ */ s(({ token: e }) => `Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "propo\ sal": "hack", "topicToken": "${e}" }.`, "PipeTopicUnconfiguredToken"), PipeTopicUnused: "Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.", PipeUnparenthesizedBody: /* @__PURE__ */ s(({ type: e }) => `Hack-style pipe body cannot be an unparenthesized ${Ml({ type: e })}; please wrap it in parentheses.`, "PipeUnparenthesizedBody"), 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 "sma\ rt" option.' }, LK = ["message"]; function Kv(e, t, r) { Object.defineProperty(e, t, { enumerable: !1, configurable: !0, value: r }); } s(Kv, "defineHidden"); function MK({ toMessage: e, code: t, reasonCode: r, syntaxPlugin: n }) { let i = r === "MissingPlugin" || r === "MissingOneOfPlugins"; return /* @__PURE__ */ s(function a(o, l) { let u = new SyntaxError(); return u.code = t, u.reasonCode = r, u.loc = o, u.pos = o.index, u.syntaxPlugin = n, i && (u.missingPlugin = l.missingPlugin), Kv(u, "\ clone", /* @__PURE__ */ s(function(f = {}) { var p; let { line: h, column: y, index: v } = (p = f.loc) != null ? p : o; return a(new cn(h, y, v), Object.assign({}, l, f.details)); }, "clone")), Kv(u, "details", l), Object.defineProperty(u, "message", { configurable: !0, get() { let c = `${e(l)} (${o.line}:${o.column})`; return this.message = c, c; }, set(c) { Object.defineProperty(this, "message", { value: c, writable: !0 }); } }), u; }, "constructor"); } s(MK, "toParseErrorConstructor"); function Dn(e, t) { if (Array.isArray(e)) return (n) => Dn(n, e[0]); let r = {}; for (let n of Object.keys(e)) { let i = e[n], a = typeof i == "string" ? { message: /* @__PURE__ */ s(() => i, "message") } : typeof i == "function" ? { message: i } : i, { message: o } = a, l = OK(a, LK), u = typeof o == "string" ? () => o : o; r[n] = MK(Object.assign({ code: "BABEL_PARSER_SYNTAX_ERROR", reasonCode: n, toMessage: u }, t ? { syntaxPlugin: t } : {}, l)); } return r; } s(Dn, "ParseErrorEnum"); var _ = Object.assign({}, Dn(NK), Dn(BK), Dn(kK), Dn`pipelineOperator`(jK)), { defineProperty: RK } = Object, Gv = /* @__PURE__ */ s((e, t) => { e && RK(e, t, { enumerable: !1, value: e[t] }); }, "toUnenumerable"); function Va(e) { return Gv(e.loc.start, "index"), Gv(e.loc.end, "index"), e; } s(Va, "toESTreeLocation"); var qK = /* @__PURE__ */ s((e) => class extends e { static { s(this, "ESTreeParserMixin"); } parse() { let r = Va(super.parse()); return this.options.tokens && (r.tokens = r.tokens.map(Va)), r; } parseRegExpLiteral({ pattern: r, flags: n }) { let i = null; try { i = new RegExp(r, n); } catch { } let a = this.estreeParseLiteral(i); return a.regex = { pattern: r, flags: n }, a; } parseBigIntLiteral(r) { let n; try { n = BigInt(r); } catch { n = null; } let i = this.estreeParseLiteral(n); return i.bigint = String(i.value || r), i; } parseDecimalLiteral(r) { let i = this.estreeParseLiteral(null); return i.decimal = String(i.value || r), i; } estreeParseLiteral(r) { return this.parseLiteral(r, "Literal"); } parseStringLiteral(r) { return this.estreeParseLiteral(r); } parseNumericLiteral(r) { return this.estreeParseLiteral(r); } parseNullLiteral() { return this.estreeParseLiteral(null); } parseBooleanLiteral(r) { return this.estreeParseLiteral(r); } directiveToStmt(r) { let n = r.value; delete r.value, n.type = "Literal", n.raw = n.extra.raw, n.value = n.extra.expressionValue; let i = r; return i.type = "ExpressionStatement", i.expression = n, i.directive = n.extra.rawValue, delete n.extra, i; } initFunction(r, n) { super.initFunction(r, n), r.expression = !1; } checkDeclaration(r) { r != null && this.isObjectProperty(r) ? this.checkDeclaration(r.value) : super.checkDeclaration(r); } getObjectOrClassMethodParams(r) { return r.value.params; } isValidDirective(r) { var n; return r.type === "ExpressionStatement" && r.expression.type === "Literal" && typeof r.expression.value == "string" && !((n = r.expression. extra) != null && n.parenthesized); } parseBlockBody(r, n, i, a, o) { super.parseBlockBody(r, n, i, a, o); let l = r.directives.map((u) => this.directiveToStmt(u)); r.body = l.concat(r.body), delete r.directives; } pushClassMethod(r, n, i, a, o, l) { this.parseMethod(n, i, a, o, l, "ClassMethod", !0), n.typeParameters && (n.value.typeParameters = n.typeParameters, delete n.typeParameters), r.body.push(n); } parsePrivateName() { let r = super.parsePrivateName(); return this.getPluginOption("estree", "classFeatures") ? this.convertPrivateNameToPrivateIdentifier(r) : r; } convertPrivateNameToPrivateIdentifier(r) { let n = super.getPrivateNameSV(r); return r = r, delete r.id, r.name = n, r.type = "PrivateIdentifier", r; } isPrivateName(r) { return this.getPluginOption("estree", "classFeatures") ? r.type === "PrivateIdentifier" : super.isPrivateName(r); } getPrivateNameSV(r) { return this.getPluginOption("estree", "classFeatures") ? r.name : super.getPrivateNameSV(r); } parseLiteral(r, n) { let i = super.parseLiteral(r, n); return i.raw = i.extra.raw, delete i.extra, i; } parseFunctionBody(r, n, i = !1) { super.parseFunctionBody(r, n, i), r.expression = r.body.type !== "BlockStatement"; } parseMethod(r, n, i, a, o, l, u = !1) { let c = this.startNode(); return c.kind = r.kind, c = super.parseMethod(c, n, i, a, o, l, u), c.type = "FunctionExpression", delete c.kind, r.value = c, l === "\ ClassPrivateMethod" && (r.computed = !1), this.finishNode(r, "MethodDefinition"); } nameIsConstructor(r) { return r.type === "Literal" ? r.value === "constructor" : super.nameIsConstructor(r); } parseClassProperty(...r) { let n = super.parseClassProperty(...r); return this.getPluginOption("estree", "classFeatures") && (n.type = "PropertyDefinition"), n; } parseClassPrivateProperty(...r) { let n = super.parseClassPrivateProperty(...r); return this.getPluginOption("estree", "classFeatures") && (n.type = "PropertyDefinition", n.computed = !1), n; } parseObjectMethod(r, n, i, a, o) { let l = super.parseObjectMethod(r, n, i, a, o); return l && (l.type = "Property", l.kind === "method" && (l.kind = "init"), l.shorthand = !1), l; } parseObjectProperty(r, n, i, a) { let o = super.parseObjectProperty(r, n, i, a); return o && (o.kind = "init", o.type = "Property"), o; } isValidLVal(r, n, i) { return r === "Property" ? "value" : super.isValidLVal(r, n, i); } isAssignable(r, n) { return r != null && this.isObjectProperty(r) ? this.isAssignable(r.value, n) : super.isAssignable(r, n); } toAssignable(r, n = !1) { if (r != null && this.isObjectProperty(r)) { let { key: i, value: a } = r; this.isPrivateName(i) && this.classScope.usePrivateName(this.getPrivateNameSV(i), i.loc.start), this.toAssignable(a, n); } else super.toAssignable(r, n); } toAssignableObjectExpressionProp(r, n, i) { r.type === "Property" && (r.kind === "get" || r.kind === "set") ? this.raise(_.PatternHasAccessor, r.key) : r.type === "Property" && r. method ? this.raise(_.PatternHasMethod, r.key) : super.toAssignableObjectExpressionProp(r, n, i); } finishCallExpression(r, n) { let i = super.finishCallExpression(r, n); if (i.callee.type === "Import") { if (i.type = "ImportExpression", i.source = i.arguments[0], this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) { var a, o; i.options = (a = i.arguments[1]) != null ? a : null, i.attributes = (o = i.arguments[1]) != null ? o : null; } delete i.arguments, delete i.callee; } return i; } toReferencedArguments(r) { r.type !== "ImportExpression" && super.toReferencedArguments(r); } parseExport(r, n) { let i = this.state.lastTokStartLoc, a = super.parseExport(r, n); switch (a.type) { case "ExportAllDeclaration": a.exported = null; break; case "ExportNamedDeclaration": a.specifiers.length === 1 && a.specifiers[0].type === "ExportNamespaceSpecifier" && (a.type = "ExportAllDeclaration", a.exported = a.specifiers[0].exported, delete a.specifiers); case "ExportDefaultDeclaration": { var o; let { declaration: l } = a; l?.type === "ClassDeclaration" && ((o = l.decorators) == null ? void 0 : o.length) > 0 && l.start === a.start && this.resetStartLocation( a, i); } break; } return a; } parseSubscript(r, n, i, a) { let o = super.parseSubscript(r, n, i, a); if (a.optionalChainMember) { if ((o.type === "OptionalMemberExpression" || o.type === "OptionalCallExpression") && (o.type = o.type.substring(8)), a.stop) { let l = this.startNodeAtNode(o); return l.expression = o, this.finishNode(l, "ChainExpression"); } } else (o.type === "MemberExpression" || o.type === "CallExpression") && (o.optional = !1); return o; } isOptionalMemberExpression(r) { return r.type === "ChainExpression" ? r.expression.type === "MemberExpression" : super.isOptionalMemberExpression(r); } hasPropertyAsPrivateName(r) { return r.type === "ChainExpression" && (r = r.expression), super.hasPropertyAsPrivateName(r); } isObjectProperty(r) { return r.type === "Property" && r.kind === "init" && !r.method; } isObjectMethod(r) { return r.type === "Property" && (r.method || r.kind === "get" || r.kind === "set"); } finishNodeAt(r, n, i) { return Va(super.finishNodeAt(r, n, i)); } resetStartLocation(r, n) { super.resetStartLocation(r, n), Va(r); } resetEndLocation(r, n = this.state.lastTokEndLoc) { super.resetEndLocation(r, n), Va(r); } }, "estree"), Fs = class { static { s(this, "TokContext"); } constructor(t, r) { this.token = void 0, this.preserveSpace = void 0, this.token = t, this.preserveSpace = !!r; } }, it = { brace: new Fs("{"), j_oTag: new Fs("...", !0) }; it.template = new Fs("`", !0); var qe = !0, se = !0, rh = !0, $a = !0, es = !0, UK = !0, Ul = class { static { s(this, "ExportedTokenType"); } constructor(t, r = {}) { 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 = t, this.keyword = r.keyword, this.beforeExpr = !!r.beforeExpr, this.startsExpr = !!r.startsExpr, this.rightAssociative = !!r.rightAssociative, this.isLoop = !!r.isLoop, this.isAssign = !!r.isAssign, this.prefix = !!r.prefix, this.postfix = !!r.postfix, this.binop = r.binop != null ? r.binop : null, this. updateContext = null; } }, Dh = /* @__PURE__ */ new Map(); function He(e, t = {}) { t.keyword = e; let r = Te(e, t); return Dh.set(e, r), r; } s(He, "createKeyword"); function sr(e, t) { return Te(e, { beforeExpr: qe, binop: t }); } s(sr, "createBinop"); var Ha = -1, Cn = [], Ih = [], _h = [], Oh = [], Nh = [], Bh = []; function Te(e, t = {}) { var r, n, i, a; return ++Ha, Ih.push(e), _h.push((r = t.binop) != null ? r : -1), Oh.push((n = t.beforeExpr) != null ? n : !1), Nh.push((i = t.startsExpr) != null ? i : !1), Bh.push((a = t.prefix) != null ? a : !1), Cn.push(new Ul(e, t)), Ha; } s(Te, "createToken"); function Re(e, t = {}) { var r, n, i, a; return ++Ha, Dh.set(e, Ha), Ih.push(e), _h.push((r = t.binop) != null ? r : -1), Oh.push((n = t.beforeExpr) != null ? n : !1), Nh.push((i = t.startsExpr) != null ? i : !1), Bh.push((a = t.prefix) != null ? a : !1), Cn.push(new Ul("name", t)), Ha; } s(Re, "createKeywordLike"); var VK = { bracketL: Te("[", { beforeExpr: qe, startsExpr: se }), bracketHashL: Te("#[", { beforeExpr: qe, startsExpr: se }), bracketBarL: Te("[|", { beforeExpr: qe, startsExpr: se }), bracketR: Te("]"), bracketBarR: Te("|]"), braceL: Te("{", { beforeExpr: qe, startsExpr: se }), braceBarL: Te("{|", { beforeExpr: qe, startsExpr: se }), braceHashL: Te("#{", { beforeExpr: qe, startsExpr: se }), braceR: Te("}"), braceBarR: Te("|}"), parenL: Te("(", { beforeExpr: qe, startsExpr: se }), parenR: Te(")"), comma: Te(",", { beforeExpr: qe }), semi: Te(";", { beforeExpr: qe }), colon: Te(":", { beforeExpr: qe }), doubleColon: Te("::", { beforeExpr: qe }), dot: Te("."), question: Te("?", { beforeExpr: qe }), questionDot: Te("?."), arrow: Te("=>", { beforeExpr: qe }), template: Te("template"), ellipsis: Te("...", { beforeExpr: qe }), backQuote: Te("`", { startsExpr: se }), dollarBraceL: Te("${", { beforeExpr: qe, startsExpr: se }), templateTail: Te("...`", { startsExpr: se }), templateNonTail: Te("...${", { beforeExpr: qe, startsExpr: se }), at: Te("@"), hash: Te("#", { startsExpr: se }), interpreterDirective: Te("#!..."), eq: Te("=", { beforeExpr: qe, isAssign: $a }), assign: Te("_=", { beforeExpr: qe, isAssign: $a }), slashAssign: Te("_=", { beforeExpr: qe, isAssign: $a }), xorAssign: Te("_=", { beforeExpr: qe, isAssign: $a }), moduloAssign: Te("_=", { beforeExpr: qe, isAssign: $a }), incDec: Te("++/--", { prefix: es, postfix: UK, startsExpr: se }), bang: Te("!", { beforeExpr: qe, prefix: es, startsExpr: se }), tilde: Te("~", { beforeExpr: qe, prefix: es, startsExpr: se }), doubleCaret: Te("^^", { startsExpr: se }), doubleAt: Te("@@", { startsExpr: se }), pipeline: sr("|>", 0), nullishCoalescing: sr("??", 1), logicalOR: sr("||", 1), logicalAND: sr("&&", 2), bitwiseOR: sr("|", 3), bitwiseXOR: sr("^", 4), bitwiseAND: sr("&", 5), equality: sr("==/!=/===/!==", 6), lt: sr("/<=/>=", 7), gt: sr("/<=/>=", 7), relational: sr("/<=/>=", 7), bitShift: sr("<>/>>>", 8), bitShiftL: sr("<>/>>>", 8), bitShiftR: sr("<>/>>>", 8), plusMin: Te("+/-", { beforeExpr: qe, binop: 9, prefix: es, startsExpr: se }), modulo: Te("%", { binop: 10, startsExpr: se }), star: Te("*", { binop: 10 }), slash: sr("/", 10), exponent: Te("**", { beforeExpr: qe, binop: 11, rightAssociative: !0 }), _in: He("in", { beforeExpr: qe, binop: 7 }), _instanceof: He("instanceof", { beforeExpr: qe, binop: 7 }), _break: He("break"), _case: He("case", { beforeExpr: qe }), _catch: He("catch"), _continue: He("continue"), _debugger: He("debugger"), _default: He("default", { beforeExpr: qe }), _else: He("else", { beforeExpr: qe }), _finally: He("finally"), _function: He("function", { startsExpr: se }), _if: He("if"), _return: He("return", { beforeExpr: qe }), _switch: He("switch"), _throw: He("throw", { beforeExpr: qe, prefix: es, startsExpr: se }), _try: He("try"), _var: He("var"), _const: He("const"), _with: He("with"), _new: He("new", { beforeExpr: qe, startsExpr: se }), _this: He("this", { startsExpr: se }), _super: He("super", { startsExpr: se }), _class: He("class", { startsExpr: se }), _extends: He("extends", { beforeExpr: qe }), _export: He("export"), _import: He("import", { startsExpr: se }), _null: He("null", { startsExpr: se }), _true: He("true", { startsExpr: se }), _false: He("false", { startsExpr: se }), _typeof: He("typeof", { beforeExpr: qe, prefix: es, startsExpr: se }), _void: He("void", { beforeExpr: qe, prefix: es, startsExpr: se }), _delete: He("delete", { beforeExpr: qe, prefix: es, startsExpr: se }), _do: He("do", { isLoop: rh, beforeExpr: qe }), _for: He("for", { isLoop: rh }), _while: He("while", { isLoop: rh }), _as: Re("as", { startsExpr: se }), _assert: Re("assert", { startsExpr: se }), _async: Re("async", { startsExpr: se }), _await: Re("await", { startsExpr: se }), _defer: Re("defer", { startsExpr: se }), _from: Re("from", { startsExpr: se }), _get: Re("get", { startsExpr: se }), _let: Re("let", { startsExpr: se }), _meta: Re("meta", { startsExpr: se }), _of: Re("of", { startsExpr: se }), _sent: Re("sent", { startsExpr: se }), _set: Re("set", { startsExpr: se }), _source: Re("source", { startsExpr: se }), _static: Re("static", { startsExpr: se }), _using: Re("using", { startsExpr: se }), _yield: Re("yield", { startsExpr: se }), _asserts: Re("asserts", { startsExpr: se }), _checks: Re("checks", { startsExpr: se }), _exports: Re("exports", { startsExpr: se }), _global: Re("global", { startsExpr: se }), _implements: Re("implements", { startsExpr: se }), _intrinsic: Re("intrinsic", { startsExpr: se }), _infer: Re("infer", { startsExpr: se }), _is: Re("is", { startsExpr: se }), _mixins: Re("mixins", { startsExpr: se }), _proto: Re("proto", { startsExpr: se }), _require: Re("require", { startsExpr: se }), _satisfies: Re("satisfies", { startsExpr: se }), _keyof: Re("keyof", { startsExpr: se }), _readonly: Re("readonly", { startsExpr: se }), _unique: Re("unique", { startsExpr: se }), _abstract: Re("abstract", { startsExpr: se }), _declare: Re("declare", { startsExpr: se }), _enum: Re("enum", { startsExpr: se }), _module: Re("module", { startsExpr: se }), _namespace: Re("namespace", { startsExpr: se }), _interface: Re("interface", { startsExpr: se }), _type: Re("type", { startsExpr: se }), _opaque: Re("opaque", { startsExpr: se }), name: Te("name", { startsExpr: se }), string: Te("string", { startsExpr: se }), num: Te("num", { startsExpr: se }), bigint: Te("bigint", { startsExpr: se }), decimal: Te("decimal", { startsExpr: se }), regexp: Te("regexp", { startsExpr: se }), privateName: Te("#name", { startsExpr: se }), eof: Te("eof"), jsxName: Te("jsxName"), jsxText: Te("jsxText", { beforeExpr: !0 }), jsxTagStart: Te("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: Te("jsxTagEnd"), placeholder: Te("%%", { startsExpr: !0 }) }; function et(e) { return e >= 93 && e <= 132; } s(et, "tokenIsIdentifier"); function $K(e) { return e <= 92; } s($K, "tokenKeywordOrIdentifierIsKeyword"); function $r(e) { return e >= 58 && e <= 132; } s($r, "tokenIsKeywordOrIdentifier"); function sT(e) { return e >= 58 && e <= 136; } s(sT, "tokenIsLiteralPropertyName"); function WK(e) { return Oh[e]; } s(WK, "tokenComesBeforeExpression"); function lh(e) { return Nh[e]; } s(lh, "tokenCanStartExpression"); function KK(e) { return e >= 29 && e <= 33; } s(KK, "tokenIsAssignment"); function Hv(e) { return e >= 129 && e <= 131; } s(Hv, "tokenIsFlowInterfaceOrTypeOrOpaque"); function GK(e) { return e >= 90 && e <= 92; } s(GK, "tokenIsLoop"); function kh(e) { return e >= 58 && e <= 92; } s(kh, "tokenIsKeyword"); function HK(e) { return e >= 39 && e <= 59; } s(HK, "tokenIsOperator"); function YK(e) { return e === 34; } s(YK, "tokenIsPostfix"); function zK(e) { return Bh[e]; } s(zK, "tokenIsPrefix"); function JK(e) { return e >= 121 && e <= 123; } s(JK, "tokenIsTSTypeOperator"); function XK(e) { return e >= 124 && e <= 130; } s(XK, "tokenIsTSDeclarationStart"); function rs(e) { return Ih[e]; } s(rs, "tokenLabelName"); function Rl(e) { return _h[e]; } s(Rl, "tokenOperatorPrecedence"); function QK(e) { return e === 57; } s(QK, "tokenIsRightAssociative"); function Vl(e) { return e >= 24 && e <= 25; } s(Vl, "tokenIsTemplate"); function An(e) { return Cn[e]; } s(An, "getExportedToken"); Cn[8].updateContext = (e) => { e.pop(); }, Cn[5].updateContext = Cn[7].updateContext = Cn[23].updateContext = (e) => { e.push(it.brace); }, Cn[22].updateContext = (e) => { e[e.length - 1] === it.template ? e.pop() : e.push(it.template); }, Cn[142].updateContext = (e) => { e.push(it.j_expr, it.j_oTag); }; var Fh = "\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", iT = "\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", ZK = new RegExp("[" + Fh + "]"), eG = new RegExp("[" + Fh + iT + "]"); Fh = iT = null; var aT = [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], tG = [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]; function uh(e, t) { let r = 65536; for (let n = 0, i = t.length; n < i; n += 2) { if (r += t[n], r > e) return !1; if (r += t[n + 1], r >= e) return !0; } return !1; } s(uh, "isInAstralSet"); function wn(e) { return e < 65 ? e === 36 : e <= 90 ? !0 : e < 97 ? e === 95 : e <= 122 ? !0 : e <= 65535 ? e >= 170 && ZK.test(String.fromCharCode(e)) : uh(e, aT); } s(wn, "isIdentifierStart"); function Ti(e) { return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e <= 90 ? !0 : e < 97 ? e === 95 : e <= 122 ? !0 : e <= 65535 ? e >= 170 && eG.test( String.fromCharCode(e)) : uh(e, aT) || uh(e, tG); } s(Ti, "isIdentifierChar"); var jh = { keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "swit\ ch", "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"] }, rG = new Set(jh.keyword), nG = new Set(jh.strict), sG = new Set(jh.strictBind); function oT(e, t) { return t && e === "await" || e === "enum"; } s(oT, "isReservedWord"); function lT(e, t) { return oT(e, t) || nG.has(e); } s(lT, "isStrictReservedWord"); function uT(e) { return sG.has(e); } s(uT, "isStrictBindOnlyReservedWord"); function cT(e, t) { return lT(e, t) || uT(e); } s(cT, "isStrictBindReservedWord"); function iG(e) { return rG.has(e); } s(iG, "isKeyword"); function aG(e, t, r) { return e === 64 && t === 64 && wn(r); } s(aG, "isIteratorStart"); var oG = /* @__PURE__ */ 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", "protecte\ d", "public", "static", "yield", "eval", "arguments", "enum", "await"]); function lG(e) { return oG.has(e); } s(lG, "canBeReservedWord"); var Ya = class { static { s(this, "Scope"); } constructor(t) { this.flags = 0, this.names = /* @__PURE__ */ new Map(), this.firstLexicalName = "", this.flags = t; } }, za = class { static { s(this, "ScopeHandler"); } constructor(t, r) { this.parser = void 0, this.scopeStack = [], this.inModule = void 0, this.undefinedExports = /* @__PURE__ */ new Map(), this.parser = t, this.inModule = r; } get inTopLevel() { return (this.currentScope().flags & 1) > 0; } get inFunction() { return (this.currentVarScopeFlags() & 2) > 0; } get allowSuper() { return (this.currentThisScopeFlags() & 16) > 0; } get allowDirectSuper() { return (this.currentThisScopeFlags() & 32) > 0; } get inClass() { return (this.currentThisScopeFlags() & 64) > 0; } get inClassAndNotInNonArrowFunction() { let t = this.currentThisScopeFlags(); return (t & 64) > 0 && (t & 2) === 0; } get inStaticBlock() { for (let t = this.scopeStack.length - 1; ; t--) { let { flags: r } = this.scopeStack[t]; if (r & 128) return !0; if (r & 451) return !1; } } get inNonArrowFunction() { return (this.currentThisScopeFlags() & 2) > 0; } get treatFunctionsAsVar() { return this.treatFunctionsAsVarInScope(this.currentScope()); } createScope(t) { return new Ya(t); } enter(t) { this.scopeStack.push(this.createScope(t)); } exit() { return this.scopeStack.pop().flags; } treatFunctionsAsVarInScope(t) { return !!(t.flags & 130 || !this.parser.inModule && t.flags & 1); } declareName(t, r, n) { let i = this.currentScope(); if (r & 8 || r & 16) { this.checkRedeclarationInScope(i, t, r, n); let a = i.names.get(t) || 0; r & 16 ? a = a | 4 : (i.firstLexicalName || (i.firstLexicalName = t), a = a | 2), i.names.set(t, a), r & 8 && this.maybeExportDefined( i, t); } else if (r & 4) for (let a = this.scopeStack.length - 1; a >= 0 && (i = this.scopeStack[a], this.checkRedeclarationInScope(i, t, r, n), i.names.set( t, (i.names.get(t) || 0) | 1), this.maybeExportDefined(i, t), !(i.flags & 387)); --a) ; this.parser.inModule && i.flags & 1 && this.undefinedExports.delete(t); } maybeExportDefined(t, r) { this.parser.inModule && t.flags & 1 && this.undefinedExports.delete(r); } checkRedeclarationInScope(t, r, n, i) { this.isRedeclaredInScope(t, r, n) && this.parser.raise(_.VarRedeclaration, i, { identifierName: r }); } isRedeclaredInScope(t, r, n) { if (!(n & 1)) return !1; if (n & 8) return t.names.has(r); let i = t.names.get(r); return n & 16 ? (i & 2) > 0 || !this.treatFunctionsAsVarInScope(t) && (i & 1) > 0 : (i & 2) > 0 && !(t.flags & 8 && t.firstLexicalName === r) || !this.treatFunctionsAsVarInScope(t) && (i & 4) > 0; } checkLocalExport(t) { let { name: r } = t; this.scopeStack[0].names.has(r) || this.undefinedExports.set(r, t.loc.start); } currentScope() { return this.scopeStack[this.scopeStack.length - 1]; } currentVarScopeFlags() { for (let t = this.scopeStack.length - 1; ; t--) { let { flags: r } = this.scopeStack[t]; if (r & 387) return r; } } currentThisScopeFlags() { for (let t = this.scopeStack.length - 1; ; t--) { let { flags: r } = this.scopeStack[t]; if (r & 451 && !(r & 4)) return r; } } }, ch = class extends Ya { static { s(this, "FlowScope"); } constructor(...t) { super(...t), this.declareFunctions = /* @__PURE__ */ new Set(); } }, fh = class extends za { static { s(this, "FlowScopeHandler"); } createScope(t) { return new ch(t); } declareName(t, r, n) { let i = this.currentScope(); if (r & 2048) { this.checkRedeclarationInScope(i, t, r, n), this.maybeExportDefined(i, t), i.declareFunctions.add(t); return; } super.declareName(t, r, n); } isRedeclaredInScope(t, r, n) { if (super.isRedeclaredInScope(t, r, n)) return !0; if (n & 2048 && !t.declareFunctions.has(r)) { let i = t.names.get(r); return (i & 4) > 0 || (i & 2) > 0; } return !1; } checkLocalExport(t) { this.scopeStack[0].declareFunctions.has(t.name) || super.checkLocalExport(t); } }, ph = class { static { s(this, "BaseParser"); } constructor() { this.sawUnambiguousESM = !1, this.ambiguousScriptDifferentAst = !1; } hasPlugin(t) { if (typeof t == "string") return this.plugins.has(t); { let [r, n] = t; if (!this.hasPlugin(r)) return !1; let i = this.plugins.get(r); for (let a of Object.keys(n)) if (i?.[a] !== n[a]) return !1; return !0; } } getPluginOption(t, r) { var n; return (n = this.plugins.get(t)) == null ? void 0 : n[r]; } }; function fT(e, t) { e.trailingComments === void 0 ? e.trailingComments = t : e.trailingComments.unshift(...t); } s(fT, "setTrailingComments"); function uG(e, t) { e.leadingComments === void 0 ? e.leadingComments = t : e.leadingComments.unshift(...t); } s(uG, "setLeadingComments"); function Ja(e, t) { e.innerComments === void 0 ? e.innerComments = t : e.innerComments.unshift(...t); } s(Ja, "setInnerComments"); function Wa(e, t, r) { let n = null, i = t.length; for (; n === null && i > 0; ) n = t[--i]; n === null || n.start > r.start ? Ja(e, r.comments) : fT(n, r.comments); } s(Wa, "adjustInnerComments"); var dh = class extends ph { static { s(this, "CommentsParser"); } addComment(t) { this.filename && (t.loc.filename = this.filename); let { commentsLen: r } = this.state; this.comments.length !== r && (this.comments.length = r), this.comments.push(t), this.state.commentsLen++; } processComment(t) { let { commentStack: r } = this.state, n = r.length; if (n === 0) return; let i = n - 1, a = r[i]; a.start === t.end && (a.leadingNode = t, i--); let { start: o } = t; for (; i >= 0; i--) { let l = r[i], u = l.end; if (u > o) l.containingNode = t, this.finalizeComment(l), r.splice(i, 1); else { u === o && (l.trailingNode = t); break; } } } finalizeComment(t) { let { comments: r } = t; if (t.leadingNode !== null || t.trailingNode !== null) t.leadingNode !== null && fT(t.leadingNode, r), t.trailingNode !== null && uG(t.trailingNode, r); else { let { containingNode: n, start: i } = t; if (this.input.charCodeAt(i - 1) === 44) switch (n.type) { case "ObjectExpression": case "ObjectPattern": case "RecordExpression": Wa(n, n.properties, t); break; case "CallExpression": case "OptionalCallExpression": Wa(n, n.arguments, t); break; case "FunctionDeclaration": case "FunctionExpression": case "ArrowFunctionExpression": case "ObjectMethod": case "ClassMethod": case "ClassPrivateMethod": Wa(n, n.params, t); break; case "ArrayExpression": case "ArrayPattern": case "TupleExpression": Wa(n, n.elements, t); break; case "ExportNamedDeclaration": case "ImportDeclaration": Wa(n, n.specifiers, t); break; default: Ja(n, r); } else Ja(n, r); } } finalizeRemainingComments() { let { commentStack: t } = this.state; for (let r = t.length - 1; r >= 0; r--) this.finalizeComment(t[r]); this.state.commentStack = []; } resetPreviousNodeTrailingComments(t) { let { commentStack: r } = this.state, { length: n } = r; if (n === 0) return; let i = r[n - 1]; i.leadingNode === t && (i.leadingNode = null); } resetPreviousIdentifierLeadingComments(t) { let { commentStack: r } = this.state, { length: n } = r; n !== 0 && (r[n - 1].trailingNode === t ? r[n - 1].trailingNode = null : n >= 2 && r[n - 2].trailingNode === t && (r[n - 2].trailingNode = null)); } takeSurroundingComments(t, r, n) { let { commentStack: i } = this.state, a = i.length; if (a === 0) return; let o = a - 1; for (; o >= 0; o--) { let l = i[o], u = l.end; if (l.start === n) l.leadingNode = t; else if (u === r) l.trailingNode = t; else if (u < r) break; } } }, cG = /\r\n|[\r\n\u2028\u2029]/, jl = new RegExp(cG.source, "g"); function xi(e) { switch (e) { case 10: case 13: case 8232: case 8233: return !0; default: return !1; } } s(xi, "isNewLine"); function Yv(e, t, r) { for (let n = t; n < r; n++) if (xi(e.charCodeAt(n))) return !0; return !1; } s(Yv, "hasNewLine"); var nh = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, sh = /(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g; function fG(e) { switch (e) { 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; } } s(fG, "isWhitespace"); var hh = class e { static { s(this, "State"); } 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 = [it.brace], this.firstInvalidTemplateEscapePos = null, this.strictErrors = /* @__PURE__ */ new Map(), this.tokensLength = 0; } get strict() { return (this.flags & 1) > 0; } set strict(t) { t ? this.flags |= 1 : this.flags &= -2; } init({ strictMode: t, sourceType: r, startLine: n, startColumn: i }) { this.strict = t === !1 ? !1 : t === !0 ? !0 : r === "module", this.curLine = n, this.lineStart = -i, this.startLoc = this.endLoc = new cn( n, i, 0); } get maybeInArrowParameters() { return (this.flags & 2) > 0; } set maybeInArrowParameters(t) { t ? this.flags |= 2 : this.flags &= -3; } get inType() { return (this.flags & 4) > 0; } set inType(t) { t ? this.flags |= 4 : this.flags &= -5; } get noAnonFunctionType() { return (this.flags & 8) > 0; } set noAnonFunctionType(t) { t ? this.flags |= 8 : this.flags &= -9; } get hasFlowComment() { return (this.flags & 16) > 0; } set hasFlowComment(t) { t ? this.flags |= 16 : this.flags &= -17; } get isAmbientContext() { return (this.flags & 32) > 0; } set isAmbientContext(t) { t ? this.flags |= 32 : this.flags &= -33; } get inAbstractClass() { return (this.flags & 64) > 0; } set inAbstractClass(t) { t ? this.flags |= 64 : this.flags &= -65; } get inDisallowConditionalTypesContext() { return (this.flags & 128) > 0; } set inDisallowConditionalTypesContext(t) { t ? this.flags |= 128 : this.flags &= -129; } get soloAwait() { return (this.flags & 256) > 0; } set soloAwait(t) { t ? this.flags |= 256 : this.flags &= -257; } get inFSharpPipelineDirectBody() { return (this.flags & 512) > 0; } set inFSharpPipelineDirectBody(t) { t ? this.flags |= 512 : this.flags &= -513; } get canStartJSXElement() { return (this.flags & 1024) > 0; } set canStartJSXElement(t) { t ? this.flags |= 1024 : this.flags &= -1025; } get containsEsc() { return (this.flags & 2048) > 0; } set containsEsc(t) { t ? this.flags |= 2048 : this.flags &= -2049; } get hasTopLevelAwait() { return (this.flags & 4096) > 0; } set hasTopLevelAwait(t) { t ? this.flags |= 4096 : this.flags &= -4097; } curPosition() { return new cn(this.curLine, this.pos - this.lineStart, this.pos); } clone() { let t = new e(); return t.flags = this.flags, t.curLine = this.curLine, t.lineStart = this.lineStart, t.startLoc = this.startLoc, t.endLoc = this.endLoc, t.errors = this.errors.slice(), t.potentialArrowAt = this.potentialArrowAt, t.noArrowAt = this.noArrowAt.slice(), t.noArrowParamsConversionAt = this.noArrowParamsConversionAt.slice(), t.topicContext = this.topicContext, t.labels = this.labels.slice(), t.commentsLen = this.commentsLen, t.commentStack = this.commentStack.slice(), t.pos = this.pos, t.type = this.type, t.value = this.value, t.start = this.start, t.end = this. end, t.lastTokEndLoc = this.lastTokEndLoc, t.lastTokStartLoc = this.lastTokStartLoc, t.context = this.context.slice(), t.firstInvalidTemplateEscapePos = this.firstInvalidTemplateEscapePos, t.strictErrors = this.strictErrors, t.tokensLength = this.tokensLength, t; } }, pG = /* @__PURE__ */ s(function(t) { return t >= 48 && t <= 57; }, "isDigit"), zv = { decBinOct: /* @__PURE__ */ new Set([46, 66, 69, 79, 95, 98, 101, 111]), hex: /* @__PURE__ */ new Set([46, 88, 95, 120]) }, Ll = { bin: /* @__PURE__ */ s((e) => e === 48 || e === 49, "bin"), oct: /* @__PURE__ */ s((e) => e >= 48 && e <= 55, "oct"), dec: /* @__PURE__ */ s((e) => e >= 48 && e <= 57, "dec"), hex: /* @__PURE__ */ s((e) => e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102, "hex") }; function Jv(e, t, r, n, i, a) { let o = r, l = n, u = i, c = "", f = null, p = r, { length: h } = t; for (; ; ) { if (r >= h) { a.unterminated(o, l, u), c += t.slice(p, r); break; } let y = t.charCodeAt(r); if (dG(e, y, t, r)) { c += t.slice(p, r); break; } if (y === 92) { c += t.slice(p, r); let v = hG(t, r, n, i, e === "template", a); v.ch === null && !f ? f = { pos: r, lineStart: n, curLine: i } : c += v.ch, { pos: r, lineStart: n, curLine: i } = v, p = r; } else y === 8232 || y === 8233 ? (++r, ++i, n = r) : y === 10 || y === 13 ? e === "template" ? (c += t.slice(p, r) + ` `, ++r, y === 13 && t.charCodeAt(r) === 10 && ++r, ++i, p = n = r) : a.unterminated(o, l, u) : ++r; } return { pos: r, str: c, firstInvalidLoc: f, lineStart: n, curLine: i, containsInvalid: !!f }; } s(Jv, "readStringContents"); function dG(e, t, r, n) { return e === "template" ? t === 96 || t === 36 && r.charCodeAt(n + 1) === 123 : t === (e === "double" ? 34 : 39); } s(dG, "isStringEnd"); function hG(e, t, r, n, i, a) { let o = !i; t++; let l = /* @__PURE__ */ s((c) => ({ pos: t, ch: c, lineStart: r, curLine: n }), "res"), u = e.charCodeAt(t++); switch (u) { case 110: return l(` `); case 114: return l("\r"); case 120: { let c; return { code: c, pos: t } = mh(e, t, r, n, 2, !1, o, a), l(c === null ? null : String.fromCharCode(c)); } case 117: { let c; return { code: c, pos: t } = dT(e, t, r, n, o, a), l(c === null ? null : String.fromCodePoint(c)); } case 116: return l(" "); case 98: return l("\b"); case 118: return l("\v"); case 102: return l("\f"); case 13: e.charCodeAt(t) === 10 && ++t; case 10: r = t, ++n; case 8232: case 8233: return l(""); case 56: case 57: if (i) return l(null); a.strictNumericEscape(t - 1, r, n); default: if (u >= 48 && u <= 55) { let c = t - 1, p = /^[0-7]+/.exec(e.slice(c, t + 2))[0], h = parseInt(p, 8); h > 255 && (p = p.slice(0, -1), h = parseInt(p, 8)), t += p.length - 1; let y = e.charCodeAt(t); if (p !== "0" || y === 56 || y === 57) { if (i) return l(null); a.strictNumericEscape(c, r, n); } return l(String.fromCharCode(h)); } return l(String.fromCharCode(u)); } } s(hG, "readEscapedChar"); function mh(e, t, r, n, i, a, o, l) { let u = t, c; return { n: c, pos: t } = pT(e, t, r, n, 16, i, a, !1, l, !o), c === null && (o ? l.invalidEscapeSequence(u, r, n) : t = u - 1), { code: c, pos: t }; } s(mh, "readHexChar"); function pT(e, t, r, n, i, a, o, l, u, c) { let f = t, p = i === 16 ? zv.hex : zv.decBinOct, h = i === 16 ? Ll.hex : i === 10 ? Ll.dec : i === 8 ? Ll.oct : Ll.bin, y = !1, v = 0; for (let d = 0, b = a ?? 1 / 0; d < b; ++d) { let E = e.charCodeAt(t), I; if (E === 95 && l !== "bail") { let O = e.charCodeAt(t - 1), k = e.charCodeAt(t + 1); if (l) { if (Number.isNaN(k) || !h(k) || p.has(O) || p.has(k)) { if (c) return { n: null, pos: t }; u.unexpectedNumericSeparator(t, r, n); } } else { if (c) return { n: null, pos: t }; u.numericSeparatorInEscapeSequence(t, r, n); } ++t; continue; } if (E >= 97 ? I = E - 97 + 10 : E >= 65 ? I = E - 65 + 10 : pG(E) ? I = E - 48 : I = 1 / 0, I >= i) { if (I <= 9 && c) return { n: null, pos: t }; if (I <= 9 && u.invalidDigit(t, r, n, i)) I = 0; else if (o) I = 0, y = !0; else break; } ++t, v = v * i + I; } return t === f || a != null && t - f !== a || y ? { n: null, pos: t } : { n: v, pos: t }; } s(pT, "readInt"); function dT(e, t, r, n, i, a) { let o = e.charCodeAt(t), l; if (o === 123) { if (++t, { code: l, pos: t } = mh(e, t, r, n, e.indexOf("}", t) - t, !0, i, a), ++t, l !== null && l > 1114111) if (i) a.invalidCodePoint(t, r, n); else return { code: null, pos: t }; } else ({ code: l, pos: t } = mh(e, t, r, n, 4, !1, i, a)); return { code: l, pos: t }; } s(dT, "readCodePoint"); function Ka(e, t, r) { return new cn(r, e - t, e); } s(Ka, "buildPosition"); var mG = /* @__PURE__ */ new Set([103, 109, 115, 105, 121, 117, 100, 118]), un = class { static { s(this, "Token"); } constructor(t) { this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, this.loc = new Pi(t.startLoc, t.endLoc); } }, yh = class extends dh { static { s(this, "Tokenizer"); } constructor(t, r) { super(), this.isLookahead = void 0, this.tokens = [], this.errorHandlers_readInt = { invalidDigit: /* @__PURE__ */ s((n, i, a, o) => this.options.errorRecovery ? (this.raise(_.InvalidDigit, Ka(n, i, a), { radix: o }), !0) : !1, "invalidDigit"), numericSeparatorInEscapeSequence: this.errorBuilder(_.NumericSeparatorInEscapeSequence), unexpectedNumericSeparator: this.errorBuilder(_.UnexpectedNumericSeparator) }, this.errorHandlers_readCodePoint = Object.assign({}, this.errorHandlers_readInt, { invalidEscapeSequence: this.errorBuilder(_.InvalidEscapeSequence), invalidCodePoint: this.errorBuilder(_.InvalidCodePoint) }), this.errorHandlers_readStringContents_string = Object.assign({}, this.errorHandlers_readCodePoint, { strictNumericEscape: /* @__PURE__ */ s((n, i, a) => { this.recordStrictModeErrors(_.StrictNumericEscape, Ka(n, i, a)); }, "strictNumericEscape"), unterminated: /* @__PURE__ */ s((n, i, a) => { throw this.raise(_.UnterminatedString, Ka(n - 1, i, a)); }, "unterminated") }), this.errorHandlers_readStringContents_template = Object.assign({}, this.errorHandlers_readCodePoint, { strictNumericEscape: this.errorBuilder(_.StrictNumericEscape), unterminated: /* @__PURE__ */ s((n, i, a) => { throw this.raise(_.UnterminatedTemplate, Ka(n, i, a)); }, "unterminated") }), this.state = new hh(), this.state.init(t), this.input = r, this.length = r.length, this.comments = [], this.isLookahead = !1; } pushToken(t) { this.tokens.length = this.state.tokensLength, this.tokens.push(t), ++this.state.tokensLength; } next() { this.checkKeywordEscapes(), this.options.tokens && this.pushToken(new un(this.state)), this.state.lastTokEndLoc = this.state.endLoc, this. state.lastTokStartLoc = this.state.startLoc, this.nextToken(); } eat(t) { return this.match(t) ? (this.next(), !0) : !1; } match(t) { return this.state.type === t; } createLookaheadState(t) { return { pos: t.pos, value: null, type: t.type, start: t.start, end: t.end, context: [this.curContext()], inType: t.inType, startLoc: t.startLoc, lastTokEndLoc: t.lastTokEndLoc, curLine: t.curLine, lineStart: t.lineStart, curPosition: t.curPosition }; } lookahead() { let t = this.state; this.state = this.createLookaheadState(t), this.isLookahead = !0, this.nextToken(), this.isLookahead = !1; let r = this.state; return this.state = t, r; } nextTokenStart() { return this.nextTokenStartSince(this.state.pos); } nextTokenStartSince(t) { return nh.lastIndex = t, nh.test(this.input) ? nh.lastIndex : t; } lookaheadCharCode() { return this.input.charCodeAt(this.nextTokenStart()); } nextTokenInLineStart() { return this.nextTokenInLineStartSince(this.state.pos); } nextTokenInLineStartSince(t) { return sh.lastIndex = t, sh.test(this.input) ? sh.lastIndex : t; } lookaheadInLineCharCode() { return this.input.charCodeAt(this.nextTokenInLineStart()); } codePointAtPos(t) { let r = this.input.charCodeAt(t); if ((r & 64512) === 55296 && ++t < this.input.length) { let n = this.input.charCodeAt(t); (n & 64512) === 56320 && (r = 65536 + ((r & 1023) << 10) + (n & 1023)); } return r; } setStrict(t) { this.state.strict = t, t && (this.state.strictErrors.forEach(([r, n]) => this.raise(r, n)), 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()), this.state. pos >= this.length) { this.finishToken(139); return; } this.getTokenFromCode(this.codePointAtPos(this.state.pos)); } skipBlockComment(t) { let r; this.isLookahead || (r = this.state.curPosition()); let n = this.state.pos, i = this.input.indexOf(t, n + 2); if (i === -1) throw this.raise(_.UnterminatedComment, this.state.curPosition()); for (this.state.pos = i + t.length, jl.lastIndex = n + 2; jl.test(this.input) && jl.lastIndex <= i; ) ++this.state.curLine, this.state.lineStart = jl.lastIndex; if (this.isLookahead) return; let a = { type: "CommentBlock", value: this.input.slice(n + 2, i), start: n, end: i + t.length, loc: new Pi(r, this.state.curPosition()) }; return this.options.tokens && this.pushToken(a), a; } skipLineComment(t) { let r = this.state.pos, n; this.isLookahead || (n = this.state.curPosition()); let i = this.input.charCodeAt(this.state.pos += t); if (this.state.pos < this.length) for (; !xi(i) && ++this.state.pos < this.length; ) i = this.input.charCodeAt(this.state.pos); if (this.isLookahead) return; let a = this.state.pos, l = { type: "CommentLine", value: this.input.slice(r + t, a), start: r, end: a, loc: new Pi(n, this.state.curPosition()) }; return this.options.tokens && this.pushToken(l), l; } skipSpace() { let t = this.state.pos, r = []; e: for (; this.state.pos < this.length; ) { let n = this.input.charCodeAt(this.state.pos); switch (n) { case 32: case 160: case 9: ++this.state.pos; break; case 13: this.input.charCodeAt(this.state.pos + 1) === 10 && ++this.state.pos; case 10: case 8232: case 8233: ++this.state.pos, ++this.state.curLine, this.state.lineStart = this.state.pos; break; case 47: switch (this.input.charCodeAt(this.state.pos + 1)) { case 42: { let i = this.skipBlockComment("*/"); i !== void 0 && (this.addComment(i), this.options.attachComment && r.push(i)); break; } case 47: { let i = this.skipLineComment(2); i !== void 0 && (this.addComment(i), this.options.attachComment && r.push(i)); break; } default: break e; } break; default: if (fG(n)) ++this.state.pos; else if (n === 45 && !this.inModule && this.options.annexB) { let i = this.state.pos; if (this.input.charCodeAt(i + 1) === 45 && this.input.charCodeAt(i + 2) === 62 && (t === 0 || this.state.lineStart > t)) { let a = this.skipLineComment(3); a !== void 0 && (this.addComment(a), this.options.attachComment && r.push(a)); } else break e; } else if (n === 60 && !this.inModule && this.options.annexB) { let i = this.state.pos; if (this.input.charCodeAt(i + 1) === 33 && this.input.charCodeAt(i + 2) === 45 && this.input.charCodeAt(i + 3) === 45) { let a = this.skipLineComment(4); a !== void 0 && (this.addComment(a), this.options.attachComment && r.push(a)); } else break e; } else break e; } } if (r.length > 0) { let n = this.state.pos, i = { start: t, end: n, comments: r, leadingNode: null, trailingNode: null, containingNode: null }; this.state.commentStack.push(i); } } finishToken(t, r) { this.state.end = this.state.pos, this.state.endLoc = this.state.curPosition(); let n = this.state.type; this.state.type = t, this.state.value = r, this.isLookahead || this.updateContext(n); } replaceToken(t) { this.state.type = t, this.updateContext(); } readToken_numberSign() { if (this.state.pos === 0 && this.readToken_interpreter()) return; let t = this.state.pos + 1, r = this.codePointAtPos(t); if (r >= 48 && r <= 57) throw this.raise(_.UnexpectedDigitAfterHash, this.state.curPosition()); if (r === 123 || r === 91 && this.hasPlugin("recordAndTuple")) { if (this.expectPlugin("recordAndTuple"), this.getPluginOption("recordAndTuple", "syntaxType") === "bar") throw this.raise(r === 123 ? _.RecordExpressionHashIncorrectStartSyntaxType : _.TupleExpressionHashIncorrectStartSyntaxType, this. state.curPosition()); this.state.pos += 2, r === 123 ? this.finishToken(7) : this.finishToken(1); } else wn(r) ? (++this.state.pos, this.finishToken(138, this.readWord1(r))) : r === 92 ? (++this.state.pos, this.finishToken(138, this. readWord1())) : this.finishOp(27, 1); } readToken_dot() { let t = this.input.charCodeAt(this.state.pos + 1); if (t >= 48 && t <= 57) { this.readNumber(!0); return; } t === 46 && this.input.charCodeAt(this.state.pos + 2) === 46 ? (this.state.pos += 3, this.finishToken(21)) : (++this.state.pos, this.finishToken( 16)); } readToken_slash() { this.input.charCodeAt(this.state.pos + 1) === 61 ? this.finishOp(31, 2) : this.finishOp(56, 1); } readToken_interpreter() { if (this.state.pos !== 0 || this.length < 2) return !1; let t = this.input.charCodeAt(this.state.pos + 1); if (t !== 33) return !1; let r = this.state.pos; for (this.state.pos += 1; !xi(t) && ++this.state.pos < this.length; ) t = this.input.charCodeAt(this.state.pos); let n = this.input.slice(r + 2, this.state.pos); return this.finishToken(28, n), !0; } readToken_mult_modulo(t) { let r = t === 42 ? 55 : 54, n = 1, i = this.input.charCodeAt(this.state.pos + 1); t === 42 && i === 42 && (n++, i = this.input.charCodeAt(this.state.pos + 2), r = 57), i === 61 && !this.state.inType && (n++, r = t === 37 ? 33 : 30), this.finishOp(r, n); } readToken_pipe_amp(t) { let r = this.input.charCodeAt(this.state.pos + 1); if (r === t) { this.input.charCodeAt(this.state.pos + 2) === 61 ? this.finishOp(30, 3) : this.finishOp(t === 124 ? 41 : 42, 2); return; } if (t === 124) { if (r === 62) { this.finishOp(39, 2); return; } if (this.hasPlugin("recordAndTuple") && r === 125) { if (this.getPluginOption("recordAndTuple", "syntaxType") !== "bar") throw this.raise(_.RecordExpressionBarIncorrectEndSyntaxType, this.state.curPosition()); this.state.pos += 2, this.finishToken(9); return; } if (this.hasPlugin("recordAndTuple") && r === 93) { if (this.getPluginOption("recordAndTuple", "syntaxType") !== "bar") throw this.raise(_.TupleExpressionBarIncorrectEndSyntaxType, this.state.curPosition()); this.state.pos += 2, this.finishToken(4); return; } } if (r === 61) { this.finishOp(30, 2); return; } this.finishOp(t === 124 ? 43 : 45, 1); } readToken_caret() { let t = this.input.charCodeAt(this.state.pos + 1); t === 61 && !this.state.inType ? this.finishOp(32, 2) : t === 94 && this.hasPlugin(["pipelineOperator", { proposal: "hack", topicToken: "^^" }]) ? (this.finishOp(37, 2), this.input.codePointAt(this.state.pos) === 94 && this.unexpected()) : this.finishOp(44, 1); } readToken_atSign() { this.input.charCodeAt(this.state.pos + 1) === 64 && this.hasPlugin(["pipelineOperator", { proposal: "hack", topicToken: "@@" }]) ? this.finishOp(38, 2) : this.finishOp(26, 1); } readToken_plus_min(t) { let r = this.input.charCodeAt(this.state.pos + 1); if (r === t) { this.finishOp(34, 2); return; } r === 61 ? this.finishOp(30, 2) : this.finishOp(53, 1); } readToken_lt() { let { pos: t } = this.state, r = this.input.charCodeAt(t + 1); if (r === 60) { if (this.input.charCodeAt(t + 2) === 61) { this.finishOp(30, 3); return; } this.finishOp(51, 2); return; } if (r === 61) { this.finishOp(49, 2); return; } this.finishOp(47, 1); } readToken_gt() { let { pos: t } = this.state, r = this.input.charCodeAt(t + 1); if (r === 62) { let n = this.input.charCodeAt(t + 2) === 62 ? 3 : 2; if (this.input.charCodeAt(t + n) === 61) { this.finishOp(30, n + 1); return; } this.finishOp(52, n); return; } if (r === 61) { this.finishOp(49, 2); return; } this.finishOp(48, 1); } readToken_eq_excl(t) { let r = this.input.charCodeAt(this.state.pos + 1); if (r === 61) { this.finishOp(46, this.input.charCodeAt(this.state.pos + 2) === 61 ? 3 : 2); return; } if (t === 61 && r === 62) { this.state.pos += 2, this.finishToken(19); return; } this.finishOp(t === 61 ? 29 : 35, 1); } readToken_question() { let t = this.input.charCodeAt(this.state.pos + 1), r = this.input.charCodeAt(this.state.pos + 2); t === 63 ? r === 61 ? this.finishOp(30, 3) : this.finishOp(40, 2) : t === 46 && !(r >= 48 && r <= 57) ? (this.state.pos += 2, this.finishToken( 18)) : (++this.state.pos, this.finishToken(17)); } getTokenFromCode(t) { switch (t) { 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(_.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(_.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: this.hasPlugin("functionBind") && this.input.charCodeAt(this.state.pos + 1) === 58 ? this.finishOp(15, 2) : (++this.state.pos, this. finishToken(14)); return; case 63: this.readToken_question(); return; case 96: this.readTemplateToken(); return; case 48: { let r = this.input.charCodeAt(this.state.pos + 1); if (r === 120 || r === 88) { this.readRadixNumber(16); return; } if (r === 111 || r === 79) { this.readRadixNumber(8); return; } if (r === 98 || r === 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(t); return; case 47: this.readToken_slash(); return; case 37: case 42: this.readToken_mult_modulo(t); return; case 124: case 38: this.readToken_pipe_amp(t); return; case 94: this.readToken_caret(); return; case 43: case 45: this.readToken_plus_min(t); return; case 60: this.readToken_lt(); return; case 62: this.readToken_gt(); return; case 61: case 33: this.readToken_eq_excl(t); 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 (wn(t)) { this.readWord(t); return; } } throw this.raise(_.InvalidOrUnexpectedToken, this.state.curPosition(), { unexpected: String.fromCodePoint(t) }); } finishOp(t, r) { let n = this.input.slice(this.state.pos, this.state.pos + r); this.state.pos += r, this.finishToken(t, n); } readRegexp() { let t = this.state.startLoc, r = this.state.start + 1, n, i, { pos: a } = this.state; for (; ; ++a) { if (a >= this.length) throw this.raise(_.UnterminatedRegExp, ir(t, 1)); let c = this.input.charCodeAt(a); if (xi(c)) throw this.raise(_.UnterminatedRegExp, ir(t, 1)); if (n) n = !1; else { if (c === 91) i = !0; else if (c === 93 && i) i = !1; else if (c === 47 && !i) break; n = c === 92; } } let o = this.input.slice(r, a); ++a; let l = "", u = /* @__PURE__ */ s(() => ir(t, a + 2 - r), "nextPos"); for (; a < this.length; ) { let c = this.codePointAtPos(a), f = String.fromCharCode(c); if (mG.has(c)) c === 118 ? l.includes("u") && this.raise(_.IncompatibleRegExpUVFlags, u()) : c === 117 && l.includes("v") && this.raise(_.IncompatibleRegExpUVFlags, u()), l.includes(f) && this.raise(_.DuplicateRegExpFlags, u()); else if (Ti(c) || c === 92) this.raise(_.MalformedRegExpFlags, u()); else break; ++a, l += f; } this.state.pos = a, this.finishToken(137, { pattern: o, flags: l }); } readInt(t, r, n = !1, i = !0) { let { n: a, pos: o } = pT(this.input, this.state.pos, this.state.lineStart, this.state.curLine, t, r, n, i, this.errorHandlers_readInt, !1); return this.state.pos = o, a; } readRadixNumber(t) { let r = this.state.curPosition(), n = !1; this.state.pos += 2; let i = this.readInt(t); i == null && this.raise(_.InvalidDigit, ir(r, 2), { radix: t }); let a = this.input.charCodeAt(this.state.pos); if (a === 110) ++this.state.pos, n = !0; else if (a === 109) throw this.raise(_.InvalidDecimal, r); if (wn(this.codePointAtPos(this.state.pos))) throw this.raise(_.NumberIdentifier, this.state.curPosition()); if (n) { let o = this.input.slice(r.index, this.state.pos).replace(/[_n]/g, ""); this.finishToken(135, o); return; } this.finishToken(134, i); } readNumber(t) { let r = this.state.pos, n = this.state.curPosition(), i = !1, a = !1, o = !1, l = !1, u = !1; !t && this.readInt(10) === null && this.raise(_.InvalidNumber, this.state.curPosition()); let c = this.state.pos - r >= 2 && this.input.charCodeAt(r) === 48; if (c) { let y = this.input.slice(r, this.state.pos); if (this.recordStrictModeErrors(_.StrictOctalLiteral, n), !this.state.strict) { let v = y.indexOf("_"); v > 0 && this.raise(_.ZeroDigitNumericSeparator, ir(n, v)); } u = c && !/[89]/.test(y); } let f = this.input.charCodeAt(this.state.pos); if (f === 46 && !u && (++this.state.pos, this.readInt(10), i = !0, f = this.input.charCodeAt(this.state.pos)), (f === 69 || f === 101) && !u && (f = this.input.charCodeAt(++this.state.pos), (f === 43 || f === 45) && ++this.state.pos, this.readInt(10) === null && this.raise( _.InvalidOrMissingExponent, n), i = !0, l = !0, f = this.input.charCodeAt(this.state.pos)), f === 110 && ((i || c) && this.raise(_.InvalidBigIntLiteral, n), ++this.state.pos, a = !0), f === 109 && (this.expectPlugin("decimal", this.state.curPosition()), (l || c) && this.raise(_.InvalidDecimal, n), ++this.state.pos, o = !0), wn(this.codePointAtPos(this.state.pos))) throw this.raise(_.NumberIdentifier, this.state.curPosition()); let p = this.input.slice(r, this.state.pos).replace(/[_mn]/g, ""); if (a) { this.finishToken(135, p); return; } if (o) { this.finishToken(136, p); return; } let h = u ? parseInt(p, 8) : parseFloat(p); this.finishToken(134, h); } readCodePoint(t) { let { code: r, pos: n } = dT(this.input, this.state.pos, this.state.lineStart, this.state.curLine, t, this.errorHandlers_readCodePoint); return this.state.pos = n, r; } readString(t) { let { str: r, pos: n, curLine: i, lineStart: a } = Jv(t === 34 ? "double" : "single", this.input, this.state.pos + 1, this.state.lineStart, this.state.curLine, this.errorHandlers_readStringContents_string); this.state.pos = n + 1, this.state.lineStart = a, this.state.curLine = i, this.finishToken(133, r); } readTemplateContinuation() { this.match(8) || this.unexpected(null, 8), this.state.pos--, this.readTemplateToken(); } readTemplateToken() { let t = this.input[this.state.pos], { str: r, firstInvalidLoc: n, pos: i, curLine: a, lineStart: o } = Jv("template", this.input, this.state.pos + 1, this.state.lineStart, this.state.curLine, this.errorHandlers_readStringContents_template); this.state.pos = i + 1, this.state.lineStart = o, this.state.curLine = a, n && (this.state.firstInvalidTemplateEscapePos = new cn(n.curLine, n.pos - n.lineStart, n.pos)), this.input.codePointAt(i) === 96 ? this.finishToken(24, n ? null : t + r + "`") : (this.state.pos++, this. finishToken(25, n ? null : t + r + "${")); } recordStrictModeErrors(t, r) { let n = r.index; this.state.strict && !this.state.strictErrors.has(n) ? this.raise(t, r) : this.state.strictErrors.set(n, [t, r]); } readWord1(t) { this.state.containsEsc = !1; let r = "", n = this.state.pos, i = this.state.pos; for (t !== void 0 && (this.state.pos += t <= 65535 ? 1 : 2); this.state.pos < this.length; ) { let a = this.codePointAtPos(this.state.pos); if (Ti(a)) this.state.pos += a <= 65535 ? 1 : 2; else if (a === 92) { this.state.containsEsc = !0, r += this.input.slice(i, this.state.pos); let o = this.state.curPosition(), l = this.state.pos === n ? wn : Ti; if (this.input.charCodeAt(++this.state.pos) !== 117) { this.raise(_.MissingUnicodeEscape, this.state.curPosition()), i = this.state.pos - 1; continue; } ++this.state.pos; let u = this.readCodePoint(!0); u !== null && (l(u) || this.raise(_.EscapedCharNotAnIdentifier, o), r += String.fromCodePoint(u)), i = this.state.pos; } else break; } return r + this.input.slice(i, this.state.pos); } readWord(t) { let r = this.readWord1(t), n = Dh.get(r); n !== void 0 ? this.finishToken(n, rs(n)) : this.finishToken(132, r); } checkKeywordEscapes() { let { type: t } = this.state; kh(t) && this.state.containsEsc && this.raise(_.InvalidEscapedReservedWord, this.state.startLoc, { reservedWord: rs(t) }); } raise(t, r, n = {}) { let i = r instanceof cn ? r : r.loc.start, a = t(i, n); if (!this.options.errorRecovery) throw a; return this.isLookahead || this.state.errors.push(a), a; } raiseOverwrite(t, r, n = {}) { let i = r instanceof cn ? r : r.loc.start, a = i.index, o = this.state.errors; for (let l = o.length - 1; l >= 0; l--) { let u = o[l]; if (u.loc.index === a) return o[l] = t(i, n); if (u.loc.index < a) break; } return this.raise(t, r, n); } updateContext(t) { } unexpected(t, r) { throw this.raise(_.UnexpectedToken, t ?? this.state.startLoc, { expected: r ? rs(r) : null }); } expectPlugin(t, r) { if (this.hasPlugin(t)) return !0; throw this.raise(_.MissingPlugin, r ?? this.state.startLoc, { missingPlugin: [t] }); } expectOnePlugin(t) { if (!t.some((r) => this.hasPlugin(r))) throw this.raise(_.MissingOneOfPlugins, this.state.startLoc, { missingPlugin: t }); } errorBuilder(t) { return (r, n, i) => { this.raise(t, Ka(r, n, i)); }; } }, gh = class { static { s(this, "ClassScope"); } constructor() { this.privateNames = /* @__PURE__ */ new Set(), this.loneAccessors = /* @__PURE__ */ new Map(), this.undefinedPrivateNames = /* @__PURE__ */ new Map(); } }, bh = class { static { s(this, "ClassScopeHandler"); } constructor(t) { this.parser = void 0, this.stack = [], this.undefinedPrivateNames = /* @__PURE__ */ new Map(), this.parser = t; } current() { return this.stack[this.stack.length - 1]; } enter() { this.stack.push(new gh()); } exit() { let t = this.stack.pop(), r = this.current(); for (let [n, i] of Array.from(t.undefinedPrivateNames)) r ? r.undefinedPrivateNames.has(n) || r.undefinedPrivateNames.set(n, i) : this.parser.raise(_.InvalidPrivateFieldResolution, i, { identifierName: n }); } declarePrivateName(t, r, n) { let { privateNames: i, loneAccessors: a, undefinedPrivateNames: o } = this.current(), l = i.has(t); if (r & 3) { let u = l && a.get(t); if (u) { let c = u & 4, f = r & 4, p = u & 3, h = r & 3; l = p === h || c !== f, l || a.delete(t); } else l || a.set(t, r); } l && this.parser.raise(_.PrivateNameRedeclaration, n, { identifierName: t }), i.add(t), o.delete(t); } usePrivateName(t, r) { let n; for (n of this.stack) if (n.privateNames.has(t)) return; n ? n.undefinedPrivateNames.set(t, r) : this.parser.raise(_.InvalidPrivateFieldResolution, r, { identifierName: t }); } }, Ai = class { static { s(this, "ExpressionScope"); } constructor(t = 0) { this.type = t; } canBeArrowParameterDeclaration() { return this.type === 2 || this.type === 1; } isCertainlyParameterDeclaration() { return this.type === 3; } }, $l = class extends Ai { static { s(this, "ArrowHeadParsingScope"); } constructor(t) { super(t), this.declarationErrors = /* @__PURE__ */ new Map(); } recordDeclarationError(t, r) { let n = r.index; this.declarationErrors.set(n, [t, r]); } clearDeclarationError(t) { this.declarationErrors.delete(t); } iterateErrors(t) { this.declarationErrors.forEach(t); } }, Eh = class { static { s(this, "ExpressionScopeHandler"); } constructor(t) { this.parser = void 0, this.stack = [new Ai()], this.parser = t; } enter(t) { this.stack.push(t); } exit() { this.stack.pop(); } recordParameterInitializerError(t, r) { let n = r.loc.start, { stack: i } = this, a = i.length - 1, o = i[a]; for (; !o.isCertainlyParameterDeclaration(); ) { if (o.canBeArrowParameterDeclaration()) o.recordDeclarationError(t, n); else return; o = i[--a]; } this.parser.raise(t, n); } recordArrowParameterBindingError(t, r) { let { stack: n } = this, i = n[n.length - 1], a = r.loc.start; if (i.isCertainlyParameterDeclaration()) this.parser.raise(t, a); else if (i.canBeArrowParameterDeclaration()) i.recordDeclarationError(t, a); else return; } recordAsyncArrowParametersError(t) { let { stack: r } = this, n = r.length - 1, i = r[n]; for (; i.canBeArrowParameterDeclaration(); ) i.type === 2 && i.recordDeclarationError(_.AwaitBindingIdentifier, t), i = r[--n]; } validateAsPattern() { let { stack: t } = this, r = t[t.length - 1]; r.canBeArrowParameterDeclaration() && r.iterateErrors(([n, i]) => { this.parser.raise(n, i); let a = t.length - 2, o = t[a]; for (; o.canBeArrowParameterDeclaration(); ) o.clearDeclarationError(i.index), o = t[--a]; }); } }; function yG() { return new Ai(3); } s(yG, "newParameterDeclarationScope"); function gG() { return new $l(1); } s(gG, "newArrowHeadScope"); function bG() { return new $l(2); } s(bG, "newAsyncArrowScope"); function hT() { return new Ai(); } s(hT, "newExpressionScope"); var vh = class { static { s(this, "ProductionParameterHandler"); } constructor() { this.stacks = []; } enter(t) { this.stacks.push(t); } exit() { this.stacks.pop(); } currentFlags() { return this.stacks[this.stacks.length - 1]; } get hasAwait() { return (this.currentFlags() & 2) > 0; } get hasYield() { return (this.currentFlags() & 1) > 0; } get hasReturn() { return (this.currentFlags() & 4) > 0; } get hasIn() { return (this.currentFlags() & 8) > 0; } }; function ql(e, t) { return (e ? 2 : 0) | (t ? 1 : 0); } s(ql, "functionFlags"); var Th = class extends yh { static { s(this, "UtilParser"); } addExtra(t, r, n, i = !0) { if (!t) return; let { extra: a } = t; a == null && (a = {}, t.extra = a), i ? a[r] = n : Object.defineProperty(a, r, { enumerable: i, value: n }); } isContextual(t) { return this.state.type === t && !this.state.containsEsc; } isUnparsedContextual(t, r) { let n = t + r.length; if (this.input.slice(t, n) === r) { let i = this.input.charCodeAt(n); return !(Ti(i) || (i & 64512) === 55296); } return !1; } isLookaheadContextual(t) { let r = this.nextTokenStart(); return this.isUnparsedContextual(r, t); } eatContextual(t) { return this.isContextual(t) ? (this.next(), !0) : !1; } expectContextual(t, r) { if (!this.eatContextual(t)) { if (r != null) throw this.raise(r, this.state.startLoc); this.unexpected(null, t); } } canInsertSemicolon() { return this.match(139) || this.match(8) || this.hasPrecedingLineBreak(); } hasPrecedingLineBreak() { return Yv(this.input, this.state.lastTokEndLoc.index, this.state.start); } hasFollowingLineBreak() { return Yv(this.input, this.state.end, this.nextTokenStart()); } isLineTerminator() { return this.eat(13) || this.canInsertSemicolon(); } semicolon(t = !0) { (t ? this.isLineTerminator() : this.eat(13)) || this.raise(_.MissingSemicolon, this.state.lastTokEndLoc); } expect(t, r) { this.eat(t) || this.unexpected(r, t); } tryParse(t, r = this.state.clone()) { let n = { node: null }; try { let i = t((a = null) => { throw n.node = a, n; }); if (this.state.errors.length > r.errors.length) { let a = this.state; return this.state = r, this.state.tokensLength = a.tokensLength, { node: i, error: a.errors[r.errors.length], thrown: !1, aborted: !1, failState: a }; } return { node: i, error: null, thrown: !1, aborted: !1, failState: null }; } catch (i) { let a = this.state; if (this.state = r, i instanceof SyntaxError) return { node: null, error: i, thrown: !0, aborted: !1, failState: a }; if (i === n) return { node: n.node, error: null, thrown: !1, aborted: !0, failState: a }; throw i; } } checkExpressionErrors(t, r) { if (!t) return !1; let { shorthandAssignLoc: n, doubleProtoLoc: i, privateKeyLoc: a, optionalParametersLoc: o } = t, l = !!n || !!i || !!o || !!a; if (!r) return l; n != null && this.raise(_.InvalidCoverInitializedName, n), i != null && this.raise(_.DuplicateProto, i), a != null && this.raise(_.UnexpectedPrivateField, a), o != null && this.unexpected(o); } isLiteralPropertyName() { return sT(this.state.type); } isPrivateName(t) { return t.type === "PrivateName"; } getPrivateNameSV(t) { return t.id.name; } hasPropertyAsPrivateName(t) { return (t.type === "MemberExpression" || t.type === "OptionalMemberExpression") && this.isPrivateName(t.property); } isObjectProperty(t) { return t.type === "ObjectProperty"; } isObjectMethod(t) { return t.type === "ObjectMethod"; } initializeScopes(t = this.options.sourceType === "module") { let r = this.state.labels; this.state.labels = []; let n = this.exportedIdentifiers; this.exportedIdentifiers = /* @__PURE__ */ new Set(); let i = this.inModule; this.inModule = t; let a = this.scope, o = this.getScopeHandler(); this.scope = new o(this, t); let l = this.prodParam; this.prodParam = new vh(); let u = this.classScope; this.classScope = new bh(this); let c = this.expressionScope; return this.expressionScope = new Eh(this), () => { this.state.labels = r, this.exportedIdentifiers = n, this.inModule = i, this.scope = a, this.prodParam = l, this.classScope = u, this. expressionScope = c; }; } enterInitialScopes() { let t = 0; this.inModule && (t |= 2), this.scope.enter(1), this.prodParam.enter(t); } checkDestructuringPrivate(t) { let { privateKeyLoc: r } = t; r !== null && this.expectPlugin("destructuringPrivate", r); } }, Si = class { static { s(this, "ExpressionErrors"); } constructor() { this.shorthandAssignLoc = null, this.doubleProtoLoc = null, this.privateKeyLoc = null, this.optionalParametersLoc = null; } }, Ci = class { static { s(this, "Node"); } constructor(t, r, n) { this.type = "", this.start = r, this.end = 0, this.loc = new Pi(n), t != null && t.options.ranges && (this.range = [r, 0]), t != null && t.filename && (this.loc.filename = t.filename); } }, Lh = Ci.prototype; Lh.__clone = function() { let e = new Ci(void 0, this.start, this.loc.start), t = Object.keys(this); for (let r = 0, n = t.length; r < n; r++) { let i = t[r]; i !== "leadingComments" && i !== "trailingComments" && i !== "innerComments" && (e[i] = this[i]); } return e; }; function EG(e) { return In(e); } s(EG, "clonePlaceholder"); function In(e) { let { type: t, start: r, end: n, loc: i, range: a, extra: o, name: l } = e, u = Object.create(Lh); return u.type = t, u.start = r, u.end = n, u.loc = i, u.range = a, u.extra = o, u.name = l, t === "Placeholder" && (u.expectedNode = e.expectedNode), u; } s(In, "cloneIdentifier"); function vG(e) { let { type: t, start: r, end: n, loc: i, range: a, extra: o } = e; if (t === "Placeholder") return EG(e); let l = Object.create(Lh); return l.type = t, l.start = r, l.end = n, l.loc = i, l.range = a, e.raw !== void 0 ? l.raw = e.raw : l.extra = o, l.value = e.value, l; } s(vG, "cloneStringLiteral"); var xh = class extends Th { static { s(this, "NodeUtils"); } startNode() { let t = this.state.startLoc; return new Ci(this, t.index, t); } startNodeAt(t) { return new Ci(this, t.index, t); } startNodeAtNode(t) { return this.startNodeAt(t.loc.start); } finishNode(t, r) { return this.finishNodeAt(t, r, this.state.lastTokEndLoc); } finishNodeAt(t, r, n) { return t.type = r, t.end = n.index, t.loc.end = n, this.options.ranges && (t.range[1] = n.index), this.options.attachComment && this.processComment( t), t; } resetStartLocation(t, r) { t.start = r.index, t.loc.start = r, this.options.ranges && (t.range[0] = r.index); } resetEndLocation(t, r = this.state.lastTokEndLoc) { t.end = r.index, t.loc.end = r, this.options.ranges && (t.range[1] = r.index); } resetStartLocationFromNode(t, r) { this.resetStartLocation(t, r.loc.start); } }, TG = /* @__PURE__ */ new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "stat\ ic", "string", "true", "typeof", "void"]), Pe = Dn`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: /* @__PURE__ */ s(({ reservedType: e }) => `Cannot overwrite reserved type ${e}.`, "AssignReservedType"), 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: /* @__PURE__ */ s(({ memberName: e, enumName: t }) => `Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`, "EnumBooleanMem\ berNotInitialized"), EnumDuplicateMemberName: /* @__PURE__ */ s(({ memberName: e, enumName: t }) => `Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`, "EnumDuplicateMemberN\ ame"), EnumInconsistentMemberValues: /* @__PURE__ */ s(({ enumName: e }) => `Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, num\ bers, or strings) for all member initializers.`, "EnumInconsistentMemberValues"), EnumInvalidExplicitType: /* @__PURE__ */ s(({ invalidEnumType: e, enumName: t }) => `Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`, "EnumInvalidEx\ plicitType"), EnumInvalidExplicitTypeUnknownSupplied: /* @__PURE__ */ s(({ enumName: e }) => `Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`, "EnumInvalidEx\ plicitTypeUnknownSupplied"), EnumInvalidMemberInitializerPrimaryType: /* @__PURE__ */ s(({ enumName: e, memberName: t, explicitType: r }) => `Enum \`${e}\` has type \`${r}\`, so the initializer of \`${t}\` needs to be a ${r} literal.`, "EnumInvalidMemberInitializerPrimar\ yType"), EnumInvalidMemberInitializerSymbolType: /* @__PURE__ */ s(({ enumName: e, memberName: t }) => `Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`, "EnumInvalidMemberInitializerSymbolType"), EnumInvalidMemberInitializerUnknownType: /* @__PURE__ */ s(({ enumName: e, memberName: t }) => `The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`, "EnumInv\ alidMemberInitializerUnknownType"), EnumInvalidMemberName: /* @__PURE__ */ s(({ enumName: e, memberName: t, suggestion: r }) => `Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${r}\`, in enum \`${e}\ \`.`, "EnumInvalidMemberName"), EnumNumberMemberNotInitialized: /* @__PURE__ */ s(({ enumName: e, memberName: t }) => `Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`, "EnumNumberMemberNotInitialized"), EnumStringMemberInconsistentlyInitialized: /* @__PURE__ */ s(({ enumName: e }) => `String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`, "EnumStringMemb\ erInconsistentlyInitialized"), 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: /* @__PURE__ */ s(({ reservedType: e }) => `Unexpected reserved type ${e}.`, "UnexpectedReservedType"), 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 ` async () => {}\ `, use `async () => {}`.", UnsupportedDeclareExportKind: /* @__PURE__ */ s(({ unsupportedExportKind: e, suggestion: t }) => `\`declare export ${e}\` is not supported. Use \`${t}\` instead.`, "UnsupportedDeclareExportKind"), UnsupportedStatementInDeclareModule: "Only declares and type imports are allowed inside declare module.", UnterminatedFlowComment: "Unterminated flow-comment." }); function xG(e) { return e.type === "DeclareExportAllDeclaration" || e.type === "DeclareExportDeclaration" && (!e.declaration || e.declaration.type !== "T\ ypeAlias" && e.declaration.type !== "InterfaceDeclaration"); } s(xG, "isEsModuleType"); function Xv(e) { return e.importKind === "type" || e.importKind === "typeof"; } s(Xv, "hasTypeImportKind"); var SG = { const: "declare export var", let: "declare export var", type: "export type", interface: "export interface" }; function PG(e, t) { let r = [], n = []; for (let i = 0; i < e.length; i++) (t(e[i], i, e) ? r : n).push(e[i]); return [r, n]; } s(PG, "partition"); var AG = /\*?\s*@((?:no)?flow)\b/, CG = /* @__PURE__ */ s((e) => class extends e { static { s(this, "FlowParserMixin"); } constructor(...r) { super(...r), this.flowPragma = void 0; } getScopeHandler() { return fh; } shouldParseTypes() { return this.getPluginOption("flow", "all") || this.flowPragma === "flow"; } shouldParseEnums() { return !!this.getPluginOption("flow", "enums"); } finishToken(r, n) { r !== 133 && r !== 13 && r !== 28 && this.flowPragma === void 0 && (this.flowPragma = null), super.finishToken(r, n); } addComment(r) { if (this.flowPragma === void 0) { let n = AG.exec(r.value); if (n) if (n[1] === "flow") this.flowPragma = "flow"; else if (n[1] === "noflow") this.flowPragma = "noflow"; else throw new Error("Unexpected flow pragma"); } super.addComment(r); } flowParseTypeInitialiser(r) { let n = this.state.inType; this.state.inType = !0, this.expect(r || 14); let i = this.flowParseType(); return this.state.inType = n, i; } flowParsePredicate() { let r = this.startNode(), n = this.state.startLoc; return this.next(), this.expectContextual(110), this.state.lastTokStartLoc.index > n.index + 1 && this.raise(Pe.UnexpectedSpaceBetweenModuloChecks, n), this.eat(10) ? (r.value = super.parseExpression(), this.expect(11), this.finishNode(r, "DeclaredPredicate")) : this.finishNode(r, "\ InferredPredicate"); } flowParseTypeAndPredicateInitialiser() { let r = this.state.inType; this.state.inType = !0, this.expect(14); let n = null, i = null; return this.match(54) ? (this.state.inType = r, i = this.flowParsePredicate()) : (n = this.flowParseType(), this.state.inType = r, this. match(54) && (i = this.flowParsePredicate())), [n, i]; } flowParseDeclareClass(r) { return this.next(), this.flowParseInterfaceish(r, !0), this.finishNode(r, "DeclareClass"); } flowParseDeclareFunction(r) { this.next(); let n = r.id = this.parseIdentifier(), i = this.startNode(), a = this.startNode(); this.match(47) ? i.typeParameters = this.flowParseTypeParameterDeclaration() : i.typeParameters = null, this.expect(10); let o = this.flowParseFunctionTypeParams(); return i.params = o.params, i.rest = o.rest, i.this = o._this, this.expect(11), [i.returnType, r.predicate] = this.flowParseTypeAndPredicateInitialiser(), a.typeAnnotation = this.finishNode(i, "FunctionTypeAnnotation"), n.typeAnnotation = this.finishNode(a, "TypeAnnotation"), this.resetEndLocation( n), this.semicolon(), this.scope.declareName(r.id.name, 2048, r.id.loc.start), this.finishNode(r, "DeclareFunction"); } flowParseDeclare(r, n) { if (this.match(80)) return this.flowParseDeclareClass(r); if (this.match(68)) return this.flowParseDeclareFunction(r); if (this.match(74)) return this.flowParseDeclareVariable(r); if (this.eatContextual(127)) return this.match(16) ? this.flowParseDeclareModuleExports(r) : (n && this.raise(Pe.NestedDeclareModule, this.state.lastTokStartLoc), this.flowParseDeclareModule(r)); if (this.isContextual(130)) return this.flowParseDeclareTypeAlias(r); if (this.isContextual(131)) return this.flowParseDeclareOpaqueType(r); if (this.isContextual(129)) return this.flowParseDeclareInterface(r); if (this.match(82)) return this.flowParseDeclareExportDeclaration(r, n); this.unexpected(); } flowParseDeclareVariable(r) { return this.next(), r.id = this.flowParseTypeAnnotatableIdentifier(!0), this.scope.declareName(r.id.name, 5, r.id.loc.start), this.semicolon(), this.finishNode(r, "DeclareVariable"); } flowParseDeclareModule(r) { this.scope.enter(0), this.match(133) ? r.id = super.parseExprAtom() : r.id = this.parseIdentifier(); let n = r.body = this.startNode(), i = n.body = []; for (this.expect(5); !this.match(8); ) { let l = this.startNode(); this.match(83) ? (this.next(), !this.isContextual(130) && !this.match(87) && this.raise(Pe.InvalidNonTypeImportInDeclareModule, this. state.lastTokStartLoc), super.parseImport(l)) : (this.expectContextual(125, Pe.UnsupportedStatementInDeclareModule), l = this.flowParseDeclare( l, !0)), i.push(l); } this.scope.exit(), this.expect(8), this.finishNode(n, "BlockStatement"); let a = null, o = !1; return i.forEach((l) => { xG(l) ? (a === "CommonJS" && this.raise(Pe.AmbiguousDeclareModuleKind, l), a = "ES") : l.type === "DeclareModuleExports" && (o && this. raise(Pe.DuplicateDeclareModuleExports, l), a === "ES" && this.raise(Pe.AmbiguousDeclareModuleKind, l), a = "CommonJS", o = !0); }), r.kind = a || "CommonJS", this.finishNode(r, "DeclareModule"); } flowParseDeclareExportDeclaration(r, n) { if (this.expect(82), this.eat(65)) return this.match(68) || this.match(80) ? r.declaration = this.flowParseDeclare(this.startNode()) : (r.declaration = this.flowParseType(), this.semicolon()), r.default = !0, this.finishNode(r, "DeclareExportDeclaration"); if (this.match(75) || this.isLet() || (this.isContextual(130) || this.isContextual(129)) && !n) { let i = this.state.value; throw this.raise(Pe.UnsupportedDeclareExportKind, this.state.startLoc, { unsupportedExportKind: i, suggestion: SG[i] }); } if (this.match(74) || this.match(68) || this.match(80) || this.isContextual(131)) return r.declaration = this.flowParseDeclare(this.startNode()), r.default = !1, this.finishNode(r, "DeclareExportDeclaration"); if (this.match(55) || this.match(5) || this.isContextual(129) || this.isContextual(130) || this.isContextual(131)) return r = this.parseExport(r, null), r.type === "ExportNamedDeclaration" && (r.type = "ExportDeclaration", r.default = !1, delete r. exportKind), r.type = "Declare" + r.type, r; this.unexpected(); } flowParseDeclareModuleExports(r) { return this.next(), this.expectContextual(111), r.typeAnnotation = this.flowParseTypeAnnotation(), this.semicolon(), this.finishNode(r, "DeclareModuleExports"); } flowParseDeclareTypeAlias(r) { this.next(); let n = this.flowParseTypeAlias(r); return n.type = "DeclareTypeAlias", n; } flowParseDeclareOpaqueType(r) { this.next(); let n = this.flowParseOpaqueType(r, !0); return n.type = "DeclareOpaqueType", n; } flowParseDeclareInterface(r) { return this.next(), this.flowParseInterfaceish(r, !1), this.finishNode(r, "DeclareInterface"); } flowParseInterfaceish(r, n) { if (r.id = this.flowParseRestrictedIdentifier(!n, !0), this.scope.declareName(r.id.name, n ? 17 : 8201, r.id.loc.start), this.match(47) ? r.typeParameters = this.flowParseTypeParameterDeclaration() : r.typeParameters = null, r.extends = [], this.eat(81)) do r.extends.push(this.flowParseInterfaceExtends()); while (!n && this.eat(12)); if (n) { if (r.implements = [], r.mixins = [], this.eatContextual(117)) do r.mixins.push(this.flowParseInterfaceExtends()); while (this.eat(12)); if (this.eatContextual(113)) do r.implements.push(this.flowParseInterfaceExtends()); while (this.eat(12)); } r.body = this.flowParseObjectType({ allowStatic: n, allowExact: !1, allowSpread: !1, allowProto: n, allowInexact: !1 }); } flowParseInterfaceExtends() { let r = this.startNode(); return r.id = this.flowParseQualifiedTypeIdentifier(), this.match(47) ? r.typeParameters = this.flowParseTypeParameterInstantiation() : r.typeParameters = null, this.finishNode(r, "InterfaceExtends"); } flowParseInterface(r) { return this.flowParseInterfaceish(r, !1), this.finishNode(r, "InterfaceDeclaration"); } checkNotUnderscore(r) { r === "_" && this.raise(Pe.UnexpectedReservedUnderscore, this.state.startLoc); } checkReservedType(r, n, i) { TG.has(r) && this.raise(i ? Pe.AssignReservedType : Pe.UnexpectedReservedType, n, { reservedType: r }); } flowParseRestrictedIdentifier(r, n) { return this.checkReservedType(this.state.value, this.state.startLoc, n), this.parseIdentifier(r); } flowParseTypeAlias(r) { return r.id = this.flowParseRestrictedIdentifier(!1, !0), this.scope.declareName(r.id.name, 8201, r.id.loc.start), this.match(47) ? r. typeParameters = this.flowParseTypeParameterDeclaration() : r.typeParameters = null, r.right = this.flowParseTypeInitialiser(29), this. semicolon(), this.finishNode(r, "TypeAlias"); } flowParseOpaqueType(r, n) { return this.expectContextual(130), r.id = this.flowParseRestrictedIdentifier(!0, !0), this.scope.declareName(r.id.name, 8201, r.id.loc. start), this.match(47) ? r.typeParameters = this.flowParseTypeParameterDeclaration() : r.typeParameters = null, r.supertype = null, this. match(14) && (r.supertype = this.flowParseTypeInitialiser(14)), r.impltype = null, n || (r.impltype = this.flowParseTypeInitialiser(29)), this.semicolon(), this.finishNode(r, "OpaqueType"); } flowParseTypeParameter(r = !1) { let n = this.state.startLoc, i = this.startNode(), a = this.flowParseVariance(), o = this.flowParseTypeAnnotatableIdentifier(); return i.name = o.name, i.variance = a, i.bound = o.typeAnnotation, this.match(29) ? (this.eat(29), i.default = this.flowParseType()) : r && this.raise(Pe.MissingTypeParamDefault, n), this.finishNode(i, "TypeParameter"); } flowParseTypeParameterDeclaration() { let r = this.state.inType, n = this.startNode(); n.params = [], this.state.inType = !0, this.match(47) || this.match(142) ? this.next() : this.unexpected(); let i = !1; do { let a = this.flowParseTypeParameter(i); n.params.push(a), a.default && (i = !0), this.match(48) || this.expect(12); } while (!this.match(48)); return this.expect(48), this.state.inType = r, this.finishNode(n, "TypeParameterDeclaration"); } flowParseTypeParameterInstantiation() { let r = this.startNode(), n = this.state.inType; r.params = [], this.state.inType = !0, this.expect(47); let i = this.state.noAnonFunctionType; for (this.state.noAnonFunctionType = !1; !this.match(48); ) r.params.push(this.flowParseType()), this.match(48) || this.expect(12); return this.state.noAnonFunctionType = i, this.expect(48), this.state.inType = n, this.finishNode(r, "TypeParameterInstantiation"); } flowParseTypeParameterInstantiationCallOrNew() { let r = this.startNode(), n = this.state.inType; for (r.params = [], this.state.inType = !0, this.expect(47); !this.match(48); ) r.params.push(this.flowParseTypeOrImplicitInstantiation()), this.match(48) || this.expect(12); return this.expect(48), this.state.inType = n, this.finishNode(r, "TypeParameterInstantiation"); } flowParseInterfaceType() { let r = this.startNode(); if (this.expectContextual(129), r.extends = [], this.eat(81)) do r.extends.push(this.flowParseInterfaceExtends()); while (this.eat(12)); return r.body = this.flowParseObjectType({ allowStatic: !1, allowExact: !1, allowSpread: !1, allowProto: !1, allowInexact: !1 }), this.finishNode(r, "InterfaceTypeAnnotation"); } flowParseObjectPropertyKey() { return this.match(134) || this.match(133) ? super.parseExprAtom() : this.parseIdentifier(!0); } flowParseObjectTypeIndexer(r, n, i) { return r.static = n, this.lookahead().type === 14 ? (r.id = this.flowParseObjectPropertyKey(), r.key = this.flowParseTypeInitialiser()) : (r.id = null, r.key = this.flowParseType()), this.expect(3), r.value = this.flowParseTypeInitialiser(), r.variance = i, this.finishNode( r, "ObjectTypeIndexer"); } flowParseObjectTypeInternalSlot(r, n) { return r.static = n, r.id = this.flowParseObjectPropertyKey(), this.expect(3), this.expect(3), this.match(47) || this.match(10) ? (r.method = !0, r.optional = !1, r.value = this.flowParseObjectTypeMethodish(this.startNodeAt(r.loc.start))) : (r.method = !1, this.eat(17) && (r. optional = !0), r.value = this.flowParseTypeInitialiser()), this.finishNode(r, "ObjectTypeInternalSlot"); } flowParseObjectTypeMethodish(r) { for (r.params = [], r.rest = null, r.typeParameters = null, r.this = null, this.match(47) && (r.typeParameters = this.flowParseTypeParameterDeclaration()), this.expect(10), this.match(78) && (r.this = this.flowParseFunctionTypeParam(!0), r.this.name = null, this.match(11) || this.expect(12)); !this. match(11) && !this.match(21); ) r.params.push(this.flowParseFunctionTypeParam(!1)), this.match(11) || this.expect(12); return this.eat(21) && (r.rest = this.flowParseFunctionTypeParam(!1)), this.expect(11), r.returnType = this.flowParseTypeInitialiser(), this.finishNode(r, "FunctionTypeAnnotation"); } flowParseObjectTypeCallProperty(r, n) { let i = this.startNode(); return r.static = n, r.value = this.flowParseObjectTypeMethodish(i), this.finishNode(r, "ObjectTypeCallProperty"); } flowParseObjectType({ allowStatic: r, allowExact: n, allowSpread: i, allowProto: a, allowInexact: o }) { let l = this.state.inType; this.state.inType = !0; let u = this.startNode(); u.callProperties = [], u.properties = [], u.indexers = [], u.internalSlots = []; let c, f, p = !1; for (n && this.match(6) ? (this.expect(6), c = 9, f = !0) : (this.expect(5), c = 8, f = !1), u.exact = f; !this.match(c); ) { let y = !1, v = null, d = null, b = this.startNode(); if (a && this.isContextual(118)) { let I = this.lookahead(); I.type !== 14 && I.type !== 17 && (this.next(), v = this.state.startLoc, r = !1); } if (r && this.isContextual(106)) { let I = this.lookahead(); I.type !== 14 && I.type !== 17 && (this.next(), y = !0); } let E = this.flowParseVariance(); if (this.eat(0)) v != null && this.unexpected(v), this.eat(0) ? (E && this.unexpected(E.loc.start), u.internalSlots.push(this.flowParseObjectTypeInternalSlot( b, y))) : u.indexers.push(this.flowParseObjectTypeIndexer(b, y, E)); else if (this.match(10) || this.match(47)) v != null && this.unexpected(v), E && this.unexpected(E.loc.start), u.callProperties.push(this.flowParseObjectTypeCallProperty(b, y)); else { let I = "init"; if (this.isContextual(99) || this.isContextual(104)) { let k = this.lookahead(); sT(k.type) && (I = this.state.value, this.next()); } let O = this.flowParseObjectTypeProperty(b, y, v, E, I, i, o ?? !f); O === null ? (p = !0, d = this.state.lastTokStartLoc) : u.properties.push(O); } this.flowObjectTypeSemicolon(), d && !this.match(8) && !this.match(9) && this.raise(Pe.UnexpectedExplicitInexactInObject, d); } this.expect(c), i && (u.inexact = p); let h = this.finishNode(u, "ObjectTypeAnnotation"); return this.state.inType = l, h; } flowParseObjectTypeProperty(r, n, i, a, o, l, u) { if (this.eat(21)) return this.match(12) || this.match(13) || this.match(8) || this.match(9) ? (l ? u || this.raise(Pe.InexactInsideExact, this.state.lastTokStartLoc) : this.raise(Pe.InexactInsideNonObject, this.state.lastTokStartLoc), a && this.raise(Pe.InexactVariance, a), null) : (l || this.raise( Pe.UnexpectedSpreadType, this.state.lastTokStartLoc), i != null && this.unexpected(i), a && this.raise(Pe.SpreadVariance, a), r.argument = this.flowParseType(), this.finishNode(r, "ObjectTypeSpreadProperty")); { r.key = this.flowParseObjectPropertyKey(), r.static = n, r.proto = i != null, r.kind = o; let c = !1; return this.match(47) || this.match(10) ? (r.method = !0, i != null && this.unexpected(i), a && this.unexpected(a.loc.start), r.value = this.flowParseObjectTypeMethodish(this.startNodeAt(r.loc.start)), (o === "get" || o === "set") && this.flowCheckGetterSetterParams(r), !l && r.key.name === "constructor" && r.value.this && this.raise(Pe.ThisParamBannedInConstructor, r.value.this)) : (o !== "init" && this. unexpected(), r.method = !1, this.eat(17) && (c = !0), r.value = this.flowParseTypeInitialiser(), r.variance = a), r.optional = c, this. finishNode(r, "ObjectTypeProperty"); } } flowCheckGetterSetterParams(r) { let n = r.kind === "get" ? 0 : 1, i = r.value.params.length + (r.value.rest ? 1 : 0); r.value.this && this.raise(r.kind === "get" ? Pe.GetterMayNotHaveThisParam : Pe.SetterMayNotHaveThisParam, r.value.this), i !== n && this. raise(r.kind === "get" ? _.BadGetterArity : _.BadSetterArity, r), r.kind === "set" && r.value.rest && this.raise(_.BadSetterRestParameter, r); } flowObjectTypeSemicolon() { !this.eat(13) && !this.eat(12) && !this.match(8) && !this.match(9) && this.unexpected(); } flowParseQualifiedTypeIdentifier(r, n) { var i; (i = r) != null || (r = this.state.startLoc); let a = n || this.flowParseRestrictedIdentifier(!0); for (; this.eat(16); ) { let o = this.startNodeAt(r); o.qualification = a, o.id = this.flowParseRestrictedIdentifier(!0), a = this.finishNode(o, "QualifiedTypeIdentifier"); } return a; } flowParseGenericType(r, n) { let i = this.startNodeAt(r); return i.typeParameters = null, i.id = this.flowParseQualifiedTypeIdentifier(r, n), this.match(47) && (i.typeParameters = this.flowParseTypeParameterInstantiation()), this.finishNode(i, "GenericTypeAnnotation"); } flowParseTypeofType() { let r = this.startNode(); return this.expect(87), r.argument = this.flowParsePrimaryType(), this.finishNode(r, "TypeofTypeAnnotation"); } flowParseTupleType() { let r = this.startNode(); for (r.types = [], this.expect(0); this.state.pos < this.length && !this.match(3) && (r.types.push(this.flowParseType()), !this.match( 3)); ) this.expect(12); return this.expect(3), this.finishNode(r, "TupleTypeAnnotation"); } flowParseFunctionTypeParam(r) { let n = null, i = !1, a = null, o = this.startNode(), l = this.lookahead(), u = this.state.type === 78; return l.type === 14 || l.type === 17 ? (u && !r && this.raise(Pe.ThisParamMustBeFirst, o), n = this.parseIdentifier(u), this.eat(17) && (i = !0, u && this.raise(Pe.ThisParamMayNotBeOptional, o)), a = this.flowParseTypeInitialiser()) : a = this.flowParseType(), o.name = n, o.optional = i, o.typeAnnotation = a, this.finishNode(o, "FunctionTypeParam"); } reinterpretTypeAsFunctionTypeParam(r) { let n = this.startNodeAt(r.loc.start); return n.name = null, n.optional = !1, n.typeAnnotation = r, this.finishNode(n, "FunctionTypeParam"); } flowParseFunctionTypeParams(r = []) { let n = null, i = null; for (this.match(78) && (i = this.flowParseFunctionTypeParam(!0), i.name = null, this.match(11) || this.expect(12)); !this.match(11) && !this.match(21); ) r.push(this.flowParseFunctionTypeParam(!1)), this.match(11) || this.expect(12); return this.eat(21) && (n = this.flowParseFunctionTypeParam(!1)), { params: r, rest: n, _this: i }; } flowIdentToTypeAnnotation(r, n, i) { switch (i.name) { case "any": return this.finishNode(n, "AnyTypeAnnotation"); case "bool": case "boolean": return this.finishNode(n, "BooleanTypeAnnotation"); case "mixed": return this.finishNode(n, "MixedTypeAnnotation"); case "empty": return this.finishNode(n, "EmptyTypeAnnotation"); case "number": return this.finishNode(n, "NumberTypeAnnotation"); case "string": return this.finishNode(n, "StringTypeAnnotation"); case "symbol": return this.finishNode(n, "SymbolTypeAnnotation"); default: return this.checkNotUnderscore(i.name), this.flowParseGenericType(r, i); } } flowParsePrimaryType() { let r = this.state.startLoc, n = this.startNode(), i, a, o = !1, l = 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, a = this.flowParseTupleType(), this.state.noAnonFunctionType = l, a; case 47: { let u = this.startNode(); return u.typeParameters = this.flowParseTypeParameterDeclaration(), this.expect(10), i = this.flowParseFunctionTypeParams(), u.params = i.params, u.rest = i.rest, u.this = i._this, this.expect(11), this.expect(19), u.returnType = this.flowParseType(), this.finishNode( u, "FunctionTypeAnnotation"); } case 10: { let u = this.startNode(); if (this.next(), !this.match(11) && !this.match(21)) if (et(this.state.type) || this.match(78)) { let c = this.lookahead().type; o = c !== 17 && c !== 14; } else o = !0; if (o) { if (this.state.noAnonFunctionType = !1, a = this.flowParseType(), this.state.noAnonFunctionType = l, this.state.noAnonFunctionType || !(this.match(12) || this.match(11) && this.lookahead().type === 19)) return this.expect(11), a; this.eat(12); } return a ? i = this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(a)]) : i = this.flowParseFunctionTypeParams(), u.params = i.params, u.rest = i.rest, u.this = i._this, this.expect(11), this.expect(19), u.returnType = this.flowParseType(), u.typeParameters = null, this.finishNode(u, "FunctionTypeAnnotation"); } case 133: return this.parseLiteral(this.state.value, "StringLiteralTypeAnnotation"); case 85: case 86: return n.value = this.match(85), this.next(), this.finishNode(n, "BooleanLiteralTypeAnnotation"); case 53: if (this.state.value === "-") { if (this.next(), this.match(134)) return this.parseLiteralAtNode(-this.state.value, "NumberLiteralTypeAnnotation", n); if (this.match(135)) return this.parseLiteralAtNode(-this.state.value, "BigIntLiteralTypeAnnotation", n); throw this.raise(Pe.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(n, "VoidTypeAnnotation"); case 84: return this.next(), this.finishNode(n, "NullLiteralTypeAnnotation"); case 78: return this.next(), this.finishNode(n, "ThisTypeAnnotation"); case 55: return this.next(), this.finishNode(n, "ExistsTypeAnnotation"); case 87: return this.flowParseTypeofType(); default: if (kh(this.state.type)) { let u = rs(this.state.type); return this.next(), super.createIdentifier(n, u); } else if (et(this.state.type)) return this.isContextual(129) ? this.flowParseInterfaceType() : this.flowIdentToTypeAnnotation(r, n, this.parseIdentifier()); } this.unexpected(); } flowParsePostfixType() { let r = this.state.startLoc, n = this.flowParsePrimaryType(), i = !1; for (; (this.match(0) || this.match(18)) && !this.canInsertSemicolon(); ) { let a = this.startNodeAt(r), o = this.eat(18); i = i || o, this.expect(0), !o && this.match(3) ? (a.elementType = n, this.next(), n = this.finishNode(a, "ArrayTypeAnnotation")) : (a. objectType = n, a.indexType = this.flowParseType(), this.expect(3), i ? (a.optional = o, n = this.finishNode(a, "OptionalIndexedAcce\ ssType")) : n = this.finishNode(a, "IndexedAccessType")); } return n; } flowParsePrefixType() { let r = this.startNode(); return this.eat(17) ? (r.typeAnnotation = this.flowParsePrefixType(), this.finishNode(r, "NullableTypeAnnotation")) : this.flowParsePostfixType(); } flowParseAnonFunctionWithoutParens() { let r = this.flowParsePrefixType(); if (!this.state.noAnonFunctionType && this.eat(19)) { let n = this.startNodeAt(r.loc.start); return n.params = [this.reinterpretTypeAsFunctionTypeParam(r)], n.rest = null, n.this = null, n.returnType = this.flowParseType(), n. typeParameters = null, this.finishNode(n, "FunctionTypeAnnotation"); } return r; } flowParseIntersectionType() { let r = this.startNode(); this.eat(45); let n = this.flowParseAnonFunctionWithoutParens(); for (r.types = [n]; this.eat(45); ) r.types.push(this.flowParseAnonFunctionWithoutParens()); return r.types.length === 1 ? n : this.finishNode(r, "IntersectionTypeAnnotation"); } flowParseUnionType() { let r = this.startNode(); this.eat(43); let n = this.flowParseIntersectionType(); for (r.types = [n]; this.eat(43); ) r.types.push(this.flowParseIntersectionType()); return r.types.length === 1 ? n : this.finishNode(r, "UnionTypeAnnotation"); } flowParseType() { let r = this.state.inType; this.state.inType = !0; let n = this.flowParseUnionType(); return this.state.inType = r, n; } flowParseTypeOrImplicitInstantiation() { if (this.state.type === 132 && this.state.value === "_") { let r = this.state.startLoc, n = this.parseIdentifier(); return this.flowParseGenericType(r, n); } else return this.flowParseType(); } flowParseTypeAnnotation() { let r = this.startNode(); return r.typeAnnotation = this.flowParseTypeInitialiser(), this.finishNode(r, "TypeAnnotation"); } flowParseTypeAnnotatableIdentifier(r) { let n = r ? this.parseIdentifier() : this.flowParseRestrictedIdentifier(); return this.match(14) && (n.typeAnnotation = this.flowParseTypeAnnotation(), this.resetEndLocation(n)), n; } typeCastToParameter(r) { return r.expression.typeAnnotation = r.typeAnnotation, this.resetEndLocation(r.expression, r.typeAnnotation.loc.end), r.expression; } flowParseVariance() { let r = null; return this.match(53) ? (r = this.startNode(), this.state.value === "+" ? r.kind = "plus" : r.kind = "minus", this.next(), this.finishNode( r, "Variance")) : r; } parseFunctionBody(r, n, i = !1) { if (n) { this.forwardNoArrowParamsConversionAt(r, () => super.parseFunctionBody(r, !0, i)); return; } super.parseFunctionBody(r, !1, i); } parseFunctionBodyAndFinish(r, n, i = !1) { if (this.match(14)) { let a = this.startNode(); [a.typeAnnotation, r.predicate] = this.flowParseTypeAndPredicateInitialiser(), r.returnType = a.typeAnnotation ? this.finishNode(a, "\ TypeAnnotation") : null; } return super.parseFunctionBodyAndFinish(r, n, i); } parseStatementLike(r) { if (this.state.strict && this.isContextual(129)) { let i = this.lookahead(); if ($r(i.type)) { let a = this.startNode(); return this.next(), this.flowParseInterface(a); } } else if (this.shouldParseEnums() && this.isContextual(126)) { let i = this.startNode(); return this.next(), this.flowParseEnumDeclaration(i); } let n = super.parseStatementLike(r); return this.flowPragma === void 0 && !this.isValidDirective(n) && (this.flowPragma = null), n; } parseExpressionStatement(r, n, i) { if (n.type === "Identifier") { if (n.name === "declare") { if (this.match(80) || et(this.state.type) || this.match(68) || this.match(74) || this.match(82)) return this.flowParseDeclare(r); } else if (et(this.state.type)) { if (n.name === "interface") return this.flowParseInterface(r); if (n.name === "type") return this.flowParseTypeAlias(r); if (n.name === "opaque") return this.flowParseOpaqueType(r, !1); } } return super.parseExpressionStatement(r, n, i); } shouldParseExportDeclaration() { let { type: r } = this.state; return Hv(r) || this.shouldParseEnums() && r === 126 ? !this.state.containsEsc : super.shouldParseExportDeclaration(); } isExportDefaultSpecifier() { let { type: r } = this.state; return Hv(r) || this.shouldParseEnums() && r === 126 ? this.state.containsEsc : super.isExportDefaultSpecifier(); } parseExportDefaultExpression() { if (this.shouldParseEnums() && this.isContextual(126)) { let r = this.startNode(); return this.next(), this.flowParseEnumDeclaration(r); } return super.parseExportDefaultExpression(); } parseConditional(r, n, i) { if (!this.match(17)) return r; if (this.state.maybeInArrowParameters) { let h = this.lookaheadCharCode(); if (h === 44 || h === 61 || h === 58 || h === 41) return this.setOptionalParametersError(i), r; } this.expect(17); let a = this.state.clone(), o = this.state.noArrowAt, l = this.startNodeAt(n), { consequent: u, failed: c } = this.tryParseConditionalConsequent(), [f, p] = this.getArrowLikeExpressions(u); if (c || p.length > 0) { let h = [...o]; if (p.length > 0) { this.state = a, this.state.noArrowAt = h; for (let y = 0; y < p.length; y++) h.push(p[y].start); ({ consequent: u, failed: c } = this.tryParseConditionalConsequent()), [f, p] = this.getArrowLikeExpressions(u); } c && f.length > 1 && this.raise(Pe.AmbiguousConditionalArrow, a.startLoc), c && f.length === 1 && (this.state = a, h.push(f[0].start), this.state.noArrowAt = h, { consequent: u, failed: c } = this.tryParseConditionalConsequent()); } return this.getArrowLikeExpressions(u, !0), this.state.noArrowAt = o, this.expect(14), l.test = r, l.consequent = u, l.alternate = this. forwardNoArrowParamsConversionAt(l, () => this.parseMaybeAssign(void 0, void 0)), this.finishNode(l, "ConditionalExpression"); } tryParseConditionalConsequent() { this.state.noArrowParamsConversionAt.push(this.state.start); let r = this.parseMaybeAssignAllowIn(), n = !this.match(14); return this.state.noArrowParamsConversionAt.pop(), { consequent: r, failed: n }; } getArrowLikeExpressions(r, n) { let i = [r], a = []; for (; i.length !== 0; ) { let o = i.pop(); o.type === "ArrowFunctionExpression" && o.body.type !== "BlockStatement" ? (o.typeParameters || !o.returnType ? this.finishArrowValidation( o) : a.push(o), i.push(o.body)) : o.type === "ConditionalExpression" && (i.push(o.consequent), i.push(o.alternate)); } return n ? (a.forEach((o) => this.finishArrowValidation(o)), [a, []]) : PG(a, (o) => o.params.every((l) => this.isAssignable(l, !0))); } finishArrowValidation(r) { var n; this.toAssignableList(r.params, (n = r.extra) == null ? void 0 : n.trailingCommaLoc, !1), this.scope.enter(6), super.checkParams(r, !1, !0), this.scope.exit(); } forwardNoArrowParamsConversionAt(r, n) { let i; return this.state.noArrowParamsConversionAt.includes(r.start) ? (this.state.noArrowParamsConversionAt.push(this.state.start), i = n(), this.state.noArrowParamsConversionAt.pop()) : i = n(), i; } parseParenItem(r, n) { let i = super.parseParenItem(r, n); if (this.eat(17) && (i.optional = !0, this.resetEndLocation(r)), this.match(14)) { let a = this.startNodeAt(n); return a.expression = i, a.typeAnnotation = this.flowParseTypeAnnotation(), this.finishNode(a, "TypeCastExpression"); } return i; } assertModuleNodeAllowed(r) { r.type === "ImportDeclaration" && (r.importKind === "type" || r.importKind === "typeof") || r.type === "ExportNamedDeclaration" && r.exportKind === "type" || r.type === "ExportAllDeclaration" && r.exportKind === "type" || super.assertModuleNodeAllowed(r); } parseExportDeclaration(r) { if (this.isContextual(130)) { r.exportKind = "type"; let n = this.startNode(); return this.next(), this.match(5) ? (r.specifiers = this.parseExportSpecifiers(!0), super.parseExportFrom(r), null) : this.flowParseTypeAlias( n); } else if (this.isContextual(131)) { r.exportKind = "type"; let n = this.startNode(); return this.next(), this.flowParseOpaqueType(n, !1); } else if (this.isContextual(129)) { r.exportKind = "type"; let n = this.startNode(); return this.next(), this.flowParseInterface(n); } else if (this.shouldParseEnums() && this.isContextual(126)) { r.exportKind = "value"; let n = this.startNode(); return this.next(), this.flowParseEnumDeclaration(n); } else return super.parseExportDeclaration(r); } eatExportStar(r) { return super.eatExportStar(r) ? !0 : this.isContextual(130) && this.lookahead().type === 55 ? (r.exportKind = "type", this.next(), this. next(), !0) : !1; } maybeParseExportNamespaceSpecifier(r) { let { startLoc: n } = this.state, i = super.maybeParseExportNamespaceSpecifier(r); return i && r.exportKind === "type" && this.unexpected(n), i; } parseClassId(r, n, i) { super.parseClassId(r, n, i), this.match(47) && (r.typeParameters = this.flowParseTypeParameterDeclaration()); } parseClassMember(r, n, i) { let { startLoc: a } = this.state; if (this.isContextual(125)) { if (super.parseClassMemberFromModifier(r, n)) return; n.declare = !0; } super.parseClassMember(r, n, i), n.declare && (n.type !== "ClassProperty" && n.type !== "ClassPrivateProperty" && n.type !== "Property\ Definition" ? this.raise(Pe.DeclareClassElement, a) : n.value && this.raise(Pe.DeclareClassFieldInitializer, n.value)); } isIterator(r) { return r === "iterator" || r === "asyncIterator"; } readIterator() { let r = super.readWord1(), n = "@@" + r; (!this.isIterator(r) || !this.state.inType) && this.raise(_.InvalidIdentifier, this.state.curPosition(), { identifierName: n }), this.finishToken(132, n); } getTokenFromCode(r) { let n = this.input.charCodeAt(this.state.pos + 1); r === 123 && n === 124 ? this.finishOp(6, 2) : this.state.inType && (r === 62 || r === 60) ? this.finishOp(r === 62 ? 48 : 47, 1) : this. state.inType && r === 63 ? n === 46 ? this.finishOp(18, 2) : this.finishOp(17, 1) : aG(r, n, this.input.charCodeAt(this.state.pos + 2)) ? (this.state.pos += 2, this.readIterator()) : super.getTokenFromCode(r); } isAssignable(r, n) { return r.type === "TypeCastExpression" ? this.isAssignable(r.expression, n) : super.isAssignable(r, n); } toAssignable(r, n = !1) { !n && r.type === "AssignmentExpression" && r.left.type === "TypeCastExpression" && (r.left = this.typeCastToParameter(r.left)), super. toAssignable(r, n); } toAssignableList(r, n, i) { for (let a = 0; a < r.length; a++) { let o = r[a]; o?.type === "TypeCastExpression" && (r[a] = this.typeCastToParameter(o)); } super.toAssignableList(r, n, i); } toReferencedList(r, n) { for (let a = 0; a < r.length; a++) { var i; let o = r[a]; o && o.type === "TypeCastExpression" && !((i = o.extra) != null && i.parenthesized) && (r.length > 1 || !n) && this.raise(Pe.TypeCastInPattern, o.typeAnnotation); } return r; } parseArrayLike(r, n, i, a) { let o = super.parseArrayLike(r, n, i, a); return n && !this.state.maybeInArrowParameters && this.toReferencedList(o.elements), o; } isValidLVal(r, n, i) { return r === "TypeCastExpression" || super.isValidLVal(r, n, i); } parseClassProperty(r) { return this.match(14) && (r.typeAnnotation = this.flowParseTypeAnnotation()), super.parseClassProperty(r); } parseClassPrivateProperty(r) { return this.match(14) && (r.typeAnnotation = this.flowParseTypeAnnotation()), super.parseClassPrivateProperty(r); } isClassMethod() { return this.match(47) || super.isClassMethod(); } isClassProperty() { return this.match(14) || super.isClassProperty(); } isNonstaticConstructor(r) { return !this.match(14) && super.isNonstaticConstructor(r); } pushClassMethod(r, n, i, a, o, l) { if (n.variance && this.unexpected(n.variance.loc.start), delete n.variance, this.match(47) && (n.typeParameters = this.flowParseTypeParameterDeclaration()), super.pushClassMethod(r, n, i, a, o, l), n.params && o) { let u = n.params; u.length > 0 && this.isThisParam(u[0]) && this.raise(Pe.ThisParamBannedInConstructor, n); } else if (n.type === "MethodDefinition" && o && n.value.params) { let u = n.value.params; u.length > 0 && this.isThisParam(u[0]) && this.raise(Pe.ThisParamBannedInConstructor, n); } } pushClassPrivateMethod(r, n, i, a) { n.variance && this.unexpected(n.variance.loc.start), delete n.variance, this.match(47) && (n.typeParameters = this.flowParseTypeParameterDeclaration()), super.pushClassPrivateMethod(r, n, i, a); } parseClassSuper(r) { if (super.parseClassSuper(r), r.superClass && this.match(47) && (r.superTypeParameters = this.flowParseTypeParameterInstantiation()), this. isContextual(113)) { this.next(); let n = r.implements = []; do { let i = this.startNode(); i.id = this.flowParseRestrictedIdentifier(!0), this.match(47) ? i.typeParameters = this.flowParseTypeParameterInstantiation() : i. typeParameters = null, n.push(this.finishNode(i, "ClassImplements")); } while (this.eat(12)); } } checkGetterSetterParams(r) { super.checkGetterSetterParams(r); let n = this.getObjectOrClassMethodParams(r); if (n.length > 0) { let i = n[0]; this.isThisParam(i) && r.kind === "get" ? this.raise(Pe.GetterMayNotHaveThisParam, i) : this.isThisParam(i) && this.raise(Pe.SetterMayNotHaveThisParam, i); } } parsePropertyNamePrefixOperator(r) { r.variance = this.flowParseVariance(); } parseObjPropValue(r, n, i, a, o, l, u) { r.variance && this.unexpected(r.variance.loc.start), delete r.variance; let c; this.match(47) && !l && (c = this.flowParseTypeParameterDeclaration(), this.match(10) || this.unexpected()); let f = super.parseObjPropValue(r, n, i, a, o, l, u); return c && ((f.value || f).typeParameters = c), f; } parseAssignableListItemTypes(r) { return this.eat(17) && (r.type !== "Identifier" && this.raise(Pe.PatternIsOptional, r), this.isThisParam(r) && this.raise(Pe.ThisParamMayNotBeOptional, r), r.optional = !0), this.match(14) ? r.typeAnnotation = this.flowParseTypeAnnotation() : this.isThisParam(r) && this.raise(Pe.ThisParamAnnotationRequired, r), this.match(29) && this.isThisParam(r) && this.raise(Pe.ThisParamNoDefault, r), this.resetEndLocation(r), r; } parseMaybeDefault(r, n) { let i = super.parseMaybeDefault(r, n); return i.type === "AssignmentPattern" && i.typeAnnotation && i.right.start < i.typeAnnotation.start && this.raise(Pe.TypeBeforeInitializer, i.typeAnnotation), i; } checkImportReflection(r) { super.checkImportReflection(r), r.module && r.importKind !== "value" && this.raise(Pe.ImportReflectionHasImportType, r.specifiers[0].loc. start); } parseImportSpecifierLocal(r, n, i) { n.local = Xv(r) ? this.flowParseRestrictedIdentifier(!0, !0) : this.parseIdentifier(), r.specifiers.push(this.finishImportSpecifier(n, i)); } isPotentialImportPhase(r) { if (super.isPotentialImportPhase(r)) return !0; if (this.isContextual(130)) { if (!r) return !0; let n = this.lookaheadCharCode(); return n === 123 || n === 42; } return !r && this.isContextual(87); } applyImportPhase(r, n, i, a) { if (super.applyImportPhase(r, n, i, a), n) { if (!i && this.match(65)) return; r.exportKind = i === "type" ? i : "value"; } else i === "type" && this.match(55) && this.unexpected(), r.importKind = i === "type" || i === "typeof" ? i : "value"; } parseImportSpecifier(r, n, i, a, o) { let l = r.imported, u = null; l.type === "Identifier" && (l.name === "type" ? u = "type" : l.name === "typeof" && (u = "typeof")); let c = !1; if (this.isContextual(93) && !this.isLookaheadContextual("as")) { let p = this.parseIdentifier(!0); u !== null && !$r(this.state.type) ? (r.imported = p, r.importKind = u, r.local = In(p)) : (r.imported = l, r.importKind = null, r.local = this.parseIdentifier()); } else { if (u !== null && $r(this.state.type)) r.imported = this.parseIdentifier(!0), r.importKind = u; else { if (n) throw this.raise(_.ImportBindingIsString, r, { importName: l.value }); r.imported = l, r.importKind = null; } this.eatContextual(93) ? r.local = this.parseIdentifier() : (c = !0, r.local = In(r.imported)); } let f = Xv(r); return i && f && this.raise(Pe.ImportTypeShorthandOnlyInPureImport, r), (i || f) && this.checkReservedType(r.local.name, r.local.loc.start, !0), c && !i && !f && this.checkReservedWord(r.local.name, r.loc.start, !0, !0), this.finishImportSpecifier(r, "ImportSpecifier"); } parseBindingAtom() { switch (this.state.type) { case 78: return this.parseIdentifier(!0); default: return super.parseBindingAtom(); } } parseFunctionParams(r, n) { let i = r.kind; i !== "get" && i !== "set" && this.match(47) && (r.typeParameters = this.flowParseTypeParameterDeclaration()), super.parseFunctionParams( r, n); } parseVarId(r, n) { super.parseVarId(r, n), this.match(14) && (r.id.typeAnnotation = this.flowParseTypeAnnotation(), this.resetEndLocation(r.id)); } parseAsyncArrowFromCallExpression(r, n) { if (this.match(14)) { let i = this.state.noAnonFunctionType; this.state.noAnonFunctionType = !0, r.returnType = this.flowParseTypeAnnotation(), this.state.noAnonFunctionType = i; } return super.parseAsyncArrowFromCallExpression(r, n); } shouldParseAsyncArrow() { return this.match(14) || super.shouldParseAsyncArrow(); } parseMaybeAssign(r, n) { var i; let a = null, o; if (this.hasPlugin("jsx") && (this.match(142) || this.match(47))) { if (a = this.state.clone(), o = this.tryParse(() => super.parseMaybeAssign(r, n), a), !o.error) return o.node; let { context: c } = this.state, f = c[c.length - 1]; (f === it.j_oTag || f === it.j_expr) && c.pop(); } if ((i = o) != null && i.error || this.match(47)) { var l, u; a = a || this.state.clone(); let c, f = this.tryParse((h) => { var y; c = this.flowParseTypeParameterDeclaration(); let v = this.forwardNoArrowParamsConversionAt(c, () => { let b = super.parseMaybeAssign(r, n); return this.resetStartLocationFromNode(b, c), b; }); (y = v.extra) != null && y.parenthesized && h(); let d = this.maybeUnwrapTypeCastExpression(v); return d.type !== "ArrowFunctionExpression" && h(), d.typeParameters = c, this.resetStartLocationFromNode(d, c), v; }, a), p = null; if (f.node && this.maybeUnwrapTypeCastExpression(f.node).type === "ArrowFunctionExpression") { if (!f.error && !f.aborted) return f.node.async && this.raise(Pe.UnexpectedTypeParameterBeforeAsyncArrowFunction, c), f.node; p = f.node; } if ((l = o) != null && l.node) return this.state = o.failState, o.node; if (p) return this.state = f.failState, p; throw (u = o) != null && u.thrown ? o.error : f.thrown ? f.error : this.raise(Pe.UnexpectedTokenAfterTypeParameter, c); } return super.parseMaybeAssign(r, n); } parseArrow(r) { if (this.match(14)) { let n = this.tryParse(() => { let i = this.state.noAnonFunctionType; this.state.noAnonFunctionType = !0; let a = this.startNode(); return [a.typeAnnotation, r.predicate] = this.flowParseTypeAndPredicateInitialiser(), this.state.noAnonFunctionType = i, this.canInsertSemicolon() && this.unexpected(), this.match(19) || this.unexpected(), a; }); if (n.thrown) return null; n.error && (this.state = n.failState), r.returnType = n.node.typeAnnotation ? this.finishNode(n.node, "TypeAnnotation") : null; } return super.parseArrow(r); } shouldParseArrow(r) { return this.match(14) || super.shouldParseArrow(r); } setArrowFunctionParameters(r, n) { this.state.noArrowParamsConversionAt.includes(r.start) ? r.params = n : super.setArrowFunctionParameters(r, n); } checkParams(r, n, i, a = !0) { if (!(i && this.state.noArrowParamsConversionAt.includes(r.start))) { for (let o = 0; o < r.params.length; o++) this.isThisParam(r.params[o]) && o > 0 && this.raise(Pe.ThisParamMustBeFirst, r.params[o]); super.checkParams(r, n, i, a); } } parseParenAndDistinguishExpression(r) { return super.parseParenAndDistinguishExpression(r && !this.state.noArrowAt.includes(this.state.start)); } parseSubscripts(r, n, i) { if (r.type === "Identifier" && r.name === "async" && this.state.noArrowAt.includes(n.index)) { this.next(); let a = this.startNodeAt(n); a.callee = r, a.arguments = super.parseCallExpressionArguments(11, !1), r = this.finishNode(a, "CallExpression"); } else if (r.type === "Identifier" && r.name === "async" && this.match(47)) { let a = this.state.clone(), o = this.tryParse((u) => this.parseAsyncArrowWithTypeParameters(n) || u(), a); if (!o.error && !o.aborted) return o.node; let l = this.tryParse(() => super.parseSubscripts(r, n, i), a); if (l.node && !l.error) return l.node; if (o.node) return this.state = o.failState, o.node; if (l.node) return this.state = l.failState, l.node; throw o.error || l.error; } return super.parseSubscripts(r, n, i); } parseSubscript(r, n, i, a) { if (this.match(18) && this.isLookaheadToken_lt()) { if (a.optionalChainMember = !0, i) return a.stop = !0, r; this.next(); let o = this.startNodeAt(n); return o.callee = r, o.typeArguments = this.flowParseTypeParameterInstantiation(), this.expect(10), o.arguments = this.parseCallExpressionArguments( 11, !1), o.optional = !0, this.finishCallExpression(o, !0); } else if (!i && this.shouldParseTypes() && this.match(47)) { let o = this.startNodeAt(n); o.callee = r; let l = this.tryParse(() => (o.typeArguments = this.flowParseTypeParameterInstantiationCallOrNew(), this.expect(10), o.arguments = super. parseCallExpressionArguments(11, !1), a.optionalChainMember && (o.optional = !1), this.finishCallExpression(o, a.optionalChainMember))); if (l.node) return l.error && (this.state = l.failState), l.node; } return super.parseSubscript(r, n, i, a); } parseNewCallee(r) { super.parseNewCallee(r); let n = null; this.shouldParseTypes() && this.match(47) && (n = this.tryParse(() => this.flowParseTypeParameterInstantiationCallOrNew()).node), r.typeArguments = n; } parseAsyncArrowWithTypeParameters(r) { let n = this.startNodeAt(r); if (this.parseFunctionParams(n, !1), !!this.parseArrow(n)) return super.parseArrowExpression(n, void 0, !0); } readToken_mult_modulo(r) { let n = this.input.charCodeAt(this.state.pos + 1); if (r === 42 && n === 47 && this.state.hasFlowComment) { this.state.hasFlowComment = !1, this.state.pos += 2, this.nextToken(); return; } super.readToken_mult_modulo(r); } readToken_pipe_amp(r) { let n = this.input.charCodeAt(this.state.pos + 1); if (r === 124 && n === 125) { this.finishOp(9, 2); return; } super.readToken_pipe_amp(r); } parseTopLevel(r, n) { let i = super.parseTopLevel(r, n); return this.state.hasFlowComment && this.raise(Pe.UnterminatedFlowComment, this.state.curPosition()), i; } skipBlockComment() { if (this.hasPlugin("flowComments") && this.skipFlowComment()) { if (this.state.hasFlowComment) throw this.raise(Pe.NestedFlowComment, this.state.startLoc); this.hasFlowCommentCompletion(); let r = this.skipFlowComment(); r && (this.state.pos += r, this.state.hasFlowComment = !0); return; } return super.skipBlockComment(this.state.hasFlowComment ? "*-/" : "*/"); } skipFlowComment() { let { pos: r } = this.state, n = 2; for (; [32, 9].includes(this.input.charCodeAt(r + n)); ) n++; let i = this.input.charCodeAt(n + r), a = this.input.charCodeAt(n + r + 1); return i === 58 && a === 58 ? n + 2 : this.input.slice(n + r, n + r + 12) === "flow-include" ? n + 12 : i === 58 && a !== 58 ? n : !1; } hasFlowCommentCompletion() { if (this.input.indexOf("*/", this.state.pos) === -1) throw this.raise(_.UnterminatedComment, this.state.curPosition()); } flowEnumErrorBooleanMemberNotInitialized(r, { enumName: n, memberName: i }) { this.raise(Pe.EnumBooleanMemberNotInitialized, r, { memberName: i, enumName: n }); } flowEnumErrorInvalidMemberInitializer(r, n) { return this.raise(n.explicitType ? n.explicitType === "symbol" ? Pe.EnumInvalidMemberInitializerSymbolType : Pe.EnumInvalidMemberInitializerPrimaryType : Pe.EnumInvalidMemberInitializerUnknownType, r, n); } flowEnumErrorNumberMemberNotInitialized(r, n) { this.raise(Pe.EnumNumberMemberNotInitialized, r, n); } flowEnumErrorStringMemberInconsistentlyInitialized(r, n) { this.raise(Pe.EnumStringMemberInconsistentlyInitialized, r, n); } flowEnumMemberInit() { let r = this.state.startLoc, n = /* @__PURE__ */ s(() => this.match(12) || this.match(8), "endOfInit"); switch (this.state.type) { case 134: { let i = this.parseNumericLiteral(this.state.value); return n() ? { type: "number", loc: i.loc.start, value: i } : { type: "invalid", loc: r }; } case 133: { let i = this.parseStringLiteral(this.state.value); return n() ? { type: "string", loc: i.loc.start, value: i } : { type: "invalid", loc: r }; } case 85: case 86: { let i = this.parseBooleanLiteral(this.match(85)); return n() ? { type: "boolean", loc: i.loc.start, value: i } : { type: "invalid", loc: r }; } default: return { type: "invalid", loc: r }; } } flowEnumMemberRaw() { let r = this.state.startLoc, n = this.parseIdentifier(!0), i = this.eat(29) ? this.flowEnumMemberInit() : { type: "none", loc: r }; return { id: n, init: i }; } flowEnumCheckExplicitTypeMismatch(r, n, i) { let { explicitType: a } = n; a !== null && a !== i && this.flowEnumErrorInvalidMemberInitializer(r, n); } flowEnumMembers({ enumName: r, explicitType: n }) { let i = /* @__PURE__ */ new Set(), a = { booleanMembers: [], numberMembers: [], stringMembers: [], defaultedMembers: [] }, o = !1; for (; !this.match(8); ) { if (this.eat(21)) { o = !0; break; } let l = this.startNode(), { id: u, init: c } = this.flowEnumMemberRaw(), f = u.name; if (f === "") continue; /^[a-z]/.test(f) && this.raise(Pe.EnumInvalidMemberName, u, { memberName: f, suggestion: f[0].toUpperCase() + f.slice(1), enumName: r }), i.has(f) && this.raise(Pe.EnumDuplicateMemberName, u, { memberName: f, enumName: r }), i.add(f); let p = { enumName: r, explicitType: n, memberName: f }; switch (l.id = u, c.type) { case "boolean": { this.flowEnumCheckExplicitTypeMismatch(c.loc, p, "boolean"), l.init = c.value, a.booleanMembers.push(this.finishNode(l, "EnumBoo\ leanMember")); break; } case "number": { this.flowEnumCheckExplicitTypeMismatch(c.loc, p, "number"), l.init = c.value, a.numberMembers.push(this.finishNode(l, "EnumNumbe\ rMember")); break; } case "string": { this.flowEnumCheckExplicitTypeMismatch(c.loc, p, "string"), l.init = c.value, a.stringMembers.push(this.finishNode(l, "EnumStrin\ gMember")); break; } case "invalid": throw this.flowEnumErrorInvalidMemberInitializer(c.loc, p); case "none": switch (n) { case "boolean": this.flowEnumErrorBooleanMemberNotInitialized(c.loc, p); break; case "number": this.flowEnumErrorNumberMemberNotInitialized(c.loc, p); break; default: a.defaultedMembers.push(this.finishNode(l, "EnumDefaultedMember")); } } this.match(8) || this.expect(12); } return { members: a, hasUnknownMembers: o }; } flowEnumStringMembers(r, n, { enumName: i }) { if (r.length === 0) return n; if (n.length === 0) return r; if (n.length > r.length) { for (let a of r) this.flowEnumErrorStringMemberInconsistentlyInitialized(a, { enumName: i }); return n; } else { for (let a of n) this.flowEnumErrorStringMemberInconsistentlyInitialized(a, { enumName: i }); return r; } } flowEnumParseExplicitType({ enumName: r }) { if (!this.eatContextual(102)) return null; if (!et(this.state.type)) throw this.raise(Pe.EnumInvalidExplicitTypeUnknownSupplied, this.state.startLoc, { enumName: r }); let { value: n } = this.state; return this.next(), n !== "boolean" && n !== "number" && n !== "string" && n !== "symbol" && this.raise(Pe.EnumInvalidExplicitType, this. state.startLoc, { enumName: r, invalidEnumType: n }), n; } flowEnumBody(r, n) { let i = n.name, a = n.loc.start, o = this.flowEnumParseExplicitType({ enumName: i }); this.expect(5); let { members: l, hasUnknownMembers: u } = this.flowEnumMembers({ enumName: i, explicitType: o }); switch (r.hasUnknownMembers = u, o) { case "boolean": return r.explicitType = !0, r.members = l.booleanMembers, this.expect(8), this.finishNode(r, "EnumBooleanBody"); case "number": return r.explicitType = !0, r.members = l.numberMembers, this.expect(8), this.finishNode(r, "EnumNumberBody"); case "string": return r.explicitType = !0, r.members = this.flowEnumStringMembers(l.stringMembers, l.defaultedMembers, { enumName: i }), this.expect(8), this.finishNode(r, "EnumStringBody"); case "symbol": return r.members = l.defaultedMembers, this.expect(8), this.finishNode(r, "EnumSymbolBody"); default: { let c = /* @__PURE__ */ s(() => (r.members = [], this.expect(8), this.finishNode(r, "EnumStringBody")), "empty"); r.explicitType = !1; let f = l.booleanMembers.length, p = l.numberMembers.length, h = l.stringMembers.length, y = l.defaultedMembers.length; if (!f && !p && !h && !y) return c(); if (!f && !p) return r.members = this.flowEnumStringMembers(l.stringMembers, l.defaultedMembers, { enumName: i }), this.expect(8), this.finishNode(r, "EnumStringBody"); if (!p && !h && f >= y) { for (let v of l.defaultedMembers) this.flowEnumErrorBooleanMemberNotInitialized(v.loc.start, { enumName: i, memberName: v.id.name }); return r.members = l.booleanMembers, this.expect(8), this.finishNode(r, "EnumBooleanBody"); } else if (!f && !h && p >= y) { for (let v of l.defaultedMembers) this.flowEnumErrorNumberMemberNotInitialized(v.loc.start, { enumName: i, memberName: v.id.name }); return r.members = l.numberMembers, this.expect(8), this.finishNode(r, "EnumNumberBody"); } else return this.raise(Pe.EnumInconsistentMemberValues, a, { enumName: i }), c(); } } } flowParseEnumDeclaration(r) { let n = this.parseIdentifier(); return r.id = n, r.body = this.flowEnumBody(this.startNode(), n), this.finishNode(r, "EnumDeclaration"); } isLookaheadToken_lt() { let r = this.nextTokenStart(); if (this.input.charCodeAt(r) === 60) { let n = this.input.charCodeAt(r + 1); return n !== 60 && n !== 61; } return !1; } maybeUnwrapTypeCastExpression(r) { return r.type === "TypeCastExpression" ? r.expression : r; } }, "flow"), wG = { __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" }, ks = Dn`jsx`({ AttributeIsEmpty: "JSX attributes must only be assigned a non-empty expression.", MissingClosingTagElement: /* @__PURE__ */ s(({ openingTagName: e }) => `Expected corresponding JSX closing tag for <${e}>.`, "MissingClosingTagElement"), 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: /* @__PURE__ */ s(({ unexpected: e, HTMLEntity: t }) => `Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`, "UnexpectedToken"), UnsupportedJsxValue: "JSX value should be either an expression or a quoted JSX text.", UnterminatedJsxContent: "Unterminated JSX contents.", UnwrappedAdjacentJSXElements: "Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?" }); function ts(e) { return e ? e.type === "JSXOpeningFragment" || e.type === "JSXClosingFragment" : !1; } s(ts, "isFragment"); function vi(e) { if (e.type === "JSXIdentifier") return e.name; if (e.type === "JSXNamespacedName") return e.namespace.name + ":" + e.name.name; if (e.type === "JSXMemberExpression") return vi(e.object) + "." + vi(e.property); throw new Error("Node had unexpected type: " + e.type); } s(vi, "getQualifiedJSXName"); var DG = /* @__PURE__ */ s((e) => class extends e { static { s(this, "JSXParserMixin"); } jsxReadToken() { let r = "", n = this.state.pos; for (; ; ) { if (this.state.pos >= this.length) throw this.raise(ks.UnterminatedJsxContent, this.state.startLoc); let i = this.input.charCodeAt(this.state.pos); switch (i) { case 60: case 123: if (this.state.pos === this.state.start) { i === 60 && this.state.canStartJSXElement ? (++this.state.pos, this.finishToken(142)) : super.getTokenFromCode(i); return; } r += this.input.slice(n, this.state.pos), this.finishToken(141, r); return; case 38: r += this.input.slice(n, this.state.pos), r += this.jsxReadEntity(), n = this.state.pos; break; case 62: case 125: default: xi(i) ? (r += this.input.slice(n, this.state.pos), r += this.jsxReadNewLine(!0), n = this.state.pos) : ++this.state.pos; } } } jsxReadNewLine(r) { let n = this.input.charCodeAt(this.state.pos), i; return ++this.state.pos, n === 13 && this.input.charCodeAt(this.state.pos) === 10 ? (++this.state.pos, i = r ? ` ` : `\r `) : i = String.fromCharCode(n), ++this.state.curLine, this.state.lineStart = this.state.pos, i; } jsxReadString(r) { let n = "", i = ++this.state.pos; for (; ; ) { if (this.state.pos >= this.length) throw this.raise(_.UnterminatedString, this.state.startLoc); let a = this.input.charCodeAt(this.state.pos); if (a === r) break; a === 38 ? (n += this.input.slice(i, this.state.pos), n += this.jsxReadEntity(), i = this.state.pos) : xi(a) ? (n += this.input.slice( i, this.state.pos), n += this.jsxReadNewLine(!1), i = this.state.pos) : ++this.state.pos; } n += this.input.slice(i, this.state.pos++), this.finishToken(133, n); } jsxReadEntity() { let r = ++this.state.pos; if (this.codePointAtPos(this.state.pos) === 35) { ++this.state.pos; let n = 10; this.codePointAtPos(this.state.pos) === 120 && (n = 16, ++this.state.pos); let i = this.readInt(n, void 0, !1, "bail"); if (i !== null && this.codePointAtPos(this.state.pos) === 59) return ++this.state.pos, String.fromCodePoint(i); } else { let n = 0, i = !1; for (; n++ < 10 && this.state.pos < this.length && !(i = this.codePointAtPos(this.state.pos) === 59); ) ++this.state.pos; if (i) { let a = this.input.slice(r, this.state.pos), o = wG[a]; if (++this.state.pos, o) return o; } } return this.state.pos = r, "&"; } jsxReadWord() { let r, n = this.state.pos; do r = this.input.charCodeAt(++this.state.pos); while (Ti(r) || r === 45); this.finishToken(140, this.input.slice(n, this.state.pos)); } jsxParseIdentifier() { let r = this.startNode(); return this.match(140) ? r.name = this.state.value : kh(this.state.type) ? r.name = rs(this.state.type) : this.unexpected(), this.next(), this.finishNode(r, "JSXIdentifier"); } jsxParseNamespacedName() { let r = this.state.startLoc, n = this.jsxParseIdentifier(); if (!this.eat(14)) return n; let i = this.startNodeAt(r); return i.namespace = n, i.name = this.jsxParseIdentifier(), this.finishNode(i, "JSXNamespacedName"); } jsxParseElementName() { let r = this.state.startLoc, n = this.jsxParseNamespacedName(); if (n.type === "JSXNamespacedName") return n; for (; this.eat(16); ) { let i = this.startNodeAt(r); i.object = n, i.property = this.jsxParseIdentifier(), n = this.finishNode(i, "JSXMemberExpression"); } return n; } jsxParseAttributeValue() { let r; switch (this.state.type) { case 5: return r = this.startNode(), this.setContext(it.brace), this.next(), r = this.jsxParseExpressionContainer(r, it.j_oTag), r.expression. type === "JSXEmptyExpression" && this.raise(ks.AttributeIsEmpty, r), r; case 142: case 133: return this.parseExprAtom(); default: throw this.raise(ks.UnsupportedJsxValue, this.state.startLoc); } } jsxParseEmptyExpression() { let r = this.startNodeAt(this.state.lastTokEndLoc); return this.finishNodeAt(r, "JSXEmptyExpression", this.state.startLoc); } jsxParseSpreadChild(r) { return this.next(), r.expression = this.parseExpression(), this.setContext(it.j_expr), this.state.canStartJSXElement = !0, this.expect( 8), this.finishNode(r, "JSXSpreadChild"); } jsxParseExpressionContainer(r, n) { if (this.match(8)) r.expression = this.jsxParseEmptyExpression(); else { let i = this.parseExpression(); r.expression = i; } return this.setContext(n), this.state.canStartJSXElement = !0, this.expect(8), this.finishNode(r, "JSXExpressionContainer"); } jsxParseAttribute() { let r = this.startNode(); return this.match(5) ? (this.setContext(it.brace), this.next(), this.expect(21), r.argument = this.parseMaybeAssignAllowIn(), this.setContext( it.j_oTag), this.state.canStartJSXElement = !0, this.expect(8), this.finishNode(r, "JSXSpreadAttribute")) : (r.name = this.jsxParseNamespacedName(), r.value = this.eat(29) ? this.jsxParseAttributeValue() : null, this.finishNode(r, "JSXAttribute")); } jsxParseOpeningElementAt(r) { let n = this.startNodeAt(r); return this.eat(143) ? this.finishNode(n, "JSXOpeningFragment") : (n.name = this.jsxParseElementName(), this.jsxParseOpeningElementAfterName( n)); } jsxParseOpeningElementAfterName(r) { let n = []; for (; !this.match(56) && !this.match(143); ) n.push(this.jsxParseAttribute()); return r.attributes = n, r.selfClosing = this.eat(56), this.expect(143), this.finishNode(r, "JSXOpeningElement"); } jsxParseClosingElementAt(r) { let n = this.startNodeAt(r); return this.eat(143) ? this.finishNode(n, "JSXClosingFragment") : (n.name = this.jsxParseElementName(), this.expect(143), this.finishNode( n, "JSXClosingElement")); } jsxParseElementAt(r) { let n = this.startNodeAt(r), i = [], a = this.jsxParseOpeningElementAt(r), o = null; if (!a.selfClosing) { e: for (; ; ) switch (this.state.type) { case 142: if (r = this.state.startLoc, this.next(), this.eat(56)) { o = this.jsxParseClosingElementAt(r); break e; } i.push(this.jsxParseElementAt(r)); break; case 141: i.push(this.parseLiteral(this.state.value, "JSXText")); break; case 5: { let l = this.startNode(); this.setContext(it.brace), this.next(), this.match(21) ? i.push(this.jsxParseSpreadChild(l)) : i.push(this.jsxParseExpressionContainer( l, it.j_expr)); break; } default: this.unexpected(); } ts(a) && !ts(o) && o !== null ? this.raise(ks.MissingClosingTagFragment, o) : !ts(a) && ts(o) ? this.raise(ks.MissingClosingTagElement, o, { openingTagName: vi(a.name) }) : !ts(a) && !ts(o) && vi(o.name) !== vi(a.name) && this.raise(ks.MissingClosingTagElement, o, { openingTagName: vi(a.name) }); } if (ts(a) ? (n.openingFragment = a, n.closingFragment = o) : (n.openingElement = a, n.closingElement = o), n.children = i, this.match( 47)) throw this.raise(ks.UnwrappedAdjacentJSXElements, this.state.startLoc); return ts(a) ? this.finishNode(n, "JSXFragment") : this.finishNode(n, "JSXElement"); } jsxParseElement() { let r = this.state.startLoc; return this.next(), this.jsxParseElementAt(r); } setContext(r) { let { context: n } = this.state; n[n.length - 1] = r; } parseExprAtom(r) { return this.match(142) ? this.jsxParseElement() : this.match(47) && this.input.charCodeAt(this.state.pos) !== 33 ? (this.replaceToken( 142), this.jsxParseElement()) : super.parseExprAtom(r); } skipSpace() { this.curContext().preserveSpace || super.skipSpace(); } getTokenFromCode(r) { let n = this.curContext(); if (n === it.j_expr) { this.jsxReadToken(); return; } if (n === it.j_oTag || n === it.j_cTag) { if (wn(r)) { this.jsxReadWord(); return; } if (r === 62) { ++this.state.pos, this.finishToken(143); return; } if ((r === 34 || r === 39) && n === it.j_oTag) { this.jsxReadString(r); return; } } if (r === 60 && this.state.canStartJSXElement && this.input.charCodeAt(this.state.pos + 1) !== 33) { ++this.state.pos, this.finishToken(142); return; } super.getTokenFromCode(r); } updateContext(r) { let { context: n, type: i } = this.state; if (i === 56 && r === 142) n.splice(-2, 2, it.j_cTag), this.state.canStartJSXElement = !1; else if (i === 142) n.push(it.j_oTag); else if (i === 143) { let a = n[n.length - 1]; a === it.j_oTag && r === 56 || a === it.j_cTag ? (n.pop(), this.state.canStartJSXElement = n[n.length - 1] === it.j_expr) : (this.setContext( it.j_expr), this.state.canStartJSXElement = !0); } else this.state.canStartJSXElement = WK(i); } }, "jsx"), Sh = class extends Ya { static { s(this, "TypeScriptScope"); } constructor(...t) { super(...t), this.tsNames = /* @__PURE__ */ new Map(); } }, Ph = class extends za { static { s(this, "TypeScriptScopeHandler"); } constructor(...t) { super(...t), this.importsStack = []; } createScope(t) { return this.importsStack.push(/* @__PURE__ */ new Set()), new Sh(t); } enter(t) { t === 256 && this.importsStack.push(/* @__PURE__ */ new Set()), super.enter(t); } exit() { let t = super.exit(); return t === 256 && this.importsStack.pop(), t; } hasImport(t, r) { let n = this.importsStack.length; if (this.importsStack[n - 1].has(t)) return !0; if (!r && n > 1) { for (let i = 0; i < n - 1; i++) if (this.importsStack[i].has(t)) return !0; } return !1; } declareName(t, r, n) { if (r & 4096) { this.hasImport(t, !0) && this.parser.raise(_.VarRedeclaration, n, { identifierName: t }), this.importsStack[this.importsStack.length - 1].add(t); return; } let i = this.currentScope(), a = i.tsNames.get(t) || 0; if (r & 1024) { this.maybeExportDefined(i, t), i.tsNames.set(t, a | 16); return; } super.declareName(t, r, n), r & 2 && (r & 1 || (this.checkRedeclarationInScope(i, t, r, n), this.maybeExportDefined(i, t)), a = a | 1), r & 256 && (a = a | 2), r & 512 && (a = a | 4), r & 128 && (a = a | 8), a && i.tsNames.set(t, a); } isRedeclaredInScope(t, r, n) { let i = t.tsNames.get(r); if ((i & 2) > 0) { if (n & 256) { let a = !!(n & 512), o = (i & 4) > 0; return a !== o; } return !0; } return n & 128 && (i & 8) > 0 ? t.names.get(r) & 2 ? !!(n & 1) : !1 : n & 2 && (i & 1) > 0 ? !0 : super.isRedeclaredInScope(t, r, n); } checkLocalExport(t) { let { name: r } = t; if (this.hasImport(r)) return; let n = this.scopeStack.length; for (let i = n - 1; i >= 0; i--) { let o = this.scopeStack[i].tsNames.get(r); if ((o & 1) > 0 || (o & 16) > 0) return; } super.checkLocalExport(t); } }, mT = /* @__PURE__ */ s((e) => e.type === "ParenthesizedExpression" ? mT(e.expression) : e, "unwrapParenthesizedExpression"), Ah = class extends xh { static { s(this, "LValParser"); } toAssignable(t, r = !1) { var n, i; let a; switch ((t.type === "ParenthesizedExpression" || (n = t.extra) != null && n.parenthesized) && (a = mT(t), r ? a.type === "Identifier" ? this.expressionScope.recordArrowParameterBindingError(_.InvalidParenthesizedAssignment, t) : a.type !== "MemberExpression" && !this.isOptionalMemberExpression( a) && this.raise(_.InvalidParenthesizedAssignment, t) : this.raise(_.InvalidParenthesizedAssignment, t)), t.type) { case "Identifier": case "ObjectPattern": case "ArrayPattern": case "AssignmentPattern": case "RestElement": break; case "ObjectExpression": t.type = "ObjectPattern"; for (let l = 0, u = t.properties.length, c = u - 1; l < u; l++) { var o; let f = t.properties[l], p = l === c; this.toAssignableObjectExpressionProp(f, p, r), p && f.type === "RestElement" && (o = t.extra) != null && o.trailingCommaLoc && this. raise(_.RestTrailingComma, t.extra.trailingCommaLoc); } break; case "ObjectProperty": { let { key: l, value: u } = t; this.isPrivateName(l) && this.classScope.usePrivateName(this.getPrivateNameSV(l), l.loc.start), this.toAssignable(u, r); break; } case "SpreadElement": throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignabl\ e's caller."); case "ArrayExpression": t.type = "ArrayPattern", this.toAssignableList(t.elements, (i = t.extra) == null ? void 0 : i.trailingCommaLoc, r); break; case "AssignmentExpression": t.operator !== "=" && this.raise(_.MissingEqInAssignment, t.left.loc.end), t.type = "AssignmentPattern", delete t.operator, this.toAssignable( t.left, r); break; case "ParenthesizedExpression": this.toAssignable(a, r); break; } } toAssignableObjectExpressionProp(t, r, n) { if (t.type === "ObjectMethod") this.raise(t.kind === "get" || t.kind === "set" ? _.PatternHasAccessor : _.PatternHasMethod, t.key); else if (t.type === "SpreadElement") { t.type = "RestElement"; let i = t.argument; this.checkToRestConversion(i, !1), this.toAssignable(i, n), r || this.raise(_.RestTrailingComma, t); } else this.toAssignable(t, n); } toAssignableList(t, r, n) { let i = t.length - 1; for (let a = 0; a <= i; a++) { let o = t[a]; if (o) { if (o.type === "SpreadElement") { o.type = "RestElement"; let l = o.argument; this.checkToRestConversion(l, !0), this.toAssignable(l, n); } else this.toAssignable(o, n); o.type === "RestElement" && (a < i ? this.raise(_.RestTrailingComma, o) : r && this.raise(_.RestTrailingComma, r)); } } } isAssignable(t, r) { switch (t.type) { case "Identifier": case "ObjectPattern": case "ArrayPattern": case "AssignmentPattern": case "RestElement": return !0; case "ObjectExpression": { let n = t.properties.length - 1; return t.properties.every((i, a) => i.type !== "ObjectMethod" && (a === n || i.type !== "SpreadElement") && this.isAssignable(i)); } case "ObjectProperty": return this.isAssignable(t.value); case "SpreadElement": return this.isAssignable(t.argument); case "ArrayExpression": return t.elements.every((n) => n === null || this.isAssignable(n)); case "AssignmentExpression": return t.operator === "="; case "ParenthesizedExpression": return this.isAssignable(t.expression); case "MemberExpression": case "OptionalMemberExpression": return !r; default: return !1; } } toReferencedList(t, r) { return t; } toReferencedListDeep(t, r) { this.toReferencedList(t, r); for (let n of t) n?.type === "ArrayExpression" && this.toReferencedListDeep(n.elements); } parseSpread(t) { let r = this.startNode(); return this.next(), r.argument = this.parseMaybeAssignAllowIn(t, void 0), this.finishNode(r, "SpreadElement"); } parseRestBinding() { let t = this.startNode(); return this.next(), t.argument = this.parseBindingAtom(), this.finishNode(t, "RestElement"); } parseBindingAtom() { switch (this.state.type) { case 0: { let t = this.startNode(); return this.next(), t.elements = this.parseBindingList(3, 93, 1), this.finishNode(t, "ArrayPattern"); } case 5: return this.parseObjectLike(8, !0); } return this.parseIdentifier(); } parseBindingList(t, r, n) { let i = n & 1, a = [], o = !0; for (; !this.eat(t); ) if (o ? o = !1 : this.expect(12), i && this.match(12)) a.push(null); else { if (this.eat(t)) break; if (this.match(21)) { if (a.push(this.parseAssignableListItemTypes(this.parseRestBinding(), n)), !this.checkCommaAfterRest(r)) { this.expect(t); break; } } else { let l = []; for (this.match(26) && this.hasPlugin("decorators") && this.raise(_.UnsupportedParameterDecorator, this.state.startLoc); this.match( 26); ) l.push(this.parseDecorator()); a.push(this.parseAssignableListItem(n, l)); } } return a; } parseBindingRestProperty(t) { return this.next(), t.argument = this.parseIdentifier(), this.checkCommaAfterRest(125), this.finishNode(t, "RestElement"); } parseBindingProperty() { let { type: t, startLoc: r } = this.state; if (t === 21) return this.parseBindingRestProperty(this.startNode()); let n = this.startNode(); return t === 138 ? (this.expectPlugin("destructuringPrivate", r), this.classScope.usePrivateName(this.state.value, r), n.key = this.parsePrivateName()) : this.parsePropertyName(n), n.method = !1, this.parseObjPropValue(n, r, !1, !1, !0, !1); } parseAssignableListItem(t, r) { let n = this.parseMaybeDefault(); this.parseAssignableListItemTypes(n, t); let i = this.parseMaybeDefault(n.loc.start, n); return r.length && (n.decorators = r), i; } parseAssignableListItemTypes(t, r) { return t; } parseMaybeDefault(t, r) { var n, i; if ((n = t) != null || (t = this.state.startLoc), r = (i = r) != null ? i : this.parseBindingAtom(), !this.eat(29)) return r; let a = this.startNodeAt(t); return a.left = r, a.right = this.parseMaybeAssignAllowIn(), this.finishNode(a, "AssignmentPattern"); } isValidLVal(t, r, n) { switch (t) { 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(t) { return t.type === "OptionalMemberExpression"; } checkLVal(t, r, n = 64, i = !1, a = !1, o = !1) { var l; let u = t.type; if (this.isObjectMethod(t)) return; let c = this.isOptionalMemberExpression(t); if (c || u === "MemberExpression") { c && (this.expectPlugin("optionalChainingAssign", t.loc.start), r.type !== "AssignmentExpression" && this.raise(_.InvalidLhsOptionalChaining, t, { ancestor: r })), n !== 64 && this.raise(_.InvalidPropertyBindingPattern, t); return; } if (u === "Identifier") { this.checkIdentifier(t, n, a); let { name: d } = t; i && (i.has(d) ? this.raise(_.ParamDupe, t) : i.add(d)); return; } let f = this.isValidLVal(u, !(o || (l = t.extra) != null && l.parenthesized) && r.type === "AssignmentExpression", n); if (f === !0) return; if (f === !1) { let d = n === 64 ? _.InvalidLhs : _.InvalidLhsBinding; this.raise(d, t, { ancestor: r }); return; } let p, h; typeof f == "string" ? (p = f, h = u === "ParenthesizedExpression") : [p, h] = f; let y = u === "ArrayPattern" || u === "ObjectPattern" ? { type: u } : r, v = t[p]; if (Array.isArray(v)) for (let d of v) d && this.checkLVal(d, y, n, i, a, h); else v && this.checkLVal(v, y, n, i, a, h); } checkIdentifier(t, r, n = !1) { this.state.strict && (n ? cT(t.name, this.inModule) : uT(t.name)) && (r === 64 ? this.raise(_.StrictEvalArguments, t, { referenceName: t.name }) : this.raise(_.StrictEvalArgumentsBinding, t, { bindingName: t.name })), r & 8192 && t.name === "let" && this.raise(_.LetInLexicalBinding, t), r & 64 || this.declareNameFromIdentifier(t, r); } declareNameFromIdentifier(t, r) { this.scope.declareName(t.name, r, t.loc.start); } checkToRestConversion(t, r) { switch (t.type) { case "ParenthesizedExpression": this.checkToRestConversion(t.expression, r); break; case "Identifier": case "MemberExpression": break; case "ArrayExpression": case "ObjectExpression": if (r) break; default: this.raise(_.InvalidRestAssignmentPattern, t); } } checkCommaAfterRest(t) { return this.match(12) ? (this.raise(this.lookaheadCharCode() === t ? _.RestTrailingComma : _.ElementAfterRest, this.state.startLoc), !0) : !1; } }; function IG(e) { if (e == null) throw new Error(`Unexpected ${e} value.`); return e; } s(IG, "nonNull"); function Qv(e) { if (!e) throw new Error("Assert fail"); } s(Qv, "assert"); var he = Dn`typescript`({ AbstractMethodHasImplementation: /* @__PURE__ */ s(({ methodName: e }) => `Method '${e}' cannot have an implementation because it is marked abstract.`, "AbstractMethodHasImplementation"), AbstractPropertyHasInitializer: /* @__PURE__ */ s(({ propertyName: e }) => `Property '${e}' cannot have an initializer because it is marked abstract.`, "AbstractPropertyHasInitializer"), 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 nu\ meric literal or literal enum reference.", ConstructorHasTypeParameters: "Type parameters cannot appear on a constructor declaration.", DeclareAccessor: /* @__PURE__ */ s(({ kind: e }) => `'declare' is not allowed in ${e}ters.`, "DeclareAccessor"), DeclareClassFieldHasInitializer: "Initializers are not allowed in ambient contexts.", DeclareFunctionHasImplementation: "An implementation cannot be declared in ambient contexts.", DuplicateAccessibilityModifier: /* @__PURE__ */ s(({ modifier: e }) => "Accessibility modifier already seen.", "DuplicateAccessibilityModifier"), DuplicateModifier: /* @__PURE__ */ s(({ modifier: e }) => `Duplicate modifier: '${e}'.`, "DuplicateModifier"), EmptyHeritageClauseType: /* @__PURE__ */ s(({ token: e }) => `'${e}' list cannot be empty.`, "EmptyHeritageClauseType"), 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: /* @__PURE__ */ s(({ modifiers: e }) => `'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`, "IncompatibleModifiers"), IndexSignatureHasAbstract: "Index signatures cannot have the 'abstract' modifier.", IndexSignatureHasAccessibility: /* @__PURE__ */ s(({ modifier: e }) => `Index signatures cannot have an accessibility modifier ('${e}').`, "IndexSignatureHasAccessibility"), 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: /* @__PURE__ */ s(({ modifier: e }) => `'${e}' modifier cannot appear on a type member.`, "InvalidModifierOnTypeMember"), InvalidModifierOnTypeParameter: /* @__PURE__ */ s(({ modifier: e }) => `'${e}' modifier cannot appear on a type parameter.`, "InvalidModifierOnTypeParameter"), InvalidModifierOnTypeParameterPositions: /* @__PURE__ */ s(({ modifier: e }) => `'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`, "InvalidModifierOnTypeParameterPositio\ ns"), InvalidModifiersOrder: /* @__PURE__ */ s(({ orderedModifiers: e }) => `'${e[0]}' modifier must precede '${e[1]}' modifier.`, "InvalidModifiersOrder"), InvalidPropertyAccessAfterInstantiationExpression: "Invalid property access after an instantiation expression. You can either wrap the i\ nstantiation 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: /* @__PURE__ */ s(({ modifier: e }) => `Private elements cannot have an accessibility modifier ('${e}').`, "PrivateElementHasAccessibility"), 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 `() => ...`.", 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: /* @__PURE__ */ s(({ typeParameterName: e }) => `Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`, "SingleTypeParameterWithoutTrailingComma"), 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 (`n\ ame?: 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 statemen\ t.", TypeModifierIsUsedInTypeImports: "The 'type' modifier cannot be used on a named import when 'import type' is used on its import statemen\ t.", 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: /* @__PURE__ */ s(({ type: e }) => `Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`, "UnsupportedSignatureParameterKind") }); function _G(e) { switch (e) { 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; } } s(_G, "keywordTypeFromName"); function Zv(e) { return e === "private" || e === "public" || e === "protected"; } s(Zv, "tsIsAccessModifier"); function OG(e) { return e === "in" || e === "out"; } s(OG, "tsIsVarianceAnnotations"); var NG = /* @__PURE__ */ s((e) => class extends e { static { s(this, "TypeScriptParserMixin"); } constructor(...r) { super(...r), this.tsParseInOutModifiers = this.tsParseModifiers.bind(this, { allowedModifiers: ["in", "out"], disallowedModifiers: ["const", "public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: he.InvalidModifierOnTypeParameter }), this.tsParseConstModifier = this.tsParseModifiers.bind(this, { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: he.InvalidModifierOnTypeParameterPositions }), this.tsParseInOutConstModifiers = this.tsParseModifiers.bind(this, { allowedModifiers: ["in", "out", "const"], disallowedModifiers: ["public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: he.InvalidModifierOnTypeParameter }); } getScopeHandler() { return Ph; } tsIsIdentifier() { return et(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(r, n) { if (!et(this.state.type) && this.state.type !== 58 && this.state.type !== 75) return; let i = this.state.value; if (r.includes(i)) { if (n && this.tsIsStartOfStaticBlocks()) return; if (this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))) return i; } } tsParseModifiers({ allowedModifiers: r, disallowedModifiers: n, stopOnStartOfClassStaticBlock: i, errorTemplate: a = he.InvalidModifierOnTypeMember }, o) { let l = /* @__PURE__ */ s((c, f, p, h) => { f === p && o[h] && this.raise(he.InvalidModifiersOrder, c, { orderedModifiers: [p, h] }); }, "enforceOrder"), u = /* @__PURE__ */ s((c, f, p, h) => { (o[p] && f === h || o[h] && f === p) && this.raise(he.IncompatibleModifiers, c, { modifiers: [p, h] }); }, "incompatible"); for (; ; ) { let { startLoc: c } = this.state, f = this.tsParseModifier(r.concat(n ?? []), i); if (!f) break; Zv(f) ? o.accessibility ? this.raise(he.DuplicateAccessibilityModifier, c, { modifier: f }) : (l(c, f, f, "override"), l(c, f, f, "static"), l(c, f, f, "readonly"), o.accessibility = f) : OG(f) ? (o[f] && this.raise(he.DuplicateModifier, c, { modifier: f }), o[f] = !0, l(c, f, "in", "out")) : (hasOwnProperty.call(o, f) ? this.raise(he.DuplicateModifier, c, { modifier: f }) : (l(c, f, "static", "readonly"), l(c, f, "static", "override"), l(c, f, "override", "readonly"), l(c, f, "abstract", "override"), u(c, f, "declare", "override"), u(c, f, "static", "abstract")), o[f] = !0), n != null && n.includes(f) && this.raise(a, c, { modifier: f }); } } tsIsListTerminator(r) { switch (r) { 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(r, n) { let i = []; for (; !this.tsIsListTerminator(r); ) i.push(n()); return i; } tsParseDelimitedList(r, n, i) { return IG(this.tsParseDelimitedListWorker(r, n, !0, i)); } tsParseDelimitedListWorker(r, n, i, a) { let o = [], l = -1; for (; !this.tsIsListTerminator(r); ) { l = -1; let u = n(); if (u == null) return; if (o.push(u), this.eat(12)) { l = this.state.lastTokStartLoc.index; continue; } if (this.tsIsListTerminator(r)) break; i && this.expect(12); return; } return a && (a.value = l), o; } tsParseBracketedList(r, n, i, a, o) { a || (i ? this.expect(0) : this.expect(47)); let l = this.tsParseDelimitedList(r, n, o); return i ? this.expect(3) : this.expect(48), l; } tsParseImportType() { let r = this.startNode(); return this.expect(83), this.expect(10), this.match(133) || this.raise(he.UnsupportedImportTypeArgument, this.state.startLoc), r.argument = super.parseExprAtom(), (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) && (r.options = null), this.eat(12) && (this.expectImportAttributesPlugin(), this.match(11) || (r.options = super.parseMaybeAssignAllowIn(), this.eat(12))), this.expect(11), this.eat(16) && (r.qualifier = this.tsParseEntityName()), this.match(47) && (r.typeParameters = this.tsParseTypeArguments()), this.finishNode( r, "TSImportType"); } tsParseEntityName(r = !0) { let n = this.parseIdentifier(r); for (; this.eat(16); ) { let i = this.startNodeAtNode(n); i.left = n, i.right = this.parseIdentifier(r), n = this.finishNode(i, "TSQualifiedName"); } return n; } tsParseTypeReference() { let r = this.startNode(); return r.typeName = this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.match(47) && (r.typeParameters = this.tsParseTypeArguments()), this.finishNode(r, "TSTypeReference"); } tsParseThisTypePredicate(r) { this.next(); let n = this.startNodeAtNode(r); return n.parameterName = r, n.typeAnnotation = this.tsParseTypeAnnotation(!1), n.asserts = !1, this.finishNode(n, "TSTypePredicate"); } tsParseThisTypeNode() { let r = this.startNode(); return this.next(), this.finishNode(r, "TSThisType"); } tsParseTypeQuery() { let r = this.startNode(); return this.expect(87), this.match(83) ? r.exprName = this.tsParseImportType() : r.exprName = this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.match(47) && (r.typeParameters = this.tsParseTypeArguments()), this.finishNode(r, "TSTypeQuery"); } tsParseTypeParameter(r) { let n = this.startNode(); return r(n), n.name = this.tsParseTypeParameterName(), n.constraint = this.tsEatThenParseType(81), n.default = this.tsEatThenParseType( 29), this.finishNode(n, "TSTypeParameter"); } tsTryParseTypeParameters(r) { if (this.match(47)) return this.tsParseTypeParameters(r); } tsParseTypeParameters(r) { let n = this.startNode(); this.match(47) || this.match(142) ? this.next() : this.unexpected(); let i = { value: -1 }; return n.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, r), !1, !0, i), n.params. length === 0 && this.raise(he.EmptyTypeParameters, n), i.value !== -1 && this.addExtra(n, "trailingComma", i.value), this.finishNode(n, "TSTypeParameterDeclaration"); } tsFillSignature(r, n) { let i = r === 19, a = "parameters", o = "typeAnnotation"; n.typeParameters = this.tsTryParseTypeParameters(this.tsParseConstModifier), this.expect(10), n[a] = this.tsParseBindingListForSignature(), i ? n[o] = this.tsParseTypeOrTypePredicateAnnotation(r) : this.match(r) && (n[o] = this.tsParseTypeOrTypePredicateAnnotation(r)); } tsParseBindingListForSignature() { let r = super.parseBindingList(11, 41, 2); for (let n of r) { let { type: i } = n; (i === "AssignmentPattern" || i === "TSParameterProperty") && this.raise(he.UnsupportedSignatureParameterKind, n, { type: i }); } return r; } tsParseTypeMemberSemicolon() { !this.eat(12) && !this.isLineTerminator() && this.expect(13); } tsParseSignatureMember(r, n) { return this.tsFillSignature(14, n), this.tsParseTypeMemberSemicolon(), this.finishNode(n, r); } tsIsUnambiguouslyIndexSignature() { return this.next(), et(this.state.type) ? (this.next(), this.match(14)) : !1; } tsTryParseIndexSignature(r) { if (!(this.match(0) && this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))) return; this.expect(0); let n = this.parseIdentifier(); n.typeAnnotation = this.tsParseTypeAnnotation(), this.resetEndLocation(n), this.expect(3), r.parameters = [n]; let i = this.tsTryParseTypeAnnotation(); return i && (r.typeAnnotation = i), this.tsParseTypeMemberSemicolon(), this.finishNode(r, "TSIndexSignature"); } tsParsePropertyOrMethodSignature(r, n) { this.eat(17) && (r.optional = !0); let i = r; if (this.match(10) || this.match(47)) { n && this.raise(he.ReadonlyForMethodSignature, r); let a = i; a.kind && this.match(47) && this.raise(he.AccesorCannotHaveTypeParameters, this.state.curPosition()), this.tsFillSignature(14, a), this. tsParseTypeMemberSemicolon(); let o = "parameters", l = "typeAnnotation"; if (a.kind === "get") a[o].length > 0 && (this.raise(_.BadGetterArity, this.state.curPosition()), this.isThisParam(a[o][0]) && this.raise(he.AccesorCannotDeclareThisParameter, this.state.curPosition())); else if (a.kind === "set") { if (a[o].length !== 1) this.raise(_.BadSetterArity, this.state.curPosition()); else { let u = a[o][0]; this.isThisParam(u) && this.raise(he.AccesorCannotDeclareThisParameter, this.state.curPosition()), u.type === "Identifier" && u. optional && this.raise(he.SetAccesorCannotHaveOptionalParameter, this.state.curPosition()), u.type === "RestElement" && this.raise( he.SetAccesorCannotHaveRestParameter, this.state.curPosition()); } a[l] && this.raise(he.SetAccesorCannotHaveReturnType, a[l]); } else a.kind = "method"; return this.finishNode(a, "TSMethodSignature"); } else { let a = i; n && (a.readonly = !0); let o = this.tsTryParseTypeAnnotation(); return o && (a.typeAnnotation = o), this.tsParseTypeMemberSemicolon(), this.finishNode(a, "TSPropertySignature"); } } tsParseTypeMember() { let r = this.startNode(); if (this.match(10) || this.match(47)) return this.tsParseSignatureMember("TSCallSignatureDeclaration", r); if (this.match(77)) { let i = this.startNode(); return this.next(), this.match(10) || this.match(47) ? this.tsParseSignatureMember("TSConstructSignatureDeclaration", r) : (r.key = this. createIdentifier(i, "new"), this.tsParsePropertyOrMethodSignature(r, !1)); } this.tsParseModifiers({ allowedModifiers: ["readonly"], disallowedModifiers: ["declare", "abstract", "private", "protected", "public", "static", "override"] }, r); let n = this.tsTryParseIndexSignature(r); return n || (super.parsePropertyName(r), !r.computed && r.key.type === "Identifier" && (r.key.name === "get" || r.key.name === "set") && this.tsTokenCanFollowModifier() && (r.kind = r.key.name, super.parsePropertyName(r)), this.tsParsePropertyOrMethodSignature(r, !!r.readonly)); } tsParseTypeLiteral() { let r = this.startNode(); return r.members = this.tsParseObjectTypeMembers(), this.finishNode(r, "TSTypeLiteral"); } tsParseObjectTypeMembers() { this.expect(5); let r = this.tsParseList("TypeMembers", this.tsParseTypeMember.bind(this)); return this.expect(8), r; } tsIsStartOfMappedType() { return this.next(), this.eat(53) ? this.isContextual(122) : (this.isContextual(122) && this.next(), !this.match(0) || (this.next(), !this. tsIsIdentifier()) ? !1 : (this.next(), this.match(58))); } tsParseMappedTypeParameter() { let r = this.startNode(); return r.name = this.tsParseTypeParameterName(), r.constraint = this.tsExpectThenParseType(58), this.finishNode(r, "TSTypeParameter"); } tsParseMappedType() { let r = this.startNode(); return this.expect(5), this.match(53) ? (r.readonly = this.state.value, this.next(), this.expectContextual(122)) : this.eatContextual( 122) && (r.readonly = !0), this.expect(0), r.typeParameter = this.tsParseMappedTypeParameter(), r.nameType = this.eatContextual(93) ? this. tsParseType() : null, this.expect(3), this.match(53) ? (r.optional = this.state.value, this.next(), this.expect(17)) : this.eat(17) && (r.optional = !0), r.typeAnnotation = this.tsTryParseType(), this.semicolon(), this.expect(8), this.finishNode(r, "TSMappedType"); } tsParseTupleType() { let r = this.startNode(); r.elementTypes = this.tsParseBracketedList("TupleElementTypes", this.tsParseTupleElementType.bind(this), !0, !1); let n = !1; return r.elementTypes.forEach((i) => { let { type: a } = i; n && a !== "TSRestType" && a !== "TSOptionalType" && !(a === "TSNamedTupleMember" && i.optional) && this.raise(he.OptionalTypeBeforeRequired, i), n || (n = a === "TSNamedTupleMember" && i.optional || a === "TSOptionalType"); }), this.finishNode(r, "TSTupleType"); } tsParseTupleElementType() { let { startLoc: r } = this.state, n = this.eat(21), i, a, o, l, c = $r(this.state.type) ? this.lookaheadCharCode() : null; if (c === 58) i = !0, o = !1, a = this.parseIdentifier(!0), this.expect(14), l = this.tsParseType(); else if (c === 63) { o = !0; let f = this.state.startLoc, p = this.state.value, h = this.tsParseNonArrayType(); this.lookaheadCharCode() === 58 ? (i = !0, a = this.createIdentifier(this.startNodeAt(f), p), this.expect(17), this.expect(14), l = this. tsParseType()) : (i = !1, l = h, this.expect(17)); } else l = this.tsParseType(), o = this.eat(17), i = this.eat(14); if (i) { let f; a ? (f = this.startNodeAtNode(a), f.optional = o, f.label = a, f.elementType = l, this.eat(17) && (f.optional = !0, this.raise(he.TupleOptionalAfterType, this.state.lastTokStartLoc))) : (f = this.startNodeAtNode(l), f.optional = o, this.raise(he.InvalidTupleMemberLabel, l), f.label = l, f.elementType = this.tsParseType()), l = this.finishNode(f, "TSNamedTupleMember"); } else if (o) { let f = this.startNodeAtNode(l); f.typeAnnotation = l, l = this.finishNode(f, "TSOptionalType"); } if (n) { let f = this.startNodeAt(r); f.typeAnnotation = l, l = this.finishNode(f, "TSRestType"); } return l; } tsParseParenthesizedType() { let r = this.startNode(); return this.expect(10), r.typeAnnotation = this.tsParseType(), this.expect(11), this.finishNode(r, "TSParenthesizedType"); } tsParseFunctionOrConstructorType(r, n) { let i = this.startNode(); return r === "TSConstructorType" && (i.abstract = !!n, n && this.next(), this.next()), this.tsInAllowConditionalTypesContext(() => this. tsFillSignature(19, i)), this.finishNode(i, r); } tsParseLiteralTypeNode() { let r = this.startNode(); switch (this.state.type) { case 134: case 135: case 133: case 85: case 86: r.literal = super.parseExprAtom(); break; default: this.unexpected(); } return this.finishNode(r, "TSLiteralType"); } tsParseTemplateLiteralType() { let r = this.startNode(); return r.literal = super.parseTemplate(!1), this.finishNode(r, "TSLiteralType"); } parseTemplateSubstitution() { return this.state.inType ? this.tsParseType() : super.parseTemplateSubstitution(); } tsParseThisTypeOrThisTypePredicate() { let r = this.tsParseThisTypeNode(); return this.isContextual(116) && !this.hasPrecedingLineBreak() ? this.tsParseThisTypePredicate(r) : r; } tsParseNonArrayType() { switch (this.state.type) { case 133: case 134: case 135: case 85: case 86: return this.tsParseLiteralTypeNode(); case 53: if (this.state.value === "-") { let r = this.startNode(), n = this.lookahead(); return n.type !== 134 && n.type !== 135 && this.unexpected(), r.literal = this.parseMaybeUnary(), this.finishNode(r, "TSLiteralT\ ype"); } break; case 78: return this.tsParseThisTypeOrThisTypePredicate(); case 87: return this.tsParseTypeQuery(); case 83: return this.tsParseImportType(); case 5: return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this)) ? this.tsParseMappedType() : this.tsParseTypeLiteral(); case 0: return this.tsParseTupleType(); case 10: return this.tsParseParenthesizedType(); case 25: case 24: return this.tsParseTemplateLiteralType(); default: { let { type: r } = this.state; if (et(r) || r === 88 || r === 84) { let n = r === 88 ? "TSVoidKeyword" : r === 84 ? "TSNullKeyword" : _G(this.state.value); if (n !== void 0 && this.lookaheadCharCode() !== 46) { let i = this.startNode(); return this.next(), this.finishNode(i, n); } return this.tsParseTypeReference(); } } } this.unexpected(); } tsParseArrayTypeOrHigher() { let r = this.tsParseNonArrayType(); for (; !this.hasPrecedingLineBreak() && this.eat(0); ) if (this.match(3)) { let n = this.startNodeAtNode(r); n.elementType = r, this.expect(3), r = this.finishNode(n, "TSArrayType"); } else { let n = this.startNodeAtNode(r); n.objectType = r, n.indexType = this.tsParseType(), this.expect(3), r = this.finishNode(n, "TSIndexedAccessType"); } return r; } tsParseTypeOperator() { let r = this.startNode(), n = this.state.value; return this.next(), r.operator = n, r.typeAnnotation = this.tsParseTypeOperatorOrHigher(), n === "readonly" && this.tsCheckTypeAnnotationForReadOnly( r), this.finishNode(r, "TSTypeOperator"); } tsCheckTypeAnnotationForReadOnly(r) { switch (r.typeAnnotation.type) { case "TSTupleType": case "TSArrayType": return; default: this.raise(he.UnexpectedReadonly, r); } } tsParseInferType() { let r = this.startNode(); this.expectContextual(115); let n = this.startNode(); return n.name = this.tsParseTypeParameterName(), n.constraint = this.tsTryParse(() => this.tsParseConstraintForInferType()), r.typeParameter = this.finishNode(n, "TSTypeParameter"), this.finishNode(r, "TSInferType"); } tsParseConstraintForInferType() { if (this.eat(81)) { let r = this.tsInDisallowConditionalTypesContext(() => this.tsParseType()); if (this.state.inDisallowConditionalTypesContext || !this.match(17)) return r; } } tsParseTypeOperatorOrHigher() { return JK(this.state.type) && !this.state.containsEsc ? this.tsParseTypeOperator() : this.isContextual(115) ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(() => this.tsParseArrayTypeOrHigher()); } tsParseUnionOrIntersectionType(r, n, i) { let a = this.startNode(), o = this.eat(i), l = []; do l.push(n()); while (this.eat(i)); return l.length === 1 && !o ? l[0] : (a.types = l, this.finishNode(a, r)); } tsParseIntersectionTypeOrHigher() { return this.tsParseUnionOrIntersectionType("TSIntersectionType", this.tsParseTypeOperatorOrHigher.bind(this), 45); } tsParseUnionTypeOrHigher() { return this.tsParseUnionOrIntersectionType("TSUnionType", this.tsParseIntersectionTypeOrHigher.bind(this), 43); } tsIsStartOfFunctionType() { return this.match(47) ? !0 : this.match(10) && this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this)); } tsSkipParameterStart() { if (et(this.state.type) || this.match(78)) return this.next(), !0; if (this.match(5)) { let { errors: r } = this.state, n = r.length; try { return this.parseObjectLike(8, !0), r.length === n; } catch { return !1; } } if (this.match(0)) { this.next(); let { errors: r } = this.state, n = r.length; try { return super.parseBindingList(3, 93, 1), r.length === n; } catch { return !1; } } return !1; } tsIsUnambiguouslyStartOfFunctionType() { return this.next(), !!(this.match(11) || this.match(21) || this.tsSkipParameterStart() && (this.match(14) || this.match(12) || this.match( 17) || this.match(29) || this.match(11) && (this.next(), this.match(19)))); } tsParseTypeOrTypePredicateAnnotation(r) { return this.tsInType(() => { let n = this.startNode(); this.expect(r); let i = this.startNode(), a = !!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this)); if (a && this.match(78)) { let u = this.tsParseThisTypeOrThisTypePredicate(); return u.type === "TSThisType" ? (i.parameterName = u, i.asserts = !0, i.typeAnnotation = null, u = this.finishNode(i, "TSTypePred\ icate")) : (this.resetStartLocationFromNode(u, i), u.asserts = !0), n.typeAnnotation = u, this.finishNode(n, "TSTypeAnnotation"); } let o = this.tsIsIdentifier() && this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this)); if (!o) return a ? (i.parameterName = this.parseIdentifier(), i.asserts = a, i.typeAnnotation = null, n.typeAnnotation = this.finishNode(i, "TSTypePredicate"), this.finishNode(n, "TSTypeAnnotation")) : this.tsParseTypeAnnotation(!1, n); let l = this.tsParseTypeAnnotation(!1); return i.parameterName = o, i.typeAnnotation = l, i.asserts = a, n.typeAnnotation = this.finishNode(i, "TSTypePredicate"), this.finishNode( n, "TSTypeAnnotation"); }); } tsTryParseTypeOrTypePredicateAnnotation() { if (this.match(14)) return this.tsParseTypeOrTypePredicateAnnotation(14); } tsTryParseTypeAnnotation() { if (this.match(14)) return this.tsParseTypeAnnotation(); } tsTryParseType() { return this.tsEatThenParseType(14); } tsParseTypePredicatePrefix() { let r = this.parseIdentifier(); if (this.isContextual(116) && !this.hasPrecedingLineBreak()) return this.next(), r; } tsParseTypePredicateAsserts() { if (this.state.type !== 109) return !1; let r = this.state.containsEsc; return this.next(), !et(this.state.type) && !this.match(78) ? !1 : (r && this.raise(_.InvalidEscapedReservedWord, this.state.lastTokStartLoc, { reservedWord: "asserts" }), !0); } tsParseTypeAnnotation(r = !0, n = this.startNode()) { return this.tsInType(() => { r && this.expect(14), n.typeAnnotation = this.tsParseType(); }), this.finishNode(n, "TSTypeAnnotation"); } tsParseType() { Qv(this.state.inType); let r = this.tsParseNonConditionalType(); if (this.state.inDisallowConditionalTypesContext || this.hasPrecedingLineBreak() || !this.eat(81)) return r; let n = this.startNodeAtNode(r); return n.checkType = r, n.extendsType = this.tsInDisallowConditionalTypesContext(() => this.tsParseNonConditionalType()), this.expect( 17), n.trueType = this.tsInAllowConditionalTypesContext(() => this.tsParseType()), this.expect(14), n.falseType = this.tsInAllowConditionalTypesContext( () => this.tsParseType()), this.finishNode(n, "TSConditionalType"); } isAbstractConstructorSignature() { return this.isContextual(124) && this.lookahead().type === 77; } tsParseNonConditionalType() { return this.tsIsStartOfFunctionType() ? this.tsParseFunctionOrConstructorType("TSFunctionType") : this.match(77) ? this.tsParseFunctionOrConstructorType( "TSConstructorType") : this.isAbstractConstructorSignature() ? this.tsParseFunctionOrConstructorType("TSConstructorType", !0) : this.tsParseUnionTypeOrHigher(); } tsParseTypeAssertion() { this.getPluginOption("typescript", "disallowAmbiguousJSXLike") && this.raise(he.ReservedTypeAssertion, this.state.startLoc); let r = this.startNode(); return r.typeAnnotation = this.tsInType(() => (this.next(), this.match(75) ? this.tsParseTypeReference() : this.tsParseType())), this. expect(48), r.expression = this.parseMaybeUnary(), this.finishNode(r, "TSTypeAssertion"); } tsParseHeritageClause(r) { let n = this.state.startLoc, i = this.tsParseDelimitedList("HeritageClauseElement", () => { let a = this.startNode(); return a.expression = this.tsParseEntityName(), this.match(47) && (a.typeParameters = this.tsParseTypeArguments()), this.finishNode( a, "TSExpressionWithTypeArguments"); }); return i.length || this.raise(he.EmptyHeritageClauseType, n, { token: r }), i; } tsParseInterfaceDeclaration(r, n = {}) { if (this.hasFollowingLineBreak()) return null; this.expectContextual(129), n.declare && (r.declare = !0), et(this.state.type) ? (r.id = this.parseIdentifier(), this.checkIdentifier( r.id, 130)) : (r.id = null, this.raise(he.MissingInterfaceName, this.state.startLoc)), r.typeParameters = this.tsTryParseTypeParameters( this.tsParseInOutConstModifiers), this.eat(81) && (r.extends = this.tsParseHeritageClause("extends")); let i = this.startNode(); return i.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), r.body = this.finishNode(i, "TSInterfaceBody"), this.finishNode( r, "TSInterfaceDeclaration"); } tsParseTypeAliasDeclaration(r) { return r.id = this.parseIdentifier(), this.checkIdentifier(r.id, 2), r.typeAnnotation = this.tsInType(() => { if (r.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers), this.expect(29), this.isContextual(114) && this.lookahead(). type !== 16) { let n = this.startNode(); return this.next(), this.finishNode(n, "TSIntrinsicKeyword"); } return this.tsParseType(); }), this.semicolon(), this.finishNode(r, "TSTypeAliasDeclaration"); } tsInNoContext(r) { let n = this.state.context; this.state.context = [n[0]]; try { return r(); } finally { this.state.context = n; } } tsInType(r) { let n = this.state.inType; this.state.inType = !0; try { return r(); } finally { this.state.inType = n; } } tsInDisallowConditionalTypesContext(r) { let n = this.state.inDisallowConditionalTypesContext; this.state.inDisallowConditionalTypesContext = !0; try { return r(); } finally { this.state.inDisallowConditionalTypesContext = n; } } tsInAllowConditionalTypesContext(r) { let n = this.state.inDisallowConditionalTypesContext; this.state.inDisallowConditionalTypesContext = !1; try { return r(); } finally { this.state.inDisallowConditionalTypesContext = n; } } tsEatThenParseType(r) { if (this.match(r)) return this.tsNextThenParseType(); } tsExpectThenParseType(r) { return this.tsInType(() => (this.expect(r), this.tsParseType())); } tsNextThenParseType() { return this.tsInType(() => (this.next(), this.tsParseType())); } tsParseEnumMember() { let r = this.startNode(); return r.id = this.match(133) ? super.parseStringLiteral(this.state.value) : this.parseIdentifier(!0), this.eat(29) && (r.initializer = super.parseMaybeAssignAllowIn()), this.finishNode(r, "TSEnumMember"); } tsParseEnumDeclaration(r, n = {}) { return n.const && (r.const = !0), n.declare && (r.declare = !0), this.expectContextual(126), r.id = this.parseIdentifier(), this.checkIdentifier( r.id, r.const ? 8971 : 8459), this.expect(5), r.members = this.tsParseDelimitedList("EnumMembers", this.tsParseEnumMember.bind(this)), this.expect(8), this.finishNode(r, "TSEnumDeclaration"); } tsParseModuleBlock() { let r = this.startNode(); return this.scope.enter(0), this.expect(5), super.parseBlockOrModuleBlockBody(r.body = [], void 0, !0, 8), this.scope.exit(), this.finishNode( r, "TSModuleBlock"); } tsParseModuleOrNamespaceDeclaration(r, n = !1) { if (r.id = this.parseIdentifier(), n || this.checkIdentifier(r.id, 1024), this.eat(16)) { let i = this.startNode(); this.tsParseModuleOrNamespaceDeclaration(i, !0), r.body = i; } else this.scope.enter(256), this.prodParam.enter(0), r.body = this.tsParseModuleBlock(), this.prodParam.exit(), this.scope.exit(); return this.finishNode(r, "TSModuleDeclaration"); } tsParseAmbientExternalModuleDeclaration(r) { return this.isContextual(112) ? (r.global = !0, r.id = this.parseIdentifier()) : this.match(133) ? r.id = super.parseStringLiteral(this. state.value) : this.unexpected(), this.match(5) ? (this.scope.enter(256), this.prodParam.enter(0), r.body = this.tsParseModuleBlock(), this.prodParam.exit(), this.scope.exit()) : this.semicolon(), this.finishNode(r, "TSModuleDeclaration"); } tsParseImportEqualsDeclaration(r, n, i) { r.isExport = i || !1, r.id = n || this.parseIdentifier(), this.checkIdentifier(r.id, 4096), this.expect(29); let a = this.tsParseModuleReference(); return r.importKind === "type" && a.type !== "TSExternalModuleReference" && this.raise(he.ImportAliasHasImportType, a), r.moduleReference = a, this.semicolon(), this.finishNode(r, "TSImportEqualsDeclaration"); } tsIsExternalModuleReference() { return this.isContextual(119) && this.lookaheadCharCode() === 40; } tsParseModuleReference() { return this.tsIsExternalModuleReference() ? this.tsParseExternalModuleReference() : this.tsParseEntityName(!1); } tsParseExternalModuleReference() { let r = this.startNode(); return this.expectContextual(119), this.expect(10), this.match(133) || this.unexpected(), r.expression = super.parseExprAtom(), this.expect( 11), this.sawUnambiguousESM = !0, this.finishNode(r, "TSExternalModuleReference"); } tsLookAhead(r) { let n = this.state.clone(), i = r(); return this.state = n, i; } tsTryParseAndCatch(r) { let n = this.tryParse((i) => r() || i()); if (!(n.aborted || !n.node)) return n.error && (this.state = n.failState), n.node; } tsTryParse(r) { let n = this.state.clone(), i = r(); if (i !== void 0 && i !== !1) return i; this.state = n; } tsTryParseDeclare(r) { if (this.isLineTerminator()) return; let n = this.state.type, i; return this.isContextual(100) && (n = 74, i = "let"), this.tsInAmbientContext(() => { switch (n) { case 68: return r.declare = !0, super.parseFunctionStatement(r, !1, !1); case 80: return r.declare = !0, this.parseClass(r, !0, !1); case 126: return this.tsParseEnumDeclaration(r, { declare: !0 }); case 112: return this.tsParseAmbientExternalModuleDeclaration(r); case 75: case 74: return !this.match(75) || !this.isLookaheadContextual("enum") ? (r.declare = !0, this.parseVarStatement(r, i || this.state.value, !0)) : (this.expect(75), this.tsParseEnumDeclaration(r, { const: !0, declare: !0 })); case 129: { let a = this.tsParseInterfaceDeclaration(r, { declare: !0 }); if (a) return a; } default: if (et(n)) return this.tsParseDeclaration(r, this.state.value, !0, null); } }); } tsTryParseExportDeclaration() { return this.tsParseDeclaration(this.startNode(), this.state.value, !0, null); } tsParseExpressionStatement(r, n, i) { switch (n.name) { case "declare": { let a = this.tsTryParseDeclare(r); return a && (a.declare = !0), a; } case "global": if (this.match(5)) { this.scope.enter(256), this.prodParam.enter(0); let a = r; return a.global = !0, a.id = n, a.body = this.tsParseModuleBlock(), this.scope.exit(), this.prodParam.exit(), this.finishNode(a, "TSModuleDeclaration"); } break; default: return this.tsParseDeclaration(r, n.name, !1, i); } } tsParseDeclaration(r, n, i, a) { switch (n) { case "abstract": if (this.tsCheckLineTerminator(i) && (this.match(80) || et(this.state.type))) return this.tsParseAbstractDeclaration(r, a); break; case "module": if (this.tsCheckLineTerminator(i)) { if (this.match(133)) return this.tsParseAmbientExternalModuleDeclaration(r); if (et(this.state.type)) return this.tsParseModuleOrNamespaceDeclaration(r); } break; case "namespace": if (this.tsCheckLineTerminator(i) && et(this.state.type)) return this.tsParseModuleOrNamespaceDeclaration(r); break; case "type": if (this.tsCheckLineTerminator(i) && et(this.state.type)) return this.tsParseTypeAliasDeclaration(r); break; } } tsCheckLineTerminator(r) { return r ? this.hasFollowingLineBreak() ? !1 : (this.next(), !0) : !this.isLineTerminator(); } tsTryParseGenericAsyncArrowFunction(r) { if (!this.match(47)) return; let n = this.state.maybeInArrowParameters; this.state.maybeInArrowParameters = !0; let i = this.tsTryParseAndCatch(() => { let a = this.startNodeAt(r); return a.typeParameters = this.tsParseTypeParameters(this.tsParseConstModifier), super.parseFunctionParams(a), a.returnType = this.tsTryParseTypeOrTypePredicateAnnotation(), this.expect(19), a; }); if (this.state.maybeInArrowParameters = n, !!i) return super.parseArrowExpression(i, null, !0); } tsParseTypeArgumentsInExpression() { if (this.reScan_lt() === 47) return this.tsParseTypeArguments(); } tsParseTypeArguments() { let r = this.startNode(); return r.params = this.tsInType(() => this.tsInNoContext(() => (this.expect(47), this.tsParseDelimitedList("TypeParametersOrArguments", this.tsParseType.bind(this))))), r.params.length === 0 ? this.raise(he.EmptyTypeArguments, r) : !this.state.inType && this.curContext() === it.brace && this.reScan_lt_gt(), this.expect(48), this.finishNode(r, "TSTypeParameterInstantiation"); } tsIsDeclarationStart() { return XK(this.state.type); } isExportDefaultSpecifier() { return this.tsIsDeclarationStart() ? !1 : super.isExportDefaultSpecifier(); } parseAssignableListItem(r, n) { let i = this.state.startLoc, a = {}; this.tsParseModifiers({ allowedModifiers: ["public", "private", "protected", "override", "readonly"] }, a); let o = a.accessibility, l = a.override, u = a.readonly; !(r & 4) && (o || u || l) && this.raise(he.UnexpectedParameterModifier, i); let c = this.parseMaybeDefault(); this.parseAssignableListItemTypes(c, r); let f = this.parseMaybeDefault(c.loc.start, c); if (o || u || l) { let p = this.startNodeAt(i); return n.length && (p.decorators = n), o && (p.accessibility = o), u && (p.readonly = u), l && (p.override = l), f.type !== "Identif\ ier" && f.type !== "AssignmentPattern" && this.raise(he.UnsupportedParameterPropertyKind, p), p.parameter = f, this.finishNode(p, "TSParamet\ erProperty"); } return n.length && (c.decorators = n), f; } isSimpleParameter(r) { return r.type === "TSParameterProperty" && super.isSimpleParameter(r.parameter) || super.isSimpleParameter(r); } tsDisallowOptionalPattern(r) { for (let n of r.params) n.type !== "Identifier" && n.optional && !this.state.isAmbientContext && this.raise(he.PatternIsOptional, n); } setArrowFunctionParameters(r, n, i) { super.setArrowFunctionParameters(r, n, i), this.tsDisallowOptionalPattern(r); } parseFunctionBodyAndFinish(r, n, i = !1) { this.match(14) && (r.returnType = this.tsParseTypeOrTypePredicateAnnotation(14)); let a = n === "FunctionDeclaration" ? "TSDeclareFunction" : n === "ClassMethod" || n === "ClassPrivateMethod" ? "TSDeclareMethod" : void 0; return a && !this.match(5) && this.isLineTerminator() ? this.finishNode(r, a) : a === "TSDeclareFunction" && this.state.isAmbientContext && (this.raise(he.DeclareFunctionHasImplementation, r), r.declare) ? super.parseFunctionBodyAndFinish(r, a, i) : (this.tsDisallowOptionalPattern( r), super.parseFunctionBodyAndFinish(r, n, i)); } registerFunctionStatementId(r) { !r.body && r.id ? this.checkIdentifier(r.id, 1024) : super.registerFunctionStatementId(r); } tsCheckForInvalidTypeCasts(r) { r.forEach((n) => { n?.type === "TSTypeCastExpression" && this.raise(he.UnexpectedTypeAnnotation, n.typeAnnotation); }); } toReferencedList(r, n) { return this.tsCheckForInvalidTypeCasts(r), r; } parseArrayLike(r, n, i, a) { let o = super.parseArrayLike(r, n, i, a); return o.type === "ArrayExpression" && this.tsCheckForInvalidTypeCasts(o.elements), o; } parseSubscript(r, n, i, a) { if (!this.hasPrecedingLineBreak() && this.match(35)) { this.state.canStartJSXElement = !1, this.next(); let l = this.startNodeAt(n); return l.expression = r, this.finishNode(l, "TSNonNullExpression"); } let o = !1; if (this.match(18) && this.lookaheadCharCode() === 60) { if (i) return a.stop = !0, r; a.optionalChainMember = o = !0, this.next(); } if (this.match(47) || this.match(51)) { let l, u = this.tsTryParseAndCatch(() => { if (!i && this.atPossibleAsyncArrow(r)) { let h = this.tsTryParseGenericAsyncArrowFunction(n); if (h) return h; } let c = this.tsParseTypeArgumentsInExpression(); if (!c) return; if (o && !this.match(10)) { l = this.state.curPosition(); return; } if (Vl(this.state.type)) { let h = super.parseTaggedTemplateExpression(r, n, a); return h.typeParameters = c, h; } if (!i && this.eat(10)) { let h = this.startNodeAt(n); return h.callee = r, h.arguments = this.parseCallExpressionArguments(11, !1), this.tsCheckForInvalidTypeCasts(h.arguments), h.typeParameters = c, a.optionalChainMember && (h.optional = o), this.finishCallExpression(h, a.optionalChainMember); } let f = this.state.type; if (f === 48 || f === 52 || f !== 10 && lh(f) && !this.hasPrecedingLineBreak()) return; let p = this.startNodeAt(n); return p.expression = r, p.typeParameters = c, this.finishNode(p, "TSInstantiationExpression"); }); if (l && this.unexpected(l, 10), u) return u.type === "TSInstantiationExpression" && (this.match(16) || this.match(18) && this.lookaheadCharCode() !== 40) && this.raise( he.InvalidPropertyAccessAfterInstantiationExpression, this.state.startLoc), u; } return super.parseSubscript(r, n, i, a); } parseNewCallee(r) { var n; super.parseNewCallee(r); let { callee: i } = r; i.type === "TSInstantiationExpression" && !((n = i.extra) != null && n.parenthesized) && (r.typeParameters = i.typeParameters, r.callee = i.expression); } parseExprOp(r, n, i) { let a; if (Rl(58) > i && !this.hasPrecedingLineBreak() && (this.isContextual(93) || (a = this.isContextual(120)))) { let o = this.startNodeAt(n); return o.expression = r, o.typeAnnotation = this.tsInType(() => (this.next(), this.match(75) ? (a && this.raise(_.UnexpectedKeyword, this.state.startLoc, { keyword: "const" }), this.tsParseTypeReference()) : this.tsParseType())), this.finishNode(o, a ? "TSSatisfiesExpression" : "TSAsExpression"), this.reScan_lt_gt(), this.parseExprOp(o, n, i); } return super.parseExprOp(r, n, i); } checkReservedWord(r, n, i, a) { this.state.isAmbientContext || super.checkReservedWord(r, n, i, a); } checkImportReflection(r) { super.checkImportReflection(r), r.module && r.importKind !== "value" && this.raise(he.ImportReflectionHasImportType, r.specifiers[0].loc. start); } checkDuplicateExports() { } isPotentialImportPhase(r) { if (super.isPotentialImportPhase(r)) return !0; if (this.isContextual(130)) { let n = this.lookaheadCharCode(); return r ? n === 123 || n === 42 : n !== 61; } return !r && this.isContextual(87); } applyImportPhase(r, n, i, a) { super.applyImportPhase(r, n, i, a), n ? r.exportKind = i === "type" ? "type" : "value" : r.importKind = i === "type" || i === "typeof" ? i : "value"; } parseImport(r) { if (this.match(133)) return r.importKind = "value", super.parseImport(r); let n; if (et(this.state.type) && this.lookaheadCharCode() === 61) return r.importKind = "value", this.tsParseImportEqualsDeclaration(r); if (this.isContextual(130)) { let i = this.parseMaybeImportPhase(r, !1); if (this.lookaheadCharCode() === 61) return this.tsParseImportEqualsDeclaration(r, i); n = super.parseImportSpecifiersAndAfter(r, i); } else n = super.parseImport(r); return n.importKind === "type" && n.specifiers.length > 1 && n.specifiers[0].type === "ImportDefaultSpecifier" && this.raise(he.TypeImportCannotSpecifyDefaultAndNamed, n), n; } parseExport(r, n) { if (this.match(83)) { this.next(); let i = r, a = null; return this.isContextual(130) && this.isPotentialImportPhase(!1) ? a = this.parseMaybeImportPhase(i, !1) : i.importKind = "value", this. tsParseImportEqualsDeclaration(i, a, !0); } else if (this.eat(29)) { let i = r; return i.expression = super.parseExpression(), this.semicolon(), this.sawUnambiguousESM = !0, this.finishNode(i, "TSExportAssignment"); } else if (this.eatContextual(93)) { let i = r; return this.expectContextual(128), i.id = this.parseIdentifier(), this.semicolon(), this.finishNode(i, "TSNamespaceExportDeclaration"); } else return super.parseExport(r, n); } isAbstractClass() { return this.isContextual(124) && this.lookahead().type === 80; } parseExportDefaultExpression() { if (this.isAbstractClass()) { let r = this.startNode(); return this.next(), r.abstract = !0, this.parseClass(r, !0, !0); } if (this.match(129)) { let r = this.tsParseInterfaceDeclaration(this.startNode()); if (r) return r; } return super.parseExportDefaultExpression(); } parseVarStatement(r, n, i = !1) { let { isAmbientContext: a } = this.state, o = super.parseVarStatement(r, n, i || a); if (!a) return o; for (let { id: l, init: u } of o.declarations) u && (n !== "const" || l.typeAnnotation ? this.raise(he.InitializerNotAllowedInAmbientContext, u) : kG(u, this.hasPlugin("estree")) || this.raise(he.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, u)); return o; } parseStatementContent(r, n) { if (this.match(75) && this.isLookaheadContextual("enum")) { let i = this.startNode(); return this.expect(75), this.tsParseEnumDeclaration(i, { const: !0 }); } if (this.isContextual(126)) return this.tsParseEnumDeclaration(this.startNode()); if (this.isContextual(129)) { let i = this.tsParseInterfaceDeclaration(this.startNode()); if (i) return i; } return super.parseStatementContent(r, n); } parseAccessModifier() { return this.tsParseModifier(["public", "protected", "private"]); } tsHasSomeModifiers(r, n) { return n.some((i) => Zv(i) ? r.accessibility === i : !!r[i]); } tsIsStartOfStaticBlocks() { return this.isContextual(106) && this.lookaheadCharCode() === 123; } parseClassMember(r, n, i) { let a = ["declare", "private", "public", "protected", "override", "abstract", "readonly", "static"]; this.tsParseModifiers({ allowedModifiers: a, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: !0, errorTemplate: he.InvalidModifierOnTypeParameterPositions }, n); let o = /* @__PURE__ */ s(() => { this.tsIsStartOfStaticBlocks() ? (this.next(), this.next(), this.tsHasSomeModifiers(n, a) && this.raise(he.StaticBlockCannotHaveModifier, this.state.curPosition()), super.parseClassStaticBlock(r, n)) : this.parseClassMemberWithIsStatic(r, n, i, !!n.static); }, "callParseClassMemberWithIsStatic"); n.declare ? this.tsInAmbientContext(o) : o(); } parseClassMemberWithIsStatic(r, n, i, a) { let o = this.tsTryParseIndexSignature(n); if (o) { r.body.push(o), n.abstract && this.raise(he.IndexSignatureHasAbstract, n), n.accessibility && this.raise(he.IndexSignatureHasAccessibility, n, { modifier: n.accessibility }), n.declare && this.raise(he.IndexSignatureHasDeclare, n), n.override && this.raise(he.IndexSignatureHasOverride, n); return; } !this.state.inAbstractClass && n.abstract && this.raise(he.NonAbstractClassHasAbstractMethod, n), n.override && (i.hadSuperClass || this. raise(he.OverrideNotInSubClass, n)), super.parseClassMemberWithIsStatic(r, n, i, a); } parsePostMemberNameModifiers(r) { this.eat(17) && (r.optional = !0), r.readonly && this.match(10) && this.raise(he.ClassMethodHasReadonly, r), r.declare && this.match(10) && this.raise(he.ClassMethodHasDeclare, r); } parseExpressionStatement(r, n, i) { return (n.type === "Identifier" ? this.tsParseExpressionStatement(r, n, i) : void 0) || super.parseExpressionStatement(r, n, i); } shouldParseExportDeclaration() { return this.tsIsDeclarationStart() ? !0 : super.shouldParseExportDeclaration(); } parseConditional(r, n, i) { if (!this.state.maybeInArrowParameters || !this.match(17)) return super.parseConditional(r, n, i); let a = this.tryParse(() => super.parseConditional(r, n)); return a.node ? (a.error && (this.state = a.failState), a.node) : (a.error && super.setOptionalParametersError(i, a.error), r); } parseParenItem(r, n) { let i = super.parseParenItem(r, n); if (this.eat(17) && (i.optional = !0, this.resetEndLocation(r)), this.match(14)) { let a = this.startNodeAt(n); return a.expression = r, a.typeAnnotation = this.tsParseTypeAnnotation(), this.finishNode(a, "TSTypeCastExpression"); } return r; } parseExportDeclaration(r) { if (!this.state.isAmbientContext && this.isContextual(125)) return this.tsInAmbientContext(() => this.parseExportDeclaration(r)); let n = this.state.startLoc, i = this.eatContextual(125); if (i && (this.isContextual(125) || !this.shouldParseExportDeclaration())) throw this.raise(he.ExpectedAmbientAfterExportDeclare, this.state.startLoc); let o = et(this.state.type) && this.tsTryParseExportDeclaration() || super.parseExportDeclaration(r); return o ? ((o.type === "TSInterfaceDeclaration" || o.type === "TSTypeAliasDeclaration" || i) && (r.exportKind = "type"), i && (this.resetStartLocation( o, n), o.declare = !0), o) : null; } parseClassId(r, n, i, a) { if ((!n || i) && this.isContextual(113)) return; super.parseClassId(r, n, i, r.declare ? 1024 : 8331); let o = this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers); o && (r.typeParameters = o); } parseClassPropertyAnnotation(r) { r.optional || (this.eat(35) ? r.definite = !0 : this.eat(17) && (r.optional = !0)); let n = this.tsTryParseTypeAnnotation(); n && (r.typeAnnotation = n); } parseClassProperty(r) { if (this.parseClassPropertyAnnotation(r), this.state.isAmbientContext && !(r.readonly && !r.typeAnnotation) && this.match(29) && this. raise(he.DeclareClassFieldHasInitializer, this.state.startLoc), r.abstract && this.match(29)) { let { key: n } = r; this.raise(he.AbstractPropertyHasInitializer, this.state.startLoc, { propertyName: n.type === "Identifier" && !r.computed ? n.name : `[${this.input.slice(n.start, n.end)}]` }); } return super.parseClassProperty(r); } parseClassPrivateProperty(r) { return r.abstract && this.raise(he.PrivateElementHasAbstract, r), r.accessibility && this.raise(he.PrivateElementHasAccessibility, r, { modifier: r.accessibility }), this.parseClassPropertyAnnotation(r), super.parseClassPrivateProperty(r); } parseClassAccessorProperty(r) { return this.parseClassPropertyAnnotation(r), r.optional && this.raise(he.AccessorCannotBeOptional, r), super.parseClassAccessorProperty( r); } pushClassMethod(r, n, i, a, o, l) { let u = this.tsTryParseTypeParameters(this.tsParseConstModifier); u && o && this.raise(he.ConstructorHasTypeParameters, u); let { declare: c = !1, kind: f } = n; c && (f === "get" || f === "set") && this.raise(he.DeclareAccessor, n, { kind: f }), u && (n.typeParameters = u), super.pushClassMethod(r, n, i, a, o, l); } pushClassPrivateMethod(r, n, i, a) { let o = this.tsTryParseTypeParameters(this.tsParseConstModifier); o && (n.typeParameters = o), super.pushClassPrivateMethod(r, n, i, a); } declareClassPrivateMethodInScope(r, n) { r.type !== "TSDeclareMethod" && (r.type === "MethodDefinition" && !hasOwnProperty.call(r.value, "body") || super.declareClassPrivateMethodInScope( r, n)); } parseClassSuper(r) { super.parseClassSuper(r), r.superClass && (this.match(47) || this.match(51)) && (r.superTypeParameters = this.tsParseTypeArgumentsInExpression()), this.eatContextual(113) && (r.implements = this.tsParseHeritageClause("implements")); } parseObjPropValue(r, n, i, a, o, l, u) { let c = this.tsTryParseTypeParameters(this.tsParseConstModifier); return c && (r.typeParameters = c), super.parseObjPropValue(r, n, i, a, o, l, u); } parseFunctionParams(r, n) { let i = this.tsTryParseTypeParameters(this.tsParseConstModifier); i && (r.typeParameters = i), super.parseFunctionParams(r, n); } parseVarId(r, n) { super.parseVarId(r, n), r.id.type === "Identifier" && !this.hasPrecedingLineBreak() && this.eat(35) && (r.definite = !0); let i = this.tsTryParseTypeAnnotation(); i && (r.id.typeAnnotation = i, this.resetEndLocation(r.id)); } parseAsyncArrowFromCallExpression(r, n) { return this.match(14) && (r.returnType = this.tsParseTypeAnnotation()), super.parseAsyncArrowFromCallExpression(r, n); } parseMaybeAssign(r, n) { var i, a, o, l, u; let c, f, p; if (this.hasPlugin("jsx") && (this.match(142) || this.match(47))) { if (c = this.state.clone(), f = this.tryParse(() => super.parseMaybeAssign(r, n), c), !f.error) return f.node; let { context: v } = this.state, d = v[v.length - 1]; (d === it.j_oTag || d === it.j_expr) && v.pop(); } if (!((i = f) != null && i.error) && !this.match(47)) return super.parseMaybeAssign(r, n); (!c || c === this.state) && (c = this.state.clone()); let h, y = this.tryParse((v) => { var d, b; h = this.tsParseTypeParameters(this.tsParseConstModifier); let E = super.parseMaybeAssign(r, n); return (E.type !== "ArrowFunctionExpression" || (d = E.extra) != null && d.parenthesized) && v(), ((b = h) == null ? void 0 : b.params. length) !== 0 && this.resetStartLocationFromNode(E, h), E.typeParameters = h, E; }, c); if (!y.error && !y.aborted) return h && this.reportReservedArrowTypeParam(h), y.node; if (!f && (Qv(!this.hasPlugin("jsx")), p = this.tryParse(() => super.parseMaybeAssign(r, n), c), !p.error)) return p.node; if ((a = f) != null && a.node) return this.state = f.failState, f.node; if (y.node) return this.state = y.failState, h && this.reportReservedArrowTypeParam(h), y.node; if ((o = p) != null && o.node) return this.state = p.failState, p.node; throw ((l = f) == null ? void 0 : l.error) || y.error || ((u = p) == null ? void 0 : u.error); } reportReservedArrowTypeParam(r) { var n; r.params.length === 1 && !r.params[0].constraint && !((n = r.extra) != null && n.trailingComma) && this.getPluginOption("typescript", "\ disallowAmbiguousJSXLike") && this.raise(he.ReservedArrowTypeParam, r); } parseMaybeUnary(r, n) { return !this.hasPlugin("jsx") && this.match(47) ? this.tsParseTypeAssertion() : super.parseMaybeUnary(r, n); } parseArrow(r) { if (this.match(14)) { let n = this.tryParse((i) => { let a = this.tsParseTypeOrTypePredicateAnnotation(14); return (this.canInsertSemicolon() || !this.match(19)) && i(), a; }); if (n.aborted) return; n.thrown || (n.error && (this.state = n.failState), r.returnType = n.node); } return super.parseArrow(r); } parseAssignableListItemTypes(r, n) { if (!(n & 2)) return r; this.eat(17) && (r.optional = !0); let i = this.tsTryParseTypeAnnotation(); return i && (r.typeAnnotation = i), this.resetEndLocation(r), r; } isAssignable(r, n) { switch (r.type) { case "TSTypeCastExpression": return this.isAssignable(r.expression, n); case "TSParameterProperty": return !0; default: return super.isAssignable(r, n); } } toAssignable(r, n = !1) { switch (r.type) { case "ParenthesizedExpression": this.toAssignableParenthesizedExpression(r, n); break; case "TSAsExpression": case "TSSatisfiesExpression": case "TSNonNullExpression": case "TSTypeAssertion": n ? this.expressionScope.recordArrowParameterBindingError(he.UnexpectedTypeCastInParameter, r) : this.raise(he.UnexpectedTypeCastInParameter, r), this.toAssignable(r.expression, n); break; case "AssignmentExpression": !n && r.left.type === "TSTypeCastExpression" && (r.left = this.typeCastToParameter(r.left)); default: super.toAssignable(r, n); } } toAssignableParenthesizedExpression(r, n) { switch (r.expression.type) { case "TSAsExpression": case "TSSatisfiesExpression": case "TSNonNullExpression": case "TSTypeAssertion": case "ParenthesizedExpression": this.toAssignable(r.expression, n); break; default: super.toAssignable(r, n); } } checkToRestConversion(r, n) { switch (r.type) { case "TSAsExpression": case "TSSatisfiesExpression": case "TSTypeAssertion": case "TSNonNullExpression": this.checkToRestConversion(r.expression, !1); break; default: super.checkToRestConversion(r, n); } } isValidLVal(r, n, i) { switch (r) { case "TSTypeCastExpression": return !0; case "TSParameterProperty": return "parameter"; case "TSNonNullExpression": case "TSInstantiationExpression": return "expression"; case "TSAsExpression": case "TSSatisfiesExpression": case "TSTypeAssertion": return (i !== 64 || !n) && ["expression", !0]; default: return super.isValidLVal(r, n, i); } } parseBindingAtom() { return this.state.type === 78 ? this.parseIdentifier(!0) : super.parseBindingAtom(); } parseMaybeDecoratorArguments(r) { if (this.match(47) || this.match(51)) { let n = this.tsParseTypeArgumentsInExpression(); if (this.match(10)) { let i = super.parseMaybeDecoratorArguments(r); return i.typeParameters = n, i; } this.unexpected(null, 10); } return super.parseMaybeDecoratorArguments(r); } checkCommaAfterRest(r) { return this.state.isAmbientContext && this.match(12) && this.lookaheadCharCode() === r ? (this.next(), !1) : super.checkCommaAfterRest( r); } isClassMethod() { return this.match(47) || super.isClassMethod(); } isClassProperty() { return this.match(35) || this.match(14) || super.isClassProperty(); } parseMaybeDefault(r, n) { let i = super.parseMaybeDefault(r, n); return i.type === "AssignmentPattern" && i.typeAnnotation && i.right.start < i.typeAnnotation.start && this.raise(he.TypeAnnotationAfterAssign, i.typeAnnotation), i; } getTokenFromCode(r) { if (this.state.inType) { if (r === 62) { this.finishOp(48, 1); return; } if (r === 60) { this.finishOp(47, 1); return; } } super.getTokenFromCode(r); } reScan_lt_gt() { let { type: r } = this.state; r === 47 ? (this.state.pos -= 1, this.readToken_lt()) : r === 48 && (this.state.pos -= 1, this.readToken_gt()); } reScan_lt() { let { type: r } = this.state; return r === 51 ? (this.state.pos -= 2, this.finishOp(47, 1), 47) : r; } toAssignableList(r, n, i) { for (let a = 0; a < r.length; a++) { let o = r[a]; o?.type === "TSTypeCastExpression" && (r[a] = this.typeCastToParameter(o)); } super.toAssignableList(r, n, i); } typeCastToParameter(r) { return r.expression.typeAnnotation = r.typeAnnotation, this.resetEndLocation(r.expression, r.typeAnnotation.loc.end), r.expression; } shouldParseArrow(r) { return this.match(14) ? r.every((n) => this.isAssignable(n, !0)) : super.shouldParseArrow(r); } shouldParseAsyncArrow() { return this.match(14) || super.shouldParseAsyncArrow(); } canHaveLeadingDecorator() { return super.canHaveLeadingDecorator() || this.isAbstractClass(); } jsxParseOpeningElementAfterName(r) { if (this.match(47) || this.match(51)) { let n = this.tsTryParseAndCatch(() => this.tsParseTypeArgumentsInExpression()); n && (r.typeParameters = n); } return super.jsxParseOpeningElementAfterName(r); } getGetterSetterExpectedParamCount(r) { let n = super.getGetterSetterExpectedParamCount(r), a = this.getObjectOrClassMethodParams(r)[0]; return a && this.isThisParam(a) ? n + 1 : n; } parseCatchClauseParam() { let r = super.parseCatchClauseParam(), n = this.tsTryParseTypeAnnotation(); return n && (r.typeAnnotation = n, this.resetEndLocation(r)), r; } tsInAmbientContext(r) { let { isAmbientContext: n, strict: i } = this.state; this.state.isAmbientContext = !0, this.state.strict = !1; try { return r(); } finally { this.state.isAmbientContext = n, this.state.strict = i; } } parseClass(r, n, i) { let a = this.state.inAbstractClass; this.state.inAbstractClass = !!r.abstract; try { return super.parseClass(r, n, i); } finally { this.state.inAbstractClass = a; } } tsParseAbstractDeclaration(r, n) { if (this.match(80)) return r.abstract = !0, this.maybeTakeDecorators(n, this.parseClass(r, !0, !1)); if (this.isContextual(129)) { if (!this.hasFollowingLineBreak()) return r.abstract = !0, this.raise(he.NonClassMethodPropertyHasAbstractModifer, r), this.tsParseInterfaceDeclaration(r); } else this.unexpected(null, 80); } parseMethod(r, n, i, a, o, l, u) { let c = super.parseMethod(r, n, i, a, o, l, u); if (c.abstract && (this.hasPlugin("estree") ? !!c.value.body : !!c.body)) { let { key: p } = c; this.raise(he.AbstractMethodHasImplementation, c, { methodName: p.type === "Identifier" && !c.computed ? p.name : `[${this.input.slice(p.start, p.end)}]` }); } return c; } tsParseTypeParameterName() { return this.parseIdentifier().name; } shouldParseAsAmbientContext() { return !!this.getPluginOption("typescript", "dts"); } parse() { return this.shouldParseAsAmbientContext() && (this.state.isAmbientContext = !0), super.parse(); } getExpression() { return this.shouldParseAsAmbientContext() && (this.state.isAmbientContext = !0), super.getExpression(); } parseExportSpecifier(r, n, i, a) { return !n && a ? (this.parseTypeOnlyImportExportSpecifier(r, !1, i), this.finishNode(r, "ExportSpecifier")) : (r.exportKind = "value", super.parseExportSpecifier(r, n, i, a)); } parseImportSpecifier(r, n, i, a, o) { return !n && a ? (this.parseTypeOnlyImportExportSpecifier(r, !0, i), this.finishNode(r, "ImportSpecifier")) : (r.importKind = "value", super.parseImportSpecifier(r, n, i, a, i ? 4098 : 4096)); } parseTypeOnlyImportExportSpecifier(r, n, i) { let a = n ? "imported" : "local", o = n ? "local" : "exported", l = r[a], u, c = !1, f = !0, p = l.loc.start; if (this.isContextual(93)) { let y = this.parseIdentifier(); if (this.isContextual(93)) { let v = this.parseIdentifier(); $r(this.state.type) ? (c = !0, l = y, u = n ? this.parseIdentifier() : this.parseModuleExportName(), f = !1) : (u = v, f = !1); } else $r(this.state.type) ? (f = !1, u = n ? this.parseIdentifier() : this.parseModuleExportName()) : (c = !0, l = y); } else $r(this.state.type) && (c = !0, n ? (l = this.parseIdentifier(!0), this.isContextual(93) || this.checkReservedWord(l.name, l.loc. start, !0, !0)) : l = this.parseModuleExportName()); c && i && this.raise(n ? he.TypeModifierIsUsedInTypeImports : he.TypeModifierIsUsedInTypeExports, p), r[a] = l, r[o] = u; let h = n ? "importKind" : "exportKind"; r[h] = c ? "type" : "value", f && this.eatContextual(93) && (r[o] = n ? this.parseIdentifier() : this.parseModuleExportName()), r[o] || (r[o] = In(r[a])), n && this.checkIdentifier(r[o], c ? 4098 : 4096); } }, "typescript"); function BG(e) { if (e.type !== "MemberExpression") return !1; let { computed: t, property: r } = e; return t && r.type !== "StringLiteral" && (r.type !== "TemplateLiteral" || r.expressions.length > 0) ? !1 : gT(e.object); } s(BG, "isPossiblyLiteralEnum"); function kG(e, t) { var r; let { type: n } = e; if ((r = e.extra) != null && r.parenthesized) return !1; if (t) { if (n === "Literal") { let { value: i } = e; if (typeof i == "string" || typeof i == "boolean") return !0; } } else if (n === "StringLiteral" || n === "BooleanLiteral") return !0; return !!(yT(e, t) || FG(e, t) || n === "TemplateLiteral" && e.expressions.length === 0 || BG(e)); } s(kG, "isValidAmbientConstInitializer"); function yT(e, t) { return t ? e.type === "Literal" && (typeof e.value == "number" || "bigint" in e) : e.type === "NumericLiteral" || e.type === "BigIntLite\ ral"; } s(yT, "isNumber"); function FG(e, t) { if (e.type === "UnaryExpression") { let { operator: r, argument: n } = e; if (r === "-" && yT(n, t)) return !0; } return !1; } s(FG, "isNegativeNumber"); function gT(e) { return e.type === "Identifier" ? !0 : e.type !== "MemberExpression" || e.computed ? !1 : gT(e.object); } s(gT, "isUncomputedMemberExpressionChain"); var eT = Dn`placeholders`({ ClassNameIsRequired: "A class name is required.", UnexpectedSpace: "Unexpected space in placeholder." }), jG = /* @__PURE__ */ s((e) => class extends e { static { s(this, "PlaceholdersParserMixin"); } parsePlaceholder(r) { if (this.match(144)) { let n = this.startNode(); return this.next(), this.assertNoSpace(), n.name = super.parseIdentifier(!0), this.assertNoSpace(), this.expect(144), this.finishPlaceholder( n, r); } } finishPlaceholder(r, n) { let i = r; return (!i.expectedNode || !i.type) && (i = this.finishNode(i, "Placeholder")), i.expectedNode = n, i; } getTokenFromCode(r) { r === 37 && this.input.charCodeAt(this.state.pos + 1) === 37 ? this.finishOp(144, 2) : super.getTokenFromCode(r); } parseExprAtom(r) { return this.parsePlaceholder("Expression") || super.parseExprAtom(r); } parseIdentifier(r) { return this.parsePlaceholder("Identifier") || super.parseIdentifier(r); } checkReservedWord(r, n, i, a) { r !== void 0 && super.checkReservedWord(r, n, i, a); } parseBindingAtom() { return this.parsePlaceholder("Pattern") || super.parseBindingAtom(); } isValidLVal(r, n, i) { return r === "Placeholder" || super.isValidLVal(r, n, i); } toAssignable(r, n) { r && r.type === "Placeholder" && r.expectedNode === "Expression" ? r.expectedNode = "Pattern" : super.toAssignable(r, n); } chStartsBindingIdentifier(r, n) { return !!(super.chStartsBindingIdentifier(r, n) || this.lookahead().type === 144); } verifyBreakContinue(r, n) { r.label && r.label.type === "Placeholder" || super.verifyBreakContinue(r, n); } parseExpressionStatement(r, n) { var i; if (n.type !== "Placeholder" || (i = n.extra) != null && i.parenthesized) return super.parseExpressionStatement(r, n); if (this.match(14)) { let o = r; return o.label = this.finishPlaceholder(n, "Identifier"), this.next(), o.body = super.parseStatementOrSloppyAnnexBFunctionDeclaration(), this.finishNode(o, "LabeledStatement"); } this.semicolon(); let a = r; return a.name = n.name, this.finishPlaceholder(a, "Statement"); } parseBlock(r, n, i) { return this.parsePlaceholder("BlockStatement") || super.parseBlock(r, n, i); } parseFunctionId(r) { return this.parsePlaceholder("Identifier") || super.parseFunctionId(r); } parseClass(r, n, i) { let a = n ? "ClassDeclaration" : "ClassExpression"; this.next(); let o = this.state.strict, l = this.parsePlaceholder("Identifier"); if (l) if (this.match(81) || this.match(144) || this.match(5)) r.id = l; else { if (i || !n) return r.id = null, r.body = this.finishPlaceholder(l, "ClassBody"), this.finishNode(r, a); throw this.raise(eT.ClassNameIsRequired, this.state.startLoc); } else this.parseClassId(r, n, i); return super.parseClassSuper(r), r.body = this.parsePlaceholder("ClassBody") || super.parseClassBody(!!r.superClass, o), this.finishNode( r, a); } parseExport(r, n) { let i = this.parsePlaceholder("Identifier"); if (!i) return super.parseExport(r, n); let a = r; if (!this.isContextual(98) && !this.match(12)) return a.specifiers = [], a.source = null, a.declaration = this.finishPlaceholder(i, "Declaration"), this.finishNode(a, "ExportNamed\ Declaration"); this.expectPlugin("exportDefaultFrom"); let o = this.startNode(); return o.exported = i, a.specifiers = [this.finishNode(o, "ExportDefaultSpecifier")], super.parseExport(a, n); } isExportDefaultSpecifier() { if (this.match(65)) { let r = this.nextTokenStart(); if (this.isUnparsedContextual(r, "from") && this.input.startsWith(rs(144), this.nextTokenStartSince(r + 4))) return !0; } return super.isExportDefaultSpecifier(); } maybeParseExportDefaultSpecifier(r, n) { var i; return (i = r.specifiers) != null && i.length ? !0 : super.maybeParseExportDefaultSpecifier(r, n); } checkExport(r) { let { specifiers: n } = r; n != null && n.length && (r.specifiers = n.filter((i) => i.exported.type === "Placeholder")), super.checkExport(r), r.specifiers = n; } parseImport(r) { let n = this.parsePlaceholder("Identifier"); if (!n) return super.parseImport(r); if (r.specifiers = [], !this.isContextual(98) && !this.match(12)) return r.source = this.finishPlaceholder(n, "StringLiteral"), this.semicolon(), this.finishNode(r, "ImportDeclaration"); let i = this.startNodeAtNode(n); return i.local = n, r.specifiers.push(this.finishNode(i, "ImportDefaultSpecifier")), this.eat(12) && (this.maybeParseStarImportSpecifier( r) || this.parseNamedImportSpecifiers(r)), this.expectContextual(98), r.source = this.parseImportSource(), this.semicolon(), this.finishNode( r, "ImportDeclaration"); } parseImportSource() { return this.parsePlaceholder("StringLiteral") || super.parseImportSource(); } assertNoSpace() { this.state.start > this.state.lastTokEndLoc.index && this.raise(eT.UnexpectedSpace, this.state.lastTokEndLoc); } }, "placeholders"), LG = /* @__PURE__ */ s((e) => class extends e { static { s(this, "V8IntrinsicMixin"); } parseV8Intrinsic() { if (this.match(54)) { let r = this.state.startLoc, n = this.startNode(); if (this.next(), et(this.state.type)) { let i = this.parseIdentifierName(), a = this.createIdentifier(n, i); if (a.type = "V8IntrinsicIdentifier", this.match(10)) return a; } this.unexpected(r); } } parseExprAtom(r) { return this.parseV8Intrinsic() || super.parseExprAtom(r); } }, "v8intrinsic"), tT = ["minimal", "fsharp", "hack", "smart"], rT = ["^^", "@@", "^", "%", "#"]; function MG(e) { if (e.has("decorators")) { if (e.has("decorators-legacy")) throw new Error("Cannot use the decorators and decorators-legacy plugin together"); let r = e.get("decorators").decoratorsBeforeExport; if (r != null && typeof r != "boolean") throw new Error("'decoratorsBeforeExport' must be a boolean, if specified."); let n = e.get("decorators").allowCallParenthesized; if (n != null && typeof n != "boolean") throw new Error("'allowCallParenthesized' must be a boolean."); } if (e.has("flow") && e.has("typescript")) throw new Error("Cannot combine flow and typescript plugins."); if (e.has("placeholders") && e.has("v8intrinsic")) throw new Error("Cannot combine placeholders and v8intrinsic plugins."); if (e.has("pipelineOperator")) { var t; let r = e.get("pipelineOperator").proposal; if (!tT.includes(r)) { let i = tT.map((a) => `"${a}"`).join(", "); throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${i}.`); } let n = ((t = e.get("recordAndTuple")) == null ? void 0 : t.syntaxType) === "hash"; if (r === "hack") { if (e.has("placeholders")) throw new Error("Cannot combine placeholders plugin and Hack-style pipes."); if (e.has("v8intrinsic")) throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes."); let i = e.get("pipelineOperator").topicToken; if (!rT.includes(i)) { let a = rT.map((o) => `"${o}"`).join(", "); throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${a}\ .`); } if (i === "#" && n) throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["\ recordAndTuple", e.get("recordAndTuple")])}\`.`); } else if (r === "smart" && n) throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple", e. get("recordAndTuple")])}\`.`); } if (e.has("moduleAttributes")) { if (e.has("importAttributes") || e.has("importAssertions")) throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins."); if (e.get("moduleAttributes").version !== "may-2020") throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the on\ ly supported value is 'may-2020'."); } if (e.has("importAttributes") && e.has("importAssertions")) throw new Error("Cannot combine importAssertions and importAttributes plugins."); if (e.has("recordAndTuple")) { let r = e.get("recordAndTuple").syntaxType; if (r != null) { let n = ["hash", "bar"]; if (!n.includes(r)) throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: " + n.map((i) => `'${i}'`).join(", ")); } } if (e.has("asyncDoExpressions") && !e.has("doExpressions")) { let r = new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins."); throw r.missingPlugins = "doExpressions", r; } if (e.has("optionalChainingAssign") && e.get("optionalChainingAssign").version !== "2023-07") throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, th\ e only supported value is '2023-07'."); } s(MG, "validatePlugins"); var bT = { estree: qK, jsx: DG, flow: CG, typescript: NG, v8intrinsic: LG, placeholders: jG }, RG = Object.keys(bT), ih = { sourceType: "script", sourceFilename: void 0, startColumn: 0, startLine: 1, allowAwaitOutsideFunction: !1, allowReturnOutsideFunction: !1, allowNewTargetOutsideFunction: !1, allowImportExportEverywhere: !1, allowSuperOutsideMethod: !1, allowUndeclaredExports: !1, plugins: [], strictMode: null, ranges: !1, tokens: !1, createImportExpressions: !1, createParenthesizedExpressions: !1, errorRecovery: !1, attachComment: !0, annexB: !0 }; function qG(e) { if (e == null) return Object.assign({}, ih); if (e.annexB != null && e.annexB !== !1) throw new Error("The `annexB` option can only be set to `false`."); let t = {}; for (let n of Object.keys(ih)) { var r; t[n] = (r = e[n]) != null ? r : ih[n]; } return t; } s(qG, "getOptions"); var Ch = class extends Ah { static { s(this, "ExpressionParser"); } checkProto(t, r, n, i) { if (t.type === "SpreadElement" || this.isObjectMethod(t) || t.computed || t.shorthand) return; let a = t.key; if ((a.type === "Identifier" ? a.name : a.value) === "__proto__") { if (r) { this.raise(_.RecordNoProto, a); return; } n.used && (i ? i.doubleProtoLoc === null && (i.doubleProtoLoc = a.loc.start) : this.raise(_.DuplicateProto, a)), n.used = !0; } } shouldExitDescending(t, r) { return t.type === "ArrowFunctionExpression" && t.start === r; } getExpression() { this.enterInitialScopes(), this.nextToken(); let t = this.parseExpression(); return this.match(139) || this.unexpected(), this.finalizeRemainingComments(), t.comments = this.comments, t.errors = this.state.errors, this.options.tokens && (t.tokens = this.tokens), t; } parseExpression(t, r) { return t ? this.disallowInAnd(() => this.parseExpressionBase(r)) : this.allowInAnd(() => this.parseExpressionBase(r)); } parseExpressionBase(t) { let r = this.state.startLoc, n = this.parseMaybeAssign(t); if (this.match(12)) { let i = this.startNodeAt(r); for (i.expressions = [n]; this.eat(12); ) i.expressions.push(this.parseMaybeAssign(t)); return this.toReferencedList(i.expressions), this.finishNode(i, "SequenceExpression"); } return n; } parseMaybeAssignDisallowIn(t, r) { return this.disallowInAnd(() => this.parseMaybeAssign(t, r)); } parseMaybeAssignAllowIn(t, r) { return this.allowInAnd(() => this.parseMaybeAssign(t, r)); } setOptionalParametersError(t, r) { var n; t.optionalParametersLoc = (n = r?.loc) != null ? n : this.state.startLoc; } parseMaybeAssign(t, r) { let n = this.state.startLoc; if (this.isContextual(108) && this.prodParam.hasYield) { let l = this.parseYield(); return r && (l = r.call(this, l, n)), l; } let i; t ? i = !1 : (t = new Si(), i = !0); let { type: a } = this.state; (a === 10 || et(a)) && (this.state.potentialArrowAt = this.state.start); let o = this.parseMaybeConditional(t); if (r && (o = r.call(this, o, n)), KK(this.state.type)) { let l = this.startNodeAt(n), u = this.state.value; if (l.operator = u, this.match(29)) { this.toAssignable(o, !0), l.left = o; let c = n.index; t.doubleProtoLoc != null && t.doubleProtoLoc.index >= c && (t.doubleProtoLoc = null), t.shorthandAssignLoc != null && t.shorthandAssignLoc. index >= c && (t.shorthandAssignLoc = null), t.privateKeyLoc != null && t.privateKeyLoc.index >= c && (this.checkDestructuringPrivate( t), t.privateKeyLoc = null); } else l.left = o; return this.next(), l.right = this.parseMaybeAssign(), this.checkLVal(o, this.finishNode(l, "AssignmentExpression")), l; } else i && this.checkExpressionErrors(t, !0); return o; } parseMaybeConditional(t) { let r = this.state.startLoc, n = this.state.potentialArrowAt, i = this.parseExprOps(t); return this.shouldExitDescending(i, n) ? i : this.parseConditional(i, r, t); } parseConditional(t, r, n) { if (this.eat(17)) { let i = this.startNodeAt(r); return i.test = t, i.consequent = this.parseMaybeAssignAllowIn(), this.expect(14), i.alternate = this.parseMaybeAssign(), this.finishNode( i, "ConditionalExpression"); } return t; } parseMaybeUnaryOrPrivate(t) { return this.match(138) ? this.parsePrivateName() : this.parseMaybeUnary(t); } parseExprOps(t) { let r = this.state.startLoc, n = this.state.potentialArrowAt, i = this.parseMaybeUnaryOrPrivate(t); return this.shouldExitDescending(i, n) ? i : this.parseExprOp(i, r, -1); } parseExprOp(t, r, n) { if (this.isPrivateName(t)) { let a = this.getPrivateNameSV(t); (n >= Rl(58) || !this.prodParam.hasIn || !this.match(58)) && this.raise(_.PrivateInExpectedIn, t, { identifierName: a }), this.classScope.usePrivateName(a, t.loc.start); } let i = this.state.type; if (HK(i) && (this.prodParam.hasIn || !this.match(58))) { let a = Rl(i); if (a > n) { if (i === 39) { if (this.expectPlugin("pipelineOperator"), this.state.inFSharpPipelineDirectBody) return t; this.checkPipelineAtInfixOperator(t, r); } let o = this.startNodeAt(r); o.left = t, o.operator = this.state.value; let l = i === 41 || i === 42, u = i === 40; if (u && (a = Rl(42)), this.next(), i === 39 && this.hasPlugin(["pipelineOperator", { proposal: "minimal" }]) && this.state.type === 96 && this.prodParam.hasAwait) throw this.raise(_.UnexpectedAwaitAfterPipelineBody, this.state.startLoc); o.right = this.parseExprOpRightExpr(i, a); let c = this.finishNode(o, l || u ? "LogicalExpression" : "BinaryExpression"), f = this.state.type; if (u && (f === 41 || f === 42) || l && f === 40) throw this.raise(_.MixingCoalesceWithLogical, this.state.startLoc); return this.parseExprOp(c, r, n); } } return t; } parseExprOpRightExpr(t, r) { let n = this.state.startLoc; switch (t) { case 39: switch (this.getPluginOption("pipelineOperator", "proposal")) { case "hack": return this.withTopicBindingContext(() => this.parseHackPipeBody()); case "smart": return this.withTopicBindingContext(() => { if (this.prodParam.hasYield && this.isContextual(108)) throw this.raise(_.PipeBodyIsTighter, this.state.startLoc); return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t, r), n); }); case "fsharp": return this.withSoloAwaitPermittingContext(() => this.parseFSharpPipelineBody(r)); } default: return this.parseExprOpBaseRightExpr(t, r); } } parseExprOpBaseRightExpr(t, r) { let n = this.state.startLoc; return this.parseExprOp(this.parseMaybeUnaryOrPrivate(), n, QK(t) ? r - 1 : r); } parseHackPipeBody() { var t; let { startLoc: r } = this.state, n = this.parseMaybeAssign(); return FK.has(n.type) && !((t = n.extra) != null && t.parenthesized) && this.raise(_.PipeUnparenthesizedBody, r, { type: n.type }), this.topicReferenceWasUsedInCurrentContext() || this.raise(_.PipeTopicUnused, r), n; } checkExponentialAfterUnary(t) { this.match(57) && this.raise(_.UnexpectedTokenUnaryExponentiation, t.argument); } parseMaybeUnary(t, r) { let n = this.state.startLoc, i = this.isContextual(96); if (i && this.recordAwaitIfAllowed()) { this.next(); let u = this.parseAwait(n); return r || this.checkExponentialAfterUnary(u), u; } let a = this.match(34), o = this.startNode(); if (zK(this.state.type)) { o.operator = this.state.value, o.prefix = !0, this.match(72) && this.expectPlugin("throwExpressions"); let u = this.match(89); if (this.next(), o.argument = this.parseMaybeUnary(null, !0), this.checkExpressionErrors(t, !0), this.state.strict && u) { let c = o.argument; c.type === "Identifier" ? this.raise(_.StrictDelete, o) : this.hasPropertyAsPrivateName(c) && this.raise(_.DeletePrivateField, o); } if (!a) return r || this.checkExponentialAfterUnary(o), this.finishNode(o, "UnaryExpression"); } let l = this.parseUpdate(o, a, t); if (i) { let { type: u } = this.state; if ((this.hasPlugin("v8intrinsic") ? lh(u) : lh(u) && !this.match(54)) && !this.isAmbiguousAwait()) return this.raiseOverwrite(_.AwaitNotInAsyncContext, n), this.parseAwait(n); } return l; } parseUpdate(t, r, n) { if (r) { let o = t; return this.checkLVal(o.argument, this.finishNode(o, "UpdateExpression")), t; } let i = this.state.startLoc, a = this.parseExprSubscripts(n); if (this.checkExpressionErrors(n, !1)) return a; for (; YK(this.state.type) && !this.canInsertSemicolon(); ) { let o = this.startNodeAt(i); o.operator = this.state.value, o.prefix = !1, o.argument = a, this.next(), this.checkLVal(a, a = this.finishNode(o, "UpdateExpressio\ n")); } return a; } parseExprSubscripts(t) { let r = this.state.startLoc, n = this.state.potentialArrowAt, i = this.parseExprAtom(t); return this.shouldExitDescending(i, n) ? i : this.parseSubscripts(i, r); } parseSubscripts(t, r, n) { let i = { optionalChainMember: !1, maybeAsyncArrow: this.atPossibleAsyncArrow(t), stop: !1 }; do t = this.parseSubscript(t, r, n, i), i.maybeAsyncArrow = !1; while (!i.stop); return t; } parseSubscript(t, r, n, i) { let { type: a } = this.state; if (!n && a === 15) return this.parseBind(t, r, n, i); if (Vl(a)) return this.parseTaggedTemplateExpression(t, r, i); let o = !1; if (a === 18) { if (n && (this.raise(_.OptionalChainingNoNew, this.state.startLoc), this.lookaheadCharCode() === 40)) return i.stop = !0, t; i.optionalChainMember = o = !0, this.next(); } if (!n && this.match(10)) return this.parseCoverCallAndAsyncArrowHead(t, r, i, o); { let l = this.eat(0); return l || o || this.eat(16) ? this.parseMember(t, r, i, l, o) : (i.stop = !0, t); } } parseMember(t, r, n, i, a) { let o = this.startNodeAt(r); return o.object = t, o.computed = i, i ? (o.property = this.parseExpression(), this.expect(3)) : this.match(138) ? (t.type === "Super" && this.raise(_.SuperPrivateField, r), this.classScope.usePrivateName(this.state.value, this.state.startLoc), o.property = this.parsePrivateName()) : o.property = this.parseIdentifier(!0), n.optionalChainMember ? (o.optional = a, this.finishNode(o, "OptionalMemberExpression")) : this. finishNode(o, "MemberExpression"); } parseBind(t, r, n, i) { let a = this.startNodeAt(r); return a.object = t, this.next(), a.callee = this.parseNoCallExpr(), i.stop = !0, this.parseSubscripts(this.finishNode(a, "BindExpress\ ion"), r, n); } parseCoverCallAndAsyncArrowHead(t, r, n, i) { let a = this.state.maybeInArrowParameters, o = null; this.state.maybeInArrowParameters = !0, this.next(); let l = this.startNodeAt(r); l.callee = t; let { maybeAsyncArrow: u, optionalChainMember: c } = n; u && (this.expressionScope.enter(bG()), o = new Si()), c && (l.optional = i), i ? l.arguments = this.parseCallExpressionArguments(11) : l.arguments = this.parseCallExpressionArguments(11, t.type === "Import", t.type !== "Super", l, o); let f = this.finishCallExpression(l, c); return u && this.shouldParseAsyncArrow() && !i ? (n.stop = !0, this.checkDestructuringPrivate(o), this.expressionScope.validateAsPattern(), this.expressionScope.exit(), f = this.parseAsyncArrowFromCallExpression(this.startNodeAt(r), f)) : (u && (this.checkExpressionErrors(o, !0), this.expressionScope.exit()), this.toReferencedArguments(f)), this.state.maybeInArrowParameters = a, f; } toReferencedArguments(t, r) { this.toReferencedListDeep(t.arguments, r); } parseTaggedTemplateExpression(t, r, n) { let i = this.startNodeAt(r); return i.tag = t, i.quasi = this.parseTemplate(!0), n.optionalChainMember && this.raise(_.OptionalChainingNoTemplate, r), this.finishNode( i, "TaggedTemplateExpression"); } atPossibleAsyncArrow(t) { return t.type === "Identifier" && t.name === "async" && this.state.lastTokEndLoc.index === t.end && !this.canInsertSemicolon() && t.end - t.start === 5 && t.start === this.state.potentialArrowAt; } expectImportAttributesPlugin() { this.hasPlugin("importAssertions") || this.expectPlugin("importAttributes"); } finishCallExpression(t, r) { if (t.callee.type === "Import") if (t.arguments.length === 2 && (this.hasPlugin("moduleAttributes") || this.expectImportAttributesPlugin()), t.arguments.length === 0 || t.arguments.length > 2) this.raise(_.ImportCallArity, t, { maxArgumentCount: this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions") || this.hasPlugin("moduleAttributes") ? 2 : 1 }); else for (let n of t.arguments) n.type === "SpreadElement" && this.raise(_.ImportCallSpreadArgument, n); return this.finishNode(t, r ? "OptionalCallExpression" : "CallExpression"); } parseCallExpressionArguments(t, r, n, i, a) { let o = [], l = !0, u = this.state.inFSharpPipelineDirectBody; for (this.state.inFSharpPipelineDirectBody = !1; !this.eat(t); ) { if (l) l = !1; else if (this.expect(12), this.match(t)) { r && !this.hasPlugin("importAttributes") && !this.hasPlugin("importAssertions") && !this.hasPlugin("moduleAttributes") && this.raise( _.ImportCallArgumentTrailingComma, this.state.lastTokStartLoc), i && this.addTrailingCommaExtraToNode(i), this.next(); break; } o.push(this.parseExprListItem(!1, a, n)); } return this.state.inFSharpPipelineDirectBody = u, o; } shouldParseAsyncArrow() { return this.match(19) && !this.canInsertSemicolon(); } parseAsyncArrowFromCallExpression(t, r) { var n; return this.resetPreviousNodeTrailingComments(r), this.expect(19), this.parseArrowExpression(t, r.arguments, !0, (n = r.extra) == null ? void 0 : n.trailingCommaLoc), r.innerComments && Ja(t, r.innerComments), r.callee.trailingComments && Ja(t, r.callee.trailingComments), t; } parseNoCallExpr() { let t = this.state.startLoc; return this.parseSubscripts(this.parseExprAtom(), t, !0); } parseExprAtom(t) { let r, n = null, { type: i } = this.state; switch (i) { case 79: return this.parseSuper(); case 83: return r = this.startNode(), this.next(), this.match(16) ? this.parseImportMetaProperty(r) : this.match(10) ? this.options.createImportExpressions ? this.parseImportCall(r) : this.finishNode(r, "Import") : (this.raise(_.UnsupportedImport, this.state.lastTokStartLoc), this.finishNode( r, "Import")); case 78: return r = this.startNode(), this.next(), this.finishNode(r, "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: { let a = this.state.potentialArrowAt === this.state.start; return this.parseParenAndDistinguishExpression(a); } case 2: case 1: return this.parseArrayLike(this.state.type === 2 ? 4 : 3, !1, !0); case 0: return this.parseArrayLike(3, !0, !1, t); case 6: case 7: return this.parseObjectLike(this.state.type === 6 ? 9 : 8, !1, !0); case 5: return this.parseObjectLike(8, !1, !1, t); case 68: return this.parseFunctionOrFunctionSent(); case 26: n = this.parseDecorators(); case 80: return this.parseClass(this.maybeTakeDecorators(n, this.startNode()), !1); case 77: return this.parseNewOrNewTarget(); case 25: case 24: return this.parseTemplate(!1); case 15: { r = this.startNode(), this.next(), r.object = null; let a = r.callee = this.parseNoCallExpr(); if (a.type === "MemberExpression") return this.finishNode(r, "BindExpression"); throw this.raise(_.UnsupportedBind, a); } case 138: return this.raise(_.PrivateInExpectedIn, this.state.startLoc, { identifierName: this.state.value }), this.parsePrivateName(); case 33: return this.parseTopicReferenceThenEqualsSign(54, "%"); case 32: return this.parseTopicReferenceThenEqualsSign(44, "^"); case 37: case 38: return this.parseTopicReference("hack"); case 44: case 54: case 27: { let a = this.getPluginOption("pipelineOperator", "proposal"); if (a) return this.parseTopicReference(a); this.unexpected(); break; } case 47: { let a = this.input.codePointAt(this.nextTokenStart()); wn(a) || a === 62 ? this.expectOnePlugin(["jsx", "flow", "typescript"]) : this.unexpected(); break; } default: if (et(i)) { if (this.isContextual(127) && this.lookaheadInLineCharCode() === 123) return this.parseModuleExpression(); let a = this.state.potentialArrowAt === this.state.start, o = this.state.containsEsc, l = this.parseIdentifier(); if (!o && l.name === "async" && !this.canInsertSemicolon()) { let { type: u } = this.state; if (u === 68) return this.resetPreviousNodeTrailingComments(l), this.next(), this.parseAsyncFunctionExpression(this.startNodeAtNode(l)); if (et(u)) return this.lookaheadCharCode() === 61 ? this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(l)) : l; if (u === 90) return this.resetPreviousNodeTrailingComments(l), this.parseDo(this.startNodeAtNode(l), !0); } return a && this.match(19) && !this.canInsertSemicolon() ? (this.next(), this.parseArrowExpression(this.startNodeAtNode(l), [l], !1)) : l; } else this.unexpected(); } } parseTopicReferenceThenEqualsSign(t, r) { let n = this.getPluginOption("pipelineOperator", "proposal"); if (n) return this.state.type = t, this.state.value = r, this.state.pos--, this.state.end--, this.state.endLoc = ir(this.state.endLoc, -1), this.parseTopicReference(n); this.unexpected(); } parseTopicReference(t) { let r = this.startNode(), n = this.state.startLoc, i = this.state.type; return this.next(), this.finishTopicReference(r, n, t, i); } finishTopicReference(t, r, n, i) { if (this.testTopicReferenceConfiguration(n, r, i)) { let a = n === "smart" ? "PipelinePrimaryTopicReference" : "TopicReference"; return this.topicReferenceIsAllowedInCurrentContext() || this.raise(n === "smart" ? _.PrimaryTopicNotAllowed : _.PipeTopicUnbound, r), this.registerTopicReference(), this.finishNode(t, a); } else throw this.raise(_.PipeTopicUnconfiguredToken, r, { token: rs(i) }); } testTopicReferenceConfiguration(t, r, n) { switch (t) { case "hack": return this.hasPlugin(["pipelineOperator", { topicToken: rs(n) }]); case "smart": return n === 27; default: throw this.raise(_.PipeTopicRequiresHackPipes, r); } } parseAsyncArrowUnaryFunction(t) { this.prodParam.enter(ql(!0, this.prodParam.hasYield)); let r = [this.parseIdentifier()]; return this.prodParam.exit(), this.hasPrecedingLineBreak() && this.raise(_.LineTerminatorBeforeArrow, this.state.curPosition()), this. expect(19), this.parseArrowExpression(t, r, !0); } parseDo(t, r) { this.expectPlugin("doExpressions"), r && this.expectPlugin("asyncDoExpressions"), t.async = r, this.next(); let n = this.state.labels; return this.state.labels = [], r ? (this.prodParam.enter(2), t.body = this.parseBlock(), this.prodParam.exit()) : t.body = this.parseBlock(), this.state.labels = n, this.finishNode(t, "DoExpression"); } parseSuper() { let t = this.startNode(); return this.next(), this.match(10) && !this.scope.allowDirectSuper && !this.options.allowSuperOutsideMethod ? this.raise(_.SuperNotAllowed, t) : !this.scope.allowSuper && !this.options.allowSuperOutsideMethod && this.raise(_.UnexpectedSuper, t), !this.match(10) && !this.match( 0) && !this.match(16) && this.raise(_.UnsupportedSuper, t), this.finishNode(t, "Super"); } parsePrivateName() { let t = this.startNode(), r = this.startNodeAt(ir(this.state.startLoc, 1)), n = this.state.value; return this.next(), t.id = this.createIdentifier(r, n), this.finishNode(t, "PrivateName"); } parseFunctionOrFunctionSent() { let t = this.startNode(); if (this.next(), this.prodParam.hasYield && this.match(16)) { let r = this.createIdentifier(this.startNodeAtNode(t), "function"); return this.next(), this.match(103) ? this.expectPlugin("functionSent") : this.hasPlugin("functionSent") || this.unexpected(), this. parseMetaProperty(t, r, "sent"); } return this.parseFunction(t); } parseMetaProperty(t, r, n) { t.meta = r; let i = this.state.containsEsc; return t.property = this.parseIdentifier(!0), (t.property.name !== n || i) && this.raise(_.UnsupportedMetaProperty, t.property, { target: r.name, onlyValidPropertyName: n }), this.finishNode(t, "MetaProperty"); } parseImportMetaProperty(t) { let r = this.createIdentifier(this.startNodeAtNode(t), "import"); if (this.next(), this.isContextual(101)) this.inModule || this.raise(_.ImportMetaOutsideModule, r), this.sawUnambiguousESM = !0; else if (this.isContextual(105) || this.isContextual(97)) { let n = this.isContextual(105); if (n || this.unexpected(), this.expectPlugin(n ? "sourcePhaseImports" : "deferredImportEvaluation"), !this.options.createImportExpressions) throw this.raise(_.DynamicImportPhaseRequiresImportExpressions, this.state.startLoc, { phase: this.state.value }); return this.next(), t.phase = n ? "source" : "defer", this.parseImportCall(t); } return this.parseMetaProperty(t, r, "meta"); } parseLiteralAtNode(t, r, n) { return this.addExtra(n, "rawValue", t), this.addExtra(n, "raw", this.input.slice(n.start, this.state.end)), n.value = t, this.next(), this. finishNode(n, r); } parseLiteral(t, r) { let n = this.startNode(); return this.parseLiteralAtNode(t, r, n); } parseStringLiteral(t) { return this.parseLiteral(t, "StringLiteral"); } parseNumericLiteral(t) { return this.parseLiteral(t, "NumericLiteral"); } parseBigIntLiteral(t) { return this.parseLiteral(t, "BigIntLiteral"); } parseDecimalLiteral(t) { return this.parseLiteral(t, "DecimalLiteral"); } parseRegExpLiteral(t) { let r = this.startNode(); return this.addExtra(r, "raw", this.input.slice(r.start, this.state.end)), r.pattern = t.pattern, r.flags = t.flags, this.next(), this. finishNode(r, "RegExpLiteral"); } parseBooleanLiteral(t) { let r = this.startNode(); return r.value = t, this.next(), this.finishNode(r, "BooleanLiteral"); } parseNullLiteral() { let t = this.startNode(); return this.next(), this.finishNode(t, "NullLiteral"); } parseParenAndDistinguishExpression(t) { let r = this.state.startLoc, n; this.next(), this.expressionScope.enter(gG()); let i = this.state.maybeInArrowParameters, a = this.state.inFSharpPipelineDirectBody; this.state.maybeInArrowParameters = !0, this.state.inFSharpPipelineDirectBody = !1; let o = this.state.startLoc, l = [], u = new Si(), c = !0, f, p; for (; !this.match(11); ) { if (c) c = !1; else if (this.expect(12, u.optionalParametersLoc === null ? null : u.optionalParametersLoc), this.match(11)) { p = this.state.startLoc; break; } if (this.match(21)) { let v = this.state.startLoc; if (f = this.state.startLoc, l.push(this.parseParenItem(this.parseRestBinding(), v)), !this.checkCommaAfterRest(41)) break; } else l.push(this.parseMaybeAssignAllowIn(u, this.parseParenItem)); } let h = this.state.lastTokEndLoc; this.expect(11), this.state.maybeInArrowParameters = i, this.state.inFSharpPipelineDirectBody = a; let y = this.startNodeAt(r); return t && this.shouldParseArrow(l) && (y = this.parseArrow(y)) ? (this.checkDestructuringPrivate(u), this.expressionScope.validateAsPattern(), this.expressionScope.exit(), this.parseArrowExpression(y, l, !1), y) : (this.expressionScope.exit(), l.length || this.unexpected(this. state.lastTokStartLoc), p && this.unexpected(p), f && this.unexpected(f), this.checkExpressionErrors(u, !0), this.toReferencedListDeep( l, !0), l.length > 1 ? (n = this.startNodeAt(o), n.expressions = l, this.finishNode(n, "SequenceExpression"), this.resetEndLocation(n, h)) : n = l[0], this.wrapParenthesis(r, n)); } wrapParenthesis(t, r) { if (!this.options.createParenthesizedExpressions) return this.addExtra(r, "parenthesized", !0), this.addExtra(r, "parenStart", t.index), this.takeSurroundingComments(r, t.index, this. state.lastTokEndLoc.index), r; let n = this.startNodeAt(t); return n.expression = r, this.finishNode(n, "ParenthesizedExpression"); } shouldParseArrow(t) { return !this.canInsertSemicolon(); } parseArrow(t) { if (this.eat(19)) return t; } parseParenItem(t, r) { return t; } parseNewOrNewTarget() { let t = this.startNode(); if (this.next(), this.match(16)) { let r = this.createIdentifier(this.startNodeAtNode(t), "new"); this.next(); let n = this.parseMetaProperty(t, r, "target"); return !this.scope.inNonArrowFunction && !this.scope.inClass && !this.options.allowNewTargetOutsideFunction && this.raise(_.UnexpectedNewTarget, n), n; } return this.parseNew(t); } parseNew(t) { if (this.parseNewCallee(t), this.eat(10)) { let r = this.parseExprList(11); this.toReferencedList(r), t.arguments = r; } else t.arguments = []; return this.finishNode(t, "NewExpression"); } parseNewCallee(t) { let r = this.match(83), n = this.parseNoCallExpr(); t.callee = n, r && (n.type === "Import" || n.type === "ImportExpression") && this.raise(_.ImportCallNotNewExpression, n); } parseTemplateElement(t) { let { start: r, startLoc: n, end: i, value: a } = this.state, o = r + 1, l = this.startNodeAt(ir(n, 1)); a === null && (t || this.raise(_.InvalidEscapeSequenceTemplate, ir(this.state.firstInvalidTemplateEscapePos, 1))); let u = this.match(24), c = u ? -1 : -2, f = i + c; l.value = { raw: this.input.slice(o, f).replace(/\r\n?/g, ` `), cooked: a === null ? null : a.slice(1, c) }, l.tail = u, this.next(); let p = this.finishNode(l, "TemplateElement"); return this.resetEndLocation(p, ir(this.state.lastTokEndLoc, c)), p; } parseTemplate(t) { let r = this.startNode(), n = this.parseTemplateElement(t), i = [n], a = []; for (; !n.tail; ) a.push(this.parseTemplateSubstitution()), this.readTemplateContinuation(), i.push(n = this.parseTemplateElement(t)); return r.expressions = a, r.quasis = i, this.finishNode(r, "TemplateLiteral"); } parseTemplateSubstitution() { return this.parseExpression(); } parseObjectLike(t, r, n, i) { n && this.expectPlugin("recordAndTuple"); let a = this.state.inFSharpPipelineDirectBody; this.state.inFSharpPipelineDirectBody = !1; let o = /* @__PURE__ */ Object.create(null), l = !0, u = this.startNode(); for (u.properties = [], this.next(); !this.match(t); ) { if (l) l = !1; else if (this.expect(12), this.match(t)) { this.addTrailingCommaExtraToNode(u); break; } let f; r ? f = this.parseBindingProperty() : (f = this.parsePropertyDefinition(i), this.checkProto(f, n, o, i)), n && !this.isObjectProperty( f) && f.type !== "SpreadElement" && this.raise(_.InvalidRecordProperty, f), f.shorthand && this.addExtra(f, "shorthand", !0), u.properties. push(f); } this.next(), this.state.inFSharpPipelineDirectBody = a; let c = "ObjectExpression"; return r ? c = "ObjectPattern" : n && (c = "RecordExpression"), this.finishNode(u, c); } addTrailingCommaExtraToNode(t) { this.addExtra(t, "trailingComma", this.state.lastTokStartLoc.index), this.addExtra(t, "trailingCommaLoc", this.state.lastTokStartLoc, !1); } maybeAsyncOrAccessorProp(t) { return !t.computed && t.key.type === "Identifier" && (this.isLiteralPropertyName() || this.match(0) || this.match(55)); } parsePropertyDefinition(t) { let r = []; if (this.match(26)) for (this.hasPlugin("decorators") && this.raise(_.UnsupportedPropertyDecorator, this.state.startLoc); this.match(26); ) r.push(this.parseDecorator()); let n = this.startNode(), i = !1, a = !1, o; if (this.match(21)) return r.length && this.unexpected(), this.parseSpread(); r.length && (n.decorators = r, r = []), n.method = !1, t && (o = this.state.startLoc); let l = this.eat(55); this.parsePropertyNamePrefixOperator(n); let u = this.state.containsEsc; if (this.parsePropertyName(n, t), !l && !u && this.maybeAsyncOrAccessorProp(n)) { let { key: c } = n, f = c.name; f === "async" && !this.hasPrecedingLineBreak() && (i = !0, this.resetPreviousNodeTrailingComments(c), l = this.eat(55), this.parsePropertyName( n)), (f === "get" || f === "set") && (a = !0, this.resetPreviousNodeTrailingComments(c), n.kind = f, this.match(55) && (l = !0, this. raise(_.AccessorIsGenerator, this.state.curPosition(), { kind: f }), this.next()), this.parsePropertyName(n)); } return this.parseObjPropValue(n, o, l, i, !1, a, t); } getGetterSetterExpectedParamCount(t) { return t.kind === "get" ? 0 : 1; } getObjectOrClassMethodParams(t) { return t.params; } checkGetterSetterParams(t) { var r; let n = this.getGetterSetterExpectedParamCount(t), i = this.getObjectOrClassMethodParams(t); i.length !== n && this.raise(t.kind === "get" ? _.BadGetterArity : _.BadSetterArity, t), t.kind === "set" && ((r = i[i.length - 1]) == null ? void 0 : r.type) === "RestElement" && this.raise(_.BadSetterRestParameter, t); } parseObjectMethod(t, r, n, i, a) { if (a) { let o = this.parseMethod(t, r, !1, !1, !1, "ObjectMethod"); return this.checkGetterSetterParams(o), o; } if (n || r || this.match(10)) return i && this.unexpected(), t.kind = "method", t.method = !0, this.parseMethod(t, r, n, !1, !1, "ObjectMethod"); } parseObjectProperty(t, r, n, i) { if (t.shorthand = !1, this.eat(14)) return t.value = n ? this.parseMaybeDefault(this.state.startLoc) : this.parseMaybeAssignAllowIn(i), this.finishNode(t, "ObjectProper\ ty"); if (!t.computed && t.key.type === "Identifier") { if (this.checkReservedWord(t.key.name, t.key.loc.start, !0, !1), n) t.value = this.parseMaybeDefault(r, In(t.key)); else if (this.match(29)) { let a = this.state.startLoc; i != null ? i.shorthandAssignLoc === null && (i.shorthandAssignLoc = a) : this.raise(_.InvalidCoverInitializedName, a), t.value = this. parseMaybeDefault(r, In(t.key)); } else t.value = In(t.key); return t.shorthand = !0, this.finishNode(t, "ObjectProperty"); } } parseObjPropValue(t, r, n, i, a, o, l) { let u = this.parseObjectMethod(t, n, i, a, o) || this.parseObjectProperty(t, r, a, l); return u || this.unexpected(), u; } parsePropertyName(t, r) { if (this.eat(0)) t.computed = !0, t.key = this.parseMaybeAssignAllowIn(), this.expect(3); else { let { type: n, value: i } = this.state, a; if ($r(n)) a = this.parseIdentifier(!0); else switch (n) { case 134: a = this.parseNumericLiteral(i); break; case 133: a = this.parseStringLiteral(i); break; case 135: a = this.parseBigIntLiteral(i); break; case 136: a = this.parseDecimalLiteral(i); break; case 138: { let o = this.state.startLoc; r != null ? r.privateKeyLoc === null && (r.privateKeyLoc = o) : this.raise(_.UnexpectedPrivateField, o), a = this.parsePrivateName(); break; } default: this.unexpected(); } t.key = a, n !== 138 && (t.computed = !1); } } initFunction(t, r) { t.id = null, t.generator = !1, t.async = r; } parseMethod(t, r, n, i, a, o, l = !1) { this.initFunction(t, n), t.generator = r, this.scope.enter(18 | (l ? 64 : 0) | (a ? 32 : 0)), this.prodParam.enter(ql(n, t.generator)), this.parseFunctionParams(t, i); let u = this.parseFunctionBodyAndFinish(t, o, !0); return this.prodParam.exit(), this.scope.exit(), u; } parseArrayLike(t, r, n, i) { n && this.expectPlugin("recordAndTuple"); let a = this.state.inFSharpPipelineDirectBody; this.state.inFSharpPipelineDirectBody = !1; let o = this.startNode(); return this.next(), o.elements = this.parseExprList(t, !n, i, o), this.state.inFSharpPipelineDirectBody = a, this.finishNode(o, n ? "T\ upleExpression" : "ArrayExpression"); } parseArrowExpression(t, r, n, i) { this.scope.enter(6); let a = ql(n, !1); !this.match(5) && this.prodParam.hasIn && (a |= 8), this.prodParam.enter(a), this.initFunction(t, n); let o = this.state.maybeInArrowParameters; return r && (this.state.maybeInArrowParameters = !0, this.setArrowFunctionParameters(t, r, i)), this.state.maybeInArrowParameters = !1, this.parseFunctionBody(t, !0), this.prodParam.exit(), this.scope.exit(), this.state.maybeInArrowParameters = o, this.finishNode(t, "Ar\ rowFunctionExpression"); } setArrowFunctionParameters(t, r, n) { this.toAssignableList(r, n, !1), t.params = r; } parseFunctionBodyAndFinish(t, r, n = !1) { return this.parseFunctionBody(t, !1, n), this.finishNode(t, r); } parseFunctionBody(t, r, n = !1) { let i = r && !this.match(5); if (this.expressionScope.enter(hT()), i) t.body = this.parseMaybeAssign(), this.checkParams(t, !1, r, !1); else { let a = this.state.strict, o = this.state.labels; this.state.labels = [], this.prodParam.enter(this.prodParam.currentFlags() | 4), t.body = this.parseBlock(!0, !1, (l) => { let u = !this.isSimpleParamList(t.params); l && u && this.raise(_.IllegalLanguageModeDirective, (t.kind === "method" || t.kind === "constructor") && t.key ? t.key.loc.end : t); let c = !a && this.state.strict; this.checkParams(t, !this.state.strict && !r && !n && !u, r, c), this.state.strict && t.id && this.checkIdentifier(t.id, 65, c); }), this.prodParam.exit(), this.state.labels = o; } this.expressionScope.exit(); } isSimpleParameter(t) { return t.type === "Identifier"; } isSimpleParamList(t) { for (let r = 0, n = t.length; r < n; r++) if (!this.isSimpleParameter(t[r])) return !1; return !0; } checkParams(t, r, n, i = !0) { let a = !r && /* @__PURE__ */ new Set(), o = { type: "FormalParameters" }; for (let l of t.params) this.checkLVal(l, o, 5, a, i); } parseExprList(t, r, n, i) { let a = [], o = !0; for (; !this.eat(t); ) { if (o) o = !1; else if (this.expect(12), this.match(t)) { i && this.addTrailingCommaExtraToNode(i), this.next(); break; } a.push(this.parseExprListItem(r, n)); } return a; } parseExprListItem(t, r, n) { let i; if (this.match(12)) t || this.raise(_.UnexpectedToken, this.state.curPosition(), { unexpected: "," }), i = null; else if (this.match(21)) { let a = this.state.startLoc; i = this.parseParenItem(this.parseSpread(r), a); } else if (this.match(17)) { this.expectPlugin("partialApplication"), n || this.raise(_.UnexpectedArgumentPlaceholder, this.state.startLoc); let a = this.startNode(); this.next(), i = this.finishNode(a, "ArgumentPlaceholder"); } else i = this.parseMaybeAssignAllowIn(r, this.parseParenItem); return i; } parseIdentifier(t) { let r = this.startNode(), n = this.parseIdentifierName(t); return this.createIdentifier(r, n); } createIdentifier(t, r) { return t.name = r, t.loc.identifierName = r, this.finishNode(t, "Identifier"); } parseIdentifierName(t) { let r, { startLoc: n, type: i } = this.state; $r(i) ? r = this.state.value : this.unexpected(); let a = $K(i); return t ? a && this.replaceToken(132) : this.checkReservedWord(r, n, a, !1), this.next(), r; } checkReservedWord(t, r, n, i) { if (t.length > 10 || !lG(t)) return; if (n && iG(t)) { this.raise(_.UnexpectedKeyword, r, { keyword: t }); return; } if ((this.state.strict ? i ? cT : lT : oT)(t, this.inModule)) { this.raise(_.UnexpectedReservedWord, r, { reservedWord: t }); return; } else if (t === "yield") { if (this.prodParam.hasYield) { this.raise(_.YieldBindingIdentifier, r); return; } } else if (t === "await") { if (this.prodParam.hasAwait) { this.raise(_.AwaitBindingIdentifier, r); return; } if (this.scope.inStaticBlock) { this.raise(_.AwaitBindingIdentifierInStaticBlock, r); return; } this.expressionScope.recordAsyncArrowParametersError(r); } else if (t === "arguments" && this.scope.inClassAndNotInNonArrowFunction) { this.raise(_.ArgumentsInClass, r); return; } } recordAwaitIfAllowed() { let t = this.prodParam.hasAwait || this.options.allowAwaitOutsideFunction && !this.scope.inFunction; return t && !this.scope.inFunction && (this.state.hasTopLevelAwait = !0), t; } parseAwait(t) { let r = this.startNodeAt(t); return this.expressionScope.recordParameterInitializerError(_.AwaitExpressionFormalParameter, r), this.eat(55) && this.raise(_.ObsoleteAwaitStar, r), !this.scope.inFunction && !this.options.allowAwaitOutsideFunction && (this.isAmbiguousAwait() ? this.ambiguousScriptDifferentAst = !0 : this.sawUnambiguousESM = !0), this.state.soloAwait || (r.argument = this.parseMaybeUnary(null, !0)), this.finishNode(r, "AwaitExp\ ression"); } isAmbiguousAwait() { if (this.hasPrecedingLineBreak()) return !0; let { type: t } = this.state; return t === 53 || t === 10 || t === 0 || Vl(t) || t === 102 && !this.state.containsEsc || t === 137 || t === 56 || this.hasPlugin("v8\ intrinsic") && t === 54; } parseYield() { let t = this.startNode(); this.expressionScope.recordParameterInitializerError(_.YieldInParameter, t), this.next(); let r = !1, n = null; if (!this.hasPrecedingLineBreak()) switch (r = this.eat(55), this.state.type) { case 13: case 139: case 8: case 11: case 3: case 9: case 14: case 12: if (!r) break; default: n = this.parseMaybeAssign(); } return t.delegate = r, t.argument = n, this.finishNode(t, "YieldExpression"); } parseImportCall(t) { return this.next(), t.source = this.parseMaybeAssignAllowIn(), (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) && (t.options = null), this.eat(12) && (this.expectImportAttributesPlugin(), this.match(11) || (t.options = this.parseMaybeAssignAllowIn(), this.eat(12))), this.expect(11), this.finishNode(t, "ImportExpression"); } checkPipelineAtInfixOperator(t, r) { this.hasPlugin(["pipelineOperator", { proposal: "smart" }]) && t.type === "SequenceExpression" && this.raise(_.PipelineHeadSequenceExpression, r); } parseSmartPipelineBodyInStyle(t, r) { if (this.isSimpleReference(t)) { let n = this.startNodeAt(r); return n.callee = t, this.finishNode(n, "PipelineBareFunction"); } else { let n = this.startNodeAt(r); return this.checkSmartPipeTopicBodyEarlyErrors(r), n.expression = t, this.finishNode(n, "PipelineTopicExpression"); } } isSimpleReference(t) { switch (t.type) { case "MemberExpression": return !t.computed && this.isSimpleReference(t.object); case "Identifier": return !0; default: return !1; } } checkSmartPipeTopicBodyEarlyErrors(t) { if (this.match(19)) throw this.raise(_.PipelineBodyNoArrow, this.state.startLoc); this.topicReferenceWasUsedInCurrentContext() || this.raise(_.PipelineTopicUnused, t); } withTopicBindingContext(t) { let r = this.state.topicContext; this.state.topicContext = { maxNumOfResolvableTopics: 1, maxTopicIndex: null }; try { return t(); } finally { this.state.topicContext = r; } } withSmartMixTopicForbiddingContext(t) { if (this.hasPlugin(["pipelineOperator", { proposal: "smart" }])) { let r = this.state.topicContext; this.state.topicContext = { maxNumOfResolvableTopics: 0, maxTopicIndex: null }; try { return t(); } finally { this.state.topicContext = r; } } else return t(); } withSoloAwaitPermittingContext(t) { let r = this.state.soloAwait; this.state.soloAwait = !0; try { return t(); } finally { this.state.soloAwait = r; } } allowInAnd(t) { let r = this.prodParam.currentFlags(); if (8 & ~r) { this.prodParam.enter(r | 8); try { return t(); } finally { this.prodParam.exit(); } } return t(); } disallowInAnd(t) { let r = this.prodParam.currentFlags(); if (8 & r) { this.prodParam.enter(r & -9); try { return t(); } finally { this.prodParam.exit(); } } return t(); } 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(t) { let r = this.state.startLoc; this.state.potentialArrowAt = this.state.start; let n = this.state.inFSharpPipelineDirectBody; this.state.inFSharpPipelineDirectBody = !0; let i = this.parseExprOp(this.parseMaybeUnaryOrPrivate(), r, t); return this.state.inFSharpPipelineDirectBody = n, i; } parseModuleExpression() { this.expectPlugin("moduleBlocks"); let t = this.startNode(); this.next(), this.match(5) || this.unexpected(null, 5); let r = this.startNodeAt(this.state.endLoc); this.next(); let n = this.initializeScopes(!0); this.enterInitialScopes(); try { t.body = this.parseProgram(r, 8, "module"); } finally { n(); } return this.finishNode(t, "ModuleExpression"); } parsePropertyNamePrefixOperator(t) { } }, ah = { kind: 1 }, UG = { kind: 2 }, VG = /[\uD800-\uDFFF]/u, oh = /in(?:stanceof)?/y; function $G(e, t) { for (let r = 0; r < e.length; r++) { let n = e[r], { type: i } = n; if (typeof i == "number") { { if (i === 138) { let { loc: a, start: o, value: l, end: u } = n, c = o + 1, f = ir(a.start, 1); e.splice(r, 1, new un({ type: An(27), value: "#", start: o, end: c, startLoc: a.start, endLoc: f }), new un({ type: An(132), value: l, start: c, end: u, startLoc: f, endLoc: a.end })), r++; continue; } if (Vl(i)) { let { loc: a, start: o, value: l, end: u } = n, c = o + 1, f = ir(a.start, 1), p; t.charCodeAt(o) === 96 ? p = new un({ type: An(22), value: "`", start: o, end: c, startLoc: a.start, endLoc: f }) : p = new un({ type: An(8), value: "}", start: o, end: c, startLoc: a.start, endLoc: f }); let h, y, v, d; i === 24 ? (y = u - 1, v = ir(a.end, -1), h = l === null ? null : l.slice(1, -1), d = new un({ type: An(22), value: "`", start: y, end: u, startLoc: v, endLoc: a.end })) : (y = u - 2, v = ir(a.end, -2), h = l === null ? null : l.slice(1, -2), d = new un({ type: An(23), value: "${", start: y, end: u, startLoc: v, endLoc: a.end })), e.splice(r, 1, p, new un({ type: An(20), value: h, start: c, end: y, startLoc: f, endLoc: v }), d), r += 2; continue; } } n.type = An(i); } } return e; } s($G, "babel7CompatTokens"); var wh = class extends Ch { static { s(this, "StatementParser"); } parseTopLevel(t, r) { return t.program = this.parseProgram(r), t.comments = this.comments, this.options.tokens && (t.tokens = $G(this.tokens, this.input)), this. finishNode(t, "File"); } parseProgram(t, r = 139, n = this.options.sourceType) { if (t.sourceType = n, t.interpreter = this.parseInterpreterDirective(), this.parseBlockBody(t, !0, !0, r), this.inModule) { if (!this.options.allowUndeclaredExports && this.scope.undefinedExports.size > 0) for (let [a, o] of Array.from(this.scope.undefinedExports)) this.raise(_.ModuleExportUndefined, o, { localName: a }); this.addExtra(t, "topLevelAwait", this.state.hasTopLevelAwait); } let i; return r === 139 ? i = this.finishNode(t, "Program") : i = this.finishNodeAt(t, "Program", ir(this.state.startLoc, -1)), i; } stmtToDirective(t) { let r = t; r.type = "Directive", r.value = r.expression, delete r.expression; let n = r.value, i = n.value, a = this.input.slice(n.start, n.end), o = n.value = a.slice(1, -1); return this.addExtra(n, "raw", a), this.addExtra(n, "rawValue", o), this.addExtra(n, "expressionValue", i), n.type = "DirectiveLiteral", r; } parseInterpreterDirective() { if (!this.match(28)) return null; let t = this.startNode(); return t.value = this.state.value, this.next(), this.finishNode(t, "InterpreterDirective"); } isLet() { return this.isContextual(100) ? this.hasFollowingBindingAtom() : !1; } chStartsBindingIdentifier(t, r) { if (wn(t)) { if (oh.lastIndex = r, oh.test(this.input)) { let n = this.codePointAtPos(oh.lastIndex); if (!Ti(n) && n !== 92) return !1; } return !0; } else return t === 92; } chStartsBindingPattern(t) { return t === 91 || t === 123; } hasFollowingBindingAtom() { let t = this.nextTokenStart(), r = this.codePointAtPos(t); return this.chStartsBindingPattern(r) || this.chStartsBindingIdentifier(r, t); } hasInLineFollowingBindingIdentifierOrBrace() { let t = this.nextTokenInLineStart(), r = this.codePointAtPos(t); return r === 123 || this.chStartsBindingIdentifier(r, t); } startsUsingForOf() { let { type: t, containsEsc: r } = this.lookahead(); if (t === 102 && !r) return !1; if (et(t) && !this.hasFollowingLineBreak()) return this.expectPlugin("explicitResourceManagement"), !0; } startsAwaitUsing() { let t = this.nextTokenInLineStart(); if (this.isUnparsedContextual(t, "using")) { t = this.nextTokenInLineStartSince(t + 5); let r = this.codePointAtPos(t); if (this.chStartsBindingIdentifier(r, t)) 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(t = !1) { let r = 0; return this.options.annexB && !this.state.strict && (r |= 4, t && (r |= 8)), this.parseStatementLike(r); } parseStatement() { return this.parseStatementLike(0); } parseStatementLike(t) { let r = null; return this.match(26) && (r = this.parseDecorators(!0)), this.parseStatementContent(t, r); } parseStatementContent(t, r) { let n = this.state.type, i = this.startNode(), a = !!(t & 2), o = !!(t & 4), l = t & 1; switch (n) { case 60: return this.parseBreakContinueStatement(i, !0); case 63: return this.parseBreakContinueStatement(i, !1); case 64: return this.parseDebuggerStatement(i); case 90: return this.parseDoWhileStatement(i); case 91: return this.parseForStatement(i); case 68: if (this.lookaheadCharCode() === 46) break; return o || this.raise(this.state.strict ? _.StrictFunction : this.options.annexB ? _.SloppyFunctionAnnexB : _.SloppyFunction, this. state.startLoc), this.parseFunctionStatement(i, !1, !a && o); case 80: return a || this.unexpected(), this.parseClass(this.maybeTakeDecorators(r, i), !0); case 69: return this.parseIfStatement(i); case 70: return this.parseReturnStatement(i); case 71: return this.parseSwitchStatement(i); case 72: return this.parseThrowStatement(i); case 73: return this.parseTryStatement(i); case 96: if (!this.state.containsEsc && this.startsAwaitUsing()) return this.recordAwaitIfAllowed() ? a || this.raise(_.UnexpectedLexicalDeclaration, i) : this.raise(_.AwaitUsingNotInAsyncContext, i), this.next(), this.parseVarStatement(i, "await using"); break; case 107: if (this.state.containsEsc || !this.hasInLineFollowingBindingIdentifierOrBrace()) break; return this.expectPlugin("explicitResourceManagement"), !this.scope.inModule && this.scope.inTopLevel ? this.raise(_.UnexpectedUsingDeclaration, this.state.startLoc) : a || this.raise(_.UnexpectedLexicalDeclaration, this.state.startLoc), this.parseVarStatement(i, "using"); case 100: { if (this.state.containsEsc) break; let f = this.nextTokenStart(), p = this.codePointAtPos(f); if (p !== 91 && (!a && this.hasFollowingLineBreak() || !this.chStartsBindingIdentifier(p, f) && p !== 123)) break; } case 75: a || this.raise(_.UnexpectedLexicalDeclaration, this.state.startLoc); case 74: { let f = this.state.value; return this.parseVarStatement(i, f); } case 92: return this.parseWhileStatement(i); case 76: return this.parseWithStatement(i); case 5: return this.parseBlock(); case 13: return this.parseEmptyStatement(i); case 83: { let f = this.lookaheadCharCode(); if (f === 40 || f === 46) break; } case 82: { !this.options.allowImportExportEverywhere && !l && this.raise(_.UnexpectedImportExport, this.state.startLoc), this.next(); let f; return n === 83 ? (f = this.parseImport(i), f.type === "ImportDeclaration" && (!f.importKind || f.importKind === "value") && (this. sawUnambiguousESM = !0)) : (f = this.parseExport(i, r), (f.type === "ExportNamedDeclaration" && (!f.exportKind || f.exportKind === "value") || f.type === "ExportAllDeclaration" && (!f.exportKind || f.exportKind === "value") || f.type === "ExportDefaultDeclarati\ on") && (this.sawUnambiguousESM = !0)), this.assertModuleNodeAllowed(f), f; } default: if (this.isAsyncFunction()) return a || this.raise(_.AsyncFunctionInSingleStatementContext, this.state.startLoc), this.next(), this.parseFunctionStatement(i, !0, !a && o); } let u = this.state.value, c = this.parseExpression(); return et(n) && c.type === "Identifier" && this.eat(14) ? this.parseLabeledStatement(i, u, c, t) : this.parseExpressionStatement(i, c, r); } assertModuleNodeAllowed(t) { !this.options.allowImportExportEverywhere && !this.inModule && this.raise(_.ImportOutsideModule, t); } decoratorsEnabledBeforeExport() { return this.hasPlugin("decorators-legacy") ? !0 : this.hasPlugin("decorators") && this.getPluginOption("decorators", "decoratorsBefore\ Export") !== !1; } maybeTakeDecorators(t, r, n) { return t && (r.decorators && r.decorators.length > 0 ? (typeof this.getPluginOption("decorators", "decoratorsBeforeExport") != "boolea\ n" && this.raise(_.DecoratorsBeforeAfterExport, r.decorators[0]), r.decorators.unshift(...t)) : r.decorators = t, this.resetStartLocationFromNode( r, t[0]), n && this.resetStartLocationFromNode(n, r)), r; } canHaveLeadingDecorator() { return this.match(80); } parseDecorators(t) { let r = []; do r.push(this.parseDecorator()); while (this.match(26)); if (this.match(82)) t || this.unexpected(), this.decoratorsEnabledBeforeExport() || this.raise(_.DecoratorExportClass, this.state.startLoc); else if (!this.canHaveLeadingDecorator()) throw this.raise(_.UnexpectedLeadingDecorator, this.state.startLoc); return r; } parseDecorator() { this.expectOnePlugin(["decorators", "decorators-legacy"]); let t = this.startNode(); if (this.next(), this.hasPlugin("decorators")) { let r = this.state.startLoc, n; if (this.match(10)) { let i = this.state.startLoc; this.next(), n = this.parseExpression(), this.expect(11), n = this.wrapParenthesis(i, n); let a = this.state.startLoc; t.expression = this.parseMaybeDecoratorArguments(n), this.getPluginOption("decorators", "allowCallParenthesized") === !1 && t.expression !== n && this.raise(_.DecoratorArgumentsOutsideParentheses, a); } else { for (n = this.parseIdentifier(!1); this.eat(16); ) { let i = this.startNodeAt(r); i.object = n, this.match(138) ? (this.classScope.usePrivateName(this.state.value, this.state.startLoc), i.property = this.parsePrivateName()) : i.property = this.parseIdentifier(!0), i.computed = !1, n = this.finishNode(i, "MemberExpression"); } t.expression = this.parseMaybeDecoratorArguments(n); } } else t.expression = this.parseExprSubscripts(); return this.finishNode(t, "Decorator"); } parseMaybeDecoratorArguments(t) { if (this.eat(10)) { let r = this.startNodeAtNode(t); return r.callee = t, r.arguments = this.parseCallExpressionArguments(11, !1), this.toReferencedList(r.arguments), this.finishNode(r, "CallExpression"); } return t; } parseBreakContinueStatement(t, r) { return this.next(), this.isLineTerminator() ? t.label = null : (t.label = this.parseIdentifier(), this.semicolon()), this.verifyBreakContinue( t, r), this.finishNode(t, r ? "BreakStatement" : "ContinueStatement"); } verifyBreakContinue(t, r) { let n; for (n = 0; n < this.state.labels.length; ++n) { let i = this.state.labels[n]; if ((t.label == null || i.name === t.label.name) && (i.kind != null && (r || i.kind === 1) || t.label && r)) break; } if (n === this.state.labels.length) { let i = r ? "BreakStatement" : "ContinueStatement"; this.raise(_.IllegalBreakContinue, t, { type: i }); } } parseDebuggerStatement(t) { return this.next(), this.semicolon(), this.finishNode(t, "DebuggerStatement"); } parseHeaderExpression() { this.expect(10); let t = this.parseExpression(); return this.expect(11), t; } parseDoWhileStatement(t) { return this.next(), this.state.labels.push(ah), t.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement()), this.state. labels.pop(), this.expect(92), t.test = this.parseHeaderExpression(), this.eat(13), this.finishNode(t, "DoWhileStatement"); } parseForStatement(t) { this.next(), this.state.labels.push(ah); let r = null; if (this.isContextual(96) && this.recordAwaitIfAllowed() && (r = this.state.startLoc, this.next()), this.scope.enter(0), this.expect(10), this.match(13)) return r !== null && this.unexpected(r), this.parseFor(t, null); let n = this.isContextual(100); { let u = this.isContextual(96) && this.startsAwaitUsing(), c = u || this.isContextual(107) && this.startsUsingForOf(), f = n && this. hasFollowingBindingAtom() || c; if (this.match(74) || this.match(75) || f) { let p = this.startNode(), h; u ? (h = "await using", this.recordAwaitIfAllowed() || this.raise(_.AwaitUsingNotInAsyncContext, this.state.startLoc), this.next()) : h = this.state.value, this.next(), this.parseVar(p, !0, h); let y = this.finishNode(p, "VariableDeclaration"), v = this.match(58); return v && c && this.raise(_.ForInUsing, y), (v || this.isContextual(102)) && y.declarations.length === 1 ? this.parseForIn(t, y, r) : (r !== null && this.unexpected(r), this.parseFor(t, y)); } } let i = this.isContextual(95), a = new Si(), o = this.parseExpression(!0, a), l = this.isContextual(102); if (l && (n && this.raise(_.ForOfLet, o), r === null && i && o.type === "Identifier" && this.raise(_.ForOfAsync, o)), l || this.match( 58)) { this.checkDestructuringPrivate(a), this.toAssignable(o, !0); let u = l ? "ForOfStatement" : "ForInStatement"; return this.checkLVal(o, { type: u }), this.parseForIn(t, o, r); } else this.checkExpressionErrors(a, !0); return r !== null && this.unexpected(r), this.parseFor(t, o); } parseFunctionStatement(t, r, n) { return this.next(), this.parseFunction(t, 1 | (n ? 2 : 0) | (r ? 8 : 0)); } parseIfStatement(t) { return this.next(), t.test = this.parseHeaderExpression(), t.consequent = this.parseStatementOrSloppyAnnexBFunctionDeclaration(), t.alternate = this.eat(66) ? this.parseStatementOrSloppyAnnexBFunctionDeclaration() : null, this.finishNode(t, "IfStatement"); } parseReturnStatement(t) { return !this.prodParam.hasReturn && !this.options.allowReturnOutsideFunction && this.raise(_.IllegalReturn, this.state.startLoc), this. next(), this.isLineTerminator() ? t.argument = null : (t.argument = this.parseExpression(), this.semicolon()), this.finishNode(t, "Ret\ urnStatement"); } parseSwitchStatement(t) { this.next(), t.discriminant = this.parseHeaderExpression(); let r = t.cases = []; this.expect(5), this.state.labels.push(UG), this.scope.enter(0); let n; for (let i; !this.match(8); ) if (this.match(61) || this.match(65)) { let a = this.match(61); n && this.finishNode(n, "SwitchCase"), r.push(n = this.startNode()), n.consequent = [], this.next(), a ? n.test = this.parseExpression() : (i && this.raise(_.MultipleDefaultsInSwitch, this.state.lastTokStartLoc), i = !0, n.test = null), this.expect(14); } else n ? n.consequent.push(this.parseStatementListItem()) : this.unexpected(); return this.scope.exit(), n && this.finishNode(n, "SwitchCase"), this.next(), this.state.labels.pop(), this.finishNode(t, "SwitchState\ ment"); } parseThrowStatement(t) { return this.next(), this.hasPrecedingLineBreak() && this.raise(_.NewlineAfterThrow, this.state.lastTokEndLoc), t.argument = this.parseExpression(), this.semicolon(), this.finishNode(t, "ThrowStatement"); } parseCatchClauseParam() { let t = this.parseBindingAtom(); return this.scope.enter(this.options.annexB && t.type === "Identifier" ? 8 : 0), this.checkLVal(t, { type: "CatchClause" }, 9), t; } parseTryStatement(t) { if (this.next(), t.block = this.parseBlock(), t.handler = null, this.match(62)) { let r = this.startNode(); this.next(), this.match(10) ? (this.expect(10), r.param = this.parseCatchClauseParam(), this.expect(11)) : (r.param = null, this.scope. enter(0)), r.body = this.withSmartMixTopicForbiddingContext(() => this.parseBlock(!1, !1)), this.scope.exit(), t.handler = this.finishNode( r, "CatchClause"); } return t.finalizer = this.eat(67) ? this.parseBlock() : null, !t.handler && !t.finalizer && this.raise(_.NoCatchOrFinally, t), this.finishNode( t, "TryStatement"); } parseVarStatement(t, r, n = !1) { return this.next(), this.parseVar(t, !1, r, n), this.semicolon(), this.finishNode(t, "VariableDeclaration"); } parseWhileStatement(t) { return this.next(), t.test = this.parseHeaderExpression(), this.state.labels.push(ah), t.body = this.withSmartMixTopicForbiddingContext( () => this.parseStatement()), this.state.labels.pop(), this.finishNode(t, "WhileStatement"); } parseWithStatement(t) { return this.state.strict && this.raise(_.StrictWith, this.state.startLoc), this.next(), t.object = this.parseHeaderExpression(), t.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement()), this.finishNode(t, "WithStatement"); } parseEmptyStatement(t) { return this.next(), this.finishNode(t, "EmptyStatement"); } parseLabeledStatement(t, r, n, i) { for (let o of this.state.labels) o.name === r && this.raise(_.LabelRedeclaration, n, { labelName: r }); let a = GK(this.state.type) ? 1 : this.match(71) ? 2 : null; for (let o = this.state.labels.length - 1; o >= 0; o--) { let l = this.state.labels[o]; if (l.statementStart === t.start) l.statementStart = this.state.start, l.kind = a; else break; } return this.state.labels.push({ name: r, kind: a, statementStart: this.state.start }), t.body = i & 8 ? this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0) : this.parseStatement(), this.state.labels.pop(), t.label = n, this.finishNode(t, "LabeledStatement"); } parseExpressionStatement(t, r, n) { return t.expression = r, this.semicolon(), this.finishNode(t, "ExpressionStatement"); } parseBlock(t = !1, r = !0, n) { let i = this.startNode(); return t && this.state.strictErrors.clear(), this.expect(5), r && this.scope.enter(0), this.parseBlockBody(i, t, !1, 8, n), r && this. scope.exit(), this.finishNode(i, "BlockStatement"); } isValidDirective(t) { return t.type === "ExpressionStatement" && t.expression.type === "StringLiteral" && !t.expression.extra.parenthesized; } parseBlockBody(t, r, n, i, a) { let o = t.body = [], l = t.directives = []; this.parseBlockOrModuleBlockBody(o, r ? l : void 0, n, i, a); } parseBlockOrModuleBlockBody(t, r, n, i, a) { let o = this.state.strict, l = !1, u = !1; for (; !this.match(i); ) { let c = n ? this.parseModuleItem() : this.parseStatementListItem(); if (r && !u) { if (this.isValidDirective(c)) { let f = this.stmtToDirective(c); r.push(f), !l && f.value.value === "use strict" && (l = !0, this.setStrict(!0)); continue; } u = !0, this.state.strictErrors.clear(); } t.push(c); } a?.call(this, l), o || this.setStrict(!1), this.next(); } parseFor(t, r) { return t.init = r, this.semicolon(!1), t.test = this.match(13) ? null : this.parseExpression(), this.semicolon(!1), t.update = this.match( 11) ? null : this.parseExpression(), this.expect(11), t.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement()), this. scope.exit(), this.state.labels.pop(), this.finishNode(t, "ForStatement"); } parseForIn(t, r, n) { let i = this.match(58); return this.next(), i ? n !== null && this.unexpected(n) : t.await = n !== null, r.type === "VariableDeclaration" && r.declarations[0]. init != null && (!i || !this.options.annexB || this.state.strict || r.kind !== "var" || r.declarations[0].id.type !== "Identifier") && this.raise(_.ForInOfLoopInitializer, r, { type: i ? "ForInStatement" : "ForOfStatement" }), r.type === "AssignmentPattern" && this.raise(_.InvalidLhs, r, { ancestor: { type: "ForStatement" } }), t.left = r, t.right = i ? this.parseExpression() : this.parseMaybeAssignAllowIn(), this.expect(11), t.body = this.withSmartMixTopicForbiddingContext( () => this.parseStatement()), this.scope.exit(), this.state.labels.pop(), this.finishNode(t, i ? "ForInStatement" : "ForOfStatement"); } parseVar(t, r, n, i = !1) { let a = t.declarations = []; for (t.kind = n; ; ) { let o = this.startNode(); if (this.parseVarId(o, n), o.init = this.eat(29) ? r ? this.parseMaybeAssignDisallowIn() : this.parseMaybeAssignAllowIn() : null, o. init === null && !i && (o.id.type !== "Identifier" && !(r && (this.match(58) || this.isContextual(102))) ? this.raise(_.DeclarationMissingInitializer, this.state.lastTokEndLoc, { kind: "destructuring" }) : (n === "const" || n === "using" || n === "await using") && !(this.match(58) || this.isContextual(102)) && this.raise(_.DeclarationMissingInitializer, this.state.lastTokEndLoc, { kind: n })), a.push(this.finishNode(o, "VariableDeclarator")), !this.eat(12)) break; } return t; } parseVarId(t, r) { let n = this.parseBindingAtom(); (r === "using" || r === "await using") && (n.type === "ArrayPattern" || n.type === "ObjectPattern") && this.raise(_.UsingDeclarationHasBindingPattern, n.loc.start), this.checkLVal(n, { type: "VariableDeclarator" }, r === "var" ? 5 : 8201), t.id = n; } parseAsyncFunctionExpression(t) { return this.parseFunction(t, 8); } parseFunction(t, r = 0) { let n = r & 2, i = !!(r & 1), a = i && !(r & 4), o = !!(r & 8); this.initFunction(t, o), this.match(55) && (n && this.raise(_.GeneratorInSingleStatementContext, this.state.startLoc), this.next(), t. generator = !0), i && (t.id = this.parseFunctionId(a)); let l = this.state.maybeInArrowParameters; return this.state.maybeInArrowParameters = !1, this.scope.enter(2), this.prodParam.enter(ql(o, t.generator)), i || (t.id = this.parseFunctionId()), this.parseFunctionParams(t, !1), this.withSmartMixTopicForbiddingContext(() => { this.parseFunctionBodyAndFinish(t, i ? "FunctionDeclaration" : "FunctionExpression"); }), this.prodParam.exit(), this.scope.exit(), i && !n && this.registerFunctionStatementId(t), this.state.maybeInArrowParameters = l, t; } parseFunctionId(t) { return t || et(this.state.type) ? this.parseIdentifier() : null; } parseFunctionParams(t, r) { this.expect(10), this.expressionScope.enter(yG()), t.params = this.parseBindingList(11, 41, 2 | (r ? 4 : 0)), this.expressionScope.exit(); } registerFunctionStatementId(t) { t.id && this.scope.declareName(t.id.name, !this.options.annexB || this.state.strict || t.generator || t.async ? this.scope.treatFunctionsAsVar ? 5 : 8201 : 17, t.id.loc.start); } parseClass(t, r, n) { this.next(); let i = this.state.strict; return this.state.strict = !0, this.parseClassId(t, r, n), this.parseClassSuper(t), t.body = this.parseClassBody(!!t.superClass, i), this. finishNode(t, r ? "ClassDeclaration" : "ClassExpression"); } isClassProperty() { return this.match(29) || this.match(13) || this.match(8); } isClassMethod() { return this.match(10); } nameIsConstructor(t) { return t.type === "Identifier" && t.name === "constructor" || t.type === "StringLiteral" && t.value === "constructor"; } isNonstaticConstructor(t) { return !t.computed && !t.static && this.nameIsConstructor(t.key); } parseClassBody(t, r) { this.classScope.enter(); let n = { hadConstructor: !1, hadSuperClass: t }, i = [], a = this.startNode(); if (a.body = [], this.expect(5), this.withSmartMixTopicForbiddingContext(() => { for (; !this.match(8); ) { if (this.eat(13)) { if (i.length > 0) throw this.raise(_.DecoratorSemicolon, this.state.lastTokEndLoc); continue; } if (this.match(26)) { i.push(this.parseDecorator()); continue; } let o = this.startNode(); i.length && (o.decorators = i, this.resetStartLocationFromNode(o, i[0]), i = []), this.parseClassMember(a, o, n), o.kind === "cons\ tructor" && o.decorators && o.decorators.length > 0 && this.raise(_.DecoratorConstructor, o); } }), this.state.strict = r, this.next(), i.length) throw this.raise(_.TrailingDecorator, this.state.startLoc); return this.classScope.exit(), this.finishNode(a, "ClassBody"); } parseClassMemberFromModifier(t, r) { let n = this.parseIdentifier(!0); if (this.isClassMethod()) { let i = r; return i.kind = "method", i.computed = !1, i.key = n, i.static = !1, this.pushClassMethod(t, i, !1, !1, !1, !1), !0; } else if (this.isClassProperty()) { let i = r; return i.computed = !1, i.key = n, i.static = !1, t.body.push(this.parseClassProperty(i)), !0; } return this.resetPreviousNodeTrailingComments(n), !1; } parseClassMember(t, r, n) { let i = this.isContextual(106); if (i) { if (this.parseClassMemberFromModifier(t, r)) return; if (this.eat(5)) { this.parseClassStaticBlock(t, r); return; } } this.parseClassMemberWithIsStatic(t, r, n, i); } parseClassMemberWithIsStatic(t, r, n, i) { let a = r, o = r, l = r, u = r, c = r, f = a, p = a; if (r.static = i, this.parsePropertyNamePrefixOperator(r), this.eat(55)) { f.kind = "method"; let E = this.match(138); if (this.parseClassElementName(f), E) { this.pushClassPrivateMethod(t, o, !0, !1); return; } this.isNonstaticConstructor(a) && this.raise(_.ConstructorIsGenerator, a.key), this.pushClassMethod(t, a, !0, !1, !1, !1); return; } let h = !this.state.containsEsc && et(this.state.type), y = this.parseClassElementName(r), v = h ? y.name : null, d = this.isPrivateName( y), b = this.state.startLoc; if (this.parsePostMemberNameModifiers(p), this.isClassMethod()) { if (f.kind = "method", d) { this.pushClassPrivateMethod(t, o, !1, !1); return; } let E = this.isNonstaticConstructor(a), I = !1; E && (a.kind = "constructor", n.hadConstructor && !this.hasPlugin("typescript") && this.raise(_.DuplicateConstructor, y), E && this. hasPlugin("typescript") && r.override && this.raise(_.OverrideOnConstructor, y), n.hadConstructor = !0, I = n.hadSuperClass), this.pushClassMethod( t, a, !1, !1, E, I); } else if (this.isClassProperty()) d ? this.pushClassPrivateProperty(t, u) : this.pushClassProperty(t, l); else if (v === "async" && !this.isLineTerminator()) { this.resetPreviousNodeTrailingComments(y); let E = this.eat(55); p.optional && this.unexpected(b), f.kind = "method"; let I = this.match(138); this.parseClassElementName(f), this.parsePostMemberNameModifiers(p), I ? this.pushClassPrivateMethod(t, o, E, !0) : (this.isNonstaticConstructor( a) && this.raise(_.ConstructorIsAsync, a.key), this.pushClassMethod(t, a, E, !0, !1, !1)); } else if ((v === "get" || v === "set") && !(this.match(55) && this.isLineTerminator())) { this.resetPreviousNodeTrailingComments(y), f.kind = v; let E = this.match(138); this.parseClassElementName(a), E ? this.pushClassPrivateMethod(t, o, !1, !1) : (this.isNonstaticConstructor(a) && this.raise(_.ConstructorIsAccessor, a.key), this.pushClassMethod(t, a, !1, !1, !1, !1)), this.checkGetterSetterParams(a); } else if (v === "accessor" && !this.isLineTerminator()) { this.expectPlugin("decoratorAutoAccessors"), this.resetPreviousNodeTrailingComments(y); let E = this.match(138); this.parseClassElementName(l), this.pushClassAccessorProperty(t, c, E); } else this.isLineTerminator() ? d ? this.pushClassPrivateProperty(t, u) : this.pushClassProperty(t, l) : this.unexpected(); } parseClassElementName(t) { let { type: r, value: n } = this.state; if ((r === 132 || r === 133) && t.static && n === "prototype" && this.raise(_.StaticPrototype, this.state.startLoc), r === 138) { n === "constructor" && this.raise(_.ConstructorClassPrivateField, this.state.startLoc); let i = this.parsePrivateName(); return t.key = i, i; } return this.parsePropertyName(t), t.key; } parseClassStaticBlock(t, r) { var n; this.scope.enter(208); let i = this.state.labels; this.state.labels = [], this.prodParam.enter(0); let a = r.body = []; this.parseBlockOrModuleBlockBody(a, void 0, !1, 8), this.prodParam.exit(), this.scope.exit(), this.state.labels = i, t.body.push(this. finishNode(r, "StaticBlock")), (n = r.decorators) != null && n.length && this.raise(_.DecoratorStaticBlock, r); } pushClassProperty(t, r) { !r.computed && this.nameIsConstructor(r.key) && this.raise(_.ConstructorClassField, r.key), t.body.push(this.parseClassProperty(r)); } pushClassPrivateProperty(t, r) { let n = this.parseClassPrivateProperty(r); t.body.push(n), this.classScope.declarePrivateName(this.getPrivateNameSV(n.key), 0, n.key.loc.start); } pushClassAccessorProperty(t, r, n) { !n && !r.computed && this.nameIsConstructor(r.key) && this.raise(_.ConstructorClassField, r.key); let i = this.parseClassAccessorProperty(r); t.body.push(i), n && this.classScope.declarePrivateName(this.getPrivateNameSV(i.key), 0, i.key.loc.start); } pushClassMethod(t, r, n, i, a, o) { t.body.push(this.parseMethod(r, n, i, a, o, "ClassMethod", !0)); } pushClassPrivateMethod(t, r, n, i) { let a = this.parseMethod(r, n, i, !1, !1, "ClassPrivateMethod", !0); t.body.push(a); let o = a.kind === "get" ? a.static ? 6 : 2 : a.kind === "set" ? a.static ? 5 : 1 : 0; this.declareClassPrivateMethodInScope(a, o); } declareClassPrivateMethodInScope(t, r) { this.classScope.declarePrivateName(this.getPrivateNameSV(t.key), r, t.key.loc.start); } parsePostMemberNameModifiers(t) { } parseClassPrivateProperty(t) { return this.parseInitializer(t), this.semicolon(), this.finishNode(t, "ClassPrivateProperty"); } parseClassProperty(t) { return this.parseInitializer(t), this.semicolon(), this.finishNode(t, "ClassProperty"); } parseClassAccessorProperty(t) { return this.parseInitializer(t), this.semicolon(), this.finishNode(t, "ClassAccessorProperty"); } parseInitializer(t) { this.scope.enter(80), this.expressionScope.enter(hT()), this.prodParam.enter(0), t.value = this.eat(29) ? this.parseMaybeAssignAllowIn() : null, this.expressionScope.exit(), this.prodParam.exit(), this.scope.exit(); } parseClassId(t, r, n, i = 8331) { if (et(this.state.type)) t.id = this.parseIdentifier(), r && this.declareNameFromIdentifier(t.id, i); else if (n || !r) t.id = null; else throw this.raise(_.MissingClassName, this.state.startLoc); } parseClassSuper(t) { t.superClass = this.eat(81) ? this.parseExprSubscripts() : null; } parseExport(t, r) { let n = this.parseMaybeImportPhase(t, !0), i = this.maybeParseExportDefaultSpecifier(t, n), a = !i || this.eat(12), o = a && this.eatExportStar( t), l = o && this.maybeParseExportNamespaceSpecifier(t), u = a && (!l || this.eat(12)), c = i || o; if (o && !l) { if (i && this.unexpected(), r) throw this.raise(_.UnsupportedDecoratorExport, t); return this.parseExportFrom(t, !0), this.finishNode(t, "ExportAllDeclaration"); } let f = this.maybeParseExportNamedSpecifiers(t); i && a && !o && !f && this.unexpected(null, 5), l && u && this.unexpected(null, 98); let p; if (c || f) { if (p = !1, r) throw this.raise(_.UnsupportedDecoratorExport, t); this.parseExportFrom(t, c); } else p = this.maybeParseExportDeclaration(t); if (c || f || p) { var h; let y = t; if (this.checkExport(y, !0, !1, !!y.source), ((h = y.declaration) == null ? void 0 : h.type) === "ClassDeclaration") this.maybeTakeDecorators(r, y.declaration, y); else if (r) throw this.raise(_.UnsupportedDecoratorExport, t); return this.finishNode(y, "ExportNamedDeclaration"); } if (this.eat(65)) { let y = t, v = this.parseExportDefaultExpression(); if (y.declaration = v, v.type === "ClassDeclaration") this.maybeTakeDecorators(r, v, y); else if (r) throw this.raise(_.UnsupportedDecoratorExport, t); return this.checkExport(y, !0, !0), this.finishNode(y, "ExportDefaultDeclaration"); } this.unexpected(null, 5); } eatExportStar(t) { return this.eat(55); } maybeParseExportDefaultSpecifier(t, r) { if (r || this.isExportDefaultSpecifier()) { this.expectPlugin("exportDefaultFrom", r?.loc.start); let n = r || this.parseIdentifier(!0), i = this.startNodeAtNode(n); return i.exported = n, t.specifiers = [this.finishNode(i, "ExportDefaultSpecifier")], !0; } return !1; } maybeParseExportNamespaceSpecifier(t) { if (this.isContextual(93)) { var r, n; (n = (r = t).specifiers) != null || (r.specifiers = []); let i = this.startNodeAt(this.state.lastTokStartLoc); return this.next(), i.exported = this.parseModuleExportName(), t.specifiers.push(this.finishNode(i, "ExportNamespaceSpecifier")), !0; } return !1; } maybeParseExportNamedSpecifiers(t) { if (this.match(5)) { let r = t; r.specifiers || (r.specifiers = []); let n = r.exportKind === "type"; return r.specifiers.push(...this.parseExportSpecifiers(n)), r.source = null, r.declaration = null, this.hasPlugin("importAssertions") && (r.assertions = []), !0; } return !1; } maybeParseExportDeclaration(t) { return this.shouldParseExportDeclaration() ? (t.specifiers = [], t.source = null, this.hasPlugin("importAssertions") && (t.assertions = []), t.declaration = this.parseExportDeclaration(t), !0) : !1; } isAsyncFunction() { if (!this.isContextual(95)) return !1; let t = this.nextTokenInLineStart(); return this.isUnparsedContextual(t, "function"); } parseExportDefaultExpression() { let t = this.startNode(); if (this.match(68)) return this.next(), this.parseFunction(t, 5); if (this.isAsyncFunction()) return this.next(), this.next(), this.parseFunction(t, 13); if (this.match(80)) return this.parseClass(t, !0, !0); if (this.match(26)) return this.hasPlugin("decorators") && this.getPluginOption("decorators", "decoratorsBeforeExport") === !0 && this.raise(_.DecoratorBeforeExport, this.state.startLoc), this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1), this.startNode()), !0, !0); if (this.match(75) || this.match(74) || this.isLet()) throw this.raise(_.UnsupportedDefaultExport, this.state.startLoc); let r = this.parseMaybeAssignAllowIn(); return this.semicolon(), r; } parseExportDeclaration(t) { return this.match(80) ? this.parseClass(this.startNode(), !0, !1) : this.parseStatementListItem(); } isExportDefaultSpecifier() { let { type: t } = this.state; if (et(t)) { if (t === 95 && !this.state.containsEsc || t === 100) return !1; if ((t === 130 || t === 129) && !this.state.containsEsc) { let { type: i } = this.lookahead(); if (et(i) && i !== 98 || i === 5) return this.expectOnePlugin(["flow", "typescript"]), !1; } } else if (!this.match(65)) return !1; let r = this.nextTokenStart(), n = this.isUnparsedContextual(r, "from"); if (this.input.charCodeAt(r) === 44 || et(this.state.type) && n) return !0; if (this.match(65) && n) { let i = this.input.charCodeAt(this.nextTokenStartSince(r + 4)); return i === 34 || i === 39; } return !1; } parseExportFrom(t, r) { this.eatContextual(98) ? (t.source = this.parseImportSource(), this.checkExport(t), this.maybeParseImportAttributes(t), this.checkJSONModuleImport( t)) : r && this.unexpected(), this.semicolon(); } shouldParseExportDeclaration() { let { type: t } = this.state; return t === 26 && (this.expectOnePlugin(["decorators", "decorators-legacy"]), this.hasPlugin("decorators")) ? (this.getPluginOption("\ decorators", "decoratorsBeforeExport") === !0 && this.raise(_.DecoratorBeforeExport, this.state.startLoc), !0) : this.isContextual(107) ? (this. raise(_.UsingDeclarationExport, this.state.startLoc), !0) : this.isContextual(96) && this.startsAwaitUsing() ? (this.raise(_.UsingDeclarationExport, this.state.startLoc), !0) : t === 74 || t === 75 || t === 68 || t === 80 || this.isLet() || this.isAsyncFunction(); } checkExport(t, r, n, i) { if (r) { var a; if (n) { if (this.checkDuplicateExports(t, "default"), this.hasPlugin("exportDefaultFrom")) { var o; let l = t.declaration; l.type === "Identifier" && l.name === "from" && l.end - l.start === 4 && !((o = l.extra) != null && o.parenthesized) && this.raise( _.ExportDefaultFromAsIdentifier, l); } } else if ((a = t.specifiers) != null && a.length) for (let l of t.specifiers) { let { exported: u } = l, c = u.type === "Identifier" ? u.name : u.value; if (this.checkDuplicateExports(l, c), !i && l.local) { let { local: f } = l; f.type !== "Identifier" ? this.raise(_.ExportBindingIsString, l, { localName: f.value, exportName: c }) : (this.checkReservedWord(f.name, f.loc.start, !0, !1), this.scope.checkLocalExport(f)); } } else if (t.declaration) { let l = t.declaration; if (l.type === "FunctionDeclaration" || l.type === "ClassDeclaration") { let { id: u } = l; if (!u) throw new Error("Assertion failure"); this.checkDuplicateExports(t, u.name); } else if (l.type === "VariableDeclaration") for (let u of l.declarations) this.checkDeclaration(u.id); } } } checkDeclaration(t) { if (t.type === "Identifier") this.checkDuplicateExports(t, t.name); else if (t.type === "ObjectPattern") for (let r of t.properties) this.checkDeclaration(r); else if (t.type === "ArrayPattern") for (let r of t.elements) r && this.checkDeclaration(r); else t.type === "ObjectProperty" ? this.checkDeclaration(t.value) : t.type === "RestElement" ? this.checkDeclaration(t.argument) : t.type === "AssignmentPattern" && this.checkDeclaration(t.left); } checkDuplicateExports(t, r) { this.exportedIdentifiers.has(r) && (r === "default" ? this.raise(_.DuplicateDefaultExport, t) : this.raise(_.DuplicateExport, t, { exportName: r })), this.exportedIdentifiers.add(r); } parseExportSpecifiers(t) { let r = [], n = !0; for (this.expect(5); !this.eat(8); ) { if (n) n = !1; else if (this.expect(12), this.eat(8)) break; let i = this.isContextual(130), a = this.match(133), o = this.startNode(); o.local = this.parseModuleExportName(), r.push(this.parseExportSpecifier(o, a, t, i)); } return r; } parseExportSpecifier(t, r, n, i) { return this.eatContextual(93) ? t.exported = this.parseModuleExportName() : r ? t.exported = vG(t.local) : t.exported || (t.exported = In(t.local)), this.finishNode(t, "ExportSpecifier"); } parseModuleExportName() { if (this.match(133)) { let t = this.parseStringLiteral(this.state.value), r = VG.exec(t.value); return r && this.raise(_.ModuleExportNameHasLoneSurrogate, t, { surrogateCharCode: r[0].charCodeAt(0) }), t; } return this.parseIdentifier(!0); } isJSONModuleImport(t) { return t.assertions != null ? t.assertions.some(({ key: r, value: n }) => n.value === "json" && (r.type === "Identifier" ? r.name === "type" : r.value === "type")) : !1; } checkImportReflection(t) { let { specifiers: r } = t, n = r.length === 1 ? r[0].type : null; if (t.phase === "source") n !== "ImportDefaultSpecifier" && this.raise(_.SourcePhaseImportRequiresDefault, r[0].loc.start); else if (t.phase === "defer") n !== "ImportNamespaceSpecifier" && this.raise(_.DeferImportRequiresNamespace, r[0].loc.start); else if (t.module) { var i; n !== "ImportDefaultSpecifier" && this.raise(_.ImportReflectionNotBinding, r[0].loc.start), ((i = t.assertions) == null ? void 0 : i. length) > 0 && this.raise(_.ImportReflectionHasAssertion, r[0].loc.start); } } checkJSONModuleImport(t) { if (this.isJSONModuleImport(t) && t.type !== "ExportAllDeclaration") { let { specifiers: r } = t; if (r != null) { let n = r.find((i) => { let a; if (i.type === "ExportSpecifier" ? a = i.local : i.type === "ImportSpecifier" && (a = i.imported), a !== void 0) return a.type === "Identifier" ? a.name !== "default" : a.value !== "default"; }); n !== void 0 && this.raise(_.ImportJSONBindingNotDefault, n.loc.start); } } } isPotentialImportPhase(t) { return t ? !1 : this.isContextual(105) || this.isContextual(97) || this.isContextual(127); } applyImportPhase(t, r, n, i) { r || (n === "module" ? (this.expectPlugin("importReflection", i), t.module = !0) : this.hasPlugin("importReflection") && (t.module = !1), n === "source" ? (this.expectPlugin("sourcePhaseImports", i), t.phase = "source") : n === "defer" ? (this.expectPlugin("deferredImport\ Evaluation", i), t.phase = "defer") : this.hasPlugin("sourcePhaseImports") && (t.phase = null)); } parseMaybeImportPhase(t, r) { if (!this.isPotentialImportPhase(r)) return this.applyImportPhase(t, r, null), null; let n = this.parseIdentifier(!0), { type: i } = this.state; return ($r(i) ? i !== 98 || this.lookaheadCharCode() === 102 : i !== 12) ? (this.resetPreviousIdentifierLeadingComments(n), this.applyImportPhase( t, r, n.name, n.loc.start), null) : (this.applyImportPhase(t, r, null), n); } isPrecedingIdImportPhase(t) { let { type: r } = this.state; return et(r) ? r !== 98 || this.lookaheadCharCode() === 102 : r !== 12; } parseImport(t) { return this.match(133) ? this.parseImportSourceAndAttributes(t) : this.parseImportSpecifiersAndAfter(t, this.parseMaybeImportPhase(t, !1)); } parseImportSpecifiersAndAfter(t, r) { t.specifiers = []; let i = !this.maybeParseDefaultImportSpecifier(t, r) || this.eat(12), a = i && this.maybeParseStarImportSpecifier(t); return i && !a && this.parseNamedImportSpecifiers(t), this.expectContextual(98), this.parseImportSourceAndAttributes(t); } parseImportSourceAndAttributes(t) { var r; return (r = t.specifiers) != null || (t.specifiers = []), t.source = this.parseImportSource(), this.maybeParseImportAttributes(t), this. checkImportReflection(t), this.checkJSONModuleImport(t), this.semicolon(), this.finishNode(t, "ImportDeclaration"); } parseImportSource() { return this.match(133) || this.unexpected(), this.parseExprAtom(); } parseImportSpecifierLocal(t, r, n) { r.local = this.parseIdentifier(), t.specifiers.push(this.finishImportSpecifier(r, n)); } finishImportSpecifier(t, r, n = 8201) { return this.checkLVal(t.local, { type: r }, n), this.finishNode(t, r); } parseImportAttributes() { this.expect(5); let t = [], r = /* @__PURE__ */ new Set(); do { if (this.match(8)) break; let n = this.startNode(), i = this.state.value; if (r.has(i) && this.raise(_.ModuleAttributesWithDuplicateKeys, this.state.startLoc, { key: i }), r.add(i), this.match(133) ? n.key = this.parseStringLiteral(i) : n.key = this.parseIdentifier(!0), this.expect(14), !this.match( 133)) throw this.raise(_.ModuleAttributeInvalidValue, this.state.startLoc); n.value = this.parseStringLiteral(this.state.value), t.push(this.finishNode(n, "ImportAttribute")); } while (this.eat(12)); return this.expect(8), t; } parseModuleAttributes() { let t = [], r = /* @__PURE__ */ new Set(); do { let n = this.startNode(); if (n.key = this.parseIdentifier(!0), n.key.name !== "type" && this.raise(_.ModuleAttributeDifferentFromType, n.key), r.has(n.key.name) && this.raise(_.ModuleAttributesWithDuplicateKeys, n.key, { key: n.key.name }), r.add(n.key.name), this.expect(14), !this.match(133)) throw this.raise(_.ModuleAttributeInvalidValue, this.state.startLoc); n.value = this.parseStringLiteral(this.state.value), t.push(this.finishNode(n, "ImportAttribute")); } while (this.eat(12)); return t; } maybeParseImportAttributes(t) { let r, n = !1; if (this.match(76)) { if (this.hasPrecedingLineBreak() && this.lookaheadCharCode() === 40) return; this.next(), this.hasPlugin("moduleAttributes") ? r = this.parseModuleAttributes() : (this.expectImportAttributesPlugin(), r = this. parseImportAttributes()), n = !0; } else if (this.isContextual(94) && !this.hasPrecedingLineBreak()) this.hasPlugin("importAttributes") ? (this.getPluginOption("importAttributes", "deprecatedAssertSyntax") !== !0 && this.raise(_.ImportAttributesUseAssert, this.state.startLoc), this.addExtra(t, "deprecatedAssertSyntax", !0)) : this.expectOnePlugin(["importAttributes", "importAssertions"]), this.next(), r = this.parseImportAttributes(); else if (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) r = []; else if (this.hasPlugin("moduleAttributes")) r = []; else return; !n && this.hasPlugin("importAssertions") ? t.assertions = r : t.attributes = r; } maybeParseDefaultImportSpecifier(t, r) { if (r) { let n = this.startNodeAtNode(r); return n.local = r, t.specifiers.push(this.finishImportSpecifier(n, "ImportDefaultSpecifier")), !0; } else if ($r(this.state.type)) return this.parseImportSpecifierLocal(t, this.startNode(), "ImportDefaultSpecifier"), !0; return !1; } maybeParseStarImportSpecifier(t) { if (this.match(55)) { let r = this.startNode(); return this.next(), this.expectContextual(93), this.parseImportSpecifierLocal(t, r, "ImportNamespaceSpecifier"), !0; } return !1; } parseNamedImportSpecifiers(t) { let r = !0; for (this.expect(5); !this.eat(8); ) { if (r) r = !1; else { if (this.eat(14)) throw this.raise(_.DestructureNamedImport, this.state.startLoc); if (this.expect(12), this.eat(8)) break; } let n = this.startNode(), i = this.match(133), a = this.isContextual(130); n.imported = this.parseModuleExportName(); let o = this.parseImportSpecifier(n, i, t.importKind === "type" || t.importKind === "typeof", a, void 0); t.specifiers.push(o); } } parseImportSpecifier(t, r, n, i, a) { if (this.eatContextual(93)) t.local = this.parseIdentifier(); else { let { imported: o } = t; if (r) throw this.raise(_.ImportBindingIsString, t, { importName: o.value }); this.checkReservedWord(o.name, t.loc.start, !0, !0), t.local || (t.local = In(o)); } return this.finishImportSpecifier(t, "ImportSpecifier", a); } isThisParam(t) { return t.type === "Identifier" && t.name === "this"; } }, Wl = class extends wh { static { s(this, "Parser"); } constructor(t, r, n) { t = qG(t), super(t, r), this.options = t, this.initializeScopes(), this.plugins = n, this.filename = t.sourceFilename; } getScopeHandler() { return za; } parse() { this.enterInitialScopes(); let t = this.startNode(), r = this.startNode(); return this.nextToken(), t.errors = null, this.parseTopLevel(t, r), t.errors = this.state.errors, t.comments.length = this.state.commentsLen, t; } }; function WG(e, t) { var r; if (((r = t) == null ? void 0 : r.sourceType) === "unambiguous") { t = Object.assign({}, t); try { t.sourceType = "module"; let n = Ga(t, e), i = n.parse(); if (n.sawUnambiguousESM) return i; if (n.ambiguousScriptDifferentAst) try { return t.sourceType = "script", Ga(t, e).parse(); } catch { } else i.program.sourceType = "script"; return i; } catch (n) { try { return t.sourceType = "script", Ga(t, e).parse(); } catch { } throw n; } } else return Ga(t, e).parse(); } s(WG, "parse"); function KG(e, t) { let r = Ga(t, e); return r.options.strictMode && (r.state.strict = !0), r.getExpression(); } s(KG, "parseExpression"); function GG(e) { let t = {}; for (let r of Object.keys(e)) t[r] = An(e[r]); return t; } s(GG, "generateExportedTokenTypes"); var HG = GG(VK); function Ga(e, t) { let r = Wl, n = /* @__PURE__ */ new Map(); if (e != null && e.plugins) { for (let i of e.plugins) { let a, o; typeof i == "string" ? a = i : [a, o] = i, n.has(a) || n.set(a, o || {}); } MG(n), r = YG(n); } return new r(e, t, n); } s(Ga, "getParser"); var nT = /* @__PURE__ */ new Map(); function YG(e) { let t = []; for (let i of RG) e.has(i) && t.push(i); let r = t.join("|"), n = nT.get(r); if (!n) { n = Wl; for (let i of t) n = bT[i](n); nT.set(r, n); } return n; } s(YG, "getParserClass"); Xa.parse = WG; Xa.parseExpression = KG; Xa.tokTypes = HG; }); // ../node_modules/js-tokens/index.js var ET = T((Kl) => { Object.defineProperty(Kl, "__esModule", { value: !0 }); Kl.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; Kl.matchToToken = function(e) { var t = { type: "invalid", value: e[0], closed: void 0 }; return e[1] ? (t.type = "string", t.closed = !!(e[3] || e[4])) : e[5] ? t.type = "comment" : e[6] ? (t.type = "comment", t.closed = !!e[7]) : e[8] ? t.type = "regex" : e[9] ? t.type = "number" : e[10] ? t.type = "name" : e[11] ? t.type = "punctuator" : e[12] && (t.type = "white\ space"), t; }; }); // ../node_modules/picocolors/picocolors.js var Rh = T((YSe, Mh) => { var vT = process.argv || [], Gl = process.env, zG = !("NO_COLOR" in Gl || vT.includes("--no-color")) && ("FORCE_COLOR" in Gl || vT.includes( "--color") || process.platform === "win32" || require != null && require("tty").isatty(1) && Gl.TERM !== "dumb" || "CI" in Gl), JG = /* @__PURE__ */ s( (e, t, r = e) => (n) => { let i = "" + n, a = i.indexOf(t, e.length); return ~a ? e + XG(i, t, r, a) + t : e + i + t; }, "formatter"), XG = /* @__PURE__ */ s((e, t, r, n) => { let i = "", a = 0; do i += e.substring(a, n) + r, a = n + t.length, n = e.indexOf(t, a); while (~n); return i + e.substring(a); }, "replaceClose"), TT = /* @__PURE__ */ s((e = zG) => { let t = e ? JG : () => String; return { isColorSupported: e, reset: t("\x1B[0m", "\x1B[0m"), bold: t("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"), dim: t("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"), italic: t("\x1B[3m", "\x1B[23m"), underline: t("\x1B[4m", "\x1B[24m"), inverse: t("\x1B[7m", "\x1B[27m"), hidden: t("\x1B[8m", "\x1B[28m"), strikethrough: t("\x1B[9m", "\x1B[29m"), black: t("\x1B[30m", "\x1B[39m"), red: t("\x1B[31m", "\x1B[39m"), green: t("\x1B[32m", "\x1B[39m"), yellow: t("\x1B[33m", "\x1B[39m"), blue: t("\x1B[34m", "\x1B[39m"), magenta: t("\x1B[35m", "\x1B[39m"), cyan: t("\x1B[36m", "\x1B[39m"), white: t("\x1B[37m", "\x1B[39m"), gray: t("\x1B[90m", "\x1B[39m"), bgBlack: t("\x1B[40m", "\x1B[49m"), bgRed: t("\x1B[41m", "\x1B[49m"), bgGreen: t("\x1B[42m", "\x1B[49m"), bgYellow: t("\x1B[43m", "\x1B[49m"), bgBlue: t("\x1B[44m", "\x1B[49m"), bgMagenta: t("\x1B[45m", "\x1B[49m"), bgCyan: t("\x1B[46m", "\x1B[49m"), bgWhite: t("\x1B[47m", "\x1B[49m"), blackBright: t("\x1B[90m", "\x1B[39m"), redBright: t("\x1B[91m", "\x1B[39m"), greenBright: t("\x1B[92m", "\x1B[39m"), yellowBright: t("\x1B[93m", "\x1B[39m"), blueBright: t("\x1B[94m", "\x1B[39m"), magentaBright: t("\x1B[95m", "\x1B[39m"), cyanBright: t("\x1B[96m", "\x1B[39m"), whiteBright: t("\x1B[97m", "\x1B[39m"), bgBlackBright: t("\x1B[100m", "\x1B[49m"), bgRedBright: t("\x1B[101m", "\x1B[49m"), bgGreenBright: t("\x1B[102m", "\x1B[49m"), bgYellowBright: t("\x1B[103m", "\x1B[49m"), bgBlueBright: t("\x1B[104m", "\x1B[49m"), bgMagentaBright: t("\x1B[105m", "\x1B[49m"), bgCyanBright: t("\x1B[106m", "\x1B[49m"), bgWhiteBright: t("\x1B[107m", "\x1B[49m") }; }, "createColors"); Mh.exports = TT(); Mh.exports.createColors = TT; }); // ../node_modules/escape-string-regexp/index.js var ST = T((JSe, xT) => { "use strict"; var QG = /[|\\{}()[\]^$+*?.]/g; xT.exports = function(e) { if (typeof e != "string") throw new TypeError("Expected a string"); return e.replace(QG, "\\$&"); }; }); // ../node_modules/@babel/highlight/node_modules/color-name/index.js var AT = T((XSe, PT) => { "use strict"; PT.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] }; }); // ../node_modules/@babel/highlight/node_modules/color-convert/conversions.js var qh = T((QSe, IT) => { var Ls = AT(), DT = {}; for (Hl in Ls) Ls.hasOwnProperty(Hl) && (DT[Ls[Hl]] = Hl); var Hl, be = IT.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 (ar in be) if (be.hasOwnProperty(ar)) { if (!("channels" in be[ar])) throw new Error("missing channels property: " + ar); if (!("labels" in be[ar])) throw new Error("missing channel labels property: " + ar); if (be[ar].labels.length !== be[ar].channels) throw new Error("channel and label counts mismatch: " + ar); CT = be[ar].channels, wT = be[ar].labels, delete be[ar].channels, delete be[ar].labels, Object.defineProperty(be[ar], "channels", { value: CT }), Object.defineProperty(be[ar], "labels", { value: wT }); } var CT, wT, ar; be.rgb.hsl = function(e) { var t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, i = Math.min(t, r, n), a = Math.max(t, r, n), o = a - i, l, u, c; return a === i ? l = 0 : t === a ? l = (r - n) / o : r === a ? l = 2 + (n - t) / o : n === a && (l = 4 + (t - r) / o), l = Math.min(l * 60, 360), l < 0 && (l += 360), c = (i + a) / 2, a === i ? u = 0 : c <= 0.5 ? u = o / (a + i) : u = o / (2 - a - i), [l, u * 100, c * 100]; }; be.rgb.hsv = function(e) { var t, r, n, i, a, o = e[0] / 255, l = e[1] / 255, u = e[2] / 255, c = Math.max(o, l, u), f = c - Math.min(o, l, u), p = /* @__PURE__ */ s( function(h) { return (c - h) / 6 / f + 1 / 2; }, "diffc"); return f === 0 ? i = a = 0 : (a = f / c, t = p(o), r = p(l), n = p(u), o === c ? i = n - r : l === c ? i = 1 / 3 + t - n : u === c && (i = 2 / 3 + r - t), i < 0 ? i += 1 : i > 1 && (i -= 1)), [ i * 360, a * 100, c * 100 ]; }; be.rgb.hwb = function(e) { var t = e[0], r = e[1], n = e[2], i = be.rgb.hsl(e)[0], a = 1 / 255 * Math.min(t, Math.min(r, n)); return n = 1 - 1 / 255 * Math.max(t, Math.max(r, n)), [i, a * 100, n * 100]; }; be.rgb.cmyk = function(e) { var t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, i, a, o, l; return l = Math.min(1 - t, 1 - r, 1 - n), i = (1 - t - l) / (1 - l) || 0, a = (1 - r - l) / (1 - l) || 0, o = (1 - n - l) / (1 - l) || 0, [i * 100, a * 100, o * 100, l * 100]; }; function ZG(e, t) { return Math.pow(e[0] - t[0], 2) + Math.pow(e[1] - t[1], 2) + Math.pow(e[2] - t[2], 2); } s(ZG, "comparativeDistance"); be.rgb.keyword = function(e) { var t = DT[e]; if (t) return t; var r = 1 / 0, n; for (var i in Ls) if (Ls.hasOwnProperty(i)) { var a = Ls[i], o = ZG(e, a); o < r && (r = o, n = i); } return n; }; be.keyword.rgb = function(e) { return Ls[e]; }; be.rgb.xyz = function(e) { var t = e[0] / 255, r = e[1] / 255, n = e[2] / 255; t = t > 0.04045 ? Math.pow((t + 0.055) / 1.055, 2.4) : t / 12.92, r = r > 0.04045 ? Math.pow((r + 0.055) / 1.055, 2.4) : r / 12.92, n = n > 0.04045 ? Math.pow((n + 0.055) / 1.055, 2.4) : n / 12.92; var i = t * 0.4124 + r * 0.3576 + n * 0.1805, a = t * 0.2126 + r * 0.7152 + n * 0.0722, o = t * 0.0193 + r * 0.1192 + n * 0.9505; return [i * 100, a * 100, o * 100]; }; be.rgb.lab = function(e) { var t = be.rgb.xyz(e), r = t[0], n = t[1], i = t[2], a, o, l; return r /= 95.047, n /= 100, i /= 108.883, r = r > 8856e-6 ? Math.pow(r, 1 / 3) : 7.787 * r + 16 / 116, n = n > 8856e-6 ? Math.pow(n, 1 / 3) : 7.787 * n + 16 / 116, i = i > 8856e-6 ? Math.pow(i, 1 / 3) : 7.787 * i + 16 / 116, a = 116 * n - 16, o = 500 * (r - n), l = 200 * (n - i), [a, o, l]; }; be.hsl.rgb = function(e) { var t = e[0] / 360, r = e[1] / 100, n = e[2] / 100, i, a, o, l, u; if (r === 0) return u = n * 255, [u, u, u]; n < 0.5 ? a = n * (1 + r) : a = n + r - n * r, i = 2 * n - a, l = [0, 0, 0]; for (var c = 0; c < 3; c++) o = t + 1 / 3 * -(c - 1), o < 0 && o++, o > 1 && o--, 6 * o < 1 ? u = i + (a - i) * 6 * o : 2 * o < 1 ? u = a : 3 * o < 2 ? u = i + (a - i) * (2 / 3 - o) * 6 : u = i, l[c] = u * 255; return l; }; be.hsl.hsv = function(e) { var t = e[0], r = e[1] / 100, n = e[2] / 100, i = r, a = Math.max(n, 0.01), o, l; return n *= 2, r *= n <= 1 ? n : 2 - n, i *= a <= 1 ? a : 2 - a, l = (n + r) / 2, o = n === 0 ? 2 * i / (a + i) : 2 * r / (n + r), [t, o * 100, l * 100]; }; be.hsv.rgb = function(e) { var t = e[0] / 60, r = e[1] / 100, n = e[2] / 100, i = Math.floor(t) % 6, a = t - Math.floor(t), o = 255 * n * (1 - r), l = 255 * n * (1 - r * a), u = 255 * n * (1 - r * (1 - a)); switch (n *= 255, i) { case 0: return [n, u, o]; case 1: return [l, n, o]; case 2: return [o, n, u]; case 3: return [o, l, n]; case 4: return [u, o, n]; case 5: return [n, o, l]; } }; be.hsv.hsl = function(e) { var t = e[0], r = e[1] / 100, n = e[2] / 100, i = Math.max(n, 0.01), a, o, l; return l = (2 - r) * n, a = (2 - r) * i, o = r * i, o /= a <= 1 ? a : 2 - a, o = o || 0, l /= 2, [t, o * 100, l * 100]; }; be.hwb.rgb = function(e) { var t = e[0] / 360, r = e[1] / 100, n = e[2] / 100, i = r + n, a, o, l, u; i > 1 && (r /= i, n /= i), a = Math.floor(6 * t), o = 1 - n, l = 6 * t - a, a & 1 && (l = 1 - l), u = r + l * (o - r); var c, f, p; switch (a) { default: case 6: case 0: c = o, f = u, p = r; break; case 1: c = u, f = o, p = r; break; case 2: c = r, f = o, p = u; break; case 3: c = r, f = u, p = o; break; case 4: c = u, f = r, p = o; break; case 5: c = o, f = r, p = u; break; } return [c * 255, f * 255, p * 255]; }; be.cmyk.rgb = function(e) { var t = e[0] / 100, r = e[1] / 100, n = e[2] / 100, i = e[3] / 100, a, o, l; return a = 1 - Math.min(1, t * (1 - i) + i), o = 1 - Math.min(1, r * (1 - i) + i), l = 1 - Math.min(1, n * (1 - i) + i), [a * 255, o * 255, l * 255]; }; be.xyz.rgb = function(e) { var t = e[0] / 100, r = e[1] / 100, n = e[2] / 100, i, a, o; return i = t * 3.2406 + r * -1.5372 + n * -0.4986, a = t * -0.9689 + r * 1.8758 + n * 0.0415, o = t * 0.0557 + r * -0.204 + n * 1.057, i = i > 31308e-7 ? 1.055 * Math.pow(i, 1 / 2.4) - 0.055 : i * 12.92, a = a > 31308e-7 ? 1.055 * Math.pow(a, 1 / 2.4) - 0.055 : a * 12.92, o = o > 31308e-7 ? 1.055 * Math.pow(o, 1 / 2.4) - 0.055 : o * 12.92, i = Math.min(Math.max(0, i), 1), a = Math.min(Math.max(0, a), 1), o = Math. min(Math.max(0, o), 1), [i * 255, a * 255, o * 255]; }; be.xyz.lab = function(e) { var t = e[0], r = e[1], n = e[2], i, a, o; return t /= 95.047, r /= 100, n /= 108.883, t = t > 8856e-6 ? Math.pow(t, 1 / 3) : 7.787 * t + 16 / 116, r = r > 8856e-6 ? Math.pow(r, 1 / 3) : 7.787 * r + 16 / 116, n = n > 8856e-6 ? Math.pow(n, 1 / 3) : 7.787 * n + 16 / 116, i = 116 * r - 16, a = 500 * (t - r), o = 200 * (r - n), [i, a, o]; }; be.lab.xyz = function(e) { var t = e[0], r = e[1], n = e[2], i, a, o; a = (t + 16) / 116, i = r / 500 + a, o = a - n / 200; var l = Math.pow(a, 3), u = Math.pow(i, 3), c = Math.pow(o, 3); return a = l > 8856e-6 ? l : (a - 16 / 116) / 7.787, i = u > 8856e-6 ? u : (i - 16 / 116) / 7.787, o = c > 8856e-6 ? c : (o - 16 / 116) / 7.787, i *= 95.047, a *= 100, o *= 108.883, [i, a, o]; }; be.lab.lch = function(e) { var t = e[0], r = e[1], n = e[2], i, a, o; return i = Math.atan2(n, r), a = i * 360 / 2 / Math.PI, a < 0 && (a += 360), o = Math.sqrt(r * r + n * n), [t, o, a]; }; be.lch.lab = function(e) { var t = e[0], r = e[1], n = e[2], i, a, o; return o = n / 360 * 2 * Math.PI, i = r * Math.cos(o), a = r * Math.sin(o), [t, i, a]; }; be.rgb.ansi16 = function(e) { var t = e[0], r = e[1], n = e[2], i = 1 in arguments ? arguments[1] : be.rgb.hsv(e)[2]; if (i = Math.round(i / 50), i === 0) return 30; var a = 30 + (Math.round(n / 255) << 2 | Math.round(r / 255) << 1 | Math.round(t / 255)); return i === 2 && (a += 60), a; }; be.hsv.ansi16 = function(e) { return be.rgb.ansi16(be.hsv.rgb(e), e[2]); }; be.rgb.ansi256 = function(e) { var t = e[0], r = e[1], n = e[2]; if (t === r && r === n) return t < 8 ? 16 : t > 248 ? 231 : Math.round((t - 8) / 247 * 24) + 232; var i = 16 + 36 * Math.round(t / 255 * 5) + 6 * Math.round(r / 255 * 5) + Math.round(n / 255 * 5); return i; }; be.ansi16.rgb = function(e) { var t = e % 10; if (t === 0 || t === 7) return e > 50 && (t += 3.5), t = t / 10.5 * 255, [t, t, t]; var r = (~~(e > 50) + 1) * 0.5, n = (t & 1) * r * 255, i = (t >> 1 & 1) * r * 255, a = (t >> 2 & 1) * r * 255; return [n, i, a]; }; be.ansi256.rgb = function(e) { if (e >= 232) { var t = (e - 232) * 10 + 8; return [t, t, t]; } e -= 16; var r, n = Math.floor(e / 36) / 5 * 255, i = Math.floor((r = e % 36) / 6) / 5 * 255, a = r % 6 / 5 * 255; return [n, i, a]; }; be.rgb.hex = function(e) { var t = ((Math.round(e[0]) & 255) << 16) + ((Math.round(e[1]) & 255) << 8) + (Math.round(e[2]) & 255), r = t.toString(16).toUpperCase(); return "000000".substring(r.length) + r; }; be.hex.rgb = function(e) { var t = e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); if (!t) return [0, 0, 0]; var r = t[0]; t[0].length === 3 && (r = r.split("").map(function(l) { return l + l; }).join("")); var n = parseInt(r, 16), i = n >> 16 & 255, a = n >> 8 & 255, o = n & 255; return [i, a, o]; }; be.rgb.hcg = function(e) { var t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, i = Math.max(Math.max(t, r), n), a = Math.min(Math.min(t, r), n), o = i - a, l, u; return o < 1 ? l = a / (1 - o) : l = 0, o <= 0 ? u = 0 : i === t ? u = (r - n) / o % 6 : i === r ? u = 2 + (n - t) / o : u = 4 + (t - r) / o + 4, u /= 6, u %= 1, [u * 360, o * 100, l * 100]; }; be.hsl.hcg = function(e) { var t = e[1] / 100, r = e[2] / 100, n = 1, i = 0; return r < 0.5 ? n = 2 * t * r : n = 2 * t * (1 - r), n < 1 && (i = (r - 0.5 * n) / (1 - n)), [e[0], n * 100, i * 100]; }; be.hsv.hcg = function(e) { var t = e[1] / 100, r = e[2] / 100, n = t * r, i = 0; return n < 1 && (i = (r - n) / (1 - n)), [e[0], n * 100, i * 100]; }; be.hcg.rgb = function(e) { var t = e[0] / 360, r = e[1] / 100, n = e[2] / 100; if (r === 0) return [n * 255, n * 255, n * 255]; var i = [0, 0, 0], a = t % 1 * 6, o = a % 1, l = 1 - o, u = 0; switch (Math.floor(a)) { case 0: i[0] = 1, i[1] = o, i[2] = 0; break; case 1: i[0] = l, i[1] = 1, i[2] = 0; break; case 2: i[0] = 0, i[1] = 1, i[2] = o; break; case 3: i[0] = 0, i[1] = l, i[2] = 1; break; case 4: i[0] = o, i[1] = 0, i[2] = 1; break; default: i[0] = 1, i[1] = 0, i[2] = l; } return u = (1 - r) * n, [ (r * i[0] + u) * 255, (r * i[1] + u) * 255, (r * i[2] + u) * 255 ]; }; be.hcg.hsv = function(e) { var t = e[1] / 100, r = e[2] / 100, n = t + r * (1 - t), i = 0; return n > 0 && (i = t / n), [e[0], i * 100, n * 100]; }; be.hcg.hsl = function(e) { var t = e[1] / 100, r = e[2] / 100, n = r * (1 - t) + 0.5 * t, i = 0; return n > 0 && n < 0.5 ? i = t / (2 * n) : n >= 0.5 && n < 1 && (i = t / (2 * (1 - n))), [e[0], i * 100, n * 100]; }; be.hcg.hwb = function(e) { var t = e[1] / 100, r = e[2] / 100, n = t + r * (1 - t); return [e[0], (n - t) * 100, (1 - n) * 100]; }; be.hwb.hcg = function(e) { var t = e[1] / 100, r = e[2] / 100, n = 1 - r, i = n - t, a = 0; return i < 1 && (a = (n - i) / (1 - i)), [e[0], i * 100, a * 100]; }; be.apple.rgb = function(e) { return [e[0] / 65535 * 255, e[1] / 65535 * 255, e[2] / 65535 * 255]; }; be.rgb.apple = function(e) { return [e[0] / 255 * 65535, e[1] / 255 * 65535, e[2] / 255 * 65535]; }; be.gray.rgb = function(e) { return [e[0] / 100 * 255, e[0] / 100 * 255, e[0] / 100 * 255]; }; be.gray.hsl = be.gray.hsv = function(e) { return [0, 0, e[0]]; }; be.gray.hwb = function(e) { return [0, 100, e[0]]; }; be.gray.cmyk = function(e) { return [0, 0, 0, e[0]]; }; be.gray.lab = function(e) { return [e[0], 0, 0]; }; be.gray.hex = function(e) { var t = Math.round(e[0] / 100 * 255) & 255, r = (t << 16) + (t << 8) + t, n = r.toString(16).toUpperCase(); return "000000".substring(n.length) + n; }; be.rgb.gray = function(e) { var t = (e[0] + e[1] + e[2]) / 3; return [t / 255 * 100]; }; }); // ../node_modules/@babel/highlight/node_modules/color-convert/route.js var OT = T((ePe, _T) => { var Yl = qh(); function eH() { for (var e = {}, t = Object.keys(Yl), r = t.length, n = 0; n < r; n++) e[t[n]] = { // http://jsperf.com/1-vs-infinity // micro-opt, but this is simple. distance: -1, parent: null }; return e; } s(eH, "buildGraph"); function tH(e) { var t = eH(), r = [e]; for (t[e].distance = 0; r.length; ) for (var n = r.pop(), i = Object.keys(Yl[n]), a = i.length, o = 0; o < a; o++) { var l = i[o], u = t[l]; u.distance === -1 && (u.distance = t[n].distance + 1, u.parent = n, r.unshift(l)); } return t; } s(tH, "deriveBFS"); function rH(e, t) { return function(r) { return t(e(r)); }; } s(rH, "link"); function nH(e, t) { for (var r = [t[e].parent, e], n = Yl[t[e].parent][e], i = t[e].parent; t[i].parent; ) r.unshift(t[i].parent), n = rH(Yl[t[i].parent][i], n), i = t[i].parent; return n.conversion = r, n; } s(nH, "wrapConversion"); _T.exports = function(e) { for (var t = tH(e), r = {}, n = Object.keys(t), i = n.length, a = 0; a < i; a++) { var o = n[a], l = t[o]; l.parent !== null && (r[o] = nH(o, t)); } return r; }; }); // ../node_modules/@babel/highlight/node_modules/color-convert/index.js var BT = T((rPe, NT) => { var Uh = qh(), sH = OT(), wi = {}, iH = Object.keys(Uh); function aH(e) { var t = /* @__PURE__ */ s(function(r) { return r == null ? r : (arguments.length > 1 && (r = Array.prototype.slice.call(arguments)), e(r)); }, "wrappedFn"); return "conversion" in e && (t.conversion = e.conversion), t; } s(aH, "wrapRaw"); function oH(e) { var t = /* @__PURE__ */ s(function(r) { if (r == null) return r; arguments.length > 1 && (r = Array.prototype.slice.call(arguments)); var n = e(r); if (typeof n == "object") for (var i = n.length, a = 0; a < i; a++) n[a] = Math.round(n[a]); return n; }, "wrappedFn"); return "conversion" in e && (t.conversion = e.conversion), t; } s(oH, "wrapRounded"); iH.forEach(function(e) { wi[e] = {}, Object.defineProperty(wi[e], "channels", { value: Uh[e].channels }), Object.defineProperty(wi[e], "labels", { value: Uh[e].labels }); var t = sH(e), r = Object.keys(t); r.forEach(function(n) { var i = t[n]; wi[e][n] = oH(i), wi[e][n].raw = aH(i); }); }); NT.exports = wi; }); // ../node_modules/@babel/highlight/node_modules/ansi-styles/index.js var FT = T((sPe, kT) => { "use strict"; var Di = BT(), zl = /* @__PURE__ */ s((e, t) => function() { return `\x1B[${e.apply(Di, arguments) + t}m`; }, "wrapAnsi16"), Jl = /* @__PURE__ */ s((e, t) => function() { let r = e.apply(Di, arguments); return `\x1B[${38 + t};5;${r}m`; }, "wrapAnsi256"), Xl = /* @__PURE__ */ s((e, t) => function() { let r = e.apply(Di, arguments); return `\x1B[${38 + t};2;${r[0]};${r[1]};${r[2]}m`; }, "wrapAnsi16m"); function lH() { let e = /* @__PURE__ */ new Map(), t = { modifier: { reset: [0, 0], // 21 isn't widely supported and 22 does the same thing 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], // Bright color 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], // Bright color bgBlackBright: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } }; t.color.grey = t.color.gray; for (let i of Object.keys(t)) { let a = t[i]; for (let o of Object.keys(a)) { let l = a[o]; t[o] = { open: `\x1B[${l[0]}m`, close: `\x1B[${l[1]}m` }, a[o] = t[o], e.set(l[0], l[1]); } Object.defineProperty(t, i, { value: a, enumerable: !1 }), Object.defineProperty(t, "codes", { value: e, enumerable: !1 }); } let r = /* @__PURE__ */ s((i) => i, "ansi2ansi"), n = /* @__PURE__ */ s((i, a, o) => [i, a, o], "rgb2rgb"); t.color.close = "\x1B[39m", t.bgColor.close = "\x1B[49m", t.color.ansi = { ansi: zl(r, 0) }, t.color.ansi256 = { ansi256: Jl(r, 0) }, t.color.ansi16m = { rgb: Xl(n, 0) }, t.bgColor.ansi = { ansi: zl(r, 10) }, t.bgColor.ansi256 = { ansi256: Jl(r, 10) }, t.bgColor.ansi16m = { rgb: Xl(n, 10) }; for (let i of Object.keys(Di)) { if (typeof Di[i] != "object") continue; let a = Di[i]; i === "ansi16" && (i = "ansi"), "ansi16" in a && (t.color.ansi[i] = zl(a.ansi16, 0), t.bgColor.ansi[i] = zl(a.ansi16, 10)), "ansi256" in a && (t.color.ansi256[i] = Jl(a.ansi256, 0), t.bgColor.ansi256[i] = Jl(a.ansi256, 10)), "rgb" in a && (t.color.ansi16m[i] = Xl(a.rgb, 0), t.bgColor.ansi16m[i] = Xl(a.rgb, 10)); } return t; } s(lH, "assembleStyles"); Object.defineProperty(kT, "exports", { enumerable: !0, get: lH }); }); // ../node_modules/@babel/highlight/node_modules/has-flag/index.js var LT = T((aPe, jT) => { "use strict"; jT.exports = (e, t) => { t = t || process.argv; let r = e.startsWith("-") ? "" : e.length === 1 ? "-" : "--", n = t.indexOf(r + e), i = t.indexOf("--"); return n !== -1 && (i === -1 ? !0 : n < i); }; }); // ../node_modules/@babel/highlight/node_modules/supports-color/index.js var RT = T((oPe, MT) => { "use strict"; var uH = require("os"), Wr = LT(), Ht = process.env, Ii; Wr("no-color") || Wr("no-colors") || Wr("color=false") ? Ii = !1 : (Wr("color") || Wr("colors") || Wr("color=true") || Wr("color=always")) && (Ii = !0); "FORCE_COLOR" in Ht && (Ii = Ht.FORCE_COLOR.length === 0 || parseInt(Ht.FORCE_COLOR, 10) !== 0); function cH(e) { return e === 0 ? !1 : { level: e, hasBasic: !0, has256: e >= 2, has16m: e >= 3 }; } s(cH, "translateLevel"); function fH(e) { if (Ii === !1) return 0; if (Wr("color=16m") || Wr("color=full") || Wr("color=truecolor")) return 3; if (Wr("color=256")) return 2; if (e && !e.isTTY && Ii !== !0) return 0; let t = Ii ? 1 : 0; if (process.platform === "win32") { let r = uH.release().split("."); return Number(process.versions.node.split(".")[0]) >= 8 && Number(r[0]) >= 10 && Number(r[2]) >= 10586 ? Number(r[2]) >= 14931 ? 3 : 2 : 1; } if ("CI" in Ht) return ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((r) => r in Ht) || Ht.CI_NAME === "codeship" ? 1 : t; if ("TEAMCITY_VERSION" in Ht) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ht.TEAMCITY_VERSION) ? 1 : 0; if (Ht.COLORTERM === "truecolor") return 3; if ("TERM_PROGRAM" in Ht) { let r = parseInt((Ht.TERM_PROGRAM_VERSION || "").split(".")[0], 10); switch (Ht.TERM_PROGRAM) { case "iTerm.app": return r >= 3 ? 3 : 2; case "Apple_Terminal": return 2; } } return /-256(color)?$/i.test(Ht.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ht.TERM) || "COLORTERM" in Ht ? 1 : (Ht.TERM === "dumb", t); } s(fH, "supportsColor"); function Vh(e) { let t = fH(e); return cH(t); } s(Vh, "getSupportLevel"); MT.exports = { supportsColor: Vh, stdout: Vh(process.stdout), stderr: Vh(process.stderr) }; }); // ../node_modules/@babel/highlight/node_modules/chalk/templates.js var WT = T((uPe, $T) => { "use strict"; var pH = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi, qT = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g, dH = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/, hH = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi, mH = /* @__PURE__ */ new Map( [ ["n", ` `], ["r", "\r"], ["t", " "], ["b", "\b"], ["f", "\f"], ["v", "\v"], ["0", "\0"], ["\\", "\\"], ["e", "\x1B"], ["a", "\x07"] ]); function VT(e) { return e[0] === "u" && e.length === 5 || e[0] === "x" && e.length === 3 ? String.fromCharCode(parseInt(e.slice(1), 16)) : mH.get(e) || e; } s(VT, "unescape"); function yH(e, t) { let r = [], n = t.trim().split(/\s*,\s*/g), i; for (let a of n) if (!isNaN(a)) r.push(Number(a)); else if (i = a.match(dH)) r.push(i[2].replace(hH, (o, l, u) => l ? VT(l) : u)); else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`); return r; } s(yH, "parseArguments"); function gH(e) { qT.lastIndex = 0; let t = [], r; for (; (r = qT.exec(e)) !== null; ) { let n = r[1]; if (r[2]) { let i = yH(n, r[2]); t.push([n].concat(i)); } else t.push([n]); } return t; } s(gH, "parseStyle"); function UT(e, t) { let r = {}; for (let i of t) for (let a of i.styles) r[a[0]] = i.inverse ? null : a.slice(1); let n = e; for (let i of Object.keys(r)) if (Array.isArray(r[i])) { if (!(i in n)) throw new Error(`Unknown Chalk style: ${i}`); r[i].length > 0 ? n = n[i].apply(n, r[i]) : n = n[i]; } return n; } s(UT, "buildStyle"); $T.exports = (e, t) => { let r = [], n = [], i = []; if (t.replace(pH, (a, o, l, u, c, f) => { if (o) i.push(VT(o)); else if (u) { let p = i.join(""); i = [], n.push(r.length === 0 ? p : UT(e, r)(p)), r.push({ inverse: l, styles: gH(u) }); } else if (c) { if (r.length === 0) throw new Error("Found extraneous } in Chalk template literal"); n.push(UT(e, r)(i.join(""))), i = [], r.pop(); } else i.push(f); }), n.push(i.join("")), r.length > 0) { let a = `Chalk template literal is missing ${r.length} closing bracket${r.length === 1 ? "" : "s"} (\`}\`)`; throw new Error(a); } return n.join(""); }; }); // ../node_modules/@babel/highlight/node_modules/chalk/index.js var zT = T((fPe, Za) => { "use strict"; var Wh = ST(), Dt = FT(), $h = RT().stdout, bH = WT(), GT = process.platform === "win32" && !(process.env.TERM || "").toLowerCase().startsWith( "xterm"), HT = ["ansi", "ansi", "ansi256", "ansi16m"], YT = /* @__PURE__ */ new Set(["gray"]), _i = /* @__PURE__ */ Object.create(null); function KT(e, t) { t = t || {}; let r = $h ? $h.level : 0; e.level = t.level === void 0 ? r : t.level, e.enabled = "enabled" in t ? t.enabled : e.level > 0; } s(KT, "applyOptions"); function Qa(e) { if (!this || !(this instanceof Qa) || this.template) { let t = {}; return KT(t, e), t.template = function() { let r = [].slice.call(arguments); return TH.apply(null, [t.template].concat(r)); }, Object.setPrototypeOf(t, Qa.prototype), Object.setPrototypeOf(t.template, t), t.template.constructor = Qa, t.template; } KT(this, e); } s(Qa, "Chalk"); GT && (Dt.blue.open = "\x1B[94m"); for (let e of Object.keys(Dt)) Dt[e].closeRe = new RegExp(Wh(Dt[e].close), "g"), _i[e] = { get() { let t = Dt[e]; return Ql.call(this, this._styles ? this._styles.concat(t) : [t], this._empty, e); } }; _i.visible = { get() { return Ql.call(this, this._styles || [], !0, "visible"); } }; Dt.color.closeRe = new RegExp(Wh(Dt.color.close), "g"); for (let e of Object.keys(Dt.color.ansi)) YT.has(e) || (_i[e] = { get() { let t = this.level; return function() { let n = { open: Dt.color[HT[t]][e].apply(null, arguments), close: Dt.color.close, closeRe: Dt.color.closeRe }; return Ql.call(this, this._styles ? this._styles.concat(n) : [n], this._empty, e); }; } }); Dt.bgColor.closeRe = new RegExp(Wh(Dt.bgColor.close), "g"); for (let e of Object.keys(Dt.bgColor.ansi)) { if (YT.has(e)) continue; let t = "bg" + e[0].toUpperCase() + e.slice(1); _i[t] = { get() { let r = this.level; return function() { let i = { open: Dt.bgColor[HT[r]][e].apply(null, arguments), close: Dt.bgColor.close, closeRe: Dt.bgColor.closeRe }; return Ql.call(this, this._styles ? this._styles.concat(i) : [i], this._empty, e); }; } }; } var EH = Object.defineProperties(() => { }, _i); function Ql(e, t, r) { let n = /* @__PURE__ */ s(function() { return vH.apply(n, arguments); }, "builder"); n._styles = e, n._empty = t; let i = this; return Object.defineProperty(n, "level", { enumerable: !0, get() { return i.level; }, set(a) { i.level = a; } }), Object.defineProperty(n, "enabled", { enumerable: !0, get() { return i.enabled; }, set(a) { i.enabled = a; } }), n.hasGrey = this.hasGrey || r === "gray" || r === "grey", n.__proto__ = EH, n; } s(Ql, "build"); function vH() { let e = arguments, t = e.length, r = String(arguments[0]); if (t === 0) return ""; if (t > 1) for (let i = 1; i < t; i++) r += " " + e[i]; if (!this.enabled || this.level <= 0 || !r) return this._empty ? "" : r; let n = Dt.dim.open; GT && this.hasGrey && (Dt.dim.open = ""); for (let i of this._styles.slice().reverse()) r = i.open + r.replace(i.closeRe, i.open) + i.close, r = r.replace(/\r?\n/g, `${i.close}$&${i.open}`); return Dt.dim.open = n, r; } s(vH, "applyStyle"); function TH(e, t) { if (!Array.isArray(t)) return [].slice.call(arguments, 1).join(" "); let r = [].slice.call(arguments, 2), n = [t.raw[0]]; for (let i = 1; i < t.length; i++) n.push(String(r[i - 1]).replace(/[{}\\]/g, "\\$&")), n.push(String(t.raw[i])); return bH(e, n.join("")); } s(TH, "chalkTag"); Object.defineProperties(Qa.prototype, _i); Za.exports = Qa(); Za.exports.supportsColor = $h; Za.exports.default = Za.exports; }); // ../node_modules/@babel/highlight/lib/index.js var nx = T((eo) => { "use strict"; Object.defineProperty(eo, "__esModule", { value: !0 }); eo.default = IH; eo.shouldHighlight = rx; var JT = ET(), XT = yi(), Gh = xH(Rh(), !0); function ZT(e) { if (typeof WeakMap != "function") return null; var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(); return (ZT = /* @__PURE__ */ s(function(n) { return n ? r : t; }, "_getRequireWildcardCache"))(e); } s(ZT, "_getRequireWildcardCache"); function xH(e, t) { if (!t && e && e.__esModule) return e; if (e === null || typeof e != "object" && typeof e != "function") return { default: e }; var r = ZT(t); if (r && r.has(e)) return r.get(e); var n = { __proto__: null }, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var a in e) if (a !== "default" && {}.hasOwnProperty.call(e, a)) { var o = i ? Object.getOwnPropertyDescriptor(e, a) : null; o && (o.get || o.set) ? Object.defineProperty(n, a, o) : n[a] = e[a]; } return n.default = e, r && r.set(e, n), n; } s(xH, "_interopRequireWildcard"); var ex = typeof process == "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, Gh.createColors)(!1) : Gh.default, QT = /* @__PURE__ */ s((e, t) => (r) => e(t(r)), "compose"), SH = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]); function PH(e) { return { keyword: e.cyan, capitalized: e.yellow, jsxIdentifier: e.yellow, punctuator: e.yellow, number: e.magenta, string: e.green, regex: e.magenta, comment: e.gray, invalid: QT(QT(e.white, e.bgRed), e.bold) }; } s(PH, "getDefs"); var AH = /\r\n|[\n\r\u2028\u2029]/, CH = /^[()[\]{}]$/, tx; { let e = /^[a-z][\w-]*$/i, t = /* @__PURE__ */ s(function(r, n, i) { if (r.type === "name") { if ((0, XT.isKeyword)(r.value) || (0, XT.isStrictReservedWord)(r.value, !0) || SH.has(r.value)) return "keyword"; if (e.test(r.value) && (i[n - 1] === "<" || i.slice(n - 2, n) === " a(o)).join(` `) : r += i; } return r; } s(wH, "highlightTokens"); function rx(e) { return ex.isColorSupported || e.forceColor; } s(rx, "shouldHighlight"); var Kh; function DH(e) { if (e) { var t; return (t = Kh) != null || (Kh = (0, Gh.createColors)(!0)), Kh; } return ex; } s(DH, "getColors"); function IH(e, t = {}) { if (e !== "" && rx(t)) { let r = PH(DH(t.forceColor)); return wH(r, e); } else return e; } s(IH, "highlight"); { let e, t; eo.getChalk = ({ forceColor: r }) => { var n; if ((n = e) != null || (e = zT()), r) { var i; return (i = t) != null || (t = new e.constructor({ enabled: !0, level: 1 })), t; } return e; }; } }); // ../node_modules/@babel/code-frame/lib/index.js var to = T((Zl) => { "use strict"; Object.defineProperty(Zl, "__esModule", { value: !0 }); Zl.codeFrameColumns = ux; Zl.default = FH; var sx = nx(), Yh = _H(Rh(), !0); function lx(e) { if (typeof WeakMap != "function") return null; var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(); return (lx = /* @__PURE__ */ s(function(n) { return n ? r : t; }, "_getRequireWildcardCache"))(e); } s(lx, "_getRequireWildcardCache"); function _H(e, t) { if (!t && e && e.__esModule) return e; if (e === null || typeof e != "object" && typeof e != "function") return { default: e }; var r = lx(t); if (r && r.has(e)) return r.get(e); var n = { __proto__: null }, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var a in e) if (a !== "default" && {}.hasOwnProperty.call(e, a)) { var o = i ? Object.getOwnPropertyDescriptor(e, a) : null; o && (o.get || o.set) ? Object.defineProperty(n, a, o) : n[a] = e[a]; } return n.default = e, r && r.set(e, n), n; } s(_H, "_interopRequireWildcard"); var OH = typeof process == "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, Yh.createColors)(!1) : Yh.default, ix = /* @__PURE__ */ s((e, t) => (r) => e(t(r)), "compose"), Hh; function NH(e) { if (e) { var t; return (t = Hh) != null || (Hh = (0, Yh.createColors)(!0)), Hh; } return OH; } s(NH, "getColors"); var ax = !1; function BH(e) { return { gutter: e.gray, marker: ix(e.red, e.bold), message: ix(e.red, e.bold) }; } s(BH, "getDefs"); var ox = /\r\n|[\n\r\u2028\u2029]/; function kH(e, t, r) { let n = Object.assign({ column: 0, line: -1 }, e.start), i = Object.assign({}, n, e.end), { linesAbove: a = 2, linesBelow: o = 3 } = r || {}, l = n.line, u = n.column, c = i.line, f = i.column, p = Math.max(l - (a + 1), 0), h = Math.min(t.length, c + o); l === -1 && (p = 0), c === -1 && (h = t.length); let y = c - l, v = {}; if (y) for (let d = 0; d <= y; d++) { let b = d + l; if (!u) v[b] = !0; else if (d === 0) { let E = t[b - 1].length; v[b] = [u, E - u + 1]; } else if (d === y) v[b] = [0, f]; else { let E = t[b - d].length; v[b] = [0, E]; } } else u === f ? u ? v[l] = [u, 0] : v[l] = !0 : v[l] = [u, f - u]; return { start: p, end: h, markerLines: v }; } s(kH, "getMarkerLines"); function ux(e, t, r = {}) { let n = (r.highlightCode || r.forceColor) && (0, sx.shouldHighlight)(r), i = NH(r.forceColor), a = BH(i), o = /* @__PURE__ */ s((d, b) => n ? d(b) : b, "maybeHighlight"), l = e.split(ox), { start: u, end: c, markerLines: f } = kH(t, l, r), p = t.start && typeof t.start.column == "number", h = String(c).length, v = (n ? (0, sx.default)(e, r) : e).split(ox, c). slice(u, c).map((d, b) => { let E = u + 1 + b, O = ` ${` ${E}`.slice(-h)} |`, k = f[E], j = !f[E + 1]; if (k) { let R = ""; if (Array.isArray(k)) { let U = d.slice(0, Math.max(k[0] - 1, 0)).replace(/[^\t]/g, " "), Q = k[1] || 1; R = [` `, o(a.gutter, O.replace(/\d/g, " ")), " ", U, o(a.marker, "^").repeat(Q)].join(""), j && r.message && (R += " " + o(a.message, r.message)); } return [o(a.marker, ">"), o(a.gutter, O), d.length > 0 ? ` ${d}` : "", R].join(""); } else return ` ${o(a.gutter, O)}${d.length > 0 ? ` ${d}` : ""}`; }).join(` `); return r.message && !p && (v = `${" ".repeat(h + 1)}${r.message} ${v}`), n ? i.reset(v) : v; } s(ux, "codeFrameColumns"); function FH(e, t, r, n = {}) { if (!ax) { ax = !0; let a = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`."; if (process.emitWarning) process.emitWarning(a, "DeprecationWarning"); else { let o = new Error(a); o.name = "DeprecationWarning", console.warn(new Error(a)); } } return r = Math.max(r, 0), ux(e, { start: { column: r, line: t } }, n); } s(FH, "_default"); }); // ../node_modules/@babel/template/lib/parse.js var Jh = T((zh) => { "use strict"; Object.defineProperty(zh, "__esModule", { value: !0 }); zh.default = zH; var jH = Se(), LH = js(), MH = to(), { isCallExpression: RH, isExpressionStatement: qH, isFunction: UH, isIdentifier: VH, isJSXIdentifier: $H, isNewExpression: WH, isPlaceholder: eu, isStatement: KH, isStringLiteral: cx, removePropertiesDeep: GH, traverse: HH } = jH, YH = /^[_$A-Z0-9]+$/; function zH(e, t, r) { let { placeholderWhitelist: n, placeholderPattern: i, preserveComments: a, syntacticPlaceholders: o } = r, l = QH(t, r.parser, o); GH(l, { preserveComments: a }), e.validate(l); let u = { syntactic: { placeholders: [], placeholderNames: /* @__PURE__ */ new Set() }, legacy: { placeholders: [], placeholderNames: /* @__PURE__ */ new Set() }, placeholderWhitelist: n, placeholderPattern: i, syntacticPlaceholders: o }; return HH(l, JH, u), Object.assign({ ast: l }, u.syntactic.placeholders.length ? u.syntactic : u.legacy); } s(zH, "parseAndBuildMetadata"); function JH(e, t, r) { var n; let i, a = r.syntactic.placeholders.length > 0; if (eu(e)) { if (r.syntacticPlaceholders === !1) throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false."); i = e.name.name, a = !0; } else { if (a || r.syntacticPlaceholders) return; if (VH(e) || $H(e)) i = e.name; else if (cx(e)) i = e.value; else return; } if (a && (r.placeholderPattern != null || r.placeholderWhitelist != null)) throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'"); if (!a && (r.placeholderPattern === !1 || !(r.placeholderPattern || YH).test(i)) && !((n = r.placeholderWhitelist) != null && n.has(i))) return; t = t.slice(); let { node: o, key: l } = t[t.length - 1], u; cx(e) || eu(e, { expectedNode: "StringLiteral" }) ? u = "string" : WH(o) && l === "arguments" || RH(o) && l === "arguments" || UH(o) && l === "params" ? u = "param" : qH(o) && !eu(e) ? (u = "statement", t = t.slice(0, -1)) : KH(e) && eu(e) ? u = "statement" : u = "other"; let { placeholders: c, placeholderNames: f } = a ? r.syntactic : r.legacy; c.push({ name: i, type: u, resolve: /* @__PURE__ */ s((p) => XH(p, t), "resolve"), isDuplicate: f.has(i) }), f.add(i); } s(JH, "placeholderVisitorHandler"); function XH(e, t) { let r = e; for (let a = 0; a < t.length - 1; a++) { let { key: o, index: l } = t[a]; l === void 0 ? r = r[o] : r = r[o][l]; } let { key: n, index: i } = t[t.length - 1]; return { parent: r, key: n, index: i }; } s(XH, "resolveAncestors"); function QH(e, t, r) { let n = (t.plugins || []).slice(); r !== !1 && n.push("placeholders"), t = Object.assign({ allowReturnOutsideFunction: !0, allowSuperOutsideMethod: !0, sourceType: "module" }, t, { plugins: n }); try { return (0, LH.parse)(e, t); } catch (i) { let a = i.loc; throw a && (i.message += ` ` + (0, MH.codeFrameColumns)(e, { start: a }), i.code = "BABEL_TEMPLATE_PARSE_ERROR"), i; } } s(QH, "parseWithCodeFrame"); }); // ../node_modules/@babel/template/lib/populate.js var em = T((Zh) => { "use strict"; Object.defineProperty(Zh, "__esModule", { value: !0 }); Zh.default = sY; var ZH = Se(), { blockStatement: eY, cloneNode: Qh, emptyStatement: tY, expressionStatement: Xh, identifier: tu, isStatement: fx, isStringLiteral: rY, stringLiteral: nY, validate: px } = ZH; function sY(e, t) { let r = Qh(e.ast); return t && (e.placeholders.forEach((n) => { if (!hasOwnProperty.call(t, n.name)) { let i = n.name; throw new Error(`Error: No substitution given for "${i}". If this is not meant to be a placeholder you may want to consider passing one of the following options to @babel/template: - { placeholderPattern: false, placeholderWhitelist: new Set(['${i}'])} - { placeholderPattern: /^${i}$/ }`); } }), Object.keys(t).forEach((n) => { if (!e.placeholderNames.has(n)) throw new Error(`Unknown substitution "${n}" given`); })), e.placeholders.slice().reverse().forEach((n) => { try { iY(n, r, t && t[n.name] || null); } catch (i) { throw i.message = `@babel/template placeholder "${n.name}": ${i.message}`, i; } }), r; } s(sY, "populatePlaceholders"); function iY(e, t, r) { e.isDuplicate && (Array.isArray(r) ? r = r.map((l) => Qh(l)) : typeof r == "object" && (r = Qh(r))); let { parent: n, key: i, index: a } = e.resolve(t); if (e.type === "string") { if (typeof r == "string" && (r = nY(r)), !r || !rY(r)) throw new Error("Expected string substitution"); } else if (e.type === "statement") a === void 0 ? r ? Array.isArray(r) ? r = eY(r) : typeof r == "string" ? r = Xh(tu(r)) : fx(r) || (r = Xh(r)) : r = tY() : r && !Array. isArray(r) && (typeof r == "string" && (r = tu(r)), fx(r) || (r = Xh(r))); else if (e.type === "param") { if (typeof r == "string" && (r = tu(r)), a === void 0) throw new Error("Assertion failure."); } else if (typeof r == "string" && (r = tu(r)), Array.isArray(r)) throw new Error("Cannot replace single expression with an array."); function o(l, u, c) { let f = l[u]; l[u] = c, f.type === "Identifier" && (f.typeAnnotation && (c.typeAnnotation = f.typeAnnotation), f.optional && (c.optional = f.optional), f.decorators && (c.decorators = f.decorators)); } if (s(o, "set"), a === void 0) px(n, i, r), o(n, i, r); else { let l = n[i].slice(); e.type === "statement" || e.type === "param" ? r == null ? l.splice(a, 1) : Array.isArray(r) ? l.splice(a, 1, ...r) : o(l, a, r) : o(l, a, r), px(n, i, l), n[i] = l; } } s(iY, "applyReplacement"); }); // ../node_modules/@babel/template/lib/string.js var dx = T((tm) => { "use strict"; Object.defineProperty(tm, "__esModule", { value: !0 }); tm.default = uY; var aY = Fl(), oY = Jh(), lY = em(); function uY(e, t, r) { t = e.code(t); let n; return (i) => { let a = (0, aY.normalizeReplacements)(i); return n || (n = (0, oY.default)(e, t, r)), e.unwrap((0, lY.default)(n, a)); }; } s(uY, "stringTemplate"); }); // ../node_modules/@babel/template/lib/literal.js var hx = T((rm) => { "use strict"; Object.defineProperty(rm, "__esModule", { value: !0 }); rm.default = dY; var cY = Fl(), fY = Jh(), pY = em(); function dY(e, t, r) { let { metadata: n, names: i } = hY(e, t, r); return (a) => { let o = {}; return a.forEach((l, u) => { o[i[u]] = l; }), (l) => { let u = (0, cY.normalizeReplacements)(l); return u && Object.keys(u).forEach((c) => { if (hasOwnProperty.call(o, c)) throw new Error("Unexpected replacement overlap."); }), e.unwrap((0, pY.default)(n, u ? Object.assign(u, o) : o)); }; }; } s(dY, "literalTemplate"); function hY(e, t, r) { let n = "BABEL_TPL$", i = t.join(""); do n = "$$" + n; while (i.includes(n)); let { names: a, code: o } = mY(t, n); return { metadata: (0, fY.default)(e, e.code(o), { parser: r.parser, placeholderWhitelist: new Set(a.concat(r.placeholderWhitelist ? Array.from(r.placeholderWhitelist) : [])), placeholderPattern: r.placeholderPattern, preserveComments: r.preserveComments, syntacticPlaceholders: r.syntacticPlaceholders }), names: a }; } s(hY, "buildLiteralData"); function mY(e, t) { let r = [], n = e[0]; for (let i = 1; i < e.length; i++) { let a = `${t}${i - 1}`; r.push(a), n += a + e[i]; } return { names: r, code: n }; } s(mY, "buildTemplateCode"); }); // ../node_modules/@babel/template/lib/builder.js var vx = T((nm) => { "use strict"; Object.defineProperty(nm, "__esModule", { value: !0 }); nm.default = Ex; var fn = Fl(), mx = dx(), yx = hx(), gx = (0, fn.validate)({ placeholderPattern: !1 }); function Ex(e, t) { let r = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), i = t || (0, fn.validate)(null); return Object.assign((a, ...o) => { if (typeof a == "string") { if (o.length > 1) throw new Error("Unexpected extra params."); return bx((0, mx.default)(e, a, (0, fn.merge)(i, (0, fn.validate)(o[0])))); } else if (Array.isArray(a)) { let l = r.get(a); return l || (l = (0, yx.default)(e, a, i), r.set(a, l)), bx(l(o)); } else if (typeof a == "object" && a) { if (o.length > 0) throw new Error("Unexpected extra params."); return Ex(e, (0, fn.merge)(i, (0, fn.validate)(a))); } throw new Error(`Unexpected template param ${typeof a}`); }, { ast: /* @__PURE__ */ s((a, ...o) => { if (typeof a == "string") { if (o.length > 1) throw new Error("Unexpected extra params."); return (0, mx.default)(e, a, (0, fn.merge)((0, fn.merge)(i, (0, fn.validate)(o[0])), gx))(); } else if (Array.isArray(a)) { let l = n.get(a); return l || (l = (0, yx.default)(e, a, (0, fn.merge)(i, gx)), n.set(a, l)), l(o)(); } throw new Error(`Unexpected template param ${typeof a}`); }, "ast") }); } s(Ex, "createTemplateBuilder"); function bx(e) { let t = ""; try { throw new Error(); } catch (r) { r.stack && (t = r.stack.split(` `).slice(3).join(` `)); } return (r) => { try { return e(r); } catch (n) { throw n.stack += ` ============= ${t}`, n; } }; } s(bx, "extendedTrace"); }); // ../node_modules/@babel/template/lib/index.js var Oi = T((hr) => { "use strict"; Object.defineProperty(hr, "__esModule", { value: !0 }); hr.statements = hr.statement = hr.smart = hr.program = hr.expression = hr.default = void 0; var ro = Vv(), no = vx(), sm = hr.smart = (0, no.default)(ro.smart), yY = hr.statement = (0, no.default)(ro.statement), gY = hr.statements = (0, no.default)(ro.statements), bY = hr.expression = (0, no.default)(ro.expression), EY = hr.program = (0, no.default)(ro.program), wPe = hr. default = Object.assign(sm.bind(void 0), { smart: sm, statement: yY, statements: gY, expression: bY, program: EY, ast: sm.ast }); }); // ../node_modules/@babel/helpers/lib/helpers-generated.js var Tx = T((ru) => { "use strict"; Object.defineProperty(ru, "__esModule", { value: !0 }); ru.default = void 0; var vY = Oi(); function G(e, t, r) { return Object.freeze({ minVersion: e, ast: /* @__PURE__ */ s(() => vY.default.program.ast(t, { preserveComments: !0 }), "ast"), metadata: r }); } s(G, "helper"); var TY = ru.default = { __proto__: null, OverloadYield: G("7.18.14", "function _OverloadYield(e,d){this.v=e,this.k=d}", { globals: [], locals: { _OverloadYield: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_OverloadYield", dependencies: {} }), applyDecoratedDescriptor: G("7.0.0-beta.0", 'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((funct\ ion(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().re\ verse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initi\ alizer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}', { globals: ["Object"], locals: { _applyDecoratedDescriptor: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_applyDecoratedDescriptor", dependencies: {} }), applyDecs2311: G("7.24.0", 'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Obj\ ect.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["fiel\ d","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to\ call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"\ class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?funct\ ion(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.ge\ t,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.\ init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or ini\ t properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s\ ,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!\ 0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<\ n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l\ ,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,\ get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}', { globals: ["Symbol", "Object", "TypeError", "Error"], locals: { applyDecs2311: ["body.0.id"] }, exportBindingAssignments: [], exportName: "applyDecs2311", dependencies: { checkInRHS: ["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.cons\ equent.body.body.0.argument.left.callee"], setFunctionName: ["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.pro\ perties.0.value.callee", "body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"], toPropertyKey: ["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.al\ ternate.callee"] } }), arrayLikeToArray: G("7.9.0", "function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid atte\ mpt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;\ return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||\ t.return()}finally{if(u)throw o}}}}', { globals: ["Symbol", "Array", "TypeError"], locals: { _createForOfIteratorHelper: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_createForOfIteratorHelper", dependencies: { unsupportedIterableToArray: ["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"] } }), createForOfIteratorHelperLoose: G("7.9.0", 'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.ite\ rator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof\ r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to i\ terate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}', { globals: ["Symbol", "Array", "TypeError"], locals: { _createForOfIteratorHelperLoose: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_createForOfIteratorHelperLoose", dependencies: { unsupportedIterableToArray: ["body.0.body.body.2.test.left.right.right.callee"] } }), createSuper: G("7.9.0", "function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var\ s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,\ e)}}", { globals: ["Reflect"], locals: { _createSuper: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_createSuper", dependencies: { getPrototypeOf: ["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee", "body.0.body.body.1.argument.body.body.1.cons\ equent.body.0.declarations.0.init.object.callee"], isNativeReflectConstruct: ["body.0.body.body.0.declarations.0.init.callee"], possibleConstructorReturn: ["body.0.body.body.1.argument.body.body.2.argument.callee"] } }), decorate: G("7.1.5", `function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a\ );e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p=0;\ i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elemen\ ts){e=n.elements;for(var s=0;s1){for(var t=Array(n),f=0;f=0;--o){var i=this.tryEntries[o],a=i.completion;if("r\ oot"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.\ prev=0;--e){var r=this.tryEntries[e];if(r.finallyLo\ c===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var \ r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal ca\ tch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.ar\ g=t),y}},e}`, { globals: ["Object", "Symbol", "Error", "TypeError", "isNaN", "Promise"], locals: { _regeneratorRuntime: ["body.0.id", "body.0.body.body.0.expression.left"] }, exportBindingAssignments: ["body.0.body.body.0.expression"], exportName: "_regeneratorRuntime", dependencies: {} }), set: G("7.0.0-beta.0", 'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=\ superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOw\ nPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}f\ unction _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}', { globals: ["Reflect", "Object", "TypeError"], locals: { set: ["body.0.id", "body.0.body.body.0.argument.expressions.1.callee", "body.1.body.body.0.test.left.argument.callee", "body.0.body.\ body.0.argument.expressions.0.left"], _set: ["body.1.id"] }, exportBindingAssignments: [], exportName: "_set", dependencies: { superPropBase: ["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"], defineProperty: ["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"] } }), setFunctionName: G("7.23.6", 'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.definePr\ operty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}', { globals: ["Object"], locals: { setFunctionName: ["body.0.id"] }, exportBindingAssignments: [], exportName: "setFunctionName", dependencies: {} }), setPrototypeOf: G("7.0.0-beta.0", "function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind\ ():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}", { globals: ["Object"], locals: { _setPrototypeOf: ["body.0.id", "body.0.body.body.0.argument.expressions.1.callee", "body.0.body.body.0.argument.expressions.0.left"] }, exportBindingAssignments: ["body.0.body.body.0.argument.expressions.0"], exportName: "_setPrototypeOf", dependencies: {} }), skipFirstGeneratorNext: G("7.0.0-beta.0", "function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.\ next(),r}}", { globals: [], locals: { _skipFirstGeneratorNext: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_skipFirstGeneratorNext", dependencies: {} }), slicedToArray: G("7.0.0-beta.0", "function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableT\ oArray(r,e)||nonIterableRest()}", { globals: [], locals: { _slicedToArray: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_slicedToArray", dependencies: { arrayWithHoles: ["body.0.body.body.0.argument.left.left.left.callee"], iterableToArrayLimit: ["body.0.body.body.0.argument.left.left.right.callee"], unsupportedIterableToArray: ["body.0.body.body.0.argument.left.right.callee"], nonIterableRest: ["body.0.body.body.0.argument.right.callee"] } }), superPropBase: G("7.0.0-beta.0", "function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return \ t}", { globals: [], locals: { _superPropBase: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_superPropBase", dependencies: { getPrototypeOf: ["body.0.body.body.0.test.right.right.right.callee"] } }), superPropGet: G("7.25.0", "function _superPropertyGet(t,e,r,o){var p=get(getPrototypeOf(1&o?t.prototype:t),e,r);return 2&o?function(t){r\ eturn p.apply(r,t)}:p}", { globals: [], locals: { _superPropertyGet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_superPropertyGet", dependencies: { get: ["body.0.body.body.0.declarations.0.init.callee"], getPrototypeOf: ["body.0.body.body.0.declarations.0.init.arguments.0.callee"] } }), superPropSet: G("7.25.0", "function _superPropertySet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}", { globals: [], locals: { _superPropertySet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_superPropertySet", dependencies: { set: ["body.0.body.body.0.argument.callee"], getPrototypeOf: ["body.0.body.body.0.argument.arguments.0.callee"] } }), taggedTemplateLiteral: G("7.0.0-beta.0", "function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.definePrope\ rties(e,{raw:{value:Object.freeze(t)}}))}", { globals: ["Object"], locals: { _taggedTemplateLiteral: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_taggedTemplateLiteral", dependencies: {} }), taggedTemplateLiteralLoose: G("7.0.0-beta.0", "function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}", { globals: [], locals: { _taggedTemplateLiteralLoose: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_taggedTemplateLiteralLoose", dependencies: {} }), tdz: G("7.5.5", 'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}', { globals: ["ReferenceError"], locals: { _tdzError: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_tdzError", dependencies: {} }), temporalRef: G("7.0.0-beta.0", "function _temporalRef(r,e){return r===undef?err(e):r}", { globals: [], locals: { _temporalRef: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_temporalRef", dependencies: { temporalUndefined: ["body.0.body.body.0.argument.test.right"], tdz: ["body.0.body.body.0.argument.consequent.callee"] } }), temporalUndefined: G("7.0.0-beta.0", "function _temporalUndefined(){}", { globals: [], locals: { _temporalUndefined: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_temporalUndefined", dependencies: {} }), toArray: G("7.0.0-beta.0", "function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterabl\ eRest()}", { globals: [], locals: { _toArray: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_toArray", dependencies: { arrayWithHoles: ["body.0.body.body.0.argument.left.left.left.callee"], iterableToArray: ["body.0.body.body.0.argument.left.left.right.callee"], unsupportedIterableToArray: ["body.0.body.body.0.argument.left.right.callee"], nonIterableRest: ["body.0.body.body.0.argument.right.callee"] } }), toConsumableArray: G("7.0.0-beta.0", "function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterabl\ eToArray(r)||nonIterableSpread()}", { globals: [], locals: { _toConsumableArray: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_toConsumableArray", dependencies: { arrayWithoutHoles: ["body.0.body.body.0.argument.left.left.left.callee"], iterableToArray: ["body.0.body.body.0.argument.left.left.right.callee"], unsupportedIterableToArray: ["body.0.body.body.0.argument.left.right.callee"], nonIterableSpread: ["body.0.body.body.0.argument.right.callee"] } }), toPrimitive: G("7.1.5", 'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e\ .call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r\ ?String:Number)(t)}', { globals: ["Symbol", "TypeError", "String", "Number"], locals: { toPrimitive: ["body.0.id"] }, exportBindingAssignments: [], exportName: "toPrimitive", dependencies: {} }), toPropertyKey: G("7.1.5", 'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}', { globals: [], locals: { toPropertyKey: ["body.0.id"] }, exportBindingAssignments: [], exportName: "toPropertyKey", dependencies: { toPrimitive: ["body.0.body.body.0.declarations.0.init.callee"] } }), toSetter: G("7.24.0", 'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,\ t.apply(n,e)}})}', { globals: ["Object"], locals: { _toSetter: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_toSetter", dependencies: {} }), typeof: G("7.0.0-beta.0", 'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symb\ ol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symb\ ol":typeof o},_typeof(o)}', { globals: ["Symbol"], locals: { _typeof: ["body.0.id", "body.0.body.body.0.argument.expressions.1.callee", "body.0.body.body.0.argument.expressions.0.left"] }, exportBindingAssignments: ["body.0.body.body.0.argument.expressions.0"], exportName: "_typeof", dependencies: {} }), unsupportedIterableToArray: G("7.9.0", 'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,\ a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Argum\ ents"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}', { globals: ["Array"], locals: { _unsupportedIterableToArray: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_unsupportedIterableToArray", dependencies: { arrayLikeToArray: ["body.0.body.body.0.consequent.body.0.consequent.argument.callee", "body.0.body.body.0.consequent.body.2.argument\ .expressions.1.alternate.consequent.callee"] } }), usingCtx: G("7.23.9", 'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return \ n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using d\ eclarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispos\ e")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not\ disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}\ return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)re\ turn s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}c\ atch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n\ ,next()}return next()}}}', { globals: ["SuppressedError", "Error", "Object", "TypeError", "Symbol", "Promise"], locals: { _usingCtx: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_usingCtx", dependencies: {} }), wrapAsyncGenerator: G("7.0.0-beta.0", 'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,argument\ s))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:\ o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"nor\ mal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:\ !0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,\ n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeo\ f e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){ret\ urn this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._i\ nvoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};', { globals: ["Promise", "Symbol"], locals: { _wrapAsyncGenerator: ["body.0.id"], AsyncGenerator: ["body.1.id", "body.0.body.body.0.argument.body.body.0.argument.callee", "body.2.expression.expressions.0.left.objec\ t.object", "body.2.expression.expressions.1.left.object.object", "body.2.expression.expressions.2.left.object.object", "body.2.expression.ex\ pressions.3.left.object.object"] }, exportBindingAssignments: [], exportName: "_wrapAsyncGenerator", dependencies: { OverloadYield: ["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"] } }), wrapNativeSuper: G("7.0.0-beta.0", 'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=fun\ ction(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a f\ unction");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).c\ onstructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setP\ rototypeOf(Wrapper,t)},_wrapNativeSuper(t)}', { globals: ["Map", "TypeError", "Object"], locals: { _wrapNativeSuper: ["body.0.id", "body.0.body.body.1.argument.expressions.1.callee", "body.0.body.body.1.argument.expressions.0.left"] }, exportBindingAssignments: ["body.0.body.body.1.argument.expressions.0"], exportName: "_wrapNativeSuper", dependencies: { getPrototypeOf: ["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"], setPrototypeOf: ["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"], isNativeFunction: ["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"], construct: ["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"] } }), wrapRegExp: G("7.19.0", 'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=n\ ew WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildG\ roups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e\ [o[i]]&&i+1]+)>/\ g,(function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call\ (this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}ret\ urn e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}', { globals: ["RegExp", "WeakMap", "Object", "Symbol", "Array"], locals: { _wrapRegExp: ["body.0.id", "body.0.body.body.4.argument.expressions.3.callee.object", "body.0.body.body.0.expression.left"] }, exportBindingAssignments: ["body.0.body.body.0.expression"], exportName: "_wrapRegExp", dependencies: { setPrototypeOf: ["body.0.body.body.2.body.body.1.argument.expressions.1.callee"], inherits: ["body.0.body.body.4.argument.expressions.0.callee"] } }), writeOnlyError: G("7.12.13", `function _writeOnlyError(r){throw new TypeError('"'+r+'" is write-only')}`, { globals: ["TypeError"], locals: { _writeOnlyError: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_writeOnlyError", dependencies: {} }) }; Object.assign(TY, { AwaitValue: G("7.0.0-beta.0", "function _AwaitValue(t){this.wrapped=t}", { globals: [], locals: { _AwaitValue: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_AwaitValue", dependencies: {} }), applyDecs: G("7.17.8", 'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"g\ etMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.pri\ vate;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_a\ ssertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.publ\ ic={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMa\ pToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1\ ===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)\ ))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r3,m=v>=5;if(m?(u=t,f=r,0!=(\ v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw \ Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not c\ urrently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}o\ ld_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{v\ ar c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d\ =r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e=0;v--){var g;void 0!==(f=memberDe\ c(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g\ &&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=type\ of l){var y=l;l=function(e,t){for(var r=t,a=0;a3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&\ &4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public met\ hod/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDe\ c(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-\ 1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(\ assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e=0;g--){var y;void 0!==(p=memberDec(v\ [g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(\ void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof \ l){var m=l;l=function(e,t){for(var r=t,n=0;n3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0=\ ==g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated\ public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}ap\ plyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){fo\ r(var r=0;r0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializ\ erMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||\ p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===\ l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=functi\ on(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b\ &&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor.\ This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y\ ,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r0){for(var r=[\ ],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}fi\ nally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e=0;j-=r?2:1){var\ D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(\ e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null\ ,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),\ w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access\ ={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof \ P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!=\ =P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method"\ )+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].ca\ ll(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u\ (e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.le\ ngth>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=funct\ ion(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)thr\ ow Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is no\ t currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKe\ y(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.leng\ th&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}', { globals: ["TypeError", "Array", "Object", "Error", "Symbol", "Map"], locals: { applyDecs2305: ["body.0.id"] }, exportBindingAssignments: [], exportName: "applyDecs2305", dependencies: { checkInRHS: ["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"], setFunctionName: ["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.\ 0.value.callee", "body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"], toPropertyKey: ["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alte\ rnate.callee"] } }), classApplyDescriptorDestructureSet: G("7.13.10", 'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.\ __destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");retu\ rn t}', { globals: ["TypeError"], locals: { _classApplyDescriptorDestructureSet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classApplyDescriptorDestructureSet", dependencies: {} }), classApplyDescriptorGet: G("7.13.10", "function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}", { globals: [], locals: { _classApplyDescriptorGet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classApplyDescriptorGet", dependencies: {} }), classApplyDescriptorSet: G("7.13.10", 'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new T\ ypeError("attempted to set read only private field");t.value=l}}', { globals: ["TypeError"], locals: { _classApplyDescriptorSet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classApplyDescriptorSet", dependencies: {} }), classCheckPrivateStaticAccess: G("7.13.10", "function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}", { globals: [], locals: { _classCheckPrivateStaticAccess: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classCheckPrivateStaticAccess", dependencies: { assertClassBrand: ["body.0.body.body.0.argument.callee"] } }), classCheckPrivateStaticFieldDescriptor: G("7.13.10", 'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new Type\ Error("attempted to "+e+" private static field before its declaration")}', { globals: ["TypeError"], locals: { _classCheckPrivateStaticFieldDescriptor: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classCheckPrivateStaticFieldDescriptor", dependencies: {} }), classExtractFieldDescriptor: G("7.13.10", "function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}", { globals: [], locals: { _classExtractFieldDescriptor: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classExtractFieldDescriptor", dependencies: { classPrivateFieldGet2: ["body.0.body.body.0.argument.callee"] } }), classPrivateFieldDestructureSet: G("7.4.4", "function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return clas\ sApplyDescriptorDestructureSet(e,r)}", { globals: [], locals: { _classPrivateFieldDestructureSet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classPrivateFieldDestructureSet", dependencies: { classApplyDescriptorDestructureSet: ["body.0.body.body.1.argument.callee"], classPrivateFieldGet2: ["body.0.body.body.0.declarations.0.init.callee"] } }), classPrivateFieldGet: G("7.0.0-beta.0", "function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescripto\ rGet(e,r)}", { globals: [], locals: { _classPrivateFieldGet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classPrivateFieldGet", dependencies: { classApplyDescriptorGet: ["body.0.body.body.1.argument.callee"], classPrivateFieldGet2: ["body.0.body.body.0.declarations.0.init.callee"] } }), classPrivateFieldSet: G("7.0.0-beta.0", "function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescrip\ torSet(e,s,r),r}", { globals: [], locals: { _classPrivateFieldSet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classPrivateFieldSet", dependencies: { classApplyDescriptorSet: ["body.0.body.body.1.argument.expressions.0.callee"], classPrivateFieldGet2: ["body.0.body.body.0.declarations.0.init.callee"] } }), classPrivateMethodGet: G("7.1.6", "function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}", { globals: [], locals: { _classPrivateMethodGet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classPrivateMethodGet", dependencies: { assertClassBrand: ["body.0.body.body.0.argument.expressions.0.callee"] } }), classPrivateMethodSet: G("7.1.6", 'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}', { globals: ["TypeError"], locals: { _classPrivateMethodSet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classPrivateMethodSet", dependencies: {} }), classStaticPrivateFieldDestructureSet: G("7.13.10", 'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t)\ ,classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}', { globals: [], locals: { _classStaticPrivateFieldDestructureSet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classStaticPrivateFieldDestructureSet", dependencies: { classApplyDescriptorDestructureSet: ["body.0.body.body.0.argument.expressions.2.callee"], assertClassBrand: ["body.0.body.body.0.argument.expressions.0.callee"], classCheckPrivateStaticFieldDescriptor: ["body.0.body.body.0.argument.expressions.1.callee"] } }), classStaticPrivateFieldSpecGet: G("7.0.2", 'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPriva\ teStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}', { globals: [], locals: { _classStaticPrivateFieldSpecGet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classStaticPrivateFieldSpecGet", dependencies: { classApplyDescriptorGet: ["body.0.body.body.0.argument.expressions.2.callee"], assertClassBrand: ["body.0.body.body.0.argument.expressions.0.callee"], classCheckPrivateStaticFieldDescriptor: ["body.0.body.body.0.argument.expressions.1.callee"] } }), classStaticPrivateFieldSpecSet: G("7.0.2", 'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPri\ vateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}', { globals: [], locals: { _classStaticPrivateFieldSpecSet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classStaticPrivateFieldSpecSet", dependencies: { classApplyDescriptorSet: ["body.0.body.body.0.argument.expressions.2.callee"], assertClassBrand: ["body.0.body.body.0.argument.expressions.0.callee"], classCheckPrivateStaticFieldDescriptor: ["body.0.body.body.0.argument.expressions.1.callee"] } }), classStaticPrivateMethodSet: G("7.3.2", 'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static \ private field")}', { globals: ["TypeError"], locals: { _classStaticPrivateMethodSet: ["body.0.id"] }, exportBindingAssignments: [], exportName: "_classStaticPrivateMethodSet", dependencies: {} }), defineEnumerableProperties: G("7.0.0-beta.0", 'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enu\ merable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(\ r),b=0;b0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch\ (r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}', { globals: ["SuppressedError", "Error", "Object", "Promise"], locals: { dispose_SuppressedError: ["body.0.id", "body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object", "body.0.body\ .body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value", "body.0.body.body.0.argumen\ t.expressions.1.callee", "body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee", "body.0.body.body.0.argument.expre\ ssions.0.consequent.left", "body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"], _dispose: ["body.1.id"] }, exportBindingAssignments: [], exportName: "_dispose", dependencies: {} }), objectSpread: G("7.0.0-beta.0", 'function _objectSpread(e){for(var r=1;r { "use strict"; Object.defineProperty(pn, "__esModule", { value: !0 }); pn.default = void 0; pn.get = Px; pn.getDependencies = CY; pn.list = void 0; pn.minVersion = AY; var xY = Se(), Sx = Tx(), { cloneNode: SY, identifier: xx } = xY; function nu(e, t, r) { try { let n = t.split("."), i = n.shift(); for (; n.length > 0; ) e = e[i], i = n.shift(); if (arguments.length > 2) e[i] = r; else return e[i]; } catch (n) { throw n.message += ` (when accessing ${t})`, n; } } s(nu, "deep"); function PY(e, t, r, n, i, a) { let { locals: o, dependencies: l, exportBindingAssignments: u, exportName: c } = t, f = new Set(n || []); r && f.add(r); for (let [p, h] of (Object.entries || ((y) => Object.keys(y).map((v) => [v, y[v]])))(o)) { let y = p; if (r && p === c) y = r; else for (; f.has(y); ) y = "_" + y; if (y !== p) for (let v of h) nu(e, v, xx(y)); } for (let [p, h] of (Object.entries || ((y) => Object.keys(y).map((v) => [v, y[v]])))(l)) { let y = typeof i == "function" && i(p) || xx(p); for (let v of h) nu(e, v, SY(y)); } a?.(e, c, (p) => { u.forEach((h) => nu(e, h, p(nu(e, h)))); }); } s(PY, "permuteHelperAST"); var im = /* @__PURE__ */ Object.create(null); function su(e) { if (!im[e]) { let t = Sx.default[e]; if (!t) throw Object.assign(new ReferenceError(`Unknown helper ${e}`), { code: "BABEL_HELPER_UNKNOWN", helper: e }); im[e] = { minVersion: t.minVersion, build(r, n, i, a) { let o = t.ast(); return PY(o, t.metadata, n, i, r, a), { nodes: o.body, globals: t.metadata.globals }; }, getDependencies() { return Object.keys(t.metadata.dependencies); } }; } return im[e]; } s(su, "loadHelper"); function Px(e, t, r, n, i) { if (typeof r == "object") { let a = r; a?.type === "Identifier" ? r = a.name : r = void 0; } return su(e).build(t, r, n, i); } s(Px, "get"); function AY(e) { return su(e).minVersion; } s(AY, "minVersion"); function CY(e) { return su(e).getDependencies(); } s(CY, "getDependencies"); pn.ensure = (e) => { su(e); }; var OPe = pn.list = Object.keys(Sx.default).map((e) => e.replace(/^_/, "")), NPe = pn.default = Px; }); // ../node_modules/@babel/traverse/lib/path/lib/virtual-types.js var om = T(($e) => { "use strict"; Object.defineProperty($e, "__esModule", { value: !0 }); $e.Var = $e.User = $e.Statement = $e.SpreadProperty = $e.Scope = $e.RestProperty = $e.ReferencedMemberExpression = $e.ReferencedIdentifier = $e.Referenced = $e.Pure = $e.NumericLiteralTypeAnnotation = $e.Generated = $e.ForAwaitStatement = $e.Flow = $e.Expression = $e.ExistentialTypeParam = $e.BlockScoped = $e.BindingIdentifier = void 0; var FPe = $e.ReferencedIdentifier = ["Identifier", "JSXIdentifier"], jPe = $e.ReferencedMemberExpression = ["MemberExpression"], LPe = $e. BindingIdentifier = ["Identifier"], MPe = $e.Statement = ["Statement"], RPe = $e.Expression = ["Expression"], qPe = $e.Scope = ["Scopable", "Pattern"], UPe = $e.Referenced = null, VPe = $e.BlockScoped = null, $Pe = $e.Var = ["VariableDeclaration"], WPe = $e.User = null, KPe = $e. Generated = null, GPe = $e.Pure = null, HPe = $e.Flow = ["Flow", "ImportDeclaration", "ExportDeclaration", "ImportSpecifier"], YPe = $e.RestProperty = ["RestElement"], zPe = $e.SpreadProperty = ["RestElement"], JPe = $e.ExistentialTypeParam = ["ExistsTypeAnnotation"], XPe = $e.NumericLiteralTypeAnnotation = ["NumberLiteralTypeAnnotation"], QPe = $e.ForAwaitStatement = ["ForOfStatement"]; }); // ../node_modules/debug/node_modules/ms/index.js var Cx = T((eAe, Ax) => { var Ni = 1e3, Bi = Ni * 60, ki = Bi * 60, Ms = ki * 24, wY = Ms * 7, DY = Ms * 365.25; Ax.exports = function(e, t) { t = t || {}; var r = typeof e; if (r === "string" && e.length > 0) return IY(e); if (r === "number" && isFinite(e)) return t.long ? OY(e) : _Y(e); throw new Error( "val is not a non-empty string or a valid number. val=" + JSON.stringify(e) ); }; function IY(e) { if (e = String(e), !(e.length > 100)) { var t = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i. exec( e ); if (t) { var r = parseFloat(t[1]), n = (t[2] || "ms").toLowerCase(); switch (n) { case "years": case "year": case "yrs": case "yr": case "y": return r * DY; case "weeks": case "week": case "w": return r * wY; case "days": case "day": case "d": return r * Ms; case "hours": case "hour": case "hrs": case "hr": case "h": return r * ki; case "minutes": case "minute": case "mins": case "min": case "m": return r * Bi; case "seconds": case "second": case "secs": case "sec": case "s": return r * Ni; case "milliseconds": case "millisecond": case "msecs": case "msec": case "ms": return r; default: return; } } } } s(IY, "parse"); function _Y(e) { var t = Math.abs(e); return t >= Ms ? Math.round(e / Ms) + "d" : t >= ki ? Math.round(e / ki) + "h" : t >= Bi ? Math.round(e / Bi) + "m" : t >= Ni ? Math.round( e / Ni) + "s" : e + "ms"; } s(_Y, "fmtShort"); function OY(e) { var t = Math.abs(e); return t >= Ms ? iu(e, t, Ms, "day") : t >= ki ? iu(e, t, ki, "hour") : t >= Bi ? iu(e, t, Bi, "minute") : t >= Ni ? iu(e, t, Ni, "secon\ d") : e + " ms"; } s(OY, "fmtLong"); function iu(e, t, r, n) { var i = t >= r * 1.5; return Math.round(e / r) + " " + n + (i ? "s" : ""); } s(iu, "plural"); }); // ../node_modules/debug/src/common.js var lm = T((rAe, wx) => { function NY(e) { r.debug = r, r.default = r, r.coerce = u, r.disable = a, r.enable = i, r.enabled = o, r.humanize = Cx(), r.destroy = c, Object.keys(e).forEach( (f) => { r[f] = e[f]; }), r.names = [], r.skips = [], r.formatters = {}; function t(f) { let p = 0; for (let h = 0; h < f.length; h++) p = (p << 5) - p + f.charCodeAt(h), p |= 0; return r.colors[Math.abs(p) % r.colors.length]; } s(t, "selectColor"), r.selectColor = t; function r(f) { let p, h = null, y, v; function d(...b) { if (!d.enabled) return; let E = d, I = Number(/* @__PURE__ */ new Date()), O = I - (p || I); E.diff = O, E.prev = p, E.curr = I, p = I, b[0] = r.coerce(b[0]), typeof b[0] != "string" && b.unshift("%O"); let k = 0; b[0] = b[0].replace(/%([a-zA-Z%])/g, (R, U) => { if (R === "%%") return "%"; k++; let Q = r.formatters[U]; if (typeof Q == "function") { let W = b[k]; R = Q.call(E, W), b.splice(k, 1), k--; } return R; }), r.formatArgs.call(E, b), (E.log || r.log).apply(E, b); } return s(d, "debug"), d.namespace = f, d.useColors = r.useColors(), d.color = r.selectColor(f), d.extend = n, d.destroy = r.destroy, Object. defineProperty(d, "enabled", { enumerable: !0, configurable: !1, get: /* @__PURE__ */ s(() => h !== null ? h : (y !== r.namespaces && (y = r.namespaces, v = r.enabled(f)), v), "get"), set: /* @__PURE__ */ s((b) => { h = b; }, "set") }), typeof r.init == "function" && r.init(d), d; } s(r, "createDebug"); function n(f, p) { let h = r(this.namespace + (typeof p > "u" ? ":" : p) + f); return h.log = this.log, h; } s(n, "extend"); function i(f) { r.save(f), r.namespaces = f, r.names = [], r.skips = []; let p, h = (typeof f == "string" ? f : "").split(/[\s,]+/), y = h.length; for (p = 0; p < y; p++) h[p] && (f = h[p].replace(/\*/g, ".*?"), f[0] === "-" ? r.skips.push(new RegExp("^" + f.slice(1) + "$")) : r.names.push(new RegExp("\ ^" + f + "$"))); } s(i, "enable"); function a() { let f = [ ...r.names.map(l), ...r.skips.map(l).map((p) => "-" + p) ].join(","); return r.enable(""), f; } s(a, "disable"); function o(f) { if (f[f.length - 1] === "*") return !0; let p, h; for (p = 0, h = r.skips.length; p < h; p++) if (r.skips[p].test(f)) return !1; for (p = 0, h = r.names.length; p < h; p++) if (r.names[p].test(f)) return !0; return !1; } s(o, "enabled"); function l(f) { return f.toString().substring(2, f.toString().length - 2).replace(/\.\*\?$/, "*"); } s(l, "toNamespace"); function u(f) { return f instanceof Error ? f.stack || f.message : f; } s(u, "coerce"); function c() { console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major versio\ n of `debug`."); } return s(c, "destroy"), r.enable(r.load()), r; } s(NY, "setup"); wx.exports = NY; }); // ../node_modules/debug/src/browser.js var Dx = T((yr, au) => { yr.formatArgs = kY; yr.save = FY; yr.load = jY; yr.useColors = BY; yr.storage = LY(); yr.destroy = /* @__PURE__ */ (() => { let e = !1; return () => { e || (e = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the nex\ t major version of `debug`.")); }; })(); yr.colors = [ "#0000CC", "#0000FF", "#0033CC", "#0033FF", "#0066CC", "#0066FF", "#0099CC", "#0099FF", "#00CC00", "#00CC33", "#00CC66", "#00CC99", "#00CCCC", "#00CCFF", "#3300CC", "#3300FF", "#3333CC", "#3333FF", "#3366CC", "#3366FF", "#3399CC", "#3399FF", "#33CC00", "#33CC33", "#33CC66", "#33CC99", "#33CCCC", "#33CCFF", "#6600CC", "#6600FF", "#6633CC", "#6633FF", "#66CC00", "#66CC33", "#9900CC", "#9900FF", "#9933CC", "#9933FF", "#99CC00", "#99CC33", "#CC0000", "#CC0033", "#CC0066", "#CC0099", "#CC00CC", "#CC00FF", "#CC3300", "#CC3333", "#CC3366", "#CC3399", "#CC33CC", "#CC33FF", "#CC6600", "#CC6633", "#CC9900", "#CC9933", "#CCCC00", "#CCCC33", "#FF0000", "#FF0033", "#FF0066", "#FF0099", "#FF00CC", "#FF00FF", "#FF3300", "#FF3333", "#FF3366", "#FF3399", "#FF33CC", "#FF33FF", "#FF6600", "#FF6633", "#FF9900", "#FF9933", "#FFCC00", "#FFCC33" ]; function BY() { if (typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) return !0; if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return !1; let e; return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773 typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31? // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages typeof navigator < "u" && navigator.userAgent && (e = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(e[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/); } s(BY, "useColors"); function kY(e) { if (e[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + e[0] + (this.useColors ? "%c " : " ") + "+" + au.exports.humanize(this.diff), !this.useColors) return; let t = "color: " + this.color; e.splice(1, 0, t, "color: inherit"); let r = 0, n = 0; e[0].replace(/%[a-zA-Z%]/g, (i) => { i !== "%%" && (r++, i === "%c" && (n = r)); }), e.splice(n, 0, t); } s(kY, "formatArgs"); yr.log = console.debug || console.log || (() => { }); function FY(e) { try { e ? yr.storage.setItem("debug", e) : yr.storage.removeItem("debug"); } catch { } } s(FY, "save"); function jY() { let e; try { e = yr.storage.getItem("debug"); } catch { } return !e && typeof process < "u" && "env" in process && (e = process.env.DEBUG), e; } s(jY, "load"); function LY() { try { return localStorage; } catch { } } s(LY, "localstorage"); au.exports = lm()(yr); var { formatters: MY } = au.exports; MY.j = function(e) { try { return JSON.stringify(e); } catch (t) { return "[UnexpectedJSONParseError]: " + t.message; } }; }); // ../node_modules/has-flag/index.js var _x = T((iAe, Ix) => { "use strict"; Ix.exports = (e, t = process.argv) => { let r = e.startsWith("-") ? "" : e.length === 1 ? "-" : "--", n = t.indexOf(r + e), i = t.indexOf("--"); return n !== -1 && (i === -1 || n < i); }; }); // ../node_modules/supports-color/index.js var Bx = T((aAe, Nx) => { "use strict"; var RY = require("os"), Ox = require("tty"), Dr = _x(), { env: Ft } = process, ns; Dr("no-color") || Dr("no-colors") || Dr("color=false") || Dr("color=never") ? ns = 0 : (Dr("color") || Dr("colors") || Dr("color=true") || Dr("color=always")) && (ns = 1); "FORCE_COLOR" in Ft && (Ft.FORCE_COLOR === "true" ? ns = 1 : Ft.FORCE_COLOR === "false" ? ns = 0 : ns = Ft.FORCE_COLOR.length === 0 ? 1 : Math. min(parseInt(Ft.FORCE_COLOR, 10), 3)); function um(e) { return e === 0 ? !1 : { level: e, hasBasic: !0, has256: e >= 2, has16m: e >= 3 }; } s(um, "translateLevel"); function cm(e, t) { if (ns === 0) return 0; if (Dr("color=16m") || Dr("color=full") || Dr("color=truecolor")) return 3; if (Dr("color=256")) return 2; if (e && !t && ns === void 0) return 0; let r = ns || 0; if (Ft.TERM === "dumb") return r; if (process.platform === "win32") { let n = RY.release().split("."); return Number(n[0]) >= 10 && Number(n[2]) >= 10586 ? Number(n[2]) >= 14931 ? 3 : 2 : 1; } if ("CI" in Ft) return ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((n) => n in Ft) || Ft.CI_NAME === "codeship" ? 1 : r; if ("TEAMCITY_VERSION" in Ft) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ft.TEAMCITY_VERSION) ? 1 : 0; if (Ft.COLORTERM === "truecolor") return 3; if ("TERM_PROGRAM" in Ft) { let n = parseInt((Ft.TERM_PROGRAM_VERSION || "").split(".")[0], 10); switch (Ft.TERM_PROGRAM) { case "iTerm.app": return n >= 3 ? 3 : 2; case "Apple_Terminal": return 2; } } return /-256(color)?$/i.test(Ft.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ft.TERM) || "COLORTERM" in Ft ? 1 : r; } s(cm, "supportsColor"); function qY(e) { let t = cm(e, e && e.isTTY); return um(t); } s(qY, "getSupportLevel"); Nx.exports = { supportsColor: qY, stdout: um(cm(!0, Ox.isatty(1))), stderr: um(cm(!0, Ox.isatty(2))) }; }); // ../node_modules/debug/src/node.js var Fx = T((jt, lu) => { var UY = require("tty"), ou = require("util"); jt.init = YY; jt.log = KY; jt.formatArgs = $Y; jt.save = GY; jt.load = HY; jt.useColors = VY; jt.destroy = ou.deprecate( () => { }, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`." ); jt.colors = [6, 2, 3, 4, 5, 1]; try { let e = Bx(); e && (e.stderr || e).level >= 2 && (jt.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 { } jt.inspectOpts = Object.keys(process.env).filter((e) => /^debug_/i.test(e)).reduce((e, t) => { let r = t.substring(6).toLowerCase().replace(/_([a-z])/g, (i, a) => a.toUpperCase()), n = process.env[t]; return /^(yes|on|true|enabled)$/i.test(n) ? n = !0 : /^(no|off|false|disabled)$/i.test(n) ? n = !1 : n === "null" ? n = null : n = Number( n), e[r] = n, e; }, {}); function VY() { return "colors" in jt.inspectOpts ? !!jt.inspectOpts.colors : UY.isatty(process.stderr.fd); } s(VY, "useColors"); function $Y(e) { let { namespace: t, useColors: r } = this; if (r) { let n = this.color, i = "\x1B[3" + (n < 8 ? n : "8;5;" + n), a = ` ${i};1m${t} \x1B[0m`; e[0] = a + e[0].split(` `).join(` ` + a), e.push(i + "m+" + lu.exports.humanize(this.diff) + "\x1B[0m"); } else e[0] = WY() + t + " " + e[0]; } s($Y, "formatArgs"); function WY() { return jt.inspectOpts.hideDate ? "" : (/* @__PURE__ */ new Date()).toISOString() + " "; } s(WY, "getDate"); function KY(...e) { return process.stderr.write(ou.formatWithOptions(jt.inspectOpts, ...e) + ` `); } s(KY, "log"); function GY(e) { e ? process.env.DEBUG = e : delete process.env.DEBUG; } s(GY, "save"); function HY() { return process.env.DEBUG; } s(HY, "load"); function YY(e) { e.inspectOpts = {}; let t = Object.keys(jt.inspectOpts); for (let r = 0; r < t.length; r++) e.inspectOpts[t[r]] = jt.inspectOpts[t[r]]; } s(YY, "init"); lu.exports = lm()(jt); var { formatters: kx } = lu.exports; kx.o = function(e) { return this.inspectOpts.colors = this.useColors, ou.inspect(e, this.inspectOpts).split(` `).map((t) => t.trim()).join(" "); }; kx.O = function(e) { return this.inspectOpts.colors = this.useColors, ou.inspect(e, this.inspectOpts); }; }); // ../node_modules/debug/src/index.js var Rs = T((uAe, fm) => { typeof process > "u" || process.type === "renderer" || process.browser === !0 || process.__nwjs ? fm.exports = Dx() : fm.exports = Fx(); }); // ../node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js var dm = T((It) => { "use strict"; Object.defineProperty(It, "__esModule", { value: !0 }); It.isBindingIdentifier = gz; It.isBlockScoped = xz; It.isExpression = Ez; It.isFlow = wz; It.isForAwaitStatement = _z; It.isGenerated = Az; It.isPure = Cz; It.isReferenced = Tz; It.isReferencedIdentifier = mz; It.isReferencedMemberExpression = yz; It.isRestProperty = Dz; It.isScope = vz; It.isSpreadProperty = Iz; It.isStatement = bz; It.isUser = Pz; It.isVar = Sz; var zY = Se(), { isBinding: JY, isBlockScoped: XY, isExportDeclaration: QY, isExpression: ZY, isFlow: ez, isForStatement: tz, isForXStatement: rz, isIdentifier: jx, isImportDeclaration: nz, isImportSpecifier: sz, isJSXIdentifier: iz, isJSXMemberExpression: az, isMemberExpression: oz, isRestElement: Lx, isReferenced: pm, isScope: lz, isStatement: uz, isVar: cz, isVariableDeclaration: fz, react: pz, isForOfStatement: dz } = zY, { isCompatTag: hz } = pz; function mz(e) { let { node: t, parent: r } = this; if (!jx(t, e) && !az(r, e)) if (iz(t, e)) { if (hz(t.name)) return !1; } else return !1; return pm(t, r, this.parentPath.parent); } s(mz, "isReferencedIdentifier"); function yz() { let { node: e, parent: t } = this; return oz(e) && pm(e, t); } s(yz, "isReferencedMemberExpression"); function gz() { let { node: e, parent: t } = this, r = this.parentPath.parent; return jx(e) && JY(e, t, r); } s(gz, "isBindingIdentifier"); function bz() { let { node: e, parent: t } = this; return uz(e) ? !(fz(e) && (rz(t, { left: e }) || tz(t, { init: e }))) : !1; } s(bz, "isStatement"); function Ez() { return this.isIdentifier() ? this.isReferencedIdentifier() : ZY(this.node); } s(Ez, "isExpression"); function vz() { return lz(this.node, this.parent); } s(vz, "isScope"); function Tz() { return pm(this.node, this.parent); } s(Tz, "isReferenced"); function xz() { return XY(this.node); } s(xz, "isBlockScoped"); function Sz() { return cz(this.node); } s(Sz, "isVar"); function Pz() { return this.node && !!this.node.loc; } s(Pz, "isUser"); function Az() { return !this.isUser(); } s(Az, "isGenerated"); function Cz(e) { return this.scope.isPure(this.node, e); } s(Cz, "isPure"); function wz() { let { node: e } = this; return ez(e) ? !0 : nz(e) ? e.importKind === "type" || e.importKind === "typeof" : QY(e) ? e.exportKind === "type" : sz(e) ? e.importKind === "type" || e.importKind === "typeof" : !1; } s(wz, "isFlow"); function Dz() { var e; return Lx(this.node) && ((e = this.parentPath) == null ? void 0 : e.isObjectPattern()); } s(Dz, "isRestProperty"); function Iz() { var e; return Lx(this.node) && ((e = this.parentPath) == null ? void 0 : e.isObjectExpression()); } s(Iz, "isSpreadProperty"); function _z() { return dz(this.node, { await: !0 }); } s(_z, "isForAwaitStatement"); It.isExistentialTypeParam = /* @__PURE__ */ s(function() { throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7."); }, "isExistentialTypeParam"), It.isNumericLiteralTypeAnnotation = /* @__PURE__ */ s(function() { throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7."); }, "isNumericLiteralTypeAnnotation"); }); // ../node_modules/@babel/traverse/lib/visitors.js var io = T((Us) => { "use strict"; Object.defineProperty(Us, "__esModule", { value: !0 }); Us.environmentVisitor = Mz; Us.explode = Yx; Us.isExplodedVisitor = Hx; Us.merge = Jx; Us.verify = zx; var Gx = om(), Oz = dm(), Nz = Se(), Mx = Fi(), { DEPRECATED_KEYS: Rx, DEPRECATED_ALIASES: qx, FLIPPED_ALIAS_KEYS: Ux, TYPES: Bz, __internal__deprecationWarning: Vx } = Nz; function kz(e) { return e in Gx; } s(kz, "isVirtualType"); function Hx(e) { return e?._exploded; } s(Hx, "isExplodedVisitor"); function Yx(e) { if (Hx(e)) return e; e._exploded = !0; for (let t of Object.keys(e)) { if (qs(t)) continue; let r = t.split("|"); if (r.length === 1) continue; let n = e[t]; delete e[t]; for (let i of r) e[i] = n; } zx(e), delete e.__esModule, Fz(e), Kx(e); for (let t of Object.keys(e)) { if (qs(t) || !kz(t)) continue; let r = e[t]; for (let i of Object.keys(r)) r[i] = jz(t, r[i]); delete e[t]; let n = Gx[t]; if (n !== null) for (let i of n) e[i] ? so(e[i], r) : e[i] = r; else so(e, r); } for (let t of Object.keys(e)) { if (qs(t)) continue; let r = Ux[t]; if (t in Rx) { let i = Rx[t]; Vx(t, i, "Visitor "), r = [i]; } else if (t in qx) { let i = qx[t]; Vx(t, i, "Visitor "), r = Ux[i]; } if (!r) continue; let n = e[t]; delete e[t]; for (let i of r) { let a = e[i]; a ? so(a, n) : e[i] = Object.assign({}, n); } } for (let t of Object.keys(e)) qs(t) || Kx(e[t]); return e; } s(Yx, "explode$1"); function zx(e) { if (!e._verified) { if (typeof e == "function") throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Functi\ on }`?"); for (let t of Object.keys(e)) { if ((t === "enter" || t === "exit") && $x(t, e[t]), qs(t)) continue; if (!Bz.includes(t)) throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type in @babel/traverse 7.25.3`); let r = e[t]; if (typeof r == "object") for (let n of Object.keys(r)) if (n === "enter" || n === "exit") $x(`${t}.${n}`, r[n]); else throw new Error(`You passed \`traverse()\` a visitor object with the property ${t} that has the invalid property ${n}`); } e._verified = !0; } } s(zx, "verify$1"); function $x(e, t) { let r = [].concat(t); for (let n of r) if (typeof n != "function") throw new TypeError(`Non-function found defined in ${e} with type ${typeof n}`); } s($x, "validateVisitorMethods"); function Jx(e, t = [], r) { let n = { _verified: !0, _exploded: !0 }; Object.defineProperty(n, "_exploded", { enumerable: !1 }), Object.defineProperty(n, "_verified", { enumerable: !1 }); for (let i = 0; i < e.length; i++) { let a = Yx(e[i]), o = t[i], l = a; (o || r) && (l = Wx(l, o, r)), so(n, l); for (let u of Object.keys(a)) { if (qs(u)) continue; let c = a[u]; (o || r) && (c = Wx(c, o, r)); let f = n[u] || (n[u] = {}); so(f, c); } } return n; } s(Jx, "merge"); function Wx(e, t, r) { let n = {}; for (let i of ["enter", "exit"]) { let a = e[i]; Array.isArray(a) && (a = a.map(function(o) { let l = o; return t && (l = /* @__PURE__ */ s(function(u) { o.call(t, u, t); }, "newFn")), r && (l = r(t?.key, i, l)), l !== o && (l.toString = () => o.toString()), l; }), n[i] = a); } return n; } s(Wx, "wrapWithStateOrWrapper"); function Fz(e) { for (let t of Object.keys(e)) { if (qs(t)) continue; let r = e[t]; typeof r == "function" && (e[t] = { enter: r }); } } s(Fz, "ensureEntranceObjects"); function Kx(e) { e.enter && !Array.isArray(e.enter) && (e.enter = [e.enter]), e.exit && !Array.isArray(e.exit) && (e.exit = [e.exit]); } s(Kx, "ensureCallbackArrays"); function jz(e, t) { let r = `is${e}`, n = Oz[r], i = /* @__PURE__ */ s(function(a) { if (n.call(a)) return t.apply(this, arguments); }, "newFn"); return i.toString = () => t.toString(), i; } s(jz, "wrapCheck"); function qs(e) { return e[0] === "_" || e === "enter" || e === "exit" || e === "shouldSkip" || e === "denylist" || e === "noScope" || e === "skipKeys" || e === "blacklist"; } s(qs, "shouldIgnoreKey"); function so(e, t) { for (let r of ["enter", "exit"]) t[r] && (e[r] = [].concat(e[r] || [], t[r])); } s(so, "mergePair"); var Lz = { FunctionParent(e) { e.isArrowFunctionExpression() || (e.skip(), e.isMethod() && (e.requeueComputedKeyAndDecorators ? e.requeueComputedKeyAndDecorators() : Mx.requeueComputedKeyAndDecorators.call(e))); }, Property(e) { e.isObjectProperty() || (e.skip(), e.requeueComputedKeyAndDecorators ? e.requeueComputedKeyAndDecorators() : Mx.requeueComputedKeyAndDecorators. call(e)); } }; function Mz(e) { return Jx([Lz, e]); } s(Mz, "environmentVisitor"); }); // ../node_modules/@babel/traverse/lib/scope/lib/renamer.js var Xx = T((uu) => { "use strict"; Object.defineProperty(uu, "__esModule", { value: !0 }); uu.default = void 0; var Rz = Se(), qz = cu(), Uz = io(), Vz = Fi(), $z = { ReferencedIdentifier({ node: e }, t) { e.name === t.oldName && (e.name = t.newName); }, Scope(e, t) { e.scope.bindingIdentifierEquals(t.oldName, t.binding.identifier) || (e.skip(), e.isMethod() && (e.requeueComputedKeyAndDecorators ? e. requeueComputedKeyAndDecorators() : Vz.requeueComputedKeyAndDecorators.call(e))); }, ObjectProperty({ node: e, scope: t }, r) { let { name: n } = e.key; if (e.shorthand && (n === r.oldName || n === r.newName) && t.getBindingIdentifier(n) === r.binding.identifier) { e.shorthand = !1; { var i; (i = e.extra) != null && i.shorthand && (e.extra.shorthand = !1); } } }, "AssignmentExpression|Declaration|VariableDeclarator"(e, t) { if (e.isVariableDeclaration()) return; let r = e.isAssignmentExpression() ? e.getAssignmentIdentifiers() : e.getOuterBindingIdentifiers(); for (let n in r) n === t.oldName && (r[n].name = t.newName); } }, hm = class { static { s(this, "Renamer"); } constructor(t, r, n) { this.newName = n, this.oldName = r, this.binding = t; } maybeConvertFromExportDeclaration(t) { let r = t.parentPath; if (r.isExportDeclaration()) { if (r.isExportDefaultDeclaration()) { let { declaration: n } = r.node; if (Rz.isDeclaration(n) && !n.id) return; } r.isExportAllDeclaration() || r.splitExportDeclaration(); } } maybeConvertFromClassFunctionDeclaration(t) { return t; } maybeConvertFromClassFunctionExpression(t) { return t; } rename() { let { binding: t, oldName: r, newName: n } = this, { scope: i, path: a } = t, o = a.find((u) => u.isDeclaration() || u.isFunctionExpression() || u.isClassExpression()); o && o.getOuterBindingIdentifiers()[r] === t.identifier && this.maybeConvertFromExportDeclaration(o); let l = arguments[0] || i.block; (0, qz.traverseNode)(l, (0, Uz.explode)($z), i, this, i.path, { discriminant: !0 }), arguments[0] || (i.removeOwnBinding(r), i.bindings[n] = t, this.binding.identifier.name = n), o && (this.maybeConvertFromClassFunctionDeclaration( a), this.maybeConvertFromClassFunctionExpression(a)); } }; uu.default = hm; }); // ../node_modules/@babel/traverse/lib/scope/binding.js var Qx = T((fu) => { "use strict"; Object.defineProperty(fu, "__esModule", { value: !0 }); fu.default = void 0; var mm = class { static { s(this, "Binding"); } constructor({ identifier: t, scope: r, path: n, kind: i }) { 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 = t, this.scope = r, this.path = n, this.kind = i, (i === "var" || i === "hoisted") && Wz(n) && this.reassign(n), this.clearValue(); } deoptValue() { this.clearValue(), this.hasDeoptedValue = !0; } setValue(t) { this.hasDeoptedValue || (this.hasValue = !0, this.value = t); } clearValue() { this.hasDeoptedValue = !1, this.hasValue = !1, this.value = null; } reassign(t) { this.constant = !1, !this.constantViolations.includes(t) && this.constantViolations.push(t); } reference(t) { this.referencePaths.includes(t) || (this.referenced = !0, this.references++, this.referencePaths.push(t)); } dereference() { this.references--, this.referenced = !!this.references; } }; fu.default = mm; function Wz(e) { for (let { parentPath: t, key: r } = e; t; { parentPath: t, key: r } = t) { if (t.isFunctionParent()) return !1; if (t.isWhile() || t.isForXStatement() || t.isForStatement() && r === "body") return !0; } return !1; } s(Wz, "isDeclaredInLoop"); }); // ../node_modules/@babel/traverse/node_modules/globals/globals.json var Zx = T((bAe, Kz) => { Kz.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 } }; }); // ../node_modules/@babel/traverse/node_modules/globals/index.js var tS = T((EAe, eS) => { "use strict"; eS.exports = Zx(); }); // ../node_modules/@babel/traverse/lib/cache.js var Vs = T((gr) => { "use strict"; Object.defineProperty(gr, "__esModule", { value: !0 }); gr.clear = Hz; gr.clearPath = rS; gr.clearScope = nS; gr.getCachedPaths = Yz; gr.getOrCreateCachedPaths = zz; gr.scope = gr.path = void 0; var pu = gr.path = /* @__PURE__ */ new WeakMap(), Gz = gr.scope = /* @__PURE__ */ new WeakMap(); function Hz() { rS(), nS(); } s(Hz, "clear"); function rS() { gr.path = pu = /* @__PURE__ */ new WeakMap(); } s(rS, "clearPath"); function nS() { gr.scope = Gz = /* @__PURE__ */ new WeakMap(); } s(nS, "clearScope"); var ym = Object.freeze({}); function Yz(e, t) { var r, n; return e = null, (r = pu.get((n = e) != null ? n : ym)) == null ? void 0 : r.get(t); } s(Yz, "getCachedPaths"); function zz(e, t) { var r, n; e = null; let i = pu.get((r = e) != null ? r : ym); i || pu.set((n = e) != null ? n : ym, i = /* @__PURE__ */ new WeakMap()); let a = i.get(t); return a || i.set(t, a = /* @__PURE__ */ new Map()), a; } s(zz, "getOrCreateCachedPaths"); }); // ../node_modules/@babel/traverse/lib/scope/index.js var vm = T((hu) => { "use strict"; Object.defineProperty(hu, "__esModule", { value: !0 }); hu.default = void 0; var Jz = Xx(), Xz = Ir(), Qz = Qx(), Zz = tS(), dS = Se(), eJ = dS, sS = Vs(), tJ = io(), { NOT_LOCAL_BINDING: iS, assignmentExpression: rJ, callExpression: aS, cloneNode: oS, getBindingIdentifiers: hS, identifier: $s, isArrayExpression: lS, isBinary: nJ, isCallExpression: uS, isClass: sJ, isClassBody: iJ, isClassDeclaration: aJ, isExportAllDeclaration: mS, isExportDefaultDeclaration: oJ, isExportNamedDeclaration: gm, isFunctionDeclaration: lJ, isIdentifier: Ws, isImportDeclaration: bm, isLiteral: uJ, isMemberExpression: cJ, isMethod: fJ, isModuleSpecifier: pJ, isNullLiteral: dJ, isObjectExpression: hJ, isProperty: mJ, isPureish: yJ, isRegExpLiteral: gJ, isSuper: bJ, isTaggedTemplateExpression: EJ, isTemplateLiteral: yS, isThisExpression: cS, isUnaryExpression: vJ, isVariableDeclaration: TJ, expressionStatement: xJ, matchesPattern: fS, memberExpression: Em, numericLiteral: SJ, toIdentifier: PJ, variableDeclaration: AJ, variableDeclarator: CJ, isRecordExpression: wJ, isTupleExpression: DJ, isObjectProperty: IJ, isTopicReference: pS, isMetaProperty: _J, isPrivateName: OJ, isExportDeclaration: NJ, buildUndefinedNode: BJ, sequenceExpression: kJ } = dS; function ut(e, t) { switch (e?.type) { default: if (bm(e) || NJ(e)) { var r; if ((mS(e) || gm(e) || bm(e)) && e.source) ut(e.source, t); else if ((gm(e) || bm(e)) && (r = e.specifiers) != null && r.length) for (let n of e.specifiers) ut(n, t); else (oJ(e) || gm(e)) && e.declaration && ut(e.declaration, t); } else pJ(e) ? ut(e.local, t) : uJ(e) && !dJ(e) && !gJ(e) && !yS(e) && t.push(e.value); break; case "MemberExpression": case "OptionalMemberExpression": case "JSXMemberExpression": ut(e.object, t), ut(e.property, t); break; case "Identifier": case "JSXIdentifier": t.push(e.name); break; case "CallExpression": case "OptionalCallExpression": case "NewExpression": ut(e.callee, t); break; case "ObjectExpression": case "ObjectPattern": for (let n of e.properties) ut(n, t); break; case "SpreadElement": case "RestElement": ut(e.argument, t); break; case "ObjectProperty": case "ObjectMethod": case "ClassProperty": case "ClassMethod": case "ClassPrivateProperty": case "ClassPrivateMethod": ut(e.key, t); break; case "ThisExpression": t.push("this"); break; case "Super": t.push("super"); break; case "Import": t.push("import"); break; case "DoExpression": t.push("do"); break; case "YieldExpression": t.push("yield"), ut(e.argument, t); break; case "AwaitExpression": t.push("await"), ut(e.argument, t); break; case "AssignmentExpression": ut(e.left, t); break; case "VariableDeclarator": ut(e.id, t); break; case "FunctionExpression": case "FunctionDeclaration": case "ClassExpression": case "ClassDeclaration": ut(e.id, t); break; case "PrivateName": ut(e.id, t); break; case "ParenthesizedExpression": ut(e.expression, t); break; case "UnaryExpression": case "UpdateExpression": ut(e.argument, t); break; case "MetaProperty": ut(e.meta, t), ut(e.property, t); break; case "JSXElement": ut(e.openingElement, t); break; case "JSXOpeningElement": ut(e.name, t); break; case "JSXFragment": ut(e.openingFragment, t); break; case "JSXOpeningFragment": t.push("Fragment"); break; case "JSXNamespacedName": ut(e.namespace, t), ut(e.name, t); break; } } s(ut, "gatherNodeParts"); var du = { ForStatement(e) { let t = e.get("init"); if (t.isVar()) { let { scope: r } = e; (r.getFunctionParent() || r.getProgramParent()).registerBinding("var", t); } }, Declaration(e) { if (e.isBlockScoped() || e.isImportDeclaration() || e.isExportDeclaration()) return; (e.scope.getFunctionParent() || e.scope.getProgramParent()).registerDeclaration(e); }, ImportDeclaration(e) { e.scope.getBlockParent().registerDeclaration(e); }, ReferencedIdentifier(e, t) { t.references.push(e); }, ForXStatement(e, t) { let r = e.get("left"); if (r.isPattern() || r.isIdentifier()) t.constantViolations.push(e); else if (r.isVar()) { let { scope: n } = e; (n.getFunctionParent() || n.getProgramParent()).registerBinding("var", r); } }, ExportDeclaration: { exit(e) { let { node: t, scope: r } = e; if (mS(t)) return; let n = t.declaration; if (aJ(n) || lJ(n)) { let i = n.id; if (!i) return; let a = r.getBinding(i.name); a?.reference(e); } else if (TJ(n)) for (let i of n.declarations) for (let a of Object.keys(hS(i))) { let o = r.getBinding(a); o?.reference(e); } } }, LabeledStatement(e) { e.scope.getBlockParent().registerDeclaration(e); }, AssignmentExpression(e, t) { t.assignments.push(e); }, UpdateExpression(e, t) { t.constantViolations.push(e); }, UnaryExpression(e, t) { e.node.operator === "delete" && t.constantViolations.push(e); }, BlockScoped(e) { let t = e.scope; if (t.path === e && (t = t.parent), t.getBlockParent().registerDeclaration(e), e.isClassDeclaration() && e.node.id) { let i = e.node.id.name; e.scope.bindings[i] = e.scope.parent.getBinding(i); } }, CatchClause(e) { e.scope.registerBinding("let", e); }, Function(e) { let t = e.get("params"); for (let r of t) e.scope.registerBinding("param", r); e.isFunctionExpression() && e.has("id") && !e.get("id").node[iS] && e.scope.registerBinding("local", e.get("id"), e); }, ClassExpression(e) { e.has("id") && !e.get("id").node[iS] && e.scope.registerBinding("local", e.get("id"), e); }, TSTypeAnnotation(e) { e.skip(); } }, FJ = 0, ao = class e { static { s(this, "Scope"); } constructor(t) { 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; let { node: r } = t, n = sS.scope.get(r); if (n?.path === t) return n; sS.scope.set(r, this), this.uid = FJ++, this.block = r, this.path = t, this.labels = /* @__PURE__ */ new Map(), this.inited = !1; } get parent() { var t; let r, n = this.path; do { var i; let a = n.key === "key" || n.listKey === "decorators"; n = n.parentPath, a && n.isMethod() && (n = n.parentPath), (i = n) != null && i.isScope() && (r = n); } while (n && !r); return (t = r) == null ? void 0 : t.scope; } get parentBlock() { return this.path.parent; } get hub() { return this.path.hub; } traverse(t, r, n) { (0, Xz.default)(t, r, this, n, this.path); } generateDeclaredUidIdentifier(t) { let r = this.generateUidIdentifier(t); return this.push({ id: r }), oS(r); } generateUidIdentifier(t) { return $s(this.generateUid(t)); } generateUid(t = "temp") { t = PJ(t).replace(/^_+/, "").replace(/\d+$/g, ""); let r, n = 1; do r = this._generateUid(t, n), n++; while (this.hasLabel(r) || this.hasBinding(r) || this.hasGlobal(r) || this.hasReference(r)); let i = this.getProgramParent(); return i.references[r] = !0, i.uids[r] = !0, r; } _generateUid(t, r) { let n = t; return r > 1 && (n += r), `_${n}`; } generateUidBasedOnNode(t, r) { let n = []; ut(t, n); let i = n.join("$"); return i = i.replace(/^_/, "") || r || "ref", this.generateUid(i.slice(0, 20)); } generateUidIdentifierBasedOnNode(t, r) { return $s(this.generateUidBasedOnNode(t, r)); } isStatic(t) { if (cS(t) || bJ(t) || pS(t)) return !0; if (Ws(t)) { let r = this.getBinding(t.name); return r ? r.constant : this.hasBinding(t.name); } return !1; } maybeGenerateMemoised(t, r) { if (this.isStatic(t)) return null; { let n = this.generateUidIdentifierBasedOnNode(t); return r ? n : (this.push({ id: n }), oS(n)); } } checkBlockScopedCollisions(t, r, n, i) { if (r === "param" || t.kind === "local") return; if (r === "let" || t.kind === "let" || t.kind === "const" || t.kind === "module" || t.kind === "param" && r === "const") throw this.hub.buildError(i, `Duplicate declaration "${n}"`, TypeError); } rename(t, r) { let n = this.getBinding(t); n && (r || (r = this.generateUidIdentifier(t).name), new Jz.default(n, t, r).rename(arguments[2])); } _renameFromMap(t, r, n, i) { t[r] && (t[n] = i, t[r] = null); } dump() { let t = "-".repeat(60); console.log(t); let r = this; do { console.log("#", r.block.type); for (let n of Object.keys(r.bindings)) { let i = r.bindings[n]; console.log(" -", n, { constant: i.constant, references: i.references, violations: i.constantViolations.length, kind: i.kind }); } } while (r = r.parent); console.log(t); } toArray(t, r, n) { if (Ws(t)) { let o = this.getBinding(t.name); if (o != null && o.constant && o.path.isGenericType("Array")) return t; } if (lS(t)) return t; if (Ws(t, { name: "arguments" })) return aS(Em(Em(Em($s("Array"), $s("prototype")), $s("slice")), $s("call")), [t]); let i, a = [t]; return r === !0 ? i = "toConsumableArray" : typeof r == "number" ? (a.push(SJ(r)), i = "slicedToArray") : i = "toArray", n && (a.unshift( this.hub.addHelper(i)), i = "maybeArrayLike"), aS(this.hub.addHelper(i), a); } hasLabel(t) { return !!this.getLabel(t); } getLabel(t) { return this.labels.get(t); } registerLabel(t) { this.labels.set(t.node.label.name, t); } registerDeclaration(t) { if (t.isLabeledStatement()) this.registerLabel(t); else if (t.isFunctionDeclaration()) this.registerBinding("hoisted", t.get("id"), t); else if (t.isVariableDeclaration()) { let r = t.get("declarations"), { kind: n } = t.node; for (let i of r) this.registerBinding(n === "using" || n === "await using" ? "const" : n, i); } else if (t.isClassDeclaration()) { if (t.node.declare) return; this.registerBinding("let", t); } else if (t.isImportDeclaration()) { let r = t.node.importKind === "type" || t.node.importKind === "typeof", n = t.get("specifiers"); for (let i of n) { let a = r || i.isImportSpecifier() && (i.node.importKind === "type" || i.node.importKind === "typeof"); this.registerBinding(a ? "unknown" : "module", i); } } else if (t.isExportDeclaration()) { let r = t.get("declaration"); (r.isClassDeclaration() || r.isFunctionDeclaration() || r.isVariableDeclaration()) && this.registerDeclaration(r); } else this.registerBinding("unknown", t); } buildUndefinedNode() { return BJ(); } registerConstantViolation(t) { let r = t.getAssignmentIdentifiers(); for (let i of Object.keys(r)) { var n; (n = this.getBinding(i)) == null || n.reassign(t); } } registerBinding(t, r, n = r) { if (!t) throw new ReferenceError("no `kind`"); if (r.isVariableDeclaration()) { let o = r.get("declarations"); for (let l of o) this.registerBinding(t, l); return; } let i = this.getProgramParent(), a = r.getOuterBindingIdentifiers(!0); for (let o of Object.keys(a)) { i.references[o] = !0; for (let l of a[o]) { let u = this.getOwnBinding(o); if (u) { if (u.identifier === l) continue; this.checkBlockScopedCollisions(u, t, o, l); } u ? u.reassign(n) : this.bindings[o] = new Qz.default({ identifier: l, scope: this, path: n, kind: t }); } } } addGlobal(t) { this.globals[t.name] = t; } hasUid(t) { let r = this; do if (r.uids[t]) return !0; while (r = r.parent); return !1; } hasGlobal(t) { let r = this; do if (r.globals[t]) return !0; while (r = r.parent); return !1; } hasReference(t) { return !!this.getProgramParent().references[t]; } isPure(t, r) { if (Ws(t)) { let o = this.getBinding(t.name); return o ? r ? o.constant : !0 : !1; } else { if (cS(t) || _J(t) || pS(t) || OJ(t)) return !0; if (sJ(t)) { var n; return t.superClass && !this.isPure(t.superClass, r) || ((n = t.decorators) == null ? void 0 : n.length) > 0 ? !1 : this.isPure(t. body, r); } else if (iJ(t)) { for (let o of t.body) if (!this.isPure(o, r)) return !1; return !0; } else { if (nJ(t)) return this.isPure(t.left, r) && this.isPure(t.right, r); if (lS(t) || DJ(t)) { for (let o of t.elements) if (o !== null && !this.isPure(o, r)) return !1; return !0; } else if (hJ(t) || wJ(t)) { for (let o of t.properties) if (!this.isPure(o, r)) return !1; return !0; } else if (fJ(t)) { var i; return !(t.computed && !this.isPure(t.key, r) || ((i = t.decorators) == null ? void 0 : i.length) > 0); } else if (mJ(t)) { var a; return !(t.computed && !this.isPure(t.key, r) || ((a = t.decorators) == null ? void 0 : a.length) > 0 || (IJ(t) || t.static) && t. value !== null && !this.isPure(t.value, r)); } else { if (vJ(t)) return this.isPure(t.argument, r); if (yS(t)) { for (let o of t.expressions) if (!this.isPure(o, r)) return !1; return !0; } else return EJ(t) ? fS(t.tag, "String.raw") && !this.hasBinding("String", { noGlobals: !0 }) && this.isPure(t.quasi, r) : cJ(t) ? !t.computed && Ws(t.object) && t.object.name === "Symbol" && Ws(t.property) && t.property. name !== "for" && !this.hasBinding("Symbol", { noGlobals: !0 }) : uS(t) ? fS(t.callee, "Symbol.for") && !this.hasBinding("Symbol", { noGlobals: !0 }) && t.arguments.length === 1 && eJ.isStringLiteral(t.arguments[0]) : yJ(t); } } } } setData(t, r) { return this.data[t] = r; } getData(t) { let r = this; do { let n = r.data[t]; if (n != null) return n; } while (r = r.parent); } removeData(t) { let r = this; do r.data[t] != null && (r.data[t] = null); while (r = r.parent); } init() { this.inited || (this.inited = !0, this.crawl()); } crawl() { let t = this.path; this.references = /* @__PURE__ */ Object.create(null), this.bindings = /* @__PURE__ */ Object.create(null), this.globals = /* @__PURE__ */ Object. create(null), this.uids = /* @__PURE__ */ Object.create(null), this.data = /* @__PURE__ */ Object.create(null); let r = this.getProgramParent(); if (r.crawling) return; let n = { references: [], constantViolations: [], assignments: [] }; if (this.crawling = !0, t.type !== "Program" && (0, tJ.isExplodedVisitor)(du)) { for (let a of du.enter) a.call(n, t, n); let i = du[t.type]; if (i) for (let a of i.enter) a.call(n, t, n); } t.traverse(du, n), this.crawling = !1; for (let i of n.assignments) { let a = i.getAssignmentIdentifiers(); for (let o of Object.keys(a)) i.scope.getBinding(o) || r.addGlobal(a[o]); i.scope.registerConstantViolation(i); } for (let i of n.references) { let a = i.scope.getBinding(i.node.name); a ? a.reference(i) : r.addGlobal(i.node); } for (let i of n.constantViolations) i.scope.registerConstantViolation(i); } push(t) { let r = this.path; r.isPattern() ? r = this.getPatternParent().path : !r.isBlockStatement() && !r.isProgram() && (r = this.getBlockParent().path), r.isSwitchStatement() && (r = (this.getFunctionParent() || this.getProgramParent()).path); let { init: n, unique: i, kind: a = "var", id: o } = t; if (!n && !i && (a === "var" || a === "let") && r.isFunction() && !r.node.name && uS(r.parent, { callee: r.node }) && r.parent.arguments.length <= r.node.params.length && Ws(o)) { r.pushContainer("params", o), r.scope.registerBinding("param", r.get("params")[r.node.params.length - 1]); return; } (r.isLoop() || r.isCatchClause() || r.isFunction()) && (r.ensureBlock(), r = r.get("body")); let l = t._blockHoist == null ? 2 : t._blockHoist, u = `declaration:${a}:${l}`, c = !i && r.getData(u); if (!c) { let h = AJ(a, []); h._blockHoist = l, [c] = r.unshiftContainer("body", [h]), i || r.setData(u, c); } let f = CJ(o, n), p = c.node.declarations.push(f); r.scope.registerBinding(a, c.get("declarations")[p - 1]); } getProgramParent() { let t = this; do if (t.path.isProgram()) return t; while (t = t.parent); throw new Error("Couldn't find a Program"); } getFunctionParent() { let t = this; do if (t.path.isFunctionParent()) return t; while (t = t.parent); return null; } getBlockParent() { let t = this; do if (t.path.isBlockParent()) return t; while (t = t.parent); throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program..."); } getPatternParent() { let t = this; do if (!t.path.isPattern()) return t.getBlockParent(); while (t = t.parent.parent); throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program..."); } getAllBindings() { let t = /* @__PURE__ */ Object.create(null), r = this; do { for (let n of Object.keys(r.bindings)) n in t || (t[n] = r.bindings[n]); r = r.parent; } while (r); return t; } getAllBindingsOfKind(...t) { let r = /* @__PURE__ */ Object.create(null); for (let n of t) { let i = this; do { for (let a of Object.keys(i.bindings)) { let o = i.bindings[a]; o.kind === n && (r[a] = o); } i = i.parent; } while (i); } return r; } bindingIdentifierEquals(t, r) { return this.getBindingIdentifier(t) === r; } getBinding(t) { let r = this, n; do { let a = r.getOwnBinding(t); if (a) { var i; if (!((i = n) != null && i.isPattern() && a.kind !== "param" && a.kind !== "local")) return a; } else if (!a && t === "arguments" && r.path.isFunction() && !r.path.isArrowFunctionExpression()) break; n = r.path; } while (r = r.parent); } getOwnBinding(t) { return this.bindings[t]; } getBindingIdentifier(t) { var r; return (r = this.getBinding(t)) == null ? void 0 : r.identifier; } getOwnBindingIdentifier(t) { let r = this.bindings[t]; return r?.identifier; } hasOwnBinding(t) { return !!this.getOwnBinding(t); } hasBinding(t, r) { if (!t) return !1; let n = this; do if (n.hasOwnBinding(t)) return !0; while (n = n.parent); let i, a; return typeof r == "object" ? (i = r.noGlobals, a = r.noUids) : typeof r == "boolean" && (i = r), !!(!a && this.hasUid(t) || !i && e.globals. includes(t) || !i && e.contextVariables.includes(t)); } parentHasBinding(t, r) { var n; return (n = this.parent) == null ? void 0 : n.hasBinding(t, r); } moveBindingTo(t, r) { let n = this.getBinding(t); n && (n.scope.removeOwnBinding(t), n.scope = r, r.bindings[t] = n); } removeOwnBinding(t) { delete this.bindings[t]; } removeBinding(t) { var r; (r = this.getBinding(t)) == null || r.scope.removeOwnBinding(t); let n = this; do n.uids[t] && (n.uids[t] = !1); while (n = n.parent); } hoistVariables(t = (r) => this.push({ id: r })) { this.crawl(); let r = /* @__PURE__ */ new Set(); for (let i of Object.keys(this.bindings)) { let a = this.bindings[i]; if (!a) continue; let { path: o } = a; if (!o.isVariableDeclarator()) continue; let { parent: l, parentPath: u } = o; if (l.kind !== "var" || r.has(l)) continue; r.add(o.parent); let c, f = []; for (let p of l.declarations) { var n; (n = c) != null || (c = p.id), p.init && f.push(rJ("=", p.id, p.init)); let h = Object.keys(hS(p, !1, !0, !0)); for (let y of h) t($s(y), p.init != null); } if (u.parentPath.isFor({ left: l })) u.replaceWith(c); else if (f.length === 0) u.remove(); else { let p = f.length === 1 ? f[0] : kJ(f); u.parentPath.isForStatement({ init: l }) ? u.replaceWith(p) : u.replaceWith(xJ(p)); } } } }; hu.default = ao; ao.globals = Object.keys(Zz.builtin); ao.contextVariables = ["arguments", "undefined", "Infinity", "NaN"]; }); // ../node_modules/@jridgewell/set-array/dist/set-array.umd.js var bS = T((mu, gS) => { (function(e, t) { typeof mu == "object" && typeof gS < "u" ? t(mu) : typeof define == "function" && define.amd ? define(["exports"], t) : (e = typeof globalThis < "u" ? globalThis : e || self, t(e.setArray = {})); })(mu, function(e) { "use strict"; class t { static { s(this, "SetArray"); } constructor() { this._indexes = { __proto__: null }, this.array = []; } } function r(l) { return l; } s(r, "cast"); function n(l, u) { return l._indexes[u]; } s(n, "get"); function i(l, u) { let c = n(l, u); if (c !== void 0) return c; let { array: f, _indexes: p } = l, h = f.push(u); return p[u] = h - 1; } s(i, "put"); function a(l) { let { array: u, _indexes: c } = l; if (u.length === 0) return; let f = u.pop(); c[f] = void 0; } s(a, "pop"); function o(l, u) { let c = n(l, u); if (c === void 0) return; let { array: f, _indexes: p } = l; for (let h = c + 1; h < f.length; h++) { let y = f[h]; f[h - 1] = y, p[y]--; } p[u] = void 0, f.pop(); } s(o, "remove"), e.SetArray = t, e.get = n, e.pop = a, e.put = i, e.remove = o, Object.defineProperty(e, "__esModule", { value: !0 }); }); }); // ../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js var Tm = T((yu, ES) => { (function(e, t) { typeof yu == "object" && typeof ES < "u" ? t(yu) : typeof define == "function" && define.amd ? define(["exports"], t) : (e = typeof globalThis < "u" ? globalThis : e || self, t(e.sourcemapCodec = {})); })(yu, function(e) { "use strict"; let n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", i = new Uint8Array(64), a = new Uint8Array(128); for (let W = 0; W < n.length; W++) { let q = n.charCodeAt(W); i[W] = q, a[q] = W; } function o(W, q) { let M = 0, K = 0, fe = 0; do { let X = W.next(); fe = a[X], M |= (fe & 31) << K, K += 5; } while (fe & 32); let ie = M & 1; return M >>>= 1, ie && (M = -2147483648 | -M), q + M; } s(o, "decodeInteger"); function l(W, q, M) { let K = q - M; K = K < 0 ? -K << 1 | 1 : K << 1; do { let fe = K & 31; K >>>= 5, K > 0 && (fe |= 32), W.write(i[fe]); } while (K > 0); return q; } s(l, "encodeInteger"); function u(W, q) { return W.pos >= q ? !1 : W.peek() !== 44; } s(u, "hasMoreVlq"); let c = 1024 * 16, f = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer < "u" ? { decode(W) { return Buffer.from(W.buffer, W.byteOffset, W.byteLength).toString(); } } : { decode(W) { let q = ""; for (let M = 0; M < W.length; M++) q += String.fromCharCode(W[M]); return q; } }; class p { static { s(this, "StringWriter"); } constructor() { this.pos = 0, this.out = "", this.buffer = new Uint8Array(c); } write(q) { let { buffer: M } = this; M[this.pos++] = q, this.pos === c && (this.out += f.decode(M), this.pos = 0); } flush() { let { buffer: q, out: M, pos: K } = this; return K > 0 ? M + f.decode(q.subarray(0, K)) : M; } } class h { static { s(this, "StringReader"); } constructor(q) { this.pos = 0, this.buffer = q; } next() { return this.buffer.charCodeAt(this.pos++); } peek() { return this.buffer.charCodeAt(this.pos); } indexOf(q) { let { buffer: M, pos: K } = this, fe = M.indexOf(q, K); return fe === -1 ? M.length : fe; } } let y = []; function v(W) { let { length: q } = W, M = new h(W), K = [], fe = [], ie = 0; for (; M.pos < q; M.pos++) { ie = o(M, ie); let X = o(M, 0); if (!u(M, q)) { let we = fe.pop(); we[2] = ie, we[3] = X; continue; } let J = o(M, 0), ge = o(M, 0) & 1 ? [ie, X, 0, 0, J, o(M, 0)] : [ie, X, 0, 0, J], xe = y; if (u(M, q)) { xe = []; do { let we = o(M, 0); xe.push(we); } while (u(M, q)); } ge.vars = xe, K.push(ge), fe.push(ge); } return K; } s(v, "decodeOriginalScopes"); function d(W) { let q = new p(); for (let M = 0; M < W.length; ) M = b(W, M, q, [0]); return q.flush(); } s(d, "encodeOriginalScopes"); function b(W, q, M, K) { let fe = W[q], { 0: ie, 1: X, 2: J, 3: ne, 4: ae, vars: ge } = fe; q > 0 && M.write(44), K[0] = l(M, ie, K[0]), l(M, X, 0), l(M, ae, 0); let xe = fe.length === 6 ? 1 : 0; l(M, xe, 0), fe.length === 6 && l(M, fe[5], 0); for (let we of ge) l(M, we, 0); for (q++; q < W.length; ) { let we = W[q], { 0: de, 1: Oe } = we; if (de > J || de === J && Oe >= ne) break; q = b(W, q, M, K); } return M.write(44), K[0] = l(M, J, K[0]), l(M, ne, 0), q; } s(b, "_encodeOriginalScopes"); function E(W) { let { length: q } = W, M = new h(W), K = [], fe = [], ie = 0, X = 0, J = 0, ne = 0, ae = 0, ge = 0, xe = 0, we = 0; do { let de = M.indexOf(";"), Oe = 0; for (; M.pos < de; M.pos++) { if (Oe = o(M, Oe), !u(M, de)) { let wt = fe.pop(); wt[2] = ie, wt[3] = Oe; continue; } let ht = o(M, 0), _e = ht & 1, Be = ht & 2, ct = ht & 4, Ot = null, Qt = y, Nt; if (_e) { let wt = o(M, X); J = o(M, X === wt ? J : 0), X = wt, Nt = [ie, Oe, 0, 0, wt, J]; } else Nt = [ie, Oe, 0, 0]; if (Nt.isScope = !!ct, Be) { let wt = ne, fr = ae; ne = o(M, ne); let rn = wt === ne; ae = o(M, rn ? ae : 0), ge = o(M, rn && fr === ae ? ge : 0), Ot = [ne, ae, ge]; } if (Nt.callsite = Ot, u(M, de)) { Qt = []; do { xe = ie, we = Oe; let wt = o(M, 0), fr; if (wt < -1) { fr = [[o(M, 0)]]; for (let rn = -1; rn > wt; rn--) { let vn = xe; xe = o(M, xe), we = o(M, xe === vn ? we : 0); let Ur = o(M, 0); fr.push([Ur, xe, we]); } } else fr = [[wt]]; Qt.push(fr); } while (u(M, de)); } Nt.bindings = Qt, K.push(Nt), fe.push(Nt); } ie++, M.pos = de + 1; } while (M.pos < q); return K; } s(E, "decodeGeneratedRanges"); function I(W) { if (W.length === 0) return ""; let q = new p(); for (let M = 0; M < W.length; ) M = O(W, M, q, [0, 0, 0, 0, 0, 0, 0]); return q.flush(); } s(I, "encodeGeneratedRanges"); function O(W, q, M, K) { let fe = W[q], { 0: ie, 1: X, 2: J, 3: ne, isScope: ae, callsite: ge, bindings: xe } = fe; K[0] < ie ? (k(M, K[0], ie), K[0] = ie, K[1] = 0) : q > 0 && M.write(44), K[1] = l(M, fe[1], K[1]); let we = (fe.length === 6 ? 1 : 0) | (ge ? 2 : 0) | (ae ? 4 : 0); if (l(M, we, 0), fe.length === 6) { let { 4: de, 5: Oe } = fe; de !== K[2] && (K[3] = 0), K[2] = l(M, de, K[2]), K[3] = l(M, Oe, K[3]); } if (ge) { let { 0: de, 1: Oe, 2: ht } = fe.callsite; de !== K[4] ? (K[5] = 0, K[6] = 0) : Oe !== K[5] && (K[6] = 0), K[4] = l(M, de, K[4]), K[5] = l(M, Oe, K[5]), K[6] = l(M, ht, K[6]); } if (xe) for (let de of xe) { de.length > 1 && l(M, -de.length, 0); let Oe = de[0][0]; l(M, Oe, 0); let ht = ie, _e = X; for (let Be = 1; Be < de.length; Be++) { let ct = de[Be]; ht = l(M, ct[1], ht), _e = l(M, ct[2], _e), l(M, ct[0], 0); } } for (q++; q < W.length; ) { let de = W[q], { 0: Oe, 1: ht } = de; if (Oe > J || Oe === J && ht >= ne) break; q = O(W, q, M, K); } return K[0] < J ? (k(M, K[0], J), K[0] = J, K[1] = 0) : M.write(44), K[1] = l(M, ne, K[1]), q; } s(O, "_encodeGeneratedRanges"); function k(W, q, M) { do W.write(59); while (++q < M); } s(k, "catchupLine"); function j(W) { let { length: q } = W, M = new h(W), K = [], fe = 0, ie = 0, X = 0, J = 0, ne = 0; do { let ae = M.indexOf(";"), ge = [], xe = !0, we = 0; for (fe = 0; M.pos < ae; ) { let de; fe = o(M, fe), fe < we && (xe = !1), we = fe, u(M, ae) ? (ie = o(M, ie), X = o(M, X), J = o(M, J), u(M, ae) ? (ne = o(M, ne), de = [fe, ie, X, J, ne]) : de = [fe, ie, X, J]) : de = [fe], ge.push(de), M.pos++; } xe || R(ge), K.push(ge), M.pos = ae + 1; } while (M.pos <= q); return K; } s(j, "decode"); function R(W) { W.sort(U); } s(R, "sort"); function U(W, q) { return W[0] - q[0]; } s(U, "sortComparator"); function Q(W) { let q = new p(), M = 0, K = 0, fe = 0, ie = 0; for (let X = 0; X < W.length; X++) { let J = W[X]; if (X > 0 && q.write(59), J.length === 0) continue; let ne = 0; for (let ae = 0; ae < J.length; ae++) { let ge = J[ae]; ae > 0 && q.write(44), ne = l(q, ge[0], ne), ge.length !== 1 && (M = l(q, ge[1], M), K = l(q, ge[2], K), fe = l(q, ge[3], fe), ge. length !== 4 && (ie = l(q, ge[4], ie))); } } return q.flush(); } s(Q, "encode"), e.decode = j, e.decodeGeneratedRanges = E, e.decodeOriginalScopes = v, e.encode = Q, e.encodeGeneratedRanges = I, e.encodeOriginalScopes = d, Object.defineProperty(e, "__esModule", { value: !0 }); }); }); // ../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js var vS = T((xm, Sm) => { (function(e, t) { typeof xm == "object" && typeof Sm < "u" ? Sm.exports = t() : typeof define == "function" && define.amd ? define(t) : (e = typeof globalThis < "u" ? globalThis : e || self, e.resolveURI = t()); })(xm, function() { "use strict"; let e = /^[\w+.-]+:\/\//, t = /^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/, r = /^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i; var n; (function(E) { E[E.Empty = 1] = "Empty", E[E.Hash = 2] = "Hash", E[E.Query = 3] = "Query", E[E.RelativePath = 4] = "RelativePath", E[E.AbsolutePath = 5] = "AbsolutePath", E[E.SchemeRelative = 6] = "SchemeRelative", E[E.Absolute = 7] = "Absolute"; })(n || (n = {})); function i(E) { return e.test(E); } s(i, "isAbsoluteUrl"); function a(E) { return E.startsWith("//"); } s(a, "isSchemeRelativeUrl"); function o(E) { return E.startsWith("/"); } s(o, "isAbsolutePath"); function l(E) { return E.startsWith("file:"); } s(l, "isFileUrl"); function u(E) { return /^[.?#]/.test(E); } s(u, "isRelative"); function c(E) { let I = t.exec(E); return p(I[1], I[2] || "", I[3], I[4] || "", I[5] || "/", I[6] || "", I[7] || ""); } s(c, "parseAbsoluteUrl"); function f(E) { let I = r.exec(E), O = I[2]; return p("file:", "", I[1] || "", "", o(O) ? O : "/" + O, I[3] || "", I[4] || ""); } s(f, "parseFileUrl"); function p(E, I, O, k, j, R, U) { return { scheme: E, user: I, host: O, port: k, path: j, query: R, hash: U, type: n.Absolute }; } s(p, "makeUrl"); function h(E) { if (a(E)) { let O = c("http:" + E); return O.scheme = "", O.type = n.SchemeRelative, O; } if (o(E)) { let O = c("http://foo.com" + E); return O.scheme = "", O.host = "", O.type = n.AbsolutePath, O; } if (l(E)) return f(E); if (i(E)) return c(E); let I = c("http://foo.com/" + E); return I.scheme = "", I.host = "", I.type = E ? E.startsWith("?") ? n.Query : E.startsWith("#") ? n.Hash : n.RelativePath : n.Empty, I; } s(h, "parseUrl"); function y(E) { if (E.endsWith("/..")) return E; let I = E.lastIndexOf("/"); return E.slice(0, I + 1); } s(y, "stripPathFilename"); function v(E, I) { d(I, I.type), E.path === "/" ? E.path = I.path : E.path = y(I.path) + E.path; } s(v, "mergePaths"); function d(E, I) { let O = I <= n.RelativePath, k = E.path.split("/"), j = 1, R = 0, U = !1; for (let W = 1; W < k.length; W++) { let q = k[W]; if (!q) { U = !0; continue; } if (U = !1, q !== ".") { if (q === "..") { R ? (U = !0, R--, j--) : O && (k[j++] = q); continue; } k[j++] = q, R++; } } let Q = ""; for (let W = 1; W < j; W++) Q += "/" + k[W]; (!Q || U && !Q.endsWith("/..")) && (Q += "/"), E.path = Q; } s(d, "normalizePath"); function b(E, I) { if (!E && !I) return ""; let O = h(E), k = O.type; if (I && k !== n.Absolute) { let R = h(I), U = R.type; switch (k) { case n.Empty: O.hash = R.hash; // fall through case n.Hash: O.query = R.query; // fall through case n.Query: case n.RelativePath: v(O, R); // fall through case n.AbsolutePath: O.user = R.user, O.host = R.host, O.port = R.port; // fall through case n.SchemeRelative: O.scheme = R.scheme; } U > k && (k = U); } d(O, k); let j = O.query + O.hash; switch (k) { // This is impossible, because of the empty checks at the start of the function. // case UrlType.Empty: case n.Hash: case n.Query: return j; case n.RelativePath: { let R = O.path.slice(1); return R ? u(I || E) && !u(R) ? "./" + R + j : R + j : j || "."; } case n.AbsolutePath: return O.path + j; default: return O.scheme + "//" + O.user + O.host + O.port + O.path + j; } } return s(b, "resolve"), b; }); }); // ../node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js var bu = T((gu, TS) => { (function(e, t) { typeof gu == "object" && typeof TS < "u" ? t(gu, Tm(), vS()) : typeof define == "function" && define.amd ? define(["exports", "@jridgewe\ ll/sourcemap-codec", "@jridgewell/resolve-uri"], t) : (e = typeof globalThis < "u" ? globalThis : e || self, t(e.traceMapping = {}, e.sourcemapCodec, e.resolveURI)); })(gu, function(e, t, r) { "use strict"; function n(F, V) { return V && !V.endsWith("/") && (V += "/"), r(F, V); } s(n, "resolve"); function i(F) { if (!F) return ""; let V = F.lastIndexOf("/"); return F.slice(0, V + 1); } s(i, "stripFilename"); let a = 0, o = 1, l = 2, u = 3, c = 4, f = 1, p = 2; function h(F, V) { let H = y(F, 0); if (H === F.length) return F; V || (F = F.slice()); for (let Z = H; Z < F.length; Z = y(F, Z + 1)) F[Z] = d(F[Z], V); return F; } s(h, "maybeSort"); function y(F, V) { for (let H = V; H < F.length; H++) if (!v(F[H])) return H; return F.length; } s(y, "nextUnsortedSegmentLine"); function v(F) { for (let V = 1; V < F.length; V++) if (F[V][a] < F[V - 1][a]) return !1; return !0; } s(v, "isSorted"); function d(F, V) { return V || (F = F.slice()), F.sort(b); } s(d, "sortSegments"); function b(F, V) { return F[a] - V[a]; } s(b, "sortComparator"); let E = !1; function I(F, V, H, Z) { for (; H <= Z; ) { let pe = H + (Z - H >> 1), ue = F[pe][a] - V; if (ue === 0) return E = !0, pe; ue < 0 ? H = pe + 1 : Z = pe - 1; } return E = !1, H - 1; } s(I, "binarySearch"); function O(F, V, H) { for (let Z = H + 1; Z < F.length && F[Z][a] === V; H = Z++) ; return H; } s(O, "upperBound"); function k(F, V, H) { for (let Z = H - 1; Z >= 0 && F[Z][a] === V; H = Z--) ; return H; } s(k, "lowerBound"); function j() { return { lastKey: -1, lastNeedle: -1, lastIndex: -1 }; } s(j, "memoizedState"); function R(F, V, H, Z) { let { lastKey: pe, lastNeedle: ue, lastIndex: Ae } = H, ke = 0, De = F.length - 1; if (Z === pe) { if (V === ue) return E = Ae !== -1 && F[Ae][a] === V, Ae; V >= ue ? ke = Ae === -1 ? 0 : Ae : De = Ae; } return H.lastKey = Z, H.lastNeedle = V, H.lastIndex = I(F, V, ke, De); } s(R, "memoizedBinarySearch"); function U(F, V) { let H = V.map(W); for (let Z = 0; Z < F.length; Z++) { let pe = F[Z]; for (let ue = 0; ue < pe.length; ue++) { let Ae = pe[ue]; if (Ae.length === 1) continue; let ke = Ae[o], De = Ae[l], Fe = Ae[u], At = H[ke], ze = At[De] || (At[De] = []), Ve = V[ke], lt = O(ze, Fe, R(ze, Fe, Ve, De)); Ve.lastIndex = ++lt, Q(ze, lt, [Fe, Z, Ae[a]]); } } return H; } s(U, "buildBySources"); function Q(F, V, H) { for (let Z = F.length; Z > V; Z--) F[Z] = F[Z - 1]; F[V] = H; } s(Q, "insert"); function W() { return { __proto__: null }; } s(W, "buildNullArray"); let q = /* @__PURE__ */ s(function(F, V) { let H = M(F); if (!("sections" in H)) return new xe(H, V); let Z = [], pe = [], ue = [], Ae = [], ke = []; K(H, V, Z, pe, ue, Ae, ke, 0, 0, 1 / 0, 1 / 0); let De = { version: 3, file: H.file, names: Ae, sources: pe, sourcesContent: ue, mappings: Z, ignoreList: ke }; return fr(De); }, "AnyMap"); function M(F) { return typeof F == "string" ? JSON.parse(F) : F; } s(M, "parse"); function K(F, V, H, Z, pe, ue, Ae, ke, De, Fe, At) { let { sections: ze } = F; for (let Ve = 0; Ve < ze.length; Ve++) { let { map: lt, offset: Et } = ze[Ve], Bt = Fe, sn = At; if (Ve + 1 < ze.length) { let zn = ze[Ve + 1].offset; Bt = Math.min(Fe, ke + zn.line), Bt === Fe ? sn = Math.min(At, De + zn.column) : Bt < Fe && (sn = De + zn.column); } fe(lt, V, H, Z, pe, ue, Ae, ke + Et.line, De + Et.column, Bt, sn); } } s(K, "recurse"); function fe(F, V, H, Z, pe, ue, Ae, ke, De, Fe, At) { let ze = M(F); if ("sections" in ze) return K(...arguments); let Ve = new xe(ze, V), lt = Z.length, Et = ue.length, Bt = Oe(Ve), { resolvedSources: sn, sourcesContent: zn, ignoreList: xa } = Ve; if (ie(Z, sn), ie(ue, Ve.names), zn) ie(pe, zn); else for (let Zt = 0; Zt < sn.length; Zt++) pe.push(null); if (xa) for (let Zt = 0; Zt < xa.length; Zt++) Ae.push(xa[Zt] + lt); for (let Zt = 0; Zt < Bt.length; Zt++) { let hi = ke + Zt; if (hi > Fe) return; let Sa = X(H, hi), nN = Zt === 0 ? De : 0, L1 = Bt[Zt]; for (let Yf = 0; Yf < L1.length; Yf++) { let Ds = L1[Yf], cl = nN + Ds[a]; if (hi === Fe && cl >= At) return; if (Ds.length === 1) { Sa.push([cl]); continue; } let M1 = lt + Ds[o], R1 = Ds[l], q1 = Ds[u]; Sa.push(Ds.length === 4 ? [cl, M1, R1, q1] : [cl, M1, R1, q1, Et + Ds[c]]); } } } s(fe, "addSection"); function ie(F, V) { for (let H = 0; H < V.length; H++) F.push(V[H]); } s(ie, "append"); function X(F, V) { for (let H = F.length; H <= V; H++) F[H] = []; return F[V]; } s(X, "getLine"); let J = "`line` must be greater than 0 (lines start at line 1)", ne = "`column` must be greater than or equal to 0 (columns start at col\ umn 0)", ae = -1, ge = 1; class xe { static { s(this, "TraceMap"); } constructor(V, H) { let Z = typeof V == "string"; if (!Z && V._decodedMemo) return V; let pe = Z ? JSON.parse(V) : V, { version: ue, file: Ae, names: ke, sourceRoot: De, sources: Fe, sourcesContent: At } = pe; this.version = ue, this.file = Ae, this.names = ke || [], this.sourceRoot = De, this.sources = Fe, this.sourcesContent = At, this.ignoreList = pe.ignoreList || pe.x_google_ignoreList || void 0; let ze = n(De || "", i(H)); this.resolvedSources = Fe.map((lt) => n(lt || "", ze)); let { mappings: Ve } = pe; typeof Ve == "string" ? (this._encoded = Ve, this._decoded = void 0) : (this._encoded = void 0, this._decoded = h(Ve, Z)), this._decodedMemo = j(), this._bySources = void 0, this._bySourceMemos = void 0; } } function we(F) { return F; } s(we, "cast"); function de(F) { var V, H; return (V = (H = F)._encoded) !== null && V !== void 0 ? V : H._encoded = t.encode(F._decoded); } s(de, "encodedMappings"); function Oe(F) { var V; return (V = F)._decoded || (V._decoded = t.decode(F._encoded)); } s(Oe, "decodedMappings"); function ht(F, V, H) { let Z = Oe(F); if (V >= Z.length) return null; let pe = Z[V], ue = Tn(pe, F._decodedMemo, V, H, ge); return ue === -1 ? null : pe[ue]; } s(ht, "traceSegment"); function _e(F, V) { let { line: H, column: Z, bias: pe } = V; if (H--, H < 0) throw new Error(J); if (Z < 0) throw new Error(ne); let ue = Oe(F); if (H >= ue.length) return nn(null, null, null, null); let Ae = ue[H], ke = Tn(Ae, F._decodedMemo, H, Z, pe || ge); if (ke === -1) return nn(null, null, null, null); let De = Ae[ke]; if (De.length === 1) return nn(null, null, null, null); let { names: Fe, resolvedSources: At } = F; return nn(At[De[o]], De[l] + 1, De[u], De.length === 5 ? Fe[De[c]] : null); } s(_e, "originalPositionFor"); function Be(F, V) { let { source: H, line: Z, column: pe, bias: ue } = V; return re(F, H, Z, pe, ue || ge, !1); } s(Be, "generatedPositionFor"); function ct(F, V) { let { source: H, line: Z, column: pe, bias: ue } = V; return re(F, H, Z, pe, ue || ae, !0); } s(ct, "allGeneratedPositionsFor"); function Ot(F, V) { let H = Oe(F), { names: Z, resolvedSources: pe } = F; for (let ue = 0; ue < H.length; ue++) { let Ae = H[ue]; for (let ke = 0; ke < Ae.length; ke++) { let De = Ae[ke], Fe = ue + 1, At = De[0], ze = null, Ve = null, lt = null, Et = null; De.length !== 1 && (ze = pe[De[1]], Ve = De[2] + 1, lt = De[3]), De.length === 5 && (Et = Z[De[4]]), V({ generatedLine: Fe, generatedColumn: At, source: ze, originalLine: Ve, originalColumn: lt, name: Et }); } } } s(Ot, "eachMapping"); function Qt(F, V) { let { sources: H, resolvedSources: Z } = F, pe = H.indexOf(V); return pe === -1 && (pe = Z.indexOf(V)), pe; } s(Qt, "sourceIndex"); function Nt(F, V) { let { sourcesContent: H } = F; if (H == null) return null; let Z = Qt(F, V); return Z === -1 ? null : H[Z]; } s(Nt, "sourceContentFor"); function wt(F, V) { let { ignoreList: H } = F; if (H == null) return !1; let Z = Qt(F, V); return Z === -1 ? !1 : H.includes(Z); } s(wt, "isIgnored"); function fr(F, V) { let H = new xe(Ur(F, []), V); return H._decoded = F.mappings, H; } s(fr, "presortedDecodedMap"); function rn(F) { return Ur(F, Oe(F)); } s(rn, "decodedMap"); function vn(F) { return Ur(F, de(F)); } s(vn, "encodedMap"); function Ur(F, V) { return { version: F.version, file: F.file, names: F.names, sourceRoot: F.sourceRoot, sources: F.sources, sourcesContent: F.sourcesContent, mappings: V, ignoreList: F.ignoreList || F.x_google_ignoreList }; } s(Ur, "clone"); function nn(F, V, H, Z) { return { source: F, line: V, column: H, name: Z }; } s(nn, "OMapping"); function Yn(F, V) { return { line: F, column: V }; } s(Yn, "GMapping"); function Tn(F, V, H, Z, pe) { let ue = R(F, Z, V, H); return E ? ue = (pe === ae ? O : k)(F, Z, ue) : pe === ae && ue++, ue === -1 || ue === F.length ? -1 : ue; } s(Tn, "traceSegmentInternal"); function le(F, V, H, Z, pe) { let ue = Tn(F, V, H, Z, ge); if (!E && pe === ae && ue++, ue === -1 || ue === F.length) return []; let Ae = E ? Z : F[ue][a]; E || (ue = k(F, Ae, ue)); let ke = O(F, Ae, ue), De = []; for (; ue <= ke; ue++) { let Fe = F[ue]; De.push(Yn(Fe[f] + 1, Fe[p])); } return De; } s(le, "sliceGeneratedPositions"); function re(F, V, H, Z, pe, ue) { var Ae; if (H--, H < 0) throw new Error(J); if (Z < 0) throw new Error(ne); let { sources: ke, resolvedSources: De } = F, Fe = ke.indexOf(V); if (Fe === -1 && (Fe = De.indexOf(V)), Fe === -1) return ue ? [] : Yn(null, null); let ze = ((Ae = F)._bySources || (Ae._bySources = U(Oe(F), F._bySourceMemos = ke.map(j))))[Fe][H]; if (ze == null) return ue ? [] : Yn(null, null); let Ve = F._bySourceMemos[Fe]; if (ue) return le(ze, Ve, H, Z, pe); let lt = Tn(ze, Ve, H, Z, pe); if (lt === -1) return Yn(null, null); let Et = ze[lt]; return Yn(Et[f] + 1, Et[p]); } s(re, "generatedPosition"), e.AnyMap = q, e.GREATEST_LOWER_BOUND = ge, e.LEAST_UPPER_BOUND = ae, e.TraceMap = xe, e.allGeneratedPositionsFor = ct, e.decodedMap = rn, e.decodedMappings = Oe, e.eachMapping = Ot, e.encodedMap = vn, e.encodedMappings = de, e.generatedPositionFor = Be, e.isIgnored = wt, e.originalPositionFor = _e, e.presortedDecodedMap = fr, e.sourceContentFor = Nt, e.traceSegment = ht; }); }); // ../node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js var Pm = T((Eu, xS) => { (function(e, t) { typeof Eu == "object" && typeof xS < "u" ? t(Eu, bS(), Tm(), bu()) : typeof define == "function" && define.amd ? define(["exports", "@jr\ idgewell/set-array", "@jridgewell/sourcemap-codec", "@jridgewell/trace-mapping"], t) : (e = typeof globalThis < "u" ? globalThis : e || self, t(e.genMapping = {}, e.setArray, e.sourcemapCodec, e.traceMapping)); })(Eu, function(e, t, r, n) { "use strict"; class f { static { s(this, "GenMapping"); } constructor({ file: J, sourceRoot: ne } = {}) { this._names = new t.SetArray(), this._sources = new t.SetArray(), this._sourcesContent = [], this._mappings = [], this.file = J, this. sourceRoot = ne, this._ignoreList = new t.SetArray(); } } function p(X) { return X; } s(p, "cast"); function h(X, J, ne, ae, ge, xe, we, de) { return R(!1, X, J, ne, ae, ge, xe, we, de); } s(h, "addSegment"); function y(X, J) { return ie(!1, X, J); } s(y, "addMapping"); let v = /* @__PURE__ */ s((X, J, ne, ae, ge, xe, we, de) => R(!0, X, J, ne, ae, ge, xe, we, de), "maybeAddSegment"), d = /* @__PURE__ */ s( (X, J) => ie(!0, X, J), "maybeAddMapping"); function b(X, J, ne) { let { _sources: ae, _sourcesContent: ge } = X, xe = t.put(ae, J); ge[xe] = ne; } s(b, "setSourceContent"); function E(X, J, ne = !0) { let { _sources: ae, _sourcesContent: ge, _ignoreList: xe } = X, we = t.put(ae, J); we === ge.length && (ge[we] = null), ne ? t.put(xe, we) : t.remove(xe, we); } s(E, "setIgnore"); function I(X) { let { _mappings: J, _sources: ne, _sourcesContent: ae, _names: ge, _ignoreList: xe } = X; return q(J), { version: 3, file: X.file || void 0, names: ge.array, sourceRoot: X.sourceRoot || void 0, sources: ne.array, sourcesContent: ae, mappings: J, ignoreList: xe.array }; } s(I, "toDecodedMap"); function O(X) { let J = I(X); return Object.assign(Object.assign({}, J), { mappings: r.encode(J.mappings) }); } s(O, "toEncodedMap"); function k(X) { let J = new n.TraceMap(X), ne = new f({ file: J.file, sourceRoot: J.sourceRoot }); return M(ne._names, J.names), M(ne._sources, J.sources), ne._sourcesContent = J.sourcesContent || J.sources.map(() => null), ne._mappings = n.decodedMappings(J), J.ignoreList && M(ne._ignoreList, J.ignoreList), ne; } s(k, "fromMap"); function j(X) { let J = [], { _mappings: ne, _sources: ae, _names: ge } = X; for (let xe = 0; xe < ne.length; xe++) { let we = ne[xe]; for (let de = 0; de < we.length; de++) { let Oe = we[de], ht = { line: xe + 1, column: Oe[0] }, _e, Be, ct; Oe.length !== 1 && (_e = ae.array[Oe[1]], Be = { line: Oe[2] + 1, column: Oe[3] }, Oe.length === 5 && (ct = ge.array[Oe[4]])), J.push( { generated: ht, source: _e, original: Be, name: ct }); } } return J; } s(j, "allMappings"); function R(X, J, ne, ae, ge, xe, we, de, Oe) { let { _mappings: ht, _sources: _e, _sourcesContent: Be, _names: ct } = J, Ot = U(ht, ne), Qt = Q(Ot, ae); if (!ge) return X && K(Ot, Qt) ? void 0 : W(Ot, Qt, [ae]); let Nt = t.put(_e, ge), wt = de ? t.put(ct, de) : -1; if (Nt === Be.length && (Be[Nt] = Oe ?? null), !(X && fe(Ot, Qt, Nt, xe, we, wt))) return W(Ot, Qt, de ? [ae, Nt, xe, we, wt] : [ae, Nt, xe, we]); } s(R, "addSegmentInternal"); function U(X, J) { for (let ne = X.length; ne <= J; ne++) X[ne] = []; return X[J]; } s(U, "getLine"); function Q(X, J) { let ne = X.length; for (let ae = ne - 1; ae >= 0; ne = ae--) { let ge = X[ae]; if (J >= ge[0]) break; } return ne; } s(Q, "getColumnIndex"); function W(X, J, ne) { for (let ae = X.length; ae > J; ae--) X[ae] = X[ae - 1]; X[J] = ne; } s(W, "insert"); function q(X) { let { length: J } = X, ne = J; for (let ae = ne - 1; ae >= 0 && !(X[ae].length > 0); ne = ae, ae--) ; ne < J && (X.length = ne); } s(q, "removeEmptyFinalLines"); function M(X, J) { for (let ne = 0; ne < J.length; ne++) t.put(X, J[ne]); } s(M, "putAll"); function K(X, J) { return J === 0 ? !0 : X[J - 1].length === 1; } s(K, "skipSourceless"); function fe(X, J, ne, ae, ge, xe) { if (J === 0) return !1; let we = X[J - 1]; return we.length === 1 ? !1 : ne === we[1] && ae === we[2] && ge === we[3] && xe === (we.length === 5 ? we[4] : -1); } s(fe, "skipSource"); function ie(X, J, ne) { let { generated: ae, source: ge, original: xe, name: we, content: de } = ne; return ge ? R(X, J, ae.line - 1, ae.column, ge, xe.line - 1, xe.column, we, de) : R(X, J, ae.line - 1, ae.column, null, null, null, null, null); } s(ie, "addMappingInternal"), e.GenMapping = f, e.addMapping = y, e.addSegment = h, e.allMappings = j, e.fromMap = k, e.maybeAddMapping = d, e.maybeAddSegment = v, e.setIgnore = E, e.setSourceContent = b, e.toDecodedMap = I, e.toEncodedMap = O, Object.defineProperty(e, "__e\ sModule", { value: !0 }); }); }); // ../node_modules/@babel/generator/lib/source-map.js var SS = T((vu) => { "use strict"; Object.defineProperty(vu, "__esModule", { value: !0 }); vu.default = void 0; var ss = Pm(), Am = bu(), Cm = class { static { s(this, "SourceMap"); } constructor(t, r) { var n; this._map = void 0, this._rawMappings = void 0, this._sourceFileName = void 0, this._lastGenLine = 0, this._lastSourceLine = 0, this._lastSourceColumn = 0, this._inputMap = void 0; let i = this._map = new ss.GenMapping({ sourceRoot: t.sourceRoot }); if (this._sourceFileName = (n = t.sourceFileName) == null ? void 0 : n.replace(/\\/g, "/"), this._rawMappings = void 0, t.inputSourceMap) { this._inputMap = new Am.TraceMap(t.inputSourceMap); let o = this._inputMap.resolvedSources; if (o.length) for (let l = 0; l < o.length; l++) { var a; (0, ss.setSourceContent)(i, o[l], (a = this._inputMap.sourcesContent) == null ? void 0 : a[l]); } } if (typeof r == "string" && !t.inputSourceMap) (0, ss.setSourceContent)(i, this._sourceFileName, r); else if (typeof r == "object") for (let o of Object.keys(r)) (0, ss.setSourceContent)(i, o.replace(/\\/g, "/"), r[o]); } get() { return (0, ss.toEncodedMap)(this._map); } getDecoded() { return (0, ss.toDecodedMap)(this._map); } getRawMappings() { return this._rawMappings || (this._rawMappings = (0, ss.allMappings)(this._map)); } mark(t, r, n, i, a, o) { var l; this._rawMappings = void 0; let u; if (r != null) if (this._inputMap) { if (u = (0, Am.originalPositionFor)(this._inputMap, { line: r, column: n }), !u.name && a) { let c = (0, Am.originalPositionFor)(this._inputMap, a); c.name && (i = c.name); } } else u = { source: o?.replace(/\\/g, "/") || this._sourceFileName, line: r, column: n }; (0, ss.maybeAddMapping)(this._map, { name: i, generated: t, source: (l = u) == null ? void 0 : l.source, original: u }); } }; vu.default = Cm; }); // ../node_modules/@babel/generator/lib/buffer.js var PS = T((Tu) => { "use strict"; Object.defineProperty(Tu, "__esModule", { value: !0 }); Tu.default = void 0; var wm = class { static { s(this, "Buffer"); } constructor(t, r) { 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 = t, this._indentChar = r; for (let n = 0; n < 64; n++) this._fastIndentations.push(r.repeat(n)); this._allocQueue(); } _allocQueue() { let t = this._queue; for (let r = 0; r < 16; r++) t.push({ char: 0, repeat: 1, line: void 0, column: void 0, identifierName: void 0, identifierNamePos: void 0, filename: "" }); } _pushQueue(t, r, n, i, a) { let o = this._queueCursor; o === this._queue.length && this._allocQueue(); let l = this._queue[o]; l.char = t, l.repeat = r, l.line = n, l.column = i, l.filename = a, this._queueCursor++; } _popQueue() { if (this._queueCursor === 0) throw new Error("Cannot pop from empty queue"); return this._queue[--this._queueCursor]; } get() { this._flush(); let t = this._map, r = { code: (this._buf + this._str).trimRight(), decodedMap: t?.getDecoded(), get __mergedMap() { return this.map; }, get map() { let n = t ? t.get() : null; return r.map = n, n; }, set map(n) { Object.defineProperty(r, "map", { value: n, writable: !0 }); }, get rawMappings() { let n = t?.getRawMappings(); return r.rawMappings = n, n; }, set rawMappings(n) { Object.defineProperty(r, "rawMappings", { value: n, writable: !0 }); } }; return r; } append(t, r) { this._flush(), this._append(t, this._sourcePosition, r); } appendChar(t) { this._flush(), this._appendChar(t, 1, this._sourcePosition); } queue(t) { if (t === 10) for (; this._queueCursor !== 0; ) { let n = this._queue[this._queueCursor - 1].char; if (n !== 32 && n !== 9) break; this._queueCursor--; } let r = this._sourcePosition; this._pushQueue(t, 1, r.line, r.column, r.filename); } queueIndentation(t) { t !== 0 && this._pushQueue(-1, t, void 0, void 0, void 0); } _flush() { let t = this._queueCursor, r = this._queue; for (let n = 0; n < t; n++) { let i = r[n]; this._appendChar(i.char, i.repeat, i); } this._queueCursor = 0; } _appendChar(t, r, n) { if (this._last = t, t === -1) { let i = this._fastIndentations[r]; i !== void 0 ? this._str += i : this._str += r > 1 ? this._indentChar.repeat(r) : this._indentChar; } else this._str += r > 1 ? String.fromCharCode(t).repeat(r) : String.fromCharCode(t); t !== 10 ? (this._mark(n.line, n.column, n.identifierName, n.identifierNamePos, n.filename), this._position.column += r) : (this._position. line++, this._position.column = 0), this._canMarkIdName && (n.identifierName = void 0, n.identifierNamePos = void 0); } _append(t, r, n) { let i = t.length, a = this._position; if (this._last = t.charCodeAt(i - 1), ++this._appendCount > 4096 ? (+this._str, this._buf += this._str, this._str = t, this._appendCount = 0) : this._str += t, !n && !this._map) { a.column += i; return; } let { column: o, identifierName: l, identifierNamePos: u, filename: c } = r, f = r.line; (l != null || u != null) && this._canMarkIdName && (r.identifierName = void 0, r.identifierNamePos = void 0); let p = t.indexOf(` `), h = 0; for (p !== 0 && this._mark(f, o, l, u, c); p !== -1; ) a.line++, a.column = 0, h = p + 1, h < i && f !== void 0 && this._mark(++f, 0, null, null, c), p = t.indexOf(` `, h); a.column += i - h; } _mark(t, r, n, i, a) { var o; (o = this._map) == null || o.mark(this._position, t, r, n, i, a); } removeTrailingNewline() { let t = this._queueCursor; t !== 0 && this._queue[t - 1].char === 10 && this._queueCursor--; } removeLastSemicolon() { let t = this._queueCursor; t !== 0 && this._queue[t - 1].char === 59 && this._queueCursor--; } getLastChar() { let t = this._queueCursor; return t !== 0 ? this._queue[t - 1].char : this._last; } getNewlineCount() { let t = this._queueCursor, r = 0; if (t === 0) return this._last === 10 ? 1 : 0; for (let n = t - 1; n >= 0 && this._queue[n].char === 10; n--) r++; return r === t && this._last === 10 ? r + 1 : r; } endsWithCharAndNewline() { let t = this._queue, r = this._queueCursor; if (r !== 0) return t[r - 1].char !== 10 ? void 0 : r > 1 ? t[r - 2].char : this._last; } hasContent() { return this._queueCursor !== 0 || !!this._last; } exactSource(t, r) { if (!this._map) { r(); return; } this.source("start", t); let n = t.identifierName, i = this._sourcePosition; n && (this._canMarkIdName = !1, i.identifierName = n), r(), n && (this._canMarkIdName = !0, i.identifierName = void 0, i.identifierNamePos = void 0), this.source("end", t); } source(t, r) { this._map && this._normalizePosition(t, r, 0); } sourceWithOffset(t, r, n) { this._map && this._normalizePosition(t, r, n); } _normalizePosition(t, r, n) { let i = r[t], a = this._sourcePosition; i && (a.line = i.line, a.column = Math.max(i.column + n, 0), a.filename = r.filename); } getCurrentColumn() { let t = this._queue, r = this._queueCursor, n = -1, i = 0; for (let a = 0; a < r; a++) { let o = t[a]; o.char === 10 && (n = i), i += o.repeat; } return n === -1 ? this._position.column + i : i - 1 - n; } getCurrentLine() { let t = 0, r = this._queue; for (let n = 0; n < this._queueCursor; n++) r[n].char === 10 && t++; return this._position.line + t; } }; Tu.default = wm; }); // ../node_modules/@babel/generator/lib/node/whitespace.js var IS = T((Su) => { "use strict"; Object.defineProperty(Su, "__esModule", { value: !0 }); Su.nodes = void 0; var jJ = Se(), { FLIPPED_ALIAS_KEYS: LJ, isArrayExpression: MJ, isAssignmentExpression: CS, isBinary: wS, isBlockStatement: RJ, isCallExpression: DS, isFunction: oo, isIdentifier: xu, isLiteral: qJ, isMemberExpression: Dm, isObjectExpression: UJ, isOptionalCallExpression: VJ, isOptionalMemberExpression: $J, isStringLiteral: WJ } = jJ; function ji(e, t) { return e && (Dm(e) || $J(e) ? (ji(e.object, t), e.computed && ji(e.property, t)) : wS(e) || CS(e) ? (ji(e.left, t), ji(e.right, t)) : DS( e) || VJ(e) ? (t.hasCall = !0, ji(e.callee, t)) : oo(e) ? t.hasFunction = !0 : xu(e) && (t.hasHelper = t.hasHelper || e.callee && _n(e.callee))), t; } s(ji, "crawlInternal"); function AS(e) { return ji(e, { hasCall: !1, hasFunction: !1, hasHelper: !1 }); } s(AS, "crawl"); function _n(e) { return e ? Dm(e) ? _n(e.object) || _n(e.property) : xu(e) ? e.name === "require" || e.name.charCodeAt(0) === 95 : DS(e) ? _n(e.callee) : wS(e) || CS(e) ? xu(e.left) && _n(e.left) || _n(e.right) : !1 : !1; } s(_n, "isHelper"); function KJ(e) { return qJ(e) || UJ(e) || MJ(e) || xu(e) || Dm(e); } s(KJ, "isType"); var Ks = Su.nodes = { AssignmentExpression(e) { let t = AS(e.right); if (t.hasCall && t.hasHelper || t.hasFunction) return t.hasFunction ? 3 : 2; }, SwitchCase(e, t) { return (e.consequent.length || t.cases[0] === e ? 1 : 0) | (!e.consequent.length && t.cases[t.cases.length - 1] === e ? 2 : 0); }, LogicalExpression(e) { if (oo(e.left) || oo(e.right)) return 2; }, Literal(e) { if (WJ(e) && e.value === "use strict") return 2; }, CallExpression(e) { if (oo(e.callee) || _n(e)) return 3; }, OptionalCallExpression(e) { if (oo(e.callee)) return 3; }, VariableDeclaration(e) { for (let t = 0; t < e.declarations.length; t++) { let r = e.declarations[t], n = _n(r.id) && !KJ(r.init); if (!n && r.init) { let i = AS(r.init); n = _n(r.init) && i.hasCall || i.hasFunction; } if (n) return 3; } }, IfStatement(e) { if (RJ(e.consequent)) return 3; } }; Ks.ObjectProperty = Ks.ObjectTypeProperty = Ks.ObjectMethod = function(e, t) { if (t.properties[0] === e) return 1; }; Ks.ObjectTypeCallProperty = function(e, t) { var r; if (t.callProperties[0] === e && !((r = t.properties) != null && r.length)) return 1; }; Ks.ObjectTypeIndexer = function(e, t) { var r, n; if (t.indexers[0] === e && !((r = t.properties) != null && r.length) && !((n = t.callProperties) != null && n.length)) return 1; }; Ks.ObjectTypeInternalSlot = function(e, t) { var r, n, i; if (t.internalSlots[0] === e && !((r = t.properties) != null && r.length) && !((n = t.callProperties) != null && n.length) && !((i = t.indexers) != null && i.length)) return 1; }; [["Function", !0], ["Class", !0], ["Loop", !0], ["LabeledStatement", !0], ["SwitchStatement", !0], ["TryStatement", !0]].forEach(function([ e, t]) { [e].concat(LJ[e] || []).forEach(function(r) { let n = t ? 3 : 0; Ks[r] = () => n; }); }); }); // ../node_modules/@babel/generator/lib/node/parentheses.js var FS = T((tt) => { "use strict"; Object.defineProperty(tt, "__esModule", { value: !0 }); tt.ArrowFunctionExpression = bX; tt.AssignmentExpression = vX; tt.Binary = BS; tt.BinaryExpression = dX; tt.ClassExpression = yX; tt.ConditionalExpression = _m; tt.DoExpression = aX; tt.FunctionExpression = gX; tt.FunctionTypeAnnotation = nX; tt.Identifier = xX; tt.LogicalExpression = TX; tt.NullableTypeAnnotation = rX; tt.ObjectExpression = iX; tt.OptionalIndexedAccessType = lX; tt.OptionalCallExpression = tt.OptionalMemberExpression = EX; tt.SequenceExpression = hX; tt.TSSatisfiesExpression = tt.TSAsExpression = uX; tt.TSInferType = fX; tt.TSInstantiationExpression = pX; tt.UnaryLike = tt.TSTypeAssertion = kS; tt.TSIntersectionType = tt.TSUnionType = cX; tt.IntersectionTypeAnnotation = tt.UnionTypeAnnotation = oX; tt.UpdateExpression = sX; tt.AwaitExpression = tt.YieldExpression = mX; var GJ = Se(), _r = is(), { isArrayTypeAnnotation: HJ, isBinaryExpression: YJ, isCallExpression: zJ, isExportDeclaration: JJ, isForOfStatement: XJ, isIndexedAccessType: QJ, isMemberExpression: NS, isObjectPattern: ZJ, isOptionalMemberExpression: eX, isYieldExpression: tX } = GJ, _S = /* @__PURE__ */ new Map([["||", 0], ["??", 0], ["|>", 0], ["&&", 1], ["|", 2], ["^", 3], ["&", 4], ["==", 5], ["===", 5], ["!\ =", 5], ["!==", 5], ["<", 6], [">", 6], ["<=", 6], [">=", 6], ["in", 6], ["instanceof", 6], [">>", 7], ["<<", 7], [">>>", 7], ["+", 8], ["-", 8], ["*", 9], ["/", 9], ["%", 9], ["**", 10]]); function OS(e, t) { if (t === "BinaryExpression" || t === "LogicalExpression") return _S.get(e.operator); if (t === "TSAsExpression" || t === "TSSatisfiesExpression") return _S.get("in"); } s(OS, "getBinaryPrecedence"); function Im(e) { return e === "TSAsExpression" || e === "TSSatisfiesExpression" || e === "TSTypeAssertion"; } s(Im, "isTSTypeExpression"); var Pu = /* @__PURE__ */ s((e, t) => { let r = t.type; return (r === "ClassDeclaration" || r === "ClassExpression") && t.superClass === e; }, "isClassExtendsClause"), Au = /* @__PURE__ */ s((e, t) => { let r = t.type; return (r === "MemberExpression" || r === "OptionalMemberExpression") && t.object === e || (r === "CallExpression" || r === "OptionalCal\ lExpression" || r === "NewExpression") && t.callee === e || r === "TaggedTemplateExpression" && t.tag === e || r === "TSNonNullExpression"; }, "hasPostfixPart"); function rX(e, t) { return HJ(t); } s(rX, "NullableTypeAnnotation"); function nX(e, t, r) { let n = t.type; return n === "UnionTypeAnnotation" || n === "IntersectionTypeAnnotation" || n === "ArrayTypeAnnotation" || !!(r & _r.TokenContext.arrowFlowReturnType); } s(nX, "FunctionTypeAnnotation"); function sX(e, t) { return Au(e, t) || Pu(e, t); } s(sX, "UpdateExpression"); function iX(e, t, r) { return !!(r & (_r.TokenContext.expressionStatement | _r.TokenContext.arrowBody)); } s(iX, "ObjectExpression"); function aX(e, t, r) { return !e.async && !!(r & _r.TokenContext.expressionStatement); } s(aX, "DoExpression"); function BS(e, t) { let r = t.type; if (e.type === "BinaryExpression" && e.operator === "**" && r === "BinaryExpression" && t.operator === "**") return t.left === e; if (Pu(e, t) || Au(e, t) || r === "UnaryExpression" || r === "SpreadElement" || r === "AwaitExpression") return !0; let n = OS(t, r); if (n != null) { let i = OS(e, e.type); if (n === i && r === "BinaryExpression" && t.right === e || n > i) return !0; } } s(BS, "Binary"); function oX(e, t) { let r = t.type; return r === "ArrayTypeAnnotation" || r === "NullableTypeAnnotation" || r === "IntersectionTypeAnnotation" || r === "UnionTypeAnnotation"; } s(oX, "UnionTypeAnnotation"); function lX(e, t) { return QJ(t) && t.objectType === e; } s(lX, "OptionalIndexedAccessType"); function uX(e, t) { return (t.type === "AssignmentExpression" || t.type === "AssignmentPattern") && t.left === e || t.type === "BinaryExpression" && (t.operator === "|" || t.operator === "&") && e === t.left ? !0 : BS(e, t); } s(uX, "TSAsExpression"); function cX(e, t) { let r = t.type; return r === "TSArrayType" || r === "TSOptionalType" || r === "TSIntersectionType" || r === "TSUnionType" || r === "TSRestType"; } s(cX, "TSUnionType"); function fX(e, t) { let r = t.type; return r === "TSArrayType" || r === "TSOptionalType"; } s(fX, "TSInferType"); function pX(e, t) { let r = t.type; return (r === "CallExpression" || r === "OptionalCallExpression" || r === "NewExpression" || r === "TSInstantiationExpression") && !!t.typeParameters; } s(pX, "TSInstantiationExpression"); function dX(e, t, r, n) { return e.operator === "in" && n; } s(dX, "BinaryExpression"); function hX(e, t) { let r = t.type; return !(r === "ForStatement" || r === "ThrowStatement" || r === "ReturnStatement" || r === "IfStatement" && t.test === e || r === "Whil\ eStatement" && t.test === e || r === "ForInStatement" && t.right === e || r === "SwitchStatement" && t.discriminant === e || r === "Expressi\ onStatement" && t.expression === e); } s(hX, "SequenceExpression"); function mX(e, t) { let r = t.type; return r === "BinaryExpression" || r === "LogicalExpression" || r === "UnaryExpression" || r === "SpreadElement" || Au(e, t) || r === "A\ waitExpression" && tX(e) || r === "ConditionalExpression" && e === t.test || Pu(e, t) || Im(r); } s(mX, "YieldExpression"); function yX(e, t, r) { return !!(r & (_r.TokenContext.expressionStatement | _r.TokenContext.exportDefault)); } s(yX, "ClassExpression"); function kS(e, t) { return Au(e, t) || YJ(t) && t.operator === "**" && t.left === e || Pu(e, t); } s(kS, "UnaryLike"); function gX(e, t, r) { return !!(r & (_r.TokenContext.expressionStatement | _r.TokenContext.exportDefault)); } s(gX, "FunctionExpression"); function bX(e, t) { return JJ(t) || _m(e, t); } s(bX, "ArrowFunctionExpression"); function _m(e, t) { let r = t.type; return r === "UnaryExpression" || r === "SpreadElement" || r === "BinaryExpression" || r === "LogicalExpression" || r === "ConditionalEx\ pression" && t.test === e || r === "AwaitExpression" || Im(r) ? !0 : kS(e, t); } s(_m, "ConditionalExpression"); function EX(e, t) { return zJ(t) && t.callee === e || NS(t) && t.object === e; } s(EX, "OptionalMemberExpression"); function vX(e, t) { return ZJ(e.left) ? !0 : _m(e, t); } s(vX, "AssignmentExpression"); function TX(e, t) { let r = t.type; if (Im(r)) return !0; if (r !== "LogicalExpression") return !1; switch (e.operator) { case "||": return t.operator === "??" || t.operator === "&&"; case "&&": return t.operator === "??"; case "??": return t.operator !== "??"; } } s(TX, "LogicalExpression"); function xX(e, t, r) { var n; let i = t.type; if ((n = e.extra) != null && n.parenthesized && i === "AssignmentExpression" && t.left === e) { let a = t.right.type; if ((a === "FunctionExpression" || a === "ClassExpression") && t.right.id == null) return !0; } return e.name === "let" ? (NS(t, { object: e, computed: !0 }) || eX(t, { object: e, computed: !0, optional: !1 })) && r & (_r.TokenContext.expressionStatement | _r.TokenContext.forHead | _r.TokenContext.forInHead) ? !0 : !!(r & _r.TokenContext.forOfHead) : e.name === "async" && XJ(t, { left: e, await: !1 }); } s(xX, "Identifier"); }); // ../node_modules/@babel/generator/lib/node/index.js var is = T((as) => { "use strict"; Object.defineProperty(as, "__esModule", { value: !0 }); as.TokenContext = void 0; as.needsParens = jX; as.needsWhitespace = Nm; as.needsWhitespaceAfter = FX; as.needsWhitespaceBefore = kX; var SX = IS(), PX = FS(), AX = Se(), { FLIPPED_ALIAS_KEYS: CX, isCallExpression: jS, isDecorator: wX, isExpressionStatement: DX, isMemberExpression: IX, isNewExpression: _X, isParenthesizedExpression: OX } = AX, LAe = as.TokenContext = { expressionStatement: 1, arrowBody: 2, exportDefault: 4, forHead: 8, forInHead: 16, forOfHead: 32, arrowFlowReturnType: 64 }; function LS(e) { let t = /* @__PURE__ */ new Map(); function r(n, i) { let a = t.get(n); t.set(n, a ? function(o, l, u, c) { var f; return (f = a(o, l, u, c)) != null ? f : i(o, l, u, c); } : i); } s(r, "add"); for (let n of Object.keys(e)) { let i = CX[n]; if (i) for (let a of i) r(a, e[n]); else r(n, e[n]); } return t; } s(LS, "expandAliases"); var NX = LS(PX), BX = LS(SX.nodes); function MS(e) { return jS(e) ? !0 : IX(e) && MS(e.object); } s(MS, "isOrHasCallExpression"); function Nm(e, t, r) { var n; if (!e) return !1; DX(e) && (e = e.expression); let i = (n = BX.get(e.type)) == null ? void 0 : n(e, t); return typeof i == "number" ? (i & r) !== 0 : !1; } s(Nm, "needsWhitespace"); function kX(e, t) { return Nm(e, t, 1); } s(kX, "needsWhitespaceBefore"); function FX(e, t) { return Nm(e, t, 2); } s(FX, "needsWhitespaceAfter"); function jX(e, t, r, n) { var i; return t ? _X(t) && t.callee === e && MS(e) ? !0 : wX(t) ? !Om(e) && !(jS(e) && Om(e.callee)) && !OX(e) : (i = NX.get(e.type)) == null ? void 0 : i(e, t, r, n) : !1; } s(jX, "needsParens"); function Om(e) { switch (e.type) { case "Identifier": return !0; case "MemberExpression": return !e.computed && e.property.type === "Identifier" && Om(e.object); default: return !1; } } s(Om, "isDecoratorMemberExpression"); }); // ../node_modules/@babel/generator/lib/generators/template-literals.js var RS = T((lo) => { "use strict"; Object.defineProperty(lo, "__esModule", { value: !0 }); lo.TaggedTemplateExpression = LX; lo.TemplateElement = MX; lo.TemplateLiteral = RX; function LX(e) { this.print(e.tag, e), this.print(e.typeParameters, e), this.print(e.quasi, e); } s(LX, "TaggedTemplateExpression"); function MX() { throw new Error("TemplateElement printing is handled in TemplateLiteral"); } s(MX, "TemplateElement"); function RX(e) { let t = e.quasis, r = "`"; for (let n = 0; n < t.length; n++) r += t[n].value.raw, n + 1 < t.length && (this.token(r + "${", !0), this.print(e.expressions[n], e), r = "}"); this.token(r + "`", !0); } s(RX, "TemplateLiteral"); }); // ../node_modules/@babel/generator/lib/generators/expressions.js var US = T((st) => { "use strict"; Object.defineProperty(st, "__esModule", { value: !0 }); st.LogicalExpression = st.BinaryExpression = st.AssignmentExpression = cQ; st.AssignmentPattern = uQ; st.AwaitExpression = iQ; st.BindExpression = fQ; st.CallExpression = nQ; st.ConditionalExpression = YX; st.Decorator = eQ; st.DoExpression = KX; st.EmptyStatement = oQ; st.ExpressionStatement = lQ; st.Import = sQ; st.MemberExpression = pQ; st.MetaProperty = dQ; st.ModuleExpression = yQ; st.NewExpression = zX; st.OptionalCallExpression = rQ; st.OptionalMemberExpression = tQ; st.ParenthesizedExpression = GX; st.PrivateName = hQ; st.SequenceExpression = JX; st.Super = QX; st.ThisExpression = XX; st.UnaryExpression = WX; st.UpdateExpression = HX; st.V8IntrinsicIdentifier = mQ; st.YieldExpression = aQ; st._shouldPrintDecoratorsBeforeExport = ZX; var qX = Se(), UX = is(), { isCallExpression: VX, isLiteral: qS, isMemberExpression: Bm, isNewExpression: $X } = qX; function WX(e) { let { operator: t } = e; t === "void" || t === "delete" || t === "typeof" || t === "throw" ? (this.word(t), this.space()) : this.token(t), this.print(e.argument, e); } s(WX, "UnaryExpression"); function KX(e) { e.async && (this.word("async", !0), this.space()), this.word("do"), this.space(), this.print(e.body, e); } s(KX, "DoExpression"); function GX(e) { this.tokenChar(40), this.print(e.expression, e), this.rightParens(e); } s(GX, "ParenthesizedExpression"); function HX(e) { e.prefix ? (this.token(e.operator), this.print(e.argument, e)) : (this.printTerminatorless(e.argument, e, !0), this.token(e.operator)); } s(HX, "UpdateExpression"); function YX(e) { this.print(e.test, e), this.space(), this.tokenChar(63), this.space(), this.print(e.consequent, e), this.space(), this.tokenChar(58), this. space(), this.print(e.alternate, e); } s(YX, "ConditionalExpression"); function zX(e, t) { if (this.word("new"), this.space(), this.print(e.callee, e), this.format.minified && e.arguments.length === 0 && !e.optional && !VX(t, { callee: e }) && !Bm(t) && !$X(t)) return; this.print(e.typeArguments, e), this.print(e.typeParameters, e), e.optional && this.token("?."), this.tokenChar(40); let r = this.enterForStatementInit(!1); this.printList(e.arguments, e), r(), this.rightParens(e); } s(zX, "NewExpression"); function JX(e) { this.printList(e.expressions, e); } s(JX, "SequenceExpression"); function XX() { this.word("this"); } s(XX, "ThisExpression"); function QX() { this.word("super"); } s(QX, "Super"); function ZX(e) { return typeof this.format.decoratorsBeforeExport == "boolean" ? this.format.decoratorsBeforeExport : typeof e.start == "number" && e.start === e.declaration.start; } s(ZX, "_shouldPrintDecoratorsBeforeExport"); function eQ(e) { this.tokenChar(64), this.print(e.expression, e), this.newline(); } s(eQ, "Decorator"); function tQ(e) { let { computed: t } = e, { optional: r, property: n } = e; if (this.print(e.object, e), !t && Bm(n)) throw new TypeError("Got a MemberExpression for MemberExpression property"); qS(n) && typeof n.value == "number" && (t = !0), r && this.token("?."), t ? (this.tokenChar(91), this.print(n, e), this.tokenChar(93)) : (r || this.tokenChar(46), this.print(n, e)); } s(tQ, "OptionalMemberExpression"); function rQ(e) { this.print(e.callee, e), this.print(e.typeParameters, e), e.optional && this.token("?."), this.print(e.typeArguments, e), this.tokenChar( 40); let t = this.enterForStatementInit(!1); this.printList(e.arguments, e), t(), this.rightParens(e); } s(rQ, "OptionalCallExpression"); function nQ(e) { this.print(e.callee, e), this.print(e.typeArguments, e), this.print(e.typeParameters, e), this.tokenChar(40); let t = this.enterForStatementInit(!1); this.printList(e.arguments, e), t(), this.rightParens(e); } s(nQ, "CallExpression"); function sQ() { this.word("import"); } s(sQ, "Import"); function iQ(e) { this.word("await"), e.argument && (this.space(), this.printTerminatorless(e.argument, e, !1)); } s(iQ, "AwaitExpression"); function aQ(e) { this.word("yield", !0), e.delegate ? (this.tokenChar(42), e.argument && (this.space(), this.print(e.argument, e))) : e.argument && (this. space(), this.printTerminatorless(e.argument, e, !1)); } s(aQ, "YieldExpression"); function oQ() { this.semicolon(!0); } s(oQ, "EmptyStatement"); function lQ(e) { this.tokenContext |= UX.TokenContext.expressionStatement, this.print(e.expression, e), this.semicolon(); } s(lQ, "ExpressionStatement"); function uQ(e) { this.print(e.left, e), e.left.type === "Identifier" && (e.left.optional && this.tokenChar(63), this.print(e.left.typeAnnotation, e)), this. space(), this.tokenChar(61), this.space(), this.print(e.right, e); } s(uQ, "AssignmentPattern"); function cQ(e) { this.print(e.left, e), this.space(), e.operator === "in" || e.operator === "instanceof" ? this.word(e.operator) : this.token(e.operator), this.space(), this.print(e.right, e); } s(cQ, "AssignmentExpression"); function fQ(e) { this.print(e.object, e), this.token("::"), this.print(e.callee, e); } s(fQ, "BindExpression"); function pQ(e) { if (this.print(e.object, e), !e.computed && Bm(e.property)) throw new TypeError("Got a MemberExpression for MemberExpression property"); let t = e.computed; if (qS(e.property) && typeof e.property.value == "number" && (t = !0), t) { let r = this.enterForStatementInit(!1); this.tokenChar(91), this.print(e.property, e), this.tokenChar(93), r(); } else this.tokenChar(46), this.print(e.property, e); } s(pQ, "MemberExpression"); function dQ(e) { this.print(e.meta, e), this.tokenChar(46), this.print(e.property, e); } s(dQ, "MetaProperty"); function hQ(e) { this.tokenChar(35), this.print(e.id, e); } s(hQ, "PrivateName"); function mQ(e) { this.tokenChar(37), this.word(e.name); } s(mQ, "V8IntrinsicIdentifier"); function yQ(e) { this.word("module", !0), this.space(), this.tokenChar(123), this.indent(); let { body: t } = e; (t.body.length || t.directives.length) && this.newline(), this.print(t, e), this.dedent(), this.rightBrace(e); } s(yQ, "ModuleExpression"); }); // ../node_modules/@babel/generator/lib/generators/statements.js var KS = T((yt) => { "use strict"; Object.defineProperty(yt, "__esModule", { value: !0 }); yt.BreakStatement = CQ; yt.CatchClause = NQ; yt.ContinueStatement = wQ; yt.DebuggerStatement = FQ; yt.DoWhileStatement = AQ; yt.ForOfStatement = yt.ForInStatement = void 0; yt.ForStatement = SQ; yt.IfStatement = xQ; yt.LabeledStatement = _Q; yt.ReturnStatement = DQ; yt.SwitchCase = kQ; yt.SwitchStatement = BQ; yt.ThrowStatement = IQ; yt.TryStatement = OQ; yt.VariableDeclaration = jQ; yt.VariableDeclarator = LQ; yt.WhileStatement = PQ; yt.WithStatement = TQ; var gQ = Se(), km = is(), { isFor: VS, isForStatement: bQ, isIfStatement: EQ, isStatement: vQ } = gQ; function TQ(e) { this.word("with"), this.space(), this.tokenChar(40), this.print(e.object, e), this.tokenChar(41), this.printBlock(e); } s(TQ, "WithStatement"); function xQ(e) { this.word("if"), this.space(), this.tokenChar(40), this.print(e.test, e), this.tokenChar(41), this.space(); let t = e.alternate && EQ($S(e.consequent)); t && (this.tokenChar(123), this.newline(), this.indent()), this.printAndIndentOnComments(e.consequent, e), t && (this.dedent(), this.newline(), this.tokenChar(125)), e.alternate && (this.endsWith(125) && this.space(), this.word("else"), this.space(), this.printAndIndentOnComments( e.alternate, e)); } s(xQ, "IfStatement"); function $S(e) { let { body: t } = e; return vQ(t) === !1 ? e : $S(t); } s($S, "getLastStatement"); function SQ(e) { this.word("for"), this.space(), this.tokenChar(40); { let t = this.enterForStatementInit(!0); this.tokenContext |= km.TokenContext.forHead, this.print(e.init, e), t(); } this.tokenChar(59), e.test && (this.space(), this.print(e.test, e)), this.tokenChar(59), e.update && (this.space(), this.print(e.update, e)), this.tokenChar(41), this.printBlock(e); } s(SQ, "ForStatement"); function PQ(e) { this.word("while"), this.space(), this.tokenChar(40), this.print(e.test, e), this.tokenChar(41), this.printBlock(e); } s(PQ, "WhileStatement"); function WS(e) { this.word("for"), this.space(); let t = e.type === "ForOfStatement"; t && e.await && (this.word("await"), this.space()), this.noIndentInnerCommentsHere(), this.tokenChar(40); { let r = t ? null : this.enterForStatementInit(!0); this.tokenContext |= t ? km.TokenContext.forOfHead : km.TokenContext.forInHead, this.print(e.left, e), r?.(); } this.space(), this.word(t ? "of" : "in"), this.space(), this.print(e.right, e), this.tokenChar(41), this.printBlock(e); } s(WS, "ForXStatement"); var WAe = yt.ForInStatement = WS, KAe = yt.ForOfStatement = WS; function AQ(e) { this.word("do"), this.space(), this.print(e.body, e), this.space(), this.word("while"), this.space(), this.tokenChar(40), this.print(e.test, e), this.tokenChar(41), this.semicolon(); } s(AQ, "DoWhileStatement"); function Cu(e, t, r, n) { t && (e.space(), e.printTerminatorless(t, r, n)), e.semicolon(); } s(Cu, "printStatementAfterKeyword"); function CQ(e) { this.word("break"), Cu(this, e.label, e, !0); } s(CQ, "BreakStatement"); function wQ(e) { this.word("continue"), Cu(this, e.label, e, !0); } s(wQ, "ContinueStatement"); function DQ(e) { this.word("return"), Cu(this, e.argument, e, !1); } s(DQ, "ReturnStatement"); function IQ(e) { this.word("throw"), Cu(this, e.argument, e, !1); } s(IQ, "ThrowStatement"); function _Q(e) { this.print(e.label, e), this.tokenChar(58), this.space(), this.print(e.body, e); } s(_Q, "LabeledStatement"); function OQ(e) { this.word("try"), this.space(), this.print(e.block, e), this.space(), e.handlers ? this.print(e.handlers[0], e) : this.print(e.handler, e), e.finalizer && (this.space(), this.word("finally"), this.space(), this.print(e.finalizer, e)); } s(OQ, "TryStatement"); function NQ(e) { this.word("catch"), this.space(), e.param && (this.tokenChar(40), this.print(e.param, e), this.print(e.param.typeAnnotation, e), this.tokenChar( 41), this.space()), this.print(e.body, e); } s(NQ, "CatchClause"); function BQ(e) { this.word("switch"), this.space(), this.tokenChar(40), this.print(e.discriminant, e), this.tokenChar(41), this.space(), this.tokenChar(123), this.printSequence(e.cases, e, { indent: !0, addNewlines(t, r) { if (!t && e.cases[e.cases.length - 1] === r) return -1; } }), this.rightBrace(e); } s(BQ, "SwitchStatement"); function kQ(e) { e.test ? (this.word("case"), this.space(), this.print(e.test, e), this.tokenChar(58)) : (this.word("default"), this.tokenChar(58)), e.consequent. length && (this.newline(), this.printSequence(e.consequent, e, { indent: !0 })); } s(kQ, "SwitchCase"); function FQ() { this.word("debugger"), this.semicolon(); } s(FQ, "DebuggerStatement"); function jQ(e, t) { e.declare && (this.word("declare"), this.space()); let { kind: r } = e; r === "await using" ? (this.word("await"), this.space(), this.word("using", !0)) : this.word(r, r === "using"), this.space(); let n = !1; if (!VS(t)) for (let i of e.declarations) i.init && (n = !0); if (this.printList(e.declarations, e, { separator: n ? function() { this.tokenChar(44), this.newline(); } : void 0, indent: e.declarations.length > 1 }), VS(t)) { if (bQ(t)) { if (t.init === e) return; } else if (t.left === e) return; } this.semicolon(); } s(jQ, "VariableDeclaration"); function LQ(e) { this.print(e.id, e), e.definite && this.tokenChar(33), this.print(e.id.typeAnnotation, e), e.init && (this.space(), this.tokenChar(61), this. space(), this.print(e.init, e)); } s(LQ, "VariableDeclarator"); }); // ../node_modules/@babel/generator/lib/generators/classes.js var GS = T((Or) => { "use strict"; Object.defineProperty(Or, "__esModule", { value: !0 }); Or.ClassAccessorProperty = WQ; Or.ClassBody = VQ; Or.ClassExpression = Or.ClassDeclaration = UQ; Or.ClassMethod = GQ; Or.ClassPrivateMethod = HQ; Or.ClassPrivateProperty = KQ; Or.ClassProperty = $Q; Or.StaticBlock = zQ; Or._classMethodHead = YQ; var MQ = Se(), { isExportDefaultDeclaration: RQ, isExportNamedDeclaration: qQ } = MQ; function UQ(e, t) { (!(RQ(t) || qQ(t)) || !this._shouldPrintDecoratorsBeforeExport(t)) && this.printJoin(e.decorators, e), e.declare && (this.word("declare"), this.space()), e.abstract && (this.word("abstract"), this.space()), this.word("class"), e.id && (this.space(), this.print(e.id, e)), this. print(e.typeParameters, e), e.superClass && (this.space(), this.word("extends"), this.space(), this.print(e.superClass, e), this.print(e. superTypeParameters, e)), e.implements && (this.space(), this.word("implements"), this.space(), this.printList(e.implements, e)), this.space(), this.print(e.body, e); } s(UQ, "ClassDeclaration"); function VQ(e) { if (this.tokenChar(123), e.body.length === 0) this.tokenChar(125); else { this.newline(); let t = this.enterForStatementInit(!1); this.printSequence(e.body, e, { indent: !0 }), t(), this.endsWith(10) || this.newline(), this.rightBrace(e); } } s(VQ, "ClassBody"); function $Q(e) { var t; this.printJoin(e.decorators, e); let r = (t = e.key.loc) == null || (t = t.end) == null ? void 0 : t.line; r && this.catchUp(r), this.tsPrintClassMemberModifiers(e), e.computed ? (this.tokenChar(91), this.print(e.key, e), this.tokenChar(93)) : (this._variance(e), this.print(e.key, e)), e.optional && this.tokenChar(63), e.definite && this.tokenChar(33), this.print(e.typeAnnotation, e), e.value && (this.space(), this.tokenChar(61), this.space(), this.print(e.value, e)), this.semicolon(); } s($Q, "ClassProperty"); function WQ(e) { var t; this.printJoin(e.decorators, e); let r = (t = e.key.loc) == null || (t = t.end) == null ? void 0 : t.line; r && this.catchUp(r), this.tsPrintClassMemberModifiers(e), this.word("accessor", !0), this.space(), e.computed ? (this.tokenChar(91), this. print(e.key, e), this.tokenChar(93)) : (this._variance(e), this.print(e.key, e)), e.optional && this.tokenChar(63), e.definite && this.tokenChar( 33), this.print(e.typeAnnotation, e), e.value && (this.space(), this.tokenChar(61), this.space(), this.print(e.value, e)), this.semicolon(); } s(WQ, "ClassAccessorProperty"); function KQ(e) { this.printJoin(e.decorators, e), e.static && (this.word("static"), this.space()), this.print(e.key, e), this.print(e.typeAnnotation, e), e.value && (this.space(), this.tokenChar(61), this.space(), this.print(e.value, e)), this.semicolon(); } s(KQ, "ClassPrivateProperty"); function GQ(e) { this._classMethodHead(e), this.space(), this.print(e.body, e); } s(GQ, "ClassMethod"); function HQ(e) { this._classMethodHead(e), this.space(), this.print(e.body, e); } s(HQ, "ClassPrivateMethod"); function YQ(e) { var t; this.printJoin(e.decorators, e); let r = (t = e.key.loc) == null || (t = t.end) == null ? void 0 : t.line; r && this.catchUp(r), this.tsPrintClassMemberModifiers(e), this._methodHead(e); } s(YQ, "_classMethodHead"); function zQ(e) { this.word("static"), this.space(), this.tokenChar(123), e.body.length === 0 ? this.tokenChar(125) : (this.newline(), this.printSequence( e.body, e, { indent: !0 }), this.rightBrace(e)); } s(zQ, "StaticBlock"); }); // ../node_modules/@babel/generator/lib/generators/methods.js var HS = T((Kr) => { "use strict"; Object.defineProperty(Kr, "__esModule", { value: !0 }); Kr.ArrowFunctionExpression = aZ; Kr.FunctionDeclaration = Kr.FunctionExpression = iZ; Kr._functionHead = sZ; Kr._methodHead = rZ; Kr._param = tZ; Kr._parameters = eZ; Kr._params = ZQ; Kr._predicate = nZ; var JQ = Se(), XQ = is(), { isIdentifier: QQ } = JQ; function ZQ(e, t, r) { this.print(e.typeParameters, e); let n = lZ.call(this, t, r); n && this.sourceIdentifierName(n.name, n.pos), this.tokenChar(40), this._parameters(e.params, e), this.tokenChar(41); let i = e.type === "ArrowFunctionExpression"; this.print(e.returnType, e, i), this._noLineTerminator = i; } s(ZQ, "_params"); function eZ(e, t) { let r = this.enterForStatementInit(!1), n = e.length; for (let i = 0; i < n; i++) this._param(e[i], t), i < e.length - 1 && (this.tokenChar(44), this.space()); r(); } s(eZ, "_parameters"); function tZ(e, t) { this.printJoin(e.decorators, e), this.print(e, t), e.optional && this.tokenChar(63), this.print(e.typeAnnotation, e); } s(tZ, "_param"); function rZ(e) { let t = e.kind, r = e.key; (t === "get" || t === "set") && (this.word(t), this.space()), e.async && (this.word("async", !0), this.space()), (t === "method" || t === "init") && e.generator && this.tokenChar(42), e.computed ? (this.tokenChar(91), this.print(r, e), this.tokenChar(93)) : this.print(r, e), e.optional && this.tokenChar(63), this._params(e, e.computed && e.key.type !== "StringLiteral" ? void 0 : e.key, void 0); } s(rZ, "_methodHead"); function nZ(e, t) { e.predicate && (e.returnType || this.tokenChar(58), this.space(), this.print(e.predicate, e, t)); } s(nZ, "_predicate"); function sZ(e, t) { e.async && (this.word("async"), this._endsWithInnerRaw = !1, this.space()), this.word("function"), e.generator && (this._endsWithInnerRaw = !1, this.tokenChar(42)), this.space(), e.id && this.print(e.id, e), this._params(e, e.id, t), e.type !== "TSDeclareFunction" && this._predicate( e); } s(sZ, "_functionHead"); function iZ(e, t) { this._functionHead(e, t), this.space(), this.print(e.body, e); } s(iZ, "FunctionExpression"); function aZ(e, t) { e.async && (this.word("async", !0), this.space()); let r; !this.format.retainLines && e.params.length === 1 && QQ(r = e.params[0]) && !oZ(e, r) ? this.print(r, e, !0) : this._params(e, void 0, t), this._predicate(e, !0), this.space(), this.printInnerComments(), this.token("=>"), this.space(), this.tokenContext |= XQ.TokenContext.arrowBody, this.print(e.body, e); } s(aZ, "ArrowFunctionExpression"); function oZ(e, t) { var r, n; return !!(e.typeParameters || e.returnType || e.predicate || t.typeAnnotation || t.optional || (r = t.leadingComments) != null && r.length || (n = t.trailingComments) != null && n.length); } s(oZ, "hasTypesOrComments"); function lZ(e, t) { let r = e; if (!r && t) { let u = t.type; u === "VariableDeclarator" ? r = t.id : u === "AssignmentExpression" || u === "AssignmentPattern" ? r = t.left : u === "ObjectProperty" || u === "ClassProperty" ? (!t.computed || t.key.type === "StringLiteral") && (r = t.key) : (u === "ClassPrivateProperty" || u === "Class\ AccessorProperty") && (r = t.key); } if (!r) return; let n; if (r.type === "Identifier") { var i, a; n = { pos: (i = r.loc) == null ? void 0 : i.start, name: ((a = r.loc) == null ? void 0 : a.identifierName) || r.name }; } else if (r.type === "PrivateName") { var o; n = { pos: (o = r.loc) == null ? void 0 : o.start, name: "#" + r.id.name }; } else if (r.type === "StringLiteral") { var l; n = { pos: (l = r.loc) == null ? void 0 : l.start, name: r.value }; } return n; } s(lZ, "_getFuncIdName"); }); // ../node_modules/@babel/generator/lib/generators/modules.js var Fm = T((or) => { "use strict"; Object.defineProperty(or, "__esModule", { value: !0 }); or.ExportAllDeclaration = xZ; or.ExportDefaultDeclaration = PZ; or.ExportDefaultSpecifier = bZ; or.ExportNamedDeclaration = SZ; or.ExportNamespaceSpecifier = vZ; or.ExportSpecifier = EZ; or.ImportAttribute = CZ; or.ImportDeclaration = AZ; or.ImportDefaultSpecifier = gZ; or.ImportExpression = DZ; or.ImportNamespaceSpecifier = wZ; or.ImportSpecifier = yZ; or._printAttributes = TZ; var uZ = Se(), cZ = is(), { isClassDeclaration: fZ, isExportDefaultSpecifier: pZ, isExportNamespaceSpecifier: dZ, isImportDefaultSpecifier: hZ, isImportNamespaceSpecifier: mZ, isStatement: zS } = uZ; function yZ(e) { (e.importKind === "type" || e.importKind === "typeof") && (this.word(e.importKind), this.space()), this.print(e.imported, e), e.local && e.local.name !== e.imported.name && (this.space(), this.word("as"), this.space(), this.print(e.local, e)); } s(yZ, "ImportSpecifier"); function gZ(e) { this.print(e.local, e); } s(gZ, "ImportDefaultSpecifier"); function bZ(e) { this.print(e.exported, e); } s(bZ, "ExportDefaultSpecifier"); function EZ(e) { e.exportKind === "type" && (this.word("type"), this.space()), this.print(e.local, e), e.exported && e.local.name !== e.exported.name && (this. space(), this.word("as"), this.space(), this.print(e.exported, e)); } s(EZ, "ExportSpecifier"); function vZ(e) { this.tokenChar(42), this.space(), this.word("as"), this.space(), this.print(e.exported, e); } s(vZ, "ExportNamespaceSpecifier"); var YS = !1; function TZ(e) { let { importAttributesKeyword: t } = this.format, { attributes: r, assertions: n } = e; r && !t && !YS && (YS = !0, console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify \ the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\ \n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n')); let i = t === "assert" || !t && n; if (this.word(i ? "assert" : "with"), this.space(), !i && t !== "with") { this.printList(r || n, e); return; } this.tokenChar(123), this.space(), this.printList(r || n, e), this.space(), this.tokenChar(125); } s(TZ, "_printAttributes"); function xZ(e) { var t, r; this.word("export"), this.space(), e.exportKind === "type" && (this.word("type"), this.space()), this.tokenChar(42), this.space(), this. word("from"), this.space(), (t = e.attributes) != null && t.length || (r = e.assertions) != null && r.length ? (this.print(e.source, e, !0), this.space(), this._printAttributes(e)) : this.print(e.source, e), this.semicolon(); } s(xZ, "ExportAllDeclaration"); function JS(e, t) { fZ(t.declaration) && e._shouldPrintDecoratorsBeforeExport(t) && e.printJoin(t.declaration.decorators, t); } s(JS, "maybePrintDecoratorsBeforeExport"); function SZ(e) { if (JS(this, e), this.word("export"), this.space(), e.declaration) { let n = e.declaration; this.print(n, e), zS(n) || this.semicolon(); } else { e.exportKind === "type" && (this.word("type"), this.space()); let n = e.specifiers.slice(0), i = !1; for (; ; ) { let a = n[0]; if (pZ(a) || dZ(a)) i = !0, this.print(n.shift(), e), n.length && (this.tokenChar(44), this.space()); else break; } if ((n.length || !n.length && !i) && (this.tokenChar(123), n.length && (this.space(), this.printList(n, e), this.space()), this.tokenChar( 125)), e.source) { var t, r; this.space(), this.word("from"), this.space(), (t = e.attributes) != null && t.length || (r = e.assertions) != null && r.length ? (this. print(e.source, e, !0), this.space(), this._printAttributes(e)) : this.print(e.source, e); } this.semicolon(); } } s(SZ, "ExportNamedDeclaration"); function PZ(e) { JS(this, e), this.word("export"), this.noIndentInnerCommentsHere(), this.space(), this.word("default"), this.space(), this.tokenContext |= cZ.TokenContext.exportDefault; let t = e.declaration; this.print(t, e), zS(t) || this.semicolon(); } s(PZ, "ExportDefaultDeclaration"); function AZ(e) { var t, r; this.word("import"), this.space(); let n = e.importKind === "type" || e.importKind === "typeof"; n ? (this.noIndentInnerCommentsHere(), this.word(e.importKind), this.space()) : e.module ? (this.noIndentInnerCommentsHere(), this.word( "module"), this.space()) : e.phase && (this.noIndentInnerCommentsHere(), this.word(e.phase), this.space()); let i = e.specifiers.slice(0), a = !!i.length; for (; a; ) { let o = i[0]; if (hZ(o) || mZ(o)) this.print(i.shift(), e), i.length && (this.tokenChar(44), this.space()); else break; } i.length ? (this.tokenChar(123), this.space(), this.printList(i, e), this.space(), this.tokenChar(125)) : n && !a && (this.tokenChar(123), this.tokenChar(125)), (a || n) && (this.space(), this.word("from"), this.space()), (t = e.attributes) != null && t.length || (r = e.assertions) != null && r.length ? (this.print(e.source, e, !0), this.space(), this._printAttributes(e)) : this.print(e.source, e), this.semicolon(); } s(AZ, "ImportDeclaration"); function CZ(e) { this.print(e.key), this.tokenChar(58), this.space(), this.print(e.value); } s(CZ, "ImportAttribute"); function wZ(e) { this.tokenChar(42), this.space(), this.word("as"), this.space(), this.print(e.local, e); } s(wZ, "ImportNamespaceSpecifier"); function DZ(e) { this.word("import"), e.phase && (this.tokenChar(46), this.word(e.phase)), this.tokenChar(40), this.print(e.source, e), e.options != null && (this.tokenChar(44), this.space(), this.print(e.options, e)), this.tokenChar(41); } s(DZ, "ImportExpression"); }); // ../node_modules/jsesc/jsesc.js var eP = T((eCe, ZS) => { "use strict"; var XS = {}, IZ = XS.hasOwnProperty, QS = /* @__PURE__ */ s((e, t) => { for (let r in e) IZ.call(e, r) && t(r, e[r]); }, "forOwn"), _Z = /* @__PURE__ */ s((e, t) => (t && QS(t, (r, n) => { e[r] = n; }), e), "extend"), OZ = /* @__PURE__ */ s((e, t) => { let r = e.length, n = -1; for (; ++n < r; ) t(e[n]); }, "forEach"), uo = XS.toString, NZ = Array.isArray, BZ = Buffer.isBuffer, kZ = /* @__PURE__ */ s((e) => uo.call(e) == "[object Object]", "\ isObject"), FZ = /* @__PURE__ */ s((e) => typeof e == "string" || uo.call(e) == "[object String]", "isString"), jZ = /* @__PURE__ */ s((e) => typeof e == "number" || uo.call(e) == "[object Number]", "isNumber"), LZ = /* @__PURE__ */ s((e) => typeof e == "function", "isFunction"), MZ = /* @__PURE__ */ s( (e) => uo.call(e) == "[object Map]", "isMap"), RZ = /* @__PURE__ */ s((e) => uo.call(e) == "[object Set]", "isSet"), qZ = { '"': '\\"', "'": "\\'", "\\": "\\\\", "\b": "\\b", "\f": "\\f", "\n": "\\n", "\r": "\\r", " ": "\\t" // `\v` is omitted intentionally, because in IE < 9, '\v' == 'v'. // '\v': '\\x0B' }, UZ = /["'\\\b\f\n\r\t]/, VZ = /[0-9]/, $Z = /[ !#-&\(-\[\]-_a-~]/, os = /* @__PURE__ */ s((e, t) => { let r = /* @__PURE__ */ s(() => { c = u, ++t.indentLevel, u = t.indent.repeat(t.indentLevel); }, "increaseIndentation"), n = { escapeEverything: !1, minimal: !1, isScriptContext: !1, quotes: "single", wrap: !1, es6: !1, json: !1, compact: !0, lowercaseHex: !1, numbers: "decimal", indent: " ", indentLevel: 0, __inline1__: !1, __inline2__: !1 }, i = t && t.json; i && (n.quotes = "double", n.wrap = !0), t = _Z(n, t), t.quotes != "single" && t.quotes != "double" && t.quotes != "backtick" && (t.quotes = "single"); let a = t.quotes == "double" ? '"' : t.quotes == "backtick" ? "`" : "'", o = t.compact, l = t.lowercaseHex, u = t.indent.repeat(t.indentLevel), c = "", f = t.__inline1__, p = t.__inline2__, h = o ? "" : ` `, y, v = !0, d = t.numbers == "binary", b = t.numbers == "octal", E = t.numbers == "decimal", I = t.numbers == "hexadecimal"; if (i && e && LZ(e.toJSON) && (e = e.toJSON()), !FZ(e)) { if (MZ(e)) return e.size == 0 ? "new Map()" : (o || (t.__inline1__ = !0, t.__inline2__ = !1), "new Map(" + os(Array.from(e), t) + ")"); if (RZ(e)) return e.size == 0 ? "new Set()" : "new Set(" + os(Array.from(e), t) + ")"; if (BZ(e)) return e.length == 0 ? "Buffer.from([])" : "Buffer.from(" + os(Array.from(e), t) + ")"; if (NZ(e)) return y = [], t.wrap = !0, f && (t.__inline1__ = !1, t.__inline2__ = !0), p || r(), OZ(e, (R) => { v = !1, p && (t.__inline2__ = !1), y.push( (o || p ? "" : u) + os(R, t) ); }), v ? "[]" : p ? "[" + y.join(", ") + "]" : "[" + h + y.join("," + h) + h + (o ? "" : c) + "]"; if (jZ(e)) { if (i) return JSON.stringify(e); if (E) return String(e); if (I) { let R = e.toString(16); return l || (R = R.toUpperCase()), "0x" + R; } if (d) return "0b" + e.toString(2); if (b) return "0o" + e.toString(8); } else return kZ(e) ? (y = [], t.wrap = !0, r(), QS(e, (R, U) => { v = !1, y.push( (o ? "" : u) + os(R, t) + ":" + (o ? "" : " ") + os(U, t) ); }), v ? "{}" : "{" + h + y.join("," + h) + h + (o ? "" : c) + "}") : i ? JSON.stringify(e) || "null" : String(e); } let O = e, k = -1, j = O.length; for (y = ""; ++k < j; ) { let R = O.charAt(k); if (t.es6) { let M = O.charCodeAt(k); if ( // check if it’s the start of a surrogate pair M >= 55296 && M <= 56319 && // high surrogate j > k + 1 ) { let K = O.charCodeAt(k + 1); if (K >= 56320 && K <= 57343) { let ie = ((M - 55296) * 1024 + K - 56320 + 65536).toString(16); l || (ie = ie.toUpperCase()), y += "\\u{" + ie + "}", ++k; continue; } } } if (!t.escapeEverything) { if ($Z.test(R)) { y += R; continue; } if (R == '"') { y += a == R ? '\\"' : R; continue; } if (R == "`") { y += a == R ? "\\`" : R; continue; } if (R == "'") { y += a == R ? "\\'" : R; continue; } } if (R == "\0" && !i && !VZ.test(O.charAt(k + 1))) { y += "\\0"; continue; } if (UZ.test(R)) { y += qZ[R]; continue; } let U = R.charCodeAt(0); if (t.minimal && U != 8232 && U != 8233) { y += R; continue; } let Q = U.toString(16); l || (Q = Q.toUpperCase()); let W = Q.length > 2 || i, q = "\\" + (W ? "u" : "x") + ("0000" + Q).slice(W ? -4 : -2); y += q; } return t.wrap && (y = a + y + a), a == "`" && (y = y.replace(/\$\{/g, "\\${")), t.isScriptContext ? y.replace(/<\/(script|style)/gi, "<\\\ /$1").replace(/